parent
93f83a9439
commit
37547b670b
@ -1,6 +1,6 @@
|
||||
AUX freeze-2.5.0-gentoo.patch 1541 SHA256 7d2cad942baf77912799542db417a637bfb57fec89bf01e12d4731b4169c5c41 SHA512 be93f27959405bb7ca0f7407e32e93d9b1bf5f202ad6100e7a8aa18fb8b978402fe5293714a116c6eb7599c84c2186eaf518025c1dd8cc8f6184d346ca54eeac WHIRLPOOL 5d91adb1c5ea4f87be0b34a4fd38da792b15f084761cbda46c3c7d82d1ada442bcd2347d99f48ffbb100058aba70efb6485e93ef22aa676598b29d7e87a9961c
|
||||
DIST freeze-2.5.0.tar.gz 36010 SHA256 f543eb18bd7de8893a3c0bac0e4fa5fea46a4e10f5d8182cebc40c97b8593863 SHA512 2e0965e1bb772a829763b99c623b3dfa062a624ed2bd5f658c9df0e4040a9c914aec5a85602340fe994634b82d2fac3250030b35ad3d5f5054b0a6f4059469e7 WHIRLPOOL 8415350c9ad833ceebff515922df947a54c1400cbba9606ef283068d6453cded3a6b674c4940fe0260a085834dd7b5b0a5cf3cb0116bbfde9cdd59d26323f0f2
|
||||
EBUILD freeze-2.5.0-r1.ebuild 1041 SHA256 d1c5181ebfde35a9f77b7ffb72d395283c7ec7e62b18b4eb1b1860a56131446b SHA512 fb5a53c2a32735ded1e9fb2a1570db12e98daa7b4e9e6359d15f852cd387d5d4d61b359b2b1324592780ebb155759b72bb5558079de781e72bc0354d2fc3b6ba WHIRLPOOL 5145b1f353ff7b233ded435a7faf661c58a9723462bd626f4b62ae5f9ad0f221675e9e1a823df774904ed80e3a76d71ecbe053226b5f59144874de7fb7cd95e8
|
||||
EBUILD freeze-2.5.0-r1.ebuild 1040 SHA256 e49833c25432b5cb721721973c9adbed5c5186a632faae9ddee9d6afd68e2fb8 SHA512 e3824e66810c8fcfcf93b8d2ee23db815b02c2ed30e8bf0131af16b03bfb52bae3b0ecaee8413d1b98be1d08422d83876afc6d96b1b3a07fd06f2f4526f0ac1d WHIRLPOOL f8fc9eb66b9517d86e3cb432f42ed6abdd9577ac4c21a1ef48b11a17147a731b644a2322d995cc26032364c5af651808caa5954f839b826717d95bc4636ce1eb
|
||||
EBUILD freeze-2.5.0.ebuild 1200 SHA256 efb943b9590293d38c125aadd7864b5c938fa70ee5285ca0858b2cf432b63b11 SHA512 3d564e1a1cec715190595d9ed6d1372d64619ccc180a83ed90c2801e9de280447470800eb2845db05c347b4259a672a02c2d9504c872c788933eef923deafec3 WHIRLPOOL 2b1516041058b7b361eb89b0c2a92c3a2548c5251ff80bd8db952b11444dac950e3bd5d27549d2983c9154beff0fe7dc96d33ef01ba843b3b011361fe7391b10
|
||||
MISC ChangeLog 3173 SHA256 4b540e73e223cc00b1d1f1e985b10e129660c7a1525e1a4f1d8b2e823adc21cc SHA512 89cad87d0d885bc78e64f971698edc76b8ad4a158857fd832aaa24a9577670f59a13ac94cb263c14cf157f02b159f1ca04eebfb3e8ffaeb21b9699a311d054ca WHIRLPOOL c4253522d8ea25ccac4fa98e5a01366559b4e3598648bd1b6a246a8865d7f2ab8b46ab3196873347aea41889aa2044d1ab91fe368fb5b2c57a407cf13c09f688
|
||||
MISC ChangeLog 3283 SHA256 c674be50ef2dc8e6044f56b866ebd7ea37c749c55e5472a8f5f9eaa708c7e3ab SHA512 ee9215c3ef1e35c6bd2ab7dcb33836b39140992f93ccb8491f57cb92a9482b7bbbfe841aeb5d3eadc56a49cbdedc863fbebdd2b0780be6883d8c85c6cbae9159 WHIRLPOOL 65e1ceb8c8a199e2eba1330726d359fbf11d3e3c69d476f042d5c937a3bbd642def090a5712f90816fdc90485fcebc2aea15b960ef1077df0267dd4b4295b0ef
|
||||
MISC metadata.xml 268 SHA256 2089ca59285b2836a6ec1d5aef27f83d580e922212301f0b1eadb04400eb45eb SHA512 8e365ead118785104bc7576a48a106346ef24f5b709349f8ca3d5fb9107a248d0f172e6898fb4ba4b2b7f84e6c8c7960578a2919e1a3692664cb808b16e6b2b2 WHIRLPOOL 255e754b42ff038b07a48321ced9fe6f8acdc99bb85873807b3e902517a1764dabc7152e5ca9ad4d83ab5dc9d3a611f79e6c066121be77aed3cad1b0f3587b73
|
||||
|
@ -1,17 +1,20 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST Editra-0.7.08.tar.gz 4066555 SHA256 d5ed31ab6dcb014c19584ce96d931f5e6aa9a78fdbac36e63132b15929559f63 SHA512 ecacdb021aa86e68bbb51b18b34dc1113246008f7f216f660e6fd75aa98f6ee25d747822a09a1fdb88639dda05293532de546475c4a3e1070a5e1368d5999978 WHIRLPOOL 4432da9b97b014695efcce295cbc56017f4e2421bca0c046850f9b276b423ac4ea1e3de909df2ad5e28b3f144b7141ec1a17f39ce811ddf214b8769969c3df20
|
||||
DIST Editra-0.7.12.tar.gz 4067488 SHA256 02312394e41b5d4c3ca8ce75a7ea4bac57ef9f8caabcb587ef6414e4bb21be61 SHA512 412ae4ed1880f11ba590f2c7e6d77a9325a758c55d494f7897223bb001373e64e310084ba55aceefb20135ffb800cd2774fb98d792ac3f6288cef25f8bf767d5 WHIRLPOOL 60f3014efe19fd3486517c115765b4b67d5df1b3607c6ae44f2cc365b50abb8f3452443f872973008981ea202dc5834927a4d80ca009eff74319a9094fb497a4
|
||||
EBUILD editra-0.7.08.ebuild 1320 SHA256 a09f94f0e6328450dc5e3a31fa04c8fa7db850f6025d7791bdca7b00f07a1f00 SHA512 c95f2b63ca16f838de9d03c785fd8138b51141519922d54bcbf6ccbfd4fc6d1b2f99622f6c3af83d875c651d0aeb0036345a0ccb55932b0da147799b62a821ed WHIRLPOOL 5f4693757a7e4e2d457098bcd29f8f0b455551cc13d8b1ff8102e6b2e3c2c64aba8fec82669e277251ecd1f3d5ac9aced6a7ffb939d3bd37752426d73bafafd3
|
||||
EBUILD editra-0.7.12.ebuild 1320 SHA256 6f22a396c7194cbc7c9436563aba3692d3708df02a279fe8e17d85f38a145d88 SHA512 0fcd79e360cd971cf1dc64e43f93d61a2ea48373d07ef19f325c3f122a8db64cf5e7e8a3abbbed500c21171dade5861fd07006693645dcc398633d05b8ea9b9e WHIRLPOOL 1f78b332f7957b03021bfd3d6511cac86d5879f72c7e786a64de92decb9cf59637d2d185c1e9f7abfdf5e475d229557d2c8ce61f91d747b72364a88d41e2df3b
|
||||
MISC ChangeLog 5308 SHA256 6c7ab314cc2eba76203a7974f1695412372367f9b13c386f865ff3d9343d2e5b SHA512 82d97d39e7e4a57844b9d53c0abf9183dda3100c417dbf6025b85a70734080e1d3aa2b73c1379229bd749aa61f721bc08610b1ec93ddbb98df84cf4a284b697a WHIRLPOOL efdd956c8fa075836923e2a931532edcbbcc67170d25d10950a58367fc8b3c1b1555e9fcd87cd49b0f242c07809497fb27e000362bcaee3124dfd09b14a5a086
|
||||
DIST Editra-0.7.20.tar.gz 4072243 SHA256 ed515bca58d87d9a2b3085f322a9fe7c6d1407a3b05db1434f80ea8f7e42ccc0 SHA512 e568ce2a5f04300c33223bf7a0e6fbc52d0a51c3472afb9b613fe21cfbeba0b9b453d87837e52c7c48050fc266ff5ff194a42f797053f21f0a25cd5c4579febe WHIRLPOOL ecfbc9610ba707aaad4995f9832e0f2bf2d79e56a5fadb27ae6c5b671c0f69a166c3d2d37163141789629a30fe56fbeb59c05c0203ae9201e2447ea479f52c55
|
||||
EBUILD editra-0.7.12.ebuild 1329 SHA256 2f228be13abf9771817b3a5cef68bee3de067592c30f741967c687aba55f1b75 SHA512 43f483778534dc6a303321f18bbab5b67cd2d89f0c06bda71f835a006dda0eb6c4b41fefadbf86b56e3517505ae15093a255fdfb0a5359e82889282d30e2f8d5 WHIRLPOOL 4dfc0dc97909be0565f22c5a6204958a2a8b0928dae37b253932b33086d1fee08eb4c584b48747546058baa6a9a8b7f2da58986e5776ecdc610746fde8915e01
|
||||
EBUILD editra-0.7.20.ebuild 1329 SHA256 ac9c87d75f1f185b0653df649e7f15ece37872c7213fc0cac1ec2c7eafaf2bc9 SHA512 a13579b57011c4d6e73a4d63ff4af661cc2cea7cad032c9895d7bb22379b59bf34427cce1fc7788a63f01d746107dab8d74be7e64cc3b37104d5f1e8507b6080 WHIRLPOOL 1a36bbffed4031f3ae5c03b7edd53c320ce5d8f943f3569e1d645a52dfcc96c8700dbd94f2bb009c97c4b365364291a02a10eb103c43657d76f4990e5a71fa54
|
||||
MISC ChangeLog 5584 SHA256 9c6f0fdb2665d1b15a3a4ec0cfd49957315132a0a76323628d079c3ba559945e SHA512 6a25ec367c1ad31e1c756ef1a0013b4c17d5035b5d5c5f15c0497908e06a3e4eafd91e9e82464b6606cd8d0059230448f4ddc79a58791f603caf718f9d5363cd WHIRLPOOL 1e9dca42ed0bd2857923f132de9387019c7fc6f810b69200faaf67f387a29b77c68cc1e688ed970ad37fbf20f4c5501e6dbbf3146d6c15b710b6c70c5cc7855e
|
||||
MISC metadata.xml 163 SHA256 f80859bf7a6a4f9003e458590a617debc14e3e1766004a67b368b327f3afc535 SHA512 3a0182534e9df7c61f18fd206b4ad6d9d9db4b9f339c5c8f13269abecc28acb674cfd4f3fadc5e8e0b4d9b52c938e29e86a3913724dc970b9ade6c2f0bbfc5b4 WHIRLPOOL c227f45d0239e047ef85bdb971666b887377a2db37727091a2e8a154d5ac7803df699db392b033ac389b9d827073e8a45f10889892688b1f080995c2c9ead032
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
Comment: GPGTools - http://gpgtools.org
|
||||
|
||||
iEYEAREIAAYFAlBHEBEACgkQgAnW8HDreRbA+ACgzU0ag8S8/ItpBFPgYutjX4DG
|
||||
2m4AoM5crb7w/aYJpa0LDJBpYfOAd41O
|
||||
=T8+c
|
||||
iQEcBAEBCAAGBQJQ66OZAAoJEO04vUmVeoRjw2MIAKs1MP6q+5UF4zIJfMr6HZXY
|
||||
XlqW9CT7N/AzSPjR/FH04CLyRp1TXm779lwKg89a1xt2oYYqGUaWPDt/mNTjYrrr
|
||||
R49rm5NchToZriU95fzsKF/IjLyF+iEXuCvJq8WBdsQuMg7Rxab61aY7Ttq6oORU
|
||||
2NSlvRopmarxCGCOirnLRTpwAJIwtz/ZWVeHq2i8XQwBX1TvE3WQukVF4sqf7laI
|
||||
6vIEFT2OWgm+KjA8POxBi6IIHHpc+nlJbawn3F8Ql+TJpSns1hxlqpbnt27WhR5W
|
||||
SmSE6Ao/iGC1pTpHLJJ6jKpAyqIAoRtWKKdd55y+Rn/wqB6y7gTIu0ZTLksedCY=
|
||||
=ucCm
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,11 +1,11 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/editra/editra-0.7.08.ebuild,v 1.3 2012/09/05 08:40:44 jlec Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/editra/editra-0.7.20.ebuild,v 1.1 2013/01/08 04:31:28 dirtyepic Exp $
|
||||
|
||||
EAPI=2
|
||||
EAPI=5
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
RESTRICT_PYTHON_ABIS="2.5 3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit distutils eutils fdo-mime python
|
||||
|
@ -0,0 +1,13 @@
|
||||
diff --git a/vmblock-only/linux/control.c b/vmblock-only/linux/control.c
|
||||
index 79716bd..2dd83fe 100644
|
||||
--- a/vmblock-only/linux/control.c
|
||||
+++ b/vmblock-only/linux/control.c
|
||||
@@ -293,7 +293,7 @@ ExecuteBlockOp(const char __user *buf, // IN: buffer with name
|
||||
|
||||
retval = i < 0 ? -EINVAL : blockOp(name, blocker);
|
||||
|
||||
- putname(name);
|
||||
+ __putname(name);
|
||||
|
||||
return retval;
|
||||
}
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-modules/vmware-modules-264.5.ebuild,v 1.1 2013/01/07 20:51:20 vadimk Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic linux-info linux-mod user versionator udev
|
||||
|
||||
PV_MAJOR=$(get_major_version)
|
||||
PV_MINOR=$(get_version_component_range 2)
|
||||
|
||||
DESCRIPTION="VMware kernel modules"
|
||||
HOMEPAGE="http://www.vmware.com/"
|
||||
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="pax_kernel"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
|| ( =app-emulation/vmware-player-4.0.${PV_MINOR}*
|
||||
=app-emulation/vmware-workstation-8.0.${PV_MINOR}* )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK="~HIGH_RES_TIMERS"
|
||||
if kernel_is ge 2 6 37 && kernel_is lt 2 6 39; then
|
||||
CONFIG_CHECK="${CONFIG_CHECK} BKL"
|
||||
fi
|
||||
|
||||
linux-info_pkg_setup
|
||||
|
||||
linux-mod_pkg_setup
|
||||
|
||||
VMWARE_GROUP=${VMWARE_GROUP:-vmware}
|
||||
|
||||
VMWARE_MODULE_LIST="vmblock vmci vmmon vmnet vsock"
|
||||
VMWARE_MOD_DIR="${PN}-${PVR}"
|
||||
|
||||
BUILD_TARGETS="auto-build KERNEL_DIR=${KERNEL_DIR} KBUILD_OUTPUT=${KV_OUT_DIR}"
|
||||
|
||||
enewgroup "${VMWARE_GROUP}"
|
||||
filter-flags -mfpmath=sse
|
||||
|
||||
for mod in ${VMWARE_MODULE_LIST}; do
|
||||
MODULE_NAMES="${MODULE_NAMES} ${mod}(misc:${S}/${mod}-only)"
|
||||
done
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
cd "${S}"
|
||||
for mod in ${VMWARE_MODULE_LIST}; do
|
||||
tar -xf /opt/vmware/lib/vmware/modules/source/${mod}.tar
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PV_MAJOR}-makefile-kernel-dir.patch"
|
||||
epatch "${FILESDIR}/${PV_MAJOR}-makefile-include.patch"
|
||||
epatch "${FILESDIR}/${PV_MAJOR}-jobserver.patch"
|
||||
epatch "${FILESDIR}/${PV_MAJOR}-netdevice.patch"
|
||||
use pax_kernel && epatch "${FILESDIR}/hardened.patch"
|
||||
epatch "${FILESDIR}/${PV_MAJOR}-apic.patch"
|
||||
kernel_is ge 3 7 0 && epatch "${FILESDIR}/${PV_MAJOR}-putname.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
local udevrules="${T}/60-vmware.rules"
|
||||
cat > "${udevrules}" <<-EOF
|
||||
KERNEL=="vmci", GROUP="vmware", MODE=660
|
||||
KERNEL=="vmmon", GROUP="vmware", MODE=660
|
||||
KERNEL=="vsock", GROUP="vmware", MODE=660
|
||||
EOF
|
||||
udev_dorules "${udevrules}"
|
||||
}
|
@ -0,0 +1,244 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/vmware-player-4.0.5.893925.ebuild,v 1.1 2013/01/07 20:52:10 vadimk Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils versionator fdo-mime gnome2-utils pax-utils vmware-bundle
|
||||
|
||||
MY_PN="VMware-Player"
|
||||
MY_PV=$(get_version_component_range 1-3)
|
||||
PV_MINOR=$(get_version_component_range 3)
|
||||
PV_BUILD=$(get_version_component_range 4)
|
||||
MY_P="${MY_PN}-${MY_PV}-${PV_BUILD}"
|
||||
|
||||
DESCRIPTION="Emulate a complete PC on your PC without the usual performance overhead of most emulators"
|
||||
HOMEPAGE="http://www.vmware.com/products/player/"
|
||||
BASE_URI="https://softwareupdate.vmware.com/cds/vmw-desktop/player/${MY_PV}/${PV_BUILD}/linux/core/"
|
||||
SRC_URI="
|
||||
x86? ( ${BASE_URI}${MY_P}.i386.bundle.tar )
|
||||
amd64? ( ${BASE_URI}${MY_P}.x86_64.bundle.tar )
|
||||
"
|
||||
|
||||
LICENSE="vmware"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="cups doc +vmware-tools"
|
||||
RESTRICT="strip"
|
||||
|
||||
# vmware-workstation should not use virtual/libc as this is a
|
||||
# precompiled binary package thats linked to glibc.
|
||||
RDEPEND="dev-cpp/cairomm
|
||||
dev-cpp/glibmm:2
|
||||
dev-cpp/gtkmm:2.4
|
||||
dev-cpp/libgnomecanvasmm:2.6
|
||||
dev-cpp/libsexymm
|
||||
dev-cpp/pangomm:1.4
|
||||
dev-libs/atk
|
||||
dev-libs/glib:2
|
||||
dev-libs/libaio
|
||||
dev-libs/libsigc++
|
||||
dev-libs/libxml2
|
||||
=dev-libs/openssl-0.9.8*
|
||||
dev-libs/xmlrpc-c
|
||||
gnome-base/libgnomecanvas
|
||||
gnome-base/libgtop:2
|
||||
gnome-base/librsvg:2
|
||||
gnome-base/orbit
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
media-libs/libart_lgpl
|
||||
=media-libs/libpng-1.2*
|
||||
net-misc/curl
|
||||
cups? ( net-print/cups )
|
||||
sys-devel/gcc
|
||||
sys-fs/fuse
|
||||
sys-libs/glibc
|
||||
sys-libs/zlib
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libgksu
|
||||
x11-libs/libICE
|
||||
x11-libs/libsexy
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXft
|
||||
x11-libs/libXi
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
x11-libs/startup-notification
|
||||
!app-emulation/vmware-workstation"
|
||||
PDEPEND="~app-emulation/vmware-modules-264.${PV_MINOR}
|
||||
vmware-tools? ( app-emulation/vmware-tools )"
|
||||
|
||||
S=${WORKDIR}
|
||||
VM_INSTALL_DIR="/opt/vmware"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
local bundle=${A%.tar}
|
||||
|
||||
local component ; for component in \
|
||||
vmware-player \
|
||||
vmware-player-app \
|
||||
vmware-vmx \
|
||||
vmware-usbarbitrator \
|
||||
vmware-network-editor \
|
||||
vmware-player-setup
|
||||
#vmware-ovftool
|
||||
do
|
||||
vmware-bundle_extract-bundle-component "${bundle}" "${component}" "${S}"
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm -f bin/vmware-modconfig
|
||||
rm -rf lib/modules/binary
|
||||
}
|
||||
|
||||
clean_bundled_libs() {
|
||||
ebegin 'Removing superfluous libraries'
|
||||
# exclude OpenSSL from unbundling until the AES-NI patch gets into the tree
|
||||
# see http://forums.gentoo.org/viewtopic-t-835867.html
|
||||
# must use shipped libgcr.so.0 or else "undefined symbol: gcr_certificate_widget_new"
|
||||
ldconfig -p | sed 's:^\s\+\([^(]*[^( ]\).*=> \(/.*\)$:\1 \2:g;t;d' | fgrep -v 'libcrypto.so.0.9.8
|
||||
libssl.so.0.9.8
|
||||
libgcr.so.0' | while read -r libname libpath ; do
|
||||
dosym "${libpath}" "${VM_INSTALL_DIR}/lib/vmware/lib/${libname}/${libname}"
|
||||
done
|
||||
eend
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# install the binaries
|
||||
into "${VM_INSTALL_DIR}"
|
||||
dobin bin/* || die "failed to install bin"
|
||||
|
||||
# install the libraries
|
||||
insinto "${VM_INSTALL_DIR}"/lib/vmware
|
||||
doins -r lib/*
|
||||
|
||||
# Bug 432918
|
||||
dosym "${VM_INSTALL_DIR}"/lib/vmware/lib/libcrypto.so.0.9.8/libcrypto.so.0.9.8 \
|
||||
"${VM_INSTALL_DIR}"/lib/vmware/lib/libvmwarebase.so.0/libcrypto.so.0.9.8
|
||||
dosym "${VM_INSTALL_DIR}"/lib/vmware/lib/libssl.so.0.9.8/libssl.so.0.9.8 \
|
||||
"${VM_INSTALL_DIR}"/lib/vmware/lib/libvmwarebase.so.0/libssl.so.0.9.8
|
||||
|
||||
# install the ancillaries
|
||||
insinto /usr
|
||||
doins -r share
|
||||
|
||||
if use cups; then
|
||||
exeinto $(cups-config --serverbin)/filter
|
||||
doexe extras/thnucups
|
||||
|
||||
insinto /etc/cups
|
||||
doins -r etc/cups/*
|
||||
fi
|
||||
|
||||
# install documentation
|
||||
if use doc; then
|
||||
dodoc doc/*
|
||||
fi
|
||||
|
||||
exeinto "${VM_INSTALL_DIR}"/lib/vmware/setup
|
||||
doexe vmware-config
|
||||
|
||||
# create symlinks for the various tools
|
||||
local tool ; for tool in thnuclnt vmplayer{,-daemon} \
|
||||
vmware-{acetool,unity-helper,modconfig{,-console},gksu,fuseUI} ; do
|
||||
dosym appLoader "${VM_INSTALL_DIR}"/lib/vmware/bin/"${tool}"
|
||||
done
|
||||
dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmplayer "${VM_INSTALL_DIR}"/bin/vmplayer
|
||||
dosym "${VM_INSTALL_DIR}"/lib/vmware/icu /etc/vmware/icu
|
||||
|
||||
# fix permissions
|
||||
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/{appLoader,fusermount,launcher.sh,mkisofs,vmware-remotemks}
|
||||
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/lib/{wrapper-gtk24.sh,libgksu2.so.0/gksu-run-helper}
|
||||
fperms 4711 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx{,-debug,-stats}
|
||||
|
||||
pax-mark -m "${D}${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx
|
||||
|
||||
# create the environment
|
||||
local envd="${T}/90vmware"
|
||||
cat > "${envd}" <<-EOF
|
||||
PATH='${VM_INSTALL_DIR}/bin'
|
||||
ROOTPATH='${VM_INSTALL_DIR}/bin'
|
||||
EOF
|
||||
doenvd "${envd}" || die
|
||||
|
||||
# create the configuration
|
||||
dodir /etc/vmware || die
|
||||
|
||||
cat > "${D}"/etc/vmware/bootstrap <<-EOF
|
||||
BINDIR='${VM_INSTALL_DIR}/bin'
|
||||
LIBDIR='${VM_INSTALL_DIR}/lib'
|
||||
EOF
|
||||
|
||||
cat > "${D}"/etc/vmware/config <<-EOF
|
||||
bindir = "${VM_INSTALL_DIR}/bin"
|
||||
libdir = "${VM_INSTALL_DIR}/lib/vmware"
|
||||
initscriptdir = "/etc/init.d"
|
||||
authd.fullpath = "${VM_INSTALL_DIR}/sbin/vmware-authd"
|
||||
gksu.rootMethod = "su"
|
||||
VMCI_CONFED = "yes"
|
||||
VMBLOCK_CONFED = "yes"
|
||||
VSOCK_CONFED = "yes"
|
||||
NETWORKING = "yes"
|
||||
player.product.version = "${MY_PV}"
|
||||
product.buildNumber = "${PV_BUILD}"
|
||||
EOF
|
||||
|
||||
# install the init.d script
|
||||
local initscript="${T}/vmware.rc"
|
||||
|
||||
sed -e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
|
||||
"${FILESDIR}/vmware-3.0.rc" > "${initscript}" || die
|
||||
newinitd "${initscript}" vmware || die
|
||||
|
||||
# fill in variable placeholders
|
||||
sed -e "s:@@LIBCONF_DIR@@:${VM_INSTALL_DIR}/lib/vmware/libconf:g" \
|
||||
-i "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf/etc/{gtk-2.0/{gdk-pixbuf.loaders,gtk.immodules},pango/pango{.modules,rc}} || die
|
||||
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \
|
||||
-i "${D}/usr/share/applications/${PN}.desktop" || die
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
"${VM_INSTALL_DIR}"/bin/vmware-networks --postinstall ${PN},old,new
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
|
||||
ewarn "/etc/env.d was updated. Please run:"
|
||||
ewarn "env-update && source /etc/profile"
|
||||
ewarn ""
|
||||
ewarn "Before you can use vmware-player, you must configure a default network setup."
|
||||
ewarn "You can do this by running 'emerge --config ${PN}'."
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
einfo "Stopping ${PN} for safe unmerge"
|
||||
/etc/init.d/vmware stop
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-tools/vmware-tools-8.8.5.893925.ebuild,v 1.1 2013/01/07 20:54:11 vadimk Exp $
|
||||
|
||||
inherit versionator vmware-bundle
|
||||
|
||||
MY_PV="$(replace_version_separator 3 - $PV)"
|
||||
BASE_URI="http://softwareupdate.vmware.com/cds/vmw-desktop/player/4.0.$(get_version_component_range 3)/$(get_version_component_range 4)/linux/packages/"
|
||||
|
||||
DESCRIPTION="VMware Tools for guest operating systems"
|
||||
HOMEPAGE="http://www.vmware.com/products/player/"
|
||||
|
||||
LICENSE="vmware"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
RESTRICT="mirror"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
IUSE_VMWARE_GUEST="freebsd linux netware solaris windows winPre2k"
|
||||
|
||||
VM_INSTALL_DIR="/opt/vmware"
|
||||
|
||||
for guest in ${IUSE_VMWARE_GUEST} ; do
|
||||
SRC_URI+=" vmware_guest_${guest}? (
|
||||
amd64? ( ${BASE_URI}vmware-tools-${guest}-${MY_PV}.x86_64.component.tar )
|
||||
x86? ( ${BASE_URI}vmware-tools-${guest}-${MY_PV}.i386.component.tar )
|
||||
)"
|
||||
IUSE+=" vmware_guest_${guest}"
|
||||
done ; unset guest
|
||||
|
||||
src_unpack() {
|
||||
local arch
|
||||
if use x86 ; then arch='i386'
|
||||
elif use amd64 ; then arch='x86_64'
|
||||
fi
|
||||
local guest ; for guest in ${IUSE_VMWARE_GUEST} ; do
|
||||
if use "vmware_guest_${guest}" ; then
|
||||
local component="vmware-tools-${guest}-${MY_PV}.${arch}.component"
|
||||
unpack "${component}.tar"
|
||||
vmware-bundle_extract-component "${component}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "${VM_INSTALL_DIR}"/lib/vmware/isoimages
|
||||
local guest ; for guest in ${IUSE_VMWARE_GUEST} ; do
|
||||
if use "vmware_guest_${guest}" ; then
|
||||
doins "${guest}".iso{,.sig}
|
||||
fi
|
||||
done
|
||||
}
|
@ -0,0 +1,472 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/vmware-workstation-8.0.5.893925.ebuild,v 1.1 2013/01/07 20:52:58 vadimk Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils versionator fdo-mime gnome2-utils pam vmware-bundle
|
||||
|
||||
MY_PN="VMware-Workstation"
|
||||
MY_PV=$(get_version_component_range 1-3)
|
||||
PV_MINOR=$(get_version_component_range 3)
|
||||
PV_BUILD=$(get_version_component_range 4)
|
||||
MY_P="${MY_PN}-${MY_PV}-${PV_BUILD}"
|
||||
|
||||
DESCRIPTION="Emulate a complete PC on your PC without the usual performance overhead of most emulators"
|
||||
HOMEPAGE="http://www.vmware.com/products/workstation/"
|
||||
BASE_URI="https://softwareupdate.vmware.com/cds/vmw-desktop/ws/${MY_PV}/${PV_BUILD}/linux/core/"
|
||||
SRC_URI="
|
||||
x86? ( ${BASE_URI}${MY_P}.i386.bundle.tar )
|
||||
amd64? ( ${BASE_URI}${MY_P}.x86_64.bundle.tar )
|
||||
"
|
||||
LICENSE="vmware"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="cups doc ovftool server vix vmware-tools"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
# vmware-workstation should not use virtual/libc as this is a
|
||||
# precompiled binary package thats linked to glibc.
|
||||
RDEPEND="dev-cpp/cairomm
|
||||
dev-cpp/glibmm:2
|
||||
dev-cpp/gtkmm:2.4
|
||||
dev-cpp/libgnomecanvasmm
|
||||
dev-cpp/libsexymm
|
||||
dev-cpp/pangomm
|
||||
dev-libs/atk
|
||||
dev-libs/glib:2
|
||||
dev-libs/icu
|
||||
dev-libs/expat
|
||||
dev-libs/libaio
|
||||
dev-libs/libsigc++
|
||||
dev-libs/libxml2
|
||||
=dev-libs/openssl-0.9.8*
|
||||
dev-libs/xmlrpc-c
|
||||
gnome-base/libgnomecanvas
|
||||
gnome-base/libgtop:2
|
||||
gnome-base/librsvg:2
|
||||
gnome-base/orbit
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
media-libs/libart_lgpl
|
||||
=media-libs/libpng-1.2*
|
||||
media-libs/libpng
|
||||
net-misc/curl
|
||||
cups? ( net-print/cups )
|
||||
sys-devel/gcc
|
||||
sys-fs/fuse
|
||||
sys-libs/glibc
|
||||
sys-libs/zlib
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libgksu
|
||||
x11-libs/libICE
|
||||
x11-libs/libsexy
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXft
|
||||
x11-libs/libXi
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
x11-libs/startup-notification
|
||||
x11-themes/hicolor-icon-theme
|
||||
!app-emulation/vmware-player"
|
||||
PDEPEND="~app-emulation/vmware-modules-264.${PV_MINOR}
|
||||
vmware-tools? ( app-emulation/vmware-tools )"
|
||||
|
||||
S=${WORKDIR}
|
||||
VM_INSTALL_DIR="/opt/vmware"
|
||||
VM_DATA_STORE_DIR="/var/lib/vmware/Shared VMs"
|
||||
VM_HOSTD_USER="root"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
local bundle=${A%.tar}
|
||||
local component; for component in \
|
||||
vmware-vmx \
|
||||
vmware-player-app \
|
||||
vmware-player-setup \
|
||||
vmware-workstation \
|
||||
vmware-network-editor \
|
||||
vmware-network-editor-ui \
|
||||
vmware-usbarbitrator
|
||||
do
|
||||
vmware-bundle_extract-bundle-component "${bundle}" "${component}" "${S}"
|
||||
done
|
||||
|
||||
if use server; then
|
||||
vmware-bundle_extract-bundle-component "${bundle}" vmware-workstation-server #"${S}"
|
||||
fi
|
||||
|
||||
if use vix; then
|
||||
vmware-bundle_extract-bundle-component "${bundle}" vmware-vix-core vmware-vix
|
||||
vmware-bundle_extract-bundle-component "${bundle}" vmware-vix-lib-Workstation800andvSphere500 vmware-vix
|
||||
fi
|
||||
if use ovftool; then
|
||||
vmware-bundle_extract-bundle-component "${bundle}" vmware-ovftool
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm -f bin/vmware-modconfig
|
||||
rm -rf lib/modules/binary
|
||||
if use server; then
|
||||
rm -f vmware-workstation-server/bin/{openssl,configure-hostd.sh}
|
||||
fi
|
||||
|
||||
find "${S}" -name '*.a' -delete
|
||||
|
||||
# clean_bundled_libs
|
||||
}
|
||||
|
||||
clean_bundled_libs() {
|
||||
ebegin 'Removing superfluous libraries'
|
||||
cd lib/lib || die
|
||||
ldconfig -p | \
|
||||
sed 's:^\s\+\([^(]*[^( ]\).*=> /.*$:\1:g;t;d' | \
|
||||
fgrep -vx 'libcrypto.so.0.9.8
|
||||
libssl.so.0.9.8i
|
||||
libgcr.so.0
|
||||
libglib-2.0.so.0' |
|
||||
xargs -d'\n' -r rm -rf
|
||||
eend
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local major_minor=$(get_version_component_range 1-2 "${PV}")
|
||||
local major_minor_revision=$(get_version_component_range 1-3 "${PV}")
|
||||
local build=$(get_version_component_range 4 "${PV}")
|
||||
|
||||
# install the binaries
|
||||
into "${VM_INSTALL_DIR}"
|
||||
dobin bin/*
|
||||
|
||||
# install the libraries
|
||||
insinto "${VM_INSTALL_DIR}"/lib/vmware
|
||||
doins -r lib/*
|
||||
|
||||
# install the ancillaries
|
||||
insinto /usr
|
||||
doins -r share
|
||||
|
||||
if use cups; then
|
||||
exeinto $(cups-config --serverbin)/filter
|
||||
doexe extras/thnucups
|
||||
|
||||
insinto /etc/cups
|
||||
doins -r etc/cups/*
|
||||
fi
|
||||
|
||||
insinto /etc/xdg
|
||||
doins -r etc/xdg/*
|
||||
|
||||
# install documentation
|
||||
doman man/man1/vmware.1.gz
|
||||
|
||||
if use doc; then
|
||||
dodoc doc/*
|
||||
fi
|
||||
|
||||
insinto "${VM_INSTALL_DIR}"/lib/vmware/setup
|
||||
doins vmware-config
|
||||
|
||||
# install vmware workstation server
|
||||
if use server; then
|
||||
dosbin sbin/*
|
||||
|
||||
cd "${S}"/vmware-workstation-server
|
||||
|
||||
# install binaries
|
||||
into "${VM_INSTALL_DIR}"/lib/vmware
|
||||
dobin bin/*
|
||||
|
||||
dobin "${FILESDIR}"/configure-hostd.sh
|
||||
|
||||
dobin "${FILESDIR}"/configure-hostd.sh
|
||||
|
||||
# install the libraries
|
||||
insinto "${VM_INSTALL_DIR}"/lib/vmware/lib
|
||||
doins -r lib/*
|
||||
|
||||
into "${VM_INSTALL_DIR}"
|
||||
for tool in vmware-{hostd,vim-cmd,wssc-adminTool} ; do
|
||||
cat > "${T}/${tool}" <<-EOF
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
. /etc/vmware/bootstrap
|
||||
|
||||
exec "${VM_INSTALL_DIR}/lib/vmware/lib/wrapper-gtk24.sh" \\
|
||||
"${VM_INSTALL_DIR}/lib/vmware/lib" \\
|
||||
"${VM_INSTALL_DIR}/lib/vmware/bin/${tool}" \\
|
||||
"${VM_INSTALL_DIR}/lib/vmware/libconf" "\$@"
|
||||
EOF
|
||||
dobin "${T}/${tool}"
|
||||
done
|
||||
|
||||
insinto "${VM_INSTALL_DIR}"/lib/vmware
|
||||
doins -r hostd
|
||||
|
||||
# create the configuration
|
||||
insinto /etc/vmware/hostd
|
||||
doins -r config/etc/vmware/hostd/*
|
||||
doins -r etc/vmware/hostd/*
|
||||
|
||||
insinto /etc/vmware/ssl
|
||||
doins etc/vmware/ssl/*
|
||||
|
||||
# pam
|
||||
pamd_mimic_system vmware-authd auth account
|
||||
|
||||
# create directory for shared virtual machines.
|
||||
keepdir "${VM_DATA_STORE_DIR}"
|
||||
keepdir /var/log/vmware
|
||||
fi
|
||||
|
||||
# install vmware-vix
|
||||
if use vix; then
|
||||
cd "${S}"/vmware-vix
|
||||
|
||||
# install the binary
|
||||
into "${VM_INSTALL_DIR}"
|
||||
dobin bin/*
|
||||
|
||||
# install the libraries
|
||||
insinto "${VM_INSTALL_DIR}"/lib/vmware-vix
|
||||
doins -r lib/*
|
||||
|
||||
dosym vmware-vix/libvixAllProducts.so "${VM_INSTALL_DIR}"/lib/libbvixAllProducts.so
|
||||
|
||||
# install headers
|
||||
insinto /usr/include/vmware-vix
|
||||
doins include/*
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/*
|
||||
fi
|
||||
fi
|
||||
|
||||
# install ovftool
|
||||
if use ovftool; then
|
||||
cd "${S}"
|
||||
|
||||
insinto "${VM_INSTALL_DIR}"/lib/vmware-ovftool
|
||||
doins -r vmware-ovftool/*
|
||||
|
||||
chmod 0755 "${D}${VM_INSTALL_DIR}"/lib/vmware-ovftool/{ovftool,ovftool.bin}
|
||||
dosym "${D}${VM_INSTALL_DIR}"/lib/vmware-ovftool/ovftool "${VM_INSTALL_DIR}"/bin/ovftool
|
||||
fi
|
||||
|
||||
# create symlinks for the various tools
|
||||
local tool ; for tool in thnuclnt vmware vmplayer{,-daemon} \
|
||||
vmware-{acetool,enter-serial,gksu,fuseUI,modconfig{,-console},netcfg,tray,unity-helper} ; do
|
||||
dosym appLoader "${VM_INSTALL_DIR}"/lib/vmware/bin/"${tool}"
|
||||
done
|
||||
dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmplayer "${VM_INSTALL_DIR}"/bin/vmplayer
|
||||
dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware "${VM_INSTALL_DIR}"/bin/vmware
|
||||
dosym "${VM_INSTALL_DIR}"/lib/vmware/icu /etc/vmware/icu
|
||||
|
||||
# fix permissions
|
||||
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/{appLoader,fusermount,launcher.sh,mkisofs,vmware-remotemks}
|
||||
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/lib/{wrapper-gtk24.sh,libgksu2.so.0/gksu-run-helper}
|
||||
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/setup/vmware-config
|
||||
fperms 4711 "${VM_INSTALL_DIR}"/bin/vmware-mount
|
||||
fperms 4711 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx{,-debug,-stats}
|
||||
if use server; then
|
||||
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-{hostd,vim-cmd,wssc-adminTool}
|
||||
fperms 4711 "${VM_INSTALL_DIR}"/sbin/vmware-authd
|
||||
fperms 1777 "${VM_DATA_STORE_DIR}"
|
||||
fi
|
||||
if use vix; then
|
||||
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware-vix/setup/vmware-config
|
||||
fi
|
||||
|
||||
# create the environment
|
||||
local envd="${T}/90vmware"
|
||||
cat > "${envd}" <<-EOF
|
||||
PATH='${VM_INSTALL_DIR}/bin'
|
||||
ROOTPATH='${VM_INSTALL_DIR}/bin'
|
||||
EOF
|
||||
doenvd "${envd}"
|
||||
|
||||
# create the configuration
|
||||
dodir /etc/vmware
|
||||
|
||||
cat > "${D}"/etc/vmware/bootstrap <<-EOF
|
||||
BINDIR='${VM_INSTALL_DIR}/bin'
|
||||
LIBDIR='${VM_INSTALL_DIR}/lib'
|
||||
EOF
|
||||
|
||||
cat > "${D}"/etc/vmware/config <<-EOF
|
||||
bindir = "${VM_INSTALL_DIR}/bin"
|
||||
libdir = "${VM_INSTALL_DIR}/lib/vmware"
|
||||
initscriptdir = "/etc/init.d"
|
||||
authd.fullpath = "${VM_INSTALL_DIR}/sbin/vmware-authd"
|
||||
gksu.rootMethod = "su"
|
||||
VMCI_CONFED = "yes"
|
||||
VMBLOCK_CONFED = "yes"
|
||||
VSOCK_CONFED = "yes"
|
||||
NETWORKING = "yes"
|
||||
player.product.version = "${major_minor_revision}"
|
||||
product.version = "${major_minor_revision}"
|
||||
product.buildNumber = "${build}"
|
||||
product.name = "VMware Workstation"
|
||||
workstation.product.version = "${major_minor_revision}"
|
||||
EOF
|
||||
|
||||
if use vix; then
|
||||
cat >> "${D}"/etc/vmware/config <<-EOF
|
||||
vmware.fullpath = "${VM_INSTALL_DIR}/bin/vmware"
|
||||
vix.libdir = "${VM_INSTALL_DIR}/lib/vmware-vix"
|
||||
vix.config.version = "1"
|
||||
EOF
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
cat >> "${D}"/etc/vmware/config <<-EOF
|
||||
authd.client.port = "902"
|
||||
authd.proxy.nfc = "vmware-hostd:ha-nfc"
|
||||
authd.soapserver = "TRUE"
|
||||
EOF
|
||||
fi
|
||||
|
||||
# install the init.d script
|
||||
local initscript="${T}/vmware.rc"
|
||||
sed -e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
|
||||
"${FILESDIR}/vmware-${major_minor}.rc" > ${initscript}
|
||||
newinitd "${initscript}" vmware
|
||||
|
||||
if use server; then
|
||||
# install the init.d script
|
||||
local initscript="${T}/vmware-workstation-server.rc"
|
||||
sed -e "s:@@ETCDIR@@:/etc/vmware:g" \
|
||||
-e "s:@@PREFIX@@:${VM_INSTALL_DIR}:g" \
|
||||
-e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
|
||||
-e "s:@@LIBDIR@@:${VM_INSTALL_DIR}/lib/vmware:g" \
|
||||
"${FILESDIR}/vmware-server-8.0.rc" > ${initscript}
|
||||
newinitd "${initscript}" vmware-workstation-server
|
||||
fi
|
||||
|
||||
# fill in variable placeholders
|
||||
sed -e "s:@@LIBCONF_DIR@@:${VM_INSTALL_DIR}/lib/vmware/libconf:g" \
|
||||
-i "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf/etc/{gtk-2.0/{gdk-pixbuf.loaders,gtk.immodules},pango/pango{.modules,rc}}
|
||||
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmware:g" \
|
||||
-i "${D}/usr/share/applications/${PN}.desktop"
|
||||
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \
|
||||
-i "${D}/usr/share/applications/vmware-player.desktop"
|
||||
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmware-netcfg:g" \
|
||||
-i "${D}/usr/share/applications/vmware-netcfg.desktop"
|
||||
|
||||
if use server; then
|
||||
# Configuration for vmware-workstation-server
|
||||
local hostdUser="${VM_HOSTD_USER:-root}"
|
||||
sed -e "/ACEDataUser/s:root:${hostdUser}:g" \
|
||||
-i "${D}/etc/vmware/hostd/authorization.xml" || die
|
||||
|
||||
# Shared VMs Path: [standard].
|
||||
sed -e "s:##{DS_NAME}##:standard:g" \
|
||||
-e "s:##{DS_PATH}##:${VM_DATA_STORE_DIR}:g" \
|
||||
-i "${D}/etc/vmware/hostd/datastores.xml" || die
|
||||
|
||||
sed -e "s:##{HTTP_PORT}##:-1:g" \
|
||||
-e "s:##{HTTPS_PORT}##:443:g" \
|
||||
-e "s:##{PIPE_PREFIX}##:/var/run/vmware/:g" \
|
||||
-i "${D}/etc/vmware/hostd/proxy.xml" || die
|
||||
|
||||
# See vmware-workstation-server.py for more details.
|
||||
sed -e "s:##{BUILD_CFGDIR}##:/etc/vmware/hostd/:g" \
|
||||
-e "s:##{CFGALTDIR}##:/etc/vmware/hostd/:g" \
|
||||
-e "s:##{CFGDIR}##:/etc/vmware/:g" \
|
||||
-e "s:##{ENABLE_AUTH}##:true:g" \
|
||||
-e "s:##{HOSTDMODE}##:ws:g" \
|
||||
-e "s:##{HOSTD_CFGDIR}##:/etc/vmware/hostd/:g" \
|
||||
-e "s:##{HOSTD_MOCKUP}##:false:g" \
|
||||
-e "s:##{LIBDIR}##:${VM_INSTALL_DIR}/lib/vmware:g" \
|
||||
-e "s:##{LIBDIR_INSTALLED}##:${VM_INSTALL_DIR}/lib/vmware/:g" \
|
||||
-e "s:##{LOGDIR}##:/var/log/vmware/:g" \
|
||||
-e "s:##{LOGLEVEL}##:verbose:g" \
|
||||
-e "s:##{MOCKUP}##:mockup-host-config.xml:g" \
|
||||
-e "s:##{PLUGINDIR}##:./:g" \
|
||||
-e "s:##{SHLIB_PREFIX}##:lib:g" \
|
||||
-e "s:##{SHLIB_SUFFIX}##:.so:g" \
|
||||
-e "s:##{USE_BLKLISTSVC}##:false:g" \
|
||||
-e "s:##{USE_CBRCSVC}##:false:g" \
|
||||
-e "s:##{USE_CIMSVC}##:false:g" \
|
||||
-e "s:##{USE_DIRECTORYSVC}##:false:g" \
|
||||
-e "s:##{USE_DIRECTORYSVC_MOCKUP}##:false:g" \
|
||||
-e "s:##{USE_DYNAMIC_PLUGIN_LOADING}##:false:g" \
|
||||
-e "s:##{USE_DYNAMO}##:false:g" \
|
||||
-e "s:##{USE_DYNSVC}##:false:g" \
|
||||
-e "s:##{USE_GUESTSVC}##:false:g" \
|
||||
-e "s:##{USE_HBRSVC}##:false:g" \
|
||||
-e "s:##{USE_HBRSVC_MOCKUP}##:false:g" \
|
||||
-e "s:##{USE_HOSTSVC_MOCKUP}##:false:g" \
|
||||
-e "s:##{USE_HTTPNFCSVC}##:false:g" \
|
||||
-e "s:##{USE_HTTPNFCSVC_MOCKUP}##:false:g" \
|
||||
-e "s:##{USE_LICENSESVC_MOCKUP}##:false:g" \
|
||||
-e "s:##{USE_NFCSVC}##:true:g" \
|
||||
-e "s:##{USE_NFCSVC_MOCKUP}##:false:g" \
|
||||
-e "s:##{USE_OVFMGRSVC}##:true:g" \
|
||||
-e "s:##{USE_PARTITIONSVC}##:false:g" \
|
||||
-e "s:##{USE_SECURESOAP}##:false:g" \
|
||||
-e "s:##{USE_SNMPSVC}##:false:g" \
|
||||
-e "s:##{USE_SOLO_MOCKUP}##:false:g" \
|
||||
-e "s:##{USE_STATSSVC_MOCKUP}##:false:g" \
|
||||
-e "s:##{USE_VCSVC_MOCKUP}##:false:g" \
|
||||
-e "s:##{USE_VDISKSVC}##:false:g" \
|
||||
-e "s:##{USE_VDISKSVC_MOCKUP}##:false:g" \
|
||||
-e "s:##{USE_VMSVC_MOCKUP}##:false:g" \
|
||||
-e "s:##{VM_INVENTORY}##:vmInventory.xml:g" \
|
||||
-e "s:##{VM_RESOURCES}##:vmResources.xml:g" \
|
||||
-e "s:##{WEBSERVER_PORT_ENTRY}##::g" \
|
||||
-e "s:##{WORKINGDIR}##:./:g" \
|
||||
-i "${D}/etc/vmware/hostd/config.xml" || die
|
||||
|
||||
sed -e "s:##{ENV_LOCATION}##:/etc/vmware/hostd/env/:g" \
|
||||
-i "${D}/etc/vmware/hostd/environments.xml" || die
|
||||
|
||||
# @@VICLIENT_URL@@=XXX
|
||||
sed -e "s:@@AUTHD_PORT@@:902:g" \
|
||||
-i "${D}${VM_INSTALL_DIR}/lib/vmware/hostd/docroot/client/clients.xml" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
"${VM_INSTALL_DIR}"/bin/vmware-networks --postinstall ${PN},old,new
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
|
||||
ewarn "/etc/env.d was updated. Please run:"
|
||||
ewarn "env-update && source /etc/profile"
|
||||
ewarn ""
|
||||
ewarn "Before you can use vmware workstation, you must configure a default network setup."
|
||||
ewarn "You can do this by running 'emerge --config ${PN}'."
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
einfo "Stopping ${PN} for safe unmerge"
|
||||
/etc/init.d/vmware stop
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,7 +1,19 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX 1.0.6-support-more-files.patch 1196 SHA256 8fdb0a803876b5dbd50f5f6e5a712954b71dd19d386842df5f05835b68ff5533 SHA512 029a2575fe477cc26f9067cc5d551bf0f5ae2d67d336990fa4f118818011a6cc50dfd7b76057a482aa018f3cce8c4d200c98c82b457d1b797b5838ae2633d384 WHIRLPOOL 7543050adfa1829c9ca98d4b9a7b7b2d0dbf8d407059ac1e3344fe6befecfedd6af071626a2eb60a9016eec0d19603769e1e1eff3400ec43db48f3cbf2c40c11
|
||||
AUX conf.configure 530 SHA256 7dec9e1586e095e560cae39002957c3ac45a237bcce51c6ad8fb24ec123451ba SHA512 3db952ed800a959f5a69c52c0b1b2c36e3374547469fc437f82cc30271f813cf0ddec8719b4a20b4fedb3df411f9e526cef5cfec5823b663cce1ef8a2270955b WHIRLPOOL a564cd0132942396d413428d8b14d7c1742e23f91b009f8ebff5dcfeaa69039f22edbe1dae23b1e32592145486ad74e693c3e283fd70141fd695a87f73375503
|
||||
AUX grc-1.4-ipv6.patch 408 SHA256 53eedb9312956fa57c996866bde2e31725395f0edc8b504a519b9f65666340c7 SHA512 e84fe2b3de351ab24a86e97004b83e5494cde1147c447f3ed2cb354bdb7173180738c8b760efea780d71d536473904f97d9c04ff86c19e947b47ca1f963c0dc0 WHIRLPOOL 4d54615789c733b3f8ef51b660e0732642c1893dbd8f41b03658b783bf68c92150b2c8ddd2a401afb80f7cdf43feac562efdc492e87b51f1ba6c0d5a19aeb76d
|
||||
AUX grc-1.4-support-more-files.patch 901 SHA256 9a476ce4f19a2002bcd3206b1015ba31c0d74188d8bbe703643d1b6cfc72c31f SHA512 0483c4d7adea1d813f62f7485845b470415f032726aae456fabab27486e26707931b70a12671b3e291528688e1546cb89d2cca7839b40cc2f365a6760d39edd7 WHIRLPOOL ef4fabd550e3588fb88a4b29af2ebbee37819881f350dc193be1e859cb6234593138b06f183d8243446093c2e258c5c989411613eefa5b6803f65c796e76bc1c
|
||||
DIST grc_1.4.tar.gz 24302 SHA256 bbfdc5ee074a857a8cff52f4b1941527c1dd192e1c2b45f69c624ce9fad4f4d0 SHA512 0f9f8eeebdec6da2bf6dadd558c06ce810204fb73cf74e81a525f19f64669a0f9053516dad3dd214142801a27e889b087cba8fc9ba6eab74e51ccefb01f6a9ed WHIRLPOOL f3fe1933ad7fec83eab3a7eda25687fa4a5af2fa8bc63d969559f380b4801882ebb1c802b57e8f8955e1726e2b5474c992a52cce183bb9be0c66874779e2385a
|
||||
EBUILD grc-1.4-r1.ebuild 955 SHA256 ea6d458c76088827e9e22c912ecf6c3376bb8c1c23645815f57fd2c332ea1e9c SHA512 a416d6a56710ea521bb4f7faf3e0c0f2ba97ec386c57335afeedc94ace620d66ad33ebc1348751eafd52f3aefcfc57def2d31a3cec02096763bffcdd712d58d1 WHIRLPOOL 1818cbbaebae4365faaf00aa1787bea0e85b47c6a060a119d2f59628d4820ae55e0fd20b6c20df6fa7be0bcc86d8bba9b5f7b79d119d26c84cc3cea6cf614686
|
||||
EBUILD grc-1.4.ebuild 843 SHA256 66bd47791de45781e3cec7d10702cefe8bb6958c37d0e2936ef0b7a24f7a3eb8 SHA512 8e33c503350f7f41b850d19b19524a1848d5dd7c5fb6fa28d947c462a154bfa9e1158d3785a126cac36173ca8d2fb209a0e8e26437ef2402c215f076edae6683 WHIRLPOOL 1a6f32a3dbbdb1181376e50b0b347e6f111bb50f1b6d314ef7e9eef5525170b690953ff7a9cf7467366ac02e59b7c8b8a1ce0fd6ffb746acd6c2aa4516f8848c
|
||||
MISC ChangeLog 3291 SHA256 cfd5f6e41f45e300f3e72f5ebd82ec835d0b3c39999d93cbe49f11cdddf354e5 SHA512 3046d9f2c78fd00871f770b1c85b89e86a7ca386b65e2a0da400303bffedf59b804ddf4e9dc1a95ef96af3127fa0eecfe271e13b9f3b195d1dffb500d1214fbe WHIRLPOOL 4b8c26101a62b05107ec9bd17c6d6269349aadd43547a8b517295b5f8e857c12d309c068fde7cbd7f6a4afba4090b7828262a06a01578172722995bc26cf9c94
|
||||
MISC metadata.xml 165 SHA256 75ca85c472d4181ae0de529c83826baaebe75d9e750ee6621758b5096bceffcd SHA512 d99326d50355f1fa041618844027c043a114e7e63dec3c2d6c0c6023a5863bde8e62706bed974a394e21ce2e64ddf5539750c30e5913dacb39ed37cfd62e6eb3 WHIRLPOOL bb8b8cc1c4d9312dfe9015934c3c315a1ea6b9b6da2db22b231b434fd144ee7690ec2e242a1fba9c8e601610dc5cc9061c1995dd33c5b59c78a19a71f71d7a76
|
||||
MISC ChangeLog 3483 SHA256 3d08f81029e839b97c4fe162496b4a0bc45e79a320806b0c46875e5d41f5675a SHA512 5aa30b06a6c55d9b611aa7fa7e88f58fa170521095fe09633305e64d3eb62d2306147ad689776c5ddc8469ae0f9789433f752d58a523fd7c4133eacfd697efd0 WHIRLPOOL c2eefadaf1f7c07bd008824d29e8041d6d5c175a0566dec54d6d0f8bfa94daab427fac6acf6a9fa998976afc0742c71b8f3ecee7e682851c20c73026660ea398
|
||||
MISC metadata.xml 166 SHA256 064eb80cc86913e2a47d1088f1b0ebd5b64b5dab1c73d38b8501cd77891cfbbf SHA512 3fc05bf28a906b223e9bb5baeac755dd7e4edb755b5a6c054c3e4d46d294f28df948e1195e71d5a836783daefafa53fe1417aacc0ba17dd49e9b10d51e99c275 WHIRLPOOL 814a3f6a650e4373ac90ba43969b8dab3215f5da936ef5e180fe134adc05a571dc1390c80be173797c421de7f22488b19979353f7aa52536bbfcf6e0541bf748
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlDsMzcACgkQgAnW8HDreRadKQCfastLuCds2fP0r3DBN458B3pp
|
||||
D+MAoJ3KBshHEXCqU7X7bh7VIQ+OIqy4
|
||||
=VzYl
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,16 @@
|
||||
conf.netstat | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/conf.netstat b/conf.netstat
|
||||
index 2dd96e3..ec2779b 100644
|
||||
--- a/conf.netstat
|
||||
+++ b/conf.netstat
|
||||
@@ -19,7 +19,7 @@ regexp=^IPX.*[\dABCDEF]+:[\dABCDEF]+
|
||||
colours=green
|
||||
=======
|
||||
# protocols
|
||||
-regexp=(^tcp|^udp|^unix|^IPX|STREAM|DGRAM)
|
||||
+regexp=(^tcp6|^tcp|^udp6|^udp|^unix|^IPX|STREAM|DGRAM)
|
||||
colours=bold blue
|
||||
=======
|
||||
# status
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/grc/grc-1.4-r1.ebuild,v 1.1 2013/01/08 14:54:46 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} pypy{1_8,1_9} )
|
||||
|
||||
inherit eutils python-r1
|
||||
|
||||
DESCRIPTION="Generic Colouriser beautifies your logfiles or output of commands"
|
||||
HOMEPAGE="http://kassiopeia.juls.savba.sk/~garabik/software/grc.html"
|
||||
SRC_URI="http://kassiopeia.juls.savba.sk/~garabik/software/${PN}/${P/-/_}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}"
|
||||
DEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-support-more-files.patch \
|
||||
"${FILESDIR}"/${P}-ipv6.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl python_doscript grc grcat
|
||||
|
||||
insinto /usr/share/grc
|
||||
doins conf.* "${FILESDIR}"/conf.*
|
||||
|
||||
insinto /etc
|
||||
doins grc.conf
|
||||
|
||||
dodoc README INSTALL TODO CHANGES CREDITS
|
||||
doman grc.1 grcat.1
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>shell-tools</herd>
|
||||
<herd>shell-tools</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-1.7-r1.ebuild,v 1.1 2013/01/08 15:12:29 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit bash-completion-r1
|
||||
|
||||
DESCRIPTION="Terminal multiplexer"
|
||||
HOMEPAGE="http://tmux.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/tmux/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="vim-syntax"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/libevent-2.0.10
|
||||
sys-libs/ncurses"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
vim-syntax? ( || (
|
||||
app-editors/vim
|
||||
app-editors/gvim ) )"
|
||||
|
||||
DOCS=( CHANGES FAQ NOTES TODO )
|
||||
|
||||
pkg_setup() {
|
||||
if has_version "<app-misc/tmux-1.7"; then
|
||||
echo
|
||||
ewarn "Some configuration options changed in this release."
|
||||
ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
|
||||
ewarn
|
||||
ewarn "WARNING: after updating to ${P} you will _not_ be able to connect to any"
|
||||
ewarn "running 1.6 tmux server instances. You'll have to use an existing client to"
|
||||
ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
|
||||
ewarn "to temporarily downgrade to tmux 1.6 to access them."
|
||||
echo
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# look for config file in the prefix
|
||||
sed -i -e '/SYSTEM_CFG/s:"/etc:"'"${EPREFIX}"'/etc:' tmux.h || die
|
||||
# and don't just add some includes
|
||||
sed -i -e 's:-I/usr/local/include::' Makefile.in || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
newbashcomp examples/bash_completion_tmux.sh ${PN}
|
||||
|
||||
docinto examples
|
||||
dodoc examples/*.conf
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins examples/tmux.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${FILESDIR}"/tmux.vim
|
||||
fi
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-3.1.2.ebuild,v 1.1 2013/01/08 15:46:15 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="a text-based personal organizer"
|
||||
HOMEPAGE="http://calcurse.org"
|
||||
SRC_URI="http://calcurse.org/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
CC_LINGUAS="de en es fr nl pt_BR ru"
|
||||
for lingua in ${CC_LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
RDEPEND="sys-libs/ncurses"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( sys-libs/libfaketime )"
|
||||
|
||||
DOCS=( AUTHORS NEWS README TODO )
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/squirrelsh/squirrelsh-1.2.7.ebuild,v 1.1 2013/01/08 03:52:04 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="An advanced, cross-platform object oriented scripting shell based
|
||||
on the squirrel scripting language"
|
||||
HOMEPAGE="http://squirrelsh.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-libs/libpcre"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-rename-LDFLAGS.patch
|
||||
epatch "${FILESDIR}"/${PN}-no-strip.patch
|
||||
epatch "${FILESDIR}"/${PN}-fix-in_LDFLAGS.patch
|
||||
epatch "${FILESDIR}"/${PN}-remove-forced-abi.patch
|
||||
epatch "${FILESDIR}"/${PN}-no-docs.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
#This package uses a custom written configure script
|
||||
./configure --prefix="${D}"/usr \
|
||||
--with-cc="$(tc-getCC)" \
|
||||
--with-cpp="$(tc-getCXX)" \
|
||||
--with-linker="$(tc-getCXX)" \
|
||||
--libdir=/usr/"$(get_libdir)" \
|
||||
--with-pcre="system" \
|
||||
--with-squirrel="local" \
|
||||
--with-mime=no || die "configure failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doman doc/${PN}.1
|
||||
dodoc HISTORY INSTALL README
|
||||
use doc && dodoc doc/*.pdf
|
||||
}
|
@ -1,159 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/cegui-0.7.7.ebuild,v 1.3 2012/12/07 23:38:23 hasufell Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils
|
||||
|
||||
MY_P=CEGUI-${PV}
|
||||
MY_D=CEGUI-DOCS-${PV}
|
||||
DESCRIPTION="Crazy Eddie's GUI System"
|
||||
HOMEPAGE="http://www.cegui.org.uk/"
|
||||
SRC_URI="mirror://sourceforge/crayzedsgui/${MY_P}.tar.gz
|
||||
doc? ( mirror://sourceforge/crayzedsgui/${MY_D}.tar.gz )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 -ppc ~x86"
|
||||
IUSE="bidi debug devil doc examples expat gtk irrlicht lua ogre opengl pcre static-libs tinyxml truetype xerces-c +xml zip"
|
||||
REQUIRED_USE="|| ( expat tinyxml xerces-c xml )" # bug 362223
|
||||
|
||||
RDEPEND="bidi? ( dev-libs/fribidi )
|
||||
devil? ( media-libs/devil )
|
||||
expat? ( dev-libs/expat )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
irrlicht? ( <dev-games/irrlicht-1.8 )
|
||||
lua? (
|
||||
dev-lang/lua
|
||||
dev-lua/toluapp
|
||||
)
|
||||
ogre? ( >=dev-games/ogre-1.7 )
|
||||
opengl? (
|
||||
virtual/opengl
|
||||
virtual/glu
|
||||
media-libs/freeglut
|
||||
media-libs/glew
|
||||
)
|
||||
pcre? ( dev-libs/libpcre )
|
||||
tinyxml? ( dev-libs/tinyxml )
|
||||
xerces-c? ( dev-libs/xerces-c )
|
||||
xml? ( dev-libs/libxml2 )
|
||||
zip? ( sys-libs/zlib[minizip] )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
S2=${WORKDIR}/${MY_P}_static
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cp -a "${S}" "${S2}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# use minizip from zlib rather than local code
|
||||
if use zip ; then
|
||||
sed -i \
|
||||
-e '/CEGUI_BUILD_MINIZIP_RESOURCE_PROVIDER_TRUE/{
|
||||
s:minizip/ioapi.cpp minizip/unzip.cpp::;
|
||||
s:libCEGUIBase@cegui_bsfx@_la-ioapi.lo::;
|
||||
s:libCEGUIBase@cegui_bsfx@_la-unzip.lo::
|
||||
}' \
|
||||
-e '/^ZLIB_LIBS/s:=.*:= -lminizip:' \
|
||||
cegui/src/Makefile.in || die
|
||||
fi
|
||||
rm -rf cegui/src/minizip
|
||||
|
||||
if use examples ; then
|
||||
cp -r Samples Samples.clean
|
||||
rm -f $(find Samples.clean -name 'Makefile*')
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable bidi bidirectional-text)
|
||||
$(use_enable debug)
|
||||
$(use_enable devil)
|
||||
$(use_enable examples samples)
|
||||
$(use_enable expat)
|
||||
$(use_enable truetype freetype)
|
||||
$(use_enable irrlicht irrlicht-renderer)
|
||||
$(use_enable lua lua-module)
|
||||
$(use_enable lua toluacegui)
|
||||
--enable-external-toluapp
|
||||
$(use_enable ogre ogre-renderer)
|
||||
$(use_enable opengl opengl-renderer)
|
||||
--enable-external-glew
|
||||
$(use_enable pcre)
|
||||
$(use_enable tinyxml)
|
||||
--enable-external-tinyxml
|
||||
$(use_enable xerces-c)
|
||||
$(use_enable xml libxml)
|
||||
$(use_enable zip minizip-resource-provider)
|
||||
--enable-null-renderer
|
||||
--enable-stb
|
||||
--enable-tga
|
||||
--disable-corona
|
||||
--disable-dependency-tracking
|
||||
--disable-freeimage
|
||||
--disable-rapidxml
|
||||
--disable-samples
|
||||
--disable-silly
|
||||
$(use_with gtk gtk2)
|
||||
)
|
||||
|
||||
econf \
|
||||
"${myconf[@]}" \
|
||||
--disable-static \
|
||||
--enable-shared
|
||||
|
||||
if use static-libs ; then
|
||||
cd "${S2}" || die
|
||||
econf \
|
||||
"${myconf[@]}" \
|
||||
--enable-static \
|
||||
--disable-shared
|
||||
fi
|
||||
|
||||
# we are doing a double build here cause
|
||||
# the build system does not permit
|
||||
# "--enable-static --enable-shared"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use static-libs ; then
|
||||
emake -C "${S2}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
default
|
||||
|
||||
if use doc ; then
|
||||
emake html || die
|
||||
dohtml -r doc/doxygen/html/* || die
|
||||
fi
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}/Samples
|
||||
doins -r Samples.clean/* || die
|
||||
fi
|
||||
|
||||
if use static-libs ; then
|
||||
find "${S2}" -name "*CEGUI*.a" -exec dolib.a '{}' \;
|
||||
|
||||
# fix/merge .la files
|
||||
for i in `find "${D}" -name "*.la"` ; do
|
||||
sed \
|
||||
-e "s/old_library=''/old_library='$(basename ${i%.la}).a'/" \
|
||||
-i ${i} || die "fixing .la files failed"
|
||||
done
|
||||
else
|
||||
# remove .la files
|
||||
prune_libtool_files --all
|
||||
fi
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ispc/ispc-1.2.2.ebuild,v 1.3 2012/06/19 12:22:33 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
GITHUB_ID="2c75ac1"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Intel SPMD Program Compiler"
|
||||
HOMEPAGE="http://ispc.github.com/"
|
||||
SRC_URI="https://github.com/ispc/ispc/tarball/v${PV} -> ${PN}-git-${PV}.tgz"
|
||||
S="${WORKDIR}/${PN}-${PN}-${GITHUB_ID}"
|
||||
|
||||
LICENSE="BSD BSD-2 UoI-NCSA"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="
|
||||
=sys-devel/clang-3.0*
|
||||
=sys-devel/llvm-3.0*
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
"
|
||||
|
||||
DOCS=( README.rst )
|
||||
|
||||
src_compile() {
|
||||
emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" CPP="$(tc-getCPP)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ispc
|
||||
|
||||
if use examples; then
|
||||
insinto "/usr/share/doc/${PF}/examples"
|
||||
docompress -x "/usr/share/doc/${PF}/examples"
|
||||
doins -r examples/*
|
||||
fi
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.17.ebuild,v 1.1 2013/01/05 17:36:21 jer Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.18.ebuild,v 1.1 2013/01/08 14:33:28 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils libtool multilib
|
@ -0,0 +1,41 @@
|
||||
--- src/p_std_bits.cc.org 2012-12-30 00:37:03.033948083 +0100
|
||||
+++ src/mp_std_bits.cc 2012-12-30 00:44:12.893019313 +0100
|
||||
@@ -25,6 +25,9 @@
|
||||
#include "ppl-config.h"
|
||||
#include "mp_std_bits.defs.hh"
|
||||
|
||||
+#if __GNU_MP_VERSION < 5 \
|
||||
+ || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1)
|
||||
+
|
||||
const bool std::numeric_limits<mpz_class>::is_specialized;
|
||||
const int std::numeric_limits<mpz_class>::digits;
|
||||
const int std::numeric_limits<mpz_class>::digits10;
|
||||
@@ -70,3 +73,6 @@
|
||||
const bool std::numeric_limits<mpq_class>::traps;
|
||||
const bool std::numeric_limits<mpq_class>::tininess_before;
|
||||
const std::float_round_style std::numeric_limits<mpq_class>::round_style;
|
||||
+
|
||||
+#endif // __GNU_MP_VERSION < 5
|
||||
+ // || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1)
|
||||
--- src/mp_std_bits.defs.hh.org 2012-12-30 00:37:03.037948187 +0100
|
||||
+++ src/mp_std_bits.defs.hh 2012-12-30 00:42:32.002424189 +0100
|
||||
@@ -38,6 +38,9 @@
|
||||
#endif // defined(PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS)
|
||||
void swap(mpq_class& x, mpq_class& y);
|
||||
|
||||
+#if __GNU_MP_VERSION < 5 \
|
||||
+ || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1)
|
||||
+
|
||||
namespace std {
|
||||
|
||||
#ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS
|
||||
@@ -164,6 +167,9 @@
|
||||
|
||||
} // namespace std
|
||||
|
||||
+#endif // __GNU_MP_VERSION < 5
|
||||
+ // || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1)
|
||||
+
|
||||
#include "mp_std_bits.inlines.hh"
|
||||
|
||||
#endif // !defined(PPL_mp_std_bits_defs_hh)
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ppl/ppl-0.12.1-r1.ebuild,v 1.2 2013/01/08 14:00:08 jer Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="The Parma Polyhedra Library provides numerical abstractions for analysis of complex systems"
|
||||
HOMEPAGE="http://bugseng.com/products/ppl"
|
||||
SRC_URI="http://bugseng.com/products/ppl/download/ftp/releases/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~sparc-solaris"
|
||||
IUSE="doc lpsol pch static-libs test"
|
||||
|
||||
RDEPEND=">=dev-libs/gmp-4.1.3[cxx]
|
||||
lpsol? ( sci-mathematics/glpk )
|
||||
!<dev-libs/cloog-ppl-0.15.10"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/m4"
|
||||
|
||||
pkg_setup() {
|
||||
if use test; then
|
||||
ewarn "The PPL testsuite will be run."
|
||||
ewarn "Note that this can take several hours to complete on a fast machine."
|
||||
epause 3
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/ppl-fix-gmp-5.1.0.patch" || die "Failed to patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--disable-debugging \
|
||||
--disable-optimization \
|
||||
$(use_enable doc documentation) \
|
||||
$(use_enable lpsol ppl_lpsol) \
|
||||
$(use_enable pch) \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-interfaces="c cxx" \
|
||||
$(use test && echo --enable-check=quick)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# default src_test runs with -j1, overriding it here saves about
|
||||
# 30 minutes and is recommended by upstream
|
||||
if emake -j1 check -n &> /dev/null; then
|
||||
emake check || die "tests failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
use static-libs || rm -f "${D}"/usr/lib*/libppl*.la
|
||||
|
||||
local docsdir="${ED}/usr/share/doc/${PF}"
|
||||
rm "${docsdir}"/gpl* "${docsdir}"/fdl* || die
|
||||
|
||||
if ! use doc; then
|
||||
rm -r "${docsdir}"/*-html/ || die
|
||||
fi
|
||||
|
||||
dodoc NEWS README* STANDARDS TODO
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
ewarn "After an upgrade of PPL it is important that you rebuild"
|
||||
ewarn "dev-libs/cloog-ppl."
|
||||
ewarn
|
||||
ewarn "If you use gcc-config to switch to an older compiler version than"
|
||||
ewarn "the one PPL was built with, PPL must be rebuilt with that version."
|
||||
ewarn
|
||||
ewarn "In both cases failure to do this will get you this error when"
|
||||
ewarn "graphite flags are used:"
|
||||
ewarn
|
||||
ewarn " sorry, unimplemented: Graphite loop optimizations cannot be used"
|
||||
ewarn
|
||||
echo
|
||||
}
|
@ -0,0 +1,196 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.1.3.ebuild,v 1.1 2013/01/08 10:29:40 grozin Exp $
|
||||
|
||||
EAPI=3
|
||||
inherit multilib eutils flag-o-matic pax-utils
|
||||
|
||||
#same order as http://www.sbcl.org/platform-table.html
|
||||
BV_X86=1.0.58
|
||||
BV_AMD64=1.1.3
|
||||
BV_PPC=1.0.28
|
||||
BV_SPARC=1.0.28
|
||||
BV_ALPHA=1.0.28
|
||||
BV_MIPS=1.0.23
|
||||
BV_MIPSEL=1.0.28
|
||||
|
||||
DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp."
|
||||
HOMEPAGE="http://sbcl.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
|
||||
x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
|
||||
amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
|
||||
ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
|
||||
sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
|
||||
alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )
|
||||
mips? ( !cobalt? ( mirror://sourceforge/sbcl/${PN}-${BV_MIPS}-mips-linux-binary.tar.bz2 ) )
|
||||
mips? ( cobalt? ( mirror://sourceforge/sbcl/${PN}-${BV_MIPSEL}-mipsel-linux-binary.tar.bz2 ) )"
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="+asdf ldb source +threads +unicode debug doc cobalt"
|
||||
|
||||
DEPEND="doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )"
|
||||
RDEPEND="elibc_glibc? ( >=sys-libs/glibc-2.3 || ( <sys-libs/glibc-2.6[nptl] >=sys-libs/glibc-2.6 ) )
|
||||
asdf? ( >=dev-lisp/gentoo-init-1.0 )"
|
||||
|
||||
# Disable warnings about executable stacks, as this won't be fixed soon by upstream
|
||||
QA_EXECSTACK="usr/bin/sbcl"
|
||||
|
||||
CONFIG="${S}/customize-target-features.lisp"
|
||||
ENVD="${T}/50sbcl"
|
||||
|
||||
usep() {
|
||||
use ${1} && echo "true" || echo "false"
|
||||
}
|
||||
|
||||
sbcl_feature() {
|
||||
echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
|
||||
}
|
||||
|
||||
sbcl_apply_features() {
|
||||
cat > "${CONFIG}" <<'EOF'
|
||||
(lambda (list)
|
||||
(flet ((enable (x) (pushnew x list))
|
||||
(disable (x) (setf list (remove x list))))
|
||||
EOF
|
||||
if use x86 || use amd64; then
|
||||
sbcl_feature "$(usep threads)" ":sb-thread"
|
||||
fi
|
||||
sbcl_feature "$(usep ldb)" ":sb-ldb"
|
||||
sbcl_feature "false" ":sb-test"
|
||||
sbcl_feature "$(usep unicode)" ":sb-unicode"
|
||||
sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
|
||||
cat >> "${CONFIG}" <<'EOF'
|
||||
)
|
||||
list)
|
||||
EOF
|
||||
cat "${CONFIG}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv sbcl-*-linux sbcl-binary
|
||||
cd "${S}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/gentoo-fix_install_man.patch
|
||||
epatch "${FILESDIR}"/gentoo-fix_linux-os-c.patch
|
||||
|
||||
# To make the hardened compiler NOT compile with -fPIE -pie
|
||||
if gcc-specs-pie ; then
|
||||
einfo "Disabling PIE..."
|
||||
epatch "${FILESDIR}"/gentoo-fix_nopie_for_hardened_toolchain.patch
|
||||
fi
|
||||
|
||||
use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
|
||||
|
||||
# Some shells(such as dash) don't have "time" as builtin
|
||||
# and we don't want to DEPEND on sys-process/time
|
||||
sed "s,^time ,," -i make.sh
|
||||
sed "s,/lib,/$(get_libdir),g" -i install.sh
|
||||
sed "s,/usr/local/lib,/usr/$(get_libdir),g" -i src/runtime/runtime.c # #define SBCL_HOME ...
|
||||
|
||||
find . -type f -name .cvsignore -delete
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# customizing SBCL version as per
|
||||
# http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
|
||||
echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
|
||||
|
||||
# applying customizations
|
||||
sbcl_apply_features
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bindir="${WORKDIR}"/sbcl-binary
|
||||
|
||||
strip-unsupported-flags ; filter-flags -fomit-frame-pointer
|
||||
|
||||
if host-is-pax ; then
|
||||
# To disable PaX on hardened systems
|
||||
pax-mark -C "${bindir}"/src/runtime/sbcl
|
||||
pax-mark -mr "${bindir}"/src/runtime/sbcl
|
||||
|
||||
# Hack to disable PaX on second GENESIS stage
|
||||
sed -i -e '/load/!s/^echo \/\/doing warm.*$/&\npaxctl -C \.\/src\/runtime\/sbcl\npaxctl -mprexs \.\/src\/runtime\/sbcl/' \
|
||||
"${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
|
||||
fi
|
||||
|
||||
# clear the environment to get rid of non-ASCII strings, see bug 174702
|
||||
# set HOME for paludis
|
||||
env - HOME="${T}" \
|
||||
CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
|
||||
CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
|
||||
GNUMAKE=make ./make.sh \
|
||||
"sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
|
||||
|| die "make failed"
|
||||
|
||||
# need to set HOME because libpango(used by graphviz) complains about it
|
||||
if use doc; then
|
||||
env - HOME="${T}" make -C doc/manual info html || die "Cannot build manual"
|
||||
env - HOME="${T}" make -C doc/internals info html || die "Cannot build internal docs"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ewarn "Unfortunately, it is known that some tests fail eg."
|
||||
ewarn "run-program.impure.lisp. This is an issue of the upstream's"
|
||||
ewarn "development and not of Gentoo's side. Please, before filing"
|
||||
ewarn "any bug(s) search for older submissions. Thank you."
|
||||
time ( cd tests && sh run-tests.sh )
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# install system-wide initfile
|
||||
dodir /etc/
|
||||
cat > "${D}"/etc/sbclrc <<EOF
|
||||
;;; The following is required if you want source location functions to
|
||||
;;; work in SLIME, for example.
|
||||
|
||||
(setf (logical-pathname-translations "SYS")
|
||||
'(("SYS:SRC;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/src/**/*.*")
|
||||
("SYS:CONTRIB;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/**/*.*")))
|
||||
EOF
|
||||
if use asdf; then
|
||||
cat >> "${D}"/etc/sbclrc <<EOF
|
||||
|
||||
;;; Setup ASDF2
|
||||
(load "/etc/common-lisp/gentoo-init.lisp")
|
||||
EOF
|
||||
fi
|
||||
|
||||
# Install documentation
|
||||
unset SBCL_HOME
|
||||
INSTALL_ROOT="${D}/usr" LIB_DIR="/usr/$(get_libdir)" DOC_DIR="${D}/usr/share/doc/${PF}" \
|
||||
sh install.sh || die "install.sh failed"
|
||||
|
||||
# rm empty directories lest paludis complain about this
|
||||
find "${D}" -empty -type d -exec rmdir -v {} +
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/manual/
|
||||
doinfo doc/manual/*.info*
|
||||
dohtml -r doc/internals/sbcl-internals
|
||||
doinfo doc/internals/sbcl-internals.info
|
||||
docinto internals-notes && dodoc doc/internals-notes/*
|
||||
else
|
||||
rm -Rv "${D}/usr/share/doc/${PF}"
|
||||
fi
|
||||
|
||||
dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README STYLE TLA TODO
|
||||
|
||||
# install the SBCL source
|
||||
if use source; then
|
||||
./clean.sh
|
||||
cp -av src "${D}/usr/$(get_libdir)/sbcl/"
|
||||
fi
|
||||
|
||||
# necessary for running newly-saved images
|
||||
echo "SBCL_HOME=/usr/$(get_libdir)/${PN}" > "${ENVD}"
|
||||
echo "SBCL_SOURCE_ROOT=/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
|
||||
doenvd "${ENVD}"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST Text-Format-0.58.tar.gz 16444 SHA256 a26fde0832f27c2fb9e520c4377b24d86ea9de233a49ed88ce96165488d06003 SHA512 1baa05733e47d553b77c529d6f59ca1d47176752cf16e2abdfd55f8b3e01121202ee8aab1e3e892eb02311af3a1f0da562e7a46eef1e540de0681164c83cadd8 WHIRLPOOL c30fb5a87eb4920c87382f8383d7cdf46dddfcaf3e7c05c8d26d5367a53181be06b603bb0187210293c58d9cf42a864253971dff27100711d3560170203eb0e9
|
||||
EBUILD Text-Format-0.580.0.ebuild 520 SHA256 e81c0056c5467367fbb970b157f1fcc0ba401bba9ab9d6c8cc5718b749973168 SHA512 85badaabfcc362014ca0cbc441a05b69093cee0a646b97294fb61805172990c001e377dfbeb6f373bbdf39af3e6af9dda003e82cfe67f48730986cd21f8c4513 WHIRLPOOL cf88950bb88cebf7399a6517944c7ff71341419b97a0df4a5dbf842dc16f41c25e6ac53e48e079149abfdfa300dc8c9e2ef7d0a5d7605577b24882a607d1651c
|
||||
MISC ChangeLog 494 SHA256 1d26a6dfc232ff6cce2750102950ba34175a98befdc3b1aad62ad671cab11aa4 SHA512 ba45d53f7ffbc73c1bef742f03aa51aab4ab871797e617893fd6877124f952fc4fadb19c6c14bbfbdb53135e77e7b05c64f1b950d77c38547fe1fbc4a436a529 WHIRLPOOL 1010447fbb1867ab534a05c4ab9c5a0d32672dc1850644b72be1ce3b8bf09c5b6f262f47ea06262640621c8ccfaf45fb70fd6845a5fbac7e9797e5741af60a74
|
||||
EBUILD Text-Format-0.580.0.ebuild 519 SHA256 e341db7c14aa1d5836fc380168d0415700f9d0211b609a1207a2f19943018446 SHA512 4f34c3a91a4feccd31d59d5bc800ce0184c42d38fd314aba50e99f5d7ac1c14369886781349dec0cd2e6672337adb2dd743a090f8fa6bf94d454314e4e17ae93 WHIRLPOOL 861dedd096db1fa2f35068b7256d8278384f30c2383551e1710c1ad5cfc4c1e4a6439fb94d5952127fed504940aaa0c2dfc5880fd4b969b6c39a3f14571bdc6d
|
||||
MISC ChangeLog 608 SHA256 c8b1cb8112c55e1c0d9a9f3ac18dfbebb7f0408b90bf0ae187d363b4832fca95 SHA512 0ab6b764595cdab68b4b5f93eb7ae3199274179f6ea0538da55f301f4b30070de5666a4b6d30633f58621d9a404aea2c1ff835d595cace973ee66c6d93054b8d WHIRLPOOL 9e4cf66b9f9013d283fc7b694a1ab7bcd9fe917e3784f9280351ca18027030c67b75d9faf4a15f592ff34413dec6347658b9eb578bd999b73033212a8c3b5e97
|
||||
MISC metadata.xml 484 SHA256 4ae41dfff8744a8595b4d69e801e678a5473482be89dc6c725527398c1bc0541 SHA512 cfc6b57ebb2e7bc349f6fc8ff3c1e19db1ad6c96058ce017c7e2d4ba0d7297d7b6eb7fe4a9ed81335edbfac8655c15cbd03d268d865c70083f8cf50a15726c00 WHIRLPOOL 4c34d116e6240803e3f84cb840b04606de2e92d31d3febdfe00b0c7a7f54647766be601981f072462b7ca5a47a818ca1ccc189b589a906efd082a744c17f5cc7
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyasn1/pyasn1-0.1.6.ebuild,v 1.1 2013/01/08 15:56:20 idella4 Exp $
|
||||
|
||||
EAPI="4"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="ASN.1 library for Python"
|
||||
HOMEPAGE="http://pyasn1.sourceforge.net/ http://pypi.python.org/pypi/pyasn1"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND=""
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="build-${PYTHON_ABI}/lib:." "$(PYTHON)" test/suite.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml doc/*
|
||||
else
|
||||
dohtml doc/pyasn1-tutorial.html
|
||||
fi
|
||||
}
|
@ -1,6 +1,22 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST pycparser-2.07.tar.gz 162408 SHA256 ab1d0422a58c95d6511e33c1f8d3f36169c70a3158f0867342dc7e359e1889e1 SHA512 656a1423832795cb7241ffe1e77030886512a0be47d62a280007e365e0ff7b6738a42c8cfa0a0c949d900111d03afcb643843d3cdfeb532b00c51dd515028da3 WHIRLPOOL 4f822572fbdd0deaacfad32284a0b43e5a1e5de18f6e0d53e26b6eee8d3876bfcd6c86fb5991852ccd99625f4729a413a298bcd0f5e3050068125d9ad1c140de
|
||||
DIST pycparser-2.08.tar.gz 164243 SHA256 48165dbc4738973cff67d2986e22013d78634df2dcdf58b57a1e341cc34ef028 SHA512 3cafe0c01962fc08b0338b20e47501c10c751e7fde6d68902e541bd9baff6b89404ba659d46c48faf54800b0f05863cde06f8917809848ae5ff1ff4b629cde08 WHIRLPOOL 2d05668a54b85f913f7745ce051269a10a47ee3e14bf2e37228a73a357c84b6637dc1dee68bf764b9bef0534dea1e3efd3d04f29002dada6edc4f13f4638c1a2
|
||||
DIST pycparser-2.09.1.tar.bz2 170700 SHA256 e36f20fc0042ec86c8a2cc3a48521e41614ba109d77199554fa189bfb19bdb1d SHA512 32fd53506b533eedc90d09b0b3b39c7a53fa18d52ad234d7f055ca5368a809faaa830c274a585bac17be90a8c25c7fae0b2dd221c935a8b2e55f914a50f2baea WHIRLPOOL 2ab907cd4d120035f4ac739d690e9b3ee648dc5995b6507aea746bc21da94ff14518b212d3f6bbd141f5e2eaf6d833d06aea130d1d99d42164346c57ab5c7842
|
||||
EBUILD pycparser-2.07.ebuild 621 SHA256 c298ac784687c0caeeb35c6c3a930e85e168657eb35f6443d0353712c925b158 SHA512 b71bb78830b9186bd2f95479d975e0834f746beac7cdeb36af1b7666f25dba8feaa11b5d73f10b3e1adc96458117969884fd96b4e7f86cf30157b3588e49edd4 WHIRLPOOL e28f6c5496f79dfd037a03c06a54fff59f10a5a2edcfb7c0e32e57e4187c87266e860f5fc7a3e0b5ce89d6dd1ac86861006a01efdcc8eb15cce493d1d0466bb3
|
||||
EBUILD pycparser-2.08.ebuild 625 SHA256 115ca3fd462c98fb222fc067754afcd7e464fb3b0fdfddf253dae34a91cddb1d SHA512 81d68740139ecbd34f6e8a19d4cdfbebaaf3078ff1539db47db870b63be288bdd12d94ea1eece85f2054950ab04bf2f7578ed3d468ce61e6bccafcd55b0edd56 WHIRLPOOL 630f71706267574c996166d224ec492ceee544f5c9c86e92736e52abc7c0d86432f366c01f7e0e1ade2d44afe68ed4cbada3e8c09de001b9b32d699a247f0896
|
||||
MISC ChangeLog 479 SHA256 55edd6d5033fa4ea365ad0388ec65a7821b02fe1b2b00adfd1bc383ba131a792 SHA512 d1f4638f18ce92b1d007aeccf0f25d34adc7ac87c7ddded29caebb57d75741f2cd32f22ccc7fd8758efbbd9b52203e7f31fbacf66d22125adda38e6dbe8dc486 WHIRLPOOL efa96dd18b74c5be1426d434152481d3b2373203d91c440a9af4edb1857a2e2f7170a3a9ce90fd02df4798836f0460a426fe500ebcd8cf4fbba51b30da1648ab
|
||||
EBUILD pycparser-2.09.1.ebuild 746 SHA256 f19a5c6f03c4fd8596e31ea623378416885cc2eedd008b01954d95403ce16f52 SHA512 dd10a1634f9cc16addc067e4b3b8537fc7a634e97af94a93f85268f0161a642d80e0251c18eb0c7768312d2d2d3a02b20222ba289f68294ca228fabbe1aa1c9a WHIRLPOOL c143de3340715cc2e4e5e1690714b3f0576d9861292ca9dc0b8835b702ea631d8820877d880cc6cd038479cad3642ea34aef0fedd9df9402d5158afbb79da4ea
|
||||
MISC ChangeLog 631 SHA256 82f7182b2957e0db1147c8c5d8575fc152b7512e9f7e689b4f60c3b2b90f77c0 SHA512 42f9b77e5059b134379ce7f2b9a12ca1f9ee4e01626a48716f65521081b8ae88765b053f559fe2f5d442061922c82231a49866774b63790be22b6626f76b28cf WHIRLPOOL 6774d24242119b2595d72e047fdccd4291648e70bc6460cde8d65ffc2168908aeaa855ce4b15d06d3283d5769336ce99dc04cfa2230736df28f35a564e712881
|
||||
MISC metadata.xml 232 SHA256 96023945729c6b6a75ee09d89183134502dfd0ec841c5347ebfb15feac3a4a6f SHA512 5e93dce463b0150abea4a0bdffb8826048720561471d52b1305a8a5887cdcb6855744974981e3de808d9492019254ce85a156f794be47dd25bd42011d08fef8e WHIRLPOOL 4eca157673f698d7ee79a5c1b9443eb5d6cf1f766412e9d83e060ba92d4e7a2bcbfc8b61f7dee38fbafadb6eeed22249254bae85fa57b528532fb0b9b7c5d987
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJQ64m2AAoJEEqz6FtPBkyjX9AIAJC8qz6c+jO2ZcLQKN7JKbTw
|
||||
abUBs80SMSparIouharV92FLKTWys0IdATSp3zi39bS638WNAltb86rDxji9sQx2
|
||||
bvcoGX/xwu/CeDcxiHuKevFN88lBBErLvbrf+zzBIzs3nFq1+GYicxq+7PfkngFn
|
||||
eFA3W3ZS2WEj2h/l5vl4wf8N8coLWBi5UFRgcQLUH56xFRqfj8jCYc6k/+zFjHdo
|
||||
e+YB5rf1G4VHX/dpyAwiCHeGz04uzH9ucvTKrSD7wk/fgnV75TNtQsIxw2FMKC3R
|
||||
KNej0aPAW11M+fnI65yGY7fb89NGSDh39/G4H0OPbxuuviWRnq4HYaasT4ldvhQ=
|
||||
=DNvG
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycparser/pycparser-2.09.1.ebuild,v 1.1 2013/01/08 02:51:30 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
# 3.3 not supported due to nose lacking support
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2} )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="C parser and AST generator written in Python"
|
||||
HOMEPAGE="https://bitbucket.org/eliben/pycparser/"
|
||||
SRC_URI="https://bitbucket.org/eliben/${PN}/get/release_v${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/ply"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -1,5 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST unittest2-0.5.1.tar.gz 62470 SHA256 aa5de8cdf654d843379c97bd1ee240e86356d3355a97b147a6f3f4d149247a71 SHA512 3979d94fd4e1038ec134dd2342d614766383177eadd0cc3c38b964528157fbbe466800d1a7422cf647500784af8e0c2caa750a364a33c9f761dca37d7bbb598f WHIRLPOOL d66d0b37c1646280e81035fde287f14c042fb2820434b27490aca49b265340ec76636315bfc9aa413a4c1f2d3be90a9e86da54f1149425ef09f7366d295f50b4
|
||||
DIST unittest2py3k-0.5.1.tar.gz 55493 SHA256 78249c5f1ac508a34d9d131d43a89d77bf154186f3ea5f7a6b993d3f3535d403 SHA512 d56a416355abd905f22f5bdceab8305f8f2e28b17dd1250d4c2ab637e20745836a8bc0c8ba1356122b355ba6ad43c9a7b4284699a8b54fe6d8612b9c4565be2b WHIRLPOOL 526ae793735aa5c5eaa490d3a5fbd2a11ffe9e83d22fd246dd165891c4f03733484e3bb38b68d07ec12379298f19b358181feb2ef584db9e421ed6dcbfc367cd
|
||||
EBUILD unittest2-0.5.1-r1.ebuild 1640 SHA256 a33e430d9f66053bdf08229c369ff161c127203df998ff1e3112e4d1eec1837f SHA512 6062733daa5cbdb90f5baef1f06504fab83c63b53389e9f1d96d1559f3f7c32394b4161695ba31e6a52c99ebf5bd7c56ba3dd5ecae08c2675cc80316f69b724e WHIRLPOOL 5931ae89c3d0a1cab727b6c68052c620eae0a93193ffda72fd84901032886ea0f9c20590c2fe8d922eec1eb4493381c456613c72464829418c3879f2730e6610
|
||||
EBUILD unittest2-0.5.1.ebuild 1523 SHA256 9a408ac145edf55e127b7bdb4bfbec21063b80aee8578f90af50968670f0b526 SHA512 02a84be01a982f98d5e1595a5c5f23942eb9cd79b261d65126fed3ac97e10dceec249d516e915a59b8cb5f24129ffbdc20b4a4e51c141da144e0f42bab738ce0 WHIRLPOOL 3afa6b1a6cc8fbb807e4c56112ca2c34777e3ad917fa867dddf17d6b19af6f62ffec2c883bfb81ff0cd895e1291debef610fae0255fa7e03cfb9b40558b3929c
|
||||
MISC ChangeLog 3181 SHA256 4ad9895948547e4bbfd5a8c5feec38f8f27d740cacddca45c7ce92fe9c1ce9f1 SHA512 cee890c09fb0065a4a2d4ecabb7a6f814a886a7dffbc512434327d1870d1e8e39c8a0f7280cde942677b7c179c2e1d2ae2dbb7988bd725c9064f5102e32885b0 WHIRLPOOL fee0cb6f46a1427167afebc94c0f21a3ff9677cc9e7e8fe526590c10389d78370af5037be0ff80eb8a5ddbacf6989641622530af332ceaf7e9ac57620acd8f46
|
||||
MISC ChangeLog 3324 SHA256 a821b807131aad8d1f0db0cbc9ee4a04c6444bf33a4d925e0e3aa0c5d5f63b86 SHA512 f0d6e1a8286e5523fa01f63024dd636de7535aa37b9f18ba3eda3a6315fdffc38b9c5e582d98d4092107efb6989c38609d123a53f14d996467eacc2b336c8290 WHIRLPOOL 91ec7d877c5a739f70dfa84088af960a55b870e927b91c92182a017da1d045cb8ded0cb3a4c4dd071f99e809ff36f1f77ad98800aeb6c874311a33d6383ce1a4
|
||||
MISC metadata.xml 232 SHA256 4a79028f179736bb77b3a063b34361732f0b9c13ee8fe972ecef8904bc2119a0 SHA512 d676b7510152db66389f8ee2f36d05ad5957b7ddc74be65b25831dff1a38708b0a9e1b84e6710a83a3a6a7c69d2d2c1939e5f57da94fef6e900063ac04e69ebc WHIRLPOOL 584c77c8d653b036b4962cf263f9766c475b79a9c97aed42e7f78b7500dc08e05ea62beb29fac68103dff9175183eed65473a9df769e34afdc4b7a9499c0f879
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iJwEAQEIAAYFAlDrRWgACgkQfXuS5UK5QB3RZQQAgzpGhFVd6RZj9F3AI/QqEtUA
|
||||
CYzdbrDl8w9mtkidzxG++6S7NQlPiYH3f3ieBdId1S+KuwpoxD/kRFYCgm1B0g/P
|
||||
uo8ONrED5xfg+gr6XaVvtGLtrujWppV8fKdAwE6vn9agl/qoIjKLEXiMrHeh+Kqf
|
||||
+IgWSe14RoCb+PsH+uo=
|
||||
=mQH1
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/unittest2/unittest2-0.5.1-r1.ebuild,v 1.1 2013/01/07 21:59:41 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
PY3_P=${PN}py3k-${PV}
|
||||
|
||||
DESCRIPTION="The new features in unittest for Python 2.7 backported to Python 2.4+"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/unittest2
|
||||
http://pypi.python.org/pypi/unittest2py3k http://code.google.com/p/unittest-ext/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
||||
mirror://pypi/${PN:0:1}/${PN}/${PY3_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable versioning of unit2 script to avoid collision with versioning performed by distutils_src_install().
|
||||
sed -i -e "/'%s = unittest2:main_' % SCRIPT2,/d" setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
select_source() {
|
||||
if [[ ${EPYTHON} == python3* ]]; then
|
||||
cd "${WORKDIR}"/${PY3_P} || die
|
||||
else
|
||||
cd "${S}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
select_source
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# multiprocessing causes test failure with signals
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}" || die
|
||||
scripts/unit2 discover -s lib || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
select_source
|
||||
distutils-r1_python_install
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue