parent
b1fe70491c
commit
429792875e
@ -1,4 +1,2 @@
|
||||
DIST accerciser-1.12.1.tar.bz2 1554921 SHA256 addbc940a05c0dacb6131c8e0b136c14eab73c57bfe50c110cef4d3723d07807 SHA512 f769af63a3cfe3e868769205fc270ff2948ceebd0e8965016f18ec0062dfdc398c6bd82dbe5ef40d555ea711bd6be529235803fe86dffd3828fd8183e095a06b WHIRLPOOL 0cf90b3d83a9a6e595af23aaacdcc28d57ab20b08bc97252a252e39ad9f20a6114da5f777996f6e36c23f8c3bcf097f8b63d7769d7b578dc50f556e68a95d834
|
||||
DIST accerciser-3.6.2.tar.xz 3076756 SHA256 4ed3a9a508b0109772a992666b87a5ca80dcb9cb83bf6878977129f25f499879 SHA512 734486426d681f965ddbf3fdb88017d9d5af5d2304add1fb1b17c2e61ad0624e63876f8581ef9992194361003e889c5da5a3609194418652284f159dc03fddb4 WHIRLPOOL 8b125010b66151c24a08d6af373627d04615ed764552a7ea7993cbde8b0d476e3375c2c1d7e2f5ce4f488741314b6b5436fddef953e857232d5a6733e585705a
|
||||
DIST accerciser-3.8.0.tar.xz 3204792 SHA256 68260998c558b4b78999dd0dfc27225a2c8bf43dddb9a4be6ae159e2a89b57e0 SHA512 2f27a52053dbdb32a11d63ee019b980b664875cae67d616eac9727c9e30d68a6c71400a5b370bdf833b736c2a57f756812edd5c0663f69d7bd2777953b8ef890 WHIRLPOOL 782e2695105cc534f824f8951cbc5732b25016edf63c1308eb9197019fdb364563e0bb558e5547a59f457bb8014861c05a5537d13a63328d9a07003f8677794a
|
||||
DIST accerciser-3.8.2.tar.xz 3207500 SHA256 f4fef2bfa23a9344b613c39dfa128e4d07d98f87cd5011d7d649b2a9c0a6aadd SHA512 a4441a5468bb27b8c88cdab60f96c86f4247dbd8cf04f0a5949cceceeab92f47a2b73bbf9264fd0043888b78f8a00a8578e0873f31fdf9cc6e15add4a444ab5c WHIRLPOOL e88cda221532dd983be6ead2c8c632fe2f1faf7f9c36eeebb0568c4acc71afcf1ed0f15e4dc31bb910abb6fd3423039fa05fc188ec16b9eccd9b3ff145adfa2f
|
||||
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/accerciser/accerciser-3.6.2-r1.ebuild,v 1.3 2013/03/05 22:21:17 eva Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit gnome2 python-r1
|
||||
|
||||
DESCRIPTION="Interactive Python accessibility explorer"
|
||||
HOMEPAGE="http://live.gnome.org/Accerciser"
|
||||
|
||||
LICENSE="BSD CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.1.5:2
|
||||
>=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
|
||||
>=x11-libs/gtk+-3.1.13:3[introspection]
|
||||
|
||||
dev-libs/atk[introspection]
|
||||
>=dev-libs/glib-2.28:2
|
||||
dev-libs/gobject-introspection
|
||||
>=dev-python/ipython-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyatspi-2.1.5[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
x11-libs/gdk-pixbuf[introspection]
|
||||
x11-libs/libwnck:3[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/yelp-tools
|
||||
>=dev-util/intltool-0.35
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
G2CONF="${G2CONF} ITSTOOL=$(type -P true)"
|
||||
|
||||
gnome2_src_prepare
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_foreach_impl run_in_build_dir gnome2_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir gnome2_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installing() {
|
||||
gnome2_src_install
|
||||
python_doscript src/accerciser
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installing
|
||||
}
|
||||
|
||||
run_in_build_dir() {
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
"$@"
|
||||
popd > /dev/null
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/accerciser/accerciser-3.8.0.ebuild,v 1.2 2013/03/30 18:19:54 eva Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_COMPAT=( python3_2 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit gnome2 python-r1
|
||||
|
||||
DESCRIPTION="Interactive Python accessibility explorer"
|
||||
HOMEPAGE="http://live.gnome.org/Accerciser"
|
||||
|
||||
LICENSE="BSD CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.5.2:2
|
||||
>=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
|
||||
>=x11-libs/gtk+-3.1.13:3[introspection]
|
||||
|
||||
dev-libs/atk[introspection]
|
||||
>=dev-libs/glib-2.28:2
|
||||
dev-libs/gobject-introspection
|
||||
>=dev-python/ipython-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyatspi-2.1.5[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
x11-libs/gdk-pixbuf[introspection]
|
||||
x11-libs/libwnck:3[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/yelp-tools
|
||||
>=dev-util/intltool-0.35
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
# Leave shebang alone
|
||||
sed 's:@PYTHON@:/usr/bin/python:' -i src/accerciser.in || die
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_foreach_impl run_in_build_dir gnome2_src_configure \
|
||||
ITSTOOL=$(type -P true)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir gnome2_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installing() {
|
||||
gnome2_src_install
|
||||
python_doscript src/accerciser
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installing
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST ansible-1.2.1.tar.gz 777619 SHA256 5b46639fea3576233c8f235468a8b19f0b180fc0ddd6ede3014bc570362c5e66 SHA512 4efe9583f91e36bb07787d272b6a5e79d1cd37e17d1d1bdbcf99c54736838642cba051601e95b38b957deb9d7ec92c11b84da6fa4984bdeeee3b951b6df94ac3 WHIRLPOOL ad63ac251b0ed3f2ba48feb742271498f698b956cfc6be129080d0e33b086180a41d5c99f45423eebeab1a3a191048d6ee8d71311e81871368e2235a25a73705
|
||||
DIST ansible-1.2.3.tar.gz 778715 SHA256 232e90a6c3d2146c10dcab1e374124994935a15f9cf6e892c9730cc89cc70e53 SHA512 82a8a7ceb3a40d52f205901ac6c93e35cea313db6db6253170bc9c1dd0e7af650242fb8f052a8bef01f0913238db1195ec5b2865cebb135498cba2b1c3acbc20 WHIRLPOOL 3ed6394637e165869c233ba8cf6bdbe5a59101e05268b0dec7ce8f663ecc83e8720546ac3e06c7d8acaa6c431c842cefd49c0d4df0c70bb79dea9c075a18df8f
|
||||
DIST ansible-1.3.3.tar.gz 869148 SHA256 72eed601930616aa8953514c96fd371e2cae4c5bd4611a5215eac054d62c8382 SHA512 400b207c58df1e3fc4c490b0db3bfb978ec38045a52e5c280dbaba6134826674c05e0924c63fb458104969d873c1405e9dc1fd13b65eff6495a3a90e4419728c WHIRLPOOL 57e949c3d5e4d5dbacf4463cb895d373e916c67bb2c993cf1e094a841a2428add4833c56683e3b4fd829461017748c7cb4af107bae34827fc1668a8b1ee8bea1
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ansible-1.3.3.ebuild,v 1.1 2013/10/11 11:30:57 pinkbyte Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1 readme.gentoo
|
||||
|
||||
DESCRIPTION="Radically simple deployment, model-driven configuration management, and command execution framework"
|
||||
HOMEPAGE="http://ansible.cc/"
|
||||
SRC_URI="https://github.com/ansible/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? (
|
||||
dev-python/nose
|
||||
dev-vcs/git
|
||||
)"
|
||||
RDEPEND="
|
||||
dev-python/jinja
|
||||
dev-python/pyyaml
|
||||
dev-python/paramiko
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
|
||||
DOC_CONTENTS="You can define parameters through shell variables OR use config files
|
||||
Examples of config files installed in /usr/share/doc/${PF}/examples\n\n
|
||||
You have to create ansible hosts file!\n
|
||||
More info on http://ansible.cc/docs/gettingstarted.html"
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
# Skip tests which need ssh access
|
||||
sed -i 's:$(NOSETESTS) -d -v:\0 -e \\(TestPlayBook.py\\|TestRunner.py\\):' Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
python_test() {
|
||||
make tests || die "tests failed"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman docs/man/man1/*.1
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
# Hint: do not install example config files into /etc
|
||||
# let this choice to user
|
||||
|
||||
newenvd "${FILESDIR}"/${PN}.env 95ansible
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
readme.gentoo_create_doc
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST puppet-2.7.23.tar.gz 2025639 SHA256 73bc0d5a2334dc484148141a32274703b65b78bf87ca41f7e2da1c38518ba490 SHA512 d6173b596744b438a132a3772ed39195670d509481b5fbd30b098e8df3fceb31097369e6670587303b490f35842a39955d77ad500ab88535d43f08cc8d9dc86c WHIRLPOOL 65164214bc421b78359858258fa1e4242161ec406a20d73e5f44a5b14e74a6ed5973fcd4cd752a8817698aee8840ce67b92b12dfe487f964a736a68ae158ae80
|
||||
DIST puppet-3.2.4.tar.gz 1786216 SHA256 8b38f4adee6237b8dd7b1956d90af97f2d0091245d6e30b708bbc8e333001358 SHA512 31a22cf926c6fe866e7ed1ca294dd78228bfb34b0465d44cc985dc6f737879710b5c27e1519f53c9fd9622320386950f290d774d709559b66be79e43dac1dd5e WHIRLPOOL 86bb44bd6ee5a4c31892e909a95fcea52ced289b891281bae5535dac891006d9c1a5d4613210a0ba550ab6428f206dcf9ab3fafb3c90297a64e8bad3c06509be
|
||||
DIST puppet-3.3.0.tar.gz 1894901 SHA256 72a8579332b379f8dfe03d39ac961891db9d1e41919be98ac64caa0e3e2d31a0 SHA512 806bfd76d58a3abb7d717e1a4f46f0569e61aa92bc9961c7e2b314669849865c74907c93b4455d4ed0f0eb9ec88ec02f8f2c83a6821549b590c86797c99cac7a WHIRLPOOL 4b10f7c6054cf547496165b24589f15b13fc0bd8db8b4f710725605fbf1a50f7b8b77453e0a16e5f0e290fc04727997de6bbd5d94dc495175d999508099edf43
|
||||
DIST puppet-3.3.1.tar.gz 1896023 SHA256 152f9eaa6767c5f6cbd52befff891bd54e074d2f6487a649373da0113c09e284 SHA512 323dcd31a7029439edb3663501bce11fe7aa75b80efbd133abb82ea2c1584ce395a70ad2203f52d4fda8cadf18db7d6f6f2d4a3b285fa69b19b930d46e85a2d4 WHIRLPOOL a6d4b97efd5859b89d5fc81a857ecf837da540f140f33a252e552306843164e94cd94e0ca10b6bcfa3310fc0c03db9d2908100ed8f6c58d0c49ab5970202d01c
|
||||
|
@ -0,0 +1,161 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-3.3.1.ebuild,v 1.1 2013/10/12 10:37:36 tampakrap Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
inherit elisp-common xemacs-elisp-common eutils user ruby-ng versionator
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software"
|
||||
HOMEPAGE="http://puppetlabs.com/"
|
||||
SRC_URI="http://www.puppetlabs.com/downloads/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
|
||||
IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite3 vim-syntax xemacs"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/hiera
|
||||
>=dev-ruby/facter-1.6.2
|
||||
augeas? ( dev-ruby/ruby-augeas )
|
||||
diff? ( dev-ruby/diff-lcs )
|
||||
doc? ( dev-ruby/rdoc )
|
||||
ldap? ( dev-ruby/ruby-ldap )
|
||||
shadow? ( dev-ruby/ruby-shadow )
|
||||
sqlite3? ( dev-ruby/sqlite3 )
|
||||
virtual/ruby-ssl"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
ruby_targets_ruby19? ( dev-lang/ruby:1.9[yaml] )
|
||||
emacs? ( virtual/emacs )
|
||||
xemacs? ( app-editors/xemacs )"
|
||||
RDEPEND="${RDEPEND}
|
||||
ruby_targets_ruby19? ( dev-lang/ruby:1.9[yaml] )
|
||||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
|
||||
>=app-portage/eix-0.18.0"
|
||||
|
||||
SITEFILE="50${PN}-mode-gentoo.el"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/lib/puppet puppet
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use emacs ; then
|
||||
elisp-compile ext/emacs/puppet-mode.el
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
# Create a separate version for xemacs to be able to install
|
||||
# emacs and xemacs in parallel.
|
||||
mkdir ext/xemacs
|
||||
cp ext/emacs/* ext/xemacs/
|
||||
xemacs-elisp-compile ext/xemacs/puppet-mode.el
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
${RUBY} install.rb --destdir="${D}" install || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
newinitd "${FILESDIR}"/puppet.init-r1 puppet
|
||||
|
||||
# Initial configuration files
|
||||
insinto /etc/puppet
|
||||
|
||||
# Location of log and data files
|
||||
keepdir /var/log/puppet
|
||||
fowners -R puppet:puppet /var/log/puppet
|
||||
|
||||
if use minimal ; then
|
||||
rm "${ED}/etc/puppet/auth.conf"
|
||||
else
|
||||
newinitd "${FILESDIR}"/puppetmaster.init-r1 puppetmaster
|
||||
newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
|
||||
|
||||
insinto /etc/puppet
|
||||
|
||||
keepdir /etc/puppet/manifests
|
||||
keepdir /etc/puppet/modules
|
||||
|
||||
keepdir /var/lib/puppet/ssl
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/lib/puppet
|
||||
fi
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} ext/emacs/puppet-mode.el*
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
|
||||
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use ldap ; then
|
||||
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
|
||||
fi
|
||||
|
||||
# ext and examples files
|
||||
for f in $(find ext examples -type f) ; do
|
||||
docinto "$(dirname ${f})"; dodoc "${f}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Puppet uses eix to get information about currently installed packages,"
|
||||
elog "so please keep the eix metadata cache updated so puppet is able to properly"
|
||||
elog "handle package installations."
|
||||
elog
|
||||
elog "Currently puppet only supports adding and removing services to the default"
|
||||
elog "runlevel, if you want to add/remove a service from another runlevel you may"
|
||||
elog "do so using symlinking."
|
||||
elog
|
||||
elog "Portage Puppet module with Gentoo-specific resources:"
|
||||
elog "http://forge.puppetlabs.com/gentoo/portage"
|
||||
elog
|
||||
|
||||
if [ \
|
||||
-f "${EPREFIX}/etc/puppet/puppetd.conf" -o \
|
||||
-f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \
|
||||
-f "${EPREFIX}/etc/puppet/puppetca.conf" \
|
||||
] ; then
|
||||
elog
|
||||
elog "Please remove deprecated config files."
|
||||
elog " /etc/puppet/puppetca.conf"
|
||||
elog " /etc/puppet/puppetd.conf"
|
||||
elog " /etc/puppet/puppetmasterd.conf"
|
||||
elog
|
||||
fi
|
||||
|
||||
if [ "$(get_major_version $REPLACING_VERSIONS)" = "2" ]; then
|
||||
elog
|
||||
elog "If you're upgrading from 2.x then we strongly suggest you to read:"
|
||||
elog "http://docs.puppetlabs.com/guides/upgrading.html"
|
||||
elog
|
||||
fi
|
||||
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST lz4-0_p106.tar.xz 129352 SHA256 a9a09c4ebb962995d10e7e4f7d9224aaa93f308899de18a414948a58e87b6f22 SHA512 8b2bafbf78be7c42831e264d7acdca12712c88369cecdb3aa4621c84bb6b450c372f5153f7c3939a5f70d5810c62b98993697397319d286a1bb51b1e4a6ecde6 WHIRLPOOL fc5bb47b73606b125d8e155365d1fe101083e68e684ffd6014440e0f1416f1f6ecc64b797083e6939bd3e8cd42018e46a1864ae4542160c96933a47df9421a42
|
@ -0,0 +1,51 @@
|
||||
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
|
||||
index 496c076..ce3fab1 100644
|
||||
--- a/cmake/CMakeLists.txt
|
||||
+++ b/cmake/CMakeLists.txt
|
||||
@@ -41,11 +41,11 @@ endif()
|
||||
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "64bit")
|
||||
message(STATUS "Build 64bit executable binary")
|
||||
add_executable(lz4c64 ${LZ4_SRCS})
|
||||
- install(TARGETS lz4c64 RUNTIME DESTINATION "./")
|
||||
+ install(TARGETS lz4c64 RUNTIME DESTINATION "bin/")
|
||||
if(NOT BUILD_SHARED_LIBS)
|
||||
message(STATUS "Build 32bit executable binary")
|
||||
add_executable(lz4c32 ${LZ4_SRCS})
|
||||
- install(TARGETS lz4c32 RUNTIME DESTINATION "./")
|
||||
+ install(TARGETS lz4c32 RUNTIME DESTINATION "bin/")
|
||||
|
||||
SET_TARGET_PROPERTIES(lz4c32 PROPERTIES
|
||||
COMPILE_FLAGS PROPERTIES COMPILE_FLAGS "-m32" LINK_FLAGS "-m32")
|
||||
@@ -53,7 +53,7 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "64bit")
|
||||
else()
|
||||
message(STATUS "Build 32bit executable binary")
|
||||
add_executable(lz4c32 ${LZ4_SRCS})
|
||||
- install(TARGETS lz4c32 RUNTIME DESTINATION "./")
|
||||
+ install(TARGETS lz4c32 RUNTIME DESTINATION "bin/")
|
||||
endif()
|
||||
|
||||
if(BUILD_SHARED_LIBS)
|
||||
diff --git a/cmake/pack/CMakeLists.txt b/cmake/pack/CMakeLists.txt
|
||||
index a9b0557..e85416e 100644
|
||||
--- a/cmake/pack/CMakeLists.txt
|
||||
+++ b/cmake/pack/CMakeLists.txt
|
||||
@@ -48,16 +48,16 @@ set(FUZZER_SRCS ${SRC_DIR}lz4.c ${SRC_DIR}lz4hc.c ${SRC_DIR}lz4.h ${SRC_DIR}fuzz
|
||||
# EXECUTABLES FOR 32 Bit and 64 versions
|
||||
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "64bit")
|
||||
add_executable(lz4c32 ${LZ4_SRCS})
|
||||
- install(TARGETS lz4c32 RUNTIME DESTINATION "./")
|
||||
+ install(TARGETS lz4c32 RUNTIME DESTINATION "bin/")
|
||||
SET_TARGET_PROPERTIES(lz4c32 PROPERTIES
|
||||
COMPILE_FLAGS PROPERTIES COMPILE_FLAGS "-m32 -Os" LINK_FLAGS "-m32")
|
||||
endif()
|
||||
|
||||
add_executable(lz4c ${LZ4_SRCS})
|
||||
-install(TARGETS lz4c RUNTIME DESTINATION "./")
|
||||
+install(TARGETS lz4c RUNTIME DESTINATION "bin/")
|
||||
|
||||
add_executable(fuzzer ${FUZZER_SRCS})
|
||||
-install(TARGETS fuzzer RUNTIME DESTINATION "./")
|
||||
+install(TARGETS fuzzer RUNTIME DESTINATION "bin/")
|
||||
|
||||
#target_link_libraries(lz4 ${LZ4_SRCS_LIB})
|
||||
####################### CPACK PACKAGING ###################
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/lz4-0_p106-r1.ebuild,v 1.1 2013/10/13 12:13:49 ryao Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils multilib
|
||||
|
||||
CMAKE_USE_DIR="${S}/cmake"
|
||||
|
||||
if [ ${PV} == "9999" ] ; then
|
||||
inherit subversion
|
||||
ESVN_REPO_URI="http://lz4.googlecode.com/svn/trunk/"
|
||||
ESVN_PROJECT="lz4-read-only"
|
||||
else
|
||||
SRC_URI="http://dev.gentoo.org/~ryao/dist/${P}.tar.xz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Extremely Fast Compression algorithm"
|
||||
HOMEPAGE="https://code.google.com/p/lz4/"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
if [ ${PV} == "9999" ]
|
||||
then
|
||||
subversion_src_prepare
|
||||
else
|
||||
epatch "${FILESDIR}/${P}-install-to-bindir.patch"
|
||||
fi
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(-DBUILD_SHARED_LIBS=ON)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr
|
||||
dodir "/usr/$(get_libdir)"
|
||||
ln -s "$(get_libdir)" "${ED}usr/lib" || \
|
||||
die "Cannot create temporary symlink from usr/lib to usr/$(get_libdir)"
|
||||
|
||||
cmake-utils_src_install
|
||||
|
||||
rm "${ED}usr/lib"
|
||||
|
||||
if [ -f "${ED}usr/bin/lz4c64" ]
|
||||
then
|
||||
dosym lz4c64 /usr/bin/lz4c
|
||||
else
|
||||
dosym lz4c32 /usr/bin/lz4c
|
||||
fi
|
||||
}
|
@ -0,0 +1,159 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha17-r1.ebuild,v 1.1 2013/10/12 08:46:59 billie Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit fcaps multilib eutils toolchain-funcs flag-o-matic
|
||||
|
||||
MY_P="${P/_alpha/a}"
|
||||
|
||||
DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord"
|
||||
HOMEPAGE="http://cdrecord.berlios.de/private/cdrecord.html"
|
||||
SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha/')/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="acl nls unicode"
|
||||
|
||||
RDEPEND="acl? ( virtual/acl )
|
||||
nls? ( virtual/libintl )
|
||||
!app-cdr/cdrkit"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( >=sys-devel/gettext-0.18.1.1 )"
|
||||
|
||||
S=${WORKDIR}/${P/_alpha[0-9][0-9]}
|
||||
|
||||
FILECAPS=(
|
||||
cap_sys_resource,cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_ipc_lock,cap_sys_rawio+ep usr/bin/cdrecord --
|
||||
cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_sys_rawio+ep usr/bin/cdda2wav --
|
||||
cap_dac_override,cap_sys_admin,cap_net_bind_service,cap_sys_rawio+ep usr/bin/readcd
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Remove profiled make files.
|
||||
rm -f $(find . -name '*_p.mk') || die "rm profiled"
|
||||
|
||||
# Adjusting hardcoded paths.
|
||||
sed -i -e 's:opt/schily:usr:' \
|
||||
$(find ./ -type f -name \*.[0-9ch] -exec grep -l 'opt/schily' '{}' '+') \
|
||||
|| die "sed opt/schily"
|
||||
|
||||
sed -i -e "s:\(^INSDIR=\t\tshare/doc/\):\1${PF}/:" \
|
||||
$(find ./ -type f -exec grep -l 'INSDIR.\+doc' '{}' '+') \
|
||||
|| die "sed doc"
|
||||
|
||||
# Respect libdir.
|
||||
sed -i -e "s:\(^INSDIR=\t\t\)lib:\1$(get_libdir):" \
|
||||
$(find ./ -type f -exec grep -l '^INSDIR.\+lib\(/siconv\)\?$' '{}' '+') \
|
||||
|| die "sed multilib"
|
||||
|
||||
# Do not install static libraries.
|
||||
sed -i -e 's:include\t\t.*rules.lib::' \
|
||||
$(find ./ -type f -exec grep -l '^include.\+rules\.lib' '{}' '+') \
|
||||
|| die "sed rules"
|
||||
|
||||
# Respect CC/CXX variables.
|
||||
cd "${S}"/RULES
|
||||
local tcCC=$(tc-getCC)
|
||||
local tcCXX=$(tc-getCXX)
|
||||
sed -i -e "/cc-config.sh/s|\$(C_ARCH:%64=%) \$(CCOM_DEF)|${tcCC} ${tcCC}|" \
|
||||
rules1.top || die "sed rules1.top"
|
||||
sed -i -e "/^\(CC\|DYNLD\|LDCC\|MKDEP\)/s|gcc|${tcCC}|" \
|
||||
-e "/^\(CC++\|DYNLDC++\|LDCC++\|MKC++DEP\)/s|g++|${tcCXX}|" \
|
||||
-e "/COPTOPT=/s/-O//" \
|
||||
-e 's/$(GCCOPTOPT)//' \
|
||||
cc-gcc.rul || die "sed cc-gcc.rul"
|
||||
sed -i -e "s|^#CONFFLAGS +=\t-cc=\$(XCC_COM)$|CONFFLAGS +=\t-cc=${tcCC}|g" \
|
||||
rules.cnf || die "sed rules.cnf"
|
||||
|
||||
# Create additional symlinks needed for some archs (armv4l already created)
|
||||
local t
|
||||
for t in armv4tl armv5tel armv7l ppc64 s390x; do
|
||||
ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die
|
||||
ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die
|
||||
done
|
||||
|
||||
# Schily make setup.
|
||||
cd "${S}"/DEFAULTS
|
||||
local os="linux"
|
||||
[[ ${CHOST} == *-darwin* ]] && os="mac-os10"
|
||||
|
||||
sed -i \
|
||||
-e "s:/opt/schily:/usr:g" \
|
||||
-e "s:/usr/src/linux/include::g" \
|
||||
-e "s:bin:root:g" \
|
||||
Defaults.${os} || die "sed Schily make setup"
|
||||
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${P}-capabilities.patch"
|
||||
}
|
||||
|
||||
# skip obsolete configure script
|
||||
src_configure() { : ; }
|
||||
|
||||
src_compile() {
|
||||
if use unicode; then
|
||||
local flags="$(test-flags -finput-charset=ISO-8859-1 -fexec-charset=UTF-8)"
|
||||
if [[ -n ${flags} ]]; then
|
||||
append-flags ${flags}
|
||||
else
|
||||
ewarn "Your compiler does not support the options required to build"
|
||||
ewarn "cdrtools with unicode in USE. unicode flag will be ignored."
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use filecaps; then
|
||||
CFLAGS="${CFLAGS} -DNO_LINUX_CAPS"
|
||||
fi
|
||||
|
||||
if ! use acl; then
|
||||
CFLAGS="${CFLAGS} -DNO_ACL"
|
||||
fi
|
||||
|
||||
# If not built with -j1, "sometimes" cdda2wav will not be built.
|
||||
emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" \
|
||||
INS_BASE="${ED}/usr" INS_RBASE="${ED}" LINKMODE="dynamic" \
|
||||
RUNPATH="" GMAKE_NOWARN="true"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# If not built with -j1, "sometimes" manpages are not installed.
|
||||
emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" \
|
||||
INS_BASE="${ED}/usr" INS_RBASE="${ED}" LINKMODE="dynamic" \
|
||||
RUNPATH="" GMAKE_NOWARN="true" install
|
||||
|
||||
# These symlinks are for compat with cdrkit.
|
||||
dosym schily /usr/include/scsilib
|
||||
dosym ../scg /usr/include/schily/scg
|
||||
|
||||
dodoc ABOUT Changelog* CONTRIBUTING PORTING README.linux-shm READMEs/README.linux
|
||||
|
||||
cd "${S}"/cdda2wav
|
||||
docinto cdda2wav
|
||||
dodoc Changelog FAQ Frontends HOWTOUSE NEEDED README THANKS TODO
|
||||
|
||||
cd "${S}"/mkisofs
|
||||
docinto mkisofs
|
||||
dodoc ChangeLog* TODO
|
||||
|
||||
# Remove man pages related to the build system
|
||||
rm -rvf "${ED}"/usr/share/man/man5
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fcaps_pkg_postinst
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
einfo
|
||||
einfo "Darwin/OS X use the following device names:"
|
||||
einfo
|
||||
einfo "CD burners: (probably) ./cdrecord dev=IOCompactDiscServices"
|
||||
einfo
|
||||
einfo "DVD burners: (probably) ./cdrecord dev=IODVDServices"
|
||||
einfo
|
||||
fi
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
--- cdrecord/priv.c 2013-10-12 09:51:46.385760482 +0200
|
||||
+++ cdrecord/priv.c 2013-10-12 09:53:16.545766912 +0200
|
||||
@@ -111,14 +111,13 @@
|
||||
/*
|
||||
* Give up privs we do not need anymore.
|
||||
* We no longer need:
|
||||
- * cap_dac_override,cap_net_bind_service,cap_sys_nice,cap_sys_resource
|
||||
+ * cap_dac_override,cap_net_bind_service,cap_sys_nice
|
||||
*/
|
||||
cap_t cset;
|
||||
cap_value_t caplist[] = {
|
||||
CAP_DAC_OVERRIDE,
|
||||
CAP_NET_BIND_SERVICE,
|
||||
CAP_SYS_NICE,
|
||||
- CAP_SYS_RESOURCE,
|
||||
CAP_SYS_RAWIO, /* Keep as CAP_EFFECTIVE */
|
||||
CAP_SYS_ADMIN /* Keep as CAP_EFFECTIVE */
|
||||
};
|
||||
@@ -128,7 +127,7 @@
|
||||
cap_set_flag(cset, CAP_EFFECTIVE, NCAPS-2, caplist, CAP_CLEAR);
|
||||
cap_set_flag(cset, CAP_INHERITABLE, NCAPS, caplist, CAP_CLEAR);
|
||||
if (cap_set_proc(cset) < 0)
|
||||
- errmsg("Cannot set process capabilities.\n");
|
||||
+ errmsg("Cannot set initial process capabilities.\n");
|
||||
#endif /* HAVE_LINUX_CAPS */
|
||||
#endif /* HAVE_PRIV_SET */
|
||||
}
|
||||
@@ -153,14 +152,13 @@
|
||||
/*
|
||||
* Get back privs we may need now.
|
||||
* We need:
|
||||
- * cap_dac_override,cap_net_bind_service,cap_sys_nice,cap_sys_resource
|
||||
+ * cap_dac_override,cap_net_bind_service,cap_sys_nice
|
||||
*/
|
||||
cap_t cset;
|
||||
cap_value_t caplist[] = {
|
||||
CAP_DAC_OVERRIDE,
|
||||
CAP_NET_BIND_SERVICE,
|
||||
- CAP_SYS_NICE,
|
||||
- CAP_SYS_RESOURCE
|
||||
+ CAP_SYS_NICE
|
||||
};
|
||||
|
||||
cset = cap_get_proc();
|
||||
@@ -168,7 +166,7 @@
|
||||
cap_set_flag(cset, CAP_EFFECTIVE, NCAPS, caplist, CAP_SET);
|
||||
cap_set_flag(cset, CAP_INHERITABLE, NCAPS, caplist, CAP_SET);
|
||||
if (cap_set_proc(cset) < 0)
|
||||
- errmsg("Cannot set process capabilities.\n");
|
||||
+ errmsg("Cannot regain process capabilities.\n");
|
||||
#endif /* HAVE_LINUX_CAPS */
|
||||
#endif /* HAVE_PRIV_SET */
|
||||
}
|
||||
@@ -193,14 +191,13 @@
|
||||
/*
|
||||
* Give up privs we do not need anymore.
|
||||
* We no longer need:
|
||||
- * cap_dac_override,cap_net_bind_service,cap_sys_nice,cap_sys_resource
|
||||
+ * cap_dac_override,cap_net_bind_service,cap_sys_nice
|
||||
*/
|
||||
cap_t cset;
|
||||
cap_value_t caplist[] = {
|
||||
CAP_DAC_OVERRIDE,
|
||||
CAP_NET_BIND_SERVICE,
|
||||
- CAP_SYS_NICE,
|
||||
- CAP_SYS_RESOURCE
|
||||
+ CAP_SYS_NICE
|
||||
};
|
||||
|
||||
cset = cap_get_proc();
|
||||
@@ -208,7 +205,7 @@
|
||||
cap_set_flag(cset, CAP_EFFECTIVE, NCAPS, caplist, CAP_CLEAR);
|
||||
cap_set_flag(cset, CAP_INHERITABLE, NCAPS, caplist, CAP_CLEAR);
|
||||
if (cap_set_proc(cset) < 0)
|
||||
- errmsg("Cannot set process capabilities.\n");
|
||||
+ errmsg("Cannot deactivate process capabilities.\n");
|
||||
#endif /* HAVE_LINUX_CAPS */
|
||||
#endif /* HAVE_PRIV_SET */
|
||||
}
|
||||
@@ -265,7 +262,7 @@
|
||||
cap_set_flag(cset, CAP_INHERITABLE, NCAPS, caplist, CAP_CLEAR);
|
||||
cap_set_flag(cset, CAP_PERMITTED, NCAPS, caplist, CAP_CLEAR);
|
||||
if (cap_set_proc(cset) < 0)
|
||||
- errmsg("Cannot set process capabilities.\n");
|
||||
+ errmsg("Cannot drop process capabilities.\n");
|
||||
#endif /* HAVE_LINUX_CAPS */
|
||||
#endif /* HAVE_PRIV_SET */
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ccid/ccid-1.4.9.ebuild,v 1.1 2013/01/16 20:51:28 flameeyes Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
STUPID_NUM="3864"
|
||||
|
||||
inherit eutils toolchain-funcs udev
|
||||
|
||||
DESCRIPTION="CCID free software driver"
|
||||
HOMEPAGE="http://pcsclite.alioth.debian.org/ccid.html"
|
||||
SRC_URI="http://alioth.debian.org/download.php/${STUPID_NUM}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="twinserial +usb"
|
||||
|
||||
RDEPEND=">=sys-apps/pcsc-lite-1.8.3
|
||||
usb? ( virtual/libusb:1 )"
|
||||
DEPEND="${RDEPEND}
|
||||
kernel_linux? ( virtual/pkgconfig )"
|
||||
|
||||
DOCS=( README AUTHORS )
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's:GROUP="pcscd":ENV{PCSCD}="1":' \
|
||||
src/92_pcscd_ccid.rules || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
LEX=: \
|
||||
--docdir="/usr/share/doc/${PF}" \
|
||||
--disable-silent-rules \
|
||||
$(use_enable twinserial) \
|
||||
$(use_enable usb libusb)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use kernel_linux; then
|
||||
# note: for eudev support, rules probably will always need to be installed to /usr
|
||||
udev_newrules src/92_pcscd_ccid.rules 92-pcsc-ccid.rules
|
||||
fi
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST krb5-1.11.1-signed.tar 11663360 SHA256 3a230ff6a7f8775752292e9303d3fa8a801a353301bc24d80b860d99f9d20768 SHA512 721a14bf09571d951b0070110e2f2469e55b593d7321a1288bea1da62f33fb6d2be556bf6410a8ad0134cecdb6b67dafbd5f34404eb00383fe8fcac167f7743e WHIRLPOOL e8363343229e96eb9d2e05767d4b9b426b41a8bca51bb91cf815b50f920d289a7273d7cf9d279bfafcc3407ca0ecf67559c5c0a510562d2f7b61fc5d71f8cf3d
|
||||
DIST krb5-1.11.2-signed.tar 11673600 SHA256 f0373295fb320b9702468eb0df33397e7278326ec1681a8c6037cc53cb0120a5 SHA512 2db58530a98c4bdf9c6f797f3fb2881a3bdeda680804309f1f40e877a5a1c6e589021e1e0521b5a258626e5d04105ad0c01575b2104313b4b9592ee1ae8b8006 WHIRLPOOL 10deade6b13e88187e827513a8e56a4287a654e5b6f9554ef85657fd6d7ded5ba0d2311c001e1b35f13e0d1c5ddeefeca68cdf43ee4192432b318d8cc55c2bdd
|
||||
DIST krb5-1.11.3-signed.tar 11673600 SHA256 9abd94bb94a70996da0f8d90408957154bb543271b097e86c63eb33e5f5751b5 SHA512 4d4c5d5c3a495da141bca40fe73378db190ace8ed397b7bb8e38c53757e6df3ec55fa0eb5628f7c6204d1265f8451535e65c4ebd844821c64cdfd0c6e32468a5 WHIRLPOOL 62befb0bd0dde3a459e877f9219c53486cd99b82de8ea6412caca59cc03f73c0f4ae327299d0c45a72ec70e96989f2dfb94ba7f21ccd691dc05c2f38c85d2111
|
||||
|
@ -1,126 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.11.1.ebuild,v 1.14 2013/09/05 19:44:43 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
inherit eutils flag-o-matic python-any-r1 versionator
|
||||
|
||||
MY_P="${P/mit-}"
|
||||
P_DIR=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="MIT Kerberos V"
|
||||
HOMEPAGE="http://web.mit.edu/kerberos/www/"
|
||||
SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
|
||||
|
||||
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
|
||||
IUSE="doc +keyutils openldap +pkinit +threads test xinetd"
|
||||
|
||||
RDEPEND="!!app-crypt/heimdal
|
||||
>=sys-libs/e2fsprogs-libs-1.41.0
|
||||
|| ( dev-libs/libverto[libev] dev-libs/libverto[libevent] dev-libs/libverto[tevent] )
|
||||
keyutils? ( sys-apps/keyutils )
|
||||
openldap? ( net-nds/openldap )
|
||||
pkinit? ( dev-libs/openssl )
|
||||
xinetd? ( sys-apps/xinetd )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/yacc
|
||||
doc? ( virtual/latex-base )
|
||||
test? ( dev-lang/tcl
|
||||
dev-lang/python
|
||||
dev-util/dejagnu )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/src
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
unpack ./"${MY_P}".tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.11_uninitialized.patch"
|
||||
epatch "${FILESDIR}/${PN}_krb5-config_LDFLAGS.patch"
|
||||
|
||||
# tcl-8.6 compatibility
|
||||
sed -i -e 's/interp->result/Tcl_GetStringResult(interp)/' \
|
||||
kadmin/testing/util/tcl_kadm5.c || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cppflags "-I${EPREFIX}/usr/include/et"
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags -fno-strict-overflow
|
||||
|
||||
use keyutils || export ac_cv_header_keyutils_h=no
|
||||
econf \
|
||||
$(use_with openldap ldap) \
|
||||
"$(use_with test tcl "${EPREFIX}/usr")" \
|
||||
$(use_enable pkinit) \
|
||||
$(use_enable threads thread-support) \
|
||||
--without-hesiod \
|
||||
--enable-shared \
|
||||
--with-system-et \
|
||||
--with-system-ss \
|
||||
--enable-dns-for-realm \
|
||||
--enable-kdc-lookaside-cache \
|
||||
--with-system-verto \
|
||||
--disable-rpath
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
||||
install
|
||||
|
||||
# default database dir
|
||||
keepdir /var/lib/krb5kdc
|
||||
|
||||
cd ..
|
||||
dodoc README
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/html/*
|
||||
docinto pdf
|
||||
dodoc doc/pdf/*.pdf
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r1 mit-krb5kadmind
|
||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd-r1 mit-krb5kdc
|
||||
newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r1 mit-krb5kpropd
|
||||
|
||||
insinto /etc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
||||
insinto /var/lib/krb5kdc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
||||
|
||||
if use openldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}/kpropd.xinetd" kpropd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
|
||||
elog "MIT split the Kerberos applications from the base Kerberos"
|
||||
elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
|
||||
elog "ftp clients and telnet, ftp deamons now live in"
|
||||
elog "\"app-crypt/mit-krb5-appl\" package."
|
||||
fi
|
||||
}
|
@ -1,126 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.11.2.ebuild,v 1.2 2013/09/05 19:44:43 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
inherit eutils flag-o-matic python-any-r1 versionator
|
||||
|
||||
MY_P="${P/mit-}"
|
||||
P_DIR=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="MIT Kerberos V"
|
||||
HOMEPAGE="http://web.mit.edu/kerberos/www/"
|
||||
SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
|
||||
|
||||
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="doc +keyutils openldap +pkinit +threads test xinetd"
|
||||
|
||||
RDEPEND="!!app-crypt/heimdal
|
||||
>=sys-libs/e2fsprogs-libs-1.41.0
|
||||
|| ( dev-libs/libverto[libev] dev-libs/libverto[libevent] dev-libs/libverto[tevent] )
|
||||
keyutils? ( sys-apps/keyutils )
|
||||
openldap? ( net-nds/openldap )
|
||||
pkinit? ( dev-libs/openssl )
|
||||
xinetd? ( sys-apps/xinetd )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/yacc
|
||||
doc? ( virtual/latex-base )
|
||||
test? ( dev-lang/tcl
|
||||
dev-lang/python
|
||||
dev-util/dejagnu )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/src
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
unpack ./"${MY_P}".tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.11_uninitialized.patch"
|
||||
epatch "${FILESDIR}/${PN}_krb5-config_LDFLAGS.patch"
|
||||
|
||||
# tcl-8.6 compatibility
|
||||
sed -i -e 's/interp->result/Tcl_GetStringResult(interp)/' \
|
||||
kadmin/testing/util/tcl_kadm5.c || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cppflags "-I${EPREFIX}/usr/include/et"
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags -fno-strict-overflow
|
||||
|
||||
use keyutils || export ac_cv_header_keyutils_h=no
|
||||
econf \
|
||||
$(use_with openldap ldap) \
|
||||
"$(use_with test tcl "${EPREFIX}/usr")" \
|
||||
$(use_enable pkinit) \
|
||||
$(use_enable threads thread-support) \
|
||||
--without-hesiod \
|
||||
--enable-shared \
|
||||
--with-system-et \
|
||||
--with-system-ss \
|
||||
--enable-dns-for-realm \
|
||||
--enable-kdc-lookaside-cache \
|
||||
--with-system-verto \
|
||||
--disable-rpath
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
||||
install
|
||||
|
||||
# default database dir
|
||||
keepdir /var/lib/krb5kdc
|
||||
|
||||
cd ..
|
||||
dodoc README
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/html/*
|
||||
docinto pdf
|
||||
dodoc doc/pdf/*.pdf
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r1 mit-krb5kadmind
|
||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd-r1 mit-krb5kdc
|
||||
newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r1 mit-krb5kpropd
|
||||
|
||||
insinto /etc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
||||
insinto /var/lib/krb5kdc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
||||
|
||||
if use openldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}/kpropd.xinetd" kpropd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
|
||||
elog "MIT split the Kerberos applications from the base Kerberos"
|
||||
elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
|
||||
elog "ftp clients and telnet, ftp deamons now live in"
|
||||
elog "\"app-crypt/mit-krb5-appl\" package."
|
||||
fi
|
||||
}
|
@ -1,9 +1,8 @@
|
||||
DIST LFS-BOOK-7.1-NOCHUNKS.html.bz2 174148 SHA256 54516ff72f0e8e98980f750e7100baeeea0f7cd7ecf08f67afdbacd04644807c SHA512 20828eaac591acf31f4d1291979be88ca9645779cfc6c2fc3c91f437274b382124d7ac1f6f362e219e3072fb235706640dcce63b683b4787ee2c1f8988a7b039 WHIRLPOOL c1ec7db91cf6eeded7f4531aa7ef1cfc274c89a17d10065d91d9f49326ee05c98288fb1cc1bc36d103fb1db2989736e9623f94a755d6b47a89658a9b2d406e22
|
||||
DIST LFS-BOOK-7.1.pdf 1580414 SHA256 16f4ccdb0d8be1f789841189964f851c4104de170bc11831353f9d6a99f19f48 SHA512 9286385be729249341f502a3dd5f7731d0bc57020559dbc1accd500a20b8a593f2e80686bbb6081b2ecf3a9f9d31fd28a28927c5d40cd13e125aa76924d883c5 WHIRLPOOL 42cfba5d3fd67ffe66e208c487d74b009488723e4903e4d0d13b47576a5291b00693a882337bf92250fe8fd86df30584b75699180c435f843ade50cd76c9e0d0
|
||||
DIST LFS-BOOK-7.1.tar.bz2 198259 SHA256 c50e838cf8bb5cac790ad1fbf6baf382dce5d7a998d7e928bfd500042d7980b0 SHA512 26df302ada62db17a191549accf63b0a48c9121fde051b99720ba5ae9de5646a584c50f1b77c8f28be8b65cceb8ba14762a05ee4578bbf38eaa3c4f2ad240748 WHIRLPOOL 653ffd4cbea377a1a853d5f6ed25cd399985f4af05558edb4ec297eecb07ba7439d9293e68d2fa6d693934106de8c17e76792e84db88c18a136c513e2c995f83
|
||||
DIST LFS-BOOK-7.2-NOCHUNKS.html.bz2 176016 SHA256 b4414f47e8098d66fffcf7dde37528973540001b325bc63a49dcb53553d94f79 SHA512 28f927a9ed944c45223be53f9d4a6be8f0615e99f9282a56002b73c29f6dfa6b96e103bfd57ec84ea7f4544bec30500094f9c0d8564ae4cfc4daf0228ca75991 WHIRLPOOL 57f90314e325e267651f74537e61727c908b2451cfd26f033e77cee03679ac0b9c7d7dc345cc1b89840e424812c51aea7ee71c5daf4b3301b88c14f218db444f
|
||||
DIST LFS-BOOK-7.2.pdf 1473478 SHA256 3d3a519c1973c2410638f4267415cf2fe13aad2ce079e0afdbbf212ec9624aa8 SHA512 44a0e1c6dc7fd15d5c477dbe2cc12e2c808050a4169f82615ae62bf4e19ca4fbe748dd17c38e83b98d1d0d5cc0a5619500bff1a6d7eb84c55c4edf46c08a8588 WHIRLPOOL bf00795bbf7de3b2bfb06c5802bc100a2db7caef3262fbf8ffe148d5586443511f5858e631781240fac94bf792cd3a747cec3410c5117567f3f895c541374e6a
|
||||
DIST LFS-BOOK-7.2.tar.bz2 200287 SHA256 4012b7d230db75d61ba069acba8037e3c2ea8db7f743852c505f66d636a2b3c7 SHA512 ee54f858a75700c78dc73ed24283b7f4025678cc7cd2bcfe1b6da17e4552018df0e6cfeac41d17f6f30af46b287129cd3dad061ed9bfa2f390983a1b2be5ff91 WHIRLPOOL 3b3932a209fe2817e068fb13ec924a7f5c74adb3e2cb5ca73a2058a991102046e072c16a5ee4509fc94e79b94e079164ed3469287811a4a2bf371765c7fcd833
|
||||
DIST lfs-bootscripts-20120229.tar.bz2 32701 SHA256 b7fb0d44a4fc041d3a066defeb8d3eedc259e4b7fd667790c8f100f1335a76d6 SHA512 86b398420f0fab34cf177debb2edc54b86bce32b0d59ed0b5284ad8de28cfe51fcac2e66390e9b54e73ffc8e1a8e5ce23012f9bd84d8e8683476a0e8576530b7 WHIRLPOOL 22763e7ec6dae29ebc718cb9944f916655d94c78ea97026c11a7cedbaa82ea92d6678bcc7d4b1b03e2a2a39ffde0a5aaea603faa15b961edd70df21e782a6361
|
||||
DIST LFS-BOOK-7.4-NOCHUNKS.html 2024010 SHA256 4a113cacc11779df8c6150db1aa37dafd90b7f0a6751f6e6f5efb3aed01406b6 SHA512 73d2841cba6965243c9495f8ed878d43c8e39221120baeca591c004273a4d1ef13ca42fcbcbe7bf0f8f00cfb99f7db86185659008f5a2ed2a6a6d08ba0b732de WHIRLPOOL e815a37c93a1980ca06893182d8514a5b0f9c98ab2b4eaf9b5deb3e07de5bfd03982f21617b41c6ef9438fe98cf1291b7deabd4be635b2746414c1884777f85c
|
||||
DIST LFS-BOOK-7.4.pdf 1610342 SHA256 dedd6f70205cdef3ab7fbcaf4c6e8e33a98da85e0ed7fe0e7529897387456a86 SHA512 95548b8732d36dc2d073ec25b73ca72a91c07f997a33b9e5f230340f12f0e0fe97353b8ef8124065056dbf01a163913b6dba9e9a3e466cef876a9d92ba217f2b WHIRLPOOL 95edf4fe67d353810ed191aa914493fb994c828446bb5ef625f2731f18e9999ab0e391c8701cf93fc116dd401232ae9efe6ae94932d15b0cf2083e066066d32b
|
||||
DIST LFS-BOOK-7.4.tar.bz2 201600 SHA256 185ed3ea84b15825cb7ef59d202b6af48d87844ec8826c45daaa748bc96259cb SHA512 df6746af7e1fc36e4a0877e218a730eb9255e3023bea2f20fa0eadf4390e6d7e85b60e3d94f0dbd3dffd895aea8aa63e4bd4ae3179f08c675bca226d6492d15e WHIRLPOOL ad9be781b260f02da1196cbe85cb39a8c36dd962575552670433c53c972c1bba346879f33789451f50bb793e46eab2f468793bfdc98e36a185f6030ec2cdc94e
|
||||
DIST lfs-bootscripts-20120901.tar.bz2 33627 SHA256 cd10e3cd009e4db40c667bed4c8cc39db1885fa9e219b17aaf6322d8a4019c48 SHA512 e218d836b17295a37105b98e374547ae1fd95ba18472ee1e7b3960d0889544689661c8ed6dc7aafcabc3503035e4d7c5f044419977a3ea9cf5d62b513a9c182a WHIRLPOOL 14c885c04d3066498e35ab8289007a028853b728e4b60c7aa9c90480df5c0f9cc12c860d99f8a39be4ca990e2c690bbc87f6782688da5ef58757236e16c95860
|
||||
DIST udev-config-20100128.tar.bz2 6283 SHA256 cc765ce0879bd8fb9347f43603ecfb45bbc2244ae2c8816b1018c86e23f7c02c SHA512 96b963cda837cb7cfa716f043bf982f1efa2ea852fdfea9ab38ee1389ea6966e984382d78c7bf3b5c3f97d29735ccec4392722576b36949736b8befb6dce0807 WHIRLPOOL eca1383bc852bb8b37fdfd5f9e0a14dcca1e75dc6b82466bbfb731d05ecd7d28fabbd744ab516228d5fcc7ae09b045818ca6f6632f0f7554e89c2c3921f1d93c
|
||||
DIST lfs-bootscripts-20130821.tar.bz2 33885 SHA256 6bf38eb5b6757ceae4e73e9af3393a4df9ab4cf70995b127ab927d06ea7cd35f SHA512 c6a4262a67cf04eaa1ced205598b6ad5a9a361f78b0000c2eefea16af22863038ad1c01e3eddbf571e7cc44788eedfdd147b99d7579ee09063c2ccc9e8309786 WHIRLPOOL a58c9d80d8440c038de2981d41b9aeb822b34e6bbef34691aaeeba3104a656eaac5a52d17b3cc0a631198690d30a813d1995e26cd4f654e22dd243b29a126569
|
||||
|
@ -0,0 +1,39 @@
|
||||
Fix dirname(3) call in readin and writeout functions.
|
||||
https://bugs.gentoo.org/487758
|
||||
|
||||
--- mg-20130922-orig/file.c
|
||||
+++ mg-20130922/file.c
|
||||
@@ -210,7 +210,7 @@
|
||||
struct stat statbuf;
|
||||
int status, i, ro = FALSE;
|
||||
PF *ael;
|
||||
- char *dp;
|
||||
+ char ts[NFILEN], *dp;
|
||||
|
||||
/* might be old */
|
||||
if (bclear(curbp) != TRUE)
|
||||
@@ -255,7 +255,8 @@
|
||||
if (errno != ENOENT)
|
||||
ro = TRUE;
|
||||
else if (errno == ENOENT) {
|
||||
- dp = dirname(fname);
|
||||
+ (void)strlcpy(ts, fname, NFILEN);
|
||||
+ dp = dirname(ts);
|
||||
if (stat(dp, &statbuf) == -1 && errno == ENOENT) {
|
||||
/* no read-only; like emacs */
|
||||
ewprintf("Use M-x make-directory RET RET to "
|
||||
@@ -669,11 +670,11 @@
|
||||
{
|
||||
struct stat statbuf;
|
||||
int s;
|
||||
- char *dp;
|
||||
-
|
||||
- dp = dirname(fn);
|
||||
+ char ts[NFILEN], *dp;
|
||||
|
||||
if (stat(fn, &statbuf) == -1 && errno == ENOENT) {
|
||||
+ (void)strlcpy(ts, fn, NFILEN);
|
||||
+ dp = dirname(ts);
|
||||
errno = 0;
|
||||
if (access(dp, W_OK) && errno == EACCES) {
|
||||
ewprintf("Directory %s%s write-protected", dp,
|
@ -0,0 +1,337 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.7.4.ebuild,v 1.1 2013/10/13 03:16:26 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||
PLOCALE_BACKUP="en"
|
||||
|
||||
inherit autotools-multilib eutils fdo-mime flag-o-matic gnome2-utils l10n multilib pax-utils toolchain-funcs virtualx
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MY_P="${PN}-${PV/_/-}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
GV="2.24"
|
||||
MV="0.0.8"
|
||||
PULSE_PATCHES="winepulse-patches-1.7.4"
|
||||
WINE_GENTOO="wine-gentoo-2013.06.24"
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
gecko? (
|
||||
abi_x86_32? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi )
|
||||
abi_x86_64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
|
||||
)
|
||||
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
|
||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2
|
||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa oss +perl +png +prelink +realtime +run-exes samba scanner selinux +ssl test +threads +truetype +udisks v4l +X xcomposite xinerama +xml"
|
||||
[[ ${PV} == "9999" ]] || IUSE="${IUSE} pulseaudio"
|
||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||
test? ( abi_x86_32 )
|
||||
elibc_glibc? ( threads )
|
||||
mono? ( abi_x86_32 )
|
||||
osmesa? ( opengl )" #286560
|
||||
|
||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||
# or fail due to Xvfb's opengl limitations.
|
||||
RESTRICT="test"
|
||||
|
||||
NATIVE_DEPEND="
|
||||
truetype? ( >=media-libs/freetype-2.0.0 )
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
||||
udisks? ( sys-apps/dbus )
|
||||
fontconfig? ( media-libs/fontconfig:= )
|
||||
gphoto2? ( media-libs/libgphoto2:= )
|
||||
openal? ( media-libs/openal:= )
|
||||
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
|
||||
X? (
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXi
|
||||
x11-libs/libXxf86vm
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups:= )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
gsm? ( media-sound/gsm:= )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
ldap? ( net-nds/openldap:= )
|
||||
lcms? ( media-libs/lcms:2= )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
||||
nls? ( sys-devel/gettext )
|
||||
odbc? ( dev-db/unixODBC:= )
|
||||
osmesa? ( media-libs/mesa[osmesa] )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
scanner? ( media-gfx/sane-backends:= )
|
||||
ssl? ( net-libs/gnutls:= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
v4l? ( media-libs/libv4l )
|
||||
xcomposite? ( x11-libs/libXcomposite )"
|
||||
[[ ${PV} == "9999" ]] || NATIVE_DEPEND="${NATIVE_DEPEND}
|
||||
pulseaudio? ( media-sound/pulseaudio )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
!amd64? ( ${NATIVE_DEPEND} )
|
||||
amd64? (
|
||||
abi_x86_64? ( ${NATIVE_DEPEND} )
|
||||
abi_x86_32? (
|
||||
gstreamer? (
|
||||
app-emulation/emul-linux-x86-gstplugins
|
||||
app-emulation/emul-linux-x86-medialibs[development]
|
||||
)
|
||||
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1[development] )
|
||||
X? (
|
||||
>=app-emulation/emul-linux-x86-xlibs-2.1[development]
|
||||
>=app-emulation/emul-linux-x86-soundlibs-2.1[development]
|
||||
)
|
||||
mp3? ( app-emulation/emul-linux-x86-soundlibs[development] )
|
||||
odbc? ( app-emulation/emul-linux-x86-db[development] )
|
||||
openal? ( app-emulation/emul-linux-x86-sdl[development] )
|
||||
opengl? ( app-emulation/emul-linux-x86-opengl[development] )
|
||||
osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028[development] )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs[development] )
|
||||
v4l? ( app-emulation/emul-linux-x86-medialibs[development] )
|
||||
>=app-emulation/emul-linux-x86-baselibs-20131008[development]
|
||||
)
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dos? ( games-emulation/dosbox )
|
||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
||||
samba? ( >=net-fs/samba-3.0.25 )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
[[ ${PV} == "9999" ]] || RDEPEND="${RDEPEND}
|
||||
pulseaudio? ( realtime? ( sys-auth/rtkit ) )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
prelink? ( sys-devel/prelink )
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
sys-devel/flex"
|
||||
|
||||
# These use a non-standard "Wine" category, which is provided by
|
||||
# /etc/xdg/applications-merged/wine.menu
|
||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||
usr/share/applications/wine-notepad.desktop
|
||||
usr/share/applications/wine-uninstaller.desktop
|
||||
usr/share/applications/wine-winecfg.desktop"
|
||||
|
||||
src_unpack() {
|
||||
if use abi_x86_64; then
|
||||
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
|
||||
&& die "you need gcc-4.4+ to build 64bit wine"
|
||||
fi
|
||||
|
||||
if use abi_x86_32 && use opencl; then
|
||||
[[ x$(eselect opencl show) = "xintel" ]] &&
|
||||
die "Cannot build wine[opencl,abi_x86_32]: intel-ocl-sdk is 64-bit only" # 403947
|
||||
fi
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-2_src_unpack
|
||||
else
|
||||
unpack ${MY_P}.tar.bz2
|
||||
fi
|
||||
|
||||
unpack "${PULSE_PATCHES}.tar.bz2"
|
||||
unpack "${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local md5="$(md5sum server/protocol.def)"
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
|
||||
"${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
||||
"${FILESDIR}"/${PN}-1.7.2-osmesa-check.patch #429386
|
||||
"${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508
|
||||
)
|
||||
[[ ${PV} == "9999" ]] || PATCHES+=(
|
||||
"../${PULSE_PATCHES}"/*.patch #421365
|
||||
)
|
||||
|
||||
autotools-utils_src_prepare
|
||||
|
||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||
tools/make_requests || die #432348
|
||||
fi
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
if ! use run-exes; then
|
||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
||||
fi
|
||||
|
||||
# hi-res default icon, #472990, http://bugs.winehq.org/show_bug.cgi?id=24652
|
||||
cp "${WORKDIR}"/${WINE_GENTOO}/icons/oic_winlogo.ico dlls/user32/resources/ || die
|
||||
|
||||
l10n_get_locales > po/LINGUAS # otherwise wine doesn't respect LINGUAS
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
local myeconfargs=( "${myeconfargs[@]}" )
|
||||
|
||||
if use amd64; then
|
||||
if [[ ${ABI} == amd64 ]]; then
|
||||
myeconfargs+=( --enable-win64 )
|
||||
else
|
||||
myeconfargs+=( --disable-win64 )
|
||||
fi
|
||||
|
||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||
# CC/LD hackery. We're using separate tools instead.
|
||||
fi
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
local myeconfargs=( # common
|
||||
--sysconfdir=/etc/wine
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with lcms cms)
|
||||
$(use_with cups)
|
||||
$(use_with ncurses curses)
|
||||
$(use_with udisks dbus)
|
||||
$(use_with fontconfig)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gsm)
|
||||
$(use_with gstreamer)
|
||||
--without-hal
|
||||
$(use_with jpeg)
|
||||
$(use_with ldap)
|
||||
$(use_with mp3 mpg123)
|
||||
$(use_with nls gettext)
|
||||
$(use_with openal)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
$(use_with oss)
|
||||
$(use_with png)
|
||||
$(use_with threads pthread)
|
||||
$(use_with scanner sane)
|
||||
$(use_enable test tests)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with v4l)
|
||||
$(use_with X x)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(use_with xml)
|
||||
$(use_with xml xslt)
|
||||
)
|
||||
|
||||
[[ ${PV} == "9999" ]] || myeconfargs+=( $(use_with pulseaudio pulse) )
|
||||
|
||||
if use amd64 && use abi_x86_32; then
|
||||
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
||||
# set AR and RANLIB to make QA scripts happy; #483342
|
||||
tc-export PKG_CONFIG AR RANLIB
|
||||
fi
|
||||
|
||||
multilib_parallel_foreach_abi do_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-multilib_src_compile depend
|
||||
autotools-multilib_src_compile all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ $(id -u) == 0 ]]; then
|
||||
ewarn "Skipping tests since they cannot be run under the root user."
|
||||
ewarn "To run the test ${PN} suite, add userpriv to FEATURES in make.conf"
|
||||
return
|
||||
fi
|
||||
|
||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||
multilib_toolchain_setup x86
|
||||
local BUILD_DIR="${S}-${ABI}"
|
||||
cd "${BUILD_DIR}" || die
|
||||
WINEPREFIX="${T}/.wine-${ABI}" Xemake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( ANNOUNCE AUTHORS README )
|
||||
add_locale_docs() {
|
||||
local locale_doc="documentation/README.$1"
|
||||
[[ ! -e ${locale_doc} ]] || DOCS=( "${DOCS[@]}" ${locale_doc} )
|
||||
}
|
||||
l10n_for_each_locale_do add_locale_docs
|
||||
autotools-multilib_src_install
|
||||
|
||||
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if use mono ; then
|
||||
insinto /usr/share/wine/mono
|
||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
||||
fi
|
||||
if ! use perl ; then
|
||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
||||
use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
||||
|
||||
if use abi_x86_64 && ! use abi_x86_32; then
|
||||
dosym /usr/bin/wine{64,} # 404331
|
||||
dosym /usr/bin/wine{64,}-preloader
|
||||
fi
|
||||
|
||||
# respect LINGUAS when installing man pages, #469418
|
||||
for l in de fr pl; do
|
||||
use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST gpsdrive-2.11.tar.gz 5709822 SHA256 57bb96f1c037c6a28dc3834777a4ec73fb35c03115d85d465d13a1ec1b35ae56 SHA512 d3595bc45dd6a2f2bcd9f301a73408de860a525eb2b49a241ead9b9288d326f5fb19e8ccf08b66a7ba6cee99a4180556c9b7cb667ca122d825367c8361ea8db6 WHIRLPOOL eaac2ca73484a6a9cfd83eebe8c56f5bd695d4e5eae638c89d3d864186e3d9e33c68e56ff45e8f4fd4908ca8d844edb3bb1250449e3bd9bc46e6a55cbc1e3d06
|
@ -1,31 +0,0 @@
|
||||
--- gpsdrive-2.11/cmake/Modules/FindGTK2.cmake.gdk-pixbuf2 2010-07-28 18:21:37.000000000 +0100
|
||||
+++ gpsdrive-2.11/cmake/Modules/FindGTK2.cmake 2010-07-28 18:23:09.000000000 +0100
|
||||
@@ -192,6 +192,20 @@
|
||||
)
|
||||
#MESSAGE(STATUS "DEBUG: GTK2_ATK_INCLUDE_PATH = ${GTK2_ATK_INCLUDE_PATH}")
|
||||
|
||||
+ if (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 4)
|
||||
+ pkgconfig(gdk-pixbuf-2.0 _GDKPIXBUF2_INCLUDEDIR _GDKPIXBUF2inkDir _GDKPIXBUF2_LDFLAGS _GDKPIXBUF2_CFLAGS)
|
||||
+ else (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 4)
|
||||
+ if (PKG_CONFIG_FOUND)
|
||||
+ pkg_check_modules(_GDKPIXBUF2 gdk-pixbuf-2.0)
|
||||
+ endif (PKG_CONFIG_FOUND)
|
||||
+ endif (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 4)
|
||||
+
|
||||
+ FIND_PATH(GTK2_GDKPIXBUF2_INCLUDE_PATH gdk-pixbuf/gdk-pixbuf.h
|
||||
+ ${_GDKPIXBUF2_INCLUDEDIR} /usr/include/gdk-pixbuf-2.0 /usr/include/gtk-2.0
|
||||
+ )
|
||||
+
|
||||
+ #MESSAGE(STATUS "DEBUG:GTK2_GDKPIXBUF2_INCLUDE_PATH = ${GTK2_GDKPIXBUF2_INCLUDE_PATH}")
|
||||
+
|
||||
FIND_LIBRARY(GTK2_GTKGL_LIBRARY
|
||||
NAMES
|
||||
gtkgl
|
||||
@@ -329,6 +343,7 @@
|
||||
${GTK2_GLIB_INCLUDE_PATH}
|
||||
${GTK2_PANGO_INCLUDE_PATH}
|
||||
${GTK2_GDKCONFIG_INCLUDE_PATH}
|
||||
+ ${GTK2_GDKPIXBUF2_INCLUDE_PATH}
|
||||
${GTK2_ATK_INCLUDE_PATH}
|
||||
${GTK2_CAIRO_INCLUDE_PATH}
|
||||
)
|
@ -1,21 +0,0 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=417773
|
||||
diff -rupN gpsdrive-2.11.org//src/CMakeLists.txt gpsdrive-2.11/src/CMakeLists.txt
|
||||
--- gpsdrive-2.11.org//src/CMakeLists.txt 2012-06-19 20:02:50.960300653 +0200
|
||||
+++ gpsdrive-2.11/src/CMakeLists.txt 2012-06-19 20:03:03.263146846 +0200
|
||||
@@ -28,7 +28,7 @@ if (WITH_POSTGIS)
|
||||
endif (WITH_POSTGIS)
|
||||
|
||||
if (WITH_MAPNIK)
|
||||
- find_package(Boost COMPONENTS filesystem REQUIRED)
|
||||
+ find_package(Boost COMPONENTS filesystem thread REQUIRED)
|
||||
find_package(Mapnik REQUIRED)
|
||||
add_definitions(-DMAPNIK)
|
||||
endif (WITH_MAPNIK)
|
||||
@@ -177,6 +177,7 @@ if (WITH_MAPNIK)
|
||||
set(GPSDRIVE_LINK_LIBRARIES
|
||||
${GPSDRIVE_LINK_LIBRARIES}
|
||||
${Boost_FILESYSTEM_LIBRARY}
|
||||
+ ${Boost_THREAD_LIBRARY}
|
||||
${MAPNIK_LIBRARIES}
|
||||
)
|
||||
endif (WITH_MAPNIK)
|
@ -1,44 +0,0 @@
|
||||
diff -wbBur gpsdrive-2.11/src/gps_handler.c gpsdrive-2.11.my/src/gps_handler.c
|
||||
--- gpsdrive-2.11/src/gps_handler.c 2010-06-24 19:53:32.000000000 +0000
|
||||
+++ gpsdrive-2.11.my/src/gps_handler.c 2011-04-18 13:21:33.000000000 +0000
|
||||
@@ -264,7 +264,8 @@
|
||||
#define GPS_TIMER 500
|
||||
|
||||
static gint gps_timeout_source = 0;
|
||||
-static struct gps_data_t *gpsdata;
|
||||
+static struct gps_data_t __gd;
|
||||
+static struct gps_data_t *gpsdata = &__gd;
|
||||
|
||||
/* SYMBOLS USED IN LIBGPS:
|
||||
*
|
||||
@@ -410,9 +411,10 @@
|
||||
*/
|
||||
gps_query (gpsdata, "oys\n");
|
||||
#else
|
||||
- if (gps_waiting(gpsdata))
|
||||
+ if (gps_waiting(gpsdata, 1000000))
|
||||
{
|
||||
- gps_poll (gpsdata);
|
||||
+ gps_read (gpsdata);
|
||||
+ gps_hook_cb(gpsdata, NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -447,7 +449,7 @@
|
||||
}
|
||||
|
||||
/* try to open connection */
|
||||
- gpsdata = gps_open (local_config.gpsd_server, local_config.gpsd_port);
|
||||
+ gpsdata = gps_open (local_config.gpsd_server, local_config.gpsd_port, gpsdata) ? NULL : &__gd;
|
||||
if (!gpsdata)
|
||||
{
|
||||
g_print ("Can't connect to gps daemon on %s:%s, disabling GPS support!\n",
|
||||
@@ -466,7 +468,7 @@
|
||||
gps_sats = g_new (gps_satellite_struct, MAXCHANNELS);
|
||||
|
||||
/* set hook function to handle gps data */
|
||||
- gps_set_raw_hook (gpsdata, (gpointer) gps_hook_cb);
|
||||
+// gps_set_raw_hook (gpsdata, (gpointer) gps_hook_cb);
|
||||
|
||||
#ifndef LIBGPS_OLD
|
||||
/* enable watch mode to get data stream from gpsd */
|
@ -1,77 +0,0 @@
|
||||
--- trunk/src/mapnik.cpp 2010/07/28 13:39:38 2586
|
||||
+++ trunk/src/mapnik.cpp 2012/05/19 10:04:16 2605
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <mapnik/font_engine_freetype.hpp>
|
||||
#include <mapnik/config_error.hpp>
|
||||
#include <mapnik/image_util.hpp>
|
||||
+#include <mapnik/version.hpp>
|
||||
#include <fstream>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -29,10 +30,17 @@
|
||||
#include "config.h"
|
||||
#include "gpsdrive_config.h"
|
||||
|
||||
+
|
||||
+#if MAPNIK_VERSION < 200000
|
||||
using mapnik::Image32;
|
||||
-using mapnik::Map;
|
||||
using mapnik::Layer;
|
||||
using mapnik::Envelope;
|
||||
+#else
|
||||
+using mapnik::image_32;
|
||||
+using mapnik::layer;
|
||||
+using mapnik::box2d;
|
||||
+#endif
|
||||
+using mapnik::Map;
|
||||
using mapnik::coord2d;
|
||||
using mapnik::feature_ptr;
|
||||
using mapnik::geometry_ptr;
|
||||
@@ -491,7 +499,7 @@
|
||||
double res = scale_denom * 0.00028;
|
||||
|
||||
/* render image */
|
||||
-
|
||||
+#if MAPNIK_VERSION < 200000
|
||||
Envelope<double> box = Envelope<double>(MapnikMap.NewCenterPt.x - 0.5 * MapnikMap.WidthInt * res,
|
||||
MapnikMap.NewCenterPt.y - 0.5 * MapnikMap.HeightInt * res,
|
||||
MapnikMap.NewCenterPt.x + 0.5 * MapnikMap.WidthInt * res,
|
||||
@@ -504,16 +512,36 @@
|
||||
ren.apply();
|
||||
|
||||
if (mydebug > 0) std::cout << MapnikMap.MapPtr->getCurrentExtent() << "\n";
|
||||
+#else
|
||||
+ box2d<double> box = box2d<double>(MapnikMap.NewCenterPt.x - 0.5 * MapnikMap.WidthInt * res,
|
||||
+ MapnikMap.NewCenterPt.y - 0.5 * MapnikMap.HeightInt * res,
|
||||
+ MapnikMap.NewCenterPt.x + 0.5 * MapnikMap.WidthInt * res,
|
||||
+ MapnikMap.NewCenterPt.y + 0.5 * MapnikMap.HeightInt * res);
|
||||
|
||||
+ MapnikMap.MapPtr->zoom_to_box(box);
|
||||
+
|
||||
+ image_32 buf(MapnikMap.WidthInt, MapnikMap.HeightInt);
|
||||
+ mapnik::agg_renderer<image_32> ren(*MapnikMap.MapPtr,buf);
|
||||
+ ren.apply();
|
||||
+
|
||||
+ if (mydebug > 0) std::cout << MapnikMap.MapPtr->get_current_extent() << "\n";
|
||||
+#endif
|
||||
/* get raw data for gpsdrives pixbuf */
|
||||
convert_argb32_to_gdkpixbuf_data(buf.raw_data(), MapnikMap.ImageRawDataPtr);
|
||||
|
||||
/* create pixbuf data before check to unref */
|
||||
- if (MapnikMap.GdkPixbufPtr) gdk_pixbuf_unref(MapnikMap.GdkPixbufPtr);
|
||||
- MapnikMap.GdkPixbufPtr = gdk_pixbuf_new_from_data(MapnikMap.ImageRawDataPtr, GDK_COLORSPACE_RGB, FALSE, 8, 1280, 1024, 1280 * 3, NULL, NULL);
|
||||
+ if (MapnikMap.GdkPixbufPtr)
|
||||
+ gdk_pixbuf_unref(MapnikMap.GdkPixbufPtr);
|
||||
+
|
||||
+ MapnikMap.GdkPixbufPtr = gdk_pixbuf_new_from_data(MapnikMap.ImageRawDataPtr,
|
||||
+ GDK_COLORSPACE_RGB, FALSE, 8, 1280, 1024, 1280 * 3, NULL, NULL);
|
||||
|
||||
/* ok we have a map set default values */
|
||||
+#if MAPNIK_VERSION < 200000
|
||||
mapnik::Envelope<double> ext = MapnikMap.MapPtr->getCurrentExtent();
|
||||
+#else
|
||||
+ mapnik::box2d<double> ext = MapnikMap.MapPtr->get_current_extent();
|
||||
+#endif
|
||||
mapnik::coord2d pt = ext.center();
|
||||
MapnikMap.CenterPt.x = pt.x;
|
||||
MapnikMap.CenterPt.y = pt.y;
|
@ -1,9 +0,0 @@
|
||||
--- DefineOptions.cmake_orig 2010-06-24 21:53:32.000000000 +0200
|
||||
+++ DefineOptions.cmake 2010-10-10 18:23:33.000000000 +0200
|
||||
@@ -10,5 +10,5 @@
|
||||
option(WITH_KISMET "Build with kismet support" ON)
|
||||
option(DEBUG "Build with debug -D support" ON)
|
||||
option(WITH_NAVIGATION "Build with routing support" OFF)
|
||||
-option(LIBGPS_OLD "Build with old libgps version (<2.90)" ON)
|
||||
+option(LIBGPS_OLD "Build with old libgps version (<2.90)" OFF)
|
||||
|
@ -1,157 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/gpsdrive/gpsdrive-2.11-r3.ebuild,v 1.5 2012/11/04 17:30:58 ottxor Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils eutils fdo-mime flag-o-matic versionator
|
||||
|
||||
DESCRIPTION="GPS navigation system with NMEA and Garmin support, zoomable map display, waypoints, etc."
|
||||
HOMEPAGE="http://www.gpsdrive.de/"
|
||||
SRC_URI="${HOMEPAGE}/packages/${P/_/}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
IUSE="dbus debug kismet gdal mapnik scripts -speech"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-db/sqlite:3
|
||||
dev-libs/libxml2:2
|
||||
net-misc/curl
|
||||
>=sci-geosciences/gpsd-2.96
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/gdk-pixbuf:2
|
||||
dbus? ( dev-libs/dbus-glib )
|
||||
gdal? ( sci-libs/gdal )
|
||||
kismet? ( net-wireless/kismet )
|
||||
mapnik? (
|
||||
>=sci-geosciences/mapnik-0.7.0[postgres]
|
||||
>=dev-db/postgis-1.5.2
|
||||
)
|
||||
speech? ( >=app-accessibility/speech-dispatcher-0.6.7 )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEP}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEP}
|
||||
media-fonts/dejavu
|
||||
sci-geosciences/openstreetmap-icons
|
||||
sci-geosciences/mapnik-world-boundaries
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${P/_/}
|
||||
|
||||
src_prepare() {
|
||||
# Get rid of the package's FindBoost.
|
||||
rm "${S}"/cmake/Modules/FindBoost.cmake
|
||||
|
||||
# Update mapnik font path...
|
||||
sed -i \
|
||||
-e "s:truetype/ttf-dejavu:dejavu:g" \
|
||||
-e "s:mapnik/0.5:mapnik:g" \
|
||||
tests/gpsdriverc-in \
|
||||
src/gpsdrive_config.c || die "sed failed"
|
||||
|
||||
# update OSM icon paths
|
||||
sed -i \
|
||||
-e "s:icons/map-icons:osm:g" \
|
||||
cmake/Modules/DefineInstallationPaths.cmake \
|
||||
scripts/osm/perl_lib/Geo/Gpsdrive/DB_Defaults.pm \
|
||||
scripts/osm/perl_lib/Geo/Gpsdrive/OSM.pm \
|
||||
src/gpsdrive_config.c \
|
||||
src/icons.c \
|
||||
|| die "sed failed"
|
||||
|
||||
# Fix desktop file...
|
||||
sed -i -e "s:gpsicon:/usr/share/icons/gpsdrive.png:g" \
|
||||
-e "s:Graphics;Network;Geography:Education;Science;Geography;GPS:g" \
|
||||
data/gpsdrive.desktop || die "sed failed"
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}_DefineOptions_gpsd.patch \
|
||||
"${FILESDIR}"/${P}-add-gdk-pixbuf2.patch \
|
||||
"${FILESDIR}"/${P}-gpsd-2.96.patch \
|
||||
"${FILESDIR}"/${P}-mapnik-2.0api.patch \
|
||||
"${FILESDIR}"/${P}-as-needed.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cat >> cmake/Modules/DefineProjectDefaults.cmake <<- _EOF_
|
||||
|
||||
# set policy for new linker paths
|
||||
cmake_policy(SET CMP0003 NEW) # or cmake_policy(VERSION 2.6)
|
||||
_EOF_
|
||||
|
||||
if use mapnik ; then
|
||||
local PGINC="-DPOSTGRESQL_INCLUDE_DIR=$(pg_config --includedir)"
|
||||
elog "using PG include dir: ${PGINC}"
|
||||
append-flags -DBOOST_FILESYSTEM_VERSION=2
|
||||
fi
|
||||
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_with scripts SCRIPTS)
|
||||
$(cmake-utils_use_with mapnik MAPNIK)
|
||||
$(cmake-utils_use_with mapnik POSTGIS)
|
||||
$(cmake-utils_use_with kismet KISMET)
|
||||
$(cmake-utils_use_with dbus DBUS)
|
||||
$(cmake-utils_use_with speech SPEECH)
|
||||
$(cmake-utils_use_with gdal GDAL)
|
||||
-DWITH_GDA3=OFF ${PGINC}
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
dodoc AUTHORS ChangeLog README \
|
||||
Documentation/{CREDITS.i18n,FAQ.gpsdrive,FAQ.gpsdrive.fr,LEEME} \
|
||||
Documentation/{LISEZMOI,NMEA.txt,LISEZMOI.kismet,TODO} \
|
||||
Documentation/README.{Bluetooth,lib_map,nasamaps,tracks,kismet}
|
||||
if use mapnik ; then
|
||||
dodoc Documentation/install-mapnik-osm.txt
|
||||
else
|
||||
rm -f "${ED}"usr/bin/gpsdrive_mapnik_gentiles.py
|
||||
rm -f "${ED}"usr/share/gpsdrive/osm-template.xml
|
||||
fi
|
||||
if use scripts ; then
|
||||
dodoc Documentation/README.gpspoint2gspdrive
|
||||
use gdal || rm -f "${ED}"usr/bin/{gdal_slice,nasaconv}.sh
|
||||
else
|
||||
rm -f "${ED}"usr/share/man/man1/gpsd_nmea.sh.1
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
elog
|
||||
elog "Be sure to see the README files in /usr/share/doc/${PF}"
|
||||
elog "for information on using Kismet with gpsdrive."
|
||||
elog
|
||||
if use mapnik ; then
|
||||
elog "Using mapnik to render online maps requires you to load"
|
||||
elog "data into the postgis database. Follow the instructions"
|
||||
elog "on http://wiki.openstreetmap.org/index.php/Mapnik"
|
||||
fi
|
||||
elog
|
||||
elog "This version also now depends on the gpsd package, and"
|
||||
elog "specific devices are supported there. Start gpsd first,"
|
||||
elog "otherwise gpsdrive will only run in simulation mode (which"
|
||||
elog "is handy for downloading maps for another location, but"
|
||||
elog "not much else)."
|
||||
elog
|
||||
elog "openstreetmap-icons now installs to a more appropriate"
|
||||
elog "location, so if you have trouble starting gpsdrive, you"
|
||||
elog "should probably update your ~/.gpsdrive/gpsdriverc file"
|
||||
elog "and change the path to the geoinfofile to reflect this:"
|
||||
elog " geoinfofile = /usr/share/osm/geoinfo.db"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer><email>maintainer-needed@gentoo.org</email></maintainer>
|
||||
<use>
|
||||
<flag name='gdal'>Include gdal and ogr support for format conversions.</flag>
|
||||
<flag name='kismet'>Include support for kismet wifi mapping.</flag>
|
||||
<flag name='mapnik'>Include mapnik support for custom map creation.</flag>
|
||||
<flag name='scripts'>Include some of the additional helper scripts.</flag>
|
||||
<flag name='speech'>Include speech support.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,215 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-3.4.1.ebuild,v 1.3 2012/09/19 09:52:57 johu Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils fdo-mime gnome2-utils pax-utils prefix rpm multilib
|
||||
|
||||
IUSE="gnome java"
|
||||
|
||||
BUILDID="9593"
|
||||
BUILDID2="9593"
|
||||
MST="OOO330_m20"
|
||||
MY_PV="${PV}rc10"
|
||||
MY_PV2="${MY_PV}_20110118"
|
||||
BVER="${PV/_rc*/}-${BUILDID}"
|
||||
BVER2="3.4-${BUILDID2}"
|
||||
BASIS="ooobasis3.4"
|
||||
BASIS2="basis3.4"
|
||||
NM="openoffice"
|
||||
NM1="${NM}.org"
|
||||
NM2="${NM1}3"
|
||||
NM3="${NM2}.4"
|
||||
FILEPATH="mirror://sourceforge/openofficeorg.mirror/localized"
|
||||
if [ "${ARCH}" = "amd64" ] ; then
|
||||
XARCH="x86_64"
|
||||
else
|
||||
XARCH="i586"
|
||||
fi
|
||||
UP="en-US/RPMS"
|
||||
|
||||
DESCRIPTION="Apache OpenOffice productivity suite."
|
||||
HOMEPAGE="http://www.openoffice.org/"
|
||||
SRC_URI="amd64? ( mirror://sourceforge/openofficeorg.mirror/stable/${PV}/Apache_OpenOffice_incubating_${PV}_Linux_x86-64_install-rpm_en-US.tar.gz )
|
||||
x86? ( mirror://sourceforge/openofficeorg.mirror/stable/${PV}/Apache_OpenOffice_incubating_${PV}_Linux_x86_install-rpm_en-US.tar.gz )"
|
||||
|
||||
LANGS="ar zh_CN zh_TW cs nl en_GB fi fr gl de hu it ja km pt_BR ru sk sl es"
|
||||
|
||||
for X in ${LANGS} ; do
|
||||
[[ ${X} != "en" ]] && SRC_URI="${SRC_URI} linguas_${X}? (
|
||||
amd64? ( "${FILEPATH}"/${X/_/-}/${PV}/Apache_OpenOffice_incubating_${PV}_Linux_x86-64_langpack-rpm_${X/_/-}.tar.gz )
|
||||
x86? ( "${FILEPATH}"/${X/_/-}/${PV}/Apache_OpenOffice_incubating_${PV}_Linux_x86_langpack-rpm_${X/_/-}.tar.gz ) )"
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
!app-office/openoffice
|
||||
!prefix? ( sys-libs/glibc )
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
>=dev-lang/perl-5.0
|
||||
>=media-libs/freetype-2.1.10-r2
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXinerama"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/findutils"
|
||||
|
||||
PDEPEND="java? ( >=virtual/jre-1.5 )"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
QA_PREBUILT="usr/$(get_libdir)/${NM}/${BASIS2}/program/*
|
||||
usr/$(get_libdir)/${NM}/program/*
|
||||
usr/$(get_libdir)/${NM}/ure/bin/*
|
||||
usr/$(get_libdir)/${NM}/ure/lib/*
|
||||
usr/$(get_libdir)/${NM}/share/prereg/bundled/*/*"
|
||||
QA_TEXTRELS="usr/$(get_libdir)/${NM}/${BASIS2}/program/libvclplug_genli.so \
|
||||
usr/$(get_libdir)/${NM}/${BASIS2}/program/python-core-2.6.1/lib/lib-dynload/_curses_panel.so \
|
||||
usr/$(get_libdir)/${NM}/${BASIS2}/program/python-core-2.6.1/lib/lib-dynload/_curses.so \
|
||||
usr/$(get_libdir)/${NM}/ure/lib/*"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
|
||||
unpack ${A}
|
||||
|
||||
cp "${FILESDIR}"/{50-${PN},wrapper.in} "${T}"
|
||||
eprefixify "${T}"/{50-${PN},wrapper.in}
|
||||
|
||||
for i in base binfilter calc core01 core02 core03 core04 core05 core06 core07 draw graphicfilter images impress math ogltrans ooofonts ooolinguistic pyuno testtool writer xsltfilter ; do
|
||||
rpm_unpack "./${UP}/${BASIS}-${i}-${BVER}.${XARCH}.rpm"
|
||||
done
|
||||
|
||||
rpm_unpack "./${UP}/${NM2}-${BVER}.${XARCH}.rpm"
|
||||
rpm_unpack "./${UP}/${NM1}-ure-${BVER}.${XARCH}.rpm"
|
||||
|
||||
for j in base calc draw impress math writer; do
|
||||
rpm_unpack "./${UP}/${NM2}-${j}-${BVER}.${XARCH}.rpm"
|
||||
done
|
||||
|
||||
rpm_unpack "./${UP}/desktop-integration/${NM3}-freedesktop-menus-${BVER2}.noarch.rpm"
|
||||
|
||||
use gnome && rpm_unpack "./${UP}/${BASIS}-gnome-integration-${BVER}.${XARCH}.rpm"
|
||||
use java && rpm_unpack "./${UP}/${BASIS}-javafilter-${BVER}.${XARCH}.rpm"
|
||||
|
||||
# English support installed by default
|
||||
rpm_unpack "./${UP}/${BASIS}-en-US-${BVER}.${XARCH}.rpm"
|
||||
rpm_unpack "./${UP}/${NM2}-en-US-${BVER}.${XARCH}.rpm"
|
||||
for s in base binfilter calc draw help impress math res writer ; do
|
||||
rpm_unpack "./${UP}/${BASIS}-en-US-${s}-${BVER}.${XARCH}.rpm"
|
||||
done
|
||||
|
||||
# Localization
|
||||
strip-linguas ${LANGS}
|
||||
for l in ${LINGUAS}; do
|
||||
m="${l/_/-}"
|
||||
if [[ ${m} != "en" ]] ; then
|
||||
LANGDIR="${m}/RPMS/"
|
||||
rpm_unpack "./${LANGDIR}/${BASIS}-${m}-${BVER}.${XARCH}.rpm"
|
||||
rpm_unpack "./${LANGDIR}/${NM2}-${m}-${BVER}.${XARCH}.rpm"
|
||||
for n in base binfilter calc draw help impress math res writer; do
|
||||
rpm_unpack "./${LANGDIR}/${BASIS}-${m}-${n}-${BVER}.${XARCH}.rpm"
|
||||
done
|
||||
|
||||
fi
|
||||
done
|
||||
|
||||
}
|
||||
|
||||
src_install () {
|
||||
|
||||
INSTDIR="/usr/$(get_libdir)/${NM}"
|
||||
dodir ${INSTDIR}
|
||||
mv "${WORKDIR}"/opt/${NM1}/* "${ED}${INSTDIR}" || die
|
||||
mv "${WORKDIR}"/opt/${NM2}/* "${ED}${INSTDIR}" || die
|
||||
|
||||
#Menu entries, icons and mime-types
|
||||
cd "${ED}${INSTDIR}/share/xdg/"
|
||||
for desk in base calc draw impress javafilter math printeradmin qstart startcenter writer; do
|
||||
if [ "${desk}" = "javafilter" ] ; then
|
||||
use java || { rm javafilter.desktop; continue; }
|
||||
fi
|
||||
mv ${desk}.desktop ${NM1}-${desk}.desktop
|
||||
sed -i -e s/${NM2}/ooffice/g ${NM1}-${desk}.desktop || die
|
||||
domenu ${NM1}-${desk}.desktop
|
||||
done
|
||||
insinto /usr/share
|
||||
doins -r "${WORKDIR}"/usr/share/icons
|
||||
doins -r "${WORKDIR}"/usr/share/mime
|
||||
|
||||
# Make sure the permissions are right
|
||||
use prefix || fowners -R root:0 /
|
||||
|
||||
# Install wrapper script
|
||||
newbin "${T}/wrapper.in" ooffice
|
||||
sed -i -e s/LIBDIR/$(get_libdir)/g "${ED}/usr/bin/ooffice" || die
|
||||
|
||||
# Component symlinks
|
||||
for app in base calc draw impress math writer; do
|
||||
dosym ${INSTDIR}/program/s${app} /usr/bin/oo${app}
|
||||
done
|
||||
|
||||
dosym ${INSTDIR}/program/spadmin /usr/bin/ooffice-printeradmin
|
||||
dosym ${INSTDIR}/program/soffice /usr/bin/soffice
|
||||
|
||||
rm -f "${ED}${INSTDIR}/basis-link" || die
|
||||
dosym ${INSTDIR}/${BASIS2} ${INSTDIR}/basis-link
|
||||
|
||||
# Change user install dir
|
||||
sed -i -e "s/.${NM1}\/3/.ooo3/g" "${ED}${INSTDIR}/program/bootstraprc" || die
|
||||
|
||||
# Non-java weirdness see bug #99366
|
||||
use !java && rm -f "${ED}${INSTDIR}/ure/bin/javaldx"
|
||||
|
||||
# prevent revdep-rebuild from attempting to rebuild all the time
|
||||
insinto /etc/revdep-rebuild && doins "${T}/50-${PN}"
|
||||
|
||||
# remove soffice bin
|
||||
rm -rf "${ED}${EPREFIX}/usr/bin/soffice"
|
||||
|
||||
# replace all symlinks by bash shell code in order to nicely cope with
|
||||
# libreoffice
|
||||
cd "${ED}${EPREFIX}/usr/bin/"
|
||||
for i in oo*; do
|
||||
[[ ${i} == ooffice ]] && continue
|
||||
|
||||
rm ${i}
|
||||
cat >> ${i} << EOF
|
||||
#!/usr/bin/env bash
|
||||
pushd "${EPREFIX}/usr/$(get_libdir)/openoffice/program" > /dev/null
|
||||
./${i/oo/s}
|
||||
popd > /dev/null
|
||||
EOF
|
||||
chmod +x ${i}
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
|
||||
use gnome && gnome2_icon_savelist
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
use gnome && gnome2_icon_cache_update
|
||||
|
||||
pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/${NM}/program/soffice.bin
|
||||
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
||||
fdo-mime_desktop_database_update
|
||||
use gnome && gnome2_icon_cache_update
|
||||
|
||||
}
|
@ -1,198 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-4.0.0-r1.ebuild,v 1.1 2013/07/24 08:18:39 chithanh Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils fdo-mime gnome2-utils pax-utils prefix rpm multilib
|
||||
|
||||
IUSE="gnome java"
|
||||
|
||||
BUILDID="9702"
|
||||
BVER="${PV/_rc*/}-${BUILDID}"
|
||||
BVER2=4.0-${BUILDID}
|
||||
BASIS="ooobasis4.0"
|
||||
BASIS2="basis4.0"
|
||||
NM="openoffice"
|
||||
NM1="${NM}-brand"
|
||||
NM2="${NM}4"
|
||||
NM3="${NM2}.0"
|
||||
FILEPATH="mirror://sourceforge/openofficeorg.mirror"
|
||||
if [ "${ARCH}" = "amd64" ] ; then
|
||||
XARCH="x86_64"
|
||||
else
|
||||
XARCH="i586"
|
||||
fi
|
||||
UP="en-US/RPMS"
|
||||
|
||||
DESCRIPTION="Apache OpenOffice productivity suite."
|
||||
HOMEPAGE="http://www.openoffice.org/"
|
||||
SRC_URI="amd64? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86-64_install-rpm_en-US.tar.gz )
|
||||
x86? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86_install-rpm_en-US.tar.gz )"
|
||||
|
||||
LANGS="ast zh_CN cs nl en_GB fi fr gd gl de el hu it ja ko pt_BR pt ru sk sl es ta"
|
||||
|
||||
for X in ${LANGS} ; do
|
||||
[[ ${X} != "en" ]] && SRC_URI="${SRC_URI} linguas_${X}? (
|
||||
amd64? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86-64_langpack-rpm_${X/_/-}.tar.gz )
|
||||
x86? ( "${FILEPATH}"/Apache_OpenOffice_${PV}_Linux_x86_langpack-rpm_${X/_/-}.tar.gz ) )"
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
!app-office/openoffice
|
||||
!prefix? ( sys-libs/glibc )
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
>=dev-lang/perl-5.0
|
||||
dev-lang/python:2.7
|
||||
>=media-libs/freetype-2.1.10-r2
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXinerama"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/findutils"
|
||||
|
||||
PDEPEND="java? ( >=virtual/jre-1.5 )"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
QA_PREBUILT="usr/$(get_libdir)/${NM}/program/*"
|
||||
QA_TEXTRELS="usr/$(get_libdir)/${NM}/program/libvclplug_genli.so"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
|
||||
unpack ${A}
|
||||
|
||||
cp "${FILESDIR}"/{50-${PN},wrapper.in} "${T}"
|
||||
eprefixify "${T}"/{50-${PN},wrapper.in}
|
||||
|
||||
for i in base calc core01 core02 core03 core04 core05 core06 core07 draw graphicfilter images impress math ogltrans ooofonts ooolinguistic pyuno ure writer xsltfilter ; do
|
||||
rpm_unpack "./${UP}/${NM}-${i}-${BVER}.${XARCH}.rpm"
|
||||
done
|
||||
|
||||
rpm_unpack "./${UP}/${NM}-${BVER}.${XARCH}.rpm"
|
||||
|
||||
for j in base calc draw impress math writer; do
|
||||
rpm_unpack "./${UP}/${NM1}-${j}-${BVER}.${XARCH}.rpm"
|
||||
done
|
||||
|
||||
rpm_unpack "./${UP}/desktop-integration/${NM3}-freedesktop-menus-${BVER2}.noarch.rpm"
|
||||
|
||||
use gnome && rpm_unpack "./${UP}/${NM}-gnome-integration-${BVER}.${XARCH}.rpm"
|
||||
use java && rpm_unpack "./${UP}/${NM}-javafilter-${BVER}.${XARCH}.rpm"
|
||||
|
||||
# English support installed by default
|
||||
rpm_unpack "./${UP}/${NM}-en-US-${BVER}.${XARCH}.rpm"
|
||||
rpm_unpack "./${UP}/${NM1}-en-US-${BVER}.${XARCH}.rpm"
|
||||
for s in base calc draw help impress math res writer ; do
|
||||
rpm_unpack "./${UP}/${NM}-en-US-${s}-${BVER}.${XARCH}.rpm"
|
||||
done
|
||||
|
||||
# Localization
|
||||
strip-linguas ${LANGS}
|
||||
for l in ${LINGUAS}; do
|
||||
m="${l/_/-}"
|
||||
if [[ ${m} != "en" ]] ; then
|
||||
LANGDIR="${m}/RPMS/"
|
||||
rpm_unpack "./${LANGDIR}/${NM}-${m}-${BVER}.${XARCH}.rpm"
|
||||
rpm_unpack "./${LANGDIR}/${NM1}-${m}-${BVER}.${XARCH}.rpm"
|
||||
for n in base calc draw help impress math res writer; do
|
||||
rpm_unpack "./${LANGDIR}/${NM}-${m}-${n}-${BVER}.${XARCH}.rpm"
|
||||
done
|
||||
|
||||
fi
|
||||
done
|
||||
|
||||
}
|
||||
|
||||
src_install () {
|
||||
|
||||
INSTDIR="/usr/$(get_libdir)/${NM}"
|
||||
dodir ${INSTDIR}
|
||||
# mv "${WORKDIR}"/opt/${NM}/* "${ED}${INSTDIR}" || die
|
||||
mv "${WORKDIR}"/opt/${NM2}/* "${ED}${INSTDIR}" || die
|
||||
|
||||
#Menu entries, icons and mime-types
|
||||
cd "${ED}${INSTDIR}/share/xdg/"
|
||||
for desk in base calc draw impress javafilter math printeradmin qstart startcenter writer; do
|
||||
if [ "${desk}" = "javafilter" ] ; then
|
||||
use java || { rm javafilter.desktop; continue; }
|
||||
fi
|
||||
mv ${desk}.desktop ${NM}-${desk}.desktop
|
||||
sed -i -e "s/${NM2} /ooffice /g" ${NM}-${desk}.desktop || die
|
||||
domenu ${NM}-${desk}.desktop
|
||||
done
|
||||
insinto /usr/share
|
||||
doins -r "${WORKDIR}"/usr/share/icons
|
||||
doins -r "${WORKDIR}"/usr/share/mime
|
||||
|
||||
# Make sure the permissions are right
|
||||
use prefix || fowners -R root:0 /
|
||||
|
||||
# Install wrapper script
|
||||
newbin "${T}/wrapper.in" ooffice
|
||||
sed -i -e s/LIBDIR/$(get_libdir)/g "${ED}/usr/bin/ooffice" || die
|
||||
|
||||
# Component symlinks
|
||||
for app in base calc draw impress math writer; do
|
||||
dosym ${INSTDIR}/program/s${app} /usr/bin/oo${app}
|
||||
done
|
||||
|
||||
dosym ${INSTDIR}/program/spadmin /usr/bin/ooffice-printeradmin
|
||||
dosym ${INSTDIR}/program/soffice /usr/bin/soffice
|
||||
|
||||
# Non-java weirdness see bug #99366
|
||||
use !java && rm -f "${ED}${INSTDIR}/program/javaldx"
|
||||
|
||||
# prevent revdep-rebuild from attempting to rebuild all the time
|
||||
insinto /etc/revdep-rebuild && doins "${T}/50-${PN}"
|
||||
|
||||
# remove soffice bin
|
||||
rm -rf "${ED}${EPREFIX}/usr/bin/soffice"
|
||||
|
||||
# replace all symlinks by bash shell code in order to nicely cope with
|
||||
# libreoffice
|
||||
cd "${ED}${EPREFIX}/usr/bin/"
|
||||
for i in oo*; do
|
||||
[[ ${i} == ooffice* ]] && continue
|
||||
|
||||
rm ${i}
|
||||
cat >> ${i} << EOF
|
||||
#!/usr/bin/env bash
|
||||
pushd "${EPREFIX}/usr/$(get_libdir)/openoffice/program" > /dev/null
|
||||
./${i/oo/s} "\$@"
|
||||
popd > /dev/null
|
||||
EOF
|
||||
chmod +x ${i}
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
|
||||
use gnome && gnome2_icon_savelist
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
use gnome && gnome2_icon_cache_update
|
||||
|
||||
pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/${NM}/program/soffice.bin
|
||||
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
||||
fdo-mime_desktop_database_update
|
||||
use gnome && gnome2_icon_cache_update
|
||||
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- deltup-0.4.5/Makefile.orig 2009-06-26 00:38:01.000000000 +0400
|
||||
+++ deltup-0.4.5/Makefile 2013-08-21 07:24:33.606691559 +0400
|
||||
@@ -5,7 +5,7 @@
|
||||
CC = g++
|
||||
|
||||
objfiles=bpatch.o bzip2.o file.o system.o tmpstore.o deltup.o
|
||||
-libs=-lstdc++ -lz -lbz2 -lssl
|
||||
+libs=-lstdc++ -lz -lbz2 -lcrypto
|
||||
|
||||
#edelta: edelta.cpp deltup
|
||||
# gcc edelta.cpp ${CXXFLAGS} -o edelta
|
@ -1,3 +1,3 @@
|
||||
DIST eix-0.25.5.tar.xz 487608 SHA256 bc0ff803063e7a20ad6cd24763808f5a2b95600bf2b6525fff402e4e430606c6 SHA512 3a7898c5f320bfd52e606eb732701301c96bd63fb143c4a195343efdf4abb354fd6b20cdfa6d0a72fcb39b60bfe6f7a4fe7135c908b5464952f01f965820a7a0 WHIRLPOOL dd9d5a996506b2575754969117fce09539ecba41e925f17c330aa5ff22dd6e12d1908104000d9ce109151d8caf214c9eec46b85292456d7526ecbc4d98b91db4
|
||||
DIST eix-0.29.3.tar.xz 549636 SHA256 23b0aa7b8a4ed576318ab418b86eb85fa7858744ab61fb900aed83d2499b04d0 SHA512 ab865de8a960ad3c8745b9c6d871dfe29f378740a46919fa4521414c2444ccf9585aae8426db2a44967b5f987a2e7a9a0a09a6a8c82c071c30b520ef18e425bd WHIRLPOOL 5f1c898d359b6f4c10c9f43d278fc68be2ea26465e2eae9672e9e7dce14ce1703733873fad53f356879990ebcf69c8d1e7639bc2ef375b68a8e7d339349deb17
|
||||
DIST eix-0.29.4.tar.xz 550292 SHA256 83212f2cb4dfe0bb82dcf5e7620cd21c511bb6a2efecd9b781409adb33905234 SHA512 d40d7db1e789c1a4927dce762c9599d540a0bcfcb3b463add62e94149c34f86eef6cae3d95a0fb65819834c2958e93ec54580f20c5aaf9700b28b30d6849d3eb WHIRLPOOL e0806dbaf7804c14aef266ffc148d72cd64564910adb85f3ba7cc22884a8cae69d6acf6be072938e7ec7482b02475956dc5ac93fe1d727dabd58b1a4a56c765e
|
||||
DIST eix-0.29.6.tar.xz 552108 SHA256 9f028ef34a573ca6f57192ee2415e123f34e7ddd69f4310add532dbb3a7c00cf SHA512 63703c76a04819cd33ebd8cf3e6e4a456bee4a5a23bd00e91b9ded8fdb893fe789a141fb0048943421fa9ea79af7d8375696576f09318ed84fe8f992680be866 WHIRLPOOL 9ee89b491e8bbebc53f4861d070d1578410f83139b1e811b14249801e4d5ad7c660515b04ebf438c89de397a0a5a9d311bcd9c26aa67dbdf4741162bc866ac83
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.29.4.ebuild,v 1.1 2013/09/10 18:38:35 axs Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.29.6.ebuild,v 1.1 2013/10/11 18:29:58 axs Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,113 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/openjade-1.3.2-r5.ebuild,v 1.2 2013/01/02 21:38:35 floppym Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit autotools sgml-catalog eutils flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="Jade is an implementation of DSSSL - an ISO standard for formatting SGML and XML documents"
|
||||
HOMEPAGE="http://openjade.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/openjade/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="app-text/sgml-common
|
||||
>=app-text/opensp-1.5.1"
|
||||
DEPEND="dev-lang/perl
|
||||
${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-deplibs.patch
|
||||
epatch "${FILESDIR}"/${P}-ldflags.patch
|
||||
epatch "${FILESDIR}"/${P}-msggen.pl.patch
|
||||
epatch "${FILESDIR}"/${P}-respect-ldflags.patch
|
||||
epatch "${FILESDIR}"/${P}-libosp-la.patch
|
||||
epatch "${FILESDIR}"/${P}-gcc46.patch
|
||||
|
||||
# Please note! Opts are disabled. If you know what you're doing
|
||||
# feel free to remove this line. It may cause problems with
|
||||
# docbook-sgml-utils among other things.
|
||||
ALLOWED_FLAGS="-O -O1 -O2 -pipe -g -march"
|
||||
strip-flags
|
||||
|
||||
# Default CFLAGS and CXXFLAGS is -O2 but this make openjade segfault
|
||||
# on hppa. Using -O1 works fine. So I force it here.
|
||||
use hppa && replace-flags -O2 -O1
|
||||
|
||||
ln -s config/configure.in configure.ac || die
|
||||
cp "${FILESDIR}"/${P}-acinclude.m4 acinclude.m4 || die
|
||||
rm config/missing || die
|
||||
|
||||
AT_NOEAUTOMAKE=yes
|
||||
eautoreconf
|
||||
|
||||
SGML_PREFIX=/usr/share/sgml
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-http \
|
||||
--enable-default-catalog=/etc/sgml/catalog \
|
||||
--enable-default-search-path=/usr/share/sgml \
|
||||
--enable-splibdir=/usr/$(get_libdir) \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--datadir=/usr/share/sgml/${P} \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Bug 412725.
|
||||
unset INCLUDE
|
||||
|
||||
emake -j1 SHELL=/bin/bash || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)
|
||||
|
||||
make DESTDIR="${D}" \
|
||||
libdir=/usr/$(get_libdir) \
|
||||
SHELL=/bin/bash \
|
||||
install install-man || die "make install failed"
|
||||
|
||||
prune_libtool_files
|
||||
|
||||
dosym openjade /usr/bin/jade
|
||||
dosym onsgmls /usr/bin/nsgmls
|
||||
dosym osgmlnorm /usr/bin/sgmlnorm
|
||||
dosym ospam /usr/bin/spam
|
||||
dosym ospent /usr/bin/spent
|
||||
dosym osx /usr/bin/sgml2xml
|
||||
|
||||
insinto /usr/share/sgml/${P}/
|
||||
doins dsssl/builtins.dsl
|
||||
|
||||
echo 'SYSTEM "builtins.dsl" "builtins.dsl"' > ${D}/usr/share/sgml/${P}/catalog
|
||||
insinto /usr/share/sgml/${P}/dsssl
|
||||
doins dsssl/{dsssl.dtd,style-sheet.dtd,fot.dtd}
|
||||
newins "${FILESDIR}"/${P}.dsssl-catalog catalog
|
||||
# Breaks sgml2xml among other things
|
||||
# insinto /usr/share/sgml/${P}/unicode
|
||||
# doins unicode/{catalog,unicode.sd,unicode.syn,gensyntax.pl}
|
||||
insinto /usr/share/sgml/${P}/pubtext
|
||||
doins pubtext/*
|
||||
|
||||
dodoc NEWS README VERSION
|
||||
dohtml doc/*.htm
|
||||
|
||||
insinto /usr/share/doc/${PF}/jadedoc
|
||||
doins jadedoc/*.htm
|
||||
insinto /usr/share/doc/${PF}/jadedoc/images
|
||||
doins jadedoc/images/*
|
||||
}
|
||||
|
||||
sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
|
||||
"/usr/share/sgml/openjade-${PV}/catalog"
|
||||
sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
|
||||
"/usr/share/sgml/openjade-${PV}/dsssl/catalog"
|
||||
sgml-catalog_cat_include "/etc/sgml/sgml-docbook.cat" \
|
||||
"/etc/sgml/${P}.cat"
|
@ -1,3 +1 @@
|
||||
DIST libxml++-1.0.5.tar.bz2 303965 SHA256 512b71e38d8b3593e716774a5bb8d074531ae0509cc947eba8f98af60c5d5563 SHA512 e59ba4253ef82ae042ba48468693001fba5d4959d037640f9f2a3664646f58893aedc903d3f5d78599b118d286fbb6f552e2b9c1cfe72217f9f345f1520073e8 WHIRLPOOL 70be05948812e00de9cc81a3c2d8345e5eb9bf5622208d7137d03a5f1ef7474310cb3c5e5dfa94862b93766c65d70a680829b659317170ca2d7a46a436e8fe5c
|
||||
DIST libxml++-2.34.2.tar.xz 1070956 SHA256 77daba20ab76631071d4ed4cc18fa2e981160ca05ae661e8d146f2b0728f9baa SHA512 5c97d8197fd95af6890fd8845ca850030fdbecd266ba25c11d443933d45fdd80648351be088ab4542cd7d222387e6d7e6d423485e43e71f07b97a4e92e0475f2 WHIRLPOOL 21fe1d288e9051c81d32ec5d7bdc6faeb9df960a12c26f2edf794b412330b52ac6edd7e4117ea01f92db9056327f9dc532afa6358d1ee4baf8e1c6f36f0829d1
|
||||
DIST libxml++-2.36.0.tar.xz 861456 SHA256 bfdf327bf9ebd12946b7aa6a152045f209d5c9fecd06ebfcdf9b3e7c1af6e2e1 SHA512 52372b3a969dc4a16d1ec70275e3c97ac20acc14703a2875ba41d1eb8fe3f318c10e02d601ceac1a0d35f47e7d7033ebd5e87c122db6b373e847d543eddbe9a6 WHIRLPOOL 19804748859cbf6144e56f1ee1746cf2b30995c70e5f74a0dd3b51b38982832a9ece6a519f43e83dca424110f98bd86e8d3d4120ce8ac59b4b837f2d4f132bba
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- libxml++-1.0.4.orig/libxml++/parsers/parser.cc
|
||||
+++ libxml++-1.0.4/libxml++/parsers/parser.cc
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <libxml/parser.h>
|
||||
|
||||
#include <cstdarg> //For va_list.
|
||||
+#include <memory> //For auto_ptr
|
||||
|
||||
namespace xmlpp {
|
||||
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxmlpp/libxmlpp-1.0.5.ebuild,v 1.14 2012/05/04 03:44:56 jdhore Exp $
|
||||
|
||||
inherit gnome2 eutils autotools
|
||||
|
||||
MY_PN="${PN/pp/++}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DESCRIPTION="C++ wrapper for the libxml2 XML parser library"
|
||||
HOMEPAGE="http://libxmlplusplus.sourceforge.net/"
|
||||
SRC_URI="mirror://gnome/sources/libxml++/${PV%.*}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.5.8"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
DOCS="AUTHORS ChangeLog NEWS README*"
|
||||
|
||||
src_unpack() {
|
||||
gnome2_src_unpack
|
||||
|
||||
# gcc 4.3 build fix, see bug #218779
|
||||
epatch "${FILESDIR}/${PN}-1.0.5-gcc43.patch"
|
||||
|
||||
# Rebuild ./configure as the shipped one contains "[:space:]"
|
||||
# which grep 2.7 and later do not like (bug #339404)
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
dosed -i 's|^\(Cflags.*-I.* \)-I.*$|\1|' \
|
||||
/usr/$(get_libdir)/pkgconfig/${MY_PN}-1.0.pc
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxmlpp/libxmlpp-2.34.2.ebuild,v 1.7 2012/05/04 03:44:56 jdhore Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
GNOME_ORG_MODULE="${PN/pp/++}"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="C++ wrapper for the libxml2 XML parser library"
|
||||
HOMEPAGE="http://libxmlplusplus.sourceforge.net/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="2.6"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.6.1
|
||||
>=dev-cpp/glibmm-2.4"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF} $(use_enable doc documentation)"
|
||||
DOCS="AUTHORS ChangeLog NEWS README*"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
# don't waste time building the examples
|
||||
sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
|
||||
-i Makefile.am Makefile.in || die "sed Makefile.in failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
rm -fr "${ED}"usr/share/doc/libxml++*
|
||||
use doc && dohtml docs/reference/html/*
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST percona-toolkit-2.1.7.tar.gz 1468872 SHA256 9b8be47ad4470ae2af684c0014b6cef8df4868457c73e924bb89bfca5a600479 SHA512 1a228ef7de4129079de35dca032a020887cd692a9d04d61c3317f8636c5e90ac671bd943c2e8cefa101748daa2891f022ce5031920030d605a83bbeb19c9bb8a WHIRLPOOL f28e58f432207ae09652ef49baece5eada40b7be9d9a38b1a52115c65c13e9857e925b1c7fdba9eec0bc7f8e1960ad5a46de00703f59ce25b2aaff0a7ee5435b
|
||||
DIST percona-toolkit-2.2.4.tar.gz 1442080 SHA256 7e9b26046e7bce0eca9e3598f9c05435b75960d7d81e0dba5e65b00587514ee9 SHA512 f6edba6bc34fb8d86b146a4f15760a684416e57626bc10abd791eaa6ceca526af6d9e4b78408fe7827ac8df664888efe6e11d36af44ee3248a17bd72e04038c3 WHIRLPOOL c3dd711adb06415fe6c5fbe3bd5e8f24385a8118c47bb7111c9699ec7a639d17d3b7664e9db02c05f5201ee3f187f6e173a943ab732a2d08bb8499c795506140
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/percona-toolkit/percona-toolkit-2.2.4.ebuild,v 1.1 2013/10/12 23:38:34 idl0r Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-app perl-module toolchain-funcs
|
||||
|
||||
DESCRIPTION="essential command-line utilities for MySQL"
|
||||
HOMEPAGE="http://www.percona.com/software/percona-toolkit/"
|
||||
SRC_URI="http://www.percona.com/downloads/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 Artistic )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
# Package warrants IUSE doc
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="dev-perl/DBI
|
||||
dev-perl/DBD-mysql
|
||||
virtual/perl-Time-HiRes"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dev-perl/JSON
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/Role-Tiny
|
||||
virtual/perl-File-Path
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-Time-Local
|
||||
virtual/perl-Digest-MD5
|
||||
virtual/perl-IO-Compress
|
||||
virtual/perl-File-Temp
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-Scalar-List-Utils
|
||||
dev-perl/TermReadKey"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker"
|
||||
|
||||
# Percona Toolkit does NOT contain the UDF code for Murmur/FNV any more.
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
dodoc docs/percona-toolkit.pod
|
||||
}
|
@ -1,2 +1,4 @@
|
||||
DIST percona-xtrabackup-2.0.7-x86_32.tar.gz 49657516 SHA256 51bf2d9c96a3f59c45e3d18056e7f0eac1ba6494a95d7c8b1605f6b1e08ec607 SHA512 62c0212cc3f564b056dc0ae1471d5671c5a651ff92504d75461b98c2a16f1f8a7fc5a474622e6fe2fc40371b137c10d0085887be30b803d5ca46733ce944d64f WHIRLPOOL cc6c208f35a118ac3d2797e18370ff45f3db6ea0d3df396757101fc77bc17f97b66cd40be96cd9f5f48f1808007fcb75e441f6aa91dd5a6a92a769bdc44facd9
|
||||
DIST percona-xtrabackup-2.0.7-x86_64.tar.gz 50793396 SHA256 d73c4f15fe0761fd9ee3b254aa7b3ae8ec43e2af7fec141a4b4b8b6c6b22f029 SHA512 e1e19f5fb63267a55de7d2fd0c473affb8bbaa7b41056a26e052ccaec4c82dd74c0831d1245fa65b2ac9ad3801a2c5c44b7d000005896254f660156271512ec4 WHIRLPOOL 1ee9b83931a5f226d25614434939a103daa92c345b43e8808e83ba95936955cfe922e3695ffbb003ee30e27050e9a3f2ed6042c6381ab05af83485c4a54f7e21
|
||||
DIST percona-xtrabackup-2.1.5-x86_32.tar.gz 48203022 SHA256 2650979830891e9db59b474a95a32485fbd4305427937126b056eb2b44f97cd5 SHA512 31942f40598d72fc256ffcc906f7e61cd144ae2cc3f737db15fd5cc70c9108855bb0a1ea0e6249532b68b81c5011f1047159591b7ac6d61dd0a907213f91bc56 WHIRLPOOL 0221866fcc004a204f7be40a3442f69f92baebd5ff28b75332dd07fad631778e08071a96527e6c8c7ee8a69147ae3b72f9cb3ab94c63c2de6a3746c8d08b7e71
|
||||
DIST percona-xtrabackup-2.1.5-x86_64.tar.gz 49146542 SHA256 a2e4dbc3fcf1278a66bdb664ded471588b61dcdef921a5e43da05e261d8ae6cd SHA512 1a70d9bd702d5f1324a2b2688971bf990ab22e5dbef0f078579cf688412f6477481d6a2a4b76ded0ee3629c3b39846ae455c8deb4ca8765d353f2d58870cdf8e WHIRLPOOL bf7761fddfa251052c9d63b70156cebbcaea4146d68a901d494772f2620b8c2346d4553bd0beb2fa262ed3057b6846e326d9071be5a2cae4e63cd52d62790b06
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/xtrabackup-bin/xtrabackup-bin-2.1.5.ebuild,v 1.1 2013/10/13 14:34:04 idl0r Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN="percona-${PN/-bin}"
|
||||
MY_PVR="${PV}-680"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
MY_PF="${MY_PN}-${MY_PVR}"
|
||||
|
||||
DESCRIPTION="MySQL hot backup software that performs non-blocking backups for
|
||||
InnoDB and XtraDB databases"
|
||||
HOMEPAGE="http://www.percona.com/software/percona-xtrabackup"
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
http://www.percona.com/downloads/XtraBackup/XtraBackup-${PV}/binary/Linux/x86_64/${MY_PF}-Linux-x86_64.tar.gz -> ${MY_P}-x86_64.tar.gz
|
||||
)
|
||||
x86? (
|
||||
http://www.percona.com/downloads/XtraBackup/XtraBackup-${PV}/binary/Linux/i686/${MY_PF}-Linux-i686.tar.gz -> ${MY_P}-x86_32.tar.gz
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-libs/libaio
|
||||
dev-libs/libgcrypt
|
||||
dev-libs/libgpg-error"
|
||||
|
||||
if use amd64; then
|
||||
S="${WORKDIR}/${MY_P}-Linux-x86_64"
|
||||
elif use x86; then
|
||||
S="${WORKDIR}/${MY_P}-Linux-i686"
|
||||
fi
|
||||
|
||||
src_install() {
|
||||
for bin in innobackupex xbcrypt xbstream xtrabackup xtrabackup_55 xtrabackup_56; do
|
||||
dobin bin/${bin}
|
||||
done
|
||||
dosym /usr/bin/innobackupex /usr/bin/innobackupex-1.5.1
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST janino-2.7.0.zip 992669 SHA256 9b0c089ab2659605aa2aea00431a683f9a29b56f01a31fec2db6ab60cc33f783 SHA512 0fe0faf16c9d7c63ed14b156bbf75b1ce6deebda24fc0eb0176e96693de9877187694dfb39e748523329430332a36017b2d7d04b2b26ef0847fde7396106185f WHIRLPOOL 503efab6a1b68e9bcbdfde49af81e2f29064054d551af06faf2125d33f131c9a44881057a8a3fa48f8061479bba21baf0c4f9d005a8360d432483ad201b8c5a0
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/janino/janino-2.7.0.ebuild,v 1.1 2013/10/11 16:22:05 ercpe Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source examples"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="An embedded compiler for run-time compilation purposes"
|
||||
HOMEPAGE="http://janino.net/"
|
||||
SRC_URI="http://janino.net/download/${P}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/ant-core:0
|
||||
dev-java/unkrig-nullanalysis:0"
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
app-arch/unzip
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
JAVA_SRC_DIR="src"
|
||||
JAVA_GENTOO_CLASSPATH="ant-core,unkrig-nullanalysis"
|
||||
|
||||
java_prepare() {
|
||||
unzip "${S}"/janino-src.zip -d ${JAVA_SRC_DIR} && \
|
||||
unzip "${S}"/commons-compiler-src.zip -d ${JAVA_SRC_DIR} || die
|
||||
find -iname '*.jar' -delete || die
|
||||
|
||||
mkdir -p target/classes && \
|
||||
mv src/org.codehaus.commons.compiler.properties target/classes || die
|
||||
|
||||
mkdir examples || die
|
||||
mv src/org/codehaus/commons/compiler/samples/* examples/ || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
use examples && java-pkg_doexamples examples/
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST testng-6.8.zip 11550802 SHA256 72c7241109b149caea01af5f5c37c86b61b08f15864a8a40e15d069593625e0c SHA512 2e8ad30a2c2f68d0aad584ef92246381c8adf8a893af2ca9ff8fb7d304c26956dfc6564f120de80d22e3e7a53a1402e3869f19ef0e6a69c674cbe35a58811920 WHIRLPOOL b7cf05963aaba3009d7326fee12694c32798787ee4295044daabdcf6b5a50dbb4b17f2a201dcdcd6d191bbc6665c12db789be80e71625eb8d08ca29b3cdfcff2
|
@ -0,0 +1,188 @@
|
||||
<!-- From: https://github.com/cbeust/testng/blob/master/build-tests.xml -->
|
||||
|
||||
<project name="testng" default="all" basedir=".">
|
||||
|
||||
<property file="build.properties"/>
|
||||
|
||||
<property name="report.dir" value="${test.output.dir}"/>
|
||||
<property name="junit.report.dir" value="${report.dir}/test-tmp"/>
|
||||
<property name="testng.report.dir" value="${report.dir}"/>
|
||||
|
||||
<target name="all" depends="prepare,compile,run,reports,done"/>
|
||||
|
||||
<!-- ==================================================================== -->
|
||||
<!-- Compile -->
|
||||
<!-- ==================================================================== -->
|
||||
<path id="compile.cp">
|
||||
<pathelement location="${testng.jar}" />
|
||||
<fileset dir="${lib.dir}" includes="${guice2.jar}" />
|
||||
<fileset dir="${lib.dir}" includes="${junit.jar}" />
|
||||
</path>
|
||||
|
||||
<target name="env:info">
|
||||
<echo>
|
||||
BASEDIR =${basedir}
|
||||
TEST.DIR =${test.dir}
|
||||
TEST.BUILD.DIR =${test.build.dir}
|
||||
REPORT.DIR =${report.dir}
|
||||
JUNIT.REPORT.DIR =${junit.report.dir}
|
||||
TESTNG.REPORT.DIR=${testng.report.dir}
|
||||
</echo>
|
||||
</target>
|
||||
|
||||
<target name="compile" depends="prepare">
|
||||
<echo message=" -- Compiling tests --"/>
|
||||
|
||||
<property name="build.compiler" value="modern"/>
|
||||
<javac debug="true"
|
||||
source="1.5"
|
||||
classpathref="compile.cp"
|
||||
srcdir="${test.dir}"
|
||||
destdir="${test.build.dir}"
|
||||
/>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="prepare">
|
||||
<tstamp/>
|
||||
<mkdir dir="${test.build.dir}"/>
|
||||
<mkdir dir="${junit.report.dir}"/>
|
||||
<mkdir dir="${testng.report.dir}"/>
|
||||
|
||||
<taskdef name="testng"
|
||||
classname="org.testng.TestNGAntTask"
|
||||
classpath="${build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!--
|
||||
<property name="cobertura.dir" value="../cobertura-1.9.4.1" />
|
||||
|
||||
<path id="cobertura.classpath">
|
||||
<fileset dir="${cobertura.dir}">
|
||||
<include name="cobertura.jar" />
|
||||
<include name="lib/**/*.jar" />
|
||||
</fileset>
|
||||
</path>
|
||||
-->
|
||||
|
||||
<!-- ==================================================================== -->
|
||||
<!-- Run -->
|
||||
<!-- ==================================================================== -->
|
||||
|
||||
<path id="run.cp">
|
||||
<!--
|
||||
<path location="target/instrumented-classes" />
|
||||
<path refid="cobertura.classpath" />
|
||||
-->
|
||||
<path refid="compile.cp"/>
|
||||
<pathelement location="${test.build.dir}"/>
|
||||
</path>
|
||||
|
||||
<target name="run" description="Run tests" depends="compile,copy-resources">
|
||||
<echo message=" -- Running tests --"/>
|
||||
<echo message=" -- ${testng.jar} --" />
|
||||
<testng classpathref="run.cp"
|
||||
outputdir="${testng.report.dir}">
|
||||
<xmlfileset dir="${test.resources.dir}" includes="testng.xml"/>
|
||||
<jvmarg value="-Dtest.resources.dir=${test.resources.dir}" />
|
||||
<jvmarg value="-Dsun.io.serialization.extendedDebugInfo=true" />
|
||||
</testng>
|
||||
</target>
|
||||
|
||||
<target name="copy-resources" description="Copies resources.">
|
||||
<copy verbose="false"
|
||||
file="${src.resources.dir}/testngtasks"
|
||||
todir="${build.dir}" />
|
||||
<copy todir="${build.dir}">
|
||||
<fileset dir="${src.resources.dir}">
|
||||
<exclude name="**/.*" />
|
||||
<exclude name="**/CVS/*" />
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<target name="run:single" description="Run 1 property file named with the ant property test" depends="compile">
|
||||
<echo message=" -- testng-tests-run1 --"/>
|
||||
|
||||
<testng outputdir="${testng.report.dir}"
|
||||
classpathref="run.cp"
|
||||
useDefaultListeners="true"
|
||||
outputDir="${testng.report.dir}">
|
||||
<xmlfileset dir="${test.resources.dir}" includes="testng-single.xml"/>
|
||||
</testng>
|
||||
|
||||
<echo>Report created in open ${testng.report.dir}/index.html</echo>
|
||||
</target>
|
||||
|
||||
<target name="run:antprop" description="Run a test to see if ant system propertes are passed correctly" depends="compile">
|
||||
<echo message=" -- testng-tests-run-antprop --"/>
|
||||
<property name="syspropset1" value="value 1"/>
|
||||
<property name="syspropset2" value="value 2"/>
|
||||
<propertyset id="propset1">
|
||||
<propertyref name="syspropset1"/>
|
||||
<propertyref name="syspropset2"/>
|
||||
</propertyset>
|
||||
|
||||
<testng outputdir="${testng.report.dir}"
|
||||
classpathref="run.cp">
|
||||
<xmlfileset dir="${test.resources.dir}" includes="testng-single3.xml"/>
|
||||
<propertyset refid="propset1"/>
|
||||
<sysproperty key="sysprop1" value="value 3"/>
|
||||
</testng>
|
||||
</target>
|
||||
|
||||
<!-- ==================================================================== -->
|
||||
<!-- Run specific configuration -->
|
||||
<!-- ==================================================================== -->
|
||||
<target name="run:conf"
|
||||
if="testng.conf"
|
||||
depends="clean:reports,compile"
|
||||
description="Run specified tests">
|
||||
<echo message=" -- testng-tests-run --"/>
|
||||
<echo message="using: ${testng.conf}.xml"/>
|
||||
|
||||
<testng classpathref="run.cp"
|
||||
outputDir="${testng.report.dir}">
|
||||
<xmlfileset dir="${test.resources.dir}" includes="${testng.conf}.xml"/>
|
||||
</testng>
|
||||
|
||||
<antcall target="clean.tmp"/>
|
||||
</target>
|
||||
|
||||
|
||||
<!-- ==================================================================== -->
|
||||
<!-- Reports -->
|
||||
<!-- ==================================================================== -->
|
||||
|
||||
<target name="reports">
|
||||
<junitreport todir="${junit.report.dir}">
|
||||
<fileset dir="${testng.report.dir}">
|
||||
<include name="*.xml"/>
|
||||
<exclude name="testng-failed.xml"/>
|
||||
<exclude name="testng-results.xml" />
|
||||
</fileset>
|
||||
<report format="noframes" todir="${junit.report.dir}"/>
|
||||
</junitreport>
|
||||
</target>
|
||||
|
||||
|
||||
<target name="clean.tmp">
|
||||
<delete dir="${test.output.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="clean:reports">
|
||||
<delete dir="${report.dir}"/>
|
||||
<delete dir="${junit.report.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="clean" depends="clean.tmp,clean:reports">
|
||||
<echo message=" -- test clean --"/>
|
||||
|
||||
<delete dir="${test.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="done">
|
||||
<echo>Reports can be found in: open ${testng.report.dir}/index.html</echo>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -0,0 +1,188 @@
|
||||
<!-- From: https://github.com/cbeust/testng/blob/master/build-tests.xml -->
|
||||
|
||||
<project name="testng" default="all" basedir=".">
|
||||
|
||||
<property file="build.properties"/>
|
||||
|
||||
<property name="report.dir" value="${test.output.dir}"/>
|
||||
<property name="junit.report.dir" value="${report.dir}/test-tmp"/>
|
||||
<property name="testng.report.dir" value="${report.dir}"/>
|
||||
|
||||
<target name="all" depends="prepare,compile,run,reports,done"/>
|
||||
|
||||
<!-- ==================================================================== -->
|
||||
<!-- Compile -->
|
||||
<!-- ==================================================================== -->
|
||||
<path id="compile.cp">
|
||||
<pathelement location="${testng.jar}" />
|
||||
<fileset dir="${lib.dir}" includes="${guice2.jar}" />
|
||||
<fileset dir="${lib.dir}" includes="${junit.jar}" />
|
||||
</path>
|
||||
|
||||
<target name="env:info">
|
||||
<echo>
|
||||
BASEDIR =${basedir}
|
||||
TEST.DIR =${test.dir}
|
||||
TEST.BUILD.DIR =${test.build.dir}
|
||||
REPORT.DIR =${report.dir}
|
||||
JUNIT.REPORT.DIR =${junit.report.dir}
|
||||
TESTNG.REPORT.DIR=${testng.report.dir}
|
||||
</echo>
|
||||
</target>
|
||||
|
||||
<target name="compile" depends="prepare">
|
||||
<echo message=" -- Compiling tests --"/>
|
||||
|
||||
<property name="build.compiler" value="modern"/>
|
||||
<javac debug="true"
|
||||
source="1.5"
|
||||
classpathref="compile.cp"
|
||||
srcdir="${test.dir}"
|
||||
destdir="${test.build.dir}"
|
||||
/>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="prepare">
|
||||
<tstamp/>
|
||||
<mkdir dir="${test.build.dir}"/>
|
||||
<mkdir dir="${junit.report.dir}"/>
|
||||
<mkdir dir="${testng.report.dir}"/>
|
||||
|
||||
<taskdef name="testng"
|
||||
classname="org.testng.TestNGAntTask"
|
||||
classpath="${build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!--
|
||||
<property name="cobertura.dir" value="../cobertura-1.9.4.1" />
|
||||
|
||||
<path id="cobertura.classpath">
|
||||
<fileset dir="${cobertura.dir}">
|
||||
<include name="cobertura.jar" />
|
||||
<include name="lib/**/*.jar" />
|
||||
</fileset>
|
||||
</path>
|
||||
-->
|
||||
|
||||
<!-- ==================================================================== -->
|
||||
<!-- Run -->
|
||||
<!-- ==================================================================== -->
|
||||
|
||||
<path id="run.cp">
|
||||
<!--
|
||||
<path location="target/instrumented-classes" />
|
||||
<path refid="cobertura.classpath" />
|
||||
-->
|
||||
<path refid="compile.cp"/>
|
||||
<pathelement location="${test.build.dir}"/>
|
||||
</path>
|
||||
|
||||
<target name="run" description="Run tests" depends="compile,copy-resources">
|
||||
<echo message=" -- Running tests --"/>
|
||||
<echo message=" -- ${testng.jar} --" />
|
||||
<testng classpathref="run.cp"
|
||||
outputdir="${testng.report.dir}">
|
||||
<xmlfileset dir="${test.resources.dir}" includes="testng.xml"/>
|
||||
<jvmarg value="-Dtest.resources.dir=${test.resources.dir}" />
|
||||
<jvmarg value="-Dsun.io.serialization.extendedDebugInfo=true" />
|
||||
</testng>
|
||||
</target>
|
||||
|
||||
<target name="copy-resources" description="Copies resources.">
|
||||
<copy verbose="false"
|
||||
file="${src.resources.dir}/testngtasks"
|
||||
todir="${build.dir}" />
|
||||
<copy todir="${build.dir}">
|
||||
<fileset dir="${src.resources.dir}">
|
||||
<exclude name="**/.*" />
|
||||
<exclude name="**/CVS/*" />
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<target name="run:single" description="Run 1 property file named with the ant property test" depends="compile">
|
||||
<echo message=" -- testng-tests-run1 --"/>
|
||||
|
||||
<testng outputdir="${testng.report.dir}"
|
||||
classpathref="run.cp"
|
||||
useDefaultListeners="true"
|
||||
outputDir="${testng.report.dir}">
|
||||
<xmlfileset dir="${test.resources.dir}" includes="testng-single.xml"/>
|
||||
</testng>
|
||||
|
||||
<echo>Report created in open ${testng.report.dir}/index.html</echo>
|
||||
</target>
|
||||
|
||||
<target name="run:antprop" description="Run a test to see if ant system propertes are passed correctly" depends="compile">
|
||||
<echo message=" -- testng-tests-run-antprop --"/>
|
||||
<property name="syspropset1" value="value 1"/>
|
||||
<property name="syspropset2" value="value 2"/>
|
||||
<propertyset id="propset1">
|
||||
<propertyref name="syspropset1"/>
|
||||
<propertyref name="syspropset2"/>
|
||||
</propertyset>
|
||||
|
||||
<testng outputdir="${testng.report.dir}"
|
||||
classpathref="run.cp">
|
||||
<xmlfileset dir="${test.resources.dir}" includes="testng-single3.xml"/>
|
||||
<propertyset refid="propset1"/>
|
||||
<sysproperty key="sysprop1" value="value 3"/>
|
||||
</testng>
|
||||
</target>
|
||||
|
||||
<!-- ==================================================================== -->
|
||||
<!-- Run specific configuration -->
|
||||
<!-- ==================================================================== -->
|
||||
<target name="run:conf"
|
||||
if="testng.conf"
|
||||
depends="clean:reports,compile"
|
||||
description="Run specified tests">
|
||||
<echo message=" -- testng-tests-run --"/>
|
||||
<echo message="using: ${testng.conf}.xml"/>
|
||||
|
||||
<testng classpathref="run.cp"
|
||||
outputDir="${testng.report.dir}">
|
||||
<xmlfileset dir="${test.resources.dir}" includes="${testng.conf}.xml"/>
|
||||
</testng>
|
||||
|
||||
<antcall target="clean.tmp"/>
|
||||
</target>
|
||||
|
||||
|
||||
<!-- ==================================================================== -->
|
||||
<!-- Reports -->
|
||||
<!-- ==================================================================== -->
|
||||
|
||||
<target name="reports">
|
||||
<junitreport todir="${junit.report.dir}">
|
||||
<fileset dir="${testng.report.dir}">
|
||||
<include name="*.xml"/>
|
||||
<exclude name="testng-failed.xml"/>
|
||||
<exclude name="testng-results.xml" />
|
||||
</fileset>
|
||||
<report format="noframes" todir="${junit.report.dir}"/>
|
||||
</junitreport>
|
||||
</target>
|
||||
|
||||
|
||||
<target name="clean.tmp">
|
||||
<delete dir="${test.output.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="clean:reports">
|
||||
<delete dir="${report.dir}"/>
|
||||
<delete dir="${junit.report.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="clean" depends="clean.tmp,clean:reports">
|
||||
<echo message=" -- test clean --"/>
|
||||
|
||||
<delete dir="${test.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="done">
|
||||
<echo>Reports can be found in: open ${testng.report.dir}/index.html</echo>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -0,0 +1,22 @@
|
||||
--- a/build.xml
|
||||
+++ b/build.xml
|
||||
@@ -12,7 +12,7 @@
|
||||
<!-- ====================================================================== -->
|
||||
<!-- PREPARE -->
|
||||
<!-- ====================================================================== -->
|
||||
- <target name="prepare" depends="retrieve-dependencies"
|
||||
+ <target name="prepare"
|
||||
description="Performs all preparations required to build.">
|
||||
<tstamp />
|
||||
<mkdir dir="${build.dir}" />
|
||||
@@ -419,10 +419,6 @@
|
||||
<!-- Ivy -->
|
||||
<!-- ==================================================================== -->
|
||||
|
||||
- <target name="retrieve-dependencies" description="Retrieve dependencies with ivy">
|
||||
- <ivy:retrieve log="quiet" />
|
||||
- </target>
|
||||
-
|
||||
<target name="publish">
|
||||
<ivy:resolve />
|
||||
<mkdir dir="dist/jars" />
|
@ -0,0 +1,60 @@
|
||||
--- a/build.xml
|
||||
+++ b/build.xml
|
||||
@@ -73,9 +73,6 @@
|
||||
<param name="jar.file" value="${testng.jar}" />
|
||||
</antcall>
|
||||
<jar jarfile="${testng.jar}" update="true">
|
||||
- <zipfileset src="${lib.dir}/${beanshell.jar}" />
|
||||
- <zipfileset src="${lib.dir}/${jcommander.jar}" />
|
||||
- <zipfileset src="${lib.dir}/${yaml.jar}" />
|
||||
</jar>
|
||||
|
||||
</target>
|
||||
@@ -195,10 +192,6 @@
|
||||
<param name="jar.file" value="${other.jars.dir}/${testng.junit.jar}" />
|
||||
</antcall>
|
||||
<jar jarfile="${other.jars.dir}/${testng.junit.jar}" update="true">
|
||||
- <zipfileset src="${lib.dir}/${beanshell.jar}" />
|
||||
- <zipfileset src="${lib.dir}/${jcommander.jar}" />
|
||||
- <zipfileset src="${lib.dir}/${junit.jar}" />
|
||||
- <zipfileset src="${lib.dir}/${yaml.jar}" />
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
@@ -207,9 +200,6 @@
|
||||
<param name="jar.file" value="${other.jars.dir}/${testng.nobsh.guice.jar}" />
|
||||
</antcall>
|
||||
<jar jarfile="${other.jars.dir}/${testng.nobsh.guice.jar}" update="true">
|
||||
- <zipfileset src="${lib.dir}/${guice2.jar}" />
|
||||
- <zipfileset src="${lib.dir}/${jcommander.jar}" />
|
||||
- <zipfileset src="${lib.dir}/${junit.jar}" />
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
@@ -218,9 +208,6 @@
|
||||
<param name="jar.file" value="${other.jars.dir}/${testng.bsh.noguice.jar}" />
|
||||
</antcall>
|
||||
<jar jarfile="${other.jars.dir}/${testng.bsh.noguice.jar}" update="true">
|
||||
- <zipfileset src="${lib.dir}/${beanshell.jar}" />
|
||||
- <zipfileset src="${lib.dir}/${jcommander.jar}" />
|
||||
- <zipfileset src="${lib.dir}/${junit.jar}" />
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
@@ -229,8 +216,6 @@
|
||||
<param name="jar.file" value="${other.jars.dir}/${testng.nobsh.noguice.jar}" />
|
||||
</antcall>
|
||||
<jar jarfile="${other.jars.dir}/${testng.bsh.noguice.jar}" update="true">
|
||||
- <zipfileset src="${lib.dir}/${jcommander.jar}" />
|
||||
- <zipfileset src="${lib.dir}/${junit.jar}" />
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
@@ -239,7 +224,6 @@
|
||||
<param name="jar.file" value="${other.jars.dir}/${testng.dist.jar}" />
|
||||
</antcall>
|
||||
<jar jarfile="${other.jars.dir}/${testng.dist.jar}" update="true">
|
||||
- <zipfileset src="${lib.dir}/${jcommander.jar}" />
|
||||
</jar>
|
||||
</target>
|
||||
|
@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>tex</herd>
|
||||
<herd>sci</herd>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/testng/testng-6.8.ebuild,v 1.1 2013/10/12 16:21:15 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source test"
|
||||
WANT_ANT_TASKS="ant-junit"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Testing framework introducing some new functionalities that make it more powerful and easier to use."
|
||||
HOMEPAGE="http://testng.org/"
|
||||
SRC_URI="http://${PN}.org/${P}.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
|
||||
CDEPEND="dev-java/ant-core:0
|
||||
dev-java/bsh:0
|
||||
dev-java/guice:2
|
||||
dev-java/jcommander:0
|
||||
dev-java/junit:4
|
||||
dev-java/snakeyaml:0"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
JAVA_PKG_BSFIX_NAME="build.xml build-tests.xml"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
JAVA_ANT_CLASSPATH_TAGS+=" testng javadocs-current"
|
||||
EANT_GENTOO_CLASSPATH="ant-core,bsh,guice-2,jcommander,junit-4,snakeyaml"
|
||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH}"
|
||||
|
||||
EANT_BUILD_TARGET="build"
|
||||
EANT_TEST_TARGET="tests"
|
||||
EANT_DOC_TARGET="javadocs"
|
||||
|
||||
java_prepare() {
|
||||
find . -name '*.jar' -print -delete || die
|
||||
|
||||
cp "${FILESDIR}"/${P}-build-tests.xml build-tests.xml || die
|
||||
|
||||
epatch "${FILESDIR}"/${P}-remove-ivy-retrieve.patch
|
||||
epatch "${FILESDIR}"/${P}-remove-jar-bundling.patch
|
||||
|
||||
# Removal of tests that break due to restrictions or environment expectations:
|
||||
# ServiceLoaderTest - Breaks due absolute URL load that Portage prevents;
|
||||
# we assume the underlying functionality to work, as
|
||||
# the underlying functionality is simple and should
|
||||
# show the usage of this package to break.
|
||||
sed -i '/test.serviceloader.ServiceLoaderTest/d' src/test/resources/testng.xml || die
|
||||
|
||||
# TrueParallelTest - Doesn't always work, especially not on a system
|
||||
# under load; since this could fail during parallel
|
||||
# emerges, we assume the underlying functionality to
|
||||
# work as it has definitely succeeded under lower load.
|
||||
sed -i '/test.thread.TrueParallelTest/d' src/test/resources/testng.xml || die
|
||||
|
||||
mkdir lib || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local tests_file="target/test-output/index.html"
|
||||
|
||||
java-pkg-2_src_test
|
||||
|
||||
if [[ ! -f ${tests_file} ]] ; then
|
||||
die "Tests failed, test output does not exist; a problem with starting the tests."
|
||||
fi
|
||||
|
||||
grep 'method-stats.*failed' target/test-output/index.html > /dev/null && \
|
||||
die "Tests failed; one or more test failed, see ${tests_file} for more details."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${P}.jar
|
||||
java-pkg_dolauncher ${PN} --main org.testng.TestNG
|
||||
java-pkg_register-ant-task
|
||||
|
||||
use doc && java-pkg_dojavadoc javadocs
|
||||
use examples && java-pkg_doexamples examples
|
||||
use source && java-pkg_dosrc src/main/java/{org,com}
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST unkrig-nullanalysis-0_pre1644.tar.bz2 2322 SHA256 ecbe44bad11afdac33d9ab6f1f75c70090fbee833b2a00e23c3a4b3931155d6b SHA512 6e4f069023043ac24f7e68f748ad4c6cfaf16312310abfd9c6d395b34491b68a7c3cca6b3a36b18c4dd656cc15f17755dbd4ce3e6379da06f82a2691453c3c03 WHIRLPOOL b16b22ff2b5f719c41568536b43c0fca777459b3d0861fe684de3771fe79117099656286dfc4ef4e5aab7b01734ef1d140b94f30f1c73a0baabba2fae02b297d
|
@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/unkrig-nullanalysis/unkrig-nullanalysis-0_pre1644.ebuild,v 1.1 2013/10/11 16:18:07 ercpe Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Some classes to test for various null conditions"
|
||||
HOMEPAGE="http://commons.unkrig.de"
|
||||
SRC_URI="http://dev.gentoo.org/~ercpe/distfiles/${CATEGORY}/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
DEPEND=">=virtual/jdk-1.6"
|
||||
|
||||
JAVA_SRC_DIR="src"
|
@ -1,2 +1,3 @@
|
||||
DIST pcc-1.0.0.tgz 652308 SHA256 5802dbba46d6ea3f9badaa55b9044a0416bb410020c24a5c2a8a2eaaf41156cb SHA512 201bd9d5c67cb7ea00f80c373e295fef643ba55aee22bf35a01b31ffaaaa6fe7c342394738f785b85c87e6404675669ae5b226c0921a6d48d850e6d0605e9bb5 WHIRLPOOL 4b9dfdd17d71626757d3db67e01b11dc509d355fb0f6c7a4abebd43289f84b43f794113f3987a0821f32133d512622704e21bbb247162e93d2b93566f8304cc5
|
||||
DIST pcc-20121112.tgz 780561 SHA256 bf640dc33bdd47d4c4f85d4360ec9555358cfa4de2b40c76f5b861430b80202e SHA512 7a8f3c45927a1291522f9b4b8c8d746e96c4a9761b9efc96e3dd0068fdf65b15b8bd2ccdc9021921cf68a9dd174f91f4614cf3eced0705ba077ecd6de5f1e573 WHIRLPOOL 25cf6f53550bb11e5313651214df2a5b4d919e9eaad0cded47fe3effc3bf60b14b2b966a05c7f4a0c223b23b5a4c4bbee2a6c6fb516341ab712729c886810106
|
||||
DIST pcc-20131013.tgz 781268 SHA256 b11a6f38d69588719a28669099af4f9eafb1c469cbe6edd1d26665fd9d3d0440 SHA512 a833dd1f98b06ee8705b27a9731f9d032e477a64c235e8bf1f46574be61db8b0bbf436b9d1c78e9bf31cb38a4fdb798d4085f005e2c24ebd9f8c5a1976ff414f WHIRLPOOL 58c43da594c9380abc1588269f9cbc749eba8eb29600ca6374989c0c4e08ea025050c3377fefd1f2cdad81510ad6f838b1563b93b9a0517dfc6551a4c8ae6968
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/pcc/pcc-1.0.1_pre20131013.ebuild,v 1.1 2013/10/13 12:50:21 patrick Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils versionator autotools
|
||||
|
||||
DESCRIPTION="pcc portable c compiler"
|
||||
HOMEPAGE="http://pcc.ludd.ltu.se"
|
||||
|
||||
SRC_URI="ftp://pcc.ludd.ltu.se/pub/${PN}/${PN}-${PVR/*_pre/}.tgz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64 ~amd64-fbsd"
|
||||
IUSE=""
|
||||
DEPEND=">=dev-libs/pcc-libs-${PV}"
|
||||
RDEPEND="${DEPEND}"
|
||||
S=${WORKDIR}/${PN}-${PVR/*_pre/}/
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/AC_CHECK_PROG(strip,strip,yes,no)//' configure.ac || die "Failed to fix configure.ac"
|
||||
sed -i -e 's/AC_SUBST(strip)//' configure.ac || die "Failed to fix configure.ac more"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-stripping
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/tcc-0.9.23-r1.ebuild,v 1.6 2009/01/04 21:03:25 patrick Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
IUSE=""
|
||||
DESCRIPTION="A very small C compiler for ix86"
|
||||
HOMEPAGE="http://bellard.org/tcc/"
|
||||
SRC_URI="http://download.savannah.nongnu.org/releases/tinycc/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* x86"
|
||||
|
||||
DEPEND=""
|
||||
# Both tendra and tinycc install /usr/bin/tcc
|
||||
RDEPEND="!dev-lang/tendra"
|
||||
|
||||
# Testsuite is broken, relies on gcc to compile
|
||||
# invalid C code that it no longer accepts
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-anonunion.patch
|
||||
epatch "${FILESDIR}"/${P}-asneeded.patch
|
||||
epatch "${FILESDIR}"/${P}-nxbit.patch
|
||||
|
||||
# Don't strip
|
||||
sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile
|
||||
|
||||
# Fix examples
|
||||
sed -i -e '1{
|
||||
i#! /usr/bin/tcc -run
|
||||
/^#!/d
|
||||
}' examples/ex*.c
|
||||
sed -i -e '1s/$/ -lX11/' examples/ex4.c
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#autoconf for the package does not create dirs if they are missing for some reason
|
||||
dodir /usr/bin
|
||||
dodir /usr/lib/tcc
|
||||
dodir /usr/share/man/man1
|
||||
dodir /usr/include
|
||||
dodir /usr/share/doc/${PF}
|
||||
make \
|
||||
bindir="${D}"/usr/bin \
|
||||
libdir="${D}"/usr/lib \
|
||||
tccdir="${D}"/usr/lib/tcc \
|
||||
includedir="${D}"/usr/include \
|
||||
docdir="${D}"/usr/share/doc/${PF} \
|
||||
mandir="${D}"/usr/share/man install || die
|
||||
dodoc Changelog README TODO VERSION COPYING
|
||||
dohtml tcc-doc.html
|
||||
exeinto /usr/share/doc/${PF}/examples
|
||||
doexe examples/ex*.c
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/tcc-0.9.24.ebuild,v 1.1 2009/01/04 21:03:25 patrick Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
IUSE=""
|
||||
DESCRIPTION="A very small C compiler for ix86"
|
||||
HOMEPAGE="http://bellard.org/tcc/"
|
||||
SRC_URI="http://download.savannah.nongnu.org/releases/tinycc/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~x86"
|
||||
|
||||
DEPEND=""
|
||||
# Both tendra and tinycc install /usr/bin/tcc
|
||||
RDEPEND="!dev-lang/tendra"
|
||||
|
||||
# Testsuite is broken, relies on gcc to compile
|
||||
# invalid C code that it no longer accepts
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
#epatch "${FILESDIR}"/${PN}-0.9.23-anonunion.patch
|
||||
#epatch "${FILESDIR}"/${PN}-0.9.23-asneeded.patch
|
||||
#epatch "${FILESDIR}"/${PN}-0.9.23-nxbit.patch
|
||||
|
||||
# Don't strip
|
||||
sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile
|
||||
|
||||
# Fix examples
|
||||
sed -i -e '1{
|
||||
i#! /usr/bin/tcc -run
|
||||
/^#!/d
|
||||
}' examples/ex*.c
|
||||
sed -i -e '1s/$/ -lX11/' examples/ex4.c
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#autoconf for the package does not create dirs if they are missing for some reason
|
||||
dodir /usr/bin
|
||||
dodir /usr/lib/tcc
|
||||
dodir /usr/share/man/man1
|
||||
dodir /usr/include
|
||||
dodir /usr/share/doc/${PF}
|
||||
make \
|
||||
bindir="${D}"/usr/bin \
|
||||
libdir="${D}"/usr/lib \
|
||||
tccdir="${D}"/usr/lib/tcc \
|
||||
includedir="${D}"/usr/include \
|
||||
docdir="${D}"/usr/share/doc/${PF} \
|
||||
mandir="${D}"/usr/share/man install || die
|
||||
dodoc Changelog README TODO VERSION COPYING
|
||||
dohtml tcc-doc.html
|
||||
exeinto /usr/share/doc/${PF}/examples
|
||||
doexe examples/ex*.c
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/tcc-0.9.25.ebuild,v 1.3 2010/08/16 20:05:34 truedfx Exp $
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
IUSE=""
|
||||
DESCRIPTION="A very small C compiler for ix86/amd64"
|
||||
HOMEPAGE="http://bellard.org/tcc/"
|
||||
SRC_URI="http://download.savannah.nongnu.org/releases/tinycc/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=""
|
||||
# Both tendra and tinycc install /usr/bin/tcc
|
||||
RDEPEND="!dev-lang/tendra"
|
||||
|
||||
# Testsuite is broken, relies on gcc to compile
|
||||
# invalid C code that it no longer accepts
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-0.9.25-flags.patch
|
||||
|
||||
# Don't strip
|
||||
sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile
|
||||
|
||||
# Fix examples
|
||||
sed -i -e '1{
|
||||
i#! /usr/bin/tcc -run
|
||||
/^#!/d
|
||||
}' examples/ex*.c
|
||||
sed -i -e '1s/$/ -lX11/' examples/ex4.c
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myopts
|
||||
use x86 && myopts="--cpu=x86"
|
||||
use amd64 && myopts="--cpu=x86-64"
|
||||
econf ${myopts} --cc="$(tc-getCC)"
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
bindir="${D}"/usr/bin \
|
||||
libdir="${D}"/usr/lib \
|
||||
tccdir="${D}"/usr/lib/tcc \
|
||||
includedir="${D}"/usr/include \
|
||||
docdir="${D}"/usr/share/doc/${PF} \
|
||||
mandir="${D}"/usr/share/man install || die "make install failed"
|
||||
dodoc Changelog README TODO VERSION
|
||||
dohtml tcc-doc.html
|
||||
exeinto /usr/share/doc/${PF}/examples
|
||||
doexe examples/ex*.c
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue