Sync with portage [Tue Dec 6 09:58:57 MSK 2016].

mhiretskiy 670
root 8 years ago
parent 331a8a6530
commit b872a538e6

@ -3,7 +3,7 @@
# $Id$
EAPI=5
USE_RUBY="ruby20 ruby21 ruby22"
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"

@ -29,6 +29,7 @@
<flag name="snmp">Build the snmp modify and output module (requires <pkg>net-analyzer/net-snmp</pkg>)</flag>
<flag name="ssl">Add support for encrypted client/server communication (requires <pkg>net-libs/gnutls</pkg>)</flag>
<flag name="systemd">Build the journal input and output module (requires <pkg>sys-apps/systemd</pkg>)</flag>
<flag name="uuid">Include UUIDs in messages (requires <pkg>sys-apps/util-linux</pkg>)</flag>
<flag name="usertools">Installs the user tools (rsgtutil, rscryutil...) corresponding to the set USE flags</flag>
<flag name="zeromq">Build the ZeroMQ input and output modules (requires <pkg>net-libs/czmq</pkg>)</flag>
</use>

@ -58,7 +58,7 @@ fi
LICENSE="GPL-3 LGPL-3 Apache-2.0"
SLOT="0"
IUSE="dbi debug doc elasticsearch +gcrypt grok jemalloc kafka kerberos libressl mongodb mysql normalize omhttpfs"
IUSE+=" omudpspoof postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp ssl systemd test usertools zeromq"
IUSE+=" omudpspoof postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp ssl systemd test usertools +uuid zeromq"
RDEPEND="
>=dev-libs/libfastjson-0.99.2:=
@ -92,6 +92,7 @@ RDEPEND="
snmp? ( >=net-analyzer/net-snmp-5.7.2 )
ssl? ( >=net-libs/gnutls-2.12.23:0= )
systemd? ( >=sys-apps/systemd-208 )
uuid? ( sys-apps/util-linux:0= )
zeromq? (
>=net-libs/zeromq-4.1.1:=
>=net-libs/czmq-3.0.0
@ -228,6 +229,7 @@ src_configure() {
$(use_enable systemd imjournal)
$(use_enable systemd omjournal)
$(use_enable usertools)
$(use_enable uuid)
$(use_enable zeromq imczmq)
$(use_enable zeromq imzmq3)
$(use_enable zeromq omczmq)

@ -58,7 +58,7 @@ fi
LICENSE="GPL-3 LGPL-3 Apache-2.0"
SLOT="0"
IUSE="dbi debug doc elasticsearch +gcrypt grok jemalloc kafka kerberos libressl mongodb mysql normalize omhttpfs"
IUSE+=" omudpspoof postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp ssl systemd test usertools zeromq"
IUSE+=" omudpspoof postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp ssl systemd test usertools +uuid zeromq"
RDEPEND="
>=dev-libs/libfastjson-0.99.2:=
@ -92,6 +92,7 @@ RDEPEND="
snmp? ( >=net-analyzer/net-snmp-5.7.2 )
ssl? ( >=net-libs/gnutls-2.12.23:0= )
systemd? ( >=sys-apps/systemd-208 )
uuid? ( sys-apps/util-linux:0= )
zeromq? (
>=net-libs/zeromq-4.1.1:=
>=net-libs/czmq-3.0.0
@ -229,6 +230,7 @@ src_configure() {
$(use_enable systemd imjournal)
$(use_enable systemd omjournal)
$(use_enable usertools)
$(use_enable uuid)
$(use_enable zeromq imczmq)
$(use_enable zeromq imzmq3)
$(use_enable zeromq omczmq)

@ -58,7 +58,7 @@ fi
LICENSE="GPL-3 LGPL-3 Apache-2.0"
SLOT="0"
IUSE="dbi debug doc elasticsearch +gcrypt grok jemalloc kafka kerberos libressl mongodb mysql normalize omhttpfs"
IUSE+=" omudpspoof postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp ssl systemd test usertools zeromq"
IUSE+=" omudpspoof postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp ssl systemd test usertools +uuid zeromq"
RDEPEND="
>=dev-libs/libfastjson-0.99.3:=
@ -92,6 +92,7 @@ RDEPEND="
snmp? ( >=net-analyzer/net-snmp-5.7.2 )
ssl? ( >=net-libs/gnutls-2.12.23:0= )
systemd? ( >=sys-apps/systemd-208 )
uuid? ( sys-apps/util-linux:0= )
zeromq? (
>=net-libs/zeromq-4.1.1:=
>=net-libs/czmq-3.0.0
@ -229,6 +230,7 @@ src_configure() {
$(use_enable systemd imjournal)
$(use_enable systemd omjournal)
$(use_enable usertools)
$(use_enable uuid)
$(use_enable zeromq imczmq)
$(use_enable zeromq imzmq3)
$(use_enable zeromq omczmq)

@ -1 +1,2 @@
DIST tpm-tools-1.3.8.tar.gz 473339 SHA256 66eb4ff095542403db6b4bd4b574e8a5c08084fe4e9e5aa9a829ee84e20bea83 SHA512 727113625645b01f8e77817d7f1cc6a8bf814f96061754fdfefceb125da4eebbea54804d1fec9e36559ffd61801b318bbc327907a3bdd661f872c32f811c7e74 WHIRLPOOL 201677976c97961a20578f7ca1b4dd0a8a9b105a718c0c67c34b9f1de0c75332532c62389711f732c99edda8fe45639dd3c8293df0a62a11f88ed4c9dc987270
DIST tpm-tools-1.3.9.tar.gz 484023 SHA256 ea126c5cd2ada56beb5118a141a498053f2d85f56263d215784f0ed86fff4213 SHA512 460e56031aa65ede6b7aebf0c594d4093d870fb46f7c453c429e53cca442d4c7797ac29b519bca28d42133bc6d7701cdf938adbdf11f8be841157d4f4a3e17ca WHIRLPOOL 96760809fb5f2029f51a4051621cb4dd3a39af08d2ecb091619f848d541b2bd1d6f5e9cbd2606fcde2fb55c554cb3baf74c8b58ec29660d95c42bfad178bd96c

@ -0,0 +1,10 @@
diff --git a/lib/Makefile.am b/lib/Makefile.am
index cef6a2f..d7092a7 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -80,4 +80,4 @@ endif
# Unseal library - for addition to existing apps, counter part of seal cmd
libtpm_unseal_la_SOURCES = tpm_unseal.c
libtpm_unseal_la_LDFLAGS = -shared -version-info 1:0:0
-libtpm_unseal_la_LIBADD = -ltspi libtpm_tspi.la @INTLLIBS@
+libtpm_unseal_la_LIBADD = -ltspi libtpm_tspi.la -lcrypto @INTLLIBS@

@ -0,0 +1,56 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit autotools eutils flag-o-matic
DESCRIPTION="TrouSerS' support tools for the Trusted Platform Modules"
HOMEPAGE="http://trousers.sourceforge.net"
SRC_URI="mirror://sourceforge/trousers/${PN}/${P}.tar.gz"
LICENSE="CPL-1.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~s390 ~sh ~x86"
IUSE="libressl nls pkcs11 debug"
COMMON_DEPEND="
>=app-crypt/trousers-0.3.0
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
pkcs11? ( dev-libs/opencryptoki )
"
RDEPEND="${COMMON_DEPEND}
nls? ( virtual/libintl )"
DEPEND="${COMMON_DEPEND}
nls? ( sys-devel/gettext )"
PATCHES=(
"${FILESDIR}/${P}-gold.patch"
)
S="${WORKDIR}"
src_prepare() {
default
sed -i -r \
-e '/CFLAGS/s/ -m64//' \
configure.ac || die
eautoreconf
}
src_configure() {
append-cppflags $(usex debug -DDEBUG -DNDEBUG)
econf \
$(use_enable nls) \
$(use pkcs11 || echo --disable-pkcs11-support)
}
src_install() {
default
prune_libtool_files
}

@ -1,2 +1,3 @@
DIST trousers-0.3.10.tar.gz 1658652 SHA256 eb9569de5c66d9698f6c3303de03777b95ec72827f68b7744454bfa9227bc530 SHA512 1835246f846d20bc1b2731d68440a9ca45865fcd52ad847d95485e4b126fae8bec09feaad559c27d83e243d92b8adc3a67934bff2034b318df075842fe9df4f0 WHIRLPOOL 7a27ef57b0038178cbf384c9fdec2d2e3e58dbeb5e5bc1503d2a7058a8312df54fa72b87968554631e4b5e483ae5e8c5e0a2367346bf3ae001b523a507ceff40
DIST trousers-0.3.13.tar.gz 1371901 SHA256 bb908e4a3c88a17b247a4fc8e0fff3419d8a13170fe7bdfbe0e2c5c082a276d3 SHA512 c54407e538712f738b593707ffc6d617348d73de91dfddd9057273c2fcec26e5738e89db005d36d52596630a9d583f7fcb8cc388f597da6212891e2d79dce699 WHIRLPOOL 8099d2f01b1c64b2e92c78130c9f66766f9054a1ab557f0d6da149ca4869c9fed7ee3a26454ab50bd67069d30c758ccabb450dead1d9100ffacac9f596f6d46b
DIST trousers-0.3.14.tar.gz 1378438 SHA256 ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47 SHA512 bf87f00329cf1d76a12cf6b6181fa22f90e76af3c5786e6e2db98438d2d3f0c0e05364374664173f45e3a2f6c0e2364948d0b958a7845cb23fcb340150cd9b21 WHIRLPOOL 1e1c51774fa796c706858d008651182673f7a88532cac35d010f4bd713fe50c1151e0a5a7ffb6975e8a050a1aab6edeb09d1672407025a776625c9b4f2912c88

@ -0,0 +1,105 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit autotools eutils linux-info readme.gentoo-r1 systemd user udev
DESCRIPTION="An open-source TCG Software Stack (TSS) v1.1 implementation"
HOMEPAGE="http://trousers.sf.net"
SRC_URI="mirror://sourceforge/trousers/${PN}/${P}.tar.gz"
LICENSE="CPL-1.0 GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~x86"
IUSE="doc libressl selinux" # gtk
# gtk support presently does NOT compile.
# gtk? ( >=x11-libs/gtk+-2 )
CDEPEND=">=dev-libs/glib-2
!libressl? ( >=dev-libs/openssl-0.9.7:0 )
libressl? ( dev-libs/libressl )
"
DEPEND="${CDEPEND}
virtual/pkgconfig"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-tcsd )"
PATCHES=(
"${FILESDIR}/${PN}-0.3.13-nouseradd.patch"
)
DOCS="AUTHORS ChangeLog NICETOHAVES README TODO"
DOC_CONTENTS="
If you have problems starting tcsd, please check permissions and
ownership on /dev/tpm* and ~tss/system.data
"
S="${WORKDIR}"
pkg_setup() {
# Check for driver (not sure it can be an rdep, because ot depends on the
# version of virtual/linux-sources... Is that supported by portage?)
linux-info_pkg_setup
local tpm_kernel_version tpm_kernel_present tpm_module
kernel_is ge 2 6 12 && tpm_kernel_version="yes"
if linux_config_exists; then
linux_chkconfig_present TCG_TPM && tpm_kernel_present="yes"
else
ewarn "No kernel configuration could be found."
fi
has_version app-crypt/tpm-emulator && tpm_module="yes"
if [[ -n "${tpm_kernel_present}" ]]; then
einfo "Good, you seem to have in-kernel TPM support."
elif [[ -n "${tpm_module}" ]]; then
einfo "Good, you seem to have TPM support with the external module."
if [[ -n "${tpm_kernel_version}" ]]; then
elog
elog "Note that since you have a >=2.6.12 kernel, you could use"
elog "the in-kernel driver instead of (CONFIG_TCG_TPM)."
fi
elif [[ -n "${tpm_kernel_version}" ]]; then
eerror
eerror "To use this package, you will have to activate TPM support"
eerror "in your kernel configuration. That's at least CONFIG_TCG_TPM,"
eerror "plus probably a chip specific driver (like CONFIG_TCG_ATMEL)."
eerror
else
eerror
eerror "To use this package, you should install a TPM driver."
eerror "You can have the following options:"
eerror " - install app-crypt/tpm-emulator"
eerror " - switch to a >=2.6.12 kernel and compile the kernel module"
eerror
fi
# New user/group for the daemon
enewgroup tss
enewuser tss -1 -1 /var/lib/tpm tss
}
src_prepare() {
default
eautoreconf
}
src_configure() {
# econf --with-gui=$(usex gtk gtk openssl)
econf --with-gui=openssl
}
src_install() {
default
keepdir /var/lib/tpm
use doc && dodoc doc/*
newinitd "${FILESDIR}"/tcsd.initd tcsd
newconfd "${FILESDIR}"/tcsd.confd tcsd
systemd_dounit "${FILESDIR}"/tcsd.service
udev_dorules "${FILESDIR}"/61-trousers.rules
fowners tss:tss /var/lib/tpm
prune_libtool_files
readme.gentoo_create_doc
}

@ -122,8 +122,10 @@ src_install() {
default
prune_libtool_files --modules
rm "${ED%/}"/etc/pam.d/vmtoolsd || die
pamd_mimic_system vmtoolsd auth account
if use pam; then
rm "${ED%/}"/etc/pam.d/vmtoolsd || die
pamd_mimic_system vmtoolsd auth account
fi
newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools
newconfd "${FILESDIR}/open-vm-tools.confd" vmware-tools

@ -5,7 +5,7 @@
inherit toolchain-funcs
DESCRIPTION="Inputlirc daemon to utilize /dev/input/event*"
HOMEPAGE="http://svn.sliepen.eu.org/inputlirc/trunk"
HOMEPAGE="https://github.com/ferdinandhuebner/inputlirc"
SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.bz2"
LICENSE="GPL-2"

@ -1,9 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
DESCRIPTION="Inputlirc daemon to utilize /dev/input/event*"
HOMEPAGE="http://svn.sliepen.eu.org/inputlirc/trunk"
HOMEPAGE="https://github.com/ferdinandhuebner/inputlirc"
SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.bz2"
LICENSE="GPL-2"

@ -5,7 +5,7 @@
inherit toolchain-funcs
DESCRIPTION="Inputlirc daemon to utilize /dev/input/event*"
HOMEPAGE="http://svn.sliepen.eu.org/inputlirc/trunk"
HOMEPAGE="https://github.com/ferdinandhuebner/inputlirc"
SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.gz"
LICENSE="GPL-2"

@ -6,7 +6,7 @@ EAPI=6
inherit toolchain-funcs eutils versionator
DESCRIPTION="Inputlirc daemon to utilize /dev/input/event*"
HOMEPAGE="http://svn.sliepen.eu.org/inputlirc/trunk"
HOMEPAGE="https://github.com/ferdinandhuebner/inputlirc"
SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.gz"
LICENSE="GPL-2"

@ -1,6 +1,2 @@
DIST portpeek-2.0.25.tar.gz 11367 SHA256 38de327bdefdd853166ec0ecdae03ccd508fb27c9762b99cea9926ce38801f5b SHA512 ea4b996787f4f956e3146f6618189f389f78f7a3778297ba1a2118b048c5f2e950221fbe4f9c52249a043f1fc65b4c45a01b799bb52b61e337527702f2149d9d WHIRLPOOL b57636fb820d6e5f0cb1611ca0e417c8d6b04a2c0fc50f9b32da78b940984c687c3ea1dc9a00660ce395108daca372fc3b9d90d9158cab51c502aa6677fd282d
DIST portpeek-2.1.18.tar.gz 12233 SHA256 9cda20138b3e75f6f38c3cb117b23e9c01f2b8b0418379bfd68a30b09da835c5 SHA512 f3f7e728c3255f39394393344af469f719f5d0d83e45ddc75b81d53a2c80fe0ac18a606f5c8159917f784eb10a0b0bede44f7d764e11986d492ac61da48f4ade WHIRLPOOL cb97f3cdf95e5c31ba6530757bcd5aed71aa5e0dbb5d683db9a7d5a2e5f4fb9137463167802fe131b4bc6d2d8df2bf662bba9d1282f5df4148444c52ff59fc57
DIST portpeek-2.1.19.tar.gz 12246 SHA256 d1b82b014718754c06506fe58e4a4ecffa660626273a395a0966dd985d2db4c8 SHA512 c19dfbba92094e063f2c81cbc5482712cb32d0ffb9f0984511109f141960d0cf39e1f7882880d17e97ad86c78107ddf735d4f338140460578e919f42f27f372c WHIRLPOOL fb7a00b21cdf44e8b907c46a94dceabc94870f0ef2b1ec4df179ef8a5def0b461360d782b10f972d4a8365bd35f1fbd1d93be6afacde09e3b51601074abf8edd
DIST portpeek-2.1.20.tar.gz 12261 SHA256 51888feff2e1840b408e7f4e88ac340b93b4a51a625bea1bdbd49f039aaf99de SHA512 01f1d0e5b5615d7f19a1015b8cbbf92327ec20082f197acc750e38d413a09c28b42e89a19462002fa1b367f25314b85c2dad0c7918218e415a4381f0992ef363 WHIRLPOOL 3b6b2f4cdb9a39d3b3473551e45f33cdb45d38a31e8ee9a1990b6c3420c85896d2d817a7fd91c577fd834ffaf50020232c6442aa967b64ffb98735373d0b971e
DIST portpeek-2.1.21.tar.gz 12624 SHA256 cb36444a476158636d96d7b3ec0fc9c123ad2ec908338307763daa65b78e1d0e SHA512 7b430c85dcba4ac0d29e6fd680eaed2b59a60b5d21f0b93e90ff2e3ca7018f141e858accf10a035b75463c067444ef1be718be198bb6cc237827c9b7e67df76e WHIRLPOOL d1ae1ecb9e797cf809cca24f923fe879842605d1a4be1d43187bbfa2f03d15d18c2b667e86fa580a4ecea801b7db9208c374ba2aea70de086bb9115b0127027e
DIST portpeek-2.1.9.tar.gz 11827 SHA256 46d7fe52bdc1113e9a790d9d77fc7284721ec6e99817a553204800d7cad19382 SHA512 751b313c605355d92a4fc11d4b717bdaf30cf9e1dd3f78346761fd0c9ed64ce195efdc33cc541f136370b264f60d1438191eae6f1ef6c10d499c6a7e084cefb5 WHIRLPOOL 3f1a18376756d837202268565fa695be0898ff4c27e297ddd3fa4c80670e9d03759e4ad4ec7b6d3032b1230769cc224e6c6444d539c8890aa57beadda2314d71

@ -1,26 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
HOMEPAGE="http://www.mpagano.com/blog/?page_id=3"
SRC_URI="http://www.mpagano.com/downloads/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm ppc sparc x86 ~x86-fbsd"
IUSE=""
DEPEND=""
RDEPEND=">=app-portage/gentoolkit-0.3.0.6-r3
>=sys-apps/portage-2.1.11.9"
src_install() {
dobin ${PN} || die "dobin failed"
doman *.[0-9]
}

@ -1,30 +0,0 @@
# 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} )
inherit python-r1
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
HOMEPAGE="http://www.mpagano.com/blog/?page_id=3"
SRC_URI="http://www.mpagano.com/downloads/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
>=app-portage/gentoolkit-0.3.0.9-r2
>=sys-apps/portage-2.2.20[${PYTHON_USEDEP}]"
src_install() {
python_foreach_impl python_doscript ${PN}
doman *.[0-9]
}

@ -1,30 +0,0 @@
# 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} )
inherit python-r1
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
HOMEPAGE="http://www.mpagano.com/blog/?page_id=3"
SRC_URI="http://www.mpagano.com/downloads/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
>=app-portage/gentoolkit-0.3.2-r1
>=sys-apps/portage-2.2.26[${PYTHON_USEDEP}]"
src_install() {
python_foreach_impl python_doscript ${PN}
doman *.[0-9]
}

@ -1,30 +0,0 @@
# 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} )
inherit python-r1
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
HOMEPAGE="http://www.mpagano.com/blog/?page_id=3"
SRC_URI="http://www.mpagano.com/downloads/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
>=app-portage/gentoolkit-0.3.0.9-r2
>=sys-apps/portage-2.2.26[${PYTHON_USEDEP}]"
src_install() {
python_foreach_impl python_doscript ${PN}
doman *.[0-9]
}

@ -1,30 +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 )
inherit python-r1
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
HOMEPAGE="http://www.mpagano.com/blog/?page_id=3"
SRC_URI="http://www.mpagano.com/downloads/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm ppc sparc x86 ~x86-fbsd"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
>=app-portage/gentoolkit-0.3.0.7
>=sys-apps/portage-2.1.11.52[${PYTHON_USEDEP}]"
src_install() {
python_foreach_impl python_doscript ${PN}
doman *.[0-9]
}

@ -38,7 +38,7 @@ SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline"
DEPEND=">=sys-libs/ncurses-5.2-r2:0=

@ -5,6 +5,7 @@
EAPI="5"
# Does not yet support py3
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite"
inherit python-r1

@ -1,3 +1,4 @@
DIST QQWry.Dat.bz2 4114875 SHA256 3eda90ee8ea13ec88767336b078d2dfe2c971d6a31df60f409d526e3e29a4f83 SHA512 46fd677359a2144429eb9d16131ca6b19db1c086fa93e275aa3d702d3024a65d54064df931d1ed2ba5b0c1f7d9595a284f2a8995d9cd5aac96a45216422dc9ae WHIRLPOOL 456bab65658a8af76160f162fc66868c8a74653a88a1a115e2a20dd90ba9ae8a93b1aa1ee9856cc811d1b1229ca910868ea5db764a119ae9b31cbabf962cab5f
DIST WyabdcRealPeopleTTS.tar.bz2 84329208 SHA256 96a398eaef3e84f6f23e61683e6439913a4d44055e695dd4a1936f9340d64870 SHA512 1553e62c139ecb005bb04163147d94aa58e4ba7f9ee3172b760c6e4776587c12bf816c42e0131c82195b7c738ec9ee5082f39b974790f5cacd522367919beaa0 WHIRLPOOL 210c121c25c7726cee62c2f2beb3186f0799d68c5537442eda967694f176cbbbc6d09a8c3759de093226e283ae651348ed7173a9f93bbf776325fb656e19720c
DIST stardict-3.0.6.tar.bz2 9341740 SHA256 6a0a695a8977604e0509a3db1bc6a67e53599b14f29494ba942f21d2c26b82e7 SHA512 81d93324b6e8954af7c20ea6d2a3054bb564d786a21b1cb541c728da7a18a6e7ddb23e595055ccc77e6866bbb8c89fb4f17023e33664761dbe1ee8cd55768658 WHIRLPOOL 9502af310d5eba5ed23457fff9e9f00e2d8453873cece3c20e2c5daf861bd665fc7b9c8e292be5b1d886f9a9fd0d5ad9bd1d8fbd043d221e6637c1c8185f444f
DIST stardict-4.0.0_pre20160518.tar.xz 3605324 SHA256 8257c215b7da56c1ce9b3abbdac5c6381cf0702c172cd92f2629fb446a0cb86a SHA512 5fb04d7870019f17038e0750a2250a0dca44c427f427cd987542eea2bdfab91223e2c01bae844c43f7d8991d51c0420bd4d77ad6d3f7d86cf6f9c50dae7ca50e WHIRLPOOL 618261ed89db9acaad6f5fa4f44e49abae1d7c272987dce37c49ee81736d77bde977d57743182c77d95d930b7ca0c12e4ff59a85b31f93a1990674ba6e33e2ea

@ -0,0 +1,38 @@
From adb01aafd94b6bd5b5cc49889f4f09d483ee5ac4 Mon Sep 17 00:00:00 2001
From: Nikolay Korotkiy <sikmir@gmail.com>
Date: Thu, 1 Sep 2016 14:11:41 +0300
Subject: [PATCH] tabfile: incorrectly handles whitespace in file name
Signed-off-by: Andrew Savchenko <bircoph@gmail.com>
---
tools/src/libtabfile.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tools/src/libtabfile.cpp b/tools/src/libtabfile.cpp
index dda256a..2ee9dfd 100644
--- a/tools/src/libtabfile.cpp
+++ b/tools/src/libtabfile.cpp
@@ -22,6 +22,7 @@
#include <cstring>
#include <cstdlib>
#include <string>
+#include <sstream>
#include <glib/gstdio.h>
#include <glib.h>
@@ -228,9 +229,10 @@ static bool write_dictionary(const char *filename, GArray *array)
g_message("%s wordcount: %d.", get_impl(basefilename), array->len);
#ifndef _WIN32
- std::string command(std::string("dictzip ") + dicfilename);
+ std::stringstream command;
+ command << "dictzip \"" << dicfilename << "\"";
int result;
- result = system(command.c_str());
+ result = system(command.str().c_str());
if (result == -1) {
g_print("system() error!\n");
}
--
2.10.2

@ -9,31 +9,38 @@
StarDict is an international dictionary Software. It has powerful features
such as "Glob-style pattern matching", "Scan selection word," "Fuzzy
query," etc. Stardict Version3.0 has developed a lot of new functions, such
as Full-text translation, Net Dict.
as Full-text translation, Net Dict.
</longdescription>
<use>
<flag name="advertisement">Enable stardict advertisements plugin</flag>
<flag name="cal">Enable calendar support using cal program</flag>
<flag name="dictdotcn">Enable dict.cn network plugin (for Chinese language)</flag>
<flag name="espeak">Enable text to speech synthesizer plugin using
<pkg>app-accessibility/espeak</pkg> engine</flag>
<flag name="gucharmap">Enable plugin for unicode symbols description
using <pkg>gnome-extra/gucharmap</pkg></flag>
<flag name="flite">Enable text to speech synthesizer plugin using
<pkg>app-accessibility/flite</pkg> engine</flag>
<flag name="fortune">Enable plugin to read fortune messages using
<pkg>games-misc/fortune-mod</pkg>. You may consider installing
<pkg>games-misc/fortune-mod-all</pkg> to get all fortune messages.</flag>
<flag name="gucharmap">Enable plugin for unicode symbols description using
<pkg>gnome-extra/gucharmap</pkg></flag>
<flag name="htmlparse">Enable plugin to parse dictionaries with html content</flag>
<flag name="info">Enable plugin to read info pages</flag>
<flag name="man">Enable plugin to read manual pages</flag>
<flag name="pronounce">Install WyabdcRealPeopleTTS package (it is just
many .wav files) to make StarDict pronounce English words</flag>
<flag name="qqwry">Enable QQWry plugin, which provides information (in
Chinese language) about geographical positions, owner, etc. for IP
addresses</flag>
<flag name="powerwordparse">Enable plugin to parse powerword dictionaries</flag>
<flag name="tools">Build and install dictionary management tools and
converters from various dictionary formats</flag>
<flag name="pronounce">Install WyabdcRealPeopleTTS package (it is just many .wav files)
to make StarDict pronounce English words</flag>
<flag name="qqwry">Enable QQWry plugin, which provides information (in Chinese language)
about geographical positions, owner, etc. for IP addresses</flag>
<flag name="tools">Build and install dictionary management tools and converters from
various dictionary formats</flag>
<flag name="updateinfo">Enable plugin to check for stardict updates</flag>
<flag name="wikiparse">Enable plugin to parse dictionaries in wikimedia format</flag>
<flag name="wordnet">Enable wordnet plugin to find similar English words
using lexical database</flag>
<flag name="xdxfparse">Enable plugin to parse dictionaries
in xdxf (XML Dictionary eXchange Format)</flag>
<flag name="wordnet">Enable wordnet plugin to find similar English words using
lexical database</flag>
<flag name="xdxfparse">Enable plugin to parse dictionaries in xdxf (XML Dictionary
eXchange Format)</flag>
<flag name="youdaodict">Enable youdao.com network plugin (for Chinese language)</flag>
</use>
<upstream>
<remote-id type="sourceforge">stardict-4</remote-id>

@ -101,13 +101,14 @@ src_configure() {
--disable-schemas-install \
--disable-scrollkeeper \
$(use_enable advertisement) \
$(use_enable dictdotcn) \
$(use_enable debug) \
$(use_enable dictdotcn) \
$(use_enable espeak) \
$(use_enable gucharmap) \
$(use_enable htmlparse) \
$(use_enable qqwry) \
$(use_enable man) \
$(use_enable powerwordparse) \
$(use_enable qqwry) \
$(use_enable spell) \
$(use_enable tools) \
$(use_enable updateinfo) \

@ -0,0 +1,223 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
# their indexes seem to be in a different format. So we'll keep them
# seperate for now.
GNOME2_LA_PUNT=yes
PYTHON_COMPAT=( python2_7 )
inherit autotools flag-o-matic gnome2 python-single-r1
DESCRIPTION="A international dictionary supporting fuzzy and glob style matching"
HOMEPAGE="http://stardict-4.sourceforge.net/
https://github.com/huzheng001/stardict-3"
SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz
pronounce? ( https://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 )
qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )"
LICENSE="CPL-1.0 GPL-3 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="advertisement cal debug dictdotcn espeak examples flite
fortune gucharmap +htmlparse info man perl +powerwordparse
pronounce python qqwry spell tools updateinfo +wikiparse +wordnet
+xdxfparse youdaodict"
RESTRICT="test"
COMMON_DEPEND="
>=dev-libs/glib-2.32:2
dev-libs/libsigc++:2=
media-libs/libcanberra[gtk3]
sys-libs/zlib:=
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/pango
espeak? ( >=app-accessibility/espeak-1.29 )
flite? ( app-accessibility/flite )
gucharmap? ( gnome-extra/gucharmap:0= )
spell? ( >=app-text/enchant-1.2 )
tools? (
dev-libs/expat
dev-libs/libpcre:=
dev-libs/libxml2:=
virtual/mysql
python? ( ${PYTHON_DEPS} )
)
"
RDEPEND="${COMMON_DEPEND}
info? ( sys-apps/texinfo )
fortune? ( games-misc/fortune-mod )
perl? ( dev-lang/perl )
"
DEPEND="${COMMON_DEPEND}
app-text/docbook-xml-dtd:4.3
app-text/gnome-doc-utils
dev-libs/libxslt
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig
"
REQUIRED_USE="tools? ( python? ( ${PYTHON_REQUIRED_USE} ) )"
# docs are messy, installed manually below
DOCS=""
PATCHES=( "${FILESDIR}/${P}-tabfile.patch" )
src_prepare() {
# From Fedora
# Remove unneeded sigc++ header files to make it sure
# that we are using system-wide libsigc++
# (and these does not work on gcc43)
find dict/src/sigc++* -name \*.h -or -name \*.cc | xargs rm -f || die
# libsigc++ started to require c++11 support
append-cxxflags "-std=c++11"
if use python; then
local f
# force python shebangs handlable by python_doscript
for f in tools/src/*.py; do
[[ $(head -n1 "${f}") =~ ^#! ]] || continue
sed -i '1 s|.*|#!/usr/bin/python|' tools/src/*.py || die
done
# script contains UTF-8 symbols, but has no ecoding set
sed -i '1 a # -*- coding: utf-8 -*-' tools/src/uyghur2dict.py || die
fi
eapply_user
eautoreconf
gnome2_src_prepare
}
src_configure() {
# Hint: EXTRA_ECONF="--enable-gnome-support" and manual install of
# libbonobo-2, libgnome-2, libgnomeui-2, gconf-2 and orbit-2 will
# give you GNOME 2.x support, that is otherwise considered deprecated
# because of the deep GNOME 2.x core library dependencies
# Festival plugin crashes, bug 188684. Disable for now.
gnome2_src_configure \
--disable-darwin-support \
--disable-festival \
--disable-gnome-support \
--disable-gpe-support \
--disable-maemo-support \
--disable-schemas-install \
--disable-scrollkeeper \
$(use_enable advertisement) \
$(use_enable cal) \
$(use_enable debug) \
$(use_enable dictdotcn) \
$(use_enable espeak) \
$(use_enable flite) \
$(use_enable fortune) \
$(use_enable gucharmap) \
$(use_enable htmlparse) \
$(use_enable info) \
$(use_enable man) \
$(use_enable powerwordparse) \
$(use_enable qqwry) \
$(use_enable spell) \
$(use_enable tools) \
$(use_enable updateinfo) \
$(use_enable wikiparse) \
$(use_enable wordnet) \
$(use_enable xdxfparse) \
$(use_enable youdaodict)
}
src_install() {
gnome2_src_install
dodoc AUTHORS ChangeLog README
docinto dict
dodoc dict/{AUTHORS,ChangeLog,README,TODO}
dodoc dict/doc/{Documentation,FAQ,HowToCreateDictionary,Skins,StarDictFileFormat,TextualDictionaryFileFormat,Translation}
dodoc -r dict/doc/wiki
docinto lib
dodoc lib/{AUTHORS,ChangeLog,README}
if use examples; then
insinto /usr/share/doc/${PF}/dict
doins dict/doc/stardict-textual-dict*
fi
if use qqwry; then
insinto /usr/share/${PN}/data
doins ../QQWry.Dat
fi
if use pronounce; then
docinto WyabdcRealPeopleTTS
dodoc ../WyabdcRealPeopleTTS/{README,readme.txt}
rm -f ../WyabdcRealPeopleTTS/{README,readme.txt}
insinto /usr/share
doins -r ../WyabdcRealPeopleTTS
fi
# noinst_PROGRAMS with ${PN}_ prefix from tools/src/Makefile.am wrt #292773
# and additional scripts from tools dir
if use tools; then
local app
local apps="${PN}-editor pydict2dic olddic2newdic oxford2dic directory2dic dictd2dic
wquick2dic ec50 directory2treedic treedict2dir jdictionary mova xmlinout
soothill kanjidic2 powerword kdic 21tech 21shiji buddhist tabfile
cedict edict duden ${PN}-dict-update degb2utf frgb2utf jpgb2utf gmx2utf
rucn kingsoft kingsoft2 wikipedia wikipediaImage babylon ${PN}2txt ${PN}-verify
fest2dict i2e2dict downloadwiki ooo2dict myspell2dic exc2i2e
dictbuilder tabfile2sql KangXi Unihan xiaoxuetang-ja wubi ydp2dict
wordnet lingvosound2resdb resdatabase2dir dir2resdatabase ${PN}-index
sd2foldoc
${PN}-text2bin ${PN}-bin2text ${PN}-repair"
use perl && apps+=" dicts-dump.pl ncce2stardict.pl parse-oxford.perl"
use python && apps+=" hanzim2dict.py jm2stardict.py lingea-trd-decoder.py
makevietdict.py uyghur2dict.py"
for app in ${apps}; do
if [[ "${app}" =~ ^${PN} ]]; then
dobin "tools/src/${app}"
else
newbin "tools/src/${app}" "${PN}_${app}"
fi
done
use python && python_doscript "${ED}"usr/bin/*.py
docinto tools
dodoc tools/{AUTHORS,ChangeLog,README}
if use examples; then
insinto /usr/share/doc/${PF}/tools
doins tools/src/{dictbuilder.{example,readme},example.ifo,example_treedict.tar.bz2}
fi
fi
}
pkg_postinst() {
elog
elog "Note: festival text to speech (TTS) plugin is not built. To use festival"
elog 'TTS plugin, please, emerge festival and enable "Use TTS program." at:'
elog '"Preferences -> Dictionary -> Sound" and fill in "Commandline" with:'
elog '"echo %s | festival --tts"'
elog
elog "You will now need to install ${PN} dictionary files. If"
elog "you have not, execute the below to get a list of dictionaries:"
elog " emerge -s ${PN}-"
elog
elog "Additionally you may install any stardict dictionary from the net"
elog "by unpacking it to:"
elog " /usr/share/stardict/dic"
elog
gnome2_pkg_postinst
}

@ -11,6 +11,7 @@ DIST texlive-core-patches-48.tar.xz 3528 SHA256 521bffc6a9d3a79fe157855f6a58954b
DIST texlive-core-patches-49.tar.xz 2796 SHA256 2c17e0b8d24dd007e86ff7fbe7ef14d42f1b5287e08c133ab2c5c82cedc16709 SHA512 4faf0b9653b9a5335e4b210d15200b4118245687ff12e617f181bdece5d2b5cd827247fc72bdc304722f72d8f017804b8026300a9be18f7663749ddc82c7bb17 WHIRLPOOL 8145a9d5d4fa2713a1aaf0e51f546a20a844d1a12306d7f2b82e66ece961edafd34f9e6aebfc3f3110a23366dc1d43a13cc4fa7fc69c9f67fd300c55f7bb7b92
DIST texlive-core-patches-50.tar.xz 4632 SHA256 417d50014d1701bb75aee0cfcae95716926fefdc7d0057c9784ba68bd1eab2e4 SHA512 f8fab7940b417b7065c9c467f7a9612e161a1a44db50a4523ee4a092ba381f7580adf1c3d75375165795dfc3f23d005028d67351815481dbdbd6edb13f376b64 WHIRLPOOL 9611be98c2fe494c1d354a23a1c1dfcaf30ca9e6f321056dbe34b99eef64dc8fbcc59428cf5ef8099584968b0b574d0e3e6acac87e37c5583e78eb87f87733b6
DIST texlive-core-patches-51.tar.xz 3040 SHA256 7edcc57ba831f040a5fcd07080c6e197955c9b979c81c6722c3914fff9ed9a03 SHA512 a1b7132bf25ab0e374e232351cbe64f509a7aab4e795b2d1fb03cd59f7dd0ed87f34c4ee5058dcb544f4b6d7e50d1cf22db29fbb65bde8fe213963856cb486f2 WHIRLPOOL 2c5db621b11cc6c93d0f58aef0221f3a4ace13352fc2de86df89ceeb137edda53fa7f44cb1052570d7a1053417c60910c61b214a61713b9b10c9684fc1983f03
DIST texlive-core-patches-52.tar.xz 3376 SHA256 294f44d6b24801206eec23a497d0b17f68ed88f8ef3d33492efd75e889db309f SHA512 fbc84217911d797373ad03e3da3bcb2277d74edf3a9fd77a5bf67bed7fb207d1cd3d9c9c7947c906ee10989fe6ceb6c263a4002a592217bce7e873db813dc367 WHIRLPOOL e249a1aa3c563beb14ebe88f93c2b144dfa6de3b7d47b502a9a7e18a8a0f39ab399925a47bd7e4406ecf2010589791fee09a71b6db48a04beadac18294cb0474
DIST texlive-module-a2ping-2012.tar.xz 31124 SHA256 37b769091af7c7c9f95c52f92cbc26b22f72dc0de5ecb0e9e37cf1482438605a SHA512 b4f74f037d1113d204d3f0e34c8418e354ae002ab09e8c326458bf7c9c9a9bfa3211317e03bb7e69d7f2e83a2b22851410287477176dab5288dacf5a9ec4a8a6 WHIRLPOOL 5e76ab0e818c3e20d8211c35230a9ee1084f1de830c988b1ed9707036481582540aa97c6ee9e31b0dd1ee2a8346dc3b81197d8c0489563122bba2dd7dffe5fe1
DIST texlive-module-a2ping-2013.tar.xz 31124 SHA256 a50f2714269e1725a05584d2e1b0b822f082c7291a989d37976b8666f69e8e09 SHA512 bc05c8610e58bacb6001fd41f848d12f8e77837b5e24d32f7af1c9939778d92aeac7ee07969f22e86c72a8850650ad1d06341681503d8d8699dbf6db1de4be62 WHIRLPOOL c4ebb0c3bb4db9d176fbadfd06753509965aa7d1d89be69ded9cc4488b1629fbd7584f2fed70b9633ead1341fb88de006b7f840446f142ec25eaeeb8cd7577d5
DIST texlive-module-a2ping-2014.tar.xz 31124 SHA256 18c8686e9d443af0e3b6d4feaaa42996b1fa2f03a07dce0e19d10226b7bc8839 SHA512 d5b65f04a96b7206624fd80fae4a04779fd31995247ed4b04d3ddb7197aeb3373d6b3679f674e29fb39e7022f37115fab2a3f5fc7304b3c6c133456242fef8bb WHIRLPOOL a6a8c93836825b07930a61c35d37b657479025d217b4d006021724a1b85c9afa4b6dffa0ba1d96bc0bdcaa3fd72274c11ea401d8387d1bcedbd20df2fde31cbd

@ -0,0 +1,347 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
#TL_UPSTREAM_PATCHLEVEL="1"
PATCHLEVEL="52"
TL_SOURCE_VERSION=20150521
inherit eutils flag-o-matic toolchain-funcs libtool texlive-common
MY_PV=${PN%-core}-${TL_SOURCE_VERSION}-source
DESCRIPTION="A complete TeX distribution"
HOMEPAGE="http://tug.org/texlive/"
SLOT="0"
LICENSE="GPL-2 LPPL-1.3c TeX"
SRC_URI="mirror://gentoo/${MY_PV}.tar.xz"
# Fetch patches
SRC_URI="${SRC_URI} mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.xz"
# mirror://gentoo/texlive-core-upstream-patches-${TL_UPSTREAM_PATCHLEVEL}.tar.xz"
TL_CORE_BINEXTRA_MODULES="
a2ping adhocfilelist asymptote bundledoc ctanify ctanupload ctie cweb
de-macro dtl dtxgen dvi2tty dviasm dvicopy dvidvi dviljk dvipos findhyph
fragmaster hyphenex installfont lacheck latex-git-log latex2man
latexfileversion latexpand latexindent ltxfileinfo ltximg listings-ext
match_parens mkjobtexmf patgen pdfcrop pdftools pfarrei pkfix pkfix-helper
purifyeps seetexk sty2dtx synctex texcount texdef texdiff texdirflatten
texdoc texliveonfly texloganalyser texware tie tpic2pdftex typeoutfileinfo
web collection-binextra
"
TL_CORE_BINEXTRA_DOC_MODULES="
a2ping.doc adhocfilelist.doc asymptote.doc bundledoc.doc ctanify.doc
ctanupload.doc ctie.doc cweb.doc de-macro.doc dtxgen.doc dvi2tty.doc
dvicopy.doc dviljk.doc dvipos.doc findhyph.doc fragmaster.doc
installfont.doc latex-git-log.doc latex2man.doc latexfileversion.doc
latexpand.doc latexindent.doc ltxfileinfo.doc ltximg.doc listings-ext.doc
match_parens.doc mkjobtexmf.doc patgen.doc pdfcrop.doc pdftools.doc
pfarrei.doc pkfix.doc pkfix-helper.doc purifyeps.doc sty2dtx.doc synctex.doc
texcount.doc texdef.doc texdiff.doc texdirflatten.doc texdoc.doc
texliveonfly.doc texloganalyser.doc texware.doc tie.doc tpic2pdftex.doc
typeoutfileinfo.doc web.doc
"
TL_CORE_BINEXTRA_SRC_MODULES="
adhocfilelist.source hyphenex.source listings-ext.source mkjobtexmf.source
pfarrei.source texdef.source
"
TL_CORE_EXTRA_MODULES="tetex hyphen-base texconfig gsftopk texlive.infra ${TL_CORE_BINEXTRA_MODULES}"
TL_CORE_EXTRA_DOC_MODULES="tetex.doc texconfig.doc gsftopk.doc texlive.infra.doc ${TL_CORE_BINEXTRA_DOC_MODULES}"
TL_CORE_EXTRA_SRC_MODULES="${TL_CORE_BINEXTRA_SRC_MODULES}"
for i in ${TL_CORE_EXTRA_MODULES}; do
SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.tar.xz"
done
SRC_URI="${SRC_URI} doc? ( "
for i in ${TL_CORE_EXTRA_DOC_MODULES}; do
SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.tar.xz"
done
SRC_URI="${SRC_URI} )"
SRC_URI="${SRC_URI} source? ( "
for i in ${TL_CORE_EXTRA_SRC_MODULES}; do
SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.tar.xz"
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"
IUSE="cjk X doc source tk +luajittex xetex"
TEXMF_PATH=/usr/share/texmf-dist
MODULAR_X_DEPEND="X? (
x11-libs/libXmu
x11-libs/libXp
x11-libs/libXpm
x11-libs/libXaw
)"
COMMON_DEPEND="${MODULAR_X_DEPEND}
!app-text/ptex
!app-text/tetex
!<app-text/texlive-2007
!app-text/xetex
!<dev-texlive/texlive-basic-2014
!<dev-texlive/texlive-metapost-2011
!app-text/dvibook
!dev-tex/luatex
!app-text/dvipdfm
!app-text/dvipdfmx
!app-text/xdvipdfmx
sys-libs/zlib
>=media-libs/libpng-1.2.43-r2:0=
>=app-text/poppler-0.12.3-r3:=
>=x11-libs/cairo-1.12
>=x11-libs/pixman-0.18
dev-libs/zziplib
app-text/libpaper
dev-libs/gmp:0
dev-libs/mpfr:0
xetex? (
>=media-libs/harfbuzz-0.9.20[icu,graphite]
>=dev-libs/icu-50:=
>=app-text/teckit-2.5.3
media-libs/fontconfig
media-gfx/graphite2
)
media-libs/freetype:2
>=dev-libs/kpathsea-6.2.1
cjk? ( >=dev-libs/ptexenc-1.3.3_p20150521 )"
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
sys-apps/ed
sys-devel/flex
app-arch/xz-utils"
RDEPEND="${COMMON_DEPEND}
>=app-text/ps2pkm-1.7_p20150521
>=app-text/dvipsk-5.995_p20150521
>=dev-tex/bibtexu-3.71_p20150521
virtual/perl-Getopt-Long
tk? ( dev-perl/Tk )"
S="${WORKDIR}/${P}_build"
B="${WORKDIR}/${MY_PV}"
src_unpack() {
unpack ${A}
mkdir -p "${S}" || die "failed to create build dir"
}
RELOC_TARGET=texmf-dist
src_prepare() {
cd "${WORKDIR}"
# From texlive-module.eclass.
grep -H RELOC tlpkg/tlpobj/* | awk '{print $2}' | sed 's#^RELOC/##' > "${T}/reloclist"
{ for i in $(<"${T}/reloclist"); do dirname $i; done; } | uniq > "${T}/dirlist"
for i in $(<"${T}/dirlist"); do
[ -d "${RELOC_TARGET}/${i}" ] || mkdir -p "${RELOC_TARGET}/${i}"
done
for i in $(<"${T}/reloclist"); do
mv "${i}" "${RELOC_TARGET}"/$(dirname "${i}") || die "failed to relocate ${i} to ${RELOC_TARGET}/$(dirname ${i})"
done
mv "${WORKDIR}"/texmf* "${B}" || die "failed to move texmf files"
cd "${B}"
#EPATCH_MULTI_MSG="Applying patches from upstream bugfix branch..." EPATCH_SUFFIX="patch" epatch "${WORKDIR}/gentoo_branch2011_patches"
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
sed -i \
-e "s,/usr/include /usr/local/include.*echo \$KPATHSEA_INCLUDES.*,${EPREFIX}/usr/include\"," \
texk/web2c/configure || die
elibtoolize
}
src_configure() {
# It fails on alpha without this
use alpha && append-ldflags "-Wl,--no-relax"
# Too many regexps use A-Z a-z constructs, what causes problems with locales
# that don't have the same alphabetical order than ascii. Bug #242430
# So we set LC_ALL to C in order to avoid problems.
export LC_ALL=C
tc-export CC CXX AR RANLIB
ECONF_SOURCE="${B}" \
econf -C \
--bindir="${EPREFIX}"/usr/bin \
--datadir="${S}" \
--with-system-freetype2 \
--with-system-zlib \
--with-system-libpng \
--with-system-xpdf \
--with-system-poppler \
--with-system-teckit \
--with-teckit-includes="${EPREFIX}"/usr/include/teckit \
--with-system-kpathsea \
--with-kpathsea-includes="${EPREFIX}"/usr/include \
--with-system-icu \
--with-system-ptexenc \
--with-system-harfbuzz \
--with-system-icu \
--with-system-graphite2 \
--with-system-cairo \
--with-system-pixman \
--with-system-zziplib \
--with-system-libpaper \
--with-system-gmp \
--with-system-mpfr \
--without-texinfo \
--disable-dialog \
--disable-multiplatform \
--enable-epsfwin \
--enable-mftalkwin \
--enable-regiswin \
--enable-tektronixwin \
--enable-unitermwin \
--with-ps=gs \
--disable-psutils \
--disable-t1utils \
--enable-ipc \
--disable-biber \
--disable-bibtex-x \
--disable-dvipng \
--disable-dvipsk \
--disable-chktex \
--disable-lcdf-typetools \
--disable-pdfopen \
--disable-ps2eps \
--disable-ps2pk \
--disable-detex \
--disable-ttf2pk2 \
--disable-tex4htk \
--disable-cjkutils \
--disable-xdvik \
--disable-xindy \
--enable-luatex \
--disable-dvi2tty \
--disable-dvisvgm \
--disable-vlna \
--enable-shared \
--disable-native-texlive-build \
--disable-largefile \
$(use_enable luajittex) \
$(use_enable xetex) \
$(use_enable cjk ptex) \
$(use_enable cjk eptex) \
$(use_enable cjk uptex) \
$(use_enable cjk euptex) \
$(use_enable cjk mendexk) \
$(use_enable cjk makejvf) \
$(use_enable cjk pmp) \
$(use_enable cjk upmp) \
$(use_enable tk texdoctk) \
$(use_with X x)
}
src_compile() {
tc-export CC CXX AR RANLIB
emake SHELL="${EPREFIX}"/bin/sh texmf="${EPREFIX}"${TEXMF_PATH:-/usr/share/texmf-dist}
cd "${B}" || die
# Mimic updmap --syncwithtrees to enable only fonts installed
# Code copied from updmap script
for i in `egrep '^(Mixed|Kanji)?Map' "texmf-dist/web2c/updmap.cfg" | sed 's@.* @@'`; do
texlive-common_is_file_present_in_texmf "$i" || echo "$i"
done > "${T}/updmap_update"
{
sed 's@/@\\/@g; s@^@/^MixedMap[ ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
sed 's@/@\\/@g; s@^@/^Map[ ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
sed 's@/@\\/@g; s@^@/^KanjiMap[ ]*@; s@$@$/s/^/#! /@' <"${T}/updmap_update"
} > "${T}/updmap_update2"
sed -f "${T}/updmap_update2" "texmf-dist/web2c/updmap.cfg" > "${T}/updmap_update3"\
&& cat "${T}/updmap_update3" > "texmf-dist/web2c/updmap.cfg"
}
src_install() {
dodir ${TEXMF_PATH:-/usr/share/texmf-dist}/web2c
emake DESTDIR="${D}" texmf="${ED}${TEXMF_PATH:-/usr/share/texmf-dist}" run_texlinks="true" run_mktexlsr="true" install
cd "${B}" || die
dodir /usr/share # just in case
cp -pR texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees"
cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
# When X is disabled mf-nowin doesn't exist but some scripts expect it to
# exist. Instead, it is called mf, so we symlink it to please everything.
use X || dosym mf /usr/bin/mf-nowin
docinto texk
cd "${B}/texk"
dodoc ChangeLog README
docinto dviljk
cd "${B}/texk/dviljk"
dodoc ChangeLog README NEWS
docinto makeindexk
cd "${B}/texk/makeindexk"
dodoc ChangeLog NOTES README
docinto web2c
cd "${B}/texk/web2c"
dodoc ChangeLog NEWS PROJECTS README
use doc || rm -rf "${ED}/usr/share/texmf-dist/doc"
dodir /etc/env.d
echo 'CONFIG_PROTECT_MASK="/etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d"' > "${ED}/etc/env.d/98texlive"
# populate /etc/texmf
keepdir /etc/texmf/web2c
# take care of updmap.cfg and language.d files
keepdir /etc/texmf/{updmap.d,language.dat.d,language.def.d,language.dat.lua.d}
mv "${ED}${TEXMF_PATH}/web2c/updmap.cfg" "${ED}/etc/texmf/updmap.d/00updmap.cfg" || die "moving updmap.cfg failed"
# Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files
# by texmf-update
rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf"
# Remove bundled and invalid updmap.cfg
rm -f "${ED}/usr/share/texmf-dist/web2c/updmap.cfg"
texlive-common_handle_config_files
keepdir /usr/share/texmf-site
# the virtex symlink is not installed
# The links has to be relative, since the targets
# is not present at this stage and MacOS doesn't
# like non-existing targets
dosym tex /usr/bin/virtex
dosym pdftex /usr/bin/pdfvirtex
# Rename mpost to leave room for mplib
mv "${ED}/usr/bin/mpost" "${ED}/usr/bin/mpost-${P}"
dosym "mpost-${P}" /usr/bin/mpost
# Ditto for pdftex
mv "${ED}/usr/bin/pdftex" "${ED}/usr/bin/pdftex-${P}"
dosym "pdftex-${P}" /usr/bin/pdftex
}
pkg_postinst() {
etexmf-update
elog
elog "If you have configuration files in ${EPREFIX}/etc/texmf to merge,"
elog "please update them and run ${EPREFIX}/usr/sbin/texmf-update."
elog
ewarn "If you are migrating from an older TeX distribution"
ewarn "Please make sure you have read:"
ewarn "https://wiki.gentoo.org/wiki/Project:TeX/Tex_Live_Migration_Guide"
ewarn "in order to avoid possible problems"
elog
elog "TeXLive has been split in various ebuilds. If you are missing a"
elog "package to process your TeX documents, you can install"
elog "dev-tex/texmfind to easily search for them."
elog
}

@ -0,0 +1,106 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
# Upstream only installs a static library. The original antlr ebuild
# built a shared library manually, which isn't so great either. This
# ebuild applies libtool instead and therefore an autoreconf is
# required. A couple of errors concerning tr have been seen but the
# final result still looks good. This also sidesteps bug #554344 plus
# the need to call einstall.
inherit autotools multilib-minimal
MY_P="${PN%-cpp}-${PV}"
DESCRIPTION="The ANTLR 2 C++ Runtime"
HOMEPAGE="http://www.antlr2.org/"
SRC_URI="http://www.antlr2.org/download/${MY_P}.tar.gz"
LICENSE="public-domain"
SLOT="2"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
IUSE="doc examples static-libs"
RESTRICT="test" # No tests but test target blows up!
DEPEND="doc? ( app-doc/doxygen )"
RDEPEND="!dev-java/antlr:0[cxx]"
S="${WORKDIR}/${MY_P}"
ECONF_SOURCE="${S}"
PATCHES=( "${FILESDIR}"/${PV}-{gcc,libtool}.patch )
DOCS=( lib/cpp/AUTHORS lib/cpp/ChangeLog lib/cpp/README lib/cpp/TODO )
src_prepare() {
# Turn Makefile.in files into libtool-style Makefile.am
# files. Countable.hpp is actually missing.
local HPP=$(grep -E -o "\w+\.hpp" lib/cpp/antlr/Makefile.in | grep -v "Countable\.hpp" | tr "\n" " " || die)
local CPP=$(grep -E -o "\w+\.cpp" lib/cpp/src/Makefile.in | tr "\n" " " || die)
cat <<EOF > lib/cpp/antlr/Makefile.am || die
antlr_includedir = \$(includedir)/antlr
antlr_include_HEADERS = ${HPP}
EOF
cat <<EOF > lib/cpp/src/Makefile.am || die
AM_CPPFLAGS = -I\$(abs_top_srcdir)/lib/cpp
lib_LTLIBRARIES = libantlr.la
libantlr_la_LDFLAGS = -version-info 2
libantlr_la_SOURCES = ${CPP}
EOF
default
mv -v configure.in configure.ac || die
mv -v aclocal.m4 acinclude.m4 || die
# These silly test -z lines break badly under recent autoconfs.
sed -i '/AC_PATH_PROG/s/test -z "\$[^"]*" *&& *//' configure.ac || die
# Delete build files from examples.
find examples -name Makefile.in -delete || die
# Fix make invocations. See bug #256880.
find -name "*.in" -exec sed -i 's/@MAKE@/$(MAKE)/g' {} + || die
eautoreconf
}
multilib_src_configure() {
econf \
--disable-csharp \
--enable-cxx \
--disable-examples \
--disable-java \
--disable-python \
--enable-shared \
--enable-verbose \
$(use_enable static-libs static)
}
src_compile() {
multilib-minimal_src_compile
if use doc; then
cd "${S}/lib/cpp" || die
doxygen -u doxygen.cfg || die
doxygen doxygen.cfg || die
fi
}
multilib_src_install() {
# We only care about the C++ stuff.
emake -C lib/cpp install DESTDIR="${D}"
}
src_install() {
multilib-minimal_src_install
cd "${S}" || die
use doc && dohtml -r lib/cpp/gen_doc/html/
if use examples; then
docinto examples
dodoc -r examples/cpp/*
fi
}

@ -1 +0,0 @@
DIST libbackend-elements-1.7.2.tar.bz2 22501 SHA256 803c5a9ff7422da04a6d2802214cee09c2eeddf7608866c34eb23e73bb92d3f7 SHA512 480563aa55c317a417bd3326ae108ee6bd8fbd9d3e6757f9387d5c407b8f2f4ae8194e2ee90c3ec05fa8d05113251d9850c176919e4e8b322409ff6625c29355 WHIRLPOOL fdba6955119b02b8b623d6d427593577049ee163389b0d42a0f45f0da7b816d49a267c18c6beab32f62b3adc414d8e752944ec31e6bd77781269d35e3272e843

@ -1,77 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="2"
inherit toolchain-funcs versionator
DESCRIPTION="A collection of elementary building blocks for implementing compiler backends in c++"
HOMEPAGE="http://kolpackov.net/projects/libbackend-elements/"
SRC_URI="ftp://kolpackov.net/pub/projects/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ppc ppc64 x86"
IUSE=""
RDEPEND=">=dev-cpp/libcult-1.4.6-r1
dev-libs/boost"
DEPEND="${RDEPEND}
dev-util/build"
src_configure() {
BOOST_PKG="$(best_version ">=dev-libs/boost-1.35.0-r5")"
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
BOOST_INC="/usr/include/boost-${BOOST_VER}"
mkdir -p build/{ld,cxx/gnu,import/libboost,import/libcult}
cat >> build/cxx/configuration-dynamic.make <<- EOF
cxx_id := gnu
cxx_optimize := n
cxx_debug := n
cxx_rpath := n
cxx_pp_extra_options :=
cxx_extra_options := ${CXXFLAGS} -I${BOOST_INC}
cxx_ld_extra_options := ${LDFLAGS}
cxx_extra_libs :=
cxx_extra_lib_paths :=
EOF
cat >> build/cxx/gnu/configuration-dynamic.make <<- EOF
cxx_gnu := $(tc-getCXX)
cxx_gnu_libraries :=
cxx_gnu_optimization_options :=
EOF
cat >> build/import/libboost/configuration-dynamic.make <<- EOF
libboost_installed := y
libboost_suffix := -mt-${BOOST_VER}
EOF
cat >> build/import/libcult/configuration-dynamic.make <<- EOF
libcult_installed := y
EOF
cat >> build/ld/configuration-lib-dynamic.make <<- EOF
ld_lib_type := shared
EOF
MAKEOPTS+=" verbose=1"
}
src_install() {
find backend-elements -iname "*.cxx" \
-o -iname "makefile" \
-o -iname "*.o" -o -iname "*.d" \
-o -iname "*.m4" -o -iname "*.l" \
-o -iname "*.cpp-options" -o -iname "*.so" | xargs rm -f
rm -rf backend-elements/arch
insinto /usr/include
doins -r backend-elements
dodoc NEWS README documentation/[[:upper:]]*
dohtml -A xhtml -r documentation/*
}

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>dev-zero@gentoo.org</email>
<name>Tiziano Müller</name>
</maintainer>
</pkgmetadata>

@ -1 +0,0 @@
DIST libcult-1.4.6.tar.bz2 51036 SHA256 f1b51023880440d3e673bf9c3d2b034f1e16511b33ab006cd9f7d937246e48ac SHA512 4a3a3a2967bf8c8eaf47b028bbd475245d89ba746352b62a0e8fdc80ba912e90a928e2f4c863812b86e4c3881294d816a822c0f63a0aea2edc3f08d80365b3fd WHIRLPOOL 4bbf5e4ff7bef4c0c086b2c0be318c733b545f5910e72876ccf967d138df0d3de3b3c1f368147d64fd42828a7eecf1c3a5884c397f964df23dc0308ed8e13b43

@ -1,57 +0,0 @@
From 2ef8e0426baad35a3438f9497005c3e3391e23f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tiziano=20M=C3=BCller?= <tm@dev-zero.ch>
Date: Fri, 1 Jun 2012 10:12:33 +0200
Subject: [PATCH 2/2] fix compilation with gcc-4.7
---
cult/mm/evptr.hxx | 4 ++--
cult/mm/shptr.hxx | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/cult/mm/evptr.hxx b/cult/mm/evptr.hxx
index 18f232c..ed0bd93 100644
--- a/cult/mm/evptr.hxx
+++ b/cult/mm/evptr.hxx
@@ -70,7 +70,7 @@ namespace Cult
Evptr&
operator= (Evptr const& ep)
{
- assign (ep.cp_ ? ep.cp_ : ep.p_, ep.c_);
+ this->assign (ep.cp_ ? ep.cp_ : ep.p_, ep.c_);
return *this;
}
@@ -79,7 +79,7 @@ namespace Cult
Evptr&
operator= (Evptr<Y> const& ep)
{
- assign (ep.cp_ ? ep.cp_ : ep.p_, ep.c_);
+ this->assign (ep.cp_ ? ep.cp_ : ep.p_, ep.c_);
return *this;
}
diff --git a/cult/mm/shptr.hxx b/cult/mm/shptr.hxx
index a5e1257..6630b1c 100644
--- a/cult/mm/shptr.hxx
+++ b/cult/mm/shptr.hxx
@@ -45,7 +45,7 @@ namespace Cult
Shptr&
operator= (Shptr const& ap)
{
- assign (ap);
+ this->assign (ap);
return *this;
}
@@ -53,7 +53,7 @@ namespace Cult
Shptr&
operator= (Shptr<Y> const& ap)
{
- assign (ap);
+ this->assign (ap);
return *this;
}
--
1.7.8.5

@ -1,163 +0,0 @@
Fix compilation with GCC 6.x (C++14 as default standard). Remove throw
specificator from function declaration when compilation is performed with
standard >= C++11. Adds one cast to argument in C++11, C++14.
Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=593928
--- a/cult/cli/file-arguments.hxx
+++ b/cult/cli/file-arguments.hxx
@@ -46,8 +46,12 @@
{
if (i >= size ())
throw Bounds ();
-
- args_.erase (args_.begin () + i);
+
+#if __cplusplus < 201103L
+ args_.erase (args_.begin() + i);
+#else
+ args_.erase ((Containers::Vector<String>::ConstIterator)(args_.begin () + i));
+#endif
}
private:
--- a/cult/mm/new.cxx
+++ b/cult/mm/new.cxx
@@ -140,7 +140,12 @@
using namespace Cult;
Void*
-operator new (Size s) throw (MM::StdBadAlloc)
+operator new (Size s)
+#if __cplusplus < 201103L
+throw (MM::StdBadAlloc)
+#else
+noexcept(false)
+#endif
{
return MM::allocate (s, *MM::counted);
}
--- a/cult/mm/new.hxx
+++ b/cult/mm/new.hxx
@@ -255,7 +255,13 @@
}
Cult::Void*
-operator new (Cult::Size) throw (Cult::MM::StdBadAlloc);
+operator new (Cult::Size)
+#if __cplusplus < 201103L
+throw (Cult::MM::StdBadAlloc)
+#else
+noexcept(false)
+#endif
+;
Cult::Void*
operator new (Cult::Size,
--- a/cult/sched/condition.cxx
+++ b/cult/sched/condition.cxx
@@ -12,6 +12,9 @@
{
Condition::
~Condition ()
+#if __cplusplus >= 201103L
+ noexcept(false)
+#endif
{
if (Int e = pthread_cond_destroy (&cond_))
throw Implementation (e);
--- a/cult/sched/condition.hxx
+++ b/cult/sched/condition.hxx
@@ -19,7 +19,11 @@
class Condition: public NonCopyable
{
public:
- ~Condition ();
+ ~Condition ()
+#if __cplusplus >= 201103L
+ noexcept(false)
+#endif
+ ;
Condition (Mutex& mutex);
--- a/cult/sched/mutex.cxx
+++ b/cult/sched/mutex.cxx
@@ -12,6 +12,9 @@
{
Mutex::
~Mutex ()
+#if __cplusplus >= 201103L
+ noexcept(false)
+#endif
{
if (Int e = pthread_mutex_destroy (&mutex_))
throw Implementation (e);
--- a/cult/sched/mutex.hxx
+++ b/cult/sched/mutex.hxx
@@ -17,7 +17,11 @@
class Mutex: public NonCopyable
{
public:
- ~Mutex ();
+ ~Mutex ()
+#if __cplusplus >= 201103L
+ noexcept(false)
+#endif
+ ;
Mutex ();
--- a/cult/sched/spin.cxx
+++ b/cult/sched/spin.cxx
@@ -12,6 +12,9 @@
{
Spin::
~Spin ()
+#if __cplusplus >= 201103L
+ noexcept(false)
+#endif
{
if (Int e = pthread_spin_destroy (&spin_))
throw Implementation (e);
--- a/cult/sched/spin.hxx
+++ b/cult/sched/spin.hxx
@@ -17,7 +17,11 @@
class Spin: public NonCopyable
{
public:
- ~Spin ();
+ ~Spin ()
+#if __cplusplus >= 201103L
+ noexcept(false)
+#endif
+ ;
Spin ();
--- a/cult/sched/thread.cxx
+++ b/cult/sched/thread.cxx
@@ -196,6 +196,9 @@
Thread::
~Thread ()
+#if __cplusplus >= 201103L
+ noexcept(false)
+#endif
{
tout << "thread is being destroyed.";
--- a/cult/sched/thread.hxx
+++ b/cult/sched/thread.hxx
@@ -30,7 +30,11 @@
public:
virtual
- ~Thread ();
+ ~Thread ()
+#if __cplusplus >= 201103L
+ noexcept(false)
+#endif
+ ;
Thread (Void* (*StartRoutine) (Void*), Void* arg = 0);

@ -1,87 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit eutils toolchain-funcs versionator
DESCRIPTION="A collection of C++ libraries"
HOMEPAGE="http://kolpackov.net/projects/libcult/"
SRC_URI="ftp://kolpackov.net/pub/projects/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ppc ppc64 x86"
IUSE="examples"
DEPEND="dev-util/build
sys-devel/m4"
RDEPEND=""
src_prepare() {
# never build the examples
sed -i \
-e 's| $(out_base)/examples/[[:alnum:]\.]*||' \
-e '/examples\/makefile/d' \
makefile || die "sed failed"
epatch "${FILESDIR}/${PV}-fix-compilation-with-gcc-4.7.patch"
epatch "${FILESDIR}/${P}-cpp14.patch" # bug #593928
}
src_configure() {
mkdir -p build/{cxx/gnu,ld}
cat >> build/configuration-dynamic.make <<- EOF
cult_dr := y
cult_threads := y
cult_network := y
EOF
cat >> build/cxx/configuration-dynamic.make <<- EOF
cxx_id := gnu
cxx_optimize := n
cxx_debug := n
cxx_rpath := n
cxx_pp_extra_options :=
cxx_extra_options := ${CXXFLAGS}
cxx_ld_extra_options := ${LDFLAGS}
cxx_extra_libs :=
cxx_extra_lib_paths :=
EOF
cat >> build/cxx/gnu/configuration-dynamic.make <<- EOF
cxx_gnu := $(tc-getCXX)
cxx_gnu_libraries :=
cxx_gnu_optimization_options :=
EOF
cat >> build/ld/configuration-lib-dynamic.make <<- EOF
ld_lib_type := shared
EOF
MAKEOPTS+=" verbose=1"
}
src_install() {
dolib.so cult/libcult.so
find cult -iname "*.cxx" \
-o -iname "makefile" \
-o -iname "*.o" -o -iname "*.d" \
-o -iname "*.m4" -o -iname "*.l" \
-o -iname "*.cpp-options" -o -iname "*.so" | xargs rm -f
rm -rf cult/arch
insinto /usr/include
doins -r cult
dodoc NEWS README documentation/[[:upper:]]*
dohtml -A xhtml -r documentation/*
if use examples ; then
find examples -name makefile -delete
# preserving symlinks in the examples
cp -dpR examples "${D}/usr/share/doc/${PF}"
fi
}

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>dev-zero@gentoo.org</email>
<name>Tiziano Müller</name>
</maintainer>
</pkgmetadata>

@ -1 +0,0 @@
DIST libfrontend-elements-1.1.4.tar.bz2 17766 SHA256 ea1cdf861e5922af9a1b85371fe76d0bcbbc17ca0939e907a8fde552f5900b63 SHA512 2d371259171fdc5605b9ada6e4036fb8ac6ea09e6dbaf13d90651cf532b2ffa2f007ccf8e4b42bf1e333df1bc31a7434f7b68a6a15e2090eea462a97b4188afe WHIRLPOOL 65a60689c401efda4fa1813af3f97245c80ec4fa285d52b593a3e9dcbb3402b1768e0378f45d54abbef4bd32f59535c589b4a092fd3bedb240a06e991d17671a

@ -1,82 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="2"
inherit toolchain-funcs versionator
DESCRIPTION="A collection of elementary building blocks for implementing compiler frontends in c++"
HOMEPAGE="http://kolpackov.net/projects/libfrontend-elements/"
SRC_URI="ftp://kolpackov.net/pub/projects/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ppc ppc64 x86"
IUSE="examples"
RDEPEND=">=dev-cpp/libcult-1.4.6-r1"
DEPEND="${RDEPEND}
dev-util/build"
src_prepare() {
# never build the examples
sed -i \
-e 's| $(out_base)/examples/[[:alnum:]\.]*||' \
-e '/examples\/makefile/d' \
makefile || die "sed failed"
}
src_configure() {
mkdir -p build/{ld,cxx/gnu,import/libcult}
cat >> build/cxx/configuration-dynamic.make <<- EOF
cxx_id := gnu
cxx_optimize := n
cxx_debug := n
cxx_rpath := n
cxx_pp_extra_options :=
cxx_extra_options := ${CXXFLAGS}
cxx_ld_extra_options := ${LDFLAGS}
cxx_extra_libs :=
cxx_extra_lib_paths :=
EOF
cat >> build/cxx/gnu/configuration-dynamic.make <<- EOF
cxx_gnu := $(tc-getCXX)
cxx_gnu_libraries :=
cxx_gnu_optimization_options :=
EOF
cat >> build/import/libcult/configuration-dynamic.make <<- EOF
libcult_installed := y
EOF
cat >> build/ld/configuration-lib-dynamic.make <<- EOF
ld_lib_type := shared
EOF
MAKEOPTS+=" verbose=1"
}
src_install() {
dolib.so frontend-elements/libfrontend-elements.so
find frontend-elements -iname "*.cxx" \
-o -iname "makefile" \
-o -iname "*.o" -o -iname "*.d" \
-o -iname "*.m4" -o -iname "*.l" \
-o -iname "*.cpp-options" -o -iname "*.so" | xargs rm -f
rm -rf frontend-elements/arch
insinto /usr/include
doins -r frontend-elements
dodoc NEWS README documentation/[[:upper:]]*
dohtml -A xhtml -r documentation/*
if use examples ; then
find examples -name makefile -delete
# preserving symlinks in the examples
cp -dpR examples "${D}/usr/share/doc/${PF}"
fi
}

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>dev-zero@gentoo.org</email>
<name>Tiziano Müller</name>
</maintainer>
</pkgmetadata>

@ -1,2 +1 @@
DIST libxsd-frontend-1.18.0.tar.bz2 66937 SHA256 78382d44ae0575fec04eb2e2e70c2bb751b49eb995aad725d3c2e9ee8ac98590 SHA512 fdff24659037d99ca37a15c2bc33a91e9864d2df20210c13230ab64c3c5ecd7aebefe5c7b3b316812d8f844ca38c297931d74d19a278bf986de80e2f0c54d223 WHIRLPOOL 94f092087f17b0694821ab1f7864fa80639c7daf73e6926d665365d624f46d69d1f74e0de4af901a399593bf52020311614c000d94160505a429728f0d3e2818
DIST libxsd-frontend-2.0.0.tar.bz2 66784 SHA256 35ba30988c67bc4ce9278d869ec0a04305eabf55287456af34c66ebe3564bfda SHA512 8a296fdfe2e562237d46774b33ee82e8f67835b0869c03ffdf04570db1e6f398cf97734685d44c2207abbb73cea20b57e53c8fd80a121f98196c1c7d4bacbc68 WHIRLPOOL 44f75d2d394f3db4edf773b4f36f74982600f5e55a445c4d0e6eb6254c1150c3eaf18b87d343d1728eccb5f6f92cd8888d80f86a7dc01f513d476dda056e0f89

@ -1,261 +0,0 @@
diff -Naurb -I '^//' -I '^# copyright' -x build libxsd-frontend-1.17.0/tests/dump/driver.cxx xsd-3.3.0-2+dep/libxsd-frontend/tests/dump/driver.cxx
--- libxsd-frontend-1.17.0/tests/dump/driver.cxx 2010-04-27 21:31:24.000000000 +0200
+++ xsd-3.3.0-2+dep/libxsd-frontend/tests/dump/driver.cxx 2012-08-23 11:30:16.074750804 +0200
@@ -586,7 +586,11 @@
// Parse schema.
//
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
SemanticGraph::Path path (argv[i], boost::filesystem::native);
+#else
+ SemanticGraph::Path path (argv[i]);
+#endif
Parser parser (true, false, true);
Evptr<SemanticGraph::Schema> tu (parser.parse (path));
diff -Naurb -I '^//' -I '^# copyright' -x build libxsd-frontend-1.17.0/xsd-frontend/parser.cxx xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/parser.cxx
--- libxsd-frontend-1.17.0/xsd-frontend/parser.cxx 2010-04-27 21:31:24.000000000 +0200
+++ xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/parser.cxx 2012-06-03 11:02:29.000000000 +0200
@@ -1274,7 +1274,11 @@
operator () (SemanticGraph::Path const& x,
SemanticGraph::Path const& y) const
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
return x.native_file_string () < y.native_file_string ();
+#else
+ return x.string () < y.string ();
+#endif
}
};
@@ -1627,9 +1631,15 @@
friend Boolean
operator< (SchemaId const& x, SchemaId const& y)
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
return x.path_.native_file_string () < y.path_.native_file_string ()
|| (x.path_.native_file_string () == y.path_.native_file_string ()
&& x.ns_ < y.ns_);
+#else
+ return x.path_.string () < y.path_.string ()
+ || (x.path_.string () == y.path_.string ()
+ && x.ns_ < y.ns_);
+#endif
}
private:
@@ -2376,6 +2386,7 @@
Path path, rel_path, abs_path;
try
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
try
{
path = Path (loc);
@@ -2386,6 +2397,10 @@
//
path = Path (loc, boost::filesystem::native);
}
+#else
+ // The new ABI does not have a fallback native representation
+ path = Path (loc.c_str());
+#endif
if (path.is_complete ())
{
@@ -2479,6 +2494,7 @@
Path path, rel_path, abs_path;
try
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
try
{
path = Path (loc);
@@ -2489,6 +2505,10 @@
//
path = Path (loc, boost::filesystem::native);
}
+#else
+ // The new API does not have a fallback native representation.
+ path = Path (loc.c_str());
+#endif
if (path.is_complete ())
{
@@ -4674,9 +4694,14 @@
return true;
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
XSDFrontend::SemanticGraph::Path abs_path (
XML::transcode_to_narrow (e.getLocation ()->getURI ()),
boost::filesystem::native);
+#else
+ XSDFrontend::SemanticGraph::Path abs_path (
+ XML::transcode_to_narrow (e.getLocation ()->getURI ()).c_str());
+#endif
XSDFrontend::SemanticGraph::Path rel_path (ctx_.file (abs_path));
@@ -4729,8 +4754,12 @@
base_ (base),
ctx_ (ctx)
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
setSystemId (XML::XMLChString (
String (abs_.native_file_string ())).c_str ());
+#else
+ setSystemId (XML::XMLChString (String (abs_.string ())).c_str ());
+#endif
}
virtual Xerces::BinInputStream*
@@ -4803,8 +4832,12 @@
// base_uri should be a valid path by now.
//
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
Path base (XML::transcode_to_narrow (base_uri),
boost::filesystem::native);
+#else
+ Path base (XML::transcode_to_narrow (base_uri).c_str());
+#endif
if (prv_id == 0)
{
@@ -4830,6 +4863,7 @@
{
Path path;
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
try
{
path = Path (path_str);
@@ -4840,6 +4874,10 @@
//
path = Path (path_str, boost::filesystem::native);
}
+#else
+ // The new ABI does not have a fallback native representation
+ path = Path (path_str.c_str());
+#endif
Path base_dir (base.branch_path ());
diff -Naurb -I '^//' -I '^# copyright' -x build libxsd-frontend-1.17.0/xsd-frontend/semantic-graph/elements.cxx xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx
--- libxsd-frontend-1.17.0/xsd-frontend/semantic-graph/elements.cxx 2010-04-27 21:31:24.000000000 +0200
+++ xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx 2012-06-03 11:02:29.000000000 +0200
@@ -342,5 +342,9 @@
std::wostream&
operator<< (std::wostream& os, XSDFrontend::SemanticGraph::Path const& path)
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
return os << path.native_file_string ().c_str ();
+#else
+ return os << path.string ().c_str ();
+#endif
}
diff -Naurb -I '^//' -I '^# copyright' -x build libxsd-frontend-1.17.0/xsd-frontend/transformations/anonymous.cxx xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/transformations/anonymous.cxx
--- libxsd-frontend-1.17.0/xsd-frontend/transformations/anonymous.cxx 2010-04-27 21:31:24.000000000 +0200
+++ xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/transformations/anonymous.cxx 2012-06-03 11:02:29.000000000 +0200
@@ -275,7 +275,11 @@
}
catch (SemanticGraph::InvalidPath const&)
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
file_str = file.native_file_string ();
+#else
+ file_str = file.string ();
+#endif
}
String name (
@@ -358,7 +362,11 @@
}
catch (SemanticGraph::InvalidPath const&)
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
file_str = file.native_file_string ();
+#else
+ file_str = file.string ();
+#endif
}
}
@@ -441,7 +449,11 @@
}
catch (SemanticGraph::InvalidPath const&)
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
file_str = file.native_file_string ();
+#else
+ file_str = file.string ();
+#endif
}
String name (
@@ -639,7 +651,11 @@
}
catch (SemanticGraph::InvalidPath const&)
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
file_str = file.native_file_string ();
+#else
+ file_str = file.string ();
+#endif
}
String name (
diff -Naurb -I '^//' -I '^# copyright' -x build libxsd-frontend-1.17.0/xsd-frontend/transformations/schema-per-type.cxx xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/transformations/schema-per-type.cxx
--- libxsd-frontend-1.17.0/xsd-frontend/transformations/schema-per-type.cxx 2010-04-27 21:31:24.000000000 +0200
+++ xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/transformations/schema-per-type.cxx 2012-06-03 11:02:29.000000000 +0200
@@ -167,7 +167,11 @@
try
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
path = Path (file_name);
+#else
+ path = Path (file_name.c_str());
+#endif
}
catch (InvalidPath const&)
{
@@ -349,6 +353,7 @@
//
NarrowString abs_path;
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
// Try to use the portable representation of the path. If that
// fails, fall back to the native representation.
//
@@ -360,9 +365,17 @@
{
abs_path = path.native_file_string ();
}
+#else
+ // The new ABI does not have a fallback native representation
+ abs_path = path.string ();
+#endif
NarrowString tf (trans_.translate_schema (abs_path));
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
NarrowString file (tf ? tf : path.leaf ());
+#else
+ NarrowString file (tf ? tf : path.filename ().string());
+#endif
Size p (file.rfind ('.'));
NarrowString ext (
@@ -389,7 +402,11 @@
try
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
(*i)->context ().set ("renamed", SemanticGraph::Path (new_name));
+#else
+ (*i)->context ().set ("renamed", SemanticGraph::Path (new_name.c_str()));
+#endif
}
catch (SemanticGraph::InvalidPath const&)
{

@ -1,92 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils toolchain-funcs versionator
DESCRIPTION="A compiler frontend for the W3C XML Schema definition language"
HOMEPAGE="http://www.codesynthesis.com/projects/libxsd-frontend/"
SRC_URI="http://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ppc ppc64 x86"
RDEPEND=">=dev-libs/xerces-c-3
>=dev-libs/boost-1.52.0-r1:=[threads]
>=dev-cpp/libcult-1.4.6-r1
>=dev-cpp/libfrontend-elements-1.1.4"
DEPEND="${RDEPEND}
dev-util/build"
src_prepare() {
epatch "${FILESDIR}/1.17.0-boost-filesystem-v2-deprecation.patch"
}
src_configure() {
mkdir -p \
build/{ld,cxx/gnu} \
build/import/lib{boost,cult,frontend-elements,xerces-c}
cat >> build/cxx/configuration-dynamic.make <<- EOF
cxx_id := gnu
cxx_optimize := n
cxx_debug := n
cxx_rpath := n
cxx_pp_extra_options :=
cxx_extra_options := ${CXXFLAGS}
cxx_ld_extra_options := ${LDFLAGS}
cxx_extra_libs :=
cxx_extra_lib_paths :=
EOF
cat >> build/cxx/gnu/configuration-dynamic.make <<- EOF
cxx_gnu := $(tc-getCXX)
cxx_gnu_libraries :=
cxx_gnu_optimization_options :=
EOF
cat >> build/import/libboost/configuration-dynamic.make <<- EOF
libboost_installed := y
libboost_system := y
EOF
cat >> build/import/libcult/configuration-dynamic.make <<- EOF
libcult_installed := y
EOF
cat >> build/ld/configuration-lib-dynamic.make <<- EOF
ld_lib_type := shared
EOF
cat >> build/import/libfrontend-elements/configuration-dynamic.make <<- EOF
libfrontend_elements_installed := y
EOF
cat >> build/import/libxerces-c/configuration-dynamic.make <<- EOF
libxerces_c_installed := y
EOF
MAKEOPTS+=" verbose=1"
}
src_install() {
dolib.so xsd-frontend/libxsd-frontend.so
find xsd-frontend -iname "*.cxx" \
-o -iname "makefile" \
-o -iname "*.o" -o -iname "*.d" \
-o -iname "*.m4" -o -iname "*.l" \
-o -iname "*.cpp-options" -o -iname "*.so" | xargs rm -f
rm -rf xsd-frontend/arch
insinto /usr/include
doins -r xsd-frontend
dodoc NEWS README
}
src_test() {
export LD_LIBRARY_PATH="${S}/xsd-frontend:${LD_LIBRARY_PATH}"
default
}

@ -1,2 +1 @@
DIST xsd-3.3.0.tar.bz2 999479 SHA256 6157e3b0f3108f69a8d9344956020c234841d4a1de28745b19e45f8ee34b0c66 SHA512 4e7d18d71b362c4b67ad70c59c68d9be4a5f7210c94306c1685c2991a5eb82496675ac0c53f2919237e658d2e1fcf7e1bf5abe295127c7cf175c8eed090a8570 WHIRLPOOL 70b4767c463d4c5be65f8757e519a98a3c9dbc00f9a8a86026bdba5115eae5c5c7008ea05709ba293a68ab8de718b070cc0b4f6390f5bac62dca5f8a63480341
DIST xsd-4.0.0.tar.bz2 1042144 SHA256 dd85f46407c7ec161518f3fdc64263afb68b057b1bc0b09b47d792d1fabd29c2 SHA512 0bac508e6948ef9e2399daed2554fcff3eaa79a7e62a3b245c777fb8bef3c5c80a35403bffdb00f72d3cf1b411747a91c059dd1c932b0a00baf076d3e60da527 WHIRLPOOL 84cd9baeb2a9fbfa24dafd212950ca7e7ab808d3bc432c8fbf3837c4aad2d1aefabc5fa7f6ac1fb69584b6bd136f04badf435c28024009b0edc00ea7f2ef78ef

@ -1,925 +0,0 @@
diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/libxsd/xsd/cxx/parser/expat/elements.txx xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/expat/elements.txx
--- xsd-3.3.0/libxsd/xsd/cxx/parser/expat/elements.txx 2010-04-28 08:58:09.000000000 +0200
+++ xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/expat/elements.txx 2012-06-03 11:02:09.000000000 +0200
@@ -594,7 +594,7 @@
{
try
{
- start_element (ns, name, 0);
+ this->start_element (ns, name, 0);
}
catch (const schema_exception<C>& e)
{
@@ -621,7 +621,7 @@
{
try
{
- start_element (ns, name, 0);
+ this->start_element (ns, name, 0);
}
catch (const schema_exception<C>& e)
{
@@ -693,7 +693,7 @@
}
ro_string<C> ro_id (id);
- start_element (ns, name, &ro_id);
+ this->start_element (ns, name, &ro_id);
}
catch (const schema_exception<C>& e)
{
@@ -713,7 +713,7 @@
try
{
- attribute (ns, name, value);
+ this->attribute (ns, name, value);
}
catch (const schema_exception<C>& e)
{
@@ -748,7 +748,7 @@
try
{
- end_element (ns, name);
+ this->end_element (ns, name);
}
catch (const schema_exception<C>& e)
{
@@ -777,7 +777,7 @@
try
{
- characters (str);
+ this->characters (str);
}
catch (const schema_exception<C>& e)
{
diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/libxsd/xsd/cxx/parser/non-validating/parser.txx xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/non-validating/parser.txx
--- xsd-3.3.0/libxsd/xsd/cxx/parser/non-validating/parser.txx 2010-04-28 08:58:09.000000000 +0200
+++ xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/non-validating/parser.txx 2012-06-03 11:02:09.000000000 +0200
@@ -164,15 +164,15 @@
if (ns == xml::bits::xmlns_namespace<C> ())
return;
- if (!_attribute_impl (ns, name, value))
- _any_attribute (ns, name, value);
+ if (!this->_attribute_impl (ns, name, value))
+ this->_any_attribute (ns, name, value);
}
template <typename C>
void simple_content<C>::
_characters (const ro_string<C>& str)
{
- _characters_impl (str);
+ this->_characters_impl (str);
}
@@ -190,15 +190,15 @@
if (s.depth_++ > 0)
{
if (s.any_)
- _start_any_element (ns, name, type);
+ this->_start_any_element (ns, name, type);
else if (s.parser_)
s.parser_->_start_element (ns, name, type);
}
else
{
- if (!_start_element_impl (ns, name, type))
+ if (!this->_start_element_impl (ns, name, type))
{
- _start_any_element (ns, name, type);
+ this->_start_any_element (ns, name, type);
s.any_ = true;
}
else if (s.parser_ != 0)
@@ -235,7 +235,7 @@
this->_post_impl ();
- if (!_end_element_impl (ns, name))
+ if (!this->_end_element_impl (ns, name))
assert (false);
}
}
@@ -246,7 +246,7 @@
if (--s.depth_ > 0)
{
if (s.any_)
- _end_any_element (ns, name);
+ this->_end_any_element (ns, name);
else if (s.parser_)
s.parser_->_end_element (ns, name);
}
@@ -255,10 +255,10 @@
if (s.parser_ != 0 && !s.any_)
s.parser_->_post_impl ();
- if (!_end_element_impl (ns, name))
+ if (!this->_end_element_impl (ns, name))
{
s.any_ = false;
- _end_any_element (ns, name);
+ this->_end_any_element (ns, name);
}
}
}
@@ -292,14 +292,14 @@
if (s.depth_ > 0)
{
if (s.any_)
- _any_attribute (ns, name, value);
+ this->_any_attribute (ns, name, value);
else if (s.parser_)
s.parser_->_attribute (ns, name, value);
}
else
{
- if (!_attribute_impl (ns, name, value))
- _any_attribute (ns, name, value);
+ if (!this->_attribute_impl (ns, name, value))
+ this->_any_attribute (ns, name, value);
}
}
@@ -312,14 +312,14 @@
if (s.depth_ > 0)
{
if (s.any_)
- _any_characters (str);
+ this->_any_characters (str);
else if (s.parser_)
s.parser_->_characters (str);
}
else
{
- if (!_characters_impl (str))
- _any_characters (str);
+ if (!this->_characters_impl (str))
+ this->_any_characters (str);
}
}
diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.txx xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.txx
--- xsd-3.3.0/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.txx 2010-04-28 08:58:09.000000000 +0200
+++ xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/non-validating/xml-schema-pskel.txx 2012-06-03 11:02:09.000000000 +0200
@@ -20,7 +20,7 @@
const ro_string<C>& name,
const ro_string<C>* type)
{
- _start_any_element (ns, name, type);
+ this->_start_any_element (ns, name, type);
this->complex_content<C>::context_.top ().any_ = true;
return true;
}
@@ -30,7 +30,7 @@
_end_element_impl (const ro_string<C>& ns, const ro_string<C>& name)
{
this->complex_content<C>::context_.top ().any_ = false;
- _end_any_element (ns, name);
+ this->_end_any_element (ns, name);
return true;
}
@@ -41,7 +41,7 @@
const ro_string<C>& name,
const ro_string<C>& value)
{
- _any_attribute (ns, name, value);
+ this->_any_attribute (ns, name, value);
return true;
}
@@ -49,7 +49,7 @@
bool any_type_pskel<C>::
_characters_impl (const ro_string<C>& s)
{
- _any_characters (s);
+ this->_any_characters (s);
return true;
}
@@ -60,7 +60,7 @@
bool any_simple_type_pskel<C>::
_characters_impl (const ro_string<C>& s)
{
- _any_characters (s);
+ this->_any_characters (s);
return true;
}
}
diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/libxsd/xsd/cxx/parser/validating/parser.txx xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/validating/parser.txx
--- xsd-3.3.0/libxsd/xsd/cxx/parser/validating/parser.txx 2010-04-28 08:58:09.000000000 +0200
+++ xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/validating/parser.txx 2012-06-03 11:02:09.000000000 +0200
@@ -93,8 +93,8 @@
const ro_string<C>& name,
const ro_string<C>* type)
{
- if (!_start_element_impl (ns, name, type))
- _unexpected_element (ns, name);
+ if (!this->_start_element_impl (ns, name, type))
+ this->_unexpected_element (ns, name);
}
template <typename C>
@@ -102,8 +102,8 @@
_end_element (const ro_string<C>& ns,
const ro_string<C>& name)
{
- if (!_end_element_impl (ns, name))
- _unexpected_element (ns, name);
+ if (!this->_end_element_impl (ns, name))
+ this->_unexpected_element (ns, name);
}
template <typename C>
@@ -129,16 +129,16 @@
if (ns == xml::bits::xmlns_namespace<C> ())
return;
- if (!_attribute_impl (ns, name, value))
- _unexpected_attribute (ns, name, value);
+ if (!this->_attribute_impl (ns, name, value))
+ this->_unexpected_attribute (ns, name, value);
}
template <typename C>
void empty_content<C>::
_characters (const ro_string<C>& s)
{
- if (!_characters_impl (s))
- _unexpected_characters (s);
+ if (!this->_characters_impl (s))
+ this->_unexpected_characters (s);
}
//
@@ -218,15 +218,15 @@
if (ns == xml::bits::xmlns_namespace<C> ())
return;
- if (!_attribute_impl (ns, name, value))
- _unexpected_attribute (ns, name, value);
+ if (!this->_attribute_impl (ns, name, value))
+ this->_unexpected_attribute (ns, name, value);
}
template <typename C>
void simple_content<C>::
_characters (const ro_string<C>& str)
{
- if (!_characters_impl (str))
+ if (!this->_characters_impl (str))
{
// Mixed content is implemented in the generated code
// by overriding _characters_impl and forwarding to
@@ -245,7 +245,7 @@
c != C (0x0D) && // carriage return
c != C (0x09) && // tab
c != C (0x0A))
- _unexpected_characters (str);
+ this->_unexpected_characters (str);
}
}
}
@@ -322,14 +322,14 @@
if (s.depth_++ > 0)
{
if (s.any_)
- _start_any_element (ns, name, type);
+ this->_start_any_element (ns, name, type);
else if (s.parser_)
s.parser_->_start_element (ns, name, type);
}
else
{
- if (!_start_element_impl (ns, name, type))
- _unexpected_element (ns, name);
+ if (!this->_start_element_impl (ns, name, type))
+ this->_unexpected_element (ns, name);
else if (s.parser_ != 0)
s.parser_->_pre_impl ();
}
@@ -364,7 +364,7 @@
this->_post_impl ();
- if (!_end_element_impl (ns, name))
+ if (!this->_end_element_impl (ns, name))
assert (false);
}
}
@@ -375,7 +375,7 @@
if (--s.depth_ > 0)
{
if (s.any_)
- _end_any_element (ns, name);
+ this->_end_any_element (ns, name);
else if (s.parser_)
s.parser_->_end_element (ns, name);
}
@@ -384,8 +384,8 @@
if (s.parser_ != 0 && !s.any_)
s.parser_->_post_impl ();
- if (!_end_element_impl (ns, name))
- _unexpected_element (ns, name);
+ if (!this->_end_element_impl (ns, name))
+ this->_unexpected_element (ns, name);
}
}
}
@@ -418,14 +418,14 @@
if (s.depth_ > 0)
{
if (s.any_)
- _any_attribute (ns, name, value);
+ this->_any_attribute (ns, name, value);
else if (s.parser_)
s.parser_->_attribute (ns, name, value);
}
else
{
- if (!_attribute_impl (ns, name, value))
- _unexpected_attribute (ns, name, value);
+ if (!this->_attribute_impl (ns, name, value))
+ this->_unexpected_attribute (ns, name, value);
}
}
@@ -438,13 +438,13 @@
if (s.depth_ > 0)
{
if (s.any_)
- _any_characters (str);
+ this->_any_characters (str);
else if (s.parser_)
s.parser_->_characters (str);
}
else
{
- if (!_characters_impl (str))
+ if (!this->_characters_impl (str))
{
// Mixed content is implemented in the generated code
// by overriding _characters_impl and forwarding to
@@ -463,7 +463,7 @@
c != C (0x0D) && // carriage return
c != C (0x09) && // tab
c != C (0x0A))
- _unexpected_characters (str);
+ this->_unexpected_characters (str);
}
}
}
diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.txx xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.txx
--- xsd-3.3.0/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.txx 2010-04-28 08:58:09.000000000 +0200
+++ xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/parser/validating/xml-schema-pskel.txx 2012-06-03 11:02:09.000000000 +0200
@@ -20,7 +20,7 @@
const ro_string<C>& name,
const ro_string<C>* type)
{
- _start_any_element (ns, name, type);
+ this->_start_any_element (ns, name, type);
this->complex_content<C>::context_.top ().any_ = true;
return true;
}
@@ -30,7 +30,7 @@
_end_element_impl (const ro_string<C>& ns, const ro_string<C>& name)
{
this->complex_content<C>::context_.top ().any_ = false;
- _end_any_element (ns, name);
+ this->_end_any_element (ns, name);
return true;
}
@@ -41,7 +41,7 @@
const ro_string<C>& name,
const ro_string<C>& value)
{
- _any_attribute (ns, name, value);
+ this->_any_attribute (ns, name, value);
return true;
}
@@ -49,7 +49,7 @@
bool any_type_pskel<C>::
_characters_impl (const ro_string<C>& s)
{
- _any_characters (s);
+ this->_any_characters (s);
return true;
}
@@ -60,7 +60,7 @@
bool any_simple_type_pskel<C>::
_characters_impl (const ro_string<C>& s)
{
- _any_characters (s);
+ this->_any_characters (s);
return true;
}
}
diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/libxsd/xsd/cxx/tree/parsing.txx xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/tree/parsing.txx
--- xsd-3.3.0/libxsd/xsd/cxx/tree/parsing.txx 2010-04-28 08:58:09.000000000 +0200
+++ xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/tree/parsing.txx 2012-06-03 11:02:09.000000000 +0200
@@ -299,7 +299,7 @@
if (j != basic_string<C>::npos)
{
- push_back (
+ this->push_back (
traits<T, C, ST>::create (
basic_string<C> (data + i, j - i), parent, 0, 0));
@@ -309,7 +309,7 @@
{
// Last element.
//
- push_back (
+ this->push_back (
traits<T, C, ST>::create (
basic_string<C> (data + i, size - i), parent, 0, 0));
diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/libxsd/xsd/cxx/tree/stream-extraction.hxx xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/tree/stream-extraction.hxx
--- xsd-3.3.0/libxsd/xsd/cxx/tree/stream-extraction.hxx 2010-04-28 08:58:09.000000000 +0200
+++ xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/tree/stream-extraction.hxx 2012-06-03 11:03:11.000000000 +0200
@@ -68,7 +68,7 @@
while (size--)
{
std::auto_ptr<T> p (new T (s, f, c));
- push_back (p);
+ this->push_back (p);
}
}
}
@@ -91,7 +91,7 @@
{
T x;
s >> x;
- push_back (x);
+ this->push_back (x);
}
}
}
diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/libxsd/xsd/cxx/zc-istream.txx xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/zc-istream.txx
--- xsd-3.3.0/libxsd/xsd/cxx/zc-istream.txx 2010-04-28 08:58:09.000000000 +0200
+++ xsd-3.3.0-2+dep/xsd/libxsd/xsd/cxx/zc-istream.txx 2012-06-03 11:02:09.000000000 +0200
@@ -32,7 +32,7 @@
C* b (const_cast<C*> (str_.data ()));
C* e (b + str_.size ());
- setg (b, b, e);
+ this->setg (b, b, e);
}
template <typename C>
diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/xsd/cxx/elements.cxx xsd-3.3.0-2+dep/xsd/xsd/cxx/elements.cxx
--- xsd-3.3.0/xsd/cxx/elements.cxx 2010-04-28 08:58:09.000000000 +0200
+++ xsd-3.3.0-2+dep/xsd/xsd/cxx/elements.cxx 2012-06-03 11:02:29.000000000 +0200
@@ -326,7 +326,11 @@
}
catch (SemanticGraph::InvalidPath const&)
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
pair = path.native_file_string ();
+#else
+ pair = path.string ();
+#endif
}
}
diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/xsd/cxx/parser/elements.cxx xsd-3.3.0-2+dep/xsd/xsd/cxx/parser/elements.cxx
--- xsd-3.3.0/xsd/cxx/parser/elements.cxx 2010-04-28 08:58:09.000000000 +0200
+++ xsd-3.3.0-2+dep/xsd/xsd/cxx/parser/elements.cxx 2012-06-03 11:02:29.000000000 +0200
@@ -244,7 +244,11 @@
}
catch (SemanticGraph::InvalidPath const&)
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
path_str = path.native_file_string ();
+#else
+ path_str = path.string ();
+#endif
}
String inc_path;
diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/xsd/cxx/parser/generator.cxx xsd-3.3.0-2+dep/xsd/xsd/cxx/parser/generator.cxx
--- xsd-3.3.0/xsd/cxx/parser/generator.cxx 2010-04-28 08:58:09.000000000 +0200
+++ xsd-3.3.0-2+dep/xsd/xsd/cxx/parser/generator.cxx 2012-06-03 11:02:29.000000000 +0200
@@ -552,7 +552,11 @@
{
try
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
Path fs_path (path, boost::filesystem::native);
+#else
+ Path fs_path (path.c_str());
+#endif
ifs.open (fs_path, std::ios_base::in | std::ios_base::binary);
if (!ifs.is_open ())
@@ -638,7 +642,11 @@
{
if (NarrowString name = ops.value<CLI::extern_xml_schema> ())
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
if (file_path.native_file_string () != name)
+#else
+ if (file_path.string () != name)
+#endif
generate_xml_schema = false;
}
}
@@ -815,7 +823,11 @@
// Generate code.
//
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
NarrowString name (file_path.leaf ());
+#else
+ NarrowString name (file_path.filename().string());
+#endif
NarrowString skel_suffix (ops.value <CLI::skel_file_suffix> ());
NarrowString impl_suffix (ops.value <CLI::impl_file_suffix> ());
@@ -921,9 +933,15 @@
cxx_driver_name = cxx_driver_expr.merge (name);
}
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
Path hxx_path (hxx_name, boost::filesystem::native);
Path ixx_path (ixx_name, boost::filesystem::native);
Path cxx_path (cxx_name, boost::filesystem::native);
+#else
+ Path hxx_path (hxx_name.c_str());
+ Path ixx_path (ixx_name.c_str());
+ Path cxx_path (cxx_name.c_str());
+#endif
Path hxx_impl_path;
Path cxx_impl_path;
@@ -931,9 +949,15 @@
if (impl || driver)
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
hxx_impl_path = Path (hxx_impl_name, boost::filesystem::native);
cxx_impl_path = Path (cxx_impl_name, boost::filesystem::native);
cxx_driver_path = Path (cxx_driver_name, boost::filesystem::native);
+#else
+ hxx_impl_path = Path (hxx_impl_name.c_str());
+ cxx_impl_path = Path (cxx_impl_name.c_str());
+ cxx_driver_path = Path (cxx_driver_name.c_str());
+#endif
}
Path out_dir;
@@ -942,7 +966,11 @@
{
try
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
out_dir = Path (dir, boost::filesystem::native);
+#else
+ out_dir = Path (dir.c_str());
+#endif
}
catch (InvalidPath const&)
{
@@ -1010,7 +1038,11 @@
}
unlinks.add (hxx_impl_path);
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
file_list.push_back (hxx_impl_path.native_file_string ());
+#else
+ file_list.push_back (hxx_impl_path.string ());
+#endif
if (!ops.value<CLI::force_overwrite> ())
{
@@ -1036,7 +1068,11 @@
}
unlinks.add (cxx_impl_path);
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
file_list.push_back (cxx_impl_path.native_file_string ());
+#else
+ file_list.push_back (cxx_impl_path.string ());
+#endif
}
if (driver)
@@ -1065,7 +1101,11 @@
}
unlinks.add (cxx_driver_path);
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
file_list.push_back (cxx_driver_path.native_file_string ());
+#else
+ file_list.push_back (cxx_driver_path.string ());
+#endif
}
// Open the skel files.
@@ -1081,7 +1121,11 @@
}
unlinks.add (hxx_path);
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
file_list.push_back (hxx_path.native_file_string ());
+#else
+ file_list.push_back (hxx_path.string ());
+#endif
if (inline_)
{
@@ -1094,7 +1138,11 @@
}
unlinks.add (ixx_path);
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
file_list.push_back (ixx_path.native_file_string ());
+#else
+ file_list.push_back (ixx_path.string ());
+#endif
}
@@ -1109,7 +1157,11 @@
}
unlinks.add (cxx_path);
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
file_list.push_back (cxx_path.native_file_string ());
+#else
+ file_list.push_back (cxx_path.string ());
+#endif
}
// Print copyright and license.
@@ -1168,7 +1220,11 @@
NarrowString guard_prefix (ops.value<CLI::guard_prefix> ());
if (!guard_prefix)
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
guard_prefix = file_path.branch_path ().native_directory_string ();
+#else
+ guard_prefix = file_path.branch_path ().string ();
+#endif
if (guard_prefix)
guard_prefix += '_';
diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/xsd/cxx/tree/elements.cxx xsd-3.3.0-2+dep/xsd/xsd/cxx/tree/elements.cxx
--- xsd-3.3.0/xsd/cxx/tree/elements.cxx 2010-04-28 08:58:09.000000000 +0200
+++ xsd-3.3.0-2+dep/xsd/xsd/cxx/tree/elements.cxx 2012-06-03 11:02:29.000000000 +0200
@@ -1312,7 +1312,11 @@
}
catch (SemanticGraph::InvalidPath const&)
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
path_str = path.native_file_string ();
+#else
+ path_str = path.string ();
+#endif
}
String inc_path;
diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/xsd/cxx/tree/generator.cxx xsd-3.3.0-2+dep/xsd/xsd/cxx/tree/generator.cxx
--- xsd-3.3.0/xsd/cxx/tree/generator.cxx 2010-04-28 08:58:09.000000000 +0200
+++ xsd-3.3.0-2+dep/xsd/xsd/cxx/tree/generator.cxx 2012-06-03 11:02:29.000000000 +0200
@@ -773,7 +773,11 @@
{
try
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
Path fs_path (path, boost::filesystem::native);
+#else
+ Path fs_path (path.c_str());
+#endif
ifs.open (fs_path, std::ios_base::in | std::ios_base::binary);
if (!ifs.is_open ())
@@ -939,7 +943,11 @@
{
if (NarrowString name = ops.value<CLI::extern_xml_schema> ())
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
if (file_path.native_file_string () != name)
+#else
+ if (file_path.string () != name)
+#endif
generate_xml_schema = false;
}
}
@@ -954,7 +962,11 @@
// Generate code.
//
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
NarrowString name (file_path.leaf ());
+#else
+ NarrowString name (file_path.filename ().string());
+#endif
NarrowString hxx_suffix (ops.value <CLI::hxx_suffix> ());
NarrowString ixx_suffix (ops.value <CLI::ixx_suffix> ());
@@ -1013,9 +1025,15 @@
NarrowString ixx_name (inline_ ? ixx_expr.merge (name) : NarrowString ());
NarrowString fwd_name (forward ? fwd_expr.merge (name) : NarrowString ());
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
Path hxx_path (hxx_name, boost::filesystem::native);
Path ixx_path (ixx_name, boost::filesystem::native);
Path fwd_path (fwd_name, boost::filesystem::native);
+#else
+ Path hxx_path (hxx_name.c_str());
+ Path ixx_path (ixx_name.c_str());
+ Path fwd_path (fwd_name.c_str());
+#endif
Paths cxx_paths;
if (source)
@@ -1041,12 +1059,20 @@
}
cxx_paths.push_back (
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
Path (cxx_expr.merge (part_name), boost::filesystem::native));
+#else
+ Path (cxx_expr.merge (part_name).c_str()));
+#endif
}
}
else
cxx_paths.push_back (
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
Path (cxx_expr.merge (name), boost::filesystem::native));
+#else
+ Path (cxx_expr.merge (name).c_str()));
+#endif
}
Path out_dir;
@@ -1055,7 +1081,11 @@
{
try
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
out_dir = Path (dir, boost::filesystem::native);
+#else
+ out_dir = Path (dir.c_str());
+#endif
}
catch (InvalidPath const&)
{
@@ -1108,7 +1138,11 @@
}
unlinks.add (fwd_path);
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
file_list.push_back (fwd_path.native_file_string ());
+#else
+ file_list.push_back (fwd_path.string ());
+#endif
}
@@ -1121,7 +1155,11 @@
}
unlinks.add (hxx_path);
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
file_list.push_back (hxx_path.native_file_string ());
+#else
+ file_list.push_back (hxx_path.string ());
+#endif
// IXX
@@ -1137,7 +1175,11 @@
}
unlinks.add (ixx_path);
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
file_list.push_back (ixx_path.native_file_string ());
+#else
+ file_list.push_back (ixx_path.string ());
+#endif
}
@@ -1158,7 +1200,11 @@
}
unlinks.add (*i);
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
file_list.push_back (i->native_file_string ());
+#else
+ file_list.push_back (i->string ());
+#endif
cxx.push_back (s);
}
}
@@ -1230,7 +1276,11 @@
NarrowString guard_prefix (ops.value<CLI::guard_prefix> ());
if (!guard_prefix)
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
guard_prefix = file_path.branch_path ().native_directory_string ();
+#else
+ guard_prefix = file_path.branch_path ().string ();
+#endif
if (guard_prefix)
guard_prefix += '_';
diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/xsd/xsd.cxx xsd-3.3.0-2+dep/xsd/xsd/xsd.cxx
--- xsd-3.3.0/xsd/xsd.cxx 2010-04-28 08:58:09.000000000 +0200
+++ xsd-3.3.0-2+dep/xsd/xsd/xsd.cxx 2012-06-03 11:02:29.000000000 +0200
@@ -636,7 +636,11 @@
try
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
tu = SemanticGraph::Path (args[i], boost::filesystem::native);
+#else
+ tu = SemanticGraph::Path (args[i]);
+#endif
}
catch (SemanticGraph::InvalidPath const&)
{
@@ -675,7 +679,11 @@
if (NarrowString name =
tree_ops->value<CXX::Tree::CLI::extern_xml_schema> ())
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
if (tu.native_file_string () != name)
+#else
+ if (tu.string () != name)
+#endif
gen_xml_schema = false;
}
}
@@ -690,7 +698,11 @@
if (NarrowString name =
parser_ops->value<CXX::Parser::CLI::extern_xml_schema> ())
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
if (tu.native_file_string () != name)
+#else
+ if (tu.string () != name)
+#endif
gen_xml_schema = false;
}
}
@@ -827,8 +839,13 @@
{
try
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
paths.push_back (
SemanticGraph::Path (args[i], boost::filesystem::native));
+#else
+ paths.push_back (
+ SemanticGraph::Path (args[i]));
+#endif
}
catch (SemanticGraph::InvalidPath const&)
{
@@ -991,9 +1008,17 @@
try
{
OutputFileStream ofs;
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
SemanticGraph::Path path (fl);
+#else
+ SemanticGraph::Path path (fl.c_str());
+#endif
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
ofs.open (fl, std::ios_base::out);
+#else
+ ofs.open (fl.c_str(), std::ios_base::out);
+#endif
if (!ofs.is_open ())
{
diff -Naurb -I '^//' -I '^# copyright' -x vcproj -x build xsd-3.3.0/xsd/xsd.hxx xsd-3.3.0-2+dep/xsd/xsd/xsd.hxx
--- xsd-3.3.0/xsd/xsd.hxx 2010-04-28 08:58:09.000000000 +0200
+++ xsd-3.3.0-2+dep/xsd/xsd/xsd.hxx 2012-06-03 11:02:29.000000000 +0200
@@ -38,7 +38,11 @@
{
if (!canceled_)
{
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
std::remove (file_.native_file_string ().c_str ());
+#else
+ std::remove (file_.string ().c_str ());
+#endif
}
}

@ -1,55 +0,0 @@
diff --git a/makefile b/makefile
index 0c07b0d..32c2c93 100644
--- a/makefile
+++ b/makefile
@@ -14,8 +14,6 @@ clean := $(out_base)/.clean
cleandoc := $(out_base)/.cleandoc
$(default): $(out_base)/xsd/ \
- $(out_base)/tests/ \
- $(out_base)/examples/ \
$(out_base)/documentation/
# Test.
@@ -27,7 +25,6 @@ $(test): $(out_base)/tests/.test
#
$(install): $(out_base)/xsd/.install \
$(out_base)/libxsd/.install \
- $(out_base)/examples/.install \
$(out_base)/documentation/.install
$(call install-dir,$(src_base)/dist/examples/build,$(install_doc_dir)/xsd/examples/build)
$(call install-dir,$(src_base)/dist/examples/cxx,$(install_doc_dir)/xsd/examples/cxx,-name makefile)
@@ -43,7 +40,6 @@ $(install): $(out_base)/xsd/.install \
#
$(dist): $(out_base)/xsd/.dist \
$(out_base)/libxsd/.dist \
- $(out_base)/examples/.dist \
$(out_base)/documentation/.dist
$(call install-dir,$(src_base)/dist/examples/build,$(dist_prefix)/examples/build)
$(call install-dir,$(src_base)/dist/examples/cxx,$(dist_prefix)/examples/cxx,-name makefile)
@@ -57,7 +53,6 @@ $(dist): $(out_base)/xsd/.dist \
$(dist-win): $(out_base)/xsd/.dist-win \
$(out_base)/libxsd/.dist-win \
- $(out_base)/examples/.dist-win \
$(out_base)/documentation/.dist-win
$(call install-dir,$(src_base)/dist/etc,$(dist_prefix)/etc)
$(call install-dir,$(src_base)/dist/examples/build,$(dist_prefix)/examples/build)
@@ -81,9 +76,7 @@ $(dist-win): $(out_base)/xsd/.dist-win \
# Clean.
#
-$(clean): $(out_base)/xsd/.clean \
- $(out_base)/tests/.clean \
- $(out_base)/examples/.clean
+$(clean): $(out_base)/xsd/.clean
$(cleandoc): $(out_base)/documentation/.cleandoc
@@ -91,6 +84,4 @@ $(call include,$(bld_root)/install.make)
$(call import,$(src_base)/xsd/makefile)
$(call import,$(src_base)/libxsd/makefile)
-$(call import,$(src_base)/tests/makefile)
-$(call import,$(src_base)/examples/makefile)
$(call import,$(src_base)/documentation/makefile)

@ -1,13 +0,0 @@
diff --git a/xsd/xsd.cxx b/xsd/xsd.cxx
index 1c66a8a..dbbfed9 100644
--- a/xsd/xsd.cxx
+++ b/xsd/xsd.cxx
@@ -18,7 +18,7 @@
#include <xsd-frontend/parser.hxx>
#include <xsd-frontend/transformations/anonymous.hxx>
-#include <xsd-frontend/transformations/enum-synthesis.cxx>
+#include <xsd-frontend/transformations/enum-synthesis.hxx>
#include <xsd-frontend/transformations/restriction.hxx>
#include <xsd-frontend/transformations/schema-per-type.hxx>
#include <xsd-frontend/transformations/simplifier.hxx>

@ -1,13 +0,0 @@
diff --git a/tests/cxx/tree/prefix/makefile b/tests/cxx/tree/prefix/makefile
index 3317161..77b4b0a 100644
--- a/tests/cxx/tree/prefix/makefile
+++ b/tests/cxx/tree/prefix/makefile
@@ -35,7 +35,7 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): xsd := $(out_root)/xsd/xsd
$(gen): xsd_options := --generate-serialization --generate-polymorphic \
---polymorphic-type foo\\\#base --root-element root
+--polymorphic-type foo\\\\\#base --root-element root
$(gen): $(out_root)/xsd/xsd
$(call include-dep,$(dep))

@ -1,121 +0,0 @@
diff --git a/documentation/xsd.1 b/documentation/xsd.1
index 8b97b14..213f6f6 100644
--- a/documentation/xsd.1
+++ b/documentation/xsd.1
@@ -1,16 +1,16 @@
.\" Process this file with
-.\" groff -man -Tascii xsd.1
+.\" groff -man -Tascii xsdcxx.1
.\"
.TH XSD 1 "April 2010" "XSD 3.3.0"
.SH NAME
-xsd \- W3C XML Schema to C++ Compiler
+xsdcxx \- W3C XML Schema to C++ Compiler
.\"
.\"
.\"
.\"--------------------------------------------------------------------
.SH SYNOPSIS
.\"--------------------------------------------------------------------
-.B xsd
+.B xsdcxx
.I command
.B [
.I options
@@ -20,19 +20,19 @@ xsd \- W3C XML Schema to C++ Compiler
.I file
.B ...]
.in
-.B xsd help
+.B xsdcxx help
.B [
.I command
.B ]
.in
-.B xsd version
+.B xsdcxx version
.\"
.\"
.\"
.\"--------------------------------------------------------------------
.SH DESCRIPTION
.\"--------------------------------------------------------------------
-.B xsd
+.B xsdcxx
generates vocabulary-specific, statically-typed C++ mapping from W3C XML
Schema definitions. Particular mapping to produce is selected by a
.IR command .
@@ -203,7 +203,7 @@ For example, if you have file
with namespace
.B http://example.com/hello
and you run
-.B xsd
+.B xsdcxx
on this file, then the string in question will be:
.B hello.xsd. http://example.com/hello
@@ -1877,7 +1877,7 @@ option. With this approach you don't need to worry about shell quoting.
.\"
.SH DIAGNOSTICS
If the input file is not a valid W3C XML Schema definition,
-.B xsd
+.B xsdcxx
will issue diagnostic messages to
.B STDERR
and exit with non-zero exit code.
diff --git a/documentation/xsd.xhtml b/documentation/xsd.xhtml
index 4acf822..af630bf 100644
--- a/documentation/xsd.xhtml
+++ b/documentation/xsd.xhtml
@@ -50,19 +50,19 @@
<h1>NAME</h1>
- <p>xsd - W3C XML Schema to C++ Compiler</p>
+ <p>xsdcxx - W3C XML Schema to C++ Compiler</p>
<h1>SYNOPSIS</h1>
<dl id="synopsis">
- <dt><code><b>xsd</b> <i>command</i> [<i>options</i>] <i>file</i> [<i>file</i> ...]</code></dt>
- <dt><code><b>xsd help</b> [<i>command</i>]</code></dt>
- <dt><code><b>xsd version</b></code></dt>
+ <dt><code><b>xsdcxx</b> <i>command</i> [<i>options</i>] <i>file</i> [<i>file</i> ...]</code></dt>
+ <dt><code><b>xsdcxx help</b> [<i>command</i>]</code></dt>
+ <dt><code><b>xsdcxx version</b></code></dt>
</dl>
<h1>DESCRIPTION</h1>
- <p><code><b>xsd</b></code> generates vocabulary-specific, statically-typed
+ <p><code><b>xsdcxx</b></code> generates vocabulary-specific, statically-typed
C++ mapping from W3C XML Schema definitions. Particular mapping to
produce is selected by a <code><i>command</i></code>. Each mapping has
a number of mapping-specific <code><i>options</i></code> that should
@@ -104,7 +104,7 @@
<dt><code><b>help</b></code></dt>
<dd>Print usage information and exit. Use
- <p><code><b>xsd help</b> <i>command</i></code></p>
+ <p><code><b>xsdcxx help</b> <i>command</i></code></p>
for command-specific help.
</dd>
@@ -174,7 +174,7 @@
<p>For example, if you have file <code><b>hello.xsd</b></code>
with namespace <code><b>http://example.com/hello</b></code> and you run
- <code><b>xsd</b></code> on this file, then the string in question
+ <code><b>xsdcxx</b></code> on this file, then the string in question
will be:</p>
<p><code><b>hello.xsd. http://example.com/hello</b></code></p>
@@ -1575,7 +1575,7 @@ namespace .*
<h1>DIAGNOSTICS</h1>
<p>If the input file is not a valid W3C XML Schema definition,
- <code><b>xsd</b></code> will issue diagnostic messages to STDERR
+ <code><b>xsdcxx</b></code> will issue diagnostic messages to STDERR
and exit with non-zero exit code.</p>
<h1>BUGS</h1>

@ -1,142 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit toolchain-funcs eutils versionator
DESCRIPTION="An open-source, cross-platform W3C XML Schema to C++ data binding compiler"
HOMEPAGE="http://www.codesynthesis.com/products/xsd/"
SRC_URI="http://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ppc ppc64 x86"
IUSE="ace doc examples test zlib"
RDEPEND=">=dev-libs/xerces-c-3
>=dev-libs/boost-1.52.0-r1:=[threads]
>=dev-cpp/libcult-1.4.6-r1
>=dev-cpp/libxsd-frontend-1.18.0-r1
>=dev-cpp/libbackend-elements-1.7.2
ace? ( dev-libs/ace )
zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}
dev-util/build
doc? ( app-doc/doxygen )"
src_prepare() {
epatch \
"${FILESDIR}/${PV}-disable_examples_and_tests.patch" \
"${FILESDIR}/${PV}-xsdcxx-rename.patch" \
"${FILESDIR}/${PV}-fix_include.patch" \
"${FILESDIR}/${PV}-fix_tests.patch" \
"${FILESDIR}/${PV}-boost-filesystem-v2-deprecation.patch"
}
src_configure() {
# Maintainer notes:
# * xqilla is not required, this is only whether or not to include the xpath
# examples which require xqilla
mkdir -p \
build/cxx/gnu \
build/import/lib{ace,boost,cult,backend-elements,xerces-c,xqilla,xsd-frontend,z}
cat >> build/configuration-dynamic.make <<- EOF
xsd_with_zlib := $(usex zlib y n)
xsd_with_ace := $(usex ace y n)
xsd_with_xdr := y
xsd_with_dbxml := n
xsd_with_xqilla := y
xsd_with_boost_date_time := y
xsd_with_boost_serialization := y
EOF
cat >> build/cxx/configuration-dynamic.make <<- EOF
cxx_id := gnu
cxx_optimize := n
cxx_debug := n
cxx_rpath := n
cxx_pp_extra_options :=
cxx_extra_options := ${CXXFLAGS}
cxx_ld_extra_options := ${LDFLAGS}
cxx_extra_libs :=
cxx_extra_lib_paths :=
EOF
cat >> build/cxx/gnu/configuration-dynamic.make <<- EOF
cxx_gnu := $(tc-getCXX)
cxx_gnu_libraries :=
cxx_gnu_optimization_options :=
EOF
cat >> build/import/libace/configuration-dynamic.make <<- EOF
libace_installed := y
EOF
cat >> build/import/libbackend-elements/configuration-dynamic.make <<- EOF
libbackend_elements_installed := y
EOF
cat >> build/import/libboost/configuration-dynamic.make <<- EOF
libboost_installed := y
libboost_system := y
EOF
cat >> build/import/libcult/configuration-dynamic.make <<- EOF
libcult_installed := y
EOF
cat >> build/import/libxerces-c/configuration-dynamic.make <<- EOF
libxerces_c_installed := y
EOF
cat >> build/import/libxqilla/configuration-dynamic.make <<- EOF
libxqilla_installed := y
EOF
cat >> build/import/libxsd-frontend/configuration-dynamic.make <<- EOF
libxsd_frontend_installed := y
EOF
cat >> build/import/libz/configuration-dynamic.make <<- EOF
libz_installed := y
EOF
MAKEOPTS+=" verbose=1"
}
src_compile() {
default
if use doc ; then
emake -C "${S}/documentation/cxx/tree/reference" || die "generating reference docs failed"
fi
if use test ; then
XERCESC_NLS_HOME="${ROOT}usr/share/xerces-c/msg" emake -C "${S}/tests" || die "building tests failed"
fi
}
src_install() {
emake install_prefix="${D}/usr" install || die "emake install failed"
# Renaming binary/manpage to avoid collision with mono-2.0's xsd/xsd2
mv "${D}"/usr/bin/xsd{,cxx}
mv "${D}"/usr/share/man/man1/xsd{,cxx}.1
rm -rf "${D}/usr/share/doc"
dohtml -r -A xhtml -A pdf documentation/*
dodoc NEWS README FLOSSE documentation/custom-literals.xsd
newdoc libxsd/README README.libxsd
newdoc libxsd/FLOSSE FLOSSE.libxsd
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}
src_test() {
XERCESC_NLS_HOME="${ROOT}usr/share/xerces-c/msg" emake -C "${S}/tests" test || die "tests failed"
}

@ -0,0 +1 @@
DIST jackcess-1.2.14.3-sources.jar 541095 SHA256 016cae78d8567ac8aa9349d2481f7c20d856fc7e0b9a1503d33a201a465d6557 SHA512 a0ccc39187ee94f550760d5640b736cf54d7523bad4eed715166608e18b30acad82a8db2d78f4c9da381c04876571c3d9fdb0418ee2585568c5da18b000f3b1b WHIRLPOOL 7c6ff3f291d2757feda3cdc5e8aa4605dc972717cd0751a0abf9c6d76884df84e3395667f7fd436fe9eb9aa1381c8fecde9e9430f565d52865886e3b2a343e2d

@ -0,0 +1,33 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Pure Java library for reading from and writing to MS Access databases"
HOMEPAGE="http://jackcess.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}-sources.jar"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
CP_DEPEND=">=dev-java/commons-lang-2.6:2.1
>=dev-java/commons-logging-1.1.3:0
>=dev-java/log4j-1.2.7:0"
DEPEND=">=virtual/jdk-1.7
app-arch/unzip
${CP_DEPEND}"
RDEPEND=">=virtual/jre-1.7
${CP_DEPEND}"
src_compile() {
java-pkg-simple_src_compile
java-pkg_addres "${PN}.jar" .
}

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<longdescription>
Lightweight Java cryptography APIs that work with everything
from the J2ME to the JDK 1.6
</longdescription>
</pkgmetadata>

@ -16,3 +16,4 @@ DIST crystal-0.19.4.tar.gz 1431890 SHA256 e239afa449744e0381823531f6af66407ba1f4
DIST crystal-0.20.0-1-linux-i686.tar.gz 18067976 SHA256 008cf927a4add816c038d2c07e2e9953c1cdaf5df9d696aefee9990bc84174ba SHA512 4f71eea924acf507a0907deb0f708730ce1d69fd6b4bce4e7eef06b1a5b0b2ab8fcfb1ddb8c60afd1154bffddd95f1b12df2bef078a1ccc91d273c1072bbd300 WHIRLPOOL 701e9d6a3f0aa20c043e2011c5e4fbd84f19b4eb5a659d56c125038a286aa8c3534f19a6ad049ded4fa19cf201405715050b10598e7a471bb11fbaf92e3764c3
DIST crystal-0.20.0-1-linux-x86_64.tar.gz 17612259 SHA256 55f309882b71f1722b00e63c5e91bcf8be54865b9bc9e7bb85f333b94990e298 SHA512 f8a4f6abbb2ba1e3b97a5686cb90ca73f16765d881a6762f0dbadb10217b3fe321e54d03511680450af8a55b79edd7586b1fe9f9d4170aeece3aae9f3cf399b4 WHIRLPOOL ba9d8494088fee9c9b7b02bb2804e18b669712af074e1a09cf3807441f7096024831c32274a754884d874d06f30a9c5b2e5a462006ec3f4000d1a227e2fbee4d
DIST crystal-0.20.0.tar.gz 1493935 SHA256 97118becc450cdfbafd881f8e98e93d9373d71b4994f49f41dec1eaf081e8894 SHA512 0b3c2dbdb9a6f76d1acffc59f637e05ae26eb652a3ec57956c7074848de3540a5c9b7e5c612908dfef59e9319c67827dc9847da563b688f63bddc4f122699cb1 WHIRLPOOL 4165b6b453eac930791776b2719643c6cdebd101dfc535c5bb9af6851cb3fde00a14036cde95e15a6b363d2ebb5886370a7da14043f5a412cbd8738276d177f4
DIST crystal-0.20.1.tar.gz 1506176 SHA256 3792856bfe768421f4f0488dd8717deb0db4c94fee7587d39174f4911ab2c01d SHA512 a1f2cafee0971a010a8c15a1a1299cec1b7b05613458230a6b8ff9f9c9c7db6ef3d709c8834da47dd2a37eb531e49690a8dbb2ef208573bfe8ec41f541ffeec9 WHIRLPOOL 9b150b18923e0aa1c20f4a29853ff66a16ef7ab82e63e8f8b4d26b9fee5354338e79598a327c8241ed9898c7122af1364717e5318fa823cde745c74d846b1586

@ -0,0 +1,69 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
BV=0.20.0-1
BV_AMD64=${BV}-linux-x86_64
BV_X86=${BV}-linux-i686
DESCRIPTION="The Crystal Programming Language"
HOMEPAGE="http://crystal-lang.org"
SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
amd64? ( https://github.com/crystal-lang/crystal/releases/download/${PV}/crystal-${BV_AMD64}.tar.gz )
x86? ( https://github.com/crystal-lang/crystal/releases/download/${PV}/crystal-${BV_X86}.tar.gz )"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc examples +xml +yaml"
# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
DEPEND="
>=sys-devel/llvm-3.9.0
dev-libs/boehm-gc[static-libs,threads]
dev-libs/libatomic_ops
dev-libs/libevent
dev-libs/libpcre
sys-libs/libunwind
dev-libs/pcl
dev-libs/gmp:0
"
RDEPEND="${DEPEND}
xml? ( dev-libs/libxml2 )
yaml? ( dev-libs/libyaml )
"
src_compile() {
emake \
release=1 \
threads=4 \
PATH="${WORKDIR}"/${PN}-${BV}/bin:"${PATH}" \
CRYSTAL_PATH=src \
CRYSTAL_CONFIG_VERSION=${PV} \
CRYSTAL_CONFIG_PATH="libs:${EPREFIX}/usr/$(get_libdir)/crystal"
use doc && emake doc
}
src_test() {
emake spec \
CRYSTAL_PATH=src \
CRYSTAL_CONFIG_VERSION=${PV}
}
src_install() {
insinto /usr/$(get_libdir)/crystal
doins -r src/.
dobin .build/crystal
insinto /usr/share/zsh/site-functions
newins etc/completion.zsh _crystal
use examples && dodoc -r samples
if use doc ; then
docinto api
dodoc -r doc/.
fi
}

@ -12,3 +12,4 @@ DIST go-solaris-amd64-bootstrap.tbz 48367195 SHA256 92ebdbf001f243a78a6c2d8ee30e
DIST go1.6.3.src.tar.gz 12617426 SHA256 6326aeed5f86cf18f16d6dc831405614f855e2d416a91fd3fdc334f772345b00 SHA512 43e9b01220788112a185500bd53f091e7a0023a790092f428e2f40fc1a334dd148558b99d2a1c871b8cc79ad7d2d87a092b93eee7b5a27c2ee675c494de35306 WHIRLPOOL 0a22dc08b89ddfaccf1e871037e7ad6cdbf36f914de527011813d57a2d857478278202314b185e26aa905cb135d13cbea490d03337b42148c6fc2ef93a8cd9fe
DIST go1.7.1.src.tar.gz 14098889 SHA256 2b843f133b81b7995f26d0cb64bbdbb9d0704b90c44df45f844d28881ad442d3 SHA512 eab2b44f44d05c62645756e05078c2a8b7e3c4d2413617a20a6659df22e4612bb2059cf4906ab81134421eb371903034c1b197bb5595c9af9901819b2b3330a3 WHIRLPOOL 0733985cece30858431f600af12f60c3ff2894a78f09900a64aac7d493d790679a75a7c878b461fc6548663cc0cd34481c6e62051fd55ea68e8fa1d3b19fcdb0
DIST go1.7.3.src.tar.gz 14196345 SHA256 79430a0027a09b0b3ad57e214c4c1acfdd7af290961dd08d322818895af1ef44 SHA512 9289c7720a551725643be757df0b676b7ec3add73e5f01af5e3ac1d81e2b31a304aca6e86d395ddc06fc3982099814478b5ec693124a3327f79399db7bcd73eb WHIRLPOOL 17b4cb47bbec610516f6b5e4b9b0c504c4388deffeede7997072fff36ec8368882fe9615f11b408ffc4d5cee4fa5fb7f6fdd356d816c4c820f29a390e2cd7b74
DIST go1.7.4.src.tar.gz 14198817 SHA256 4c189111e9ba651a2bb3ee868aa881fab36b2f2da3409e80885ca758a6b614cc SHA512 dc9950c3ea7100e536ad58fd93505d584276b7c50d4b8fe2ba7f20fd043dcf0d315b735c48945302055e91517594cc2b0061ccec9478a8ab48f1f2836c20afb3 WHIRLPOOL 054f496555dd30e0ba6a3c449b915ea048d5f85f1cf6d2ef6e8aa84939b6e9674b30cfccee99d050c5d75d028cf43d83bf0267703ffb02dfc5bc780fd0a1706f

@ -0,0 +1,222 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
export CBUILD=${CBUILD:-${CHOST}}
export CTARGET=${CTARGET:-${CHOST}}
MY_PV=${PV/_/}
inherit toolchain-funcs
BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist"
SRC_URI="!gccgo? (
kernel_Darwin? (
x64-macos? ( ${BOOTSTRAP_DIST}/go-darwin-amd64-bootstrap.tbz )
)
kernel_FreeBSD? (
amd64-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-amd64-bootstrap.tbz )
x86-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-386-bootstrap-1.tbz )
)
kernel_linux? (
amd64? ( ${BOOTSTRAP_DIST}/go-linux-amd64-bootstrap.tbz )
arm? ( ${BOOTSTRAP_DIST}/go-linux-arm-bootstrap.tbz )
arm64? ( ${BOOTSTRAP_DIST}/go-linux-arm64-bootstrap.tbz )
ppc64? (
${BOOTSTRAP_DIST}/go-linux-ppc64-bootstrap.tbz
${BOOTSTRAP_DIST}/go-linux-ppc64le-bootstrap.tbz
)
s390? ( ${BOOTSTRAP_DIST}/go-linux-s390x-bootstrap.tbz )
x86? ( ${BOOTSTRAP_DIST}/go-linux-386-bootstrap-1.tbz )
)
kernel_SunOS? (
x64-solaris? ( ${BOOTSTRAP_DIST}/go-solaris-amd64-bootstrap.tbz )
)
)
"
if [[ ${PV} = 9999 ]]; then
EGIT_REPO_URI="git://github.com/golang/go.git"
inherit git-r3
else
SRC_URI+="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz"
case ${PV} in
*9999*|*_rc*) ;;
*)
KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x64-solaris"
;;
esac
fi
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
HOMEPAGE="http://www.golang.org"
LICENSE="BSD"
SLOT="0/${PV}"
IUSE="gccgo"
DEPEND="gccgo? ( >=sys-devel/gcc-5[go] )"
RDEPEND="!<dev-go/go-tools-0_pre20150902"
# These test data objects have writable/executable stacks.
QA_EXECSTACK="usr/lib/go/src/debug/elf/testdata/*.obj"
# Do not complain about CFLAGS, etc, since Go doesn't use them.
QA_FLAGS_IGNORED='.*'
REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
# The go language uses *.a files which are _NOT_ libraries and should not be
# stripped. The test data objects should also be left alone and unstripped.
STRIP_MASK="/usr/lib/go/pkg/*.a
/usr/lib/go/src/debug/elf/testdata/*
/usr/lib/go/src/debug/dwarf/testdata/*
/usr/lib/go/src/runtime/race/*.syso"
if [[ ${PV} != 9999 ]]; then
S="${WORKDIR}"/go
fi
go_arch()
{
# By chance most portage arch names match Go
local portage_arch=$(tc-arch $@)
case "${portage_arch}" in
x86) echo 386;;
x64-*) echo amd64;;
ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
s390) echo s390x ;;
*) echo "${portage_arch}";;
esac
}
go_arm()
{
case "${1:-${CHOST}}" in
armv5*) echo 5;;
armv6*) echo 6;;
armv7*) echo 7;;
*)
die "unknown GOARM for ${1:-${CHOST}}"
;;
esac
}
go_os()
{
case "${1:-${CHOST}}" in
*-linux*) echo linux;;
*-darwin*) echo darwin;;
*-freebsd*) echo freebsd;;
*-netbsd*) echo netbsd;;
*-openbsd*) echo openbsd;;
*-solaris*) echo solaris;;
*-cygwin*|*-interix*|*-winnt*)
echo windows
;;
*)
die "unknown GOOS for ${1:-${CHOST}}"
;;
esac
}
go_tuple()
{
echo "$(go_os $@)_$(go_arch $@)"
}
go_cross_compile()
{
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
}
pkg_pretend()
{
# make.bash does not understand cross-compiling a cross-compiler
if [[ $(go_tuple) != $(go_tuple ${CTARGET}) ]]; then
die "CHOST CTARGET pair unsupported: CHOST=${CHOST} CTARGET=${CTARGET}"
fi
}
src_unpack()
{
if [[ ${PV} = 9999 ]]; then
git-r3_src_unpack
fi
default
}
src_compile()
{
export GOROOT_BOOTSTRAP="${WORKDIR}"/go-$(go_os)-$(go_arch)-bootstrap
if use gccgo; then
mkdir -p "${GOROOT_BOOTSTRAP}/bin" || die
local go_binary=$(gcc-config --get-bin-path)/go-5
[[ -x ${go_binary} ]] || go_binary=$(
find "${EPREFIX}"/usr/${CHOST}/gcc-bin/*/go-5 | sort -V | tail -n1)
[[ -x ${go_binary} ]] || die "go-5: command not found"
ln -s "${go_binary}" "${GOROOT_BOOTSTRAP}/bin/go" || die
fi
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
export GOROOT="$(pwd)"
export GOBIN="${GOROOT}/bin"
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
export GOHOSTARCH=$(go_arch ${CBUILD})
export GOHOSTOS=$(go_os ${CBUILD})
export CC=$(tc-getBUILD_CC)
export GOARCH=$(go_arch)
export GOOS=$(go_os)
export CC_FOR_TARGET=$(tc-getCC)
export CXX_FOR_TARGET=$(tc-getCXX)
if [[ ${ARCH} == arm ]]; then
export GOARM=$(go_arm)
fi
elog "GOROOT_BOOTSTRAP is ${GOROOT_BOOTSTRAP}"
cd src
./make.bash || die "build failed"
}
src_test()
{
go_cross_compile && return 0
cd src
PATH="${GOBIN}:${PATH}" \
./run.bash -no-rebuild || die "tests failed"
}
src_install()
{
local bin_path f x
dodir /usr/lib/go
insinto /usr/lib/go
# There is a known issue which requires the source tree to be installed [1].
# Once this is fixed, we can consider using the doc use flag to control
# installing the doc and src directories.
# [1] https://golang.org/issue/2775
doins -r bin doc lib pkg src
fperms -R +x /usr/lib/go/bin /usr/lib/go/pkg/tool
cp -a misc "${D}"/usr/lib/go/misc
if go_cross_compile; then
bin_path="bin/$(go_tuple)"
else
bin_path=bin
fi
for x in ${bin_path}/*; do
f=${x##*/}
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
done
dodoc AUTHORS CONTRIBUTORS PATENTS README.md
}

@ -0,0 +1 @@
DIST boost-mpl-cartesian_product-20161205.tar.gz 4391 SHA256 0a9d76fd85b0a90126f9a640d1e8b314c29677cee0a1a55210f099a21c1d0886 SHA512 cbe1f10b45bbb3db84bba7aa935698d7d79a59ae8b40c786df31da2936500feffe5589755ea53f31e3fc869ca4e87a880f013967d2829ce55412900b244252e7 WHIRLPOOL af5e035f035960ecc0f233fa0516367594783e6dd8da7d3b9528edc033fc90ebb9bd9ee3701ce3c3a3fde1f9c39e6f349a0bc437024df23760ae61a8c5d72ea7

@ -0,0 +1,43 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit vcs-snapshot toolchain-funcs
COMMIT="aeb0266b3a89f32c390dff51cb73a454d5d7a745"
DESCRIPTION="an extension to the Boost.MPL library"
HOMEPAGE="http://www.organicvectory.com/index.php?option=com_content&view=article&id=75:boostmplcartesianproduct&catid=42:boost&Itemid=78"
SRC_URI="https://github.com/quinoacomputing/BoostMPLCartesianProduct/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
DEPEND="dev-libs/boost"
RDEPEND="${DEPEND}"
src_compile() {
use test || return
local i
for i in $(find libs/mpl -name "*.cpp"); do
echo $(tc-getCXX) ${CXXFLAGS} -I. "$i" -o "${i%.cpp}"
$(tc-getCXX) ${CXXFLAGS} -I. "$i" -o "${i%.cpp}" || die
done
}
src_test() {
local i
for i in $(find libs/mpl -name "*.cpp"); do
echo "${i%.cpp}"
"${i%.cpp}" || die
done
}
src_install() {
dodoc readme.txt
insinto /usr/include/boost/mpl
doins boost/mpl/cartesian_product.hpp
}

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>junghans@gentoo.org</email>
<name>Christoph Junghans</name>
</maintainer>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
</pkgmetadata>

@ -6,26 +6,22 @@ EAPI=5
USE_RUBY="ruby21 ruby22"
CMAKE_MIN_VERSION="3.2.2"
inherit cmake-utils multilib ruby-ng
inherit cmake-utils multilib
DESCRIPTION="A C++ toolkit"
HOMEPAGE="https://github.com/puppetlabs/leatherman"
SRC_URI="https://downloads.puppetlabs.com/facter/${P}.tar.gz"
SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${S}/all/${P}"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug test"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
CDEPEND="
>=sys-devel/gcc-4.8:*
>=dev-libs/boost-1.54[nls]
net-misc/curl"
RDEPEND+=" ${CDEPEND}"
DEPEND+=" test? ( ${CDEPEND} )"
RDEPEND="net-misc/curl"
DEPEND=">=dev-libs/boost-1.54[nls]
net-misc/curl
>=sys-devel/gcc-4.8:*"
src_prepare() {
sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
@ -47,6 +43,10 @@ src_configure() {
cmake-utils_src_configure
}
src_test() {
cmake-utils_src_test
}
src_install() {
cmake-utils_src_install
}

@ -15,7 +15,7 @@ LICENSE="MIT"
# subslot = soname version
SLOT="0/3.0.0"
KEYWORDS="amd64 ~arm ~arm64 hppa x86"
KEYWORDS="amd64 arm arm64 hppa x86"
IUSE="static-libs"
DEPEND=""

@ -0,0 +1 @@
DIST pegtl-1.3.1.tar.gz 67183 SHA256 34201d56284a449c72798a0536020c6b46684c371a0a886f4c3c586c9372e9bc SHA512 6655be7806112878e2da00916b348c28939bc96e2a317eb00089be341fd5306ce5a1388ca5dbba21bcd7be2d6c24e3964b6a730031a16a7dd8ef6ec6acd6899e WHIRLPOOL b5582ac29ad6c1b24ee8f9c4c525c8c944fbe9e8d38a45353ae01574c479a2f70a0ac75271e58cc6332780594224524fc5dca7f36fa170f2b5b283bcb3728280

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>junghans@gentoo.org</email>
<name>Christoph Junghans</name>
</maintainer>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
</pkgmetadata>

@ -0,0 +1,35 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit toolchain-funcs
DESCRIPTION="header-only library for creating parsers according to Parsing Expression Grammar"
HOMEPAGE="https://github.com/ColinH/PEGTL"
SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/PEGTL-${PV}"
src_compile() {
:
}
src_test() {
emake CXX="$(tc-getCXX)" PEGTL_CXXFLAGS="${CXXFLAGS}"
}
src_install() {
dodoc README.md
insinto /usr/include
doins -r pegtl
}

@ -13,7 +13,7 @@ inherit autotools-multilib eutils flag-o-matic toolchain-funcs distutils-r1 java
DESCRIPTION="Google's Protocol Buffers -- an efficient method of encoding structured data"
HOMEPAGE="https://code.google.com/p/protobuf/ https://github.com/google/protobuf/"
SRC_URI="https://github.com/google/${PN}/releases/download/${PV}/${P}.tar.bz2"
SRC_URI="https://github.com/google/${PN}/releases/download/v${PV}/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0/9" # subslot = soname major version

@ -0,0 +1,25 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=IBB
DIST_VERSION=0.08
inherit perl-module
DESCRIPTION="Module, that 'unblesses' Perl objects"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
dev-perl/Test-Exception
virtual/perl-Test-Simple
)
"
PATCHES=( "${FILESDIR}/${PN}-${DIST_VERSION}-respect-cflags.patch" )

@ -1 +1,2 @@
DIST Acme-Damn-0.06.tar.gz 8635 SHA256 7925c932b9f89d2ca413680af68ed9809e7093e4ecd5bc2bd4147bdaee39ee6f SHA512 f225e5f835ce9b054087008d354278356704694147cf8e1027c0bd2c4a8c118ebbdeac2c97634e4c85cf45d29bf38a92861770c35b8423b6f12a1bc6319ff52d WHIRLPOOL 50b288b6a313505238935b0f58d4885407ad6f0c349696c229ad874e6b67f92f7d00eb3a8ace474e47d1f66c321c881d50009b07478d9994e5ba8795d2a02470
DIST Acme-Damn-0.08.tar.gz 9241 SHA256 310d2d03ff912dcd42e4d946174099f41fe3a2dd57a497d6bd65baf1759b7e0e SHA512 aaded3d7e3a3cdb69f4640623970c62e9491a389eedc0f91c3473764626c45baf89f87695caf1c703a05ce414a0b51e5deac3552b1d3e17f674d3c757f2fb52e WHIRLPOOL e2b8bf8c23175805df609c657c89d9e67954a72d5f71e45d49bc373b709e05657db09fb75ece501d873d62e08b05232e3ffd166f1ec435cea50ecb5fff1d3e97

@ -0,0 +1,24 @@
From eaab413d6a3fc448e70c96ff808e48d61c55356f Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentfredric@gmail.com>
Date: Tue, 6 Dec 2016 05:15:12 +1300
Subject: [PATCH] Enable CFLAGS optimizations
---
Makefile.PL | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.PL b/Makefile.PL
index a26cf1c..4407861 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -27,6 +27,7 @@ WriteMakefile1(
},
'LIBS' => [''] ,
'DEFINE' => '' ,
+ 'OPTIMIZE' => '$(CFLAGS)' ,
'INC' => '-I.'
);
--
2.11.0.rc2

@ -12,7 +12,7 @@ DESCRIPTION="Test.pm wrapper with helpers for testing Apache"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
DEPEND="virtual/perl-ExtUtils-MakeMaker"

@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="A clone of the classic Eliza program"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~x86"
KEYWORDS="alpha ~amd64 ~x86"
IUSE="test"
RDEPEND="

@ -0,0 +1,29 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=DCONWAY
DIST_VERSION=0.004010
inherit perl-module
DESCRIPTION="Create context-sensitive return values"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc-aix"
IUSE="test"
RDEPEND="
dev-perl/Want
virtual/perl-version
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? ( virtual/perl-Test-Simple )
"
src_test() {
perl_rm_files t/pod.t
perl-module_src_test
}

@ -1,3 +1,4 @@
DIST Contextual-Return-0.004007.tar.gz 39900 SHA256 3a8e81b3592c581d21fc567c7965c329bac9ffc39ef3c3e2cbb5706621d938ff SHA512 021b7dda5724f934e758e4781ae848697f98499db8ab0b3c0a6259128202ea0d8e8d7faeee47d469fa72f82b8be2b66aa959a2267a32bb486512407e0a2fb6c5 WHIRLPOOL 336b1993d99fa96dea3efb5b592ed5724414a02e11a019e441d943e13b87e3dc79af749bb9b5fade97e35d12d4bc82aca2eb67d664f35295cf37115a5b22fea6
DIST Contextual-Return-0.004008.tar.gz 40585 SHA256 db868be1c4567bec6b9fcc7ab511b80acf2640aa86c08974dd0927af5f3f07c9 SHA512 7eb2ac596197a46459ea345d29859986ea27657270353913d403516f224785fbacfb9de3cfe673f33c92cb51cce846bd40901ac3e34740d38df49f343dab1f33 WHIRLPOOL 4e4048a3bd2283586089616ddfe0fb6efcac915c026e74ea07f6fc4b1c7ddb226d88913f0d581723fad92ddf201790abad7cd6758cd3b6b14189ec9c1b929873
DIST Contextual-Return-0.004009.tar.gz 40813 SHA256 b5454b0657d44925aa382ac4c4c1cade16ea090991420918259ca452adb864a3 SHA512 f59d23a176fed1398a54b31ca53907978585366f06a7c45f3a7764b30cf175c045de06a525e2b9a01907eb3c44e4a2f9cb854af4c4e4c24f27b983ec90d31ea1 WHIRLPOOL 3ac921bf192f44d3b208460695a3c67783b27737f1a78ec97b65e417f8f0b6b3eb6b197d004ba131159391f654180935c59716e63209dc5106e27fabb1008a8b
DIST Contextual-Return-0.004010.tar.gz 40832 SHA256 d055c53e1c514c0be40abf0c8ba830adf0b6cb5dd70ea4df70a28ef918dff56c SHA512 505ccaff631b3cc0daaef3458ab7fcede4948ae9767ebe9b0751a4be040933bf8d35b66f837acf5988ae9ed76a44c9f0f3b65d9b377b1fe74e5a8ae2c28c10bf WHIRLPOOL 2b7e29561845d974f8afa27e7ab402478462e2e618ab9dba47e5b536010d5607d3985511dd312d8c893924a884650f1c1617659c2b192bffcdbbeced0c7ba39c

@ -0,0 +1,41 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=MIKAGE
DIST_VERSION=0.19
inherit perl-module
DESCRIPTION="S/MIME message signing, verification, encryption and decryption"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="libressl test minimal"
RDEPEND="
!libressl? ( >=dev-libs/openssl-0.9.9:0 )
libressl? ( dev-libs/libressl )
virtual/perl-XSLoader
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
dev-perl/extutils-pkgconfig
dev-perl/ExtUtils-CChecker
>=virtual/perl-ExtUtils-Constant-0.230.0
test? (
dev-perl/Test-Exception
virtual/perl-Test-Simple
!minimal? (
>=dev-perl/Test-Taint-1.60.0
>=dev-perl/Taint-Util-0.80.0
)
)
"
src_test() {
perl_rm_files t/boilerplate.t t/manifest.t t/dependencies.t \
t/pod-coverage.t t/pod.t
perl-module_src_test
}

@ -1,3 +1,4 @@
DIST Crypt-SMIME-0.15.tar.gz 23647 SHA256 0baa9af1209f62c6a409afa4b0ede163b44fe0dc4f5f5627800d46e0b4631e82 SHA512 9ceb98fdf4d40784fe5fef56a45b748ad78f112d216ef67e2fe5aec47f5d4f18bcbf2aebfde344cb3a516d967da89d839198cbd1157d7e75a5f9c475f567f61f WHIRLPOOL a76b5495663c2fd43b487a91c4e45b05f4e027467f9f91c5136099101bfef0d3d2da8b1fb89c55fe6a67e3002c1edc7e5cef682d3a7df81f43b91cdbc299b00c
DIST Crypt-SMIME-0.16.tar.gz 25106 SHA256 f4d0f431e18c0750bc0495eccca5f685773df5d37a0f25dbacbfdba16446dbfa SHA512 ae2d3ba015dbdabca00186e74710a3112437d656ebbff078189e445285a713ba83419cd9b80921f9345a67bf8f78cc772f973b587824609f9294d37a3ffce4b8 WHIRLPOOL 477e045e520a3498c0891feb6067053197c58cc4108d5a5ff63a34cd14f1a2e6af8b911402806d649bb681d74161e3aa23d591eda052b8bcf1e765b098afd7f1
DIST Crypt-SMIME-0.17.tar.gz 25601 SHA256 53eb12e219e18c40baf9ed58b26e0bc838bf67779f440f90e7b258e701cfe891 SHA512 3e194e5f0a7a75b086ca5e3a61706f2c355624b57a12174f8e047f8beaaa3296008c9067db675c32317a4be26a13d729f90ba93866aa820b29a20927361f39da WHIRLPOOL 4641ea7dfd84214c16cb0d934e8547cfb066caeed04187ea425b780571b88f7d4aecf5fa3e0dfb6bc2d157197b07d131368d0ed248bf00203c533541753e41d9
DIST Crypt-SMIME-0.19.tar.gz 26057 SHA256 eb768c21c7d13298275289eea19b89871c007e96834252ea85ef005d4f0d21ae SHA512 fcf7cbbf00127ddc618acd8959763d92eb14ec4e7ade76ffa1020ce60ae1d575d320e4aa89a4d43cf2422170b6bc924ebcf20a42135361e97fb72e8b9abf2c5b WHIRLPOOL 3d5b3fc1cd84216b1db50af1a9e6b9b8275b456ee39dbcbe4fd863a6b63d132de9354576ff720e796965aa38aa58d7285ba527c1cb434f0c15116aea8a22b57f

@ -0,0 +1,38 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=SBECK
DIST_VERSION=6.57
inherit perl-module
DESCRIPTION="Perl date manipulation routines"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
IUSE="elibc_musl test"
RDEPEND="
virtual/perl-Carp
virtual/perl-Data-Dumper
virtual/perl-Encode
virtual/perl-File-Spec
virtual/perl-IO
virtual/perl-Storable
elibc_musl? ( sys-libs/timezone-data )
"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.670.100
test? (
dev-perl/Test-Inter
virtual/perl-Test-Simple
)
"
src_test() {
perl_rm_files t/pod_coverage.t t/pod.t
perl-module_src_test
}

@ -1,3 +1,4 @@
DIST Date-Manip-6.51.tar.gz 1799860 SHA256 23bca630398d33ee16d6d8b285206dfdfa93739da771d30e40ed6a28b0c8db29 SHA512 96e0ef8374680a6adb3a064509d50a0e9288b14ce1e728b181e0f344ff85dfeb7b26ad4117fcfc35d3a6e4d6db3e97da242e2f6a11a88a11571a9b1f169f8e54 WHIRLPOOL e22746dcbd39e19412000c4cd20a09757c20c12c5407b7206eccac80942376e2d02d0b856380fe13956734208717db0497d8e2be89bcfd34744216223e0f2446
DIST Date-Manip-6.52.tar.gz 1833161 SHA256 3f7b31a0d9f47a111e1a128e708d4c1ee0f6815ead81737fc4de96438f61e511 SHA512 8a232e8fcc2c5abc1fb82c5096ae8a80b6a6c1d6ef94ca87cbdf15907dedfa64b41008149e0026e4898c96e649b1d69ca304fb529ea32253737e513b809afc6b WHIRLPOOL 8a44a26238799673fb132e73a7713f7ab0a6ee90ca3e416ae28f529507f0ffb0c7f45ad314fa3d2d6a57b39819ca516eda6272ff5815eb90c91c019f96bd86ec
DIST Date-Manip-6.56.tar.gz 1829314 SHA256 acae07026b84d157f161d569b41026f4770e72872a5c7d70c295e2083a1ff5ec SHA512 1faf36ab2d96b5841ffd408b981818cb86ca12c327adbc2b29e8369ab63d9cd6a57b1cce232ad46333945d0be4b155761038df19da3f1a0a3f3b66d817c41337 WHIRLPOOL 83b4fddc154dbc9ecb0b29e19e40f41fdd364d9312e7f0c53ad835fbf0bb19bf5bc0c8918feef5b266ac4403b48c02ac133982b46ff7be140412df60afd8e5a8
DIST Date-Manip-6.57.tar.gz 1831444 SHA256 864c1e71a62db5f58fd570ddf82259feb025203a58187fdddec96824f54e2f76 SHA512 c2dbe195cfcc4c60f5b120fb4af0d487a6d3713b874f48a78c0ebf32364c2062c68e03bbc72a9ad54c25a3b6dada7a3b2041f16755665e93206de1320a88ba9a WHIRLPOOL ea35b247c79cafaa57f7ca391f3445f8936278f2d184b42dbb63f970759cbe4c6d2c75186cba9ec545215a071348267a6a9d6d66707ddcd498a73613ef6531e3

@ -0,0 +1,45 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=PALIK
DIST_VERSION=2.002.004
inherit perl-module
DESCRIPTION="Gearman distributed job system, client and worker libraries"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
virtual/perl-Carp
virtual/perl-IO
virtual/perl-IO-Socket-IP
dev-perl/IO-Socket-SSL
dev-perl/List-MoreUtils
>=dev-perl/Ref-Util-0.20.0
virtual/perl-Scalar-List-Utils
virtual/perl-Socket
>=virtual/perl-Storable-1
dev-perl/String-CRC32
virtual/perl-Time-HiRes
virtual/perl-version
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
dev-perl/File-Which
virtual/perl-Perl-OSType
>=dev-perl/Proc-Guard-0.70.0
dev-perl/Test-Differences
dev-perl/Test-Exception
virtual/perl-Test-Simple
>=dev-perl/Test-TCP-2.170.0
dev-perl/Test-Timer
)
"
mydoc="CHANGES HACKING TODO"

@ -1 +1,2 @@
DIST Gearman-1.12.tar.gz 29938 SHA256 dbfedf1b6d09f50d1e62393ef0408c8353f9aab105154b702c972d230ea02e73 SHA512 2c7dbf934bb56abfc58cde5f62593e10ab11bccd2e047a21a46e344304147bfb7d5f6e7d067caf34b4a65e5d29983f2975345a46c95b22383ab1d1c4c04c77ac WHIRLPOOL 5dfe414919f14a8a5938e30c23ba0558676839376b3f3c8d067e53a89e129d1e380fbf394bc5d8f176c82bd04a96d72a421c83a3f4eec99b01fd56ef37e5aa5b
DIST Gearman-2.002.004.tar.gz 42296 SHA256 ba40b9a79f106c2dd3039153c4ca22c783840a222b4864072cbd3b5cc60edeff SHA512 aac12fa725177a0aa7e78c0a31930c2fa644386396eb46f140c757636e9d078e9f04299b66dcfb684c273df0d5e8a20a0a0bdc944ed1e6b6b127e0a8a114bdbb WHIRLPOOL 332669fbb2e7008fda8d16a1ac3b583dd5721e6de56174f4ded5435a7c415bbd45be481e0440eea908c5524b803a1c1c2cfdb4c7300d0e808129a03b14a38318

@ -0,0 +1,38 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
# Feel free to add more targets after testing.
DIST_AUTHOR=NINE
DIST_VERSION=0.52
inherit python-single-r1 perl-module
DESCRIPTION="Easy implementation of Python extensions"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE="test"
RDEPEND="
virtual/perl-Data-Dumper
>=virtual/perl-Digest-MD5-2.500.0
>=dev-perl/Inline-0.460.0
${PYTHON_DEPS}
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
>=dev-perl/Proc-ProcessTable-0.530.0
virtual/perl-Test-Simple
dev-perl/Test-Deep
virtual/perl-Test
)
"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
PATCHES=( "${FILESDIR}/${PN}-0.460.0-insanepython.patch" )

@ -1 +1,2 @@
DIST Inline-Python-0.49.tar.gz 56811 SHA256 10c9419651c7b345fa7ec922f4a9d6287fd5a69761f4240f9e0b21f0944f8bf3 SHA512 5495e8d4d22472ff0b58b8dcae4e12cb037a8629dcd059e3d2509d85c1e405be645ab9499480248a978e7b25004fd1fe65436f34f9f92bdd9150ea1401fa4720 WHIRLPOOL 62fc439c78c03ad24d310ac8749b8c0733072b1adc3d4a5c44fb20231134d4c8e792c883bccd12bba3f183be239be60723dba02819617ece9f98792823d77da4
DIST Inline-Python-0.52.tar.gz 57345 SHA256 9c946e1c9ac308d4431f07bbd3965a945850d69eab33aced6c81e674729e2ff4 SHA512 5b097740e149ae5a1a51d068f2732bff06daa03279ea3ad009b34fc72f0baccf0304989a3b9c3d9b8cadca1bb897693d48fb1a91ed3dc412c61463256a9bcaaa WHIRLPOOL ab2114881997791226b4e9005cc3d7daec553c21b0f595945abb941638b64ff85b31692c3c882edc523603c167e9dee16c8e75f5f84b8759a6f1d525b3f8755a

@ -1 +1,2 @@
DIST Net-IDN-Encode-2.300.tar.gz 433068 SHA256 46b18a0a933af6709079eb5090cab2f4b382b07000672708bce0aec9135e56fc SHA512 a9079e510afa83f5c57c07817a6772e85993d1deeb11a3a77faf6c6cef8c1883fd0b15bdee54009384d49a0c5eec80366a77bfda80ae03ee65155f0ff6635997 WHIRLPOOL 5d737f110e7dc17e8b822fbc0152ab8123b4366f50491f227dd9579bb1e55e423f0b75f94bf53bde0d8853bbee315c40a13976a43b2bbd0f1f9f86b02e3d078e
DIST Net-IDN-Encode-2.301.tar.gz 433213 SHA256 681dc68318d237d6722eb035e40578744accd2c2e3b5a700735feb89fce27ae4 SHA512 7f0e2ffa7493c2ee28aa911240f23dd9a55633bd56c7655a7d00cdcf7ca7c747fc144bf6f06e6a76ceeee2a0fed20f85993765a25bee1999bd0ed0fd8b02ec90 WHIRLPOOL b611a029d06b5d5bea3065b0795e387921c8856342d5febfd8a9ef48629d18ffd0a2867f036792d945adf1af7cb92f67827406490c86fc6f03dccfe3cddccdbf

@ -0,0 +1,33 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=CFAERBER
DIST_VERSION=2.301
DIST_EXAMPLES=("eg/*")
inherit perl-module
DESCRIPTION="Internationalizing Domain Names in Applications (IDNA)"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
virtual/perl-Unicode-Normalize
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-CBuilder
>=dev-perl/Module-Build-0.420.0
test? (
virtual/perl-Test-Simple
dev-perl/Test-NoWarnings
)
"
src_test() {
perl_rm_files t/10pod.t t/11pod_cover.t
perl-module_src_test
}

@ -0,0 +1 @@
DIST Proc-Guard-0.07.tar.gz 11725 SHA256 6feae8bce21c1dcdd1baa636d5f87be29084e827b338194f672b23197b4150a4 SHA512 1f27f7b1ee3116f3136cc4b310751bf0ab5f04a8698ce619cf94341c26e293f8c331126c636c6dd1dcc3b85724b60b22ea553b9c9f85624c59924dc89c2b6ac4 WHIRLPOOL 2c68fc8f874e385b3c97245a2c0e4b84bdedcd685d9188f8d6990b132161a9826dcd668e0de68e0a90ab8e9bedbe4aac63753bad3aec25fc02e36ef6732b3be9

@ -0,0 +1,30 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=TOKUHIROM
DIST_VERSION=0.07
inherit perl-module
DESCRIPTION="process runner with RAII pattern"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
>=dev-perl/Class-Accessor-Lite-0.50.0
>=virtual/perl-Exporter-5.630.0
"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
>=dev-perl/Module-Build-0.380.0
test? (
dev-perl/File-Which
dev-perl/Test-TCP
dev-perl/Test-Requires
dev-perl/Test-SharedFork
>=virtual/perl-Test-Simple-0.940.0
)
"

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
<upstream>
<remote-id type="cpan">Proc-Guard</remote-id>
<remote-id type="cpan-module">Proc::Guard</remote-id>
</upstream>
</pkgmetadata>

@ -0,0 +1 @@
DIST Ref-Util-0.101.tar.gz 62957 SHA256 89e3db1e21dfbbb3544ce8e42079b513ca3f76c28a2bec4f8cdaa94abfdff493 SHA512 3b5ec65a6d3098615ada29be8f2a61800c351549dc33b6133522dba528108b2199e73a941212bba381de91508b7e7a01189b4c0728a669ed78c25f06641c10fb WHIRLPOOL dd2e3bb54adb1e81f57a933e4933d368f1b928ffbbd586de8cb543d199c176b50fb098114a83a7d3749bcc92054c82299b0f140d1658809a3021cdfa65cef631

@ -0,0 +1,24 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=XSAWYERX
DIST_VERSION=0.101
inherit perl-module
DESCRIPTION="Utility functions for checking references"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
>=virtual/perl-Exporter-5.570.0
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
virtual/perl-Test-Simple
)
"

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
<upstream>
<remote-id type="cpan">Ref-Util</remote-id>
<remote-id type="cpan-module">Ref::Util</remote-id>
</upstream>
</pkgmetadata>

@ -1 +1,2 @@
DIST Test-MockObject-1.20150527.tar.gz 29652 SHA256 adf1357a9014b3a397ff7ecbf1835dec376a67a37bb2e788734a627e17dc1d98 SHA512 4c99666d9d69f75cae2cd6af8aaca58bae778ba5d4eadd456a4e3ad251d23d4bef5240cee2d575ce9b53b509416df977a5d7bc8e8f10d9a1ddcc040ff6665cab WHIRLPOOL 386303ff08d59530c6e3d979e86645a973c4501eae4799bd0c050b68b5e63ee1f2f980bd89bda80d6d78e40e86c339d1d4040e87eaeb36735be23a905ebc8e0c
DIST Test-MockObject-1.20161202.tar.gz 29020 SHA256 14b225fff3645338697976dbbe2c39e44c1c93536855b78b3bbc6e9bfe94a0a2 SHA512 6410b33727352f9bd1db5643c45ea187a8bd224146a804e523f3adc0cec5b3cf72238ae212d7ee9500743c74574d4185fcb357ed4351995eb3b51ad158a736f6 WHIRLPOOL 5c520a6f8f214230cb343c6d92740dfe8663ee5375a3a54afbb64323f3ff2a6f462515185741796c0a31c37ebf1c23ba755dd2f5ad12213630886557e0142852

@ -0,0 +1,32 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=CHROMATIC
DIST_VERSION=1.20161202
inherit perl-module
DESCRIPTION="Perl extension for emulating troublesome interfaces"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~ppc-aix"
IUSE="test"
RDEPEND="
virtual/perl-Carp
virtual/perl-Scalar-List-Utils
>=dev-perl/UNIVERSAL-isa-1.201.106.140
>=dev-perl/UNIVERSAL-can-1.201.106.170
virtual/perl-Test-Simple
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
>=dev-perl/CGI-4.150.0
>=virtual/perl-Test-Simple-0.980.0
>=dev-perl/Test-Exception-0.310.0
>=dev-perl/Test-Warn-0.230.0
)
"

@ -1,2 +1,3 @@
DIST Test-TCP-2.06.tar.gz 21848 SHA256 714956bb012536f617988e9cfb588253e908144e9169e5862356091f44e59229 SHA512 e4fcc79f8d62a8ce669a975e89c4bbf3fd56396c83a8c3b750fec002b3e9bd8dd829faf30bfa47f0db31bc0b5daedfa1e6edc3e2e9f628b0d0c7c25fef1081ab WHIRLPOOL 61e719ed5f4dcbd9e504f99ab4d7b5ea2a8708a31898b15dba5c924d5ee69b6cdaa75a4512a226005bd96c8fd7278777e734de7d6153f44d3a9c03b04a0e4717
DIST Test-TCP-2.16.tar.gz 24616 SHA256 b12b66986a938ea6a627b89cd8c44dc129dc43d11636139f1291dd3830bfb97b SHA512 927eb18dd929478de7c50eb5facdb006c92ffb018b63c4c394a35e9a5b57bfbc2cea8ca0355d49ea5aa7a6f0cc0893c1b55e698b5e0fefeb2a45ae72efb40123 WHIRLPOOL b4fd99e7f3499c9d75298efdb3b1b97ea012c1b6e90c46b6f9e030b021991b31c6dbc7add9cdd19830080cd6fca371e3cf5613ecbc0265b44e10976ccd1492d0
DIST Test-TCP-2.17.tar.gz 25061 SHA256 e8d7e5eeff413dad0b52eaadc543ed650bc573b0d89803e352a9f5ea7cfe4d14 SHA512 41795ae4287d43b28f8892ef9e545d155cb61bb7daf35a937a5c9bfd5f480b8714b7c07f393e540ff6bc3711eebb8fc8380833e6163bf66d09e9c1d28b5a30c9 WHIRLPOOL 6053f27737d4210271b4c291796f580cf11a443ef876fec3d13af0abb5a9d7411b84e73bb8ebc8fa53bbd19464a5cc476d1e74146f19f7673535278a1b8ab5b9

@ -0,0 +1,32 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=SYOHEX
DIST_VERSION=2.17
inherit perl-module
DESCRIPTION="Testing TCP program"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
IUSE="test"
RDEPEND="
virtual/perl-IO
virtual/perl-IO-Socket-IP
>=dev-perl/Test-SharedFork-0.290.0
virtual/perl-Test-Simple
>=virtual/perl-IO-1.230.0
virtual/perl-Time-HiRes
"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.640.0
test? (
>=virtual/perl-Test-Simple-0.980.0
virtual/perl-File-Temp
virtual/perl-Socket
)
"

@ -0,0 +1 @@
DIST Test-Timer-0.13.tar.gz 13505 SHA256 5004eabfd8a6f41e5336b8bc1c3fc155f9f7d01173233785586eb26dfe79140b SHA512 f6848287adbe6f0a1580de196076f0510f42f119045b0de38bf0530d9ff6d1a4dfdc728e0dea586383c0ee42698b291ad184f3dc3fa200d408a0e3123c298637 WHIRLPOOL a74ea288d7f98440c9ee9bedcbc5662b2de430b3a7774ed796dd8c3947285143c6df99d2578fabf18e33f4c42dfb3def0d2b516a5c1c3ee899727be88ea91961

@ -0,0 +1,34 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=JONASBN
DIST_VERSION=0.13
inherit perl-module
DESCRIPTION="test module to test/assert response times"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
virtual/perl-Carp
dev-perl/Error
virtual/perl-Test-Simple
"
DEPEND="${RDEPEND}
>=dev-perl/Module-Build-0.300.0
virtual/perl-ExtUtils-MakeMaker
test? (
virtual/perl-File-Spec
virtual/perl-IO
dev-perl/Test-Exception
)
"
src_test() {
perl_rm_files t/author-* t/release-*
perl-module_src_test
}

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
<upstream>
<remote-id type="cpan">Test-Timer</remote-id>
<remote-id type="cpan-module">Test::Timer</remote-id>
<remote-id type="cpan-module">Test::Timer::TimeoutException</remote-id>
</upstream>
</pkgmetadata>

@ -1,2 +1,3 @@
DIST Text-CSV_XS-0.95.tgz 121627 SHA256 0cf43f442e086bc10ec6e4d7f277fa30f8f145915337c900a0ad9248d7e4bf4d SHA512 4411246524503c7f838cafff1b184f5d0a36f936066514613ff52a5e735aad636b33c930d22388c21d589802c05f4c4b96e65c05569a267ac518995dbc14b403 WHIRLPOOL 0c374dd3dc1af2734da154a53cc8510dd6131a78a393694037dcb10c85ec15b575d9f10165389499998c9cd8cb8d7ef06ffb03597299a66081307407df2a72ce
DIST Text-CSV_XS-1.23.tgz 159271 SHA256 5714e1c275e7715aee44f820f8ca26c976fbb563668de7eba42a4419a05a4b5a SHA512 d49abfa55f4be0613bf0ff08df5f6e3d93c4281900640476e8a6bc584fb8c31d8cd3c3d80d850bb39b455e4d63397a7e378267bbd580626f301e4552083f30c3 WHIRLPOOL 94c0badd92a9d2e78d26943320f04c4512f10a6c4a27b6948571dbc00350da98a2fa29b347b7c8d3a2288cff1e2f7ff1fc0bd358ec38abee2d230c7db3042662
DIST Text-CSV_XS-1.26.tgz 163706 SHA256 e0cdb04b32a64632b4c99927b31100578a75c53d0ab2a5bc1686151706e38662 SHA512 f3e2841638e212f4858b230159ee2a246732d9f5739ce2adbd9778a630852946a9da11c0f270828b880ac6e160611817ffbc0f59f42f20ed64bc82255cdeed7b WHIRLPOOL e94d98953833e383c61d471cc50629ecd5eedab70f945beb2b006b41b0be269d87e6a3de6d68e498ce79c02871b3bf79558541cf78a4736cc99edb11527ce00c

@ -0,0 +1,32 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=HMBRAND
DIST_A_EXT=tgz
DIST_VERSION=1.26
DIST_EXAMPLES=("examples/*")
inherit perl-module
DESCRIPTION="Comma-separated values manipulation routines"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
RDEPEND="
virtual/perl-IO
virtual/perl-XSLoader
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
virtual/perl-Test-Simple
)
"
src_test() {
perl_rm_files "t/00_pod.t" "t/01_pod.t"
perl-module_src_test
}

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

Loading…
Cancel
Save