Sync with portage [Mon Dec 7 09:48:01 MSK 2015].

mhiretskiy 146
root 8 years ago
parent 9442d76f66
commit 22b21cce80

@ -12,7 +12,7 @@ SRC_URI="https://fedorahosted.org/releases/l/o/logrotate/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE="acl +cron selinux"
CDEPEND="

@ -1,3 +1,2 @@
DIST restart_services-0.11.0.tgz 20259 SHA256 60a14c500126782704fc016f09fce708da53c4f4e786f5630e789e4166d50620 SHA512 f5b987938e9f2e04febd1a8e9009696aba05e087f6cfd2f2b9eb15f95067c17de696357b0c91360f9591e9376870bf867e1455ac74a6024cbaa864825a811856 WHIRLPOOL 0d5b6b4e5e8f00c75cabeb7bcc1e9b369937fa46a0804e6061ed3dfbd4040c9836da725a55475b1231d1b867f47b782ec5bcb70dd4b4fa2caf31ff55515a3f92
DIST restart_services-0.12.0.tgz 20536 SHA256 68637f5c6accb003dc86eca019fb430d2b26016d4302b5e66198249d992e21e4 SHA512 d25cff31653ecccfa466d37631320879679d4e8347c45dc5e180a5a8b1f5755a77525ca1a941bd9933536c8f84f197f432662a929ed39c5e58e3e82b1cd0f90b WHIRLPOOL 63af03b46dec904d0c6f610fbadd1489c990810b8db7f68e0579774bbd7c4c5bb2e1ec1e439937a9a350dce8e517a6692baa8c7890f3c3d3d85469397e461cda
DIST restart_services-0.13.0.tgz 20790 SHA256 b975450f24c72aa52ea9bf1a73514d7806604323ad1f29f2c03b922421a67aa2 SHA512 778139f724f0e8f5f5a4a146ea19808f1d58717e2158570e829ed15950cf4394ecce1c2d3fe7afd6c9324b255186b9d740928c973a48aafeb4df3a38faa814ba WHIRLPOOL 74309e2272ec1e7ecf51bcc83ec308b5b33ac4c0e675005e6302a7117fc38b16a2d4566a1517b6466894a3d57b5ec3f7d65959edf4dc1ebad4e751c028105d11
DIST restart_services-0.13.1.tgz 20860 SHA256 c14759fbbbebc31500495194a749a4ef5a5d8e7049af79d8a81cb70883c7d2ce SHA512 29983382ddf217865b4e2cde62caaba4f6a54ac20223a1fe8019e39ad0fdb61c491013444a684a0a5941965417b87abf1c25f52036649205cb16a0f12bf397ef WHIRLPOOL 22ec5681e758d0a541b1d1ea47aa977260931ffb291174549213ebc534d2f25bd740e697ec5a1a368d0082597e29e3c484da2584351b61027666d3758e31a8da

@ -1,28 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
DESCRIPTION="Tool to manage OpenRC services that need to be restarted"
HOMEPAGE="https://dev.gentoo.org/~mschiff/restart_services/"
SRC_URI="https://dev.gentoo.org/~mschiff/src/${PN}/${P}.tgz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="
app-admin/lib_users
sys-apps/openrc
"
src_install() {
dosbin restart_services
doman restart_services.1
insinto /etc
doins restart_services.conf
dodoc README CHANGES
}

@ -1,28 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
DESCRIPTION="Tool to manage OpenRC services that need to be restarted"
HOMEPAGE="https://dev.gentoo.org/~mschiff/restart_services/"
SRC_URI="https://dev.gentoo.org/~mschiff/src/${PN}/${P}.tgz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="
app-admin/lib_users
sys-apps/openrc
"
src_install() {
dosbin restart_services
doman restart_services.1
insinto /etc
doins restart_services.conf
dodoc README CHANGES
}

@ -26,4 +26,13 @@ src_install() {
insinto /etc
doins restart_services.conf
dodoc README CHANGES
sed -i 's/^#include/include/' "${D}"/etc/restart_services.conf
cat>"${D}"/etc/restart_services.d/00-local.conf<<-EOF
# You may put your local changes here or in any other *.conf file
# in this directory so you can leave /etc/restart_services.conf as is.
# Example:
# *extend* SV_ALWAYS to match 'myservice'
# SV_ALWAYS+=( myservice )
EOF
}

@ -14,7 +14,7 @@ SRC_URI="https://github.com/balabit/syslog-ng/releases/download/${P}/${P}.tar.gz
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
IUSE="amqp caps dbi geoip ipv6 json libressl mongodb pacct python redis smtp spoof-source systemd tcpd"
RESTRICT="test"

@ -146,6 +146,8 @@ src_prepare() {
src_configure() {
local myconf=''
addpredict /var/lib/logrotate.status
if use clientonly; then
myconf="${myconf} \
$(use_enable clientonly client-only) \

@ -1,3 +1,2 @@
DIST obnam-1.16.tar.gz 362372 SHA256 4c3e525aeef87f4beba55bd8ab7459e33bc2c14c4fa7fc35b74beafc8beb25d0 SHA512 e495991c7277f6cb121900441a191bab9c58da7cd796afe47b24c62e081b281337a414ec43bac0c117c837e4195d4d8d911aa037280679aaba2b43ae109db085 WHIRLPOOL 942b8ad8e7f1852283eefee5bb371e71a160e65b0430428800dc8253650b7128fe0715786743fe30beaa2a1db84197326c377d30914700f022b177805d254f12
DIST obnam-1.17.tar.gz 362512 SHA256 d340bdf6a5ebbc7c0a039501832c78257c57caa701bd29f5ef6fb841f16cbcf9 SHA512 63926ee62c5dae90cd653cee69a793f43098ed91a3fdb4cff7af1ed98994f54807c3d2c6b1bc3995bbda9a3ce9b319fa2a8e0e9c841b597a92c677bb01f549f1 WHIRLPOOL 442eae740c29064a188566cfe48a4091de29f22f41a6fabf0917c186dc683f9c19233bc3dc30c7f7339e8e7efc77feca0cc1d928e81f32b0a88920ba4dbfde43
DIST obnam-1.9.tar.gz 340103 SHA256 7e0182efb16597d63916d052ac36546e7c597ee75ba40ae23b2dc9afbb959f82 SHA512 f170a4223b84d2b26617c412524e9ec6efcf3b7bb7bb1a4bfc7333c138e9b9066658c54da9aa8c41b4ea3c3335da3bcd1c26b911b2cce7eb98eabf52d72af67f WHIRLPOOL 73b72c8fe7bbf2958714ef05dba518839471aea91aa02d60f8015481c30440de985f2db0a610bcf08d29eaa86e074cf7b39e975c3847cb1e78c0adf27d793b31
DIST obnam-1.18.2.tar.gz 361576 SHA256 515aa3eaf9946f5f7beee1e3285d2822e67a43d209b34e57bf0e1ea809551895 SHA512 f375a3e8769775b2b3d5679d68d031f13d950ac6b2d50231b791f9625384f830ccaee3434f18eacdbc95ed6de2d1e4b33b1adac39ad8b8f96842ecc8e4664f91 WHIRLPOOL 17afe8d35f455decb0bcec3f1708e4f74cf6d14ee8a60bb6f9c53d17341d8d298d042c769571f458093d994053a5a293356716e423844c3bd69356ae4838cf73

@ -1,11 +0,0 @@
--- setup.py.orig 2015-03-23 00:11:50.833110091 +0100
+++ setup.py 2015-03-23 00:12:19.892915511 +0100
@@ -78,7 +78,7 @@
env['MANWIDTH'] = '80'
with open('%s.1.txt' % program, 'w') as f:
cliapp.runcmd(
- ['man', '-l', '%s.1' % program],
+ ['man', './%s.1' % program],
['col', '-b'],
stdout=f,
env=env)

@ -7,7 +7,7 @@ EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="threads"
inherit eutils distutils-r1
inherit distutils-r1
DESCRIPTION="A backup program that supports encryption and deduplication"
HOMEPAGE="http://obnam.org/"
@ -19,19 +19,16 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="${PYTHON_DEPS}
dev-python/cliapp
dev-python/fuse-python
dev-python/larch
!=dev-python/paramiko-1.13.0
|| ( <dev-python/paramiko-1.13.0 >dev-python/paramiko-1.13.0 )
dev-python/pyyaml
dev-python/tracing
dev-python/ttystatus
dev-python/cliapp[${PYTHON_USEDEP}]
dev-python/fuse-python[${PYTHON_USEDEP}]
dev-python/larch[${PYTHON_USEDEP}]
>dev-python/paramiko-1.13.0[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/tracing[${PYTHON_USEDEP}]
dev-python/ttystatus[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"
PATCHES=( )
src_compile() {
addwrite /proc/self/comm
distutils-r1_src_compile

@ -1,54 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="threads"
inherit eutils distutils-r1
DESCRIPTION="A backup program that supports encryption and deduplication"
HOMEPAGE="http://obnam.org/"
SRC_URI="http://git.liw.fi/cgi-bin/cgit/cgit.cgi/obnam/snapshot/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="${PYTHON_DEPS}
dev-python/cliapp
dev-python/fuse-python
dev-python/larch
!=dev-python/paramiko-1.13.0
|| ( <dev-python/paramiko-1.13.0 >dev-python/paramiko-1.13.0 )
dev-python/pyyaml
dev-python/tracing
dev-python/ttystatus
"
RDEPEND="${DEPEND}"
PATCHES=( ${FILESDIR}/${P}-setup-man.diff )
src_compile() {
addwrite /proc/self/comm
distutils-r1_src_compile
}
src_install() {
distutils-r1_src_install
find "${D}" -name "obnam-viewprof*" -delete
insinto /etc
doins "${FILESDIR}"/obnam.conf
keepdir /var/log/obnam
}
pkg_postinst() {
if [[ $REPLACING_VERSIONS < "1.2" ]]; then
elog "You will need to setup a config file before running obnam for the first time."
elog "For details, please see the obnam(1) manual page."
elog "An example file has been installed as /etc/obnam.conf for your convenience."
fi
}

@ -0,0 +1 @@
DIST letsencrypt-0.1.0.tar.gz 524821 SHA256 1c1ac7b41e5e0fc0e41a7ef159ac9147a4aafff54453d57b519eb05bf52ade14 SHA512 6a786290362741ac97dcb4b59bc4cba56f3e8b5193bbc10be19086d462f76e6124259c42bac36afe9eb818f4bb9edec34f8e2a02bd8c855e3b35404f4ee81f96 WHIRLPOOL cdc41a3466de54ab8ddfeedea9935205d78383028769dcfbc876be0c2ef80c2d14f5d0e4a9c56a751163718f5ababb07848822989a060de7031ea8ebdf6424a0

@ -0,0 +1,43 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=(python{2_7,3_4,3_5})
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
inherit git-r3
KEYWORDS=""
S=${WORKDIR}/${P}/${PN}
else
SRC_URI="https://github.com/letsencrypt/archive/v${PV}.tar.gz -> letsencrypt-${PV}.tar.gz"
KEYWORDS="~amd64"
S=${WORKDIR}/letsencrypt-${PV}/acme
fi
inherit distutils-r1
DESCRIPTION="An implementation of the ACME protocol"
HOMEPAGE="https://github.com/letsencrypt/letsencrypt https://letsencrypt.org/"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="test"
RDEPEND=">=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
>=dev-python/ndg-httpsclient-0.4[${PYTHON_USEDEP}]
dev-python/pyasn1[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.15[${PYTHON_USEDEP}]
dev-python/pyrfc3339[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/werkzeug[${PYTHON_USEDEP}]"
DEPEND="test? ( ${RDEPEND} dev-python/nose[${PYTHON_USEDEP}] )
dev-python/setuptools[${PYTHON_USEDEP}]"
python_test() {
nosetests -w ${PN} || die
}

@ -5,16 +5,24 @@
EAPI=5
PYTHON_COMPAT=(python{2_7,3_4,3_5})
EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
inherit git-r3 distutils-r1
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
inherit git-r3
KEYWORDS=""
S=${WORKDIR}/${P}/${PN}
else
SRC_URI="https://github.com/letsencrypt/archive/v${PV}.tar.gz -> letsencrypt-${PV}.tar.gz"
KEYWORDS="~amd64"
S=${WORKDIR}/letsencrypt-${PV}/acme
fi
inherit distutils-r1
DESCRIPTION="An implementation of the ACME protocol"
HOMEPAGE="https://github.com/letsencrypt/letsencrypt https://letsencrypt.org/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS=""
IUSE="test"
RDEPEND=">=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
@ -30,8 +38,6 @@ RDEPEND=">=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
DEPEND="test? ( ${RDEPEND} dev-python/nose[${PYTHON_USEDEP}] )
dev-python/setuptools[${PYTHON_USEDEP}]"
S=${WORKDIR}/${P}/${PN}
python_test() {
nosetests -w ${PN} || die
}

@ -0,0 +1,37 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils
MY_P="EasyRSA-${PV}"
DESCRIPTION="Small RSA key management package, based on OpenSSL"
HOMEPAGE="http://openvpn.net/"
SRC_URI="https://github.com/OpenVPN/easy-rsa/releases/download/${PV}/${MY_P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="libressl"
DEPEND="!libressl? ( >=dev-libs/openssl-0.9.6:0 )
libressl? ( dev-libs/libressl )"
RDEPEND="${DEPEND}
!<net-misc/openvpn-2.3"
S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}/${PV}-pkcs11.patch"
}
src_install() {
exeinto /usr/share/easy-rsa
doexe build-* clean-all inherit-inter list-crl pkitool revoke-full sign-req whichopensslcnf
insinto /usr/share/easy-rsa
doins vars openssl-*.cnf
doenvd "${FILESDIR}/65easy-rsa" # config-protect easy-rsa
}

@ -3,3 +3,4 @@ DIST nano-2.4.0.tar.gz 1886052 SHA256 5076fb502680503e648cbdcbf2077e39fba193420a
DIST nano-2.4.1.tar.gz 1890805 SHA256 6a0ceb5e1b9b9bea72d5d1f46488ace4782b1f198ea6ba558480a86d994f29d2 SHA512 0e2bc99627682350496853b2dc8d3d4c25303b3723fd1dec2e26f2860b21d0f4c6cb99810517fc4e86312f3bec5481c327afab84dac55f4c388799453e6f5f11 WHIRLPOOL 3c3decdd0c94c33a2cb3854e6b8cda4082a9a98d55d8e1d256ec73febaa0de597d41b1f63c18cb6308fb7174b6ced0995434697f6c05a2efb53e3588f2ca7d8a
DIST nano-2.4.2.tar.gz 1898633 SHA256 c8cd7f18fcf5696d9df3364ee2a840e0ab7b6bdbd22abf850bbdc951db7f65b9 SHA512 487b03b33ac8fac4a774223e038b00463ca03e08093c506b10f4df56795039eff1c23518c1a4f32695cee1bb9bb5eb0a2dd3e1f8a9befcc573e7fca3d69fa9d3 WHIRLPOOL ac5942114a48d428e64db47afb919feef506e18da8b21627ea421e59bf3c235083b17ffaf7a6e510193b6617c0e2ad9d2460f64d5d8bbd6b828547bcd41b5c7c
DIST nano-2.4.3.tar.gz 1878096 SHA256 32d627072b6026678e4f4095c047adec92ac7ec542dd6d91cf27f49b601768f2 SHA512 53c9f93b0f001a3d6c292a6995d66b6bcca033407b6b69995c62b9e9f721fd5566fbd0e22ece1b2561a47e56ef19c3f1ee196e23edfe832289704e0ebef45de9 WHIRLPOOL cd2e4d7175521835c71f0338a2115d2d9fec4da1d4eb2abbb633cfef907fde69fb12acd5e0db343d1f90945f05d60abb85daa5a045d9b97ef8cd19fb9b226607
DIST nano-2.5.0.tar.gz 1909625 SHA256 ff323e6fef74caf0a924304841c07ac65ec30db99dc5c1f8272b4c536a5c89ee SHA512 f05f1afa6a79ff6b87359c46fbdaf6161eacdc265ac6be155a0173e3ab5a17023e205d0b9667a942e754556182a9007fe4438f337a830d20b9546aad9d522ba6 WHIRLPOOL 29fbb67ce561da8255dca70d7554d604094a21e89e39ce94fadb67bc3236550ea1ee3f08838616deed8a4e37657df0ef6d320c701cc77a086d8d1ce2dae43d1d

@ -0,0 +1,83 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils flag-o-matic
if [[ ${PV} == "9999" ]] ; then
ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano"
inherit subversion autotools
else
MY_P=${PN}-${PV/_}
SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="GNU GPL'd Pico clone with more functionality"
HOMEPAGE="http://www.nano-editor.org/ https://www.gentoo.org/doc/en/nano-basics-guide.xml"
LICENSE="GPL-3"
SLOT="0"
IUSE="debug justify +magic minimal ncurses nls slang +spell static unicode"
LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?]
sys-libs/ncurses:0=[static-libs(+)]
magic? ( sys-apps/file[static-libs(+)] )
nls? ( virtual/libintl )
!ncurses? ( slang? ( sys-libs/slang[static-libs(+)] ) )"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
virtual/pkgconfig
static? ( ${LIB_DEPEND} )"
src_prepare() {
if [[ ${PV} == "9999" ]] ; then
eautoreconf
fi
epatch_user
}
src_configure() {
use static && append-ldflags -static
local myconf=()
case ${CHOST} in
*-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
esac
econf \
--bindir="${EPREFIX}"/bin \
--htmldir=/trash \
$(use_enable !minimal color) \
$(use_enable !minimal multibuffer) \
$(use_enable !minimal nanorc) \
--disable-wrapping-as-root \
$(use_enable magic libmagic) \
$(use_enable spell speller) \
$(use_enable justify) \
$(use_enable debug) \
$(use_enable nls) \
$(use_enable unicode utf8) \
$(use_enable minimal tiny) \
$(usex ncurses --without-slang $(use_with slang)) \
"${myconf[@]}"
}
src_install() {
default
rm -rf "${D}"/trash
dodoc doc/nanorc.sample
dohtml doc/faq.html
insinto /etc
newins doc/nanorc.sample nanorc
if ! use minimal ; then
# Enable colorization by default.
sed -i \
-e '/^# include /s:# *::' \
"${ED}"/etc/nanorc || die
fi
dodir /usr/bin
dosym /bin/nano /usr/bin/nano
}

@ -1,2 +1,2 @@
DIST neovim-0.0.0_pre20151025.tar.xz 4947384 SHA256 62b3bd93e0395c3f2d1f829a1e4e444ac081de1acc99114f6ceba7d61a7055a3 SHA512 a0390097cc0cfae401779ddd229a6237fa63522caaa6515dfff025b506b83e2597a10711bae0a1a60770d2a244963aa56af58f734885ce73091a19865a420bf0 WHIRLPOOL becfec39f4aa1a22f48991f17dbca003f38dfa6b085ed6043e34ed7e852217dddd3e4fce4d33873b0385e1b46754ae11db21ce47cbecd12822e5073d38a5fda1
DIST neovim-0.1.0.tar.gz 7644722 SHA256 e8659558103b8f5a65aac84007a12e3581b32736321778028017fd07365cfff8 SHA512 b91e5ce5561155ecb3554f56fd4371219612ed3bc35dfeb60a225eb1dbe1473fce5f573eb996bdb01fd9569f764da86493108665c98dc7555fc44f410befb00a WHIRLPOOL 33d7b88588c214ddc670a7b3cffcfd855699e90b15c5e327ac0c17972fddb73bd519b1a8eb609f8454d6c463f18764f17bc1314b6b27448c5ac4607cdbce1551
DIST neovim-0.1.1.tar.gz 7584560 SHA256 f39bcab23457c66ce0d67dcf8029743703f860413db0070f75d4f0ffad27c6c1 SHA512 7098bef9b81862f009789cff49a063d56d52d2f5c74e2fe68ad65c952c61c07eabeb6be150b369a5a179957f20187de3051caaa30b1e0cb4ec1e9e49b4e77333 WHIRLPOOL 9df0d6d59bdda2def2d8a393eec579f341256aff18c485cbb08c96637c597ee4df73a68a09105e776605194412274df2c82b78f7ca0e0bc1e20d4780fcdfa57f

@ -1,35 +0,0 @@
commit bb3c3cbee65ef42b2b3048afae008c719bc2056a
Author: Ole Reifschneider <mail@ole-reifschneider.de>
Date: Sat Oct 24 18:48:01 2015 +0200
Make jemalloc optional
Don't enable it automagically if it exists
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 348e138..53e3873 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -260,12 +260,16 @@ if((CLANG_ASAN_UBSAN OR CLANG_MSAN OR CLANG_TSAN) AND NOT CMAKE_C_COMPILER_ID MA
message(FATAL_ERROR "Sanitizers are only supported for Clang.")
endif()
-if(CLANG_ASAN_UBSAN OR CLANG_MSAN OR CLANG_TSAN)
- message(STATUS "Sanitizers have been enabled; don't use jemalloc.")
-else()
- find_package(JeMalloc)
- if(JEMALLOC_FOUND)
- include_directories(SYSTEM ${JEMALLOC_INCLUDE_DIRS})
+option(ENABLE_JEMALLOC "enable jemalloc" OFF)
+
+if (ENABLE_JEMALLOC)
+ if(CLANG_ASAN_UBSAN OR CLANG_MSAN OR CLANG_TSAN)
+ message(STATUS "Sanitizers have been enabled; don't use jemalloc.")
+ else()
+ find_package(JeMalloc)
+ if(JEMALLOC_FOUND)
+ include_directories(SYSTEM ${JEMALLOC_INCLUDE_DIRS})
+ endif()
endif()
endif()

@ -1,105 +0,0 @@
" Default Gentoo configuration file for neovim
" Based on the default vimrc shipped by Gentoo with app-editors/vim-core
" $Id$
" You can override any of these settings on a global basis via the
" "/etc/vim/nvimrc.local" file, and on a per-user basis via "~/.nvimrc".
" You may need to create these.
" Neovim comes with sensible defaults, see:
" https://github.com/neovim/neovim/issues/2676
" Most of the general settings from Gentoo's vimrc have been dropped here.
" We add only some necessary fixes and a few Gentoo specific settings.
" {{{ Locale settings
" If we have a BOM, always honour that rather than trying to guess.
if &fileencodings !~? "ucs-bom"
set fileencodings^=ucs-bom
endif
" Always check for UTF-8 when trying to determine encodings.
if &fileencodings !~? "utf-8"
" If we have to add this, the default encoding is not Unicode.
let g:added_fenc_utf8 = 1
set fileencodings+=utf-8
endif
" }}}
" {{{ Fix &shell, see bug #101665.
if "" == &shell
if executable("/bin/bash")
set shell=/bin/bash
elseif executable("/bin/sh")
set shell=/bin/sh
endif
endif
"}}}
" {{{ Our default /bin/sh is bash, not ksh, so syntax highlighting for .sh
" files should default to bash. See :help sh-syntax and bug #101819.
if has("eval")
let is_bash=1
endif
" }}}
" {{{ Autocommands
if has("autocmd")
augroup gentoo
au!
" Gentoo-specific settings for ebuilds. These are the federally-mandated
" required tab settings. See the following for more information:
" http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml
" Note that the rules below are very minimal and don't cover everything.
" Better to emerge app-vim/gentoo-syntax, which provides full syntax,
" filetype and indent settings for all things Gentoo.
au BufRead,BufNewFile *.e{build,class} set ts=4 sw=4 noexpandtab
" In text files, limit the width of text to 78 characters, but be careful
" that we don't override the user's setting.
autocmd BufNewFile,BufRead *.txt
\ if &tw == 0 && ! exists("g:leave_my_textwidth_alone") |
\ setlocal textwidth=78 |
\ endif
" When editing a file, always jump to the last cursor position
autocmd BufReadPost *
\ if ! exists("g:leave_my_cursor_position_alone") |
\ if line("'\"") > 0 && line ("'\"") <= line("$") |
\ exe "normal g'\"" |
\ endif |
\ endif
" When editing a crontab file, set backupcopy to yes rather than auto. See
" :help crontab and bug #53437.
autocmd FileType crontab set backupcopy=yes
" If we previously detected that the default encoding is not UTF-8
" (g:added_fenc_utf8), assume that a file with only ASCII characters (or no
" characters at all) isn't a Unicode file, but is in the default encoding.
" Except of course if a byte-order mark is in effect.
autocmd BufReadPost *
\ if exists("g:added_fenc_utf8") && &fileencoding == "utf-8" &&
\ ! &bomb && search('[\x80-\xFF]','nw') == 0 && &modifiable |
\ set fileencoding= |
\ endif
" Strip trailing spaces on write
autocmd BufWritePre *.e{build,class}
\ if ! exists("g:leave_my_trailing_space_alone") |
\ :%s/\s\+$//e |
\ endif
augroup END
endif " has("autocmd")
" }}}
" {{{ nvimrc.local
if filereadable("/etc/vim/nvimrc.local")
source /etc/vim/nvimrc.local
endif
" }}}
" vim: set tw=80 sw=2 sts=2 et foldmethod=marker :

@ -3,21 +3,21 @@
# $Id$
EAPI=5
inherit cmake-utils eutils flag-o-matic
inherit cmake-utils flag-o-matic
DESCRIPTION="Vim-fork focused on extensibility and agility."
HOMEPAGE="https://github.com/neovim/neovim"
HOMEPAGE="https://neovim.io"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="git://github.com/neovim/neovim.git"
else
SRC_URI="https://dev.gentoo.org/~tranquility/distfiles/${P}.tar.xz"
SRC_URI="https://github.com/neovim/neovim/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="Apache-2.0 vim"
SLOT="0"
IUSE="+nvimpager perl python jemalloc"
IUSE="+nvimpager perl python +jemalloc"
CDEPEND="dev-lang/luajit:2
>=dev-libs/libtermkey-0.17
@ -36,6 +36,8 @@ RDEPEND="${CDEPEND}
perl? ( dev-lang/perl )
python? ( dev-python/neovim-python-client )"
CMAKE_BUILD_TYPE=RelWithDebInfo
src_prepare() {
# use our system vim dir
sed -e '/^# define SYS_VIMRC_FILE/s|$VIM|'"${EPREFIX}"'/etc/vim|' \
@ -47,9 +49,6 @@ src_prepare() {
# make less.sh macro actually work with neovim
sed -e 's|vim |nvim |g' -i runtime/macros/less.sh || die
# make sure the jemalloc dependency is not automagic
epatch "${FILESDIR}"/automagic-jemalloc.patch
cmake-utils_src_prepare
}
@ -58,7 +57,6 @@ src_configure() {
append-cflags "-Wno-error"
local mycmakeargs=(
$(cmake-utils_use_enable jemalloc JEMALLOC)
-DCMAKE_BUILD_TYPE=RelWithDebInfo
-DLIBUNIBILIUM_USE_STATIC=OFF
-DLIBTERMKEY_USE_STATIC=OFF
-DLIBVTERM_USE_STATIC=OFF
@ -71,7 +69,7 @@ src_install() {
# install a default configuration file
insinto /etc/vim
doins "${FILESDIR}"/nvimrc
doins "${FILESDIR}"/sysinit.vim
# conditionally install a symlink for nvimpager
if use nvimpager; then

@ -1 +1,2 @@
DIST docker-machine-0.4.1.tar.gz 1620966 SHA256 f089657b2de7a3ce15374e69be3f654b0866f75eb077ca363f8a5933ccf51cda SHA512 29b21c075c7964cce00cda484bb31768988c95d6e1a9c4aa625619bead49aebe5b756fdaee7be07baa469c2a675538e69c1e2d3a33cfd32c0c8b79dd4dc8b6b7 WHIRLPOOL 8f200b43f4d40b170646cd3b96b8dac7ae56014641d30ed82ab53eb38be537a408a45fcef7d1f97eba632c86f471516ca3c7f19c121072a72b19847b9d04fe82
DIST docker-machine-0.5.2.tar.gz 1452215 SHA256 2dd6ed03e546a7c733ec6964b47b85b6d328e830ebca318240f6ddfcaed6f98a SHA512 4a724cc4ad867a2b3b79bd0006b554ae072c142daa7ca29c6430bb6614bc6b971eeca79d93cae98b8f38d97b5a1a5e872f9015cc09200b69551732998b1ba601 WHIRLPOOL 249d9e2456ad79867a0c380c549704b88275a177a78ae610ae207bed5189f20f6279e1f604dc10cbf9fc1feb75bff7460d2eb4a39aaabcc427e8bbaa419e7940

@ -0,0 +1,41 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EGO_PN=github.com/docker/machine/...
if [[ ${PV} = *9999* ]]; then
inherit golang-vcs
else
KEYWORDS="~amd64"
EGIT_COMMIT="v${PV}"
SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
inherit golang-vcs-snapshot
fi
inherit golang-build
DESCRIPTION="Machine management for a container-centric world"
HOMEPAGE="https://docs.docker.com/machine/ "
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RESTRICT="test"
DEPEND=">=dev-lang/go-1.5:="
RDEPEND=""
S=${WORKDIR}/${P}/src/${EGO_PN%/*}
src_prepare() {
# don't pre-strip binaries
sed -e 's|\(GO_LDFLAGS := $(GO_LDFLAGS) -w\) -s|\1|' -i mk/main.mk ||die
}
src_compile() {
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake build || die
}
src_install() {
dobin bin/*
dodoc CHANGELOG.md CONTRIBUTING.md README.md ROADMAP.md
}

@ -104,7 +104,7 @@ RDEPEND="sys-libs/readline:=
systemd? ( sys-apps/systemd )
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
wireshark-plugins? ( net-analyzer/wireshark:= )
xen? ( app-emulation/xen-tools app-emulation/xen )
xen? ( app-emulation/xen-tools:= app-emulation/xen )
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
virt-network? ( net-dns/dnsmasq[script]
net-misc/radvd

@ -109,7 +109,7 @@ RDEPEND="
wireshark-plugins? ( net-analyzer/wireshark:= )
xen? (
app-emulation/xen
app-emulation/xen-tools
app-emulation/xen-tools:=
)
udev? (
virtual/udev

@ -109,7 +109,7 @@ RDEPEND="
wireshark-plugins? ( net-analyzer/wireshark:= )
xen? (
app-emulation/xen
app-emulation/xen-tools
app-emulation/xen-tools:=
)
udev? (
virtual/udev

@ -109,7 +109,7 @@ RDEPEND="
wireshark-plugins? ( net-analyzer/wireshark:= )
xen? (
app-emulation/xen
app-emulation/xen-tools
app-emulation/xen-tools:=
)
udev? (
virtual/udev

@ -109,7 +109,7 @@ RDEPEND="
wireshark-plugins? ( net-analyzer/wireshark:= )
xen? (
app-emulation/xen
app-emulation/xen-tools
app-emulation/xen-tools:=
)
udev? (
virtual/udev

@ -1,7 +1,9 @@
DIST lxc-1.0.6.tar.gz 561249 SHA256 2aea199a89e2cd946f93406af6c3f62844f36954b79a6991b36d2c33022cb11c SHA512 fe85ccb57865d86704df6b4b79d60f31892785b07dc9dd2580cc6c384c89c29c23516e906b7a16bc03c6582c1fb2432bb8ff11bd17c09efa8f6a035fb41f46b1 WHIRLPOOL 9e77453fbe31523a2e8f39cfaba6f09fef68d00b54549167a0cde56c00934f827f5b4190b9fb64242f36782a9fcda63e6796c35fd47420870c2cee7b9bc0a1c8
DIST lxc-1.0.7.tar.gz 564985 SHA256 a0b1b09592e076e270dcb3ba004616d9ac3147f9de0b78ca39a30f8956b0a8f2 SHA512 e6ff42a7b41177e1be0d2cd47d4c554565c7fc35355f3aa8aeba00d4adc7a0f364ecd060ddb6c97b2fe5968329c4e4c4b3cb022bffd2da145f30880f077264a8 WHIRLPOOL f07e5e9efb8ff394aa9cdd6c3e725b453c8137ec221399cbf910d57dbc9268fc84e7227273567792821415dc14e774942b76a58a1a478de57d5c82e545702000
DIST lxc-1.0.8.tar.gz 575127 SHA256 399ac3eb4e0a89d657fb2e2a57f686ed061d3f1ea4733e7521b1539e9906c7ee SHA512 f552a4f48bb47d26c6b9ddaf8221a439c0848e3f54ec41b77d54717c21bddd56193941046cc96c699790e8265e762a926469c25ee687adcf7795f2906b1c260a WHIRLPOOL 72cd0b8b0345692dd9a3ed8785ee27f5e575794a96c515db1f1d073c29be4c06ae8c1ee24fa375a5ede2bba2494704916710b2e8814ed991d43330a40dff3d56
DIST lxc-1.1.0.tar.gz 592543 SHA256 216e806f7e18e5bfbc782493a9e44fc255f24a587d6faee94cda848a0b949155 SHA512 160da88d6dc96cd9f0679f948bfed057c024adcd459fa4b79e872d12284fa3774ac33a13923c6e150072886a371ccfcdf7ab2c4587efa7f6175fc91a67525c4a WHIRLPOOL 2caf81418850ea8b1ecf25b25e799895563ecf1819f32310fcbb4efe88f711eafe2bcb16a0d3b8ee59072c770a5520b4df90a5962215b932e68a4705c4a56d61
DIST lxc-1.1.1.tar.gz 594112 SHA256 64951fdd39df2bea083bb5a8ac35a7390daf2dc7753d8fce33138129892ef672 SHA512 8af3fb43127b57de4e252baf5cb387270955062ff3838e4807a93d04520ca23f0457913bc8274da51b20961fb08650f9b976a84d395785aca2b2d300b285d549 WHIRLPOOL 4f28b976dd6710705d6361b9a45fef9a1265dffef0cedd0fb304f2820585ece3e2bb64d4c5289d444b3ab55bac265850943c63cdf258c40c45c99176a788ca2a
DIST lxc-1.1.2.tar.gz 597158 SHA256 f22fcf2659ca98dfe864e632374de98c42cdf465d0c694834b6f6098a3cb8519 SHA512 7c4c9b5418321eedcd37a3f5c2c99ff227de48f672cabd1722a74722077d33badb038675ec95fc3e338eaf2b06972c4ffb2e11f36347587ef71a95fad5b66daa WHIRLPOOL 2b657a9195b6357a367f6aa7609952d9162aae7d7be3f2c5e4cda4b2e81f2c7411835e75af5740cca053d445a3cf7dc7457f9e76ca866de7265e99ed42c744e9
DIST lxc-1.1.3.tar.gz 599889 SHA256 b75fb8e376d3313e152f31fb7372b68f33a953a12191a39de4cded04fff94300 SHA512 cafa4fbe4fe23b8c0b98007a79f20899c4a3b98c51d797b9c16e38dfec1eee5a513b58621308fe6551707d38028d9e5bd78ade8822691ffe4a7a369b10a48dda WHIRLPOOL 04ad57d8b189ab089b27adad8e511dcc2e5c563505f8134323ac9d738283bd5d0d929ebadeb69cd49ea68ea3e182f22c72590505cbf6f9d8438112e46909e1b5
DIST lxc-1.1.4.tar.gz 604167 SHA256 b087baf5ac4b94618388e6e759d9cdafcf5c98ed67bf9012ee9660076f9fb0d1 SHA512 b239c285b68ddb25c165e998307d69b368bb802e89c1e26de9daab956ffc05cb8e80bf7c796233552b08a57d1cc37c22777bb7a7469db111582184ee13272c93 WHIRLPOOL 2d69d0540c15274627cdbd0f1944a119b601e1298b9328ba336beae0aa6bffd62dfdf85af82f54c3926489e19b4cee7eaa6c35bcfb72e4b3904f85102055ae85
DIST lxc-1.1.5.tar.gz 607219 SHA256 eefce4cc679656cb8636bf0849f3ba6981c48167884e13dbcb377820a717c09c SHA512 e48ab549f1317afcb5f7768ab988ba27a3e9f1458504e1d70b2e27c502233e7b3538b8ce0b79940140a59a37681bcd8e459416e814f9e4814a4ed86b89e8df1c WHIRLPOOL 0d65ec400913b3298517ba0cb50e064b894d8b26cbd331662e11caee285a37aa1e0d1e4623b69e75585c4369544ca02ff97db90d5127c697cd53fde87d2bc968

@ -0,0 +1,35 @@
Index: lxc-lxc-1.0.8/config/bash/Makefile.am
===================================================================
--- lxc-lxc-1.0.8.orig/config/bash/Makefile.am
+++ lxc-lxc-1.0.8/config/bash/Makefile.am
@@ -2,12 +2,12 @@ EXTRA_DIST = lxc
if ENABLE_BASH
install-bash:
- $(MKDIR_P) $(DESTDIR)$(sysconfdir)/bash_completion.d/
- $(INSTALL_DATA) lxc $(DESTDIR)$(sysconfdir)/bash_completion.d/
+ $(MKDIR_P) $(DESTDIR)$(datarootdir)/bash-completion/completions/
+ $(INSTALL_DATA) lxc $(DESTDIR)$(datarootdir)/bash-completion/completions/
uninstall-bash:
- rm -f $(DESTDIR)$(sysconfdir)/bash_completion.d/lxc
- rmdir $(DESTDIR)$(sysconfdir)/bash_completion.d/ || :
+ rm -f $(DESTDIR)$(datarootdir)/bash-completion/completions/lxc
+ rmdir $(DESTDIR)$(datarootdir)/bash-completion// || :
install-data-local: install-bash
uninstall-local: uninstall-bash
Index: lxc-lxc-1.0.8/config/bash/lxc.in
===================================================================
--- lxc-lxc-1.0.8.orig/config/bash/lxc.in
+++ lxc-lxc-1.0.8/config/bash/lxc.in
@@ -1,4 +1,3 @@
-have lxc-start && {
_lxc_names() {
COMPREPLY=( $( compgen -W "$( lxc-ls )" "$cur" ) )
}
@@ -100,4 +99,3 @@ have lxc-start && {
complete -o default -F _lxc_generic_o lxc-clone
complete -o default -F _lxc_generic_o lxc-start-ephemeral
-}

@ -0,0 +1,189 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
MY_P="${P/_/-}"
PYTHON_COMPAT=( python{3_3,3_4} )
DISTUTILS_OPTIONAL=1
inherit autotools bash-completion-r1 distutils-r1 eutils linux-info versionator flag-o-matic systemd
DESCRIPTION="LinuX Containers userspace utilities"
HOMEPAGE="https://linuxcontainers.org/"
SRC_URI="https://github.com/lxc/lxc/archive/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
LICENSE="LGPL-3"
SLOT="0"
IUSE="doc examples lua python seccomp"
RDEPEND="net-libs/gnutls
sys-libs/libcap
lua? ( >=dev-lang/lua-5.1:= )
python? ( ${PYTHON_DEPS} )
seccomp? ( sys-libs/libseccomp )"
DEPEND="${RDEPEND}
doc? ( app-text/docbook-sgml-utils )
>=sys-kernel/linux-headers-3.2"
RDEPEND="${RDEPEND}
sys-apps/util-linux
app-misc/pax-utils
virtual/awk"
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
~CPUSETS ~CGROUP_CPUACCT
~RESOURCE_COUNTERS
~CGROUP_SCHED
~NAMESPACES
~IPC_NS ~USER_NS ~PID_NS
~DEVPTS_MULTIPLE_INSTANCES
~CGROUP_FREEZER
~UTS_NS ~NET_NS
~VETH ~MACVLAN
~POSIX_MQUEUE
~!NETPRIO_CGROUP
~!GRKERNSEC_CHROOT_MOUNT
~!GRKERNSEC_CHROOT_DOUBLE
~!GRKERNSEC_CHROOT_PIVOT
~!GRKERNSEC_CHROOT_CHMOD
~!GRKERNSEC_CHROOT_CAPS
~!GRKERNSEC_PROC
"
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
ERROR_GRKERNSEC_CHROOT_MOUNT=":CONFIG_GRKERNSEC_CHROOT_MOUNT some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_CHROOT_DOUBLE=":CONFIG_GRKERNSEC_CHROOT_DOUBLE some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_CHROOT_PIVOT=":CONFIG_GRKERNSEC_CHROOT_PIVOT some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_CHROOT_CHMOD=":CONFIG_GRKERNSEC_CHROOT_CHMOD some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_CHROOT_CAPS=":CONFIG_GRKERNSEC_CHROOT_CAPS some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_PROC=":CONFIG_GRKERNSEC_PROC: this GRSEC feature is incompatible with unprivileged containers"
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS NEWS README doc/FAQ.txt)
S="${WORKDIR}/${PN}-${MY_P}"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
src_prepare() {
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
if [[ -n ${BACKPORTS} ]]; then
epatch "${WORKDIR}"/patches/*
fi
epatch "${FILESDIR}"/${PN}-1.0.8-bash-completion.patch
eautoreconf
}
src_configure() {
append-flags -fno-strict-aliasing
econf \
--localstatedir=/var \
--bindir=/usr/sbin \
--docdir=/usr/share/doc/${PF} \
--with-config-path=/etc/lxc \
--with-rootfs-path=/usr/lib/lxc/rootfs \
--with-distro=gentoo \
$(use_enable doc) \
--disable-apparmor \
$(use_enable examples) \
$(use_enable lua) \
$(use_enable seccomp) \
--disable-python
}
python_compile() {
distutils-r1_python_compile build_ext -I ../ -L ../${PN}
}
src_compile() {
default
if use python; then
pushd "${S}/src/python-${PN}" > /dev/null
distutils-r1_src_compile
popd > /dev/null
fi
}
src_install() {
default
mv "${ED}"/usr/share/bash-completion/completions/${PN} "${ED}"/$(get_bashcompdir)/${PN}-start || die
bashcomp_alias ${PN}-start \
${PN}-{attach,cgroup,clone,console,create,destroy,device,execute,freeze,info,monitor,snapshot,start-ephemeral,stop,unfreeze,wait}
if use python; then
pushd "${S}/src/python-lxc" > /dev/null
# Unset DOCS. This has been handled by the default target
unset DOCS
distutils-r1_src_install
popd > /dev/null
fi
keepdir /etc/lxc /usr/lib/lxc/rootfs /var/log/lxc
find "${D}" -name '*.la' -delete
# Gentoo-specific additions!
# Use initd.3 per #517144
newinitd "${FILESDIR}/${PN}.initd.3" ${PN}
# lxc-devsetup script
exeinto /usr/libexec/${PN}
doexe config/init/systemd/${PN}-devsetup
# Use that script with the systemd service (Similar to upstream
# Makefile.am
cp "${FILESDIR}"/${PN}_at.service ${PN}_at.service || die
sed -i \
"/Restart=always/a ExecStartPre=/usr/libexec/${PN}/${PN}-devsetup" \
${PN}_at.service \
|| die "Failed to add ${PN}-devsetup to the systemd service file"
systemd_newunit ${PN}_at.service "lxc@.service"
}
pkg_postinst() {
elog "There is an init script provided with the package now; no documentation"
elog "is currently available though, so please check out /etc/init.d/lxc ."
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname"
elog "to start the container defined into /etc/lxc/configname.conf ."
elog "For further information about LXC development see"
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available
elog ""
ewarn "With version 0.7.4, the mountpoint syntax came back to the one used by 0.7.2"
ewarn "and previous versions. This means you'll have to use syntax like the following"
ewarn ""
ewarn " lxc.rootfs = /container"
ewarn " lxc.mount.entry = /usr/portage /container/usr/portage none bind 0 0"
ewarn ""
ewarn "To use the Fedora, Debian and (various) Ubuntu auto-configuration scripts, you"
ewarn "will need sys-apps/yum or dev-util/debootstrap."
ewarn ""
ewarn "Some GrSecurity settings in relation to chroot security will cause LXC not to"
ewarn "work, while others will actually make it much more secure. Please refer to"
ewarn "Diego Elio Pettenò's weblog at http://blog.flameeyes.eu/tag/lxc for further"
ewarn "details."
}

@ -0,0 +1,198 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
MY_P="${P/_/-}"
PYTHON_COMPAT=( python{3_3,3_4,3_5} )
DISTUTILS_OPTIONAL=1
inherit autotools bash-completion-r1 distutils-r1 eutils linux-info versionator flag-o-matic systemd
DESCRIPTION="LinuX Containers userspace utilities"
HOMEPAGE="https://linuxcontainers.org/"
SRC_URI="https://github.com/lxc/lxc/archive/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64"
LICENSE="LGPL-3"
SLOT="0"
IUSE="cgmanager doc examples lua python seccomp"
RDEPEND="net-libs/gnutls
sys-libs/libcap
cgmanager? ( app-admin/cgmanager )
lua? ( >=dev-lang/lua-5.1:= )
python? ( ${PYTHON_DEPS} )
seccomp? ( sys-libs/libseccomp )"
DEPEND="${RDEPEND}
doc? ( app-text/docbook-sgml-utils )
>=sys-kernel/linux-headers-3.2"
RDEPEND="${RDEPEND}
sys-process/criu
sys-apps/util-linux
app-misc/pax-utils
virtual/awk"
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
~CPUSETS ~CGROUP_CPUACCT
~CGROUP_SCHED
~NAMESPACES
~IPC_NS ~USER_NS ~PID_NS
~NETLINK_DIAG ~PACKET_DIAG
~INET_UDP_DIAG ~INET_TCP_DIAG
~UNIX_DIAG ~CHECKPOINT_RESTORE
~DEVPTS_MULTIPLE_INSTANCES
~CGROUP_FREEZER
~UTS_NS ~NET_NS
~VETH ~MACVLAN
~POSIX_MQUEUE
~!NETPRIO_CGROUP
~!GRKERNSEC_CHROOT_MOUNT
~!GRKERNSEC_CHROOT_DOUBLE
~!GRKERNSEC_CHROOT_PIVOT
~!GRKERNSEC_CHROOT_CHMOD
~!GRKERNSEC_CHROOT_CAPS
~!GRKERNSEC_PROC
~!GRKERNSEC_SYSFS_RESTRICT
"
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
ERROR_NETLINK_DIAG="CONFIG_NETLINK_DIAG: needed for lxc-checkpoint"
ERROR_PACKET_DIAG="CONFIG_PACKET_DIAG: needed for lxc-checkpoint"
ERROR_INET_UDP_DIAG="CONFIG_INET_UDP_DIAG: needed for lxc-checkpoint"
ERROR_INET_TCP_DIAG="CONFIG_INET_TCP_DIAG: needed for lxc-checkpoint"
ERROR_UNIX_DIAG="CONFIG_UNIX_DIAG: needed for lxc-checkpoint"
ERROR_CHECKPOINT_RESTORE="CONFIG_CHECKPOINT_RESTORE: needed for lxc-checkpoint"
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
ERROR_GRKERNSEC_CHROOT_MOUNT="CONFIG_GRKERNSEC_CHROOT_MOUNT: some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_CHROOT_DOUBLE="CONFIG_GRKERNSEC_CHROOT_DOUBLE: some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_CHROOT_PIVOT="CONFIG_GRKERNSEC_CHROOT_PIVOT: some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_CHROOT_CHMOD="CONFIG_GRKERNSEC_CHROOT_CHMOD: some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_CHROOT_CAPS="CONFIG_GRKERNSEC_CHROOT_CAPS: some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_PROC="CONFIG_GRKERNSEC_PROC: this GRSEC feature is incompatible with unprivileged containers"
ERROR_GRKERNSEC_SYSFS_RESTRICT="CONFIG_GRKERNSEC_SYSFS_RESTRICT: this GRSEC feature is incompatible with unprivileged containers"
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS NEWS README doc/FAQ.txt)
S="${WORKDIR}/${PN}-${MY_P}"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.1.3-bash-completion.patch
eautoreconf
}
src_configure() {
append-flags -fno-strict-aliasing
if use python; then
#541932
python_setup "python3*"
export PKG_CONFIG_PATH="${T}/${EPYTHON}/pkgconfig:${PKG_CONFIG_PATH}"
fi
# I am not sure about the --with-rootfs-path
# /var/lib/lxc is probably more appropriate than
# /usr/lib/lxc.
econf \
--localstatedir=/var \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--docdir=/usr/share/doc/${PF} \
--with-config-path=/var/lib/lxc \
--with-rootfs-path=/var/lib/lxc/rootfs \
--with-distro=gentoo \
--with-runtime-path=/run \
--disable-apparmor \
$(use_enable cgmanager) \
$(use_enable doc) \
$(use_enable examples) \
$(use_enable lua) \
$(use_enable python) \
$(use_enable seccomp)
}
python_compile() {
distutils-r1_python_compile build_ext -I ../ -L ../${PN}
}
src_compile() {
default
if use python; then
pushd "${S}/src/python-${PN}" > /dev/null
distutils-r1_src_compile
popd > /dev/null
fi
}
src_install() {
default
mv "${ED}"/usr/share/bash-completion/completions/${PN} "${ED}"/$(get_bashcompdir)/${PN}-start || die
bashcomp_alias ${PN}-start \
${PN}-{attach,cgroup,clone,console,create,destroy,device,execute,freeze,info,monitor,snapshot,start-ephemeral,stop,unfreeze,wait}
if use python; then
pushd "${S}/src/python-lxc" > /dev/null
# Unset DOCS. This has been handled by the default target
unset DOCS
distutils-r1_src_install
popd > /dev/null
fi
keepdir /etc/lxc /var/lib/lxc/rootfs /var/log/lxc
find "${D}" -name '*.la' -delete
# Gentoo-specific additions!
# Use initd.3 per #517144
newinitd "${FILESDIR}/${PN}.initd.3" ${PN}
# lxc-devsetup script
exeinto /usr/libexec/${PN}
doexe config/init/systemd/${PN}-devsetup
# Remember to compare our systemd unit file with the upstream one
# config/init/systemd/lxc.service.in
systemd_newunit "${FILESDIR}"/${PN}_at.service.2 "lxc@.service"
}
pkg_postinst() {
elog ""
elog "Starting from version ${PN}-1.1.0-r3, the default lxc path has been"
elog "moved from /etc/lxc to /var/lib/lxc. If you still want to use /etc/lxc"
elog "please add the following to your /etc/lxc/default.conf"
elog "lxc.lxcpath = /etc/lxc"
elog ""
elog "There is an init script provided with the package now; no documentation"
elog "is currently available though, so please check out /etc/init.d/lxc ."
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname"
elog "to start the container defined into /etc/lxc/configname.conf ."
elog "For further information about LXC development see"
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available
elog ""
}

@ -129,7 +129,7 @@ CDEPEND="
systemtap? ( dev-util/systemtap )
usbredir? ( >=sys-apps/usbredir-0.6 )
virtfs? ( sys-libs/libcap )
xen? ( app-emulation/xen-tools )"
xen? ( app-emulation/xen-tools:= )"
DEPEND="${CDEPEND}
dev-lang/perl
=dev-lang/python-2*

@ -129,7 +129,7 @@ CDEPEND="
systemtap? ( dev-util/systemtap )
usbredir? ( >=sys-apps/usbredir-0.6 )
virtfs? ( sys-libs/libcap )
xen? ( app-emulation/xen-tools )"
xen? ( app-emulation/xen-tools:= )"
DEPEND="${CDEPEND}
dev-lang/perl
=dev-lang/python-2*

@ -129,7 +129,7 @@ CDEPEND="
systemtap? ( dev-util/systemtap )
usbredir? ( >=sys-apps/usbredir-0.6 )
virtfs? ( sys-libs/libcap )
xen? ( app-emulation/xen-tools )"
xen? ( app-emulation/xen-tools:= )"
DEPEND="${CDEPEND}
dev-lang/perl
=dev-lang/python-2*

@ -150,7 +150,7 @@ CDEPEND="
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )
python? ( ${PYTHON_DEPS} )
systemtap? ( dev-util/systemtap )
xen? ( app-emulation/xen-tools )"
xen? ( app-emulation/xen-tools:= )"
DEPEND="${CDEPEND}
dev-lang/perl
=dev-lang/python-2*

@ -150,7 +150,7 @@ CDEPEND="
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )
python? ( ${PYTHON_DEPS} )
systemtap? ( dev-util/systemtap )
xen? ( app-emulation/xen-tools )"
xen? ( app-emulation/xen-tools:= )"
DEPEND="${CDEPEND}
dev-lang/perl
=dev-lang/python-2*

@ -150,7 +150,7 @@ CDEPEND="
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )
python? ( ${PYTHON_DEPS} )
systemtap? ( dev-util/systemtap )
xen? ( app-emulation/xen-tools )"
xen? ( app-emulation/xen-tools:= )"
DEPEND="${CDEPEND}
dev-lang/perl
=dev-lang/python-2*

@ -150,7 +150,7 @@ CDEPEND="
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )
python? ( ${PYTHON_DEPS} )
systemtap? ( dev-util/systemtap )
xen? ( app-emulation/xen-tools )"
xen? ( app-emulation/xen-tools:= )"
DEPEND="${CDEPEND}
dev-lang/perl
=dev-lang/python-2*

@ -156,7 +156,7 @@ CDEPEND="
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )
python? ( ${PYTHON_DEPS} )
systemtap? ( dev-util/systemtap )
xen? ( app-emulation/xen-tools )"
xen? ( app-emulation/xen-tools:= )"
DEPEND="${CDEPEND}
dev-lang/perl
=dev-lang/python-2*

@ -4,17 +4,20 @@
EAPI=5
MY_PV=${PV/_/-}
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='xml,threads'
PYTHON_REQ_USE='ncurses,xml,threads'
inherit eutils bash-completion-r1 flag-o-matic multilib python-single-r1 toolchain-funcs versionator
MY_PV=${PV/_/-}
MAJOR_V="$(get_version_component_range 1-2)"
if [[ $PV == *9999 ]]; then
inherit git-r3
KEYWORDS=""
REPO="xen-unstable.hg"
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
REPO="xen.git"
EGIT_REPO_URI="git://xenbits.xen.org/${REPO}"
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
KEYWORDS="~amd64 ~arm ~arm64 -x86"
UPSTREAM_VER=0
@ -51,14 +54,12 @@ else
S="${WORKDIR}/xen-${MY_PV}"
fi
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs ${live_eclass}
DESCRIPTION="Xend daemon and tools"
DESCRIPTION="Xen tools including QEMU and xl"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool )
LICENSE="GPL-2"
SLOT="0"
SLOT="0/${MAJOR_V}"
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
# >=dev-lang/ocaml-4 stable
# Masked in profiles/eapi-5-files instead
@ -85,7 +86,6 @@ DEPEND="${COMMON_DEPEND}
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
ovmf? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/sqlite} )
!amd64? ( >=sys-apps/dtc-1.4.0 )
amd64? ( sys-devel/bin86
@ -120,7 +120,7 @@ DEPEND="${COMMON_DEPEND}
>=dev-lang/ocaml-4 )"
RDEPEND="${COMMON_DEPEND}
sys-apps/iproute2
sys-apps/iproute2[-minimal]
net-misc/bridge-utils
screen? (
app-misc/screen
@ -263,6 +263,11 @@ src_prepare() {
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
else
unset CFLAGS
unset LDFLAGS
unset ASFLAGS
unset CPPFLAGS
fi
if ! use pygrub; then
@ -344,7 +349,9 @@ src_configure() {
$(use_enable api xenapi) \
$(use_enable ovmf) \
$(use_enable ocaml ocamltools) \
--with-xenstored=$(usex ocaml 'oxenstored' 'xenstored') \
"
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
use qemu || myconf+=" --with-system-qemu"
use amd64 && myconf+=" --enable-qemu-traditional"
@ -356,13 +363,10 @@ src_compile() {
local myopt
use debug && myopt="${myopt} debug=y"
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
unset LDFLAGS
unset CFLAGS
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
use doc && emake -C docs txt html
@ -437,19 +441,6 @@ pkg_postinst() {
elog "Recommended to utilise the xencommons script to config sytem At boot"
elog "Add by use of rc-update on completion of the install"
# TODO: we need to have the current Python slot here.
if ! has_version "dev-lang/python[ncurses]"; then
echo
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
fi
if has_version "sys-apps/iproute2[minimal]"; then
echo
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
ewarn "will not work until you rebuild iproute2 without USE=minimal."
fi
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
@ -463,10 +454,4 @@ pkg_postinst() {
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
fi
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
echo
elog "xensv is broken upstream (Gentoo bug #142011)."
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
fi
}

@ -6,13 +6,16 @@ EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit eutils multilib mount-boot flag-o-matic python-any-r1 toolchain-funcs
MY_PV=${PV/_/-}
MY_P=${PN}-${PV/_/-}
if [[ $PV == *9999 ]]; then
inherit git-r3
KEYWORDS=""
EGIT_REPO_URI="git://xenbits.xen.org/${PN}.git"
live_eclass="git-2"
EGIT_REPO_URI="git://xenbits.xen.org/xen.git"
SRC_URI=""
else
KEYWORDS="~amd64 ~arm ~arm64 -x86"
UPSTREAM_VER=0
@ -32,13 +35,11 @@ else
https://dev.gentoo.org/~idella4/distfiles/${PN}-security-patches.tar.gz"
fi
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="custom-cflags debug efi flask xsm"
IUSE="custom-cflags debug efi flask"
DEPEND="${PYTHON_DEPS}
efi? ( >=sys-devel/binutils-2.22[multitarget] )
@ -51,19 +52,14 @@ RESTRICT="test"
# Approved by QA team in bug #144032
QA_WX_LOAD="boot/xen-syms-${PV}"
REQUIRED_USE="flask? ( xsm )
arm? ( debug )"
REQUIRED_USE="arm? ( debug )"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
python-any-r1_pkg_setup
if [[ -z ${XEN_TARGET_ARCH} ]]; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64; then
if use amd64; then
export XEN_TARGET_ARCH="x86_64"
elif use arm; then
export XEN_TARGET_ARCH="arm32"
@ -77,8 +73,6 @@ pkg_setup() {
if use flask ; then
export "XSM_ENABLE=y"
export "FLASK_ENABLE=y"
elif use xsm ; then
export "XSM_ENABLE=y"
fi
}
@ -172,6 +166,9 @@ src_install() {
fi
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
# make install likes to throw in some extra EFI bits if it built
use efi || rm -rf "${D}/usr/$(get_libdir)/efi"
}
pkg_postinst() {

@ -1 +1,2 @@
DIST eselect-php-0.7.1.bz2 2251 SHA256 10aa400e2d08bc71989366993f12ddb546a0ea29f191c40e37beba1d11d7abd7 SHA512 a6b4c1475dda9f368d799db7658c50cef7d6f71482a53a186fb1394e7ea1fff3c0ef123c82b7ca4d1e45aadb0a034d36f213fc9450766878a60d28639761cb3d WHIRLPOOL a4e45492068616ff30fd888b0cc64441a6eb6e6656e0107d00bd2cf15360dce15052d4d62089ab89d43e6bb36e126529aa101c70e8bd94a9fc916a5369463e3b
DIST eselect-php-0.8.0.tar.xz 43932 SHA256 1ddc6aafe269ebbf3006737701403bd2c7b324b9eea0fcbdc91e85a856f8a10d SHA512 53c735275264742542d3909ae2994d0720bc961533a3df5373dbc7a7a1f04e91591f4e8356c268954420487d3ead4006cc5d6f361ef0ac2836f7f126556e960d WHIRLPOOL 94deba4a5bd4d0d85c8f3afc96ac30a69cca5db95014b2fd8701495cc83488389302f640065e923cabd40c95f97f792dd173337cc33c7d38441956049fb90cda

@ -0,0 +1,38 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit depend.apache systemd
DESCRIPTION="PHP eselect module"
HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-php.git/"
SRC_URI="https://dev.gentoo.org/~mjo/distfiles/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="fpm apache2"
# The "DirectoryIndex" line in 70_mod_php5.conf requires mod_dir.
RDEPEND="app-admin/eselect
apache2? ( www-servers/apache[apache2_modules_dir] )"
want_apache
src_install() {
default
if use apache2 ; then
insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
newins "${FILESDIR}/70_mod_php5.conf-apache2-r1" "70_mod_php5.conf"
fi
if use fpm ; then
newinitd "${FILESDIR}/php-fpm.init-r4" "php-fpm"
systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf"
exeinto /usr/libexec
doexe "${FILESDIR}/php-fpm-launcher"
fi
}

@ -10,7 +10,7 @@ SRC_URI="http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openssl/openssl-c_
LICENSE="openssl"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
IUSE=""
RDEPEND="!<dev-libs/openssl-1.0.2d-r1:0"

@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -26,9 +26,10 @@ DEPEND="
lua? ( virtual/pkgconfig )
"
if use capi; then
S="${WORKDIR}"/${P}.c4
fi
src_unpack() {
default
use capi && S="${WORKDIR}"/${P}.c4
}
src_prepare() {
# apply patches

@ -1,8 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
inherit bash-completion-r1 distutils-r1

@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit bash-completion-r1 distutils-r1

@ -13,7 +13,7 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE=""
COMMON_DEPEND="sys-libs/ncurses:0="

@ -29,7 +29,7 @@ SRC_URI="${SRC_URI} ) "
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ~ppc64 ~s390 ~sh x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~hppa ~mips ppc ~ppc64 ~s390 ~sh x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="doc source"
DEPEND=">=dev-libs/kpathsea-6.2.0"

@ -21,7 +21,7 @@ IUSE="doc"
COMMON_DEP="
dev-java/antlr:0
dev-java/antlr:4
dev-java/antlr:3
dev-java/fontbox:1.7
dev-java/jempbox:1.7
dev-java/log4j:0
@ -58,7 +58,7 @@ java_prepare() {
}
src_compile() {
local EXTERNAL_JARS="antlr,antlr-4,fontbox-1.7,jempbox-1.7,log4j,spin,microba,glazedlists"
local EXTERNAL_JARS="antlr,antlr-3,fontbox-1.7,jempbox-1.7,log4j,spin,microba,glazedlists"
local CLASSPATH="$(java-pkg_getjars --with-dependencies ${EXTERNAL_JARS})"
eant \
-Dgentoo.classpath=${CLASSPATH} \

@ -1,7 +1,8 @@
See https://gitlab.com/agmartin/linuxdoc-tools/issues/4
and https://gitlab.com/agmartin/linuxdoc-tools/issues/6
diff --git a/Makefile.in b/Makefile.in
index adb85d0..7038d97 100644
index adb85d0..f215678 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -83,13 +83,14 @@ ifneq ($(BUILDDOC_FORMATS),)
@ -22,6 +23,15 @@ index adb85d0..7038d97 100644
sh Makedoc.sh)
endif
@@ -174,7 +175,7 @@ ifneq ($(BUILDDOC_FORMATS),)
mkdir -m 755 -p $(doc_ddir)
# cp -r doc/* $(doc_ddir)
( cd doc && tar --exclude='CVS' -cpf - . ) | ( cd $(doc_ddir) && tar -xpf - )
- rm -f $(doc_ddir)/Makedoc.sh
+ rm -f $(doc_ddir)/Makedoc.sh $(doc_ddir)/Makefile
find $(doc_ddir) -type d -print | xargs chmod 755
find $(doc_ddir) -type f -print | xargs chmod 644
endif
diff --git a/doc/Makedoc.sh b/doc/Makedoc.sh
index b7e2efb..da4be99 100644
--- a/doc/Makedoc.sh

@ -12,7 +12,7 @@ SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ~ppc64 ~s390 ~sh x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~hppa ~mips ppc ~ppc64 ~s390 ~sh x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND=">=dev-libs/kpathsea-6.2.0"

@ -24,6 +24,8 @@ ruby_add_rdepend "
>=dev-ruby/mustache-0.7.0
>=dev-ruby/rdiscount-1.5.8"
ruby_add_bdepend ">=dev-ruby/hpricot-0.8.2 >=dev-ruby/rdiscount-1.5.8"
all_ruby_prepare() {
# Avoid test failing due to changes in hash handling in ruby 1.8.7:
# https://github.com/rtomayko/ronn/issues/56

@ -24,6 +24,8 @@ ruby_add_rdepend "
>=dev-ruby/mustache-0.7.0
>=dev-ruby/rdiscount-1.5.8"
ruby_add_bdepend ">=dev-ruby/hpricot-0.8.2 >=dev-ruby/rdiscount-1.5.8"
all_ruby_prepare() {
# Avoid test failing due to changes in hash handling in ruby 1.8.7:
# https://github.com/rtomayko/ronn/issues/56

@ -1,4 +1,3 @@
DIST 3.04.00.tar.gz 2264427 SHA256 7e6e48b625e1fba9bc825a4ef8c39f12c60aae1084939133b3c6a00f8f8dc38c SHA512 60c31bad40b4c01395782fb98b3326407e75ebdbda962de4fb0e878824efb05140bdcb139dcf7d4f699ae5350e81a00320ebe7fbec083a0d374952488cc59e25 WHIRLPOOL 81b685e4d50d94056a4f99ce6beb4c73983e9449e1eed07a69d4649b0a8231b17fede430a8c181b37216a55e9f6102a578c85d84b2bbe6e9643ca98f16ae3260
DIST ara.traineddata-3.04.00 6315068 SHA256 21c98aaf7aeba2271ac0cc4a363d364d806649d7cb0bcab85d4b9a385f49645a SHA512 7fba780ec9061148c01dafee1227f8e338c1cf199a5c2869d58703123ea89f2279551e15159ab37038ec8ebc755076ede6ef049cc8a6e6764aa66d81c72a259b WHIRLPOOL d258d6eecb01feca9f0de5c973ab4a3c952db764b624ba98732e58af18a88332daa746e19194bcee8ed6fe1abe2a8d42b0b8976f0c9bde66e9831482b389f038
DIST bul.traineddata-3.04.00 6026234 SHA256 ca0bd253b4ab6202db5e8b2cecbc4219b4f725e51468cabf5bc99338e2c3de33 SHA512 5115b4f92359344a17ee43b298c5c012569d77325e440bbe079ce7734ed087cbbe7ffb2b2dcb831e522fde2cde556e5de630f9ca85c141e9282e951e008e156c WHIRLPOOL 1bc19032224a6d4f94aae67fd8f5caabbcc00c00b0329513bf23c7a978f01269edec965e6090564b345862dc8810c2bc9c6fd04c736b7f4180998dd0cb8cb8fa
DIST bul.traineddata.gz 848731 SHA256 fc3c650568d014f2337052658e9ddd8efaff6ac74c9a90952d740eafdf400e2d SHA512 69dca9b285da3985142fc3e8d2a75d7fb217308c077114004c274972491c8cd8aebd60e27ffb26c9906a6ae78e05e19bbc5fd24ab97b961df5882cbd295f747a WHIRLPOOL a331336952140946bae38c59f9005d131dc9f7976358ff06a4458311ac0e5e10102868d0c37a41eae3f73a27d6a9a253c599e53167dbdf6c7c086ba8418f0624
@ -23,6 +22,7 @@ DIST deu_frak.traineddata-3.04.00 1978593 SHA256 cbb200e394485c5b515de203963c2a7
DIST ell.traineddata-3.04.00 5422512 SHA256 bbe0ed0758c69043114b13fc8f00a42342c647f27be352c05b4978e265380e64 SHA512 b542f4cad465332b7d9742ce64951289a22f31c2196335b09037e047c9fe2966689426d9e973173147aa7c0ca73cddb337c9ec7b485b13b80eea3e44ad31bb48 WHIRLPOOL 16d89cb546883bf75a8b75e55c0eb88d915d07cad0f4c5b3e0640385f4b7cb2a6aeeedce13cf48538f5a78ec39776ccdecef9c3264cd749e1d224cdcff5e310a
DIST ell.traineddata.gz 944284 SHA256 f8cb765c40733a677fa470370b935c34cfc53ba8de372b33e83ab59c7407195d SHA512 3657cc335e9e484f13ba360518cd3d9bf828a1c0e53a22c84a4085565ebbca0811b8d2a25edd2455c9b6707baa54896d132bcfdad210384b3025ae26506d7582 WHIRLPOOL 634e00d9f1d2d2cc67053efce2b937f7a1201b719ba902744e96ccbc72f682b7374dfa56f050956db39f5a191d1ed41e12d90e01bc87d406070acc0598aa9f71
DIST eng.traineddata-3.04.00 21876550 SHA256 c0515c9f1e0c79e1069fcc05c2b2f6a6841fb5e1082d695db160333c1154f06d SHA512 e03d205900e3f6b866b2342eb8f32fb35dad28c7f58b7bdc3c0bec0de570f87578168d8d64b1f0bedac7bbcf462dd949b00701943a55ba3f42842ad1629e230a WHIRLPOOL e71cec7e7e8b9b8183f459741ce2eb1a33923e73802ab35dae81ab7939b980b028e4d4a3325205a52f67b8502323e9cd8dee6efd69ca40c0eb42b0961d5d8786
DIST equ.traineddata-3.04.00 2251826 SHA256 3af43a2420ce927dbce68474d644625947189a82ce6ae4fd32106399146819db SHA512 2c5e5f9f85e956e0ebdbb25aa4e92bc163808ba9944c8d1ec9a76e4c70727c3657c6e56c86266a2e769e48c6f6d9aea72bf2080f723f3d90c089f775c3dae9d8 WHIRLPOOL 074d613cdb990703731deb228fbf4bec660e8e4be053bc8196ab639d14f84cb51e11a2ac285e4cbc4c362a90e2117d90a19b843cdf11f5ab3263d604ddd252b8
DIST fin.traineddata-3.04.00 13274908 SHA256 f830c625f635a637cb11a6a565126b1ae105c24ae9fd7cb92c8d5130c7184cf1 SHA512 036e5e383ec4ffc0e06fb5a93d288f21360660d10c6daf8459edd3fb94f611ed49ffcfb9bc1fdd1d8476690f53950ca31963ccdb36a35d3330fe2ffef0a81789 WHIRLPOOL 9068bd4b23ac62d8b4cc846b10abb7bf536b786a8eefc32745ca99370eb6739b4ee9bd912b78cb0922e6111a0e8be2dc58285c0726dd2ebd92bb3349bf8344db
DIST fin.traineddata.gz 959833 SHA256 30c05d403295fb659048b5d82db0d87c9cbee5077314e2b52f6fdca9c9ec8520 SHA512 f7db41a5698ce51f8f103201f7dda67cf140a57d28da7bf3420847c60f847bc24c16571d63785b707e9d599017a0a29ab15914c4b413e4e9dd12b019643e9682 WHIRLPOOL 2adbe34d45050331ae3f7d7ba9739dd0dafb600cccd2713f38aa79bc83023898cf97e45c63b9edbb5014f5cffa02596be6ec75b34e45fda5d87f19bc9418db78
DIST fra.traineddata-3.04.00 14044118 SHA256 86afb23ad146467f263e8ade56fd3951b1cc28f8c4eebc34f993d3c02d88a7ab SHA512 c41223608625491fdbf2d4fbe526da472bb5c269958e776b2058d4a782ebeffff9749e30c7db34adcdbd30669d82be97ee58d303027d5a67ae61b87b65c2e561 WHIRLPOOL edd6121dbfb52ca11ce86fcf54ec5f026d6b4341f824fbe1eab45af2e830bf1cf80615626b260c79343337fb61181e69b42281da78e6784dc28d244afd09a1fb
@ -68,17 +68,6 @@ DIST srp.traineddata.gz 977674 SHA256 542b83f62389ff8cc34746dd765345566ab368b63d
DIST swe-frak.traineddata.gz 1503568 SHA256 2cf1a0e1eb8a0e3f8477ebcde44d99a9229f2c20b2d96ecb1ca6c25db5c6fdec SHA512 ad23fb3b4088a6e3c706ac54c940399b502d1e5e0a822f671e7e0682709323380eba6ae2e6a138702393450fea9ec3473c977d5bd9aa7550081a8c0aaeb3ae58 WHIRLPOOL b8e217a419cab817424f977a5a3650587afc91d9ddc5a929f89568c60930f61bd219305b36d7f84a9b07aae489e1f896f8e300fa474c098de03f03df92b8b2f7
DIST swe.traineddata-3.04.00 9460295 SHA256 2a6407bbf187eb1fcfd1633fae9abffcd6220e7ab74e05e65bf16426ac8f2050 SHA512 d69c916daa5946d11129e5401f0b8d9b8965df7fa2223e78c8e607e2bcc102a91c875a86e6a737612b61823ebd7f331c3d4c5db28ee35d1fb830beb9414bd167 WHIRLPOOL c95f12b64b1563d195b38cd8ad169f91e7608ba72c2e93fb49aebd7ec6bd065431b8ee892621cdd7d01922b99e71f52d1f1e5023b3af682eb2125419f0d529cd
DIST swe.traineddata.gz 959911 SHA256 25331ca1f41378a86336604476049810a0c5350417205e300cb2d11048cec2c1 SHA512 e38fe9fd7d26420ee1aab3db7f700d58210dbfaef45d03114679d2671bc1942d7b031499e763204e15ebeadafa2f8f063f78941f2299b2c74f635425ddce856a WHIRLPOOL db1225d47e2e3b26372689f96164d8286701dbb2e0f1a82368c784c8d127a0d11248924936abd05d0092ba8ad5ce222b6d113ceb0f440b85faaca37396781480
DIST tesseract-2.00.deu.tar.gz 1373777 SHA256 6083f16373689ef55651f4dd7773426ab4c32a12ebf7f398af982ac2971fe404 SHA512 e1792055d666c6090c4094b032d0143fd6bd5545c2d2e926f71bb360c6628ae5550f158df8efe47b69c987ac9cef8bd914fedcad2bd5b79901a41506ad8a60f2 WHIRLPOOL 77322db4454bddffa9f7b08bf8336ecddb0a71be9b7463427a7aa87e49716dc1aea4c8bb85ad836716bba03519827c051229a5cc37149d96558cdfe83ffc3445
DIST tesseract-2.00.eng.tar.gz 1013090 SHA256 2fbd50a6cb352f847ebf3deadc914bbc12592539d4c368f7f7cff0a71f7d48e7 SHA512 f2aa2e1aa8f20c59faa664675f85ca8c1dcc922803f17cc00519f84a01c0c98ba431915ba5765d5de75200d828687507846af7e9e0096f3a4fdf1163e54cb83d WHIRLPOOL 178baaa6c73169a8b3e9276927bcf67bdd80fe114c8c3635aacd765cf9198dce2599c4f5493577b2ba9b1538ca8da69e6b2117fc7c9bb6451c129ee2efb71efe
DIST tesseract-2.00.fra.tar.gz 1007776 SHA256 1201229bb8b377ab3d92255e0b0642a36304b99415091fb059f423c814cecd25 SHA512 46686d6296446c59d020731e2d36e015717a750f6a41401c38794e7e8067dbd0299b838260a9ea9d5da3ddc289e0320ed71437f67ea99f93e79895e4aaf9cdc8 WHIRLPOOL 9cb290cf260c40272223c75f1b575361cea2d51f462a10f4f82e20518531cbe1b908473b4d6a11f08c7461c4fbc8bd31256555964d39502676b035dc753da97a
DIST tesseract-2.00.ita.tar.gz 977683 SHA256 3a1b9323ddfcda327780aba94ef724f35690d3cfdf8ef832c5709721b7e2999a SHA512 75cb670c1fe202878c220029d113e0795844f94901a6a0e31201c43d5694e1995c11760229ef6dc5222ff1fe49ee87ee1cdf073e80347e2862e71f045ce4a2db WHIRLPOOL c57ad7d994abc0c030ba68efff6c27eca8af9c78878f166d0fdad6564f916b6c30c1882c7447ce38752817489054bbed71ec49b07de70d1cf5e96080646fba2e
DIST tesseract-2.00.nld.tar.gz 1408071 SHA256 26b9f7d80c4cfe19074c3c5dc55a37b489d89b6f7b13c026f9c2dc265120d859 SHA512 0a2b7f13d784d210f5284de1a02c9b3849c4b36a27cf6276b5d9d444607bf52b909f8edfa07b5b1e0ee6bf59504bb9c92a47297ce31efa351aaa6b81c038b0ef WHIRLPOOL 5c60260832af157cf4f07b79105187be6a1f9d5bd2bf4d8d0a0c8f43c36da3271225114e6d5d1e1b83e53e47bf67e0e8ec89ed0f22ba6c48c620c0c22da854d2
DIST tesseract-2.00.spa.tar.gz 1365863 SHA256 b4b83e46be4602a361279c131da2c7f3ba8c51ac26c0e108f958406db6ae320e SHA512 a7efb46c5cc3812789f3dacf151e547007c3de1eed3d4a6a5c55cc18d4e1794377f34b55fd9e6a416f91a0ff62a66c0825a1993029ce4656ea64fcc18b9fa3fe WHIRLPOOL b6d474cf1bb9015cfe42214b3ca87e8f4c2ff193443a71fd0c1fd973a5a7683e4501e975354929f91c446a2bfb449f2cb535ca70f26ec35b527458450f0a8ee9
DIST tesseract-2.01.deu-f.tar.gz 1312785 SHA256 410143cf5029b10d274909439de2c407706e4d601cd5e1bb1309dbd46288757e SHA512 76cc7da4f3a21581705bbae1975ae9a458ca61fa2691645f5b9f64d61ff0222e2c721ecd0c069c3540a65974129f58ae1a08b0d38c3f4d1f45f31d5969d63fb8 WHIRLPOOL 456e7d7f446c1cfca9e483dd85f5bf62c1b24c44535a0dd8600a6188096a1692484a60502bc6537262222cd94c8caae378a2bb698d3628a4223d15e559ad8cfd
DIST tesseract-2.01.por.tar.gz 2107696 SHA256 0dc30b76814a7694246ca347ccb402bcd40e5e6f3bf70cca31e6d3ca06210baa SHA512 a7d2b3eb206f0cb9e8eee18f55476f8778a8839b3daaa9e10a8d77fec07ce3e37de58017b8fb09b90a4aef026f94df4a15ce77b4db9d6a12815353ee60fcadc7 WHIRLPOOL f15cf92aae31a28ae4c56a9730d6a8af6d87675b5a4eba5dbeadbd65fa609213fb919bb8334c7c430fe0907bbce3107a7d0efed3733487e00ae6b1282d6001d6
DIST tesseract-2.01.vie.tar.gz 964277 SHA256 8026240029341d45a6142cfccf6f0f98e5b1f35cae5725f8379ac4a8de34283f SHA512 568b91ffa79ca57b613d6548504adf37677fa04a7226d366bc7d4548d1480dc00b397b76f42ef96a2ca0d78b6ffc635fa5586b0cd251d54cf22eb960ab3c920e WHIRLPOOL c32c5e8a5b62f688df43a94a69f0d1326179866e6a9674b625d984ceed26b085764c9b7cd3980507546e23c567f350f9a0ccb3d2d4b2c8d2efe1a1a9ef98d430
DIST tesseract-2.04.eus.tar.gz 1207994 SHA256 19aa30dda8049fb03e125e3b17d05ae402544e9ec81adcb18964d4a7b125a2fe SHA512 613fedb033f3c678a15d71a7346ad7d2da7d0908f18b0450bc4c198b19e3671fdab025e44a4f6f73257848f626af58c144464ce349a3e5c4b91eebc8b4018c1f WHIRLPOOL 7c0f5556ff2acbc4aac3b60885dc15db22385135c43ea57ad8d4b4226b603e6aad6a346d57099429d3c92bffeda9c9604e621c8d9bc2c98c4b770634250d17e1
DIST tesseract-2.04.tar.gz 1118386 SHA256 62866f283916553e02cebdeb1b485856c6a790f5f8bf86c30b87c6304374bef8 SHA512 c095407910235f7f914aa6a51feedade3f0b33108c7801b88c5ade26f2b75d1756b034d9ac32ad362a326ee468f97b69476978102ef0cefcc1b5c93be2342d42 WHIRLPOOL 2ce585c295477d17de265bac563d50c249b036301058b98e552b79f040829facea778cfc7692ae06299fc6b55bf2d890e511300c9746be525f9439d0d93d1280
DIST tesseract-3.03-rc1.tar.gz 12812907 SHA256 d244956236f7491d74d7f342895f611a6c46c45fa9900173d5b7625d8461d2ea SHA512 4acd6a3c0db5568bd6cb199776a52fbf1643692cf2d9da7449644662461c0c3ef7e5941bb49be94135433a90de400413df062edd612ce9ec9c06e9206a57113f WHIRLPOOL 93f33f62aeb5a9f65a7642bc282138622076989618f787a044ad79463ab9cd9a9ebaeb5e34e52cf5c95c569b01fc552a44d2eda24e697d0c9a045fb626b9aa77
DIST tesseract-3.04.00.tar.gz 2264427 SHA256 7e6e48b625e1fba9bc825a4ef8c39f12c60aae1084939133b3c6a00f8f8dc38c SHA512 60c31bad40b4c01395782fb98b3326407e75ebdbda962de4fb0e878824efb05140bdcb139dcf7d4f699ae5350e81a00320ebe7fbec083a0d374952488cc59e25 WHIRLPOOL 81b685e4d50d94056a4f99ce6beb4c73983e9449e1eed07a69d4649b0a8231b17fede430a8c181b37216a55e9f6102a578c85d84b2bbe6e9643ca98f16ae3260
DIST tesseract-ocr-3.01.heb-com.tar.gz 270977 SHA256 20a9d53172a8dbf1a4bbd7f7e9e3a523a9435c47c751533642e8a9becc8584ff SHA512 378dc49da535f70c860c29b9a43cae478f6d8403c93a623b1781194c02aad3ea12345f9ea6ebbac4fb2033179964d23fb075e6aa206ec79530b41947d5d44411 WHIRLPOOL cc6463928c05d5904af71ea6170e946e601639761eaab317f0570275e0eaee81cba2c0636dc5dec40f8ba6d16ad498e7177a0c2bf5a886f2598c99568f151fd6

@ -1,15 +0,0 @@
diff -NrU5 tesseract-2.04.original/viewer/svutil.cpp tesseract-2.04/viewer/svutil.cpp
--- tesseract-2.04.original/viewer/svutil.cpp 2009-07-25 21:03:18.000000000 +0000
+++ tesseract-2.04/viewer/svutil.cpp 2009-07-25 21:05:54.000000000 +0000
@@ -41,10 +41,11 @@
#include <sys/prctl.h>
#endif
#endif
#include <iostream>
+#include <cstdio>
const int kBufferSize = 65536;
const int kMaxMsgSize = 4096;
// Signals a thread to exit.

@ -18,15 +18,12 @@
</upstream>
<use>
<flag name="webp"> Enable support for webp image format.</flag>
<flag name="scrollview"> Enable graphics support
(ScrollView).</flag>
<flag name="math"> Enable support for recognition of equations.</flag>
<flag name="scrollview"> Enable graphics support (ScrollView).</flag>
<flag name="linguas_chr"> Enable support for the Cherokee language.</flag>
<flag name="linguas_jp"> Enable support for Japanese.</flag>
<flag name="osd"> Enable support orientation and script
detection.</flag>
<flag name="opencl">Enable opencl support for speedup using GPU
computation.</flag>
<flag name="training">Install training applications to add support
for new languages.</flag>
<flag name="osd"> Enable support orientation and script detection.</flag>
<flag name="opencl">Enable opencl support for speedup using GPU computation.</flag>
<flag name="training">Install training applications to add support for new languages.</flag>
</use>
</pkgmetadata>

@ -1,71 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="2"
inherit eutils
DESCRIPTION="An OCR Engine that was developed at HP and now at Google"
HOMEPAGE="https://code.google.com/p/tesseract-ocr/"
SRC_URI="https://tesseract-ocr.googlecode.com/files/${P}.tar.gz
https://tesseract-ocr.googlecode.com/files/${PN}-2.00.eng.tar.gz
linguas_de? (
https://tesseract-ocr.googlecode.com/files/${PN}-2.00.deu.tar.gz
https://tesseract-ocr.googlecode.com/files/${PN}-2.01.deu-f.tar.gz
)
linguas_eu? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.04.eus.tar.gz )
linguas_es? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.00.spa.tar.gz )
linguas_fr? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.00.fra.tar.gz )
linguas_it? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.00.ita.tar.gz )
linguas_nl? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.00.nld.tar.gz )
linguas_pt_BR? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.01.por.tar.gz )
linguas_vi? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.01.vie.tar.gz )"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~mips ppc ppc64 sparc x86"
IUSE="examples tiff linguas_de linguas_eu linguas_es linguas_fr linguas_it linguas_nl linguas_pt_BR linguas_vi"
DEPEND="tiff? ( media-libs/tiff )"
RDEPEND="${DEPEND}"
# NOTES:
# english language files are always installed because they are used by default
# that is a tesseract bug and if possible this workaround should be avoided
# see bug 287373
# deu-f corresponds to an old german graphic style named fraktur
# that's the same language (german, de)
# stuff in directory java/ seems useless...
# in testing/, there is a way to test accuracy, not usable for src_test()
# app-ocr/ would be a better category
src_prepare() {
# move language files to have them installed
mv "${WORKDIR}"/tessdata/* tessdata/ || die "move language files failed"
# remove obsolete makefile, install target only in uppercase Makefile
rm "${S}/java/makefile" || die "remove obsolete java makefile failed"
# fix gcc-4.4 compilation, bug 269320
# fix gcc-4.7 compilation, bug 413937
epatch \
"${FILESDIR}"/${P}-gcc44.patch \
"${FILESDIR}"/${P}-gcc47.patch
}
src_configure() {
econf $(use_with tiff libtiff) \
--disable-dependency-tracking
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README ReleaseNotes || die "dodoc failed"
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins eurotext.tif phototest.tif || die "doins failed"
fi
}

@ -1,108 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MY_PN="${PN}-ocr"
DL_P="${MY_PN}-3.02"
URI_PREFIX="https://${MY_PN}.googlecode.com/files"
inherit eutils autotools autotools-utils versionator
S="${WORKDIR}/${PN}-$(get_version_component_range 1-2 )"
DESCRIPTION="An OCR Engine that was developed at HP and now at Google"
HOMEPAGE="https://code.google.com/p/tesseract-ocr/"
SRC_URI="https://dev.gentoo.org/~tomka/files/${PN}-3.03-rc1.tar.gz
${URI_PREFIX}/${DL_P}.eng.tar.gz
doc? ( ${URI_PREFIX}/${DL_P}.02-doc-html.tar.gz )
linguas_ar? ( ${URI_PREFIX}/${DL_P}.ara.tar.gz )
linguas_bg? ( ${URI_PREFIX}/bul.traineddata.gz )
linguas_ca? ( ${URI_PREFIX}/cat.traineddata.gz )
linguas_chr? ( ${URI_PREFIX}/chr.traineddata.gz )
linguas_cs? ( ${URI_PREFIX}/ces.traineddata.gz )
linguas_de? ( ${URI_PREFIX}/deu.traineddata.gz
${URI_PREFIX}/deu-frak.traineddata.gz )
linguas_da? ( ${URI_PREFIX}/dan.traineddata.gz
${URI_PREFIX}/dan-frak.traineddata.gz )
linguas_el? ( ${URI_PREFIX}/ell.traineddata.gz )
linguas_es? ( ${URI_PREFIX}/spa.traineddata.gz )
linguas_fi? ( ${URI_PREFIX}/fin.traineddata.gz )
linguas_fr? ( ${URI_PREFIX}/fra.traineddata.gz )
linguas_he? ( ${URI_PREFIX}/${DL_P}.heb.tar.gz
${URI_PREFIX}/${MY_PN}-3.01.heb-com.tar.gz )
linguas_hi? ( ${URI_PREFIX}/${DL_P}.hin.tar.gz )
linguas_hu? ( ${URI_PREFIX}/hun.traineddata.gz )
linguas_id? ( ${URI_PREFIX}/ind.traineddata.gz )
linguas_it? ( ${URI_PREFIX}/ita.traineddata.gz )
linguas_jp? ( ${URI_PREFIX}/jpn.traineddata.gz )
linguas_ko? ( ${URI_PREFIX}/kor.traineddata.gz )
linguas_lt? ( ${URI_PREFIX}/lit.traineddata.gz )
linguas_lv? ( ${URI_PREFIX}/lav.traineddata.gz )
linguas_nl? ( ${URI_PREFIX}/nld.traineddata.gz )
linguas_no? ( ${URI_PREFIX}/nor.traineddata.gz )
linguas_pl? ( ${URI_PREFIX}/pol.traineddata.gz )
linguas_pt? ( ${URI_PREFIX}/por.traineddata.gz )
linguas_ro? ( ${URI_PREFIX}/ron.traineddata.gz )
linguas_ru? ( ${URI_PREFIX}/rus.traineddata.gz )
linguas_sk? ( ${URI_PREFIX}/slk.traineddata.gz
${URI_PREFIX}/${MY_PN}-3.01.slk-frak.tar.gz )
linguas_sl? ( ${URI_PREFIX}/slv.traineddata.gz )
linguas_sr? ( ${URI_PREFIX}/srp.traineddata.gz )
linguas_sv? ( ${URI_PREFIX}/swe.traineddata.gz
${URI_PREFIX}/swe-frak.traineddata.gz )
linguas_th? ( ${URI_PREFIX}/${DL_P}.tha.tar.gz )
linguas_tl? ( ${URI_PREFIX}/tgl.traineddata.gz )
linguas_tr? ( ${URI_PREFIX}/tur.traineddata.gz )
linguas_uk? ( ${URI_PREFIX}/ukr.traineddata.gz )
linguas_vi? ( ${URI_PREFIX}/vie.traineddata.gz )
linguas_zh_CN? ( ${URI_PREFIX}/chi_sim.traineddata.gz )
linguas_zh_TW? ( ${URI_PREFIX}/chi_tra.traineddata.gz )
osd? ( ${URI_PREFIX}/${MY_PN}-3.01.osd.tar.gz )
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc examples jpeg opencl osd png +scrollview static-libs tiff -webp linguas_ar linguas_bg linguas_ca linguas_chr linguas_cs linguas_de linguas_da linguas_el linguas_es linguas_fi linguas_fr linguas_he linguas_hi linguas_hu linguas_id linguas_it linguas_jp linguas_ko linguas_lt linguas_lv linguas_nl linguas_no linguas_pl linguas_pt linguas_ro linguas_ru linguas_sk linguas_sl linguas_sr linguas_sv linguas_th linguas_tl linguas_tr linguas_uk linguas_vi linguas_zh_CN linguas_zh_TW"
# With opencl tiff is necessary regardless of leptonica status
DEPEND=">=media-libs/leptonica-1.70[zlib,tiff?,jpeg?,png?,webp?]
opencl? ( virtual/opencl
media-libs/tiff:0 )"
RDEPEND="${DEPEND}"
DOCS=(AUTHORS ChangeLog NEWS README ReleaseNotes )
PATCHES=(
"${FILESDIR}/tesseract-2.04-gcc47.patch"
)
src_configure() {
local myeconfargs=(
$(use_enable opencl) \
$(use_enable scrollview graphics) \
--disable-dependency-tracking
)
autotools-utils_src_configure
}
src_install() {
autotools-utils_src_install
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins eurotext.tif phototest.tif
fi
if use doc; then
dohtml -r "${WORKDIR}"/"${MY_PN}"/doc/html/*
fi
# install language files
insinto /usr/share/tessdata
find "${WORKDIR}" -maxdepth 1 -type f -name "*.traineddata" -exec doins '{}' +
doins "${WORKDIR}"/"${MY_PN}"/tessdata/*
}

@ -14,6 +14,7 @@ HOMEPAGE="https://github.com/tesseract-ocr"
SRC_URI="https://github.com/${MY_PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
${URI_PREFIX}eng.traineddata -> eng.traineddata-${PV}
doc? ( https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02-doc-html.tar.gz )
math? ( ${URI_PREFIX}equ.traineddata -> equ.traineddata-${PV} )
linguas_ar? ( ${URI_PREFIX}ara.traineddata -> ara.traineddata-${PV} )
linguas_bg? ( ${URI_PREFIX}bul.traineddata -> bul.traineddata-${PV} )
linguas_ca? ( ${URI_PREFIX}cat.traineddata -> cat.traineddata-${PV} )
@ -61,12 +62,20 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc examples jpeg opencl osd png +scrollview static-libs tiff -webp linguas_ar linguas_bg linguas_ca linguas_chr linguas_cs linguas_de linguas_da linguas_el linguas_es linguas_fi linguas_fr linguas_he linguas_hi linguas_hu linguas_id linguas_it linguas_jp linguas_ko linguas_lt linguas_lv linguas_nl linguas_no linguas_pl linguas_pt linguas_ro linguas_ru linguas_sk linguas_sl linguas_sr linguas_sv linguas_th linguas_tl linguas_tr linguas_uk linguas_vi linguas_zh_CN linguas_zh_TW"
IUSE="doc examples jpeg math opencl osd png +scrollview static-libs tiff training -webp linguas_ar linguas_bg linguas_ca linguas_chr linguas_cs linguas_de linguas_da linguas_el linguas_es linguas_fi linguas_fr linguas_he linguas_hi linguas_hu linguas_id linguas_it linguas_jp linguas_ko linguas_lt linguas_lv linguas_nl linguas_no linguas_pl linguas_pt linguas_ro linguas_ru linguas_sk linguas_sl linguas_sr linguas_sv linguas_th linguas_tl linguas_tr linguas_uk linguas_vi linguas_zh_CN linguas_zh_TW"
# With opencl tiff is necessary regardless of leptonica status <-- Check this
# With opencl USE=tiff is necessary in leptonica
DEPEND=">=media-libs/leptonica-1.71[zlib,tiff?,jpeg?,png?,webp?]
opencl? ( virtual/opencl
media-libs/tiff:0 )"
media-libs/tiff:0
>=media-libs/leptonica-1.71[zlib,tiff,jpeg?,png?,webp?]
)
training? (
dev-libs/icu
x11-libs/pango
x11-libs/cairo
)
"
RDEPEND="${DEPEND}"
DOCS=(AUTHORS ChangeLog NEWS README ReleaseNotes )
@ -86,15 +95,27 @@ src_unpack() {
src_configure() {
local myeconfargs=(
$(use_enable opencl) \
$(use_enable scrollview graphics) \
--disable-dependency-tracking
)
$(use_enable scrollview graphics)
)
autotools-utils_src_configure
}
src_compile() {
default
if use training; then
emake training
fi
}
src_install() {
autotools-utils_src_install
if use training; then
pushd "${BUILD_DIR}"
emake DESTDIR="${D}" training-install
popd
fi
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins testing/eurotext.tif testing/phototest.tif

@ -1,107 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MY_PN="${PN}-ocr"
DL_P="${MY_PN}-3.02"
URI_PREFIX="https://${MY_PN}.googlecode.com/files"
inherit eutils autotools autotools-utils
DESCRIPTION="An OCR Engine, orginally developed at HP, now open source."
HOMEPAGE="https://github.com/tesseract-ocr"
SRC_URI="https://github.com/${MY_PN}/${PN}/archive/${PV}.tar.gz
${URI_PREFIX}/${DL_P}.eng.tar.gz
doc? ( ${URI_PREFIX}/${DL_P}.02-doc-html.tar.gz )
linguas_ar? ( ${URI_PREFIX}/${DL_P}.ara.tar.gz )
linguas_bg? ( ${URI_PREFIX}/bul.traineddata.gz )
linguas_ca? ( ${URI_PREFIX}/cat.traineddata.gz )
linguas_chr? ( ${URI_PREFIX}/chr.traineddata.gz )
linguas_cs? ( ${URI_PREFIX}/ces.traineddata.gz )
linguas_de? ( ${URI_PREFIX}/deu.traineddata.gz
${URI_PREFIX}/deu-frak.traineddata.gz )
linguas_da? ( ${URI_PREFIX}/dan.traineddata.gz
${URI_PREFIX}/dan-frak.traineddata.gz )
linguas_el? ( ${URI_PREFIX}/ell.traineddata.gz )
linguas_es? ( ${URI_PREFIX}/spa.traineddata.gz )
linguas_fi? ( ${URI_PREFIX}/fin.traineddata.gz )
linguas_fr? ( ${URI_PREFIX}/fra.traineddata.gz )
linguas_he? ( ${URI_PREFIX}/${DL_P}.heb.tar.gz
${URI_PREFIX}/${MY_PN}-3.01.heb-com.tar.gz )
linguas_hi? ( ${URI_PREFIX}/${DL_P}.hin.tar.gz )
linguas_hu? ( ${URI_PREFIX}/hun.traineddata.gz )
linguas_id? ( ${URI_PREFIX}/ind.traineddata.gz )
linguas_it? ( ${URI_PREFIX}/ita.traineddata.gz )
linguas_jp? ( ${URI_PREFIX}/jpn.traineddata.gz )
linguas_ko? ( ${URI_PREFIX}/kor.traineddata.gz )
linguas_lt? ( ${URI_PREFIX}/lit.traineddata.gz )
linguas_lv? ( ${URI_PREFIX}/lav.traineddata.gz )
linguas_nl? ( ${URI_PREFIX}/nld.traineddata.gz )
linguas_no? ( ${URI_PREFIX}/nor.traineddata.gz )
linguas_pl? ( ${URI_PREFIX}/pol.traineddata.gz )
linguas_pt? ( ${URI_PREFIX}/por.traineddata.gz )
linguas_ro? ( ${URI_PREFIX}/ron.traineddata.gz )
linguas_ru? ( ${URI_PREFIX}/rus.traineddata.gz )
linguas_sk? ( ${URI_PREFIX}/slk.traineddata.gz
${URI_PREFIX}/${MY_PN}-3.01.slk-frak.tar.gz )
linguas_sl? ( ${URI_PREFIX}/slv.traineddata.gz )
linguas_sr? ( ${URI_PREFIX}/srp.traineddata.gz )
linguas_sv? ( ${URI_PREFIX}/swe.traineddata.gz
${URI_PREFIX}/swe-frak.traineddata.gz )
linguas_th? ( ${URI_PREFIX}/${DL_P}.tha.tar.gz )
linguas_tl? ( ${URI_PREFIX}/tgl.traineddata.gz )
linguas_tr? ( ${URI_PREFIX}/tur.traineddata.gz )
linguas_uk? ( ${URI_PREFIX}/ukr.traineddata.gz )
linguas_vi? ( ${URI_PREFIX}/vie.traineddata.gz )
linguas_zh_CN? ( ${URI_PREFIX}/chi_sim.traineddata.gz )
linguas_zh_TW? ( ${URI_PREFIX}/chi_tra.traineddata.gz )
osd? ( ${URI_PREFIX}/${MY_PN}-3.01.osd.tar.gz )
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc examples jpeg opencl osd png +scrollview static-libs tiff -webp linguas_ar linguas_bg linguas_ca linguas_chr linguas_cs linguas_de linguas_da linguas_el linguas_es linguas_fi linguas_fr linguas_he linguas_hi linguas_hu linguas_id linguas_it linguas_jp linguas_ko linguas_lt linguas_lv linguas_nl linguas_no linguas_pl linguas_pt linguas_ro linguas_ru linguas_sk linguas_sl linguas_sr linguas_sv linguas_th linguas_tl linguas_tr linguas_uk linguas_vi linguas_zh_CN linguas_zh_TW"
# With opencl tiff is necessary regardless of leptonica status <-- Check this
DEPEND=">=media-libs/leptonica-1.71[zlib,tiff?,jpeg?,png?,webp?]
opencl? ( virtual/opencl
media-libs/tiff:0 )"
RDEPEND="${DEPEND}"
DOCS=(AUTHORS ChangeLog NEWS README ReleaseNotes )
PATCHES=(
"${FILESDIR}/tesseract-2.04-gcc47.patch"
"${FILESDIR}/${P}-fix-scrollview-disabled.patch"
)
src_configure() {
local myeconfargs=(
$(use_enable opencl) \
$(use_enable scrollview graphics) \
--disable-dependency-tracking
)
autotools-utils_src_configure
}
src_install() {
autotools-utils_src_install
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins testing/eurotext.tif testing/phototest.tif
fi
if use doc; then
dohtml -r "${WORKDIR}"/"${MY_PN}"/doc/html/*
fi
# install language files
insinto /usr/share/tessdata
find "${WORKDIR}" -maxdepth 1 -type f -name "*.traineddata" -exec doins '{}' +
doins "${WORKDIR}"/"${MY_PN}"/tessdata/*
}

@ -69,7 +69,7 @@ for i in ${TL_CORE_EXTRA_SRC_MODULES}; do
done
SRC_URI="${SRC_URI} )"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="cjk X doc source tk xetex"
TEXMF_PATH=/usr/share/texmf-dist

@ -10,7 +10,7 @@ SRC_URI=""
LICENSE="metapackage"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ~ppc64 ~s390 ~sh x86 ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~hppa ~mips ppc ~ppc64 ~s390 ~sh x86 ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="cjk context detex dvi2tty extra epspdf games graphics
humanities jadetex luatex metapost music omega pdfannotextractor png pstricks publishers
science tex4ht texi2html truetype xetex xindy xml X"

@ -12,7 +12,7 @@ SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ~ppc64 ~s390 ~sh x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~hppa ~mips ppc ~ppc64 ~s390 ~sh x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
# Note about blockers: it is a freetype2 based replacement for ttf2pk and

@ -0,0 +1,76 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
inherit eutils flag-o-matic gnome2 multilib-minimal
DESCRIPTION="C++ interface for GTK+"
HOMEPAGE="http://www.gtkmm.org"
LICENSE="LGPL-2.1+"
SLOT="2.4"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
IUSE="doc examples test"
COMMON_DEPEND="
>=dev-cpp/glibmm-2.34.1:2[${MULTILIB_USEDEP}]
>=x11-libs/gtk+-2.24.15:2[${MULTILIB_USEDEP}]
>=x11-libs/gdk-pixbuf-2.28:2[${MULTILIB_USEDEP}]
>=dev-cpp/atkmm-2.22.7[${MULTILIB_USEDEP}]
>=dev-cpp/cairomm-1.10.0-r1[${MULTILIB_USEDEP}]
>=dev-cpp/pangomm-2.34.0:1.4[${MULTILIB_USEDEP}]
>=dev-libs/libsigc++-2.3.2:2[${MULTILIB_USEDEP}]
"
RDEPEND="${COMMON_DEPEND}
abi_x86_32? (
!<=app-emulation/emul-linux-x86-gtkmmlibs-20140508
!app-emulation/emul-linux-x86-gtkmmlibs[-abi_x86_32(-)] )
"
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
doc? (
media-gfx/graphviz
dev-libs/libxslt
app-doc/doxygen )
"
src_prepare() {
# Apply fixes from 2.24 branch
epatch "${FILESDIR}"/${P}-papersize.patch
epatch "${FILESDIR}"/${P}-missing-includes.patch
epatch "${FILESDIR}"/${P}-newer-glibmm.patch
if ! use test; then
# don't waste time building tests
sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
|| die "sed 1 failed"
fi
if ! use examples; then
# don't waste time building tests
sed 's/^\(SUBDIRS =.*\)demos\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
|| die "sed 2 failed"
fi
gnome2_src_prepare
append-cxxflags -std=c++11
}
multilib_src_configure() {
ECONF_SOURCE="${S}" gnome2_src_configure \
--enable-api-atkmm \
$(multilib_native_use_enable doc documentation)
}
multilib_src_install() {
gnome2_src_install
}
multilib_src_install_all() {
DOCS="AUTHORS ChangeLog PORTING NEWS README"
einstalldocs
}

@ -23,7 +23,8 @@ RDEPEND=">=dev-libs/icu-4.3.1:=
<dev-lang/spidermonkey-1.8.7
selinux? ( sec-policy/selinux-couchdb )"
DEPEND="${RDEPEND}"
DEPEND="${RDEPEND}
sys-devel/autoconf-archive"
RESTRICT=test
S="${WORKDIR}/apache-${P}"

@ -36,7 +36,7 @@ CDEPEND="${PYTHON_DEPS}
gnome-base/libglade:2.0
>=x11-libs/cairo-1.5.12[glib,svg]
dev-libs/libsigc++:2
dev-libs/boost
dev-libs/boost[nls]
>=dev-cpp/ctemplate-0.95
>=dev-libs/libxml2-2.6.2:2
dev-libs/libzip

@ -36,7 +36,7 @@ CDEPEND="${PYTHON_DEPS}
gnome-base/libglade:2.0
>=x11-libs/cairo-1.5.12[glib,svg]
dev-libs/libsigc++:2
>=dev-libs/boost-1.55.0
>=dev-libs/boost-1.55.0[nls]
>=dev-cpp/ctemplate-0.95
>=dev-libs/libxml2-2.6.2:2
dev-libs/libzip

@ -1,3 +1 @@
DIST sqlitebrowser-3.5.1.tar.gz 874540 SHA256 d7f3d1e54882ebabab3b2f7764a6bb921d4fe319db84a092147c941ce19feb8d SHA512 815665002932a606c7e1da8738be0d94a0b2bf330042af30d5b4033ce27c548fec1a05b51f2a11a7620d4e123961ba63595b60aec7eac716e5d3747bb90886e2 WHIRLPOOL 1b8984eefe730ef468fc64bff1465de3a5b273e3e1594916f05cbe07bec315126001b42cc05d6a3c153aaaccab39bdafa29d31f83fceba6aa7697df7ff870462
DIST sqlitebrowser-3.6.0.tar.gz 1453029 SHA256 221a410a3ec8512a766ed8bc4cade1f3b1cde94e41e52743d5a6d2a33acb3a56 SHA512 ae4a0bb9ac8ff01ec965ae264a41fe7749672cd6562f0ce5e5b69007ea403fff5dcc4f90be3ffa4d9b7d1dc293767f2ca7757de55895f56efbe6b7be0e6721df WHIRLPOOL 93e053d8b6cf9e67f0294117995443865e29923c899a0263ce117979f982155e4020a88ba865a4b92d162fc8842f5b95c4b512575d153cb7f9fa9445880e1b5c
DIST sqlitebrowser-3.7.0.tar.gz 1509766 SHA256 3093a1dcf5b3138c1adf29857d62249ab2b068e70b001869a31151763e28cc3a SHA512 f4c2f517a0b04fb74d8ec656e34f93d467a233040b36fab8f6f172681eb213be5c08131ecdaaa542d833bf24ef564d8e6f800e861b9a20d53de7a585aa104533 WHIRLPOOL 3bbfaa99f179c10f542d344ce6fe55656aa750a52925b2de590e2ba24bcafa95604646e6b218bca4f461390268de2bc2fb29d0de1deaf06438b33cb660e614e8

@ -1,71 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
CMAKE_MAKEFILE_GENERATOR=ninja
inherit eutils cmake-utils
DESCRIPTION="SQLite Database Browser"
HOMEPAGE="http://sqlitebrowser.org"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3 MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="qt4 qt5 test"
REQUIRED_USE="^^ ( qt4 qt5 )"
RDEPEND="
dev-db/sqlite:3
dev-java/antlr:0[cxx]
dev-libs/qcustomplot[qt5=]
qt4? (
dev-qt/qtcore:4
dev-qt/qtgui:4
)
qt5? (
dev-qt/qtnetwork:5
dev-qt/qttest:5
dev-qt/qtwidgets:5
)"
DEPEND="${RDEPEND}
qt5? ( dev-qt/linguist-tools:5 )"
PATCHES=( "${FILESDIR}"/${P}-unbundle.patch )
src_prepare() {
# https://github.com/qingfengxia/qhexedit still bundled
find libs/{antlr-2.7.7,qcustomplot-source} -delete || die
cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_use qt5)
)
cmake-utils_src_configure
if use test; then
BUILD_DIR="${S}"/tests CMAKE_USE_DIR="${S}"/tests cmake-utils_src_configure
fi
}
src_compile() {
cmake-utils_src_compile
if use test; then
BUILD_DIR="${S}"/tests CMAKE_USE_DIR="${S}"/tests cmake-utils_src_compile
fi
}
src_test() {
tests/sqlb-unittests || die
}
src_install() {
cmake-utils_src_install
doicon images/sqlitebrowser.svg
domenu distri/sqlitebrowser.desktop
}

@ -1,73 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
CMAKE_MAKEFILE_GENERATOR=ninja
inherit eutils cmake-utils
DESCRIPTION="SQLite Database Browser"
HOMEPAGE="http://sqlitebrowser.org"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3 MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="qt4 qt5 test"
REQUIRED_USE="^^ ( qt4 qt5 )"
RDEPEND="
dev-db/sqlite:3
dev-java/antlr:0[cxx]
dev-libs/qcustomplot[qt5=]
x11-libs/qscintilla
qt4? (
dev-qt/qtcore:4
dev-qt/qtgui:4
)
qt5? (
dev-qt/qtnetwork:5
dev-qt/qttest:5
dev-qt/qtwidgets:5
)"
DEPEND="${RDEPEND}
qt5? ( dev-qt/linguist-tools:5 )"
PATCHES=( "${FILESDIR}"/${P}-unbundle-keep-qscintilla.patch )
src_prepare() {
# https://github.com/qingfengxia/qhexedit still bundled
# x11-libs/qscintilla[qt4?,qt5?] still bundled
find libs/{antlr-2.7.7,qcustomplot-source} -delete || die
cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_use qt5)
)
cmake-utils_src_configure
if use test; then
BUILD_DIR="${S}"/tests CMAKE_USE_DIR="${S}"/tests cmake-utils_src_configure
fi
}
src_compile() {
cmake-utils_src_compile
if use test; then
BUILD_DIR="${S}"/tests CMAKE_USE_DIR="${S}"/tests cmake-utils_src_compile
fi
}
src_test() {
tests/sqlb-unittests || die
}
src_install() {
cmake-utils_src_install
doicon images/sqlitebrowser.svg
domenu distri/sqlitebrowser.desktop
}

@ -20,8 +20,8 @@ IUSE="qt4 qt5 test"
REQUIRED_USE="^^ ( qt4 qt5 )"
RDEPEND="
dev-cpp/antlr-cpp:2=
dev-db/sqlite:3
dev-java/antlr:0[cxx]
dev-libs/qcustomplot[qt5=]
x11-libs/qscintilla
qt4? (

@ -33,11 +33,15 @@ RDEPEND="dev-libs/libaio
dev-libs/libgpg-error
dev-perl/DBD-mysql"
if use amd64; then
S="${WORKDIR}/${MY_P}-Linux-x86_64"
elif use x86; then
S="${WORKDIR}/${MY_P}-Linux-i686"
fi
src_unpack() {
default
if use amd64; then
S="${WORKDIR}/${MY_P}-Linux-x86_64"
elif use x86; then
S="${WORKDIR}/${MY_P}-Linux-i686"
fi
}
src_prepare() {
# bug 501904 - CVE-2014-2029

@ -32,11 +32,15 @@ RDEPEND="dev-libs/libaio
dev-perl/DBD-mysql
sys-libs/zlib"
if use amd64; then
S="${WORKDIR}/${MY_P}-Linux-x86_64"
elif use x86; then
S="${WORKDIR}/${MY_P}-Linux-i686"
fi
src_unpack() {
default
if use amd64; then
S="${WORKDIR}/${MY_P}-Linux-x86_64"
elif use x86; then
S="${WORKDIR}/${MY_P}-Linux-i686"
fi
}
src_prepare() {
# bug 501904 - CVE-2014-2029

@ -34,11 +34,15 @@ RDEPEND="dev-libs/libaio
dev-perl/DBD-mysql
sys-libs/zlib"
if use amd64; then
S="${WORKDIR}/${MY_P}-Linux-x86_64"
elif use x86; then
S="${WORKDIR}/${MY_P}-Linux-i686"
fi
src_unpack() {
default
if use amd64; then
S="${WORKDIR}/${MY_P}-Linux-x86_64"
elif use x86; then
S="${WORKDIR}/${MY_P}-Linux-i686"
fi
}
src_prepare() {
# bug 501904 - CVE-2014-2029

@ -0,0 +1,33 @@
commit 4115e196bde073d5deaa3759807a8647f3f3c6fa
Author: Herbert Valerio Riedel <hvr@gnu.org>
Date: Mon Nov 17 09:53:24 2014 +0100
Add support for `deepseq-1.4.0.0` (addresses #100)
The default method implementation has changed in `deepseq-1.4.0.0`.
(see haskell/deepseq#1 for details). This simply sets the `rnf`
implementation explicitly to avoid relying on the default method's
semantics.
diff --git a/Data/Text.hs b/Data/Text.hs
index 3bd34a7..b826acd 100644
--- a/Data/Text.hs
+++ b/Data/Text.hs
@@ -199,7 +199,7 @@ import Prelude (Char, Bool(..), Int, Maybe(..), String,
(&&), (||), (+), (-), (.), ($), ($!), (>>),
not, return, otherwise, quot)
#if defined(HAVE_DEEPSEQ)
-import Control.DeepSeq (NFData)
+import Control.DeepSeq (NFData(rnf))
#endif
#if defined(ASSERTS)
import Control.Exception (assert)
@@ -346,7 +346,7 @@ instance Exts.IsList Text where
#endif
#if defined(HAVE_DEEPSEQ)
-instance NFData Text
+instance NFData Text where rnf !_ = ()
#endif
-- | This instance preserves data abstraction at the cost of inefficiency.

@ -32,6 +32,10 @@ DEPEND="${RDEPEND}
# >=dev-haskell/test-framework-hunit-0.2
# >=dev-haskell/test-framework-quickcheck2-0.2 )
src_prepare() {
epatch "${FILESDIR}"/${P}-deepseq-1.4.patch
}
src_configure() {
haskell-cabal_src_configure \
--flag=-developer

@ -0,0 +1,19 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
ANT_TASK_DEPNAME=""
inherit ant-tasks
DESCRIPTION="Apache Ant's optional tasks for Antlr"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
RDEPEND=">=dev-java/antlr-2.7.7-r7:0"
src_install() {
ant-tasks_src_install
java-pkg_register-dependency antlr
}

@ -2,5 +2,11 @@ DIST 4.4.zip 1107695 SHA256 68a79e4accae4dfd9d45a8292fe9b2812c6a3ec1d903412e205a
DIST antlr-2.7.7.tar.gz 1816180 SHA256 853aeb021aef7586bda29e74a6b03006bcb565a755c86b66032d8ec31b67dbb9 SHA512 faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d WHIRLPOOL def5ac0ddfe5a65f9f7d5489d039048c5d630b46cd5626593bd12e9b393d5ec26884f90b013bcdf58511e26abbf06e0d7b3789a11298b017f7e70af2ec8dde4a
DIST antlr-3.1.3-generated.tar.bz2 47167 SHA256 ed326de0f1f92dd72e8d9644e8eaf59d02b9725b4b5218f5c54e12100f8d05f4 SHA512 4ea01ad0d5fc99607ffa445fb99ae424648b713dca293d05ff4ec064cac0a0fe5073df3834f9b6990e99f3cefc5cdd191a1ee3c3951d97615908b94630070bba WHIRLPOOL 61f7829811251a35528c322952830dc5a6e82e23e36f664af179b41955734e771aaad070298666a15be0f41982dbb8b19955b5967987582c6b666e602384d060
DIST antlr-3.1.3.tar.gz 10743515 SHA256 1fca0fc7304140807e64ec263a58d93ef1b380cfb6407084e6909f8220bc1039 SHA512 6814b970740bd61e6727f81b1a2fb4249f8f029e756694d852224eee54e0231540f8e23d2fa8f78eef234d6497f5fa1411e76020ffaed737d8c1a5178321a062 WHIRLPOOL 9d9a1caf39595dbb9b300f730091cfa38a12ab10b8a59d58c7bdd9ba4674bce9f49bc21b5b170129216ff9d880dbf5f0bdb5bfe614b003a4ffe948948b5413c9
DIST antlr-3.2.jar 1928009 SHA256 4c8737014e7ca0d2c85171edf37f5a26b2d8d8237c283357b81a3269b6848d38 SHA512 25a61404c4b41e48eeaed49d41122f9400092248a10eb776d75ce3513295870eca1acc4b06c74925284a27cc64ca0506e34de39fb91996f09727cc5cc72dd9a6 WHIRLPOOL 19d99c9f50339ee9ef31e9458ac3a44ce52aa89ed84f96be905d626e3a53d5e2bbdb2e8eb4c5ca16413e7493499b141f940dd200658f8e60e9ecbd777f83a84b
DIST antlr-3.2.tar.gz 837320 SHA256 01548fa03ef1f0ed05a93f0749b65db8a35a191ad7ad34e1e6a6a2529ca2ef45 SHA512 8984221cd89253c033a4596dd56cd51b297393a53b4682f5ab401172745d343371bf0d45417fa286ce972add1b4e474f1f3091fa1345158dbfc040702d61607c WHIRLPOOL 40080efc13c88312aaa318cde097f240e711b477e264739ea71b6c246ede29ac48f42eccd55365af531eb428f1ca1d89386d7e5753b6bc35cad9bf937b70e6de
DIST antlr-3.5.2-complete-no-st3.jar 1862097 SHA256 46531814ba9739cdf20c6c1789c252d3d95b68932813d79fb8bbfdf8d5840417 SHA512 227f56edfb8d1935fc0f5bd69a730a2230b173f38baa7837b6dac9b4a10c5d4a9b2eb806416b21bed2621bb0b8e0fb98a6f48da2660b326728326f078bc28ea9 WHIRLPOOL 5c5285894e2d4182650a8a573ae83996e1f463d6ce866ddcff43959b16cf1070c3042b21d80c9350865716a6719d15fcd42b7370b4af69b6eca863d26ffcc325
DIST antlr-3.5.2-complete.jar 2456317 SHA256 26ca659f47d77384f518cf2b6463892fcd4f0b0d4d8c0de2addf697e63e7326b SHA512 560f208e38759b5e626de56816e1fce9c191c526c04ca782513859d468ac444d1e8e62c03870a68f8f9d8daee0f45fca465150e2bbfc71b46e46b952519044b1 WHIRLPOOL bdbbb081bf0aab83fa26a4a75f7f42487da688a5e3c765ea4cbd7b8c1bcb80b66e8b98bf95ee8bcd2acd60b4eacb6745f879cb899b672ea7fc4489d651a6f2e0
DIST antlr-3.5.2.tar.gz 6927126 SHA256 529baf7d11f06b773543e25271c1a6e1735d2f8061f4866d1ea5c99a5d71ee1f SHA512 e2a0520093fb2a77dcd9d44f26a9fdd612dceaffb398c53b2b8cd29f4630830647ede29e8dd55b434cb2c165b0fd1d77968ec6e6de0798f14d9cdfd9e6fccd99 WHIRLPOOL a3a2bf81cc91a332725a4ce15dcccf10df5395b27a521656b1f3e80fed10197edc132fa2a8b9a259b2ee603320492b4b1f664692a967fdfdbb574d919b9aa20e
DIST antlr-4.3-complete.jar 1340431 SHA256 da9afec193edcc4d8080a4897e77e1e2f6a0c0bc265fccb8c44ae10660f7a8f0 SHA512 669cc21ef72ec899509181b1ec77d918fce9dba3db165d9d7429e0058c58a9d716cbf274d7a54b6bd9143d95d9a902d82acfa5bcb5e6c805c4e9fdf90b83349e WHIRLPOOL f665a200850d294ee0f8c3127bb918a9c9625098a97a960afe08b3a3940ba2c2ad54099e34c82fab5058b668a721b3ed5621a85820d0aca0e16af2f81627c723
DIST antlr-4.5.1-complete.jar 1478820 SHA256 9cff6c76bc5aafcbf51cac7f0974ae01e4f6119402e75436abbb97f8ab15c211 SHA512 1109087c44706694d75a7f88f6ce96e8653467d5721505db747e7e70a4f40a24469b1fb3ffcb327819bba1548b0025412e46a11a41e329b0ecf847cb1094238c WHIRLPOOL 54d8a59bbd935b84a76370645d57eb07ee9160297ad457106b7b773682f915c9632446fc818a9fb23ab37074c923b918c168a7eca98555513cfb4dfa2eb106e5
DIST antlr-4.5.1.tar.gz 6158475 SHA256 faaaea662e7b4792fc2264bbefaf0e196e74f45ebe29ec638f978b008e6bb5ff SHA512 949306b0ee87a0c002664ee7ac0f32c43385c501b4e28f181417559ce09b07cc12a8441c3bb81f8a72feba3d4ccc693a3c03bcccad7fc81223cddb19e10468a9 WHIRLPOOL 00aeb41f8864d65d7693cf3ca4d36a10f094967fe96fefd67e4d64eb22d1502658ff2355125ab5e36f88a276d143247c0a2814cfcd990e08ec3fe6f6212ea42e

@ -0,0 +1,96 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils java-pkg-2 java-pkg-simple
DESCRIPTION="A parser generator for many languages"
HOMEPAGE="http://www.antlr3.org/"
SRC_URI="http://www.antlr3.org/download/${P}.tar.gz
http://www.antlr3.org/download/${P}.jar" # Prebuilt version needed.
LICENSE="BSD"
SLOT="3"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc test"
CDEPEND=">=dev-java/antlr-2.7.7-r7:0
dev-java/stringtemplate:0"
RDEPEND="${CDEPEND}
>=virtual/jre-1.6"
DEPEND="${CDEPEND}
>=virtual/jdk-1.6
test? ( dev-java/junit:4 )"
S="${WORKDIR}/${P}"
JAVA_GENTOO_CLASSPATH_EXTRA="${S}/${PN}-runtime.jar"
JAVA_GENTOO_CLASSPATH="antlr,stringtemplate"
src_unpack() {
unpack ${P}.tar.gz
}
java_prepare() {
java-pkg_clean
# These fixes have been applied in 3.5.
epatch "${FILESDIR}/${PV}-test-fixes.patch"
epatch "${FILESDIR}/${PV}-java-8.patch"
# Some tests fail under Java 8 in ways that probably aren't limited
# to the tests. This is bad but upstream is never going to update
# 3.2 even though other projects still rely on it. If any issues
# arise, we can only put pressure on those projects to upgrade.
if java-pkg_is-vm-version-ge 1.8; then
rm -v tool/src/test/java/org/antlr/test/Test{DFAConversion,SemanticPredicates,TopologicalSort}.java || die
fi
# 3.2 has strange hidden files.
find -type f -name "._*.*" -delete || die
}
src_compile() {
cd "${S}/runtime/Java/src/main" || die
JAVA_JAR_FILENAME="${S}/${PN}-runtime.jar" JAVA_PKG_IUSE="doc" java-pkg-simple_src_compile
cd "${S}/tool/src/main" || die
local G; for G in antlr codegen antlr.print assign.types buildnfa define; do # from pom.xml
antlr -o antlr2/org/antlr/grammar/v2/{,${G}.g} || die
done
# We have applied a patch to fix this version under Java 8. Trouble
# is that we need to run a prebuilt version before we can build our
# own and that version doesn't have the fix applied. We work around
# this by building just the offending class against the prebuilt
# version and then putting them together in the classpath. That
# isn't all. Due to a compiler limitation that Chewi doesn't fully
# understand, this class cannot be compiled by itself without a
# couple of tweaks that have been applied in the Java 8 patch.
ejavac -classpath "${DISTDIR}/${P}.jar" java/org/antlr/tool/CompositeGrammar.java
java -classpath "java:${DISTDIR}/${P}.jar" org.antlr.Tool $(find antlr3 -name "*.g") || die
JAVA_JAR_FILENAME="${S}/${PN}-tool.jar" java-pkg-simple_src_compile
java-pkg_addres "${S}/${PN}-tool.jar" resources
}
src_install() {
java-pkg_dojar ${PN}-{runtime,tool}.jar
java-pkg_dolauncher ${PN}${SLOT} --main org.antlr.Tool
use doc && java-pkg_dojavadoc runtime/Java/src/main/target/api
}
src_test() {
cd tool/src/test/java || die
local CP=".:${S}/${PN}-runtime.jar:${S}/${PN}-tool.jar:$(java-pkg_getjars junit-4,${JAVA_GENTOO_CLASSPATH})"
local TESTS=$(find * -name "Test*.java")
TESTS="${TESTS//.java}"
TESTS="${TESTS//\//.}"
ejavac -classpath "${CP}" $(find -name "*.java")
ejunit4 -classpath "${CP}" ${TESTS}
}

@ -0,0 +1,87 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils java-pkg-2 java-pkg-simple
DESCRIPTION="A parser generator for many languages"
HOMEPAGE="http://www.antlr3.org/"
SRC_URI="https://github.com/${PN}/${PN}3/archive/${PV}.tar.gz -> ${P}.tar.gz
http://www.antlr3.org/download/${P}-complete.jar" # Prebuilt version needed.
LICENSE="BSD"
SLOT="3.5"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc test"
CDEPEND="dev-java/stringtemplate:4"
RDEPEND="${CDEPEND}
>=virtual/jre-1.6"
DEPEND="${CDEPEND}
>=virtual/jdk-1.6
test? ( dev-java/junit:4 )"
S="${WORKDIR}/${PN}3-${PV}"
JAVA_GENTOO_CLASSPATH_EXTRA="${S}/${PN}-runtime.jar"
JAVA_GENTOO_CLASSPATH="stringtemplate-4"
src_unpack() {
unpack ${P}.tar.gz
}
java_prepare() {
java-pkg_clean
# This requires StringTemplate v3 and is only needed for
# output=template. Nothing in the tree currently needs that and the
# dependency situation is already hairy enough as it is.
rm -v runtime/Java/src/main/java/org/antlr/runtime/tree/DOTTreeGenerator.java || die
# Some tests have to be removed as a result.
rm -v tool/src/test/java/org/antlr/test/Test{RewriteTemplates,Templates}.java || die
epatch "${FILESDIR}/${PV}-test-fixes.patch"
# Some tests fail under Java 8 in ways that probably aren't limited
# to the tests. This is bad but upstream is never going to update
# 3.5. At the time of writing, we only use it to build 4 anyway.
if java-pkg_is-vm-version-ge 1.8; then
rm -v tool/src/test/java/org/antlr/test/Test{DFAConversion,SemanticPredicates,TopologicalSort}.java || die
fi
}
src_compile() {
cd "${S}/runtime/Java/src/main" || die
JAVA_JAR_FILENAME="${S}/${PN}-runtime.jar" JAVA_PKG_IUSE="doc" java-pkg-simple_src_compile
cd "${S}/tool/src/main" || die
java -jar "${DISTDIR}/${P}-complete.jar" $(find antlr3 -name "*.g") || die
JAVA_JAR_FILENAME="${S}/${PN}-tool.jar" java-pkg-simple_src_compile
java-pkg_addres "${S}/${PN}-tool.jar" resources
}
src_install() {
java-pkg_dojar ${PN}-{runtime,tool}.jar
java-pkg_dolauncher ${PN}${SLOT} --main org.antlr.Tool
use doc && java-pkg_dojavadoc runtime/Java/src/main/target/api
}
src_test() {
cd tool/src/test/java || die
local CP=".:${S}/${PN}-runtime.jar:${S}/${PN}-tool.jar:$(java-pkg_getjars junit-4,${JAVA_GENTOO_CLASSPATH})"
local TESTS=$(find * -name "Test*.java")
TESTS="${TESTS//.java}"
TESTS="${TESTS//\//.}"
ejavac -classpath "${CP}" $(find -name "*.java")
# ejunit automatically adds all registered subdependencies to the
# classpath, which is annoying in this case because of the cyclic
# dependency on stringtemplate. It will blow up when trying to find
# antlr-3.5 on the system before it is installed. The easiest but
# somewhat ugly way to avoid this is to unset JAVA_PKG_DEPEND_FILE.
JAVA_PKG_DEPEND_FILE= ejunit4 -classpath "${CP}" ${TESTS}
}

@ -0,0 +1,91 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
JAVA_PKG_IUSE="source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="A parser generator for many languages"
HOMEPAGE="http://www.antlr.org/"
SRC_URI="https://github.com/${PN}/${PN}4/archive/${PV}.tar.gz -> ${P}.tar.gz
http://www.antlr.org/download/${P}-complete.jar" # Prebuilt version needed.
LICENSE="BSD"
SLOT="4"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc test"
CDEPEND="dev-java/antlr:3.5
dev-java/stringtemplate:4
dev-java/treelayout:0"
RDEPEND="${CDEPEND}
>=virtual/jre-1.6"
DEPEND="${CDEPEND}
>=virtual/jdk-1.6
test? (
dev-java/hamcrest-core:1.3
dev-java/junit:4
)"
S="${WORKDIR}/${PN}4-${PV}"
JAVA_GENTOO_CLASSPATH="stringtemplate-4,treelayout"
src_unpack() {
unpack ${P}.tar.gz
}
java_prepare() {
java-pkg_clean
}
src_configure() {
# TODO: Make java-config accept a jar@package query.
JAVA_GENTOO_CLASSPATH_EXTRA="${S}/${PN}-runtime.jar:$(java-pkg_getjar antlr-3.5 antlr-runtime.jar)"
}
src_compile() {
cd "${S}/runtime/Java/src"
local G PKG
for G in $(find * -name "*.g4"); do
PKG="${G%/*}"
PKG="${PKG//\//.}"
java -jar "${DISTDIR}/${P}-complete.jar" -package "${PKG}" "${G}" || die
done
JAVA_JAR_FILENAME="${S}/${PN}-runtime.jar" JAVA_PKG_IUSE="doc" java-pkg-simple_src_compile
cd "${S}/tool/src"
antlr3.5 $(find -name "*.g") || die
JAVA_JAR_FILENAME="${S}/${PN}-tool.jar" java-pkg-simple_src_compile
java-pkg_addres "${S}/${PN}-tool.jar" ../resources
}
src_install() {
java-pkg_dojar ${PN}-{runtime,tool}.jar
java-pkg_dolauncher ${PN}${SLOT} --main org.antlr.v4.Tool
use doc && java-pkg_dojavadoc runtime/Java/src/target/api
use source && java-pkg_dosrc runtime/Java/src/org tool/src/org
}
junit_suite() {
cd "${S}/$1-testsuite/test" || die
local CP=".:${S}/runtime-testsuite/test:${S}/${PN}-tool.jar:$(java-pkg_getjars hamcrest-core-1.3,junit-4,${JAVA_GENTOO_CLASSPATH}):${JAVA_GENTOO_CLASSPATH_EXTRA}"
local TESTS=$(find ${2:-*} -name "Test*.java")
TESTS="${TESTS//.java}"
TESTS="${TESTS//\//.}"
ejavac -classpath "${CP}" $(find ${2:-*} -name "*.java")
ejunit4 -classpath "${CP}" ${TESTS}
}
src_test() {
# Only run Java runtime tests as we haven't built other languages.
junit_suite runtime org/antlr/v4/test/runtime/java
junit_suite tool
}

@ -0,0 +1,32 @@
diff -Naur antlr-3.3.orig/tool/src/main/java/org/antlr/tool/CompositeGrammar.java antlr-3.3/tool/src/main/java/org/antlr/tool/CompositeGrammar.java
--- antlr-3.3.orig/tool/src/main/java/org/antlr/tool/CompositeGrammar.java 2010-11-30 01:54:04.000000000 +0000
+++ antlr-3.3/tool/src/main/java/org/antlr/tool/CompositeGrammar.java 2015-10-03 14:28:50.063497181 +0100
@@ -219,7 +219,9 @@
public List<Grammar> getIndirectDelegates(Grammar g) {
List<Grammar> direct = getDirectDelegates(g);
List<Grammar> delegates = getDelegates(g);
- delegates.removeAll(direct);
+ if (direct != null) {
+ delegates.removeAll(direct);
+ }
return delegates;
}
@@ -389,7 +391,7 @@
Set<String> localRuleDefs = new HashSet<String>();
Set<String> overrides = new HashSet<String>();
// compute set of non-overridden rules for this delegate
- for (Rule r : p.grammar.getRules()) {
+ for (Rule r : (Collection<Rule>) p.grammar.getRules()) {
if ( !ruleDefs.contains(r.name) ) {
localRuleDefs.add(r.name);
}
@@ -409,7 +411,7 @@
// pass larger set of defined rules to delegates
if ( p.children!=null ) {
- for (CompositeGrammarTree delegate : p.children) {
+ for (CompositeGrammarTree delegate : (List<CompositeGrammarTree>) p.children) {
_minimizeRuleSet(ruleDefs, delegate);
}
}

@ -0,0 +1,249 @@
--- tool/src/test/java/org/antlr/test/BaseTest.java.orig 2010-11-30 01:54:04.000000000 +0000
+++ tool/src/test/java/org/antlr/test/BaseTest.java 2015-09-24 22:25:36.872191194 +0100
@@ -130,8 +130,8 @@
try {
Process process =
Runtime.getRuntime().exec(args, null, outputDir);
- StreamVacuum stdout = new StreamVacuum(process.getInputStream());
- StreamVacuum stderr = new StreamVacuum(process.getErrorStream());
+ StreamVacuum stdout = new StreamVacuum(process.getInputStream(), tmpdir+"/"+fileName);
+ StreamVacuum stderr = new StreamVacuum(process.getErrorStream(), tmpdir+"/"+fileName);
stdout.start();
stderr.start();
process.waitFor();
@@ -406,8 +406,8 @@
//System.out.println("execParser: "+cmdLine);
Process process =
Runtime.getRuntime().exec(args, null, new File(tmpdir));
- StreamVacuum stdoutVacuum = new StreamVacuum(process.getInputStream());
- StreamVacuum stderrVacuum = new StreamVacuum(process.getErrorStream());
+ StreamVacuum stdoutVacuum = new StreamVacuum(process.getInputStream(), tmpdir+"/input");
+ StreamVacuum stderrVacuum = new StreamVacuum(process.getErrorStream(), tmpdir+"/input");
stdoutVacuum.start();
stderrVacuum.start();
process.waitFor();
@@ -499,8 +499,10 @@
StringBuffer buf = new StringBuffer();
BufferedReader in;
Thread sucker;
- public StreamVacuum(InputStream in) {
+ String inputFile;
+ public StreamVacuum(InputStream in, String inputFile) {
this.in = new BufferedReader( new InputStreamReader(in) );
+ this.inputFile = inputFile;
}
public void start() {
sucker = new Thread(this);
@@ -510,6 +512,8 @@
try {
String line = in.readLine();
while (line!=null) {
+ if (line.startsWith(inputFile))
+ line = line.substring(inputFile.length()+1);
buf.append(line);
buf.append('\n');
line = in.readLine();
--- tool/src/test/java/org/antlr/test/TestTopologicalSort.java.orig 2009-09-23 19:36:14.000000000 +0100
+++ tool/src/test/java/org/antlr/test/TestTopologicalSort.java 2010-11-30 01:54:04.000000000 +0000
@@ -49,7 +49,7 @@
g.addEdge("F", "H");
g.addEdge("E", "F");
- String expecting = "[H, F, E, D, A, G, B, C]";
+ String expecting = "[H, F, E, D, G, A, B, C]";
List nodes = g.sort();
String result = nodes.toString();
assertEquals(expecting, result);
@@ -91,7 +91,7 @@
g.addEdge("Def.g", "Java.tokens"); // walkers feed off generated tokens
g.addEdge("Ref.g", "Java.tokens");
- String expecting = "[MyJava.tokens, Java.g, Java.tokens, Def.g, Ref.g]";
+ String expecting = "[MyJava.tokens, Java.g, Java.tokens, Ref.g, Def.g]";
List nodes = g.sort();
String result = nodes.toString();
assertEquals(expecting, result);
@@ -105,7 +105,7 @@
g.addEdge("Def.g", "JavaLexer.tokens");
g.addEdge("Ref.g", "JavaLexer.tokens");
- String expecting = "[JavaLexer.g, JavaLexer.tokens, JavaParser.g, Def.g, Ref.g]";
+ String expecting = "[JavaLexer.g, JavaLexer.tokens, JavaParser.g, Ref.g, Def.g]";
List nodes = g.sort();
String result = nodes.toString();
assertEquals(expecting, result);
--- tool/src/test/java/org/antlr/test/TestSemanticPredicates.java.orig 2009-09-23 19:36:12.000000000 +0100
+++ tool/src/test/java/org/antlr/test/TestSemanticPredicates.java 2015-12-05 13:52:05.923411552 +0000
@@ -731,19 +731,23 @@
"c : a\n" +
" | b\n" +
" ;\n");
- String expecting =
- ".s0-X->.s1\n" +
- ".s1-{((a&&c)||(b&&c))}?->:s2=>1\n" +
- ".s1-{c}?->:s3=>2\n";
- int[] unreachableAlts = null;
- int[] nonDetAlts = null;
- String ambigInput = null;
- int[] insufficientPredAlts = null;
- int[] danglingAlts = null;
- int numWarnings = 0;
- checkDecision(g, 3, expecting, unreachableAlts,
- nonDetAlts, ambigInput, insufficientPredAlts,
- danglingAlts, numWarnings, false);
+ try {
+ String expecting =
+ ".s0-X->.s1\n" +
+ ".s1-{((a&&c)||(b&&c))}?->:s2=>1\n" +
+ ".s1-{c}?->:s3=>2\n";
+ checkDecision(g, 3, expecting, null,
+ null, null, null,
+ null, 0, false);
+ } catch (org.junit.ComparisonFailure e) {
+ String expecting =
+ ".s0-X->.s1\n" +
+ ".s1-{((b&&c)||(a&&c))}?->:s2=>1\n" +
+ ".s1-{c}?->:s3=>2\n";
+ checkDecision(g, 3, expecting, null,
+ null, null, null,
+ null, 0, false);
+ }
}
@Test
--- tool/src/test/java/org/antlr/test/TestAttributes.java.orig 2015-12-05 13:55:55.392843185 +0000
+++ tool/src/test/java/org/antlr/test/TestAttributes.java 2015-12-05 14:04:38.120599871 +0000
@@ -439,20 +439,15 @@
ErrorManager.setErrorListener(equeue);
Grammar g = new Grammar(
"parser grammar t;\n"+
- "a : x=b {"+action+"} ;\n" +
+ "a : x=b {###"+action+"!!!} ;\n" +
"b : B ;\n");
Tool antlr = newTool();
CodeGenerator generator = new CodeGenerator(antlr, g, "Java");
g.setCodeGenerator(generator);
- generator.genRecognizer(); // forces load of templates
- ActionTranslator translator = new ActionTranslator(generator,"a",
- new antlr.CommonToken(ANTLRParser.ACTION,action),1);
- String rawTranslation =
- translator.translate();
- StringTemplateGroup templates =
- new StringTemplateGroup(".", AngleBracketTemplateLexer.class);
- StringTemplate actionST = new StringTemplate(templates, rawTranslation);
- String found = actionST.toString();
+ generator.genRecognizer(); // codegen phase sets some vars we need
+ StringTemplate codeST = generator.getRecognizerST();
+ String code = codeST.toString();
+ String found = code.substring(code.indexOf("###")+3,code.indexOf("!!!"));
assertEquals(expecting, found);
assertEquals("unexpected errors: "+equeue, 0, equeue.errors.size());
@@ -1771,20 +1766,15 @@
Grammar g = new Grammar(
"parser grammar t;\n" +
"options {output=template;}\n"+
- "a : {"+action+"}\n" +
+ "a : {###"+action+"!!!}\n" +
" ;\n");
Tool antlr = newTool();
CodeGenerator generator = new CodeGenerator(antlr, g, "Java");
g.setCodeGenerator(generator);
- generator.genRecognizer(); // forces load of templates
- ActionTranslator translator = new ActionTranslator(generator,"a",
- new antlr.CommonToken(ANTLRParser.ACTION,action),1);
- String rawTranslation =
- translator.translate();
- StringTemplateGroup templates =
- new StringTemplateGroup(".", AngleBracketTemplateLexer.class);
- StringTemplate actionST = new StringTemplate(templates, rawTranslation);
- String found = actionST.toString();
+ generator.genRecognizer(); // codegen phase sets some vars we need
+ StringTemplate codeST = generator.getRecognizerST();
+ String code = codeST.toString();
+ String found = code.substring(code.indexOf("###")+3,code.indexOf("!!!"));
assertEquals(expecting, found);
assertEquals("unexpected errors: "+equeue, 0, equeue.errors.size());
@@ -1869,35 +1859,21 @@
ErrorManager.setErrorListener(equeue);
Grammar g = new Grammar(
"grammar t;\n"+
- "a : b {"+action+"}\n" +
- " | c {"+action2+"}\n" +
+ "a : b {###"+action+"!!!}\n" +
+ " | c {^^^"+action2+"&&&}\n" +
" ;\n" +
"b : 'a';\n" +
"c : '0';\n");
Tool antlr = newTool();
CodeGenerator generator = new CodeGenerator(antlr, g, "Java");
g.setCodeGenerator(generator);
- generator.genRecognizer(); // forces load of templates
- ActionTranslator translator = new ActionTranslator(generator,"a",
- new antlr.CommonToken(ANTLRParser.ACTION,action),1);
- String rawTranslation =
- translator.translate();
- StringTemplateGroup templates =
- new StringTemplateGroup(".", AngleBracketTemplateLexer.class);
- StringTemplate actionST = new StringTemplate(templates, rawTranslation);
- String found = actionST.toString();
+ generator.genRecognizer(); // codegen phase sets some vars we need
+ StringTemplate codeST = generator.getRecognizerST();
+ String code = codeST.toString();
+ String found = code.substring(code.indexOf("###")+3,code.indexOf("!!!"));
assertEquals(expecting, found);
- assertEquals("unexpected errors: "+equeue, 0, equeue.errors.size());
- translator = new ActionTranslator(generator,
- "a",
- new antlr.CommonToken(ANTLRParser.ACTION,action2),2);
- rawTranslation =
- translator.translate();
- templates =
- new StringTemplateGroup(".", AngleBracketTemplateLexer.class);
- actionST = new StringTemplate(templates, rawTranslation);
- found = actionST.toString();
+ found = code.substring(code.indexOf("^^^")+3,code.indexOf("&&&"));
assertEquals(expecting2, found);
@@ -3208,7 +3184,7 @@
@Test public void testAssignToTreeNodeAttribute() throws Exception {
String action = "$tree.scope = localScope;";
- String expecting = "(()retval.tree).scope = localScope;";
+ String expecting = "((Object)retval.tree).scope = localScope;";
ErrorQueue equeue = new ErrorQueue();
ErrorManager.setErrorListener(equeue);
Grammar g = new Grammar(
@@ -3219,24 +3195,17 @@
" Scope localScope=null;\n" +
"}\n" +
"@after {\n" +
- " $tree.scope = localScope;\n" +
+ " ###$tree.scope = localScope;!!!\n" +
"}\n" +
" : 'a' -> ^('a')\n" +
";");
Tool antlr = newTool();
CodeGenerator generator = new CodeGenerator(antlr, g, "Java");
g.setCodeGenerator(generator);
- generator.genRecognizer(); // forces load of templates
- ActionTranslator translator = new ActionTranslator(generator,
- "rule",
- new antlr.CommonToken(ANTLRParser.ACTION,action),1);
- String rawTranslation =
- translator.translate();
- StringTemplateGroup templates =
- new StringTemplateGroup(".", AngleBracketTemplateLexer.class);
- StringTemplate actionST = new StringTemplate(templates, rawTranslation);
- String found = actionST.toString();
- assertEquals("unexpected errors: "+equeue, 0, equeue.errors.size());
+ generator.genRecognizer(); // codegen phase sets some vars we need
+ StringTemplate codeST = generator.getRecognizerST();
+ String code = codeST.toString();
+ String found = code.substring(code.indexOf("###")+3,code.indexOf("!!!"));
assertEquals(expecting, found);
}

@ -0,0 +1,36 @@
diff -Naur antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestAttributes.java antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestAttributes.java
--- antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestAttributes.java 2014-03-25 11:47:54.000000000 +0000
+++ antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestAttributes.java 2015-10-02 22:42:56.921263410 +0100
@@ -2131,7 +2132,7 @@
assertEquals(expecting, found);
}
- @Test public void testRuleLabelOnTwoDifferentRulesTemplate() throws Exception {
+ @org.junit.Ignore @Test public void testRuleLabelOnTwoDifferentRulesTemplate() throws Exception {
String grammar =
"grammar T;\n"+
"options {output=template;}\n"+
diff -Naur antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestSyntacticPredicateEvaluation.java antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestSyntacticPredicateEvaluation.java
--- antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestSyntacticPredicateEvaluation.java 2014-03-25 11:47:54.000000000 +0000
+++ antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestSyntacticPredicateEvaluation.java 2015-10-02 22:43:07.303105023 +0100
@@ -339,7 +340,7 @@
assertEquals("b:alt 2 a:alt 1\n", found);
}
- @Test public void testSynPredWithOutputTemplate() throws Exception {
+ @org.junit.Ignore @Test public void testSynPredWithOutputTemplate() throws Exception {
// really just seeing if it will compile
String grammar =
"grammar T;\n" +
diff -Naur antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestTreeParsing.java antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestTreeParsing.java
--- antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestTreeParsing.java 2014-03-25 11:47:54.000000000 +0000
+++ antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestTreeParsing.java 2015-10-02 22:41:32.235554776 +0100
@@ -141,7 +142,7 @@
assertEquals("alt 1\n", found);
}
- @Test public void testTemplateOutput() throws Exception {
+ @org.junit.Ignore @Test public void testTemplateOutput() throws Exception {
String grammar =
"grammar T;\n" +
"options {output=AST;}\n" +

@ -0,0 +1,32 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit java-pkg-2 java-ant-2
DESCRIPTION="Multimedia framework for Java written by Fluendo"
HOMEPAGE="http://www.theora.org/cortado/"
SRC_URI="http://downloads.xiph.org/releases/cortado/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
RDEPEND=">=virtual/jre-1.6"
DEPEND=">=virtual/jdk-1.6
app-arch/unzip"
EANT_BUILD_TARGET="stripped"
src_prepare() {
echo "#!/bin/sh" > scripts/get-revision
echo "echo ${PV}" >> scripts/get-revision
}
src_install() {
java-pkg_newjar "output/dist/applet/${PN}-ovt-stripped-${PV}.jar"
dodoc ChangeLog HACKING NEWS README RELEASE TODO \
|| die "dodoc failed"
}

@ -0,0 +1,32 @@
--- ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c.orig 2014-03-18 10:35:50.904133661 +0100
+++ ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c 2014-03-18 10:37:03.808131298 +0100
@@ -42,8 +42,9 @@
#include <pango/pango.h>
#include <pango/pangoft2.h>
#include <pango/pangofc-font.h>
-#include <freetype/ftglyph.h>
-#include <freetype/ftoutln.h>
+#include <ft2build.h>
+#include FT_GLYPH_H
+#include FT_OUTLINE_H
#include "jcl.h"
#include "gdkfont.h"
#include "gnu_java_awt_peer_gtk_FreetypeGlyphVector.h"
--- ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c.orig 2014-03-18 10:37:12.048131031 +0100
+++ ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c 2014-03-18 10:37:58.416129528 +0100
@@ -39,10 +39,11 @@
#include <pango/pango.h>
#include <pango/pangoft2.h>
#include <pango/pangofc-font.h>
-#include <freetype/ftglyph.h>
-#include <freetype/ftoutln.h>
-#include <freetype/fttypes.h>
-#include <freetype/tttables.h>
+#include <ft2build.h>
+#include FT_GLYPH_H
+#include FT_OUTLINE_H
+#include FT_TYPES_H
+#include FT_TRUETYPE_TABLES_H
#include "gdkfont.h"
#include "gtkpeer.h"
#include "gnu_java_awt_peer_gtk_GdkFontPeer.h"

@ -0,0 +1,136 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils java-pkg-2 multilib
MY_P=${P/gnu-/}
DESCRIPTION="Free core class libraries for use with virtual machines and compilers for the Java language"
SRC_URI="mirror://gnu/classpath/${MY_P}.tar.gz"
HOMEPAGE="https://www.gnu.org/software/classpath"
LICENSE="GPL-2-with-linking-exception"
SLOT="0.98"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE="alsa debug doc dssi examples gconf +gjdoc gmp gtk gstreamer qt4 xml"
REQUIRED_USE="doc? ( gjdoc )"
RDEPEND="alsa? ( media-libs/alsa-lib )
dssi? ( >=media-libs/dssi-0.9 )
gconf? ( gnome-base/gconf:2= )
gjdoc? ( >=dev-java/antlr-2.7.7-r7:0 )
gmp? ( >=dev-libs/gmp-4.2.4:0= )
gstreamer? (
>=media-libs/gstreamer-0.10.10:0.10=
>=media-libs/gst-plugins-base-0.10.10:0.10=
x11-libs/gtk+:2=
)
gtk? (
>=x11-libs/gtk+-2.8:2=
dev-libs/glib:2=
media-libs/freetype:2=
>=x11-libs/cairo-1.1.9:=
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/pango
)
qt4? ( dev-qt/qtgui:4= )
xml? ( >=dev-libs/libxml2-2.6.8:2= >=dev-libs/libxslt-1.1.11 )"
DEPEND="app-arch/zip
dev-java/eclipse-ecj
gtk? (
x11-libs/libXrender
>=x11-libs/libXtst-1.1.0
x11-proto/xproto
)
>=virtual/jdk-1.5
${RDEPEND}"
RDEPEND=">=virtual/jre-1.5
${RDEPEND}"
S=${WORKDIR}/${MY_P}
java_prepare() {
epatch "${FILESDIR}"/${P}-freetype-2.5.3-support.patch
}
src_configure() {
# We require ecj anyway, so force it to avoid problems with bad versions of javac
export JAVAC="${EPREFIX}/usr/bin/ecj"
export JAVA="${EPREFIX}/usr/bin/java"
# build takes care of them itself, duplicate -source -target kills ecj
export JAVACFLAGS="-nowarn"
# build system is passing -J-Xmx768M which ecj however ignores
# this will make the ecj launcher do it (seen case where default was not enough heap)
export gjl_java_args="-Xmx768M"
# don't use econf, because it ends up putting things under /usr, which may
# collide with other slots of classpath
local myconf
if use gjdoc; then
local antlr=$(java-pkg_getjar antlr antlr.jar)
myconf="--with-antlr-jar=${antlr}"
fi
if use doc; then
# Avoid a cyclic dependency on gjdoc by building gjdoc before
# the docs. First we need to trick configure. Hack alert!
echo -e "#!/bin/sh\necho gjdoc 0.8" > tools/gjdoc.build || die
chmod 755 tools/gjdoc.build || die
fi
ANTLR= ./configure \
$(use_enable alsa) \
$(use_enable debug ) \
$(use_enable examples) \
$(use_enable gconf gconf-peer) \
$(use_enable gjdoc) \
$(use_enable gmp) \
$(use_enable gtk gtk-peer) \
$(use_enable gstreamer gstreamer-peer) \
$(use_enable qt4 qt-peer) \
$(use_enable xml xmlj) \
$(use_enable dssi ) \
$(use_with doc gjdoc "${S}/tools/gjdoc.build") \
--enable-jni \
--disable-dependency-tracking \
--disable-plugin \
--host=${CHOST} \
--prefix="${EPREFIX}"/usr/${PN}-${SLOT} \
--with-ecj-jar=$(java-pkg_getjar --build-only eclipse-ecj-* ecj.jar) \
--disable-Werror \
${myconf} || die "configure failed"
}
src_compile() {
if use doc; then
# Build gjdoc before the docs. We need to hack the real gjdoc
# script to run from the build directory instead.
sed -r "s:^(tools_dir=).*:\1${S}/tools:" tools/gjdoc > tools/gjdoc.build || die
emake -C lib
emake -C tools
fi
default
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS BUGS ChangeLog* HACKING NEWS README THANKYOU TODO
java-pkg_regjar /usr/${P}/share/classpath/glibj.zip
if use doc; then
# Strangely the Makefile doesn't install these.
insinto "/usr/${PN}-${SLOT}/share/classpath/api"
doins -r doc/api/html/*
fi
}

@ -13,7 +13,7 @@ SRC_URI="http://search.maven.org/remotecontent?filepath=com/google/${PN}/${PN}/$
LICENSE="Apache-2.0"
SLOT="18"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
CDEPEND="
dev-java/javax-inject:0

@ -38,13 +38,13 @@ SRC_URI="
S=${WORKDIR}
# not for metadata use:
use hppa-hpux && JDK_DIST=${PA_JDK_DIST}
use ia64-hpux && JDK_DIST=${IA_JDK_DIST}
#use hppa64-hpux && JDK_DIST=${PA_JDK_DIST}
#use ia64w-hpux && JDK_DIST=${IA_JDK_DIST}
pkg_nofetch() {
# not for metadata use:
use hppa-hpux && JDK_DIST=${PA_JDK_DIST}
use ia64-hpux && JDK_DIST=${IA_JDK_DIST}
#use hppa64-hpux && JDK_DIST=${PA_JDK_DIST}
#use ia64w-hpux && JDK_DIST=${IA_JDK_DIST}
einfo "Due to license restrictions, we cannot redistribute or fetch the distfiles."
einfo "Please visit"
einfo " ${DOWNLOADPAGE}"

@ -0,0 +1,90 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
JAVA_PKG_IUSE="doc source test"
WANT_ANT_TASKS="ant-nodeps"
inherit java-pkg-2 java-ant-2 versionator
DESCRIPTION="An abstracted interface to invoking native functions from java"
HOMEPAGE="http://kenai.com/projects/jaffl"
SRC_URI="https://github.com/jnr/jnr-ffi/tarball/${PV} -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
CDEPEND="
dev-java/asm:3
dev-java/jffi:1.2
dev-java/jnr-x86asm:1.0"
RDEPEND="
${CDEPEND}
>=virtual/jre-1.6"
DEPEND="
${CDEPEND}
app-arch/unzip
>=virtual/jdk-1.6
test? (
dev-java/junit:4
dev-java/ant-junit:0
dev-java/hamcrest-core:0
)"
JAR_VERSION=$(get_version_component_range 1-2)
src_unpack() {
default
mv * "${P}" || die
}
java_prepare() {
# Don't choke on errors from generating the Javadoc
cd "${S}" || die
epatch "${FILESDIR}"/${P}-library-path.patch
epatch "${FILESDIR}"/${P}-GNUmakefile.patch
rm -vf lib/{.,junit*}/*.jar || die
java-ant_xml-rewrite -f ./nbproject/build-impl.xml \
-c -e javadoc \
-a failonerror \
-v no
java-pkg_jar-from --into lib jffi-1.2
java-pkg_jar-from --into lib jnr-x86asm-1.0
java-pkg_jar-from --into lib asm-3 asm.jar asm-3.2.jar
java-pkg_jar-from --into lib asm-3 asm-analysis.jar asm-analysis-3.2.jar
java-pkg_jar-from --into lib asm-3 asm-commons.jar asm-commons-3.2.jar
java-pkg_jar-from --into lib asm-3 asm-tree.jar asm-tree-3.2.jar
java-pkg_jar-from --into lib asm-3 asm-util.jar asm-utils-3.2.jar
java-pkg_jar-from --into lib asm-3 asm-xml.jar asm-xml-3.2.jar
}
EANT_EXTRA_ARGS="-Dreference.jffi.jar=lib/jffi.jar \
-Dreference.jnr-x86asm.jar=lib/jnr-x86asm.jar \
-Dproject.jffi=\"${S}\" \
-Dproject.jnr-x86asm=\"${S}\"
-D\"already.built.${S}\"=true"
src_test() {
local paths="$(java-config -di jnr-x86asm-1.0,jffi-1.2):${S}/build"
ANT_TASKS="ant-junit ant-nodeps" eant test \
-Drun.jvmargs="-Djava.library.path=${paths}" \
-Dlibs.junit_4.classpath="$(java-pkg_getjars junit-4,hamcrest-core)" ${EANT_EXTRA_ARGS}
}
src_install() {
java-pkg_newjar dist/${PN}-${JAR_VERSION}.jar
use doc && java-pkg_dojavadoc dist/javadoc
use source && java-pkg_dosrc src/*
}

@ -16,7 +16,7 @@ SRC_URI="https://atinject.googlecode.com/files/${MY_P}-bundle.jar"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
KEYWORDS="amd64 ~ppc ~ppc64 x86"
DEPEND=">=virtual/jdk-1.5
app-arch/unzip"

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="2"
EAPI="5"
JAVA_PKG_IUSE="doc source"
@ -19,14 +19,16 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
COMMON_DEP="dev-java/antlr:0[java]
>=dev-java/xerces-2.7
=dev-java/junit-3.8*
COMMON_DEP=">=dev-java/antlr-2.7.7-r7:0
>=dev-java/log4j-1.2.8:0
dev-java/junit:0
dev-java/xmldb:0"
RDEPEND=">=virtual/jre-1.5
RDEPEND=">=virtual/jre-1.6
dev-java/xerces:2
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.5
DEPEND=">=virtual/jdk-1.6
dev-db/hsqldb:0
${COMMON_DEP}"
@ -41,7 +43,6 @@ java_prepare() {
java-pkg_jarfrom antlr
java-pkg_jarfrom junit
java-pkg_jarfrom log4j log4j.jar log4j-1.2.8.jar
java-pkg_jarfrom xerces-2
java-pkg_jarfrom xmldb xmldb-api.jar xmldb-api-20021118.jar
java-pkg_jarfrom xmldb xmldb-api-sdk.jar xmldb-api-sdk-20021118.jar
java-pkg_jarfrom --build-only ant-core ant.jar ant-1.5.4.jar
@ -76,13 +77,17 @@ src_compile() {
}
src_install() {
# Not entirely optional but this avoids a warning at build time and
# RDEPEND will enforce its presence anyway.
java-pkg_register-optional-dependency xerces-2
pushd dist > /dev/null
for jar in *.jar; do
java-pkg_newjar ${jar} ${jar/-${PV}/}
done
popd > /dev/null
dodoc NOTICE || die
dodoc NOTICE
if use doc; then
java-pkg_dojavadoc dist/doc/api

@ -1,4 +1,2 @@
DIST Jaybird-2.1.5-src.zip 6047595 SHA256 3b475bca2cc5c3cbf6032c75ff2ea47d2e77abad18df36e149c1eaccfc15a868 SHA512 e6d7eb70cf59d5d9a2dd7817bc11574ba5f014f2aae6cb6c4b141e7d0a172cf091b950e3475ee5d4389f3ca3efae3f34ed1efbc694b74a2a99adc2694c936a7e WHIRLPOOL ca5e3fedce5f13a00ea37f946f9f0141d3132ea3b9209623961b32868946dd0e36621d0280716263031bc02dbcc7f8cd80de29da5e0235127d9c0d9e4deea54e
DIST Jaybird-2.1.6-src.zip 5849860 SHA256 819d47e37b91d0ea23f8b043d504a00f5b19d207d80556f2bf465abf1e50fa48 SHA512 756ad70e3eb7c80d59afffba132c207310c2e9346c6f08b6a023305db36fd46a351c33259ca7d73eff853e9f7ff2245234297de33c7d9042fe87c3a8df204014 WHIRLPOOL aa1c4bd03373dd7671c5d15db4210e1ccd319b41fd0259033944d1cfa75dac17a22293cf25a4c922dc17f4649ca4315d6136a878e1dad758664db7e6e03019ad
DIST Jaybird-2.2.7-src.tar.gz 9548804 SHA256 ff88c4b2297b153a9693bc6fd57761f6c0472518f12dcd5892cf72e31721cbad SHA512 53a5fb13f82f57cb1dd1febba81cb43d92dabe4973b4cb0df185188e3a48bbb0a206132297759459708b2e44d155f5936015f547fed834f7cc2287d5aa423f22 WHIRLPOOL 0297f49d2c866ba2dbd250fea5f928d2e04cbab4f22497c4d12449295054ba33d109e21260ab6cf0bdf41b8cfbb539018994432c4e8f418bfe10cb46322edaf7
DIST v2.2.8.zip 10235590 SHA256 6345bc37c958f8bb6a69b07281b6a4e1bd643e822f3223b4a171d1fc74253b77 SHA512 05689c86bcde9bb7611052168414c75bffac2a30c984f0c3db602baf6c463c6a9d2f424fddb94bfd00634a399901edbf37700f6cb3ac0d8fa246006f3add1e15 WHIRLPOOL 01e6e38014cf7d43410677dc115747c796811ed1b514998de296b9d6ce585c2b5efb427df220f8c471dfcc21df9aa312fbf2f9889a5649525daf15bd8108e267
DIST Jaybird-2.2.9-src.zip 9833669 SHA256 46b807c85efd3531aef612b5d7a71e570c02e344cf73d67890c1194d3a250828 SHA512 487e64658553f60fa2a1f9b6d7136504119bac2905c6480cac01a94ce2c6e70b82449ee9a1b9b1ee96a12646ef69064d542401fc62564662f14531dea3790e6e WHIRLPOOL f3197921d0eca901662353ab5150ba62b72ac40ccf884f78f229fadac2239bc56964d5ae452d0dcddf82099b66a71c734beaffe6b8a4b3d9bffec98061d7dc0a

@ -1,110 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
JAVA_PKG_IUSE="doc source examples test"
inherit eutils java-pkg-2 java-ant-2
At="Jaybird-${PV/_/}-src"
DESCRIPTION="JDBC Type 2 and 4 drivers for Firebird SQL server"
HOMEPAGE="http://jaybirdwiki.firebirdsql.org/"
SRC_URI="mirror://sourceforge/firebird/${At}.zip"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="jni"
RDEPEND=">=virtual/jre-1.6
dev-java/ant-core
dev-java/log4j"
DEPEND="=virtual/jdk-1.6*
app-arch/unzip
dev-java/ant-core
dev-java/log4j
jni? ( dev-java/cpptasks )
test? (
=dev-java/junit-3.8*
dev-java/ant-junit
)"
S="${WORKDIR}/client-java"
MY_PN="jaybird"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/archive-xml-2.1.0.patch"
epatch "${FILESDIR}/compile_xml-2.1.2.patch"
# JAVA_ANT_ENCODING doesn't work because it doesn't like entities
java-ant_xml-rewrite -f build.xml -c -e javac -a encoding -v ISO-8859-1
cd "${S}/lib/"
rm -v *.jar
use test && java-pkg_jar-from --build-only junit junit.jar
cd "${S}/src/lib/"
# the build.xml unpacks this and uses stuff
mv mini-j2ee.jar "${T}" || die "Failed to move mini-j2ee.jar to ${T}"
rm -v *.jar *.zip
mv "${T}"/mini-j2ee.jar . || die "Failed to move mini-j2ee.jar back from ${T}"
# Hack to add ant.jar to classpath without patch
java-pkg_jar-from ant-core ant.jar jaas.jar
java-pkg_jar-from log4j log4j.jar log4j-core.jar
}
src_compile() {
java-pkg_filter-compiler jikes
use jni && ANT_TASKS="cpptasks"
eant $(use test && echo "-Dtests=true") jars \
$(use jni && echo "compile-native") \
$(use_doc javadocs)
}
src_install() {
cd "${S}/output/lib/"
java-pkg_newjar ${MY_PN}-${PV}.jar ${PN}.jar
for jar in full pool; do
java-pkg_newjar ${MY_PN}-${jar}-${PV}.jar ${MY_PN}-${jar}.jar || die "java-pkg_newjar ${MY_PN}-${jar}.jar failed"
done
if use test; then
java-pkg_newjar ${MY_PN}-test-${PV}.jar ${MY_PN}-${jar}.jar || die "java-pkg_newjar ${MY_PN}-${jar}.jar failed"
fi
if use jni; then
cd "${S}/output/native"
sodest="/usr/lib/"
java-pkg_doso libjaybird21.so || die \
"java-pkg_doso ${sodest}libjaybird21.so failed"
fi
cd "${S}"
if use examples; then
insinto /usr/share/doc/${PF}/
doins -r examples || die "installing examples failed"
fi
use source && java-pkg_dosrc "${S}"/src/*/org
cd "${S}/output"
use doc && java-pkg_dohtml -r docs/
dodoc etc/{*.txt,default.mf}
dohtml etc/*.html
}
src_test() {
#
# Warning about timeouts without Firebird installed and running Locally
#
ewarn "You will experience long timeouts when running junit tests"
ewarn "without Firebird installed and running locally. The tests will"
ewarn "complete without Firebird, but network timeouts prolong the"
ewarn "testing phase considerably."
ANT_TASKS="ant-junit" eant all-tests-pure-java
}

@ -1,108 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="2"
JAVA_PKG_IUSE="doc source examples test"
inherit eutils java-pkg-2 java-ant-2
At="Jaybird-${PV/_/}-src"
DESCRIPTION="JDBC Type 2 and 4 drivers for Firebird SQL server"
HOMEPAGE="http://jaybirdwiki.firebirdsql.org/"
SRC_URI="mirror://sourceforge/firebird/${At}.zip"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="jni"
RDEPEND=">=virtual/jre-1.6
dev-java/log4j:0
dev-java/glassfish-connector-api:0"
DEPEND=">=virtual/jdk-1.6
${RDEPEND}
app-arch/unzip
jni? ( dev-java/cpptasks )
test? (
dev-java/ant-junit
)"
S="${WORKDIR}/client-java.sources"
MY_PN="jaybird"
java_prepare() {
epatch "${FILESDIR}/archive-xml-2.1.0.patch"
epatch "${FILESDIR}/compile_xml-2.1.2.patch"
epatch "${FILESDIR}/2.1.6-remove-unused-ant-import.patch"
# JAVA_ANT_ENCODING doesn't work because it doesn't like entities
java-ant_xml-rewrite -f build.xml -c -e javac -a encoding -v ISO-8859-1
cd "${S}/lib/"
rm -v *.jar
use test && java-pkg_jar-from --build-only junit junit.jar
cd "${S}/src/lib/"
rm -v *.jar *.zip
# the build.xml unpacks this and uses stuff
touch empty
jar cf mini-j2ee.jar empty
}
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_GENTOO_CLASSPATH="glassfish-connector-api,log4j"
EANT_BUILD_TARGET="jars"
EANT_DOC_TARGET="javadocs"
src_compile() {
java-pkg_filter-compiler jikes
use jni && ANT_TASKS="cpptasks"
java-pkg-2_src_compile $(use test && echo "-Dtests=true") \
$(use jni && echo "compile-native")
}
src_install() {
cd "${S}/output/lib/"
java-pkg_newjar ${MY_PN}-${PV}.jar ${PN}.jar
for jar in full pool; do
java-pkg_newjar ${MY_PN}-${jar}-${PV}.jar ${MY_PN}-${jar}.jar || die "java-pkg_newjar ${MY_PN}-${jar}.jar failed"
done
if use test; then
java-pkg_newjar ${MY_PN}-test-${PV}.jar ${MY_PN}-${jar}.jar || die "java-pkg_newjar ${MY_PN}-${jar}.jar failed"
fi
if use jni; then
cd "${S}/output/native"
sodest="/usr/lib/"
java-pkg_doso libjaybird21.so || die \
"java-pkg_doso ${sodest}libjaybird21.so failed"
fi
cd "${S}"
if use examples; then
insinto /usr/share/doc/${PF}/
doins -r examples || die "installing examples failed"
fi
use source && java-pkg_dosrc "${S}"/src/*/org
cd "${S}/output"
use doc && java-pkg_dohtml -r docs/
dodoc etc/{*.txt,default.mf}
dohtml etc/*.html
}
src_test() {
#
# Warning about timeouts without Firebird installed and running Locally
#
ewarn "You will experience long timeouts when running junit tests"
ewarn "without Firebird installed and running locally. The tests will"
ewarn "complete without Firebird, but network timeouts prolong the"
ewarn "testing phase considerably."
ANT_TASKS="ant-junit" eant all-tests-pure-java
}

@ -1,125 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
JAVA_PKG_IUSE="doc source examples test"
inherit eutils java-pkg-2 java-ant-2
At="Jaybird-${PV/_/}-src"
DESCRIPTION="JDBC Type 2 and 4 drivers for Firebird SQL server"
HOMEPAGE="http://jaybirdwiki.firebirdsql.org/"
SRC_URI="mirror://sourceforge/firebird/${At}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="jni"
RDEPEND=">=virtual/jre-1.6
dev-java/junit:4
dev-java/antlr:4
dev-java/log4j:0
dev-java/glassfish-connector-api:0"
DEPEND=">=virtual/jdk-1.6
${RDEPEND}
app-arch/unzip
jni? ( dev-java/cpptasks )
test? ( dev-java/ant-junit:0 )"
S="${WORKDIR}/${At}"
MY_PN="jaybird"
java_prepare() {
# prevent test/sources/javadoc from being built unless wanted
sed -i -e 's|name="jar-test" depends="compile"|name="jar-test" depends="compile" if="tests"|' \
"${S}/build/archive.xml" || die
sed -i -e 's|name="compile-examples"|name="compile-examples" if="examples"|' \
-e 's|,set-jdbc-42-test"|,set-jdbc-42-test" if="tests"|' \
"${S}/build/compile.xml" || die
# JAVA_ANT_ENCODING doesn't work because it doesn't like entities
java-ant_xml-rewrite -f build.xml -c -e javac -a encoding -v ISO-8859-1
cd "${S}/lib/"
rm -v *.jar
cd "${S}/src/lib/"
rm -v *.jar *.zip
java-pkg_jar-from --build-only glassfish-connector-api \
glassfish-connector-api.jar connector-api-1.5.jar
# the build.xml unpacks this and uses stuff
touch empty
jar cf mini-j2ee.jar empty
}
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_GENTOO_CLASSPATH="antlr:4,glassfish-connector-api,log4j"
EANT_BUILD_TARGET="jars"
EANT_DOC_TARGET="javadocs"
src_compile() {
java-pkg_filter-compiler jikes
use jni && ANT_TASKS="cpptasks"
# This is nonsense, I know, but it works.
if use test; then
EANT_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
fi
java-pkg-2_src_compile $(use test && echo "-Dtests=true") \
$(use jni && echo "compile-native")
}
src_install() {
cd "${S}/output/lib/"
java-pkg_newjar ${MY_PN}-${PV}.jar ${PN}.jar
for jar in full; do
java-pkg_newjar ${MY_PN}-${jar}-${PV}.jar ${MY_PN}-${jar}.jar || die "java-pkg_newjar ${MY_PN}-${jar}.jar failed"
done
if use test; then
java-pkg_newjar ${MY_PN}-test-${PV}.jar ${MY_PN}-${jar}.jar || die "java-pkg_newjar ${MY_PN}-${jar}.jar failed"
fi
if use jni; then
cd "${S}/output/native"
sodest="/usr/lib/"
local so_arch
if use amd64; then
so_arch="x64"
elif use x86; then
so_arch="x86"
fi
java-pkg_doso libjaybird22_${so_arch}.so || die \
"java-pkg_doso ${sodest}libjaybird22.so failed"
fi
cd "${S}"
if use examples; then
insinto /usr/share/doc/${PF}/
doins -r examples || die "installing examples failed"
fi
use source && java-pkg_dosrc "${S}"/src/*/org
cd "${S}/output"
use doc && java-pkg_dohtml -r docs/
dodoc etc/default.mf
dohtml etc/*.html
}
src_test() {
#
# Warning about timeouts without Firebird installed and running Locally
#
ewarn "You will experience long timeouts when running junit tests"
ewarn "without Firebird installed and running locally. The tests will"
ewarn "complete without Firebird, but network timeouts prolong the"
ewarn "testing phase considerably."
ANT_TASKS="ant-junit" eant all-tests-pure-java
}

@ -10,14 +10,14 @@ inherit eutils java-pkg-2 java-ant-2
MY_PN="${PN/jdbc-/}"
DESCRIPTION="JDBC Type 2 and 4 drivers for Firebird SQL server"
HOMEPAGE="http://jaybirdwiki.firebirdsql.org/"
SRC_URI="https://github.com/FirebirdSQL/${MY_PN}/archive/v${PV}.zip"
SRC_URI="https://github.com/FirebirdSQL/${MY_PN}/archive/v${PV}.zip -> Jaybird-${PV}-src.zip"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc"
IUSE="jni"
CDEPEND="dev-java/junit:4
dev-java/antlr:4
dev-java/antlr:3.5
dev-java/log4j:0
dev-java/glassfish-connector-api:0"
@ -58,7 +58,7 @@ java_prepare() {
}
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_GENTOO_CLASSPATH="antlr:4,glassfish-connector-api,log4j"
EANT_GENTOO_CLASSPATH="antlr-3.5,glassfish-connector-api,log4j"
EANT_BUILD_TARGET="jars"
EANT_DOC_TARGET="javadocs"

@ -1,5 +1,5 @@
DIST postgresql-jdbc-9.2-1003.src.tar.gz 1843082 SHA256 d61449b8a17ce540b26437382c33a59a49a94c578c943fccf91139ee06478968 SHA512 f91d9617726722998a51275c625f6ea89dfe0ac7ce415cc6fa76302b13762bcf825cd61ec69d25d0199ca21de8a24286eeffb843ad59c06fd3049a289ac2b702 WHIRLPOOL a7994d7ce38bd17e9353339d2838601a22328c8eff03baa122663526ef2c0c2afa8b16d9c93ea9fbff7a756612cddffef41ec00552640766acc5e1fbe4996282
DIST postgresql-jdbc-9.2-1004.src.tar.gz 1842921 SHA256 eeadff0d830cd19a4f52a9489748a7126b0c1d4863bf9a5d65618158dfc6ae68 SHA512 6e218b7df3d772e4fb9053672f5f77f6012fe6e652a536dfe171408e957465520b05994d4fa13c4d478b595a55b8068da663b9f3dcb544a46fcf91d71ba8fdf5 WHIRLPOOL f1afa3201fbaaf47edb0224d3263642b3202fbf6fc922318354db86e394f0005611b0981da043a4e14cbb67224ac8fa6d96880e0763fcd4d5b502423c7eaa0c7
DIST postgresql-jdbc-9.3-1100.src.tar.gz 1852465 SHA256 e6be53d4cda04735f5f147d2296acb9a22630b062fa3a4ef894073f23efc6d55 SHA512 43968a62f9443739721016ede186b2f41fa6db2d1ef319cd65059f8715e90eda7c7f568995b293578c39e04d43085cfdfece587500f99ed1a49964c12d8c747a WHIRLPOOL 9bf218936a00df00fb4b4f6ed6c3bbe06cdcfcd14d306a4f7bf3073e83f1c51bc85c0a061c2e04790bcebf9183b8aabd056522fa5d18b0734a4aec34b3ab14a0
DIST postgresql-jdbc-9.4-1204.src.tar.gz 2018904 SHA256 c22862ce505c501115e9f72ae10cd8b5a02ff7f8c7c2f1475f4035b3c85f170b SHA512 659e60fe3ea54f87396d9f32521799d78381a87530c167e903820f3990facc04f3e145685a9c40d74ba3167a404c144fefa781568b9cea2910399cfe2632f25e WHIRLPOOL e5703de1053b5136656c496b4d9518b8044d6a27d431d054d1c48101364b6a999cb4c97295aecca99edf8cb80bf3b2a4b60b740901b9c3f15340eb51197e9cc1
DIST postgresql-jdbc-9.4-1205.src.tar.gz 2028968 SHA256 bb06d9d94ce1f873df4f6090b26f8d2bb358601f71ba1fbdb782bb58a1164366 SHA512 ebb46c0cfcabc34083e6f481bc97536fba98d082462670d39efdd75e6463f1286db6fa07cd35546c749e456f1c06fb1d022cbc9f5cace2a1b968fab76a57d281 WHIRLPOOL a501cb12486ea1903442aa15c03ba7e9f5b127d3e1aa0d90991f6ded517b4dc792488431cf2047efe1a3ac8652ff527d810e1138235a4353cf5cd44031d2b641
DIST postgresql-jdbc-9.4-1206.src.tar.gz 2029837 SHA256 2793d89eb87f913f82af0898fbb17c2d1b64c4b39a444fe19fe621cb5f11fc80 SHA512 b16816f1afd3ee5986fca197bd7608c2e2f334054e41a8c541c47985827f4f59d7691d23983bdac01c85fc364cd001c991ac6b4e8567429b9d1f4161388dd6bd WHIRLPOOL 0729913fd98088c4f8caeafbb519b45ac673cdb9ff1342f0a1146a2dc87d0c530385089c80c498d416d6601151e00d863831be22b570c3c19070ba3f1ea3ff73

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save