parent
84472206fe
commit
29f807259a
@ -1,2 +1,3 @@
|
||||
DIST open-vm-tools-10.0.0-3000743.tar.gz 4161070 SHA256 5adef80f43186aff426f4f22b4b31b514d18a1dcc3334d56ed22d2e308803971 SHA512 0529e619b7cc012f3ebb78252157cb6d54c640a701de16516e1125b7147ea2e49f685fbdbbff6de73f2c3d8db87c5f406f8128ba0fcf12e37bc3d66085578c54 WHIRLPOOL f4355d86a4f7d835b6481ff4d7d09786d46ce8107e139fb603f117df41c00a380b7e4f69773b48944ae347d762a02497093828f7820209e7c1c6b5a814312167
|
||||
DIST open-vm-tools-9.10.0-2476743.tar.gz 4093306 SHA256 e146ad53d744d7793ee72c5271fc49a916613534c14827c227fdaef4b3579c96 SHA512 8c8e4a559c0374e020c8261d4c8f6855efbe3f509745ee02ec03ab9ebce7e1327ec1e5e18f674cb464630ace9dc33b4262ffd119fc237c286ee44327e4590385 WHIRLPOOL 162aba889e249ac229e003a57753ff78b86f612a0753ae83f9de52eb1d0ae0a11aee0279c192eb073dabc76d718747c614d4122395abfc8c8d0f9d80a903189a
|
||||
DIST open-vm-tools-9.4.0-1280544.tar.gz 3659504 SHA256 5d30652eb0f6dc5e930781029c184837e700be5543b6a7116db4c62a6f3ca399 SHA512 07b36f49713140606f74864b59c2e01c9ed83a960dd3f5d172b84fc75e760f7370065774a0e26897924af60454c86b682ca0fd32276b0e9fb17b268247f8cbdf WHIRLPOOL 88533768cf718de3b5f64e688597209fa2029d02cdf350d7fd05ec8dd8ca0f0c125a8d1445c1ec9287bc486076d5c335f3cc615c3f0b9aa7bac84e921da4c9e6
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils linux-mod udev
|
||||
|
||||
MY_PN=${PN%-kmod}
|
||||
MY_P=${MY_PN}-${PV/_p/-}
|
||||
|
||||
DESCRIPTION="Opensourced tools for VMware guests"
|
||||
HOMEPAGE="http://open-vm-tools.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK="~DRM_VMWGFX ~VMWARE_BALLOON ~VMWARE_PVSCSI ~VMXNET3"
|
||||
|
||||
# See logic in configure.ac.
|
||||
local MODULES=
|
||||
|
||||
if kernel_is -lt 3 3; then
|
||||
MODULES+=" vmxnet"
|
||||
fi
|
||||
|
||||
if kernel_is -lt 4; then
|
||||
MODULES+=" vmhgfs"
|
||||
fi
|
||||
|
||||
if kernel_is -lt 3 9; then
|
||||
MODULES+=" vmci vsock"
|
||||
else
|
||||
CONFIG_CHECK+=" ~VMWARE_VMCI ~VMWARE_VMCI_VSOCKETS"
|
||||
fi
|
||||
|
||||
if kernel_is -lt 3; then
|
||||
MODULES+=" vmblock vmsync"
|
||||
else
|
||||
CONFIG_CHECK+=" ~FUSE_FS"
|
||||
fi
|
||||
|
||||
local mod
|
||||
for mod in ${MODULES}; do
|
||||
MODULE_NAMES+=" ${mod}(ovt:modules/linux/${mod})"
|
||||
done
|
||||
|
||||
linux-mod_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
BUILD_TARGETS="auto-build"
|
||||
export OVT_SOURCE_DIR="${S}"
|
||||
export LINUXINCLUDE="${KV_OUT_DIR}/include"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
udev_dorules "${FILESDIR}/60-vmware.rules"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST open-vm-tools-10.0.0-3000743.tar.gz 4161070 SHA256 5adef80f43186aff426f4f22b4b31b514d18a1dcc3334d56ed22d2e308803971 SHA512 0529e619b7cc012f3ebb78252157cb6d54c640a701de16516e1125b7147ea2e49f685fbdbbff6de73f2c3d8db87c5f406f8128ba0fcf12e37bc3d66085578c54 WHIRLPOOL f4355d86a4f7d835b6481ff4d7d09786d46ce8107e139fb603f117df41c00a380b7e4f69773b48944ae347d762a02497093828f7820209e7c1c6b5a814312167
|
||||
DIST open-vm-tools-9.10.0-2476743.tar.gz 4093306 SHA256 e146ad53d744d7793ee72c5271fc49a916613534c14827c227fdaef4b3579c96 SHA512 8c8e4a559c0374e020c8261d4c8f6855efbe3f509745ee02ec03ab9ebce7e1327ec1e5e18f674cb464630ace9dc33b4262ffd119fc237c286ee44327e4590385 WHIRLPOOL 162aba889e249ac229e003a57753ff78b86f612a0753ae83f9de52eb1d0ae0a11aee0279c192eb073dabc76d718747c614d4122395abfc8c8d0f9d80a903189a
|
||||
DIST open-vm-tools-9.10.2-2822639.tar.gz 4044062 SHA256 6c5a7f88b597585a273fb9918fdb9201c79e30731a765fbec1acda14d1f3d74c SHA512 0a0683b1d86ff1926517c882943c30267f04710bdd9a70bf7aa75534d64480c3cc2cf5eae5655ed228d4e140129f46efeb2cdbbb8191b142756ad359cec58b72 WHIRLPOOL 7a15d5561fcd52c32c668d8da86ada5a850b4fdaac373f9850c4906b4939ebf620a2ef7740b8a15e513ececb95bd02b285ea5632860bea87df666fcef539ef5f
|
||||
DIST open-vm-tools-9.4.0-1280544.tar.gz 3659504 SHA256 5d30652eb0f6dc5e930781029c184837e700be5543b6a7116db4c62a6f3ca399 SHA512 07b36f49713140606f74864b59c2e01c9ed83a960dd3f5d172b84fc75e760f7370065774a0e26897924af60454c86b682ca0fd32276b0e9fb17b268247f8cbdf WHIRLPOOL 88533768cf718de3b5f64e688597209fa2029d02cdf350d7fd05ec8dd8ca0f0c125a8d1445c1ec9287bc486076d5c335f3cc615c3f0b9aa7bac84e921da4c9e6
|
||||
|
@ -0,0 +1,115 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib pam systemd toolchain-funcs user versionator
|
||||
|
||||
MY_P="${PN}-${PV/_p/-}"
|
||||
|
||||
DESCRIPTION="Opensourced tools for VMware guests"
|
||||
HOMEPAGE="https://github.com/vmware/open-vm-tools"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X doc grabbitmqproxy icu pam +pic vgauth xinerama"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/libdnet
|
||||
sys-apps/ethtool
|
||||
sys-fs/fuse
|
||||
>=sys-process/procps-3.3.2
|
||||
grabbitmqproxy? ( dev-libs/openssl:0 )
|
||||
icu? ( dev-libs/icu:= )
|
||||
pam? ( virtual/pam )
|
||||
vgauth? (
|
||||
dev-libs/openssl:0
|
||||
dev-libs/xerces-c
|
||||
dev-libs/xml-security-c
|
||||
)
|
||||
X? (
|
||||
dev-cpp/gtkmm:2.4
|
||||
x11-base/xorg-server
|
||||
x11-drivers/xf86-input-vmmouse
|
||||
x11-drivers/xf86-video-vmware
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libnotify
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
virtual/pkgconfig
|
||||
sys-apps/findutils
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup vmware
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/9.10.0-vgauth.patch"
|
||||
epatch_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://bugs.gentoo.org/402279
|
||||
export CUSTOM_PROCPS_NAME=procps
|
||||
export CUSTOM_PROCPS_LIBS="$($(tc-getPKG_CONFIG) --libs libprocps)"
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-deploypkg
|
||||
--disable-tests
|
||||
# Broken build
|
||||
--docdir=/usr/share/doc/${PF}
|
||||
--with-procps
|
||||
--with-dnet
|
||||
--without-kernel-modules
|
||||
$(use_enable doc docs)
|
||||
$(use_enable grabbitmqproxy)
|
||||
$(use_enable vgauth)
|
||||
$(use_enable xinerama multimon)
|
||||
$(use_with icu)
|
||||
$(use_with pam)
|
||||
$(use_with pic)
|
||||
$(use_with X gtk2)
|
||||
$(use_with X gtkmm)
|
||||
$(use_with X x)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
# Bugs 260878, 326761
|
||||
find . -name Makefile | xargs sed -i -e 's/-Werror//g' || die "sed out Werror failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D%/}" install
|
||||
dodoc AUTHORS NEWS ChangeLog README
|
||||
prune_libtool_files --modules
|
||||
|
||||
rm "${ED%/}"/etc/pam.d/vmtoolsd
|
||||
pamd_mimic_system vmtoolsd auth account
|
||||
|
||||
newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools
|
||||
newconfd "${FILESDIR}/open-vm-tools.confd" vmware-tools
|
||||
systemd_dounit "${FILESDIR}"/vmtoolsd.service
|
||||
|
||||
if use X; then
|
||||
fperms 4755 /usr/bin/vmware-user-suid-wrapper
|
||||
dobin scripts/common/vmware-xdg-detect-de
|
||||
|
||||
elog "To be able to use the drag'n'drop feature of VMware for file"
|
||||
elog "exchange, please add the users to the 'vmware' group."
|
||||
fi
|
||||
}
|
@ -1,7 +1,4 @@
|
||||
DIST phpvirtualbox-4.1-11.zip 2763347 SHA256 91a78c7dead035edf8138a363c6b3cb89d8f348fa3c38455af232f51bcf592ef SHA512 c5eb1b9fd0bba20e3dda9cbe6985c60d953a340d77b9427f344e8b595a06a5d9805209cf73704fb93de5ee2f412e02cb1434ed0e983b0622cf8a8172d7dff9a5 WHIRLPOOL ca95767f63f3c018738de36dede1859e0b6185cd22d4f7a40128dd5a14791ca9402a2ef54c4928c1a4c4408ddcb62b312a4d05743c0722f9a8fee1555df4021a
|
||||
DIST phpvirtualbox-4.1-7.zip 2760199 SHA256 16c27cd1bcc843b464752c3dd7091247b690218bca06fcecbdd130c5daf70b7c SHA512 657d5c5424d540ef3da9db54e638d227b68fcc336ec097f8a319a689990a53ad9f17af6fd0cd4be699212e83f06468bb65c4da03faf0a65ff77386f23aaf9409 WHIRLPOOL f2327749d6333bc07dce1f28f42e297f8e24777b556967513218d429e78db1fdd00112cca5ddd91d94012a8b0c5ab7c475c7209b3f12e2bad95085ce112f6f3d
|
||||
DIST phpvirtualbox-4.2-3b.zip 3184088 SHA256 23134a05d22ac9429524abb9d7165eb4c0ef7c52c917e9ced317e9ff71d0405f SHA512 c0ebf5fb2defd23b5999d7616e47a93696259973b563e2e0cd415db0a9f5be5f3798ac9e6d242c44208ce2c51ba2ab7cf43288ae8108563b45bd119ba2fa8c2f WHIRLPOOL 467385c219fc525151285390fa5a68b273b52be699e97a308f77c74bdeab911a845a7e28343b665ee2d6126aca2f0c3021816adbaa23b0d563ea06d7ec20c62c
|
||||
DIST phpvirtualbox-4.2-4.zip 3663173 SHA256 dd2681dc9703ec68a995cac98719863dca9e0720e45f5e0322dbb6fa3858138b SHA512 51e3b90bb5fcedbd45a6e54cf3ea6cc74cd764bdc107f97f9cb24c27f2c5d53a862781b808ab7d53cdbbd9d4cff93734d7578676b409d10326895dd1c5dcdc15 WHIRLPOOL 1678790492df50f7ae63bd4b44dbcd0ddd892c1bef9d455bf47bb20f1dcdac4955645fe71d549095ccc4a19f5960abf0f34fa1d95c4f4c8d82a34848a405fe06
|
||||
DIST phpvirtualbox-4.2-7.zip 3425805 SHA256 3dc078d7058d75aa5745f531a6d485a11fff18972df1a638a749f019e0196e4e SHA512 a066f127115a83c6061e8c0ff6447464818511f3ab7805c119f75ddc88459efd144d45fb358ce52959301f2f1a4f2609f7f42c2bb24213a5be98f2036085a81b WHIRLPOOL d6cf095b9768b7a9c0113c8df354dad124a0b2dc0a52e8518dfde230823c95dcad6b6e3df56cc41a4474b8b73cb281f3bfc91f417078e0b6f1136acd70dca4cf
|
||||
DIST phpvirtualbox-4.3-0.zip 4231805 SHA256 e33eea5553fb134ba6a1203e33e212bc5764c05b28164dcc02c6d66af565c293 SHA512 fd49a6a4c79d75f37fd40d74743f295a148548373ab046cf1f31ef7b982008ea6b9d2838cdad2dc37a1d266ed630cd2ddb7f7423ea62af1e0f8f9f76a12c0e9d WHIRLPOOL 1c96ec2fe19092dabac9e04be596974cc4dbaa9993c34e76b938036e8e04c67dc4f4f344be8afd636d603a478ce0c85435a75f8d6cf59bbdc3a11c6fd575b6c1
|
||||
DIST phpvirtualbox-5.0-3.zip 4092132 SHA256 8e23eee4ee36ff8cf765afb6842338e8ea8190956882ec0baa30f09ff4fe134b SHA512 b632ff3be2028bd011ce27b580996638dfc89e09350c459f16bd1c8c5c3eefbab93f42d7facfb99279eb2ee1c6a38854ea999654ca2090a39c7bfa0afa7fe2d5 WHIRLPOOL 38070a6935e3a4e5155f84db395c9e82603583957b26fcf166a654446052b15aa3d3b7653a9f7d56a33382dc82058e55413575e75c26b4c97f782bb868cc66e8
|
||||
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit versionator eutils webapp depend.php
|
||||
|
||||
MY_PV="$(replace_version_separator 2 '-')"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="Web-based administration for VirtualBox in PHP"
|
||||
HOMEPAGE="https://sourceforge.net/projects/phpvirtualbox/"
|
||||
SRC_URI="https://${PN}.googlecode.com/files/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php[session,unicode,soap,gd]
|
||||
"
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
need_php_httpd
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
cd ${MY_P}
|
||||
|
||||
dodoc CHANGELOG.txt LICENSE.txt README.txt || die
|
||||
rm -f CHANGELOG.txt LICENSE.txt README.txt
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r .
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/config.php-example
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/config.php-example
|
||||
|
||||
webapp_src_install
|
||||
if has_version app-emulation/virtualbox[vboxwebsrv] || \
|
||||
has_version app-emulation/virtualbox-bin[vboxwebsrv]
|
||||
then
|
||||
newinitd "${FILESDIR}"/vboxinit-initd vboxinit
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
webapp_pkg_postinst
|
||||
elog "Local or remote virtualbox hosts must be compiled with"
|
||||
elog "'vboxwebsrv' useflag and the respective init script"
|
||||
elog "must be running to use this interface"
|
||||
elog " /etc/init.d/vboxwebsrv start"
|
||||
elog
|
||||
elog "To enable the automatic startup mode feature uncomment the"
|
||||
elog "following line in the config.php file:"
|
||||
elog " var \$startStopConfig = true;"
|
||||
elog
|
||||
elog "You should also add the /etc/init.d/vboxinit script to the"
|
||||
elog "default runlevel on the virtualbox host:"
|
||||
elog "\`rc-update add vboxinit default\`"
|
||||
elog "If the server is on a remote host, than the script must be"
|
||||
elog "copied manually from"
|
||||
elog "${FILESDIR}/vboxinit-initd to /etc/init.d/vboxinit"
|
||||
elog "on the remote host."
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit versionator eutils webapp depend.php
|
||||
|
||||
MY_PV="$(replace_version_separator 2 '-')"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="Web-based administration for VirtualBox in PHP"
|
||||
HOMEPAGE="https://sourceforge.net/projects/phpvirtualbox/"
|
||||
SRC_URI="https://${PN}.googlecode.com/files/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php[session,unicode,soap,gd]
|
||||
"
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
need_php_httpd
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
cd ${MY_P}
|
||||
|
||||
dodoc CHANGELOG.txt LICENSE.txt README.txt || die
|
||||
rm -f CHANGELOG.txt LICENSE.txt README.txt
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r .
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/config.php-example
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/config.php-example
|
||||
|
||||
webapp_src_install
|
||||
if has_version app-emulation/virtualbox[vboxwebsrv] || \
|
||||
has_version app-emulation/virtualbox-bin[vboxwebsrv]
|
||||
then
|
||||
newinitd "${FILESDIR}"/vboxinit-initd vboxinit
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
webapp_pkg_postinst
|
||||
elog "Local or remote virtualbox hosts must be compiled with"
|
||||
elog "'vboxwebsrv' useflag and the respective init script"
|
||||
elog "must be running to use this interface"
|
||||
elog " /etc/init.d/vboxwebsrv start"
|
||||
elog
|
||||
elog "To enable the automatic startup mode feature uncomment the"
|
||||
elog "following line in the config.php file:"
|
||||
elog " var \$startStopConfig = true;"
|
||||
elog
|
||||
elog "You should also add the /etc/init.d/vboxinit script to the"
|
||||
elog "default runlevel on the virtualbox host:"
|
||||
elog "\`rc-update add vboxinit default\`"
|
||||
elog "If the server is on a remote host, than the script must be"
|
||||
elog "copied manually from"
|
||||
elog "${FILESDIR}/vboxinit-initd to /etc/init.d/vboxinit"
|
||||
elog "on the remote host."
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit versionator eutils webapp depend.php readme.gentoo
|
||||
|
||||
MY_PV="$(replace_version_separator 2 '-')"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="Web-based administration for VirtualBox in PHP"
|
||||
HOMEPAGE="https://sourceforge.net/projects/phpvirtualbox/"
|
||||
SRC_URI="https://${PN}.googlecode.com/files/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php[session,unicode,soap,gd]
|
||||
"
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
need_php_httpd
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="
|
||||
Local or remote virtualbox hosts must be compiled with
|
||||
'vboxwebsrv' useflag and the respective init script
|
||||
must be running to use this interface:
|
||||
/etc/init.d/vboxwebsrv start
|
||||
|
||||
To enable the automatic startup mode feature uncomment the
|
||||
following line in the config.php file:
|
||||
var \$startStopConfig = true;
|
||||
|
||||
You should also add the /etc/init.d/vboxinit script to the
|
||||
default runlevel on the virtualbox host:
|
||||
\`rc-update add vboxinit default\`
|
||||
If the server is on a remote host, than the script must be
|
||||
copied manually from
|
||||
'${FILESDIR}'/vboxinit-initd to
|
||||
/etc/init.d/vboxinit on the remote host."
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc CHANGELOG.txt LICENSE.txt README.txt
|
||||
rm -f CHANGELOG.txt LICENSE.txt README.txt
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r .
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/config.php-example
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/config.php-example
|
||||
|
||||
webapp_src_install
|
||||
if has_version app-emulation/virtualbox[vboxwebsrv] || \
|
||||
has_version app-emulation/virtualbox-bin[vboxwebsrv]
|
||||
then
|
||||
newinitd "${FILESDIR}"/vboxinit-initd vboxinit
|
||||
fi
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
webapp_pkg_postinst
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST JabRef-2.10.jar 15223054 SHA256 bb8f001043079bd12f7f8867d725723fca33b03889af864a100d0cf5c4364ce4 SHA512 833ec41bf8d5a76892ec82f0726c5dcf6382de8b05a949b1d697dbdbb79ba727557069f3267827a7febe6ec4ead996c8de273479b8e3d0363467ec6b91e6bd3a WHIRLPOOL a8026762ae934e680f24698e5c658c03a8f6e1c0ec6d48a0ee4b3eaee9ceb93b1831777009627c02f0377333b7f96b34da4e8e36481a859a63bd3d799f5cb03e
|
||||
DIST JabRef-2.11b2.jar 15817749 SHA256 f811eb98bdef938c9aaeee5e9807c6ea28a8b4d7270df93cb6ac2cf405dc6f8c SHA512 045f33632f5aa6ef6c61cb8e16dae69f2d91f2b4b85bfce5e51bd9492ad80d41c92b093d8f6b0d67972f18fa787d626b8c6fd419c7cd4cd3249d3e40d7025bf4 WHIRLPOOL 01e9c89b644a110ec2fc1e222ff996f69a0210520cb5c2dc0f7b4c8bb16d91bb4d37358e8e76bd2cfe7630cd664ad925b62c0a46e041da2949c4655b8326250d
|
||||
DIST JabRef-2.11b3.jar 16426897 SHA256 251192bc24448886bb62dbc5d01e0c68ee345c45d83fd586db16e5562894fa78 SHA512 93f691928948346f2e3891d5a52be14159b6e0e953897d12a839026ae125bae9c97082bf8f2e160bf20fd42d7e81fa5385114c5e7800e17be07666aa4ec0f7ed WHIRLPOOL ecf0088eb1b30391851a2c30f502b34accd9d4b1e6133f2f06e6e6689160a1dcd74a7f719c3d1e7d8e489f0bcb1f5187a07403d998a0a3256bacf4cbcaa0a2fc
|
||||
DIST JabRef-2.11b4.jar 20366631 SHA256 4f715c5e8849167b234cec2edbf6c8e32f3eaab5b69ff672210746bdb0c9204d SHA512 28d57d75cbd197e9a2fd9307cfd1cac9f8b2a0855c440db2a06292770a068cf7eb67db1af31f7240f70ddd382b33c30cb10c1d4be7e53cfd302efc1671b6a2a3 WHIRLPOOL 6b90bd7668330fa1c41bf2622a3d48acaf98d1b3ae0e5174ec3e85ca12a12f56b6ec42887cda655bdb2863e69899a707eb2be7663dc27f53030315bd3c68da20
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils java-pkg-2
|
||||
|
||||
MY_PV_1="${PV/_beta/b}"
|
||||
MY_PV="${MY_PV_1/_rc/}"
|
||||
MY_URI_PV_1="${PV/rc/}"
|
||||
MY_URI_PV="${MY_URI_PV_1//_/%20}"
|
||||
|
||||
DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
|
||||
HOMEPAGE="http://jabref.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/jabref/JabRef-${MY_PV}.jar"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp -v "${DISTDIR}/${A}" . || die
|
||||
jar xf ${A} images/JabRef-icon-48.png || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar JabRef-${MY_PV}.jar
|
||||
java-pkg_dolauncher ${PN} --jar ${PN}.jar
|
||||
newicon images/JabRef-icon-48.png JabRef-bin-icon.png
|
||||
make_desktop_entry ${PN} JabRef-bin JabRef-bin-icon Office
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST lcdf-typetools-2.104.tar.gz 636875 SHA256 d7985458ead0850cb9549ff1d619ffc18da5d7be892be5e1fce6048d510f0fff SHA512 0d41386787aa18e5a7a85158ebba2046480c2320cbdfeaad75092962335f8f97a0ceede1aa301197d6c971bd6be729960c636fb14a8ce21e4c7f3f0e57257388 WHIRLPOOL 327e88a89cedb4a66fe93878c68dff11cb2b1d8d189eb3107f1782e67a70444ccee2b1ee6362f189441695f5e02a334311f9458a4a3f1d752fe22d863a2f3d20
|
||||
DIST lcdf-typetools-2.105.tar.gz 640159 SHA256 c8b6a58e2f8f61ff3c21fd61452032c83938c91fde00f302b8f9391b16c6b63a SHA512 52670a7faca7da175819420c68aa9b34d3d488ed5d25f13e9d0930e9442857c481575c89a379183c9cd4a1b2a0786bcd8ffe33682e284b8f6e12ca917bb97538 WHIRLPOOL 729766b968ad48495edb952f89d13cb7e59c37b46606f12d0a7748feb8e722fb67e3f981a63c64fb1b81129d8059a985bf08a2978f33e0586aa3f8ab95f034f0
|
||||
DIST lcdf-typetools-2.97.tar.gz 616431 SHA256 761746041c669fa3673a3e90ec7a247abd0e2782bdddf0fc5d7ab70b33b6f975 SHA512 8812436843721b7134ec796549092854050d1e9017fef048a62e7aa0e866d20e9757b246dbad738cdf8d8583afada3a2db9c6c7dc2546154cafd4dcd0f27f7f2 WHIRLPOOL 767a2a74a9f9b7a0c29407178b96a1455da39239b835f59def2ae77db068655a8953362c6f8d48a8a31fb6fc40dea405c0e6eb276fe60750e9dfbb11954bd972
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Font utilities for eg manipulating OTF"
|
||||
SRC_URI="http://www.lcdf.org/type/${P}.tar.gz"
|
||||
HOMEPAGE="http://www.lcdf.org/type/#typetools"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE="+kpathsea"
|
||||
|
||||
RDEPEND="kpathsea? ( virtual/tex-base dev-libs/kpathsea )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
use kpathsea && has_version '>=dev-libs/kpathsea-6.2.1' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
|
||||
econf $(use_with kpathsea)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc NEWS README.md ONEWS
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST LMDB_0.9.15.tar.gz 130113 SHA256 a72b13db91e7c445e47194178915556b4ebcd6f9f64d48f60b1f830b0cfbd75a SHA512 c6c73661aea42679c83738afbecf9542a04ceed229f72c008b4ef406e7d9284defc652c5b070897155917c5bb2c96a4c35bde3e6423ab0f1802fb711ef1cf16a WHIRLPOOL c00fbb166467a2e7157b4ffbf10525ea8fd2987d172083b07ba52990ab7c39005be3436fe948a29f2c722bf8e4cf76009be55ff5148b0d139126c9a4703c0b28
|
||||
DIST LMDB_0.9.16.tar.gz 130343 SHA256 49d7b40949f2ced9bc8b23ea6a89e75471a1c9126537a8b268c318a00b84322b SHA512 ef879df615b5ca1a5c28194ff2cad49559d336c470b3ae904428d219452a0d721cae7d64defe44119d19f7c731fe4e0e293ff09118eb057fe322feb3a5aebcc9 WHIRLPOOL 9bf349df3909874b7554175eb66f904132a39b9fc343e019793d68f8227a45a706f725adb87dd2a951acb22c4acd375ce56acc293762157b8a878d6a3f241f1a
|
||||
DIST lmdb-0.9.14.tar.gz 128170 SHA256 3b14dfe2134521cfebd98168b925f7327b9bd07c715640b79f3526e54f0ccb1f SHA512 d5bde616fb22631fe1689e2c77babfbf5098833cf313bce59a5daab1e450d2998a65f087929879e73e0a897b934ff40b8e340c79ec7b2b1c1fe7e1eea7da6267 WHIRLPOOL 0ebda52fd50d9d73bc079e6a613b2e2cdaa1032665d91e499dea9dcf1698095bfe84b03a931118baae8048c616e9bae7153972446502d368e7dc9ee33105e777
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="An ultra-fast, ultra-compact key-value embedded data store"
|
||||
HOMEPAGE="http://symas.com/mdb/"
|
||||
SRC_URI="https://github.com/LMDB/lmdb/archive/LMDB_${PV}.tar.gz"
|
||||
|
||||
LICENSE="OPENLDAP"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=""
|
||||
# =net-nds/openldap-2.4.40 installs lmdb files.
|
||||
RDEPEND="!=net-nds/openldap-2.4.40"
|
||||
|
||||
S="${WORKDIR}/${PN}-LMDB_${PV}/libraries/liblmdb"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s/^CC.*/CC = $(tc-getCC)/" \
|
||||
-e "s/^CFLAGS.*/CFLAGS = ${CFLAGS}/" \
|
||||
-e "s/ar rs/$(tc-getAR) rs/" \
|
||||
-e "s:^prefix.*:prefix = /usr:" \
|
||||
-e "s:/man/:/share/man/:" \
|
||||
-e "/for f/s:lib:$(get_libdir):" \
|
||||
-e "s:shared:shared -Wl,-soname,liblmdb.so.0:" \
|
||||
"${S}/Makefile" || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LDLIBS+=" -pthread"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}"/usr/{bin,$(get_libdir),include,share/man/man1}
|
||||
default
|
||||
|
||||
mv "${D}"/usr/$(get_libdir)/liblmdb.so{,.0} || die
|
||||
dosym liblmdb.so.0 /usr/$(get_libdir)/liblmdb.so
|
||||
|
||||
use static-libs || rm -f "${D}"/usr/$(get_libdir)/liblmdb.a
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST mysql++-2.3.2.tar.gz 1627115 SHA256 3544b964964bc8981118119e82e4883dc9d1de8a72861a19e6687719ed3efce9 SHA512 b546c8369550e541c1a0b1b0e301fdd298a771cb709ad6c6ea3450a8f8bbe7533989a82d1c19cd9bf9a261d7a1fc4c3760919d3d5e3e43b5d698b75b7abf07f7 WHIRLPOOL 2bfc961193baad0053ff9909075db9f5ccfc7c00334483842bc25a94044a1331392f3dc0283bf5f33e69f67c20505bf5b12a01635a0f92716a0c341af5fe637e
|
||||
DIST mysql++-3.1.0.tar.gz 1944101 SHA256 256c39a583e7d60947916851754c626312428e9b1d8af3309e34d64ff8404e92 SHA512 bb57bbf03c80edabff701132877f407ecfa1b76958d7655415c59ec939e80fbe250951a16c3d5ea6988dd2c778b623605cb65bf810501f392be2f6b6ad07ad90 WHIRLPOOL 0b5274e0fbc1b2cb40ade9699ddc46d5837e66f3a506502f4dae5f5de4689ac2ccf3989a674db073a36075c541046b174e80bbac3d7df393bd61ef3bfc99fd32
|
||||
DIST mysql++-3.2.1.tar.gz 2256735 SHA256 aee521873d4dbb816d15f22ee93b6aced789ce4e3ca59f7c114a79cb72f75d20 SHA512 936021dcf8568d3ee0c935e5c552acc6fd2b57849d1cc60e68b45b690d798d7bfbc1dedc04e21417d1b4c27017b471e4f6cb70de7f1904949b9222090a777de9 WHIRLPOOL 56579d4a1afb5985dc8487d211ea7e5aedfe7acfbcd6130b28b07364e66d6b0142831296a6c6ce2f4de78f45e94572c1ef289db41ee504b05d04f3623d48b2aa
|
||||
DIST mysql++-3.2.2.tar.gz 3257359 SHA256 55667bee79a5981b1a04e57e3a4fd8b03bf330e4e3371b023c2bf5ba0f50ed17 SHA512 eb4250394027f1baafa660711d8221c9eb3a70ff2a37331c58807a97a67b84f792290b24830e851b2421f6ccf2867e9f3597af3af41530256c44521a4c4a55b1 WHIRLPOOL c344e77edf8fb5d09fc82c716441ecc53b00b97076d696c52072c79b0c754b7852959c4adac02240cf37ca9159a8f8174a086d43f7cd36388a2c26f2bec38a12
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="C++ API interface to the MySQL database"
|
||||
HOMEPAGE="http://tangentsoft.net/mysql++/"
|
||||
SRC_URI="http://www.tangentsoft.net/mysql++/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0/3"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/libmysqlclient:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-3.2.1-gold.patch"
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--enable-thread-check --with-mysql=${EPREFIX}/usr"
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# install the docs and HTML pages
|
||||
dodoc CREDITS* HACKERS.txt Wishlist doc/ssqls-pretty
|
||||
dodoc -r doc/pdf/ doc/refman/ doc/userman/
|
||||
dohtml -r doc/html/
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST mysql-extras-20150113-1853Z.tar.bz2 1494439 SHA256 420553dc8557d0622ad762ee6924900acc74fd4f367fd3840acab03114fada4d SHA512 b1252d905b71a6f42484eaa796ebcd2f0769affc566e6c277ef3bc0ef9bc446a1c22aac3faa48ef7b9305056a1302b37d7ef86b547c44514528a5956ce61d372 WHIRLPOOL d14f0d88358eb0bbd2c338052ec086ab8260988497ef09da934365ded3c30c7e905ea936a0c9817ccb49d1f6e3408b3f6a438455a2455c65c2f26a9fc6367ff3
|
||||
DIST mysql-extras-20150717-1707Z.tar.bz2 1491956 SHA256 d67cc1e2c581ab7c57122b7d29864643869799893a95a158a18e14201d4ffc10 SHA512 3a7cb07773099e766f8e796d4e555d42874b85285cc2c7c60220370cc6aafc36a60eb340008637298d85d83f529e73392895a81c1438ffccff9eb8f354b29ba9 WHIRLPOOL 11e75f4b696e2547c1da40e69d8ab75df4bf7080426204c040632f24846407b07d71061c09c4ff4a1d21a9d14a94769d8f8ef62421d0aecd99efe832caf4dd22
|
||||
DIST percona-server-5.6.24-72.2.tar.gz 34099689 SHA256 5aa6469f3a55fe0fd1cfe315f2f9cacb0ce318620086c93821c9000d6e25c0de SHA512 46e013b272d96d995af48e0a55c94e7ded1a2cf6e8a4e3c7e1674171ac288e2b211e5761eecbe6f0cacf40a026dccbf102f517745c7c07865165fe3a8e922088 WHIRLPOOL ee200bbf7454c16afb349713ea031e4d8acf4fab2fe3d594336443997c683c0d987704c6a300451d6b77df271e32905ca892753320666438ca797a484a499856
|
||||
DIST percona-server-5.6.25-73.0.tar.gz 34152178 SHA256 790d056931b9dd5b158a732812490fdaf9407012aaf93d3f1c1b21942dcdc251 SHA512 9bb4ee29ceb7e80460d2ffa779ca0aefaa6c0af1c4e5309c1c5f37840da4e85da1196a936e1862bacb3f36d064a6dcb6ad45b3eb55f60b033f2741ec6b487b9d WHIRLPOOL 76c59da78fda5cf70802117e59ceb0a877513ed83b0069c6d5a3f169595eac43516897bc02c092caa71cb059424ed3d4cbb97133c6946f870ab7734e8ca7a282
|
||||
DIST percona-server-5.6.26-74.0.tar.gz 54819177 SHA256 9156038d84bd1190a5b5df963877876584d30bd515ba3ad39e65a532430c1608 SHA512 1874b5e5d40da3ba6a9ea5bf15b7b851b4c067edf3cbca4139c078536000010acaecb8ee94933f5c4482ea091967a30f042b3bd08bef5e3716cae0be8607410e WHIRLPOOL fd8d712d3ed1a785ad455d9d83f537303ad9b58d0562cf73adaba71527ab42513e0682b568aced5601b419e738f9d904d09bb37f387feaa42944795461e96b8e
|
||||
|
@ -1 +1,2 @@
|
||||
DIST dbus-sharp-glib-0.5.0.tar.gz 95405 SHA256 f4fd663957f06ac5f0322beab264c5498bf6408f7435d0387950b4cb7996180e SHA512 651a8d9b42342d6aca6b7963a089e8da609f0d2e9d6421f40fb9589204af63e790f1bc5dd7735bb751f84d3f0d888e2e2f174c23f79206f8858e0502cba95065 WHIRLPOOL 2d5776e367757e4a06b34e0b114b95e61b4a8dea54b60029d59c73802bf58e58c198cea5cd6094371a584ee54317f9fd9fb60e63a9b483311014498084155d8e
|
||||
DIST dbus-sharp-glib-0.6.0.tar.gz 73675 SHA256 d5b44d3ffa419730df0a6a6fff1e6912c80bc364e4176444e48264853989ce3b SHA512 271edf10d149e152290cd0ac8ebaf6ed7a6f5d0f280d5514dbfbdb84f77d8339ba0e2c5fd53242cf00e13c7d2bfa3fbf426ca9038467b26b9a8396c6c9c1ed67 WHIRLPOOL 18d976f9aaf53d992195ddcdae3f7a37224119a34ad7ed2a5c66cc302aac111d928461432244950ffee8527082010826bb7cdbf0ad66b263dc600243997054cb
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit autotools mono-env
|
||||
|
||||
DESCRIPTION="D-Bus for .NET: GLib integration module"
|
||||
HOMEPAGE="https://github.com/mono/dbus-sharp"
|
||||
SRC_URI="mirror://github/mono/dbus-sharp/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/mono
|
||||
>=dev-dotnet/dbus-sharp-0.7:1.0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS README"
|
||||
mono-env_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/gmcs/mcs/' configure.ac || die
|
||||
eautoreconf
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit autotools mono-env
|
||||
|
||||
DESCRIPTION="D-Bus for .NET: GLib integration module"
|
||||
HOMEPAGE="https://github.com/mono/dbus-sharp"
|
||||
SRC_URI="https://github.com/mono/${PN}/releases/download/v${PV%.*}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2.0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/mono
|
||||
>=dev-dotnet/dbus-sharp-0.8:2.0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS README"
|
||||
mono-env_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/gmcs/mcs/' configure.ac || die
|
||||
eautoreconf
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST dbus-sharp-0.7.0.tar.gz 127651 SHA256 92529aef9063f477d1975947c6388c63d03234018f45d007c07716dd3e21dd41 SHA512 76d9c83aae227476e40efee1e987a03a8b1da29def79657365906a8220d2cceabe433f4b4679a87dd74e77431382b6c2857ca5498b0671b679d5ddd566d0229d WHIRLPOOL 275c0149c40cf65a7967eb86936f077aa0d526c70ce315dbf43057a2c962be0b7e07f5b9d3a69ac30ed88c785e9f0f1f7f105002b1709e202dee52433627158b
|
||||
DIST dbus-sharp-0.8.1.tar.gz 148177 SHA256 0866c001f2d6e01a6f1b4d080db08d25ba1422e34c7d03020e0e70f3de3a9859 SHA512 da5f6cb9fb653a2303eb99865100cc959b0b27d463dee744459666c3a5851f87e30fcb229da08505be45fcc28f4a44629e707073944b321556478f9c7b5c20d3 WHIRLPOOL 2bebf89950cd8f611775a3115669694db559be75b3b4d2cafcf77b409b26df97e5e685701354dd3b35e4050dcf8be7906c745bd333dfbb196980b157b7535ca3
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit autotools mono-env eutils
|
||||
|
||||
DESCRIPTION="D-Bus for .NET"
|
||||
HOMEPAGE="https://github.com/mono/dbus-sharp"
|
||||
SRC_URI="mirror://github/mono/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/mono
|
||||
sys-apps/dbus"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS README"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix signals, bug #387097
|
||||
epatch "${FILESDIR}/${P}-fix-signals.patch"
|
||||
epatch "${FILESDIR}/${P}-fix-signals2.patch"
|
||||
sed -i -e 's/gmcs/mcs/' configure.ac || die
|
||||
eautoreconf
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit autotools mono-env eutils
|
||||
|
||||
DESCRIPTION="D-Bus for .NET"
|
||||
HOMEPAGE="https://github.com/mono/dbus-sharp"
|
||||
SRC_URI="https://github.com/mono/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2.0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/mono
|
||||
sys-apps/dbus"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS README"
|
||||
mono-env_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/gmcs/mcs/' configure.ac || die
|
||||
eautoreconf
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
inherit autotools mono-env
|
||||
|
||||
DESCRIPTION="GIO API C# binding"
|
||||
HOMEPAGE="https://github.com/mono/gio-sharp"
|
||||
SRC_URI="https://github.com/mono/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="|| ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/glib-sharp-2.12 )
|
||||
|| ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/gtk-sharp-gapi-2.12 )
|
||||
>=dev-libs/glib-2.22:2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS NEWS README"
|
||||
mono-env_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv *-${PN}-* "${S}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/gmcs/mcs/' configure.ac.in || die
|
||||
sed -i -e '/autoreconf/d' autogen-generic.sh || die
|
||||
NOCONFIGURE=1 ./autogen-2.22.sh || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit autotools mono-env
|
||||
|
||||
DESCRIPTION="C# binding for gkeyfile"
|
||||
HOMEPAGE="https://launchpad.net/gkeyfile-sharp https://github.com/mono/gkeyfile-sharp"
|
||||
SRC_URI="https://github.com/mono/${PN}/tarball/GKEYFILE_SHARP_0_1 -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="|| ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/glib-sharp-2.12.9 )
|
||||
|| ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/gtk-sharp-gapi-1.9 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv *-${PN}-* "${S}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac
|
||||
sed -i -e 's/gmcs/mcs/' configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS ChangeLog NEWS
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils mono-env
|
||||
|
||||
DESCRIPTION="C# implementation of gnome-keyring"
|
||||
HOMEPAGE="http://www.mono-project.com/ https://github.com/mono/gnome-keyring-sharp"
|
||||
SRC_URI="http://www.go-mono.com/archive/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/mono-2.0
|
||||
>=gnome-base/libgnome-keyring-2.30.0
|
||||
|| ( >=dev-dotnet/gtk-sharp-2.12.21 dev-dotnet/glib-sharp )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Disable building samples.
|
||||
sed -i -e 's:sample::' "${S}"/Makefile.in || die "sed failed"
|
||||
|
||||
# Apply Fedora patches
|
||||
epatch "${FILESDIR}/${PN}-1.0.2-monodoc-dir.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# This dies without telling in docs with anything not -j1
|
||||
# CSC=gmcs needed for https://bugs.gentoo.org/show_bug.cgi?id=250069
|
||||
# Changed to CSC=mcs for mono-4 compatibility
|
||||
emake -j1 CSC=mcs
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils mono-env
|
||||
|
||||
MY_P=${PN}-${PV#*_pre}
|
||||
|
||||
DESCRIPTION="a C# client implementation for Desktop Notifications"
|
||||
HOMEPAGE="http://www.ndesk.org/NotifySharp"
|
||||
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-lang/mono-1.1.13
|
||||
>=dev-dotnet/gtk-sharp-2.10.1
|
||||
>=dev-dotnet/dbus-sharp-0.6:1.0
|
||||
>=dev-dotnet/dbus-sharp-glib-0.4:1.0
|
||||
>=x11-libs/libnotify-0.4.5"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-0.4.0_pre20080912-control-docs.patch" \
|
||||
"${FILESDIR}/${P}-dbus-sharp.patch"
|
||||
sed -i -e 's/gmcs/mcs/' configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable doc docs)
|
||||
}
|
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="doc javamail jms jmx source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A low-overhead robust logging package for Java"
|
||||
SRC_URI="mirror://apache/logging/${PN}/${PV}/${P}.tar.gz"
|
||||
HOMEPAGE="http://logging.apache.org/log4j/"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="doc javamail jms jmx source"
|
||||
|
||||
CDEPEND="javamail? (
|
||||
java-virtuals/javamail
|
||||
java-virtuals/jaf
|
||||
)
|
||||
jmx? ( dev-java/sun-jmx )
|
||||
jms? ( java-virtuals/jms )"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
MY_P="apache-${P}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
java_prepare() {
|
||||
rm -rf dist || die
|
||||
java-pkg_filter-compiler jikes
|
||||
rm -v *.jar || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
JAVA_ANT_IGNORE_SYSTEM_CLASSES="true"
|
||||
EANT_BUILD_TARGET="log4j.jar"
|
||||
EANT_EXTRA_ARGS="-Djaxp-present=true"
|
||||
EANT_DOC_TARGET=""
|
||||
|
||||
src_compile() {
|
||||
if use javamail; then
|
||||
EANT_GENTOO_CLASSPATH+="javamail,jaf"
|
||||
EANT_EXTRA_ARGS+=" -Djavamail-present=true"
|
||||
fi
|
||||
|
||||
if use jmx; then
|
||||
if use javamail; then
|
||||
EANT_GENTOO_CLASSPATH+=","
|
||||
fi
|
||||
|
||||
EANT_GENTOO_CLASSPATH+="sun-jmx"
|
||||
EANT_EXTRA_ARGS+=" -Djmx-present=true"
|
||||
fi
|
||||
|
||||
if use jms; then
|
||||
EANT_EXTRA_ARGS+=" -Djms-present=true -Djms.jar=$(java-pkg_getjars jms)"
|
||||
fi
|
||||
|
||||
java-pkg-2_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar dist/lib/${PN}-1.2.17.jar ${PN}.jar
|
||||
|
||||
if use doc ; then
|
||||
java-pkg_dohtml -r site/*
|
||||
rm -fr "${ED}/usr/share/doc/${PF}/html/apidocs"
|
||||
java-pkg_dojavadoc --symlink apidocs site/apidocs
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
java-pkg_dosrc src/main/java/*
|
||||
fi
|
||||
}
|
@ -0,0 +1,760 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool systemd
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
case "${1}" in
|
||||
"php-pre")
|
||||
echo "http://downloads.php.net/ab/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${2}"
|
||||
;;
|
||||
"olemarkus")
|
||||
echo "https://dev.gentoo.org/~olemarkus/php/${2}"
|
||||
;;
|
||||
"gentoo")
|
||||
echo "mirror://gentoo/${2}"
|
||||
;;
|
||||
*)
|
||||
die "unhandled case in php_get_uri"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# alias, so we can handle different types of releases (finals, rcs, alphas,
|
||||
# betas, ...) w/o changing the whole ebuild
|
||||
PHP_PV="${PV/_rc/RC}"
|
||||
PHP_PV="${PHP_PV/_alpha/alpha}"
|
||||
PHP_PV="${PHP_PV/_beta/beta}"
|
||||
PHP_RELEASE="php"
|
||||
[[ ${PV} == ${PV/_alpha/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_beta/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
SRC_URI="${PHP_SRC_URI}"
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs"
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl debug
|
||||
enchant exif frontbase +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
|
||||
mysql mysqli nls
|
||||
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite ssl
|
||||
sysvipc systemd tidy +tokenizer truetype unicode vpx wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
DEPEND="
|
||||
>=app-eselect/eselect-php-0.7.1-r3[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[unicode]
|
||||
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
|
||||
<www-servers/apache-2.4[threads=] ) )
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[ssl=] )
|
||||
intl? ( dev-libs/icu:= )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.7 )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
!gd? (
|
||||
virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
vpx? ( media-libs/libvpx )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? (
|
||||
x11-libs/libXpm
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0= sys-libs/zlib
|
||||
)
|
||||
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( gd )
|
||||
vpx? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xslt? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
mysql? ( || ( mysqli pdo ) )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
fpm? (
|
||||
selinux? ( sec-policy/selinux-phpfpm )
|
||||
systemd? ( sys-apps/systemd ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
depend.apache_pkg_setup
|
||||
}
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
|
||||
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}"
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" "${PHP_INI_FILE}"
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
if use_if_iuse opcache; then
|
||||
elog "Adding opcache to $PHP_EXT_INI_DIR"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> "${D}/${PHP_EXT_INI_DIR}"/opcache.ini
|
||||
dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
|
||||
fi
|
||||
|
||||
# SAPI-specific handling
|
||||
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
|
||||
einfo "Installing FPM CGI config file php-fpm.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
|
||||
|
||||
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
|
||||
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
|
||||
fi
|
||||
|
||||
# Install PHP ini files into /usr/share/php
|
||||
|
||||
dodoc php.ini-development
|
||||
dodoc php.ini-production
|
||||
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
|
||||
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
|
||||
# there is no easy way to circumvent that, all php calls during
|
||||
# install use -n, so no php.ini file will be used.
|
||||
# As such, this is the easiest way to get around
|
||||
addpredict /session_mm_cli250.sem
|
||||
addpredict /session_mm_cli0.sem
|
||||
|
||||
# Change PHP branding
|
||||
# Get the alpha/beta/rc version
|
||||
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
|
||||
-i configure.in || die "Unable to change PHP branding"
|
||||
|
||||
# Patch PHP to show Gentoo as the server platform
|
||||
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
|
||||
-i configure.in || die "Failed to fix server platform name"
|
||||
|
||||
# Patch PHP to support heimdal instead of mit-krb5
|
||||
if has_version "app-crypt/heimdal" ; then
|
||||
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal libname"
|
||||
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal crypt library reference"
|
||||
fi
|
||||
|
||||
#Add user patches #357637
|
||||
epatch_user
|
||||
|
||||
#force rebuilding aclocal.m4
|
||||
rm aclocal.m4
|
||||
eautoreconf
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# http://bugs.php.net/bug.php?id=48795, bug #343481
|
||||
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# This is a global variable and should be in caps. It isn't because the
|
||||
# phpconfutils eclass relies on exactly this name...
|
||||
# for --with-libdir see bug #327025
|
||||
my_conf="
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}"/man
|
||||
--infodir="${PHP_DESTDIR}"/info
|
||||
--libdir="${PHP_DESTDIR}"/lib
|
||||
--with-libdir=$(get_libdir)
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)"
|
||||
|
||||
# extension USE flag shared
|
||||
my_conf+="
|
||||
$(use_enable bcmath bcmath )
|
||||
$(use_with bzip2 bz2 "${EPREFIX}"/usr)
|
||||
$(use_enable calendar calendar )
|
||||
$(use_enable ctype ctype )
|
||||
$(use_with curl curl "${EPREFIX}"/usr)
|
||||
$(use_enable xml dom )
|
||||
$(use_with enchant enchant "${EPREFIX}"/usr)
|
||||
$(use_enable exif exif )
|
||||
$(use_enable fileinfo fileinfo )
|
||||
$(use_enable filter filter )
|
||||
$(use_enable ftp ftp )
|
||||
$(use_with nls gettext "${EPREFIX}"/usr)
|
||||
$(use_with gmp gmp "${EPREFIX}"/usr)
|
||||
$(use_enable hash hash )
|
||||
$(use_with mhash mhash "${EPREFIX}"/usr)
|
||||
$(use_with iconv iconv $(use elibc_glibc || use elibc_musl || echo "${EPREFIX}"/usr))
|
||||
$(use_enable intl intl )
|
||||
$(use_enable ipv6 ipv6 )
|
||||
$(use_enable json json )
|
||||
$(use_with kerberos kerberos "${EPREFIX}"/usr)
|
||||
$(use_enable xml libxml )
|
||||
$(use_with xml libxml-dir "${EPREFIX}"/usr)
|
||||
$(use_enable unicode mbstring )
|
||||
$(use_with crypt mcrypt "${EPREFIX}"/usr)
|
||||
$(use_with unicode onig "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl-dir "${EPREFIX}"/usr)
|
||||
$(use_enable pcntl pcntl )
|
||||
$(use_enable phar phar )
|
||||
$(use_enable pdo pdo )
|
||||
$(use_enable opcache opcache )
|
||||
$(use_with postgres pgsql "${EPREFIX}"/usr)
|
||||
$(use_enable posix posix )
|
||||
$(use_with spell pspell "${EPREFIX}"/usr)
|
||||
$(use_with recode recode "${EPREFIX}"/usr)
|
||||
$(use_enable simplexml simplexml )
|
||||
$(use_enable sharedmem shmop )
|
||||
$(use_with snmp snmp "${EPREFIX}"/usr)
|
||||
$(use_enable soap soap )
|
||||
$(use_enable sockets sockets )
|
||||
$(use_with sqlite sqlite3 "${EPREFIX}"/usr)
|
||||
$(use_enable sysvipc sysvmsg )
|
||||
$(use_enable sysvipc sysvsem )
|
||||
$(use_enable sysvipc sysvshm )
|
||||
$(use_with systemd fpm-systemd)
|
||||
$(use_with tidy tidy "${EPREFIX}"/usr)
|
||||
$(use_enable tokenizer tokenizer )
|
||||
$(use_enable wddx wddx )
|
||||
$(use_enable xml xml )
|
||||
$(use_enable xmlreader xmlreader )
|
||||
$(use_enable xmlwriter xmlwriter )
|
||||
$(use_with xmlrpc xmlrpc)
|
||||
$(use_with xslt xsl "${EPREFIX}"/usr)
|
||||
$(use_enable zip zip )
|
||||
$(use_with zlib zlib "${EPREFIX}"/usr)
|
||||
$(use_enable debug debug )"
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
my_conf="${my_conf} --enable-dba${shared}"
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
my_conf+="
|
||||
$(use_with cdb cdb)
|
||||
$(use_with berkdb db4 ${EPREFIX}/usr)
|
||||
$(use_enable flatfile flatfile )
|
||||
$(use_with gdbm gdbm ${EPREFIX}/usr)
|
||||
$(use_enable inifile inifile )
|
||||
$(use_with qdbm qdbm ${EPREFIX}/usr)"
|
||||
|
||||
# Support for the GD graphics library
|
||||
my_conf+="
|
||||
$(use_with truetype freetype-dir ${EPREFIX}/usr)
|
||||
$(use_enable cjk gd-jis-conv )
|
||||
$(use_with gd jpeg-dir ${EPREFIX}/usr)
|
||||
$(use_with gd png-dir ${EPREFIX}/usr)
|
||||
$(use_with xpm xpm-dir ${EPREFIX}/usr)
|
||||
$(use_with vpx vpx-dir ${EPREFIX}/usr)"
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
my_conf+="
|
||||
$(use_with gd gd)"
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
my_conf+="
|
||||
$(use_with imap imap ${EPREFIX}/usr)
|
||||
$(use_with ssl imap-ssl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
|
||||
if use firebird ; then
|
||||
my_conf+="
|
||||
$(use_with firebird interbase ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
my_conf+="
|
||||
$(use_with ldap ldap ${EPREFIX}/usr)
|
||||
$(use_with ldap-sasl ldap-sasl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
local mysqllib="mysqlnd"
|
||||
local mysqlilib="mysqlnd"
|
||||
|
||||
my_conf+=" $(use_with mysqli mysqli $mysqlilib)"
|
||||
|
||||
local mysqlsock=" $(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
|
||||
if use mysql ; then
|
||||
my_conf+="${mysqlsock}"
|
||||
elif use mysqli ; then
|
||||
my_conf+="${mysqlsock}"
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc ; then
|
||||
my_conf+="
|
||||
$(use_with odbc unixODBC ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
if use iodbc ; then
|
||||
my_conf+="
|
||||
$(use_with iodbc iodbc ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client oci8)"
|
||||
fi
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
my_conf+="
|
||||
$(use_with mysql pdo-mysql ${mysqllib})
|
||||
$(use_with postgres pdo-pgsql )
|
||||
$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
|
||||
$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client pdo-oci)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
my_conf+="
|
||||
$(use_with readline readline ${EPREFIX}/usr)
|
||||
$(use_with libedit libedit ${EPREFIX}/usr)"
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
my_conf+="
|
||||
$(use_with sharedmem mm ${EPREFIX}/usr)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_enable session session )"
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
my_conf="${my_conf} --with-pic"
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
my_conf="${my_conf} --with-pcre-regex=${EPREFIX}/usr --with-pcre-dir=${EPREFIX}/usr"
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
my_conf="${my_conf} ${EXTRA_ECONF:-}"
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
mkdir -p "${WORKDIR}/sapis-build"
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
|
||||
sapi_conf="${my_conf} --with-config-file-path=${PHP_INI_DIR}
|
||||
--with-config-file-scan-dir=${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --enable-${sapi}"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --disable-${sapi}"
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --with-apxs2=${EPREFIX}/usr/sbin/apxs"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --without-apxs2"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
econf ${sapi_conf}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake || die "emake failed"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi"
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs \
|
||||
|| die "emake install failed"
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir /usr/share/php${PHP_MV}
|
||||
|
||||
local sapi="", file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}"
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp${PHP_MV}$(get_libname)" "libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||
into "${dest}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}" || die "Unable to install ${sapi} sapi"
|
||||
else
|
||||
dobin "${source}" || die "Unable to install ${sapi} sapi"
|
||||
local name="$(basename ${source})"
|
||||
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Installing opcache module
|
||||
if use_if_iuse opcache ; then
|
||||
dolib.so "modules/opcache$(get_libname)" || die "Unable to install opcache module"
|
||||
fi
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" \
|
||||
"20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
sed -e "s|php5|php${SLOT}|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config"
|
||||
|
||||
if use fpm ; then
|
||||
if use systemd; then
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at.service" "php-fpm@${SLOT}.service"
|
||||
else
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" "php-fpm@${SLOT}.service"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d "session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d "session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
APACHE2_MOD_DEFINE="PHP5"
|
||||
APACHE2_MOD_CONF="70_mod_php5" # actually provided by app-eselect/eselect-php
|
||||
apache-module_pkg_postinst
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT}
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order"
|
||||
elog "to compile extensions for the ${SLOT} ABI"
|
||||
elog
|
||||
if ! use readline && use cli ; then
|
||||
ewarn "Note that in order to use php interactivly, you need to enable"
|
||||
ewarn "the readline USE flag or php -a will hang"
|
||||
fi
|
||||
elog
|
||||
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
|
||||
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
|
||||
elog "'production' or 'development' in ${EPREFIX}/etc/make.conf"
|
||||
elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
elog
|
||||
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
|
||||
elog "https://www.gentoo.org/proj/en/php/php-upgrading.xml"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
eselect php cleanup
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST Test-MockTime-0.12.tar.gz 4431 SHA256 496ecc96a9d22abfa367404b22088364f10965c2879b65605f0e3286354e9780 SHA512 f3f66fb7c0cd5a83218d92cd706c4f6eeaf7d93b89e3ba7dface799facf47070c727bf7da5805c9aba52fefb30b1290cc10957694386600ad7575f3cc33c86d3 WHIRLPOOL 23ae2334a46f437997065a9c3047047feed8ff6f81a95ba08ee31f21ae720a69e81de4835df90230585ee1585043d8add67b805bea0214b79b3a80261ffb9159
|
||||
DIST Test-MockTime-0.13.tar.gz 4892 SHA256 7c3b4c33d59844b7e9d67408d9f4bf7def76aacb2939f1b9b56aaa319eac387b SHA512 0918a1c75c14eca44e6d44674973bd93d01b536dfebae666d4aae6ccf280ca91c7d8347319573a86d00555c9efd9cf38bbab41512bd79122666fc10b1b0d121b WHIRLPOOL 0bae0e20da1323cf7c2b38637595738f5fb92c0a6665b86bfb99ee65aa9d131fd002ce54594b831f8739d2a7f60ea65561c92a38c66c24d2c995910f2374e069
|
||||
DIST Test-MockTime-0.15.tar.gz 5658 SHA256 88210201de97aab66cb100edc2be3368c0062a9de635f4f8ec258a2267edcc48 SHA512 8a91eb39e7ff68d6ac1cbd149ee8acdbdc2bf6c99bcd71decc38fb2c71f5ed6bdb32336c4e07a922e7d8dd1b2d084306a232e008a0a8587720fff60a3ba325d0 WHIRLPOOL 1017a8819853948d21d526a305dcaa00ca14a82672294a57777e8ebbb24dd1c59974da9a4dbe92823d12ec28aa64688ea27b654c13bea10fe0aff3f7c52c0f1b
|
||||
|
@ -1 +1,2 @@
|
||||
DIST Test-Pod-1.48.tar.gz 11291 SHA256 2478cea781d3740ff4ce1432770707248fb3145946244a6d96e459bf14e4bcc2 SHA512 daca0f72cf8363a2b79cb16116238727ee07d1f43eb78a58edaaf2543f67f5aa3fec4feff77fe2b02e91c49ce02ffd426f45943fb570ee52dac8e3d8f95dbf14 WHIRLPOOL 5f58f9015ea60c049cf224b29beac9f67664c06bfe7837fbb496cba2ff70a882a685089d37472f1608503a4b26cf3c79b7eedb56424c39c70320b882833f9d75
|
||||
DIST Test-Pod-1.51.tar.gz 12159 SHA256 c1a1d3cedf4a579e3aad89c36f9878a8542b6656dbe71f1581420f49582d7efb SHA512 bf4e8b2a71a79a5edec86991c7cbbcc929fa4f2eb403b411cd678fbdf89fe30c198e00a29db80ca9c98fe6655167c0a77e7f166f073a18711db3b1f3e5cd3c15 WHIRLPOOL 6e8cc8bb3dea1e848888fe3c18268a576b8da6f272954d83b04668eae608132e2be3472e2de38d04836b27f1504849c2c5155fb3fbbab0f7fab99d6b2ae64f69
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=ETHER
|
||||
MODULE_VERSION=1.51
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Check for POD errors in files"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/perl-Pod-Simple-3.50.0
|
||||
>=virtual/perl-Test-Simple-0.620.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-File-Spec
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do parallel"
|
@ -1,2 +1,3 @@
|
||||
DIST Test-SharedFork-0.21.tar.gz 28865 SHA256 c118ca297cf9c877c625f12d2a2f916f6f425c203755f59712d63213e7811b21 SHA512 8259c0b99e90bf7b68c1c4cc32a491540b7a6b7a27f91defa2ab11c1263edf6e9f354d5adc4abf435246f15e1b03dab4d97a01a919dfd8db564c9baf19e3017e WHIRLPOOL 36d39809d3d4c88c341bc19386e3e6c900dc68afbace0c6fcbf4ecf1555bcb8620adc8a504e29eaf480def477c0ca80f60adddbe484166021f6f26511ef3c859
|
||||
DIST Test-SharedFork-0.29.tar.gz 15449 SHA256 63af7788cc35b9b7e6fa37c61220ca66abd6364d8bb90c20038e3d8241988a6e SHA512 ef392d615bc0be2fb04f27f0f1dcbaf8041a52242131c62d00357228b532087a50beae44bdb3d94f883a009741847641fed87665198b624139c762dcba5488ec WHIRLPOOL 9ebc04cde5459d973199c3511025135b398a0f19bd61d6f97cc575eac51ead451b1135de3233ed51c00eb820ad5df02a5296415f4e6e3b82402e8c84fecd2473
|
||||
DIST Test-SharedFork-0.33.tar.gz 15404 SHA256 16238d4343083e1466d52e4d8876b8bd2d6fbb26136ba5e0e9d62babebac5c8a SHA512 3218023d48b05c31bfba8d9629f8acb1379c91efa7713187741fd9851c8c645ec62143025d7c0038e5d52a3fbd21cac6030e15c816745de5461a40529ceb4bf3 WHIRLPOOL 21b983505ca70b093b9c33359104817c657fb252dd40737983514fa5c9f1e6973ea796e9e692b28e281977f908d440af11b0715ee69158f7d5fcbf6d8b850148
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=EXODIST
|
||||
MODULE_VERSION=0.33
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="fork test"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-File-Temp
|
||||
>=virtual/perl-Test-Simple-0.880.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-Test-Harness
|
||||
virtual/perl-Test-Simple
|
||||
dev-perl/Test-Requires
|
||||
virtual/perl-Time-HiRes
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do parallel"
|
@ -1 +1,2 @@
|
||||
DIST Test-Spec-0.47.tar.gz 33344 SHA256 e425c0b9efa3c7e21496d31a607d072a63e31988c3d298a8c1fd7d145cc0681e SHA512 11e19765023ce504128f347c13eabf72c05fc803b061c430cc8507a7e270672282753e3874a35e02f1b09331c6befe0b110ca4eb1fdc99f5700505bcf2907ec0 WHIRLPOOL 43c3a03a630ad7799bc9af3ce6313ce5389904592b76472912d249c75b743a92f9505e3e9454c1a988f1af09c423c607a6a60f4b0ec6cad8d4ec52bb0a75f001
|
||||
DIST Test-Spec-0.51.tar.gz 36296 SHA256 714d99e6f0956d69bacc1d8e15bbd2c3fa015f6a5424c1d30ad9112c06fb5758 SHA512 fc2ff26ad42824cf3aa1c337c9809cfb873e352a6272fcfe9e57d54ac95458e8a4f408e39588e6c6babc4defd21b6160f69fd7eb71304788ef7f431dec884dae WHIRLPOOL b021820972e4837dd9273798950d153d279d0253ab237711792570d4a1dfd666f4e69f13361b39c119cc2510926ab594b2af5d0a529b584ad5375241d228615a
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
MODULE_AUTHOR=ANDYJONES
|
||||
MODULE_VERSION=0.51
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION='Write tests in a declarative specification style'
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
virtual/perl-Exporter
|
||||
virtual/perl-Scalar-List-Utils
|
||||
>=dev-perl/Package-Stash-0.230.0
|
||||
virtual/perl-Test-Harness
|
||||
>=dev-perl/Test-Deep-0.103.0
|
||||
>=virtual/perl-Test-Simple-0.880.0
|
||||
dev-perl/Test-Trap
|
||||
dev-perl/Tie-IxHash
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
||||
|
||||
SRC_TEST="do parallel"
|
@ -1 +1,2 @@
|
||||
DIST Test-UseAllModules-0.14.tar.gz 4844 SHA256 da2652b1f76e312a1921ae0a523cbbc2ffa98c80000097fd170e47d89cdad8a3 SHA512 41e8b9fb6a0926c504d372fc8c7965956af2da5a6affea9b27b06e102d661c8d64c3eaeb4dd5bbc384767dc6dfc54cb47c31badd7fd69b830dc7eb83420636b6 WHIRLPOOL a8727d3385b57269aad2256f12b6726e481641b5ec6f6ef99ac430a3fe4d220e340d8c37f3b3837db71968ac2acd4e83b09dea7ed638a56fe2a18c89087f044a
|
||||
DIST Test-UseAllModules-0.17.tar.gz 5014 SHA256 a71f2fe8b96ab8bfc2760aa1d3135ea049a5b20dcb105457b769a1195c7a2509 SHA512 6aa768dded4b3ebe604bc616a8a1b09845c0dbd91fcdba2b10e787e5ba3604cb18d9dfcfb9f5e4fef0d3d5d44c8722d99394843e4a14e1bee4dbb1463ef4bcd8 WHIRLPOOL 992ce7cbb79338b328aaaa38e2ef442fc0c78adf27979e3eab0603e720c55056fefadaa483e9a318acf31ec7d88629c6b0bafc9840ce602e519975b2bdcb9a2a
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
MODULE_AUTHOR=ISHIGAKI
|
||||
MODULE_VERSION=0.17
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION='do use_ok() for all the MANIFESTed modules'
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Exporter
|
||||
virtual/perl-ExtUtils-Manifest
|
||||
>=virtual/perl-Test-Simple-0.600.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ros</herd>
|
||||
<herd>ros</herd>
|
||||
<upstream>
|
||||
<remote-id type="github">ros-infrastructure/catkin_pkg</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,62 +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 python3_{3,4} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic toolchain-funcs
|
||||
|
||||
MY_PN="Cython"
|
||||
MY_P="${MY_PN}-${PV/_/}"
|
||||
|
||||
DESCRIPTION="A Python to C compiler"
|
||||
HOMEPAGE="http://www.cython.org/ https://pypi.python.org/pypi/Cython"
|
||||
SRC_URI="http://www.cython.org/release/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND=""
|
||||
# On testing, setuptools invokes an error in running the testsuite cited in a number of recent bugs
|
||||
# spanning several packages. This bug has been fixed in the recent release of version 9.1
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-9.1[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/numpy[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV%_*}"
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS="${CFLAGS}"
|
||||
local CXXFLAGS="${CXXFLAGS}"
|
||||
append-flags -fno-strict-aliasing
|
||||
fi
|
||||
|
||||
# Python gets confused when it is in sys.path before build.
|
||||
local PYTHONPATH=
|
||||
export PYTHONPATH
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && unset XDG_CONFIG_HOME && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
tc-export CC
|
||||
"${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt )
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
use examples && local EXAMPLES=( Demos/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,62 +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 python3_{3,4} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic toolchain-funcs
|
||||
|
||||
MY_PN="Cython"
|
||||
MY_P="${MY_PN}-${PV/_/}"
|
||||
|
||||
DESCRIPTION="A Python to C compiler"
|
||||
HOMEPAGE="http://www.cython.org/ https://pypi.python.org/pypi/Cython"
|
||||
SRC_URI="http://www.cython.org/release/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND=""
|
||||
# On testing, setuptools invokes an error in running the testsuite cited in a number of recent bugs
|
||||
# spanning several packages. This bug has been fixed in the recent release of version 9.1
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-9.1[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/numpy[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV%_*}"
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS="${CFLAGS}"
|
||||
local CXXFLAGS="${CXXFLAGS}"
|
||||
append-flags -fno-strict-aliasing
|
||||
fi
|
||||
|
||||
# Python gets confused when it is in sys.path before build.
|
||||
local PYTHONPATH=
|
||||
export PYTHONPATH
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && unset XDG_CONFIG_HOME && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
tc-export CC
|
||||
"${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt )
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
use examples && local EXAMPLES=( Demos/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,62 +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 python3_{3,4} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic toolchain-funcs
|
||||
|
||||
MY_PN="Cython"
|
||||
MY_P="${MY_PN}-${PV/_/}"
|
||||
|
||||
DESCRIPTION="A Python to C compiler"
|
||||
HOMEPAGE="http://www.cython.org/ https://pypi.python.org/pypi/Cython"
|
||||
SRC_URI="http://www.cython.org/release/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND=""
|
||||
# On testing, setuptools invokes an error in running the testsuite cited in a number of recent bugs
|
||||
# spanning several packages. This bug has been fixed in the recent release of version 9.1
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-9.1[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/numpy[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV%_*}"
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS="${CFLAGS}"
|
||||
local CXXFLAGS="${CXXFLAGS}"
|
||||
append-flags -fno-strict-aliasing
|
||||
fi
|
||||
|
||||
# Python gets confused when it is in sys.path before build.
|
||||
local PYTHONPATH=
|
||||
export PYTHONPATH
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && unset XDG_CONFIG_HOME && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
tc-export CC
|
||||
"${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt )
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
use examples && local EXAMPLES=( Demos/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
Upstream patch to fix
|
||||
"Maliciously crafted text files in IPython/Jupyter editor".
|
||||
|
||||
http://seclists.org/oss-sec/2015/q3/558
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=560708
|
||||
|
||||
|
||||
From 2b835ca6daec2592d9127dc85bf2cdcfb718edf2 Mon Sep 17 00:00:00 2001
|
||||
From: Min RK <benjaminrk@gmail.com>
|
||||
Date: Mon, 20 Jul 2015 12:11:23 -0700
|
||||
Subject: [PATCH 4/4] Don't redirect from /edit/ to /files/
|
||||
|
||||
show failure to decode, instead
|
||||
---
|
||||
IPython/html/static/edit/js/editor.js | 15 +++------------
|
||||
1 file changed, 3 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/IPython/html/static/edit/js/editor.js b/IPython/html/static/edit/js/editor.js
|
||||
index dd12ea4..75d65e0 100644
|
||||
--- a/IPython/html/static/edit/js/editor.js
|
||||
+++ b/IPython/html/static/edit/js/editor.js
|
||||
@@ -90,19 +90,10 @@ function($,
|
||||
}).catch(
|
||||
function(error) {
|
||||
that.events.trigger("file_load_failed.Editor", error);
|
||||
- if (((error.xhr||{}).responseJSON||{}).reason === 'bad format') {
|
||||
- window.location = utils.url_path_join(
|
||||
- that.base_url,
|
||||
- 'files',
|
||||
- that.file_path
|
||||
- );
|
||||
- } else {
|
||||
- console.warn('Error while loading: the error was:')
|
||||
- console.warn(error)
|
||||
- }
|
||||
+ console.warn('Error loading: ', error);
|
||||
cm.setValue("Error! " + error.message +
|
||||
"\nSaving disabled.\nSee Console for more details.");
|
||||
- cm.setOption('readOnly','nocursor')
|
||||
+ cm.setOption('readOnly','nocursor');
|
||||
that.save_enabled = false;
|
||||
}
|
||||
);
|
||||
@@ -186,7 +177,7 @@ function($,
|
||||
Editor.prototype._clean_state = function(){
|
||||
var clean = this.codemirror.isClean(this.generation);
|
||||
if (clean === this.clean){
|
||||
- return
|
||||
+ return;
|
||||
} else {
|
||||
this.clean = clean;
|
||||
}
|
||||
--
|
||||
2.4.6
|
||||
|
@ -0,0 +1,38 @@
|
||||
Upstream patch to fix
|
||||
"Maliciously crafted text files in IPython/Jupyter editor".
|
||||
|
||||
http://seclists.org/oss-sec/2015/q3/558
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=560708
|
||||
|
||||
|
||||
From df24d9153b86863ccfa98bf509704d9304143ce1 Mon Sep 17 00:00:00 2001
|
||||
From: Min RK <benjaminrk@gmail.com>
|
||||
Date: Mon, 20 Jul 2015 12:11:04 -0700
|
||||
Subject: [PATCH 3/4] only redirect to editor for text documents
|
||||
|
||||
treat unidentified mime-types as text
|
||||
---
|
||||
IPython/html/static/tree/js/notebooklist.js | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
diff --git a/IPython/html/static/tree/js/notebooklist.js b/IPython/html/static/tree/js/notebooklist.js
|
||||
index 0065143..d8c7b2a 100644
|
||||
--- a/IPython/html/static/tree/js/notebooklist.js
|
||||
+++ b/IPython/html/static/tree/js/notebooklist.js
|
||||
@@ -532,6 +532,13 @@ define([
|
||||
icon = 'running_' + icon;
|
||||
}
|
||||
var uri_prefix = NotebookList.uri_prefixes[model.type];
|
||||
+ if (model.type === 'file' &&
|
||||
+ model.mimetype && model.mimetype.substr(0,5) !== 'text/'
|
||||
+ ) {
|
||||
+ // send text/unidentified files to editor, others go to raw viewer
|
||||
+ uri_prefix = 'files';
|
||||
+ }
|
||||
+
|
||||
item.find(".item_icon").addClass(icon).addClass('icon-fixed-width');
|
||||
var link = item.find("a.item_link")
|
||||
.attr('href',
|
||||
--
|
||||
2.4.6
|
||||
|
@ -0,0 +1,35 @@
|
||||
Upstream patch to fix
|
||||
"Maliciously crafted text files in IPython/Jupyter editor".
|
||||
|
||||
http://seclists.org/oss-sec/2015/q3/558
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=560708
|
||||
|
||||
|
||||
From d729ce7c2063c0de746a7c2ea39697040d0af5bf Mon Sep 17 00:00:00 2001
|
||||
From: Min RK <benjaminrk@gmail.com>
|
||||
Date: Mon, 20 Jul 2015 12:10:10 -0700
|
||||
Subject: [PATCH 1/4] set mime-type on /files/
|
||||
|
||||
---
|
||||
IPython/html/files/handlers.py | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/IPython/html/files/handlers.py b/IPython/html/files/handlers.py
|
||||
index 7727d08..b358d94 100644
|
||||
--- a/IPython/html/files/handlers.py
|
||||
+++ b/IPython/html/files/handlers.py
|
||||
@@ -40,6 +40,11 @@ def get(self, path):
|
||||
cur_mime = mimetypes.guess_type(name)[0]
|
||||
if cur_mime is not None:
|
||||
self.set_header('Content-Type', cur_mime)
|
||||
+ else:
|
||||
+ if model['format'] == 'base64':
|
||||
+ self.set_header('Content-Type', 'application/octet-stream')
|
||||
+ else:
|
||||
+ self.set_header('Content-Type', 'text/plain')
|
||||
|
||||
if model['format'] == 'base64':
|
||||
b64_bytes = model['content'].encode('ascii')
|
||||
--
|
||||
2.4.6
|
||||
|
@ -0,0 +1,64 @@
|
||||
Upstream patch to fix
|
||||
"Maliciously crafted text files in IPython/Jupyter editor".
|
||||
|
||||
http://seclists.org/oss-sec/2015/q3/558
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=560708
|
||||
|
||||
|
||||
From 50a1366a8fcfb94671c87199515ebc922882f447 Mon Sep 17 00:00:00 2001
|
||||
From: Min RK <benjaminrk@gmail.com>
|
||||
Date: Mon, 20 Jul 2015 12:10:25 -0700
|
||||
Subject: [PATCH 2/4] set model mimetype, even when content=False
|
||||
|
||||
---
|
||||
IPython/html/services/contents/filemanager.py | 12 +++++++-----
|
||||
IPython/html/services/contents/handlers.py | 3 ---
|
||||
2 files changed, 7 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/IPython/html/services/contents/filemanager.py b/IPython/html/services/contents/filemanager.py
|
||||
index 01ce07b..c869c75 100644
|
||||
--- a/IPython/html/services/contents/filemanager.py
|
||||
+++ b/IPython/html/services/contents/filemanager.py
|
||||
@@ -277,18 +277,20 @@ def _file_model(self, path, content=True, format=None):
|
||||
model['type'] = 'file'
|
||||
|
||||
os_path = self._get_os_path(path)
|
||||
+ model['mimetype'] = mimetypes.guess_type(os_path)[0]
|
||||
|
||||
if content:
|
||||
content, format = self._read_file(os_path, format)
|
||||
- default_mime = {
|
||||
- 'text': 'text/plain',
|
||||
- 'base64': 'application/octet-stream'
|
||||
- }[format]
|
||||
+ if model['mimetype'] is None:
|
||||
+ default_mime = {
|
||||
+ 'text': 'text/plain',
|
||||
+ 'base64': 'application/octet-stream'
|
||||
+ }[format]
|
||||
+ model['mimetype'] = default_mime
|
||||
|
||||
model.update(
|
||||
content=content,
|
||||
format=format,
|
||||
- mimetype=mimetypes.guess_type(os_path)[0] or default_mime,
|
||||
)
|
||||
|
||||
return model
|
||||
diff --git a/IPython/html/services/contents/handlers.py b/IPython/html/services/contents/handlers.py
|
||||
index 5cd849e..d77e70e 100644
|
||||
--- a/IPython/html/services/contents/handlers.py
|
||||
+++ b/IPython/html/services/contents/handlers.py
|
||||
@@ -52,9 +52,6 @@ def validate_model(model, expect_content):
|
||||
)
|
||||
|
||||
maybe_none_keys = ['content', 'format']
|
||||
- if model['type'] == 'file':
|
||||
- # mimetype should be populated only for file models
|
||||
- maybe_none_keys.append('mimetype')
|
||||
if expect_content:
|
||||
errors = [key for key in maybe_none_keys if model[key] is None]
|
||||
if errors:
|
||||
--
|
||||
2.4.6
|
||||
|
@ -0,0 +1,155 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||
PYTHON_REQ_USE='readline,sqlite'
|
||||
|
||||
inherit distutils-r1 eutils virtualx
|
||||
|
||||
DESCRIPTION="Advanced interactive shell for Python"
|
||||
HOMEPAGE="http://ipython.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~mips ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc examples matplotlib mongodb notebook nbconvert octave qt4 +smp test wxwidgets"
|
||||
|
||||
REQUIRED_USE="
|
||||
test? ( doc matplotlib mongodb notebook nbconvert octave qt4 wxwidgets )
|
||||
doc? ( mongodb )"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/decorator[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/simplegeneric[${PYTHON_USEDEP}]
|
||||
matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
|
||||
mongodb? ( <dev-python/pymongo-3[${PYTHON_USEDEP}] )
|
||||
octave? ( dev-python/oct2py[${PYTHON_USEDEP}] )
|
||||
smp? ( >=dev-python/pyzmq-13[${PYTHON_USEDEP}] )
|
||||
wxwidgets? ( $(python_gen_cond_dep 'dev-python/wxpython:*[${PYTHON_USEDEP}]' python2_7) )"
|
||||
RDEPEND="${CDEPEND}
|
||||
notebook? (
|
||||
dev-libs/mathjax
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mistune-0.5[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyzmq-13[${PYTHON_USEDEP}]
|
||||
>=dev-python/terminado-0.3.3[${PYTHON_USEDEP}]
|
||||
>=www-servers/tornado-4.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
nbconvert? (
|
||||
|| ( >=net-libs/nodejs-0.9.12 >=app-text/pandoc-1.12.1 )
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mistune-0.5[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
)
|
||||
qt4? (
|
||||
|| (
|
||||
dev-python/PyQt4[${PYTHON_USEDEP},svg]
|
||||
dev-python/PyQt5[${PYTHON_USEDEP},svg]
|
||||
dev-python/pyside[${PYTHON_USEDEP},svg]
|
||||
)
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyzmq-13[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
app-text/dvipng
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
|
||||
>=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
>=www-servers/tornado-4.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/fabric[${PYTHON_USEDEP}]' python2_7)
|
||||
>=dev-python/jsonschema-2.0[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
|
||||
dev-python/numpydoc[${PYTHON_USEDEP}]
|
||||
dev-python/rpy[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1[${PYTHON_USEDEP}]
|
||||
>=www-servers/tornado-4.0[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/2.1.0-substitute-files.patch
|
||||
"${FILESDIR}/${P}"-set-mime-type-on-files.patch
|
||||
"${FILESDIR}/${P}"-set-model-mimetype-even-when-content-False.patch
|
||||
"${FILESDIR}/${P}"-only-redirect-to-editor-for-text-documents.patch
|
||||
"${FILESDIR}/${P}"-Don-t-redirect-from-edit-to-files.patch
|
||||
)
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
# Remove out of date insource files
|
||||
rm IPython/extensions/rmagic.py || die
|
||||
|
||||
# Prevent un-needed download during build
|
||||
if use doc; then
|
||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html_noapi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
# https://github.com/ipython/ipython/issues/8639
|
||||
# Failure of some modules only in python3.4
|
||||
local fail
|
||||
run_tests() {
|
||||
pushd ${TEST_DIR} > /dev/null
|
||||
"${PYTHON}" -m IPython.testing.iptestcontroller --all || fail=1
|
||||
popd > /dev/null
|
||||
}
|
||||
VIRTUALX_COMMAND=run_tests virtualmake
|
||||
[[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
use notebook && \
|
||||
ln -sf "${EPREFIX}/usr/share/mathjax" "${D}$(python_get_sitedir)/IPython/html/static/mathjax"
|
||||
|
||||
# Create ipythonX.Y symlinks.
|
||||
# TODO:
|
||||
# 1. do we want them for pypy? No. pypy has no numpy
|
||||
# 2. handle it in the eclass instead (use _python_ln_rel).
|
||||
# With pypy not an option the dosym becomes unconditional
|
||||
dosym ../lib/python-exec/${EPYTHON}/ipython \
|
||||
/usr/bin/ipython${EPYTHON#python}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "sympyprinting" dev-python/sympy
|
||||
optfeature "cythonmagic" dev-python/cython
|
||||
if use nbconvert; then
|
||||
if ! has_version app-text/pandoc ; then
|
||||
einfo "Node.js will be used to convert notebooks to other formats"
|
||||
einfo "like HTML. Support for that is still experimental. If you"
|
||||
einfo "encounter any problems, please use app-text/pandoc instead."
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ros</herd>
|
||||
<herd>ros</herd>
|
||||
<upstream>
|
||||
<remote-id type="github">orocos/orocos_kinematics_dynamics</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ros</herd>
|
||||
<herd>ros</herd>
|
||||
<upstream>
|
||||
<remote-id type="github">ros-infrastructure/rosdistro</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ros</herd>
|
||||
<herd>ros</herd>
|
||||
<upstream>
|
||||
<remote-id type="github">ros-infrastructure/rospkg</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST setuptools_scm-1.5.4.tar.gz 15647 SHA256 756fb77b82c5e22818683b838c978537f4894f468ea074f0e8a99d8aaf689022 SHA512 c1e7c6b510761a3dcf3ebfed4988db924f9203c9f919891c94623f07935b101690ff2671ff3e153906a89f05d4002154e671196ba711597d4e3e7c8d0602289e WHIRLPOOL a02209c4c3c8ef6de63463ec163c018906de88abc5e1786b9506c4fc71dfdbe4b576cce94d19d653f1eb6f21f86292a645823b009107a07801056fb1f90a79b0
|
||||
DIST setuptools_scm-1.5.5.tar.gz 17442 SHA256 63f56843b9cc18743c843e43d54fd78ab091cb82d01f5acb64655743e8002134 SHA512 39516db6164dc0d6179922fd79b012950c0684c8f6d4dbf71c2fcae661d1a54ef745c48c8d521ed3906c4f74d91b79fe4a94b5e27ab6a84701964494057c2494 WHIRLPOOL 929e5c38aaef9c247a451382842bf16faf44528858981af7c29133d5b3f4693414b85d076ade33c033dfbadb5803bf1b95fa5d8fa942725af2c3b01534d72a72
|
||||
DIST setuptools_scm-1.7.0.tar.gz 18754 SHA256 f2f69c782b4f549003edf5b75b356b37f40a4e880b615996c5d9c117913d6f9c SHA512 58fb39dff1fe7731d8f8fb9a383d4df41ad9271590c13e64d75bf9e5d390f553414a47b3223747e2c6d9407af44eff84365bce162251f0c0324bfb216f44c1a8 WHIRLPOOL 3555650b8d40df3b43e61240c0c7c09b46d7fb735c9cc64cf50da7fc3b9c6c66f237b69f1eb7bc66bfc4592daed824f1b25e2db507245a946ea6dafd028ec0fe
|
||||
DIST setuptools_scm-1.8.0.tar.bz2 14491 SHA256 ddbf365e60e5f8e3f86fe117edeee4a7e1dd8ce7a9337951c9c163e7c506e602 SHA512 a109fa3ffc89d3f6e515fa58026cebbd8ba98c1a401c49d5008e0dfc693f0e9e9468823621bd7b055911d3c898394e0ed1e498136cecaaa0be25e6312ec059df WHIRLPOOL ed87332ea7c27f1618c5c0c69b95360d48ec3b7d762d928d4cb097310fc0435c1aac15e53155417c0bdc0b9ba6ae6835e28f35735c10d70c6164d91340b09762
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="package to manage versions by scm tags via setuptools"
|
||||
HOMEPAGE="https://github.com/pypa/setuptools_scm https://pypi.python.org/pypi/setuptools_scm"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
py.test || die "tests failed under ${EPYTHON}"
|
||||
}
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ros</herd>
|
||||
<herd>ros</herd>
|
||||
<upstream>
|
||||
<remote-id type="github">vcstools/vcstools</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.rdoc TODO"
|
||||
RUBY_FAKEGEM_DOCDIR="doc/html"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Highline is a high-level command-line IO library for ruby"
|
||||
HOMEPAGE="https://github.com/JEG2/highline"
|
||||
|
||||
IUSE=""
|
||||
LICENSE="|| ( GPL-2 Ruby )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# fix up gemspec file not to call git
|
||||
sed -i -e '/git ls-files/d' highline.gemspec || die
|
||||
|
||||
# Avoid unneeded dependencies
|
||||
sed -i -e '/\(bundler\|code_statistics\)/ s:^:#:' \
|
||||
-e '/PackageTask/,/end/ s:^:#:' Rakefile || die
|
||||
|
||||
# Avoid tests that require a real console because we can't provide
|
||||
# that when running tests through portage. These should pass when
|
||||
# run in a console. We should probably narrow this down more to the
|
||||
# specific tests.
|
||||
rm test/tc_highline.rb || die
|
||||
|
||||
sed -i -e '/test_question_options/,/^ end/ s:^:#:' \
|
||||
-e '/test_paged_print_infinite_loop_bug/,/^ end/ s:^:#:' \
|
||||
-e '/test_cancel_paging/,/^ end/ s:^:#:' \
|
||||
test/tc_menu.rb || die
|
||||
}
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ros</herd>
|
||||
<herd>ros</herd>
|
||||
<upstream>
|
||||
<remote-id type="github">ros/catkin</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,199 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
CMAKE_REMOVE_MODULES="no"
|
||||
inherit bash-completion-r1 elisp-common toolchain-funcs eutils versionator cmake-utils virtualx
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
DESCRIPTION="Cross platform Make"
|
||||
HOMEPAGE="http://www.cmake.org/"
|
||||
SRC_URI="http://www.cmake.org/files/v$(get_version_component_range 1-2)/${MY_P}.tar.gz
|
||||
http://www.cmake.org/gitweb?p=cmake.git;a=patch;h=b9ec9392da21a3421e48c6961976060d872faffb -> ${PN}-3.3.1-FindPkgConfig_remove_variable_dereference.patch"
|
||||
|
||||
LICENSE="CMake"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc emacs system-jsoncpp ncurses qt4 qt5"
|
||||
|
||||
RDEPEND="
|
||||
>=app-arch/libarchive-3.0.0:=
|
||||
>=dev-libs/expat-2.0.1
|
||||
>=net-misc/curl-7.20.0-r1[ssl]
|
||||
sys-libs/zlib
|
||||
virtual/pkgconfig
|
||||
emacs? ( virtual/emacs )
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
)
|
||||
system-jsoncpp? ( >=dev-libs/jsoncpp-0.6.0_rc2:0= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
CMAKE_BINARY="${S}/Bootstrap.cmk/cmake"
|
||||
|
||||
PATCHES=(
|
||||
# prefix
|
||||
"${FILESDIR}"/${PN}-2.8.10-darwin-bundle.patch
|
||||
"${FILESDIR}"/${PN}-3.0.0-prefix-dirs.patch
|
||||
"${FILESDIR}"/${PN}-3.1.0-darwin-isysroot.patch
|
||||
|
||||
# handle gentoo packaging in find modules
|
||||
"${FILESDIR}"/${PN}-2.8.12.1-FindImageMagick.patch
|
||||
"${FILESDIR}"/${PN}-3.0.0-FindBLAS.patch
|
||||
"${FILESDIR}"/${PN}-3.0.0-FindBoost-python.patch
|
||||
"${FILESDIR}"/${PN}-3.0.2-FindLAPACK.patch
|
||||
|
||||
# respect python eclasses
|
||||
"${FILESDIR}"/${PN}-2.8.10.2-FindPythonLibs.patch
|
||||
"${FILESDIR}"/${PN}-3.1.0-FindPythonInterp.patch
|
||||
|
||||
# upstream fixes (can usually be removed with a version bump)
|
||||
"${DISTDIR}"/${PN}-3.3.1-FindPkgConfig_remove_variable_dereference.patch
|
||||
)
|
||||
|
||||
cmake_src_bootstrap() {
|
||||
# Cleanup args to extract only JOBS.
|
||||
# Because bootstrap does not know anything else.
|
||||
echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' > /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
par_arg=$(echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' | tail -n1 | egrep -o '[[:digit:]]+')
|
||||
par_arg="--parallel=${par_arg}"
|
||||
else
|
||||
par_arg="--parallel=1"
|
||||
fi
|
||||
|
||||
# execinfo.h on Solaris isn't quite what it is on Darwin
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
sed -i -e 's/execinfo\.h/blablabla.h/' Source/kwsys/CMakeLists.txt || die
|
||||
fi
|
||||
|
||||
tc-export CC CXX LD
|
||||
|
||||
# bootstrap script isn't exactly /bin/sh compatible
|
||||
${CONFIG_SHELL:-sh} ./bootstrap \
|
||||
--prefix="${T}/cmakestrap/" \
|
||||
${par_arg} \
|
||||
|| die "Bootstrap failed"
|
||||
}
|
||||
|
||||
cmake_src_test() {
|
||||
# fix OutDir and SelectLibraryConfigurations tests
|
||||
# these are altered thanks to our eclass
|
||||
sed -i -e 's:#IGNORE ::g' \
|
||||
"${S}"/Tests/{OutDir,CMakeOnly/SelectLibraryConfigurations}/CMakeLists.txt \
|
||||
|| die
|
||||
|
||||
pushd "${BUILD_DIR}" > /dev/null
|
||||
|
||||
local ctestargs
|
||||
[[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
|
||||
|
||||
# Excluded tests:
|
||||
# BootstrapTest: we actualy bootstrap it every time so why test it.
|
||||
# BundleUtilities: bundle creation broken
|
||||
# CTest.updatecvs: which fails to commit as root
|
||||
# Fortran: requires fortran
|
||||
# Qt4Deploy, which tries to break sandbox and ignores prefix
|
||||
# TestUpload, which requires network access
|
||||
"${BUILD_DIR}"/bin/ctest ${ctestargs} \
|
||||
-E "(BootstrapTest|BundleUtilities|CTest.UpdateCVS|Fortran|Qt4Deploy|TestUpload)" \
|
||||
|| die "Tests failed"
|
||||
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# disable running of cmake in boostrap command
|
||||
sed -i \
|
||||
-e '/"${cmake_bootstrap_dir}\/cmake"/s/^/#DONOTRUN /' \
|
||||
bootstrap || die "sed failed"
|
||||
|
||||
# Add gcc libs to the default link paths
|
||||
sed -i \
|
||||
-e "s|@GENTOO_PORTAGE_GCCLIBDIR@|${EPREFIX}/usr/${CHOST}/lib/|g" \
|
||||
-e "s|@GENTOO_PORTAGE_EPREFIX@|${EPREFIX}/|g" \
|
||||
Modules/Platform/{UnixPaths,Darwin}.cmake || die "sed failed"
|
||||
|
||||
cmake_src_bootstrap
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_USE_SYSTEM_LIBRARIES=ON
|
||||
-DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=$(usex system-jsoncpp)
|
||||
-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
|
||||
-DCMAKE_DOC_DIR=/share/doc/${PF}
|
||||
-DCMAKE_MAN_DIR=/share/man
|
||||
-DCMAKE_DATA_DIR=/share/${PN}
|
||||
-DSPHINX_MAN=$(usex doc)
|
||||
-DSPHINX_HTML=$(usex doc)
|
||||
$(cmake-utils_use_build ncurses CursesDialog)
|
||||
)
|
||||
|
||||
if use qt4 || use qt5 ; then
|
||||
mycmakeargs+=(
|
||||
-DBUILD_QtDialog=ON
|
||||
$(cmake-utils_use_find_package qt5 Qt5Widgets)
|
||||
)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
use emacs && elisp-compile Auxiliary/cmake-mode.el
|
||||
}
|
||||
|
||||
src_test() {
|
||||
VIRTUALX_COMMAND="cmake_src_test" virtualmake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} Auxiliary/cmake-mode.el Auxiliary/cmake-mode.elc
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins Auxiliary/cmake-syntax.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/indent
|
||||
doins Auxiliary/cmake-indent.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${FILESDIR}/${PN}.vim"
|
||||
|
||||
dobashcomp Auxiliary/bash-completion/{${PN},ctest,cpack}
|
||||
|
||||
rm -rf "${D}"/usr/share/cmake/{completions,editors} || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST jenkins-bin-1.609.3.war 69019876 SHA256 d5017fc3db8ac118dcd28c33e8414bd036ed236d8011276f683a074422a4c4d0 SHA512 94518086d10a3edc6b3f2e9969cd21a1bdc98cf1ba4bd9bc5fd972afa0ce6aa77831a825e6fd9d6888dada5775b95c0f8a52c72bde34d4c8369434c0f0fb0e59 WHIRLPOOL 7d4164af81cf9c6707b2482cd08eec309f5e5087eb10b42acc5c83ede38eb15818b99c8997e87272ac76fb97f5497d23ced92f65ca62cf4eda5272dd60dcee4a
|
||||
DIST jenkins-bin-1.627.war 63251728 SHA256 9fc74aea24d806fb8810e2573793cc280bdcef8c3ac6f0e76dc242290d7773ad SHA512 bf588377ae8910b5cc9db42bc177aaf4d714c9433b851cb8daef3e592844dd8f17ecfbc9f9e6e989d9033feacaaaf05ead3537bf61163335e25001499acfe6d1 WHIRLPOOL 156c9c713a24c373bd5857e68a275a5bb671844181fb62b389a2a0e787a7bd3a1489f3b4b0328bfb6c2b3c040a35068beed389c964c60dcec0ed958de54858bf
|
||||
DIST jenkins-bin-1.628.war 63208813 SHA256 e11227ad247ad3a938219cd2653adfb266ad54618d1839e63fd0e0e54852d6c7 SHA512 573585a085d9b2aab3eb2f2a8333deba31f6706ba1b7a8ba249c7b8eec76881908f8302cf6766d4243b380da8e093c577c9251113424c77251e73bae73bf6e20 WHIRLPOOL 3af13e26624a70714dd75d1d65654d05bc9f8ebba9b21688e955e1375cb38608fe1454d09ceaa138ff5b0298bf245ce9dba043add9e57909baf661cb5cb5ef59
|
||||
DIST jenkins-bin-1.629.war 63209042 SHA256 b74b1cd5b8873f0605106893e063dd2407afdcd1fd516e7034314385ac67605c SHA512 0a39dbaa4d9772c4e109b4689208829108c1c0aeff9d637c837f69e5be0ee78cbdb77b09b9fc0aa6a71d82dcdbe4f3b20ecf479ffe7b8ad82d0546d7d28900ed WHIRLPOOL c365023f3d935740e12f017987bd8e9ad98febf9e9cc89094c803a0c730eaa0ab94bd9c9f134ec19b5b232ce75651046beae9441577d0479e6c0a0a3c79ee554
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit user systemd
|
||||
|
||||
DESCRIPTION="Extensible continuous integration server"
|
||||
HOMEPAGE="http://jenkins-ci.org/"
|
||||
LICENSE="MIT"
|
||||
SRC_URI="http://mirrors.jenkins-ci.org/war/${PV}/${PN/-bin/}.war -> ${P}.war"
|
||||
RESTRICT="mirror"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="media-fonts/dejavu
|
||||
media-libs/freetype
|
||||
!dev-util/jenkins-bin:lts
|
||||
>=virtual/jre-1.7.0"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
JENKINS_DIR=/var/lib/jenkins
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup jenkins
|
||||
enewuser jenkins -1 -1 ${JENKINS_DIR} jenkins
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/log/jenkins ${JENKINS_DIR}/backup ${JENKINS_DIR}/home
|
||||
|
||||
insinto /opt/jenkins
|
||||
newins "${DISTDIR}"/${P}.war ${PN/-bin/}.war
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/${PN}-r1.logrotate ${PN/-bin/}
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.init2 jenkins
|
||||
newconfd "${FILESDIR}"/${PN}.confd jenkins
|
||||
|
||||
systemd_newunit "${FILESDIR}"/${PN}.service jenkins.service
|
||||
|
||||
fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST cuda_6.5.14_linux_32.run 76788277 SHA256 63fa1fe5d013e9944d6c1a3a71768fa4dcb35d6a157c1b06765bb56198c205c5 SHA512 89649ee0f4543b37037b7c8f5ed0b8bd502512afb4d93e3158b3df4786123be05a5288986b5abbfe15c14eb010777d2527b715225bea96a354a898c34e4a2fcc WHIRLPOOL c1094dd84883ef08d91c6eec3634a285496418db1e76b70f449f833dcb01069a620af504b6df7fe2752559688ed1f60f4adda8c97d849d648cba1be0f8196954
|
||||
DIST cuda_6.5.14_linux_64.run 972320904 SHA256 f3e527f34f317314fe8fcd8c85f10560729069298c0f73105ba89225db69da48 SHA512 fecca731b86955f5bc7b09d88b02951e3ee5d4b1f1cf5f92658227a029b87cd35d6ac22956a5fa0afe62dcdc57191f1d12bb08c9f7cc05128727cd8455947b1e WHIRLPOOL 0b890771dcca352168fed1b1df9b29504b03f8c29da59cec29914c541283998edf65f5ca6a41362143a2d5d7359822b036894f563c56b39583b1ac4c64e35180
|
||||
DIST cuda_6.5.19_linux_32.run 81882112 SHA256 9f767f38b84f52c097bec81669f99e4a6c4c9c09b5da1bc09fe49e0f804bc7a6 SHA512 1ce9bd6b472b7e4f1fb181eb340dfcb757714d59a89aaa02146cfe1a97c8ccb7eb7699b4ec823276f277eb4d82d95050eaba17e7ed5fd2e47b9b5d78531c5d4e WHIRLPOOL ac94b4e7f29811b4240623fb69b3c54214e7f0c60a286d899944dbab9da7fd3c122760199a3357667e33879bd48fbf352d5d39029acca6021e7caf21785557ed
|
||||
DIST cuda_6.5.19_linux_64.run 982446238 SHA256 5279bc159b72b7445d8aae5f289d24bb4042c35422ef32da68049d8f666d3ff5 SHA512 06854f020a5f72cf4bd714859e6966248ac2f589284113674e869fdaa1254cae27d4101940758ecda5df4724ad3e448a1f6d0c053b6cbc28107750872b6a5797 WHIRLPOOL 6ae8e53719e12997de60ec3688167f3fe33b1145d01217182e39ac386c25b358c8ba6cee45ad6c80e33ef66fd9a511338dce4589f10a31635b8437b6e528fd7a
|
||||
DIST cuda_7.5.18_linux.run 1195431560 SHA256 245ffb6c1e2b69d323f8ae3a1b63d3384fec3934222e56e9d801ecc0d6e919c5 SHA512 cb933512fde09376b1d6040c72d24c4f91dc44f73322ca87aa7d1f34156c9c87feea41f9a00f1a403cfb89645b5e7a6a5f2bfe4933703ba81f0cf94968d430fd WHIRLPOOL b1a06acba02043fabf496ba683fb984b1c90df2cd71396457f664beb8cb26b2e3074c8568ec6ce0cfe565721986670c7a40351a29a4856a7e03268c14d545247
|
||||
|
@ -0,0 +1,157 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit check-reqs cuda unpacker versionator
|
||||
|
||||
MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
|
||||
|
||||
DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)"
|
||||
HOMEPAGE="http://developer.nvidia.com/cuda"
|
||||
CURI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel/installers"
|
||||
SRC_URI="
|
||||
amd64? ( ${CURI}/cuda_${PV}_linux_64.run )
|
||||
x86? ( ${CURI}/cuda_${PV}_linux_32.run )"
|
||||
|
||||
SLOT="0/${PV}"
|
||||
LICENSE="NVIDIA-CUDA"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debugger doc eclipse profiler"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
<sys-devel/gcc-4.9[cxx]
|
||||
debugger? (
|
||||
sys-libs/libtermcap-compat
|
||||
sys-libs/ncurses[tinfo]
|
||||
)
|
||||
eclipse? ( >=virtual/jre-1.6 )
|
||||
profiler? ( >=virtual/jre-1.6 )
|
||||
amd64? ( >=x11-drivers/nvidia-drivers-343.22[uvm] )
|
||||
x86? ( <x11-drivers/nvidia-drivers-346.35[uvm] )
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="opt/cuda/*"
|
||||
|
||||
CHECKREQS_DISK_BUILD="1500M"
|
||||
|
||||
pkg_setup() {
|
||||
# We don't like to run cuda_pkg_setup as it depends on us
|
||||
check-reqs_pkg_setup
|
||||
|
||||
if use x86; then
|
||||
ewarn "Starting with version 6.5 NVIDIA dropped more and more"
|
||||
ewarn "the support for 32bit linux."
|
||||
ewarn "Be aware that bugfixes and new features may not be available."
|
||||
ewarn "https://dev.gentoo.org/~jlec/distfiles/CUDA_Toolkit_Release_Notes.pdf"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpacker
|
||||
unpacker run_files/cuda-linux*.run
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local cuda_supported_gcc
|
||||
|
||||
cuda_supported_gcc="4.7 4.8"
|
||||
|
||||
sed \
|
||||
-e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \
|
||||
"${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i j
|
||||
local remove="doc jre run_files install-linux.pl "
|
||||
local cudadir=/opt/cuda
|
||||
local ecudadir="${EPREFIX}"${cudadir}
|
||||
|
||||
# dodoc doc/*txt
|
||||
if use doc; then
|
||||
dodoc doc/pdf/*
|
||||
dohtml -r doc/html/*
|
||||
fi
|
||||
|
||||
if use amd64; then
|
||||
mv doc/man/man3/{,cuda-}deprecated.3 || die
|
||||
doman doc/man/man*/*
|
||||
fi
|
||||
|
||||
use debugger || remove+=" bin/cuda-gdb extras/Debugger"
|
||||
( use profiler || use eclipse ) || remove+=" libnsight"
|
||||
use amd64 || remove+=" cuda-installer.pl"
|
||||
|
||||
if use profiler; then
|
||||
# hack found in install-linux.pl
|
||||
for j in nvvp nsight; do
|
||||
cat > bin/${j} <<- EOF
|
||||
#!${EPREFIX}/bin/sh
|
||||
LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:${ecudadir}/lib:${ecudadir}/lib64 \
|
||||
UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 \
|
||||
${ecudadir}/lib${j}/${j} -vm ${EPREFIX}/usr/bin/java
|
||||
EOF
|
||||
chmod a+x bin/${j}
|
||||
done
|
||||
else
|
||||
use eclipse || remove+=" libnvvp"
|
||||
remove+=" extras/CUPTI"
|
||||
fi
|
||||
|
||||
for i in ${remove}; do
|
||||
ebegin "Cleaning ${i}..."
|
||||
if [[ -e ${i} ]]; then
|
||||
find ${i} -delete || die
|
||||
eend
|
||||
else
|
||||
eend $1
|
||||
fi
|
||||
done
|
||||
|
||||
ln -sf lib lib32 || die
|
||||
|
||||
dodir ${cudadir}
|
||||
mv * "${ED}"${cudadir} || die
|
||||
|
||||
cat > "${T}"/99cuda <<- EOF
|
||||
PATH=${ecudadir}/bin$(use profiler && echo ":${ecudadir}/libnvvp")
|
||||
ROOTPATH=${ecudadir}/bin
|
||||
LDPATH=${ecudadir}/lib$(use amd64 && echo "64:${ecudadir}/lib")
|
||||
EOF
|
||||
doenvd "${T}"/99cuda
|
||||
|
||||
use profiler && \
|
||||
make_wrapper nvprof "${EPREFIX}"${cudadir}/bin/nvprof "." ${ecudadir}/lib$(use amd64 && echo "64:${ecudadir}/lib")
|
||||
|
||||
dobin "${T}"/cuda-config
|
||||
}
|
||||
|
||||
pkg_postinst_check() {
|
||||
local a b
|
||||
a="$(version_sort $(cuda-config -s))"; a=( $a )
|
||||
# greatest supported version
|
||||
b=${a[${#a[@]}-1]}
|
||||
|
||||
# if gcc and if not gcc-version is at least greatesst supported
|
||||
if [[ $(tc-getCC) == *gcc* ]] && \
|
||||
! version_is_at_least $(gcc-version) ${b}; then
|
||||
echo
|
||||
ewarn "gcc >= ${b} will not work with CUDA"
|
||||
ewarn "Make sure you set an earlier version of gcc with gcc-config"
|
||||
ewarn "or append --compiler-bindir= pointing to a gcc bindir like"
|
||||
ewarn "--compiler-bindir=${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/gcc${b}"
|
||||
ewarn "to the nvcc compiler flags"
|
||||
echo
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
pkg_postinst_check
|
||||
fi
|
||||
}
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ros</herd>
|
||||
<herd>ros</herd>
|
||||
<upstream>
|
||||
<remote-id type="github">ros-infrastructure/rosdep</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ros</herd>
|
||||
<herd>ros</herd>
|
||||
<upstream>
|
||||
<remote-id type="github">vcstools/rosinstall</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ros</herd>
|
||||
<herd>ros</herd>
|
||||
<upstream>
|
||||
<remote-id type="github">ros-infrastructure/rosinstall_generator</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ros</herd>
|
||||
<herd>ros</herd>
|
||||
<upstream>
|
||||
<remote-id type="github">vcstools/wstool</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,637 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
GENTOO_DEPEND_ON_PERL=no
|
||||
|
||||
# bug #329479: git-remote-testgit is not multiple-version aware
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
[[ ${PV} == *9999 ]] && SCM="git-2"
|
||||
EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git"
|
||||
EGIT_MASTER=pu
|
||||
|
||||
inherit toolchain-funcs eutils elisp-common perl-module bash-completion-r1 python-single-r1 systemd ${SCM}
|
||||
|
||||
MY_PV="${PV/_rc/.rc}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DOC_VER=${MY_PV}
|
||||
|
||||
DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team"
|
||||
HOMEPAGE="http://www.git-scm.com/"
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
SRC_URI_SUFFIX="xz"
|
||||
SRC_URI_GOOG="https://git-core.googlecode.com/files"
|
||||
SRC_URI_KORG="mirror://kernel/software/scm/git"
|
||||
SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_GOOG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
doc? (
|
||||
${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_GOOG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg gtk highlight +iconv mediawiki +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test"
|
||||
|
||||
# Common to both DEPEND and RDEPEND
|
||||
CDEPEND="
|
||||
dev-libs/openssl:0
|
||||
sys-libs/zlib
|
||||
pcre? ( dev-libs/libpcre )
|
||||
perl? ( dev-lang/perl:=[-build(-)] )
|
||||
tk? ( dev-lang/tk:0 )
|
||||
curl? (
|
||||
net-misc/curl
|
||||
webdav? ( dev-libs/expat )
|
||||
)
|
||||
emacs? ( virtual/emacs )
|
||||
gnome-keyring? ( gnome-base/libgnome-keyring )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
gpg? ( app-crypt/gnupg )
|
||||
mediawiki? (
|
||||
dev-perl/HTML-Tree
|
||||
dev-perl/MediaWiki-API
|
||||
)
|
||||
perl? ( dev-perl/Error
|
||||
dev-perl/Net-SMTP-SSL
|
||||
dev-perl/Authen-SASL
|
||||
cgi? ( dev-perl/CGI highlight? ( app-text/highlight ) )
|
||||
cvs? ( >=dev-vcs/cvsps-2.1:0 dev-perl/DBI dev-perl/DBD-SQLite )
|
||||
subversion? ( dev-vcs/subversion[-dso,perl] dev-perl/libwww-perl dev-perl/TermReadKey )
|
||||
)
|
||||
python? ( gtk?
|
||||
(
|
||||
>=dev-python/pygtk-2.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygtksourceview-2.10.1-r1:2[${PYTHON_USEDEP}]
|
||||
)
|
||||
${PYTHON_DEPS} )"
|
||||
|
||||
# This is how info docs are created with Git:
|
||||
# .txt/asciidoc --(asciidoc)---------> .xml/docbook
|
||||
# .xml/docbook --(docbook2texi.pl)--> .texi
|
||||
# .texi --(makeinfo)---------> .info
|
||||
DEPEND="${CDEPEND}
|
||||
app-arch/cpio
|
||||
doc? (
|
||||
app-text/asciidoc
|
||||
app-text/docbook2X
|
||||
sys-apps/texinfo
|
||||
app-text/xmlto
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( app-crypt/gnupg )"
|
||||
|
||||
# Live ebuild builds man pages and HTML docs, additionally
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
DEPEND="${DEPEND}
|
||||
app-text/asciidoc"
|
||||
fi
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
REQUIRED_USE="
|
||||
cgi? ( perl )
|
||||
cvs? ( perl )
|
||||
mediawiki? ( perl )
|
||||
subversion? ( perl )
|
||||
webdav? ( curl )
|
||||
gtk? ( python )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if use subversion && has_version "dev-vcs/subversion[dso]"; then
|
||||
ewarn "Per Gentoo bugs #223747, #238586, when subversion is built"
|
||||
ewarn "with USE=dso, there may be weird crashes in git-svn. You"
|
||||
ewarn "have been warned."
|
||||
fi
|
||||
if use python ; then
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
# This is needed because for some obscure reasons future calls to make don't
|
||||
# pick up these exports if we export them in src_unpack()
|
||||
exportmakeopts() {
|
||||
local myopts
|
||||
|
||||
if use blksha1 ; then
|
||||
myopts+=" BLK_SHA1=YesPlease"
|
||||
elif use ppcsha1 ; then
|
||||
myopts+=" PPC_SHA1=YesPlease"
|
||||
fi
|
||||
|
||||
if use curl ; then
|
||||
use webdav || myopts+=" NO_EXPAT=YesPlease"
|
||||
else
|
||||
myopts+=" NO_CURL=YesPlease"
|
||||
fi
|
||||
|
||||
# broken assumptions, because of broken build system ...
|
||||
myopts+=" NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease"
|
||||
myopts+=" INSTALL=install TAR=tar"
|
||||
myopts+=" SHELL_PATH=${EPREFIX}/bin/sh"
|
||||
myopts+=" SANE_TOOL_PATH="
|
||||
myopts+=" OLD_ICONV="
|
||||
myopts+=" NO_EXTERNAL_GREP="
|
||||
|
||||
# For svn-fe
|
||||
extlibs="-lz -lssl ${S}/xdiff/lib.a $(usex threads -lpthread '')"
|
||||
|
||||
# can't define this to null, since the entire makefile depends on it
|
||||
sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile
|
||||
|
||||
use iconv \
|
||||
|| myopts+=" NO_ICONV=YesPlease"
|
||||
use nls \
|
||||
|| myopts+=" NO_GETTEXT=YesPlease"
|
||||
use tk \
|
||||
|| myopts+=" NO_TCLTK=YesPlease"
|
||||
use pcre \
|
||||
&& myopts+=" USE_LIBPCRE=yes" \
|
||||
&& extlibs+=" -lpcre"
|
||||
use perl \
|
||||
&& myopts+=" INSTALLDIRS=vendor" \
|
||||
|| myopts+=" NO_PERL=YesPlease"
|
||||
use python \
|
||||
|| myopts+=" NO_PYTHON=YesPlease"
|
||||
use subversion \
|
||||
|| myopts+=" NO_SVN_TESTS=YesPlease"
|
||||
use threads \
|
||||
&& myopts+=" THREADED_DELTA_SEARCH=YesPlease" \
|
||||
|| myopts+=" NO_PTHREADS=YesPlease"
|
||||
use cvs \
|
||||
|| myopts+=" NO_CVS=YesPlease"
|
||||
# Disabled until ~m68k-mint can be keyworded again
|
||||
# if [[ ${CHOST} == *-mint* ]] ; then
|
||||
# myopts+=" NO_MMAP=YesPlease"
|
||||
# myopts+=" NO_IPV6=YesPlease"
|
||||
# myopts+=" NO_STRLCPY=YesPlease"
|
||||
# myopts+=" NO_MEMMEM=YesPlease"
|
||||
# myopts+=" NO_MKDTEMP=YesPlease"
|
||||
# myopts+=" NO_MKSTEMPS=YesPlease"
|
||||
# fi
|
||||
if [[ ${CHOST} == ia64-*-hpux* ]]; then
|
||||
myopts+=" NO_NSEC=YesPlease"
|
||||
fi
|
||||
if [[ ${CHOST} == *-*-aix* ]]; then
|
||||
myopts+=" NO_FNMATCH_CASEFOLD=YesPlease"
|
||||
fi
|
||||
if [[ ${CHOST} == *-solaris* ]]; then
|
||||
myopts+=" NEEDS_LIBICONV=YesPlease"
|
||||
fi
|
||||
|
||||
has_version '>=app-text/asciidoc-8.0' \
|
||||
&& myopts+=" ASCIIDOC8=YesPlease"
|
||||
myopts+=" ASCIIDOC_NO_ROFF=YesPlease"
|
||||
|
||||
# Bug 290465:
|
||||
# builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim'
|
||||
[[ "${CHOST}" == *-uclibc* ]] && \
|
||||
myopts+=" NO_NSEC=YesPlease"
|
||||
|
||||
export MY_MAKEOPTS="${myopts}"
|
||||
export EXTLIBS="${extlibs}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
unpack ${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
cd "${S}"
|
||||
unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
use doc && \
|
||||
cd "${S}"/Documentation && \
|
||||
unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
cd "${S}"
|
||||
else
|
||||
git-2_src_unpack
|
||||
cd "${S}"
|
||||
#cp "${FILESDIR}"/GIT-VERSION-GEN .
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# bug #350330 - automagic CVS when we don't want it is bad.
|
||||
epatch "${FILESDIR}"/git-2.2.2-optional-cvs.patch
|
||||
|
||||
# install mediawiki perl modules also in vendor_dir
|
||||
# hack, needs better upstream solution
|
||||
epatch "${FILESDIR}"/git-1.8.5-mw-vendor.patch
|
||||
|
||||
epatch "${FILESDIR}"/git-2.2.0-svn-fe-linking.patch
|
||||
|
||||
epatch_user
|
||||
|
||||
sed -i \
|
||||
-e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \
|
||||
-e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \
|
||||
-e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \
|
||||
-e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \
|
||||
-e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \
|
||||
-e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \
|
||||
Makefile contrib/svn-fe/Makefile || die "sed failed"
|
||||
|
||||
# Never install the private copy of Error.pm (bug #296310)
|
||||
sed -i \
|
||||
-e '/private-Error.pm/s,^,#,' \
|
||||
perl/Makefile.PL
|
||||
|
||||
# Fix docbook2texi command
|
||||
sed -r -i 's/DOCBOOK2X_TEXI[[:space:]]*=[[:space:]]*docbook2x-texi/DOCBOOK2X_TEXI = docbook2texi.pl/' \
|
||||
Documentation/Makefile || die "sed failed"
|
||||
|
||||
# Fix git-subtree missing DESTDIR
|
||||
sed -i \
|
||||
-e '/$(INSTALL)/s/ $(libexecdir)/ $(DESTDIR)$(libexecdir)/g' \
|
||||
-e '/$(INSTALL)/s/ $(man1dir)/ $(DESTDIR)$(man1dir)/g' \
|
||||
contrib/subtree/Makefile
|
||||
}
|
||||
|
||||
git_emake() {
|
||||
# bug #326625: PERL_PATH, PERL_MM_OPT
|
||||
# bug #320647: PYTHON_PATH
|
||||
PYTHON_PATH=""
|
||||
use python && PYTHON_PATH="${PYTHON}"
|
||||
emake ${MY_MAKEOPTS} \
|
||||
DESTDIR="${D}" \
|
||||
OPTCFLAGS="${CFLAGS}" \
|
||||
OPTLDFLAGS="${LDFLAGS}" \
|
||||
OPTCC="$(tc-getCC)" \
|
||||
OPTAR="$(tc-getAR)" \
|
||||
prefix="${EPREFIX}"/usr \
|
||||
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
sysconfdir="${EPREFIX}"/etc \
|
||||
PYTHON_PATH="${PYTHON_PATH}" \
|
||||
PERL_MM_OPT="" \
|
||||
GIT_TEST_OPTS="--no-color" \
|
||||
V=1 \
|
||||
"$@"
|
||||
# This is the fix for bug #326625, but it also causes breakage, see bug
|
||||
# #352693.
|
||||
# PERL_PATH="${EPREFIX}/usr/bin/env perl" \
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
exportmakeopts
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use perl ; then
|
||||
git_emake perl/PM.stamp || die "emake perl/PM.stamp failed"
|
||||
git_emake perl/perl.mak || die "emake perl/perl.mak failed"
|
||||
fi
|
||||
git_emake || die "emake failed"
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile contrib/emacs/git{,-blame}.el
|
||||
fi
|
||||
|
||||
if use perl && use cgi ; then
|
||||
git_emake \
|
||||
gitweb/gitweb.cgi \
|
||||
|| die "emake gitweb/gitweb.cgi failed"
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
cd "${S}"/contrib/credential/osxkeychain || die "cd credential/osxkeychain"
|
||||
git_emake || die "emake credential-osxkeychain"
|
||||
fi
|
||||
|
||||
cd "${S}"/Documentation
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
git_emake man \
|
||||
|| die "emake man failed"
|
||||
if use doc ; then
|
||||
git_emake info html \
|
||||
|| die "emake info html failed"
|
||||
fi
|
||||
else
|
||||
if use doc ; then
|
||||
git_emake info \
|
||||
|| die "emake info html failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use subversion ; then
|
||||
cd "${S}"/contrib/svn-fe
|
||||
# by defining EXTLIBS we override the detection for libintl and
|
||||
# libiconv, bug #516168
|
||||
local nlsiconv=
|
||||
use nls && use !elibc_glibc && nlsiconv+=" -lintl"
|
||||
use iconv && use !elibc_glibc && nlsiconv+=" -liconv"
|
||||
git_emake EXTLIBS="${EXTLIBS} ${nlsiconv}" || die "emake svn-fe failed"
|
||||
if use doc ; then
|
||||
git_emake svn-fe.{1,html} || die "emake svn-fe.1 svn-fe.html failed"
|
||||
fi
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
if use gnome-keyring ; then
|
||||
cd "${S}"/contrib/credential/gnome-keyring
|
||||
git_emake || die "emake git-credential-gnome-keyring failed"
|
||||
fi
|
||||
|
||||
cd "${S}"/contrib/subtree
|
||||
git_emake
|
||||
use doc && git_emake doc
|
||||
|
||||
if use mediawiki ; then
|
||||
cd "${S}"/contrib/mw-to-git
|
||||
git_emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
git_emake \
|
||||
install || \
|
||||
die "make install failed"
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
dobin contrib/credential/osxkeychain/git-credential-osxkeychain
|
||||
fi
|
||||
|
||||
# Depending on the tarball and manual rebuild of the documentation, the
|
||||
# manpages may exist in either OR both of these directories.
|
||||
find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157]
|
||||
find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157]
|
||||
|
||||
dodoc README Documentation/{SubmittingPatches,CodingGuidelines}
|
||||
use doc && dodir /usr/share/doc/${PF}/html
|
||||
for d in / /howto/ /technical/ ; do
|
||||
docinto ${d}
|
||||
dodoc Documentation${d}*.txt
|
||||
use doc && dohtml -p ${d} Documentation${d}*.html
|
||||
done
|
||||
docinto /
|
||||
# Upstream does not ship this pre-built :-(
|
||||
use doc && doinfo Documentation/{git,gitman}.info
|
||||
|
||||
newbashcomp contrib/completion/git-completion.bash ${PN}
|
||||
bashcomp_alias git gitk
|
||||
# Not really a bash-completion file (bug #477920)
|
||||
# but still needed uncompressed (bug #507480)
|
||||
insinto /usr/share/${PN}
|
||||
doins contrib/completion/git-prompt.sh
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} contrib/emacs/git.{el,elc}
|
||||
elisp-install ${PN} contrib/emacs/git-blame.{el,elc}
|
||||
#elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc}
|
||||
# don't add automatically to the load-path, so the sitefile
|
||||
# can do a conditional loading
|
||||
touch "${ED}${SITELISP}/${PN}/compat/.nosearch"
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
|
||||
fi
|
||||
|
||||
if use python && use gtk ; then
|
||||
python_doscript "${S}"/contrib/gitview/gitview
|
||||
dodoc "${S}"/contrib/gitview/gitview.txt
|
||||
fi
|
||||
|
||||
#dobin contrib/fast-import/git-p4 # Moved upstream
|
||||
#dodoc contrib/fast-import/git-p4.txt # Moved upstream
|
||||
newbin contrib/fast-import/import-tars.perl import-tars
|
||||
exeinto /usr/libexec/git-core/
|
||||
newexe contrib/git-resurrect.sh git-resurrect
|
||||
|
||||
# git-subtree
|
||||
cd "${S}"/contrib/subtree
|
||||
git_emake install || die "Failed to emake install git-subtree"
|
||||
if use doc ; then
|
||||
git_emake install-man install-doc || die "Failed to emake install-doc install-mangit-subtree"
|
||||
fi
|
||||
newdoc README README.git-subtree
|
||||
dodoc git-subtree.txt
|
||||
cd "${S}"
|
||||
|
||||
if use mediawiki ; then
|
||||
cd "${S}"/contrib/mw-to-git
|
||||
git_emake install
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
# diff-highlight
|
||||
dobin contrib/diff-highlight/diff-highlight
|
||||
newdoc contrib/diff-highlight/README README.diff-highlight
|
||||
|
||||
# git-jump
|
||||
exeinto /usr/libexec/git-core/
|
||||
doexe contrib/git-jump/git-jump
|
||||
newdoc contrib/git-jump/README git-jump.txt
|
||||
|
||||
# git-contacts
|
||||
exeinto /usr/libexec/git-core/
|
||||
doexe contrib/contacts/git-contacts
|
||||
dodoc contrib/contacts/git-contacts.txt
|
||||
|
||||
if use gnome-keyring ; then
|
||||
cd "${S}"/contrib/credential/gnome-keyring
|
||||
dobin git-credential-gnome-keyring
|
||||
fi
|
||||
|
||||
if use subversion ; then
|
||||
cd "${S}"/contrib/svn-fe
|
||||
dobin svn-fe
|
||||
dodoc svn-fe.txt
|
||||
use doc && doman svn-fe.1 && dohtml svn-fe.html
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
dodir /usr/share/${PN}/contrib
|
||||
# The following are excluded:
|
||||
# completion - installed above
|
||||
# credential/gnome-keyring TODO
|
||||
# diff-highlight - done above
|
||||
# emacs - installed above
|
||||
# examples - these are stuff that is not used in Git anymore actually
|
||||
# git-jump - done above
|
||||
# gitview - installed above
|
||||
# p4import - excluded because fast-import has a better one
|
||||
# patches - stuff the Git guys made to go upstream to other places
|
||||
# persistent-https - TODO
|
||||
# mw-to-git - TODO
|
||||
# subtree - build seperately
|
||||
# svnimport - use git-svn
|
||||
# thunderbird-patch-inline - fixes thunderbird
|
||||
for i in \
|
||||
buildsystems convert-objects fast-import \
|
||||
hg-to-git hooks remotes2config.sh rerere-train.sh \
|
||||
stats workdir \
|
||||
; do
|
||||
cp -rf \
|
||||
"${S}"/contrib/${i} \
|
||||
"${ED}"/usr/share/${PN}/contrib \
|
||||
|| die "Failed contrib ${i}"
|
||||
done
|
||||
|
||||
if use perl && use cgi ; then
|
||||
# We used to install in /usr/share/${PN}/gitweb
|
||||
# but upstream installs in /usr/share/gitweb
|
||||
# so we will install a symlink and use their location for compat with other
|
||||
# distros
|
||||
dosym /usr/share/gitweb /usr/share/${PN}/gitweb
|
||||
|
||||
# INSTALL discusses configuration issues, not just installation
|
||||
docinto /
|
||||
newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb
|
||||
newdoc "${S}"/gitweb/README README.gitweb
|
||||
|
||||
find "${ED}"/usr/lib64/perl5/ \
|
||||
-name .packlist \
|
||||
-exec rm \{\} \;
|
||||
else
|
||||
rm -rf "${ED}"/usr/share/gitweb
|
||||
fi
|
||||
|
||||
if ! use subversion ; then
|
||||
rm -f "${ED}"/usr/libexec/git-core/git-svn \
|
||||
"${ED}"/usr/share/man/man1/git-svn.1*
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}"/git-daemon.xinetd git-daemon
|
||||
fi
|
||||
|
||||
if use !prefix ; then
|
||||
newinitd "${FILESDIR}"/git-daemon-r1.initd git-daemon
|
||||
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
|
||||
systemd_newunit "${FILESDIR}/git-daemon_at.service" "git-daemon@.service"
|
||||
systemd_dounit "${FILESDIR}/git-daemon.socket"
|
||||
fi
|
||||
|
||||
perl_delete_localpod
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local disabled="" #t7004-tag.sh" #520270
|
||||
local tests_cvs="t9200-git-cvsexportcommit.sh \
|
||||
t9400-git-cvsserver-server.sh \
|
||||
t9401-git-cvsserver-crlf.sh \
|
||||
t9402-git-cvsserver-refs.sh \
|
||||
t9600-cvsimport.sh \
|
||||
t9601-cvsimport-vendor-branch.sh \
|
||||
t9602-cvsimport-branches-tags.sh \
|
||||
t9603-cvsimport-patchsets.sh \
|
||||
t9604-cvsimport-timestamps.sh"
|
||||
local tests_perl="t3701-add-interactive.sh \
|
||||
t5502-quickfetch.sh \
|
||||
t5512-ls-remote.sh \
|
||||
t5520-pull.sh \
|
||||
t7106-reset-unborn-branch.sh \
|
||||
t7501-commit.sh"
|
||||
# Bug #225601 - t0004 is not suitable for root perm
|
||||
# Bug #219839 - t1004 is not suitable for root perm
|
||||
# t0001-init.sh - check for init notices EPERM* fails
|
||||
local tests_nonroot="t0001-init.sh \
|
||||
t0004-unwritable.sh \
|
||||
t0070-fundamental.sh \
|
||||
t1004-read-tree-m-u-wf.sh \
|
||||
t3700-add.sh \
|
||||
t7300-clean.sh"
|
||||
# t9100 still fails with symlinks in SVN 1.7
|
||||
local test_svn="t9100-git-svn-basic.sh"
|
||||
|
||||
# Unzip is used only for the testcase code, not by any normal parts of Git.
|
||||
if ! has_version app-arch/unzip ; then
|
||||
einfo "Disabling tar-tree tests"
|
||||
disabled="${disabled} t5000-tar-tree.sh"
|
||||
fi
|
||||
|
||||
cvs=0
|
||||
use cvs && let cvs=$cvs+1
|
||||
if [[ ${EUID} -eq 0 ]]; then
|
||||
if [[ $cvs -eq 1 ]]; then
|
||||
ewarn "Skipping CVS tests because CVS does not work as root!"
|
||||
ewarn "You should retest with FEATURES=userpriv!"
|
||||
disabled="${disabled} ${tests_cvs}"
|
||||
fi
|
||||
einfo "Skipping other tests that require being non-root"
|
||||
disabled="${disabled} ${tests_nonroot}"
|
||||
else
|
||||
[[ $cvs -gt 0 ]] && \
|
||||
has_version dev-vcs/cvs && \
|
||||
let cvs=$cvs+1
|
||||
[[ $cvs -gt 1 ]] && \
|
||||
has_version "dev-vcs/cvs[server]" && \
|
||||
let cvs=$cvs+1
|
||||
if [[ $cvs -lt 3 ]]; then
|
||||
einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])"
|
||||
disabled="${disabled} ${tests_cvs}"
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use perl ; then
|
||||
einfo "Disabling tests that need Perl"
|
||||
disabled="${disabled} ${tests_perl}"
|
||||
fi
|
||||
|
||||
einfo "Disabling tests that fail with SVN 1.7"
|
||||
disabled="${disabled} ${test_svn}"
|
||||
|
||||
# Reset all previously disabled tests
|
||||
cd "${S}/t"
|
||||
for i in *.sh.DISABLED ; do
|
||||
[[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}"
|
||||
done
|
||||
einfo "Disabled tests:"
|
||||
for i in ${disabled} ; do
|
||||
[[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i"
|
||||
done
|
||||
|
||||
# Avoid the test system removing the results because we want them ourselves
|
||||
sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' \
|
||||
-i "${S}"/t/Makefile
|
||||
|
||||
# Clean old results first, must always run
|
||||
cd "${S}/t"
|
||||
nonfatal git_emake clean
|
||||
|
||||
# Now run the tests, keep going if we hit an error, and don't terminate on
|
||||
# failure
|
||||
cd "${S}"
|
||||
einfo "Start test run"
|
||||
#MAKEOPTS=-j1
|
||||
nonfatal git_emake --keep-going test
|
||||
rc=$?
|
||||
|
||||
# Display nice results, now print the results
|
||||
cd "${S}/t"
|
||||
nonfatal git_emake aggregate-results
|
||||
|
||||
# And bail if there was a problem
|
||||
[ $rc -eq 0 ] || die "tests failed. Please file a bug."
|
||||
}
|
||||
|
||||
showpkgdeps() {
|
||||
local pkg=$1
|
||||
shift
|
||||
elog " $(printf "%-17s:" ${pkg}) ${@}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
einfo "Please read /usr/share/bash-completion/git for Git bash command completion"
|
||||
einfo "Please read /usr/share/git/git-prompt.sh for Git bash prompt"
|
||||
einfo "Note that the prompt bash code is now in that separate script"
|
||||
elog "These additional scripts need some dependencies:"
|
||||
echo
|
||||
showpkgdeps git-quiltimport "dev-util/quilt"
|
||||
showpkgdeps git-instaweb \
|
||||
"|| ( www-servers/lighttpd www-servers/apache www-servers/nginx )"
|
||||
echo
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue