parent
e9c10a75bb
commit
05e5f04ae2
@ -1,3 +1,2 @@
|
||||
DIST tmpwatch-2.10.1.tar.bz2 140103 SHA256 d0fc8e76f32a7e596ef0e3db5a429f007a94e356a63ea342a130022e6295b446 SHA512 8e7bdb48a900058a31dac55f7590b0d6f280d06e511b015afb94a02a467f9b985497b458bac6ca7a48e57f0b728a497de814847af0bcdd7d7dc9762ae4c85063 WHIRLPOOL b472a95a9c772834b04b25b31a5f8c2f08ad7a350a7787c992381b9ea5f3fa22a2b98d283452333b7ae6be1612ef231b901a0e04e6caa38e42bd904a40f03ec8
|
||||
DIST tmpwatch-2.10.3.tar.bz2 144136 SHA256 d3cdb21870d1d8c9ca6e82f295c228a0cb55f1744cfa98ee59da0151f5f53f75 SHA512 31f92c6d2cb73683a3b5c04a09a2bb19a352b091d984ebe962ae63f41bc78607b6616f8bb4f54ff1f56c6255c0240b57cd9871efbfba8e27e19bee451750caab WHIRLPOOL 8ebe7b0d99d57bfc04a940943fc4a01aa167462be1b4428af0c54da1f4459cc10c47abc4612ac1ba84b8992a3e3a536b80da0fd47f87c7ecc321e196965fe9ad
|
||||
DIST tmpwatch-2.11.tar.bz2 145609 SHA256 93168112b2515bc4c7117e8113b8d91e06b79550d2194d62a0c174fe6c2aa8d4 SHA512 9242c5e1812c2ffc756cfc4cdc3023d0c0515e7c180e58ca3a838aa075d09fe4dc08dbc9afbc87ce3382e8aa8cb80a70e406deeab4ce10b39b6845d667989d97 WHIRLPOOL 94d83c4a2b1c1a19ab88632c61de37903b709bc7fa88aff9f8ac4f4b71a26b8e6fbcb1564b3bce08ed5d1d0a78511c3470978a13211356f5fdf10b4d40f2de1c
|
||||
|
@ -0,0 +1,30 @@
|
||||
Make boot time detection failures non-fatal. Taken from PLD Linux
|
||||
|
||||
Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=468444
|
||||
PLD bug: https://bugs.launchpad.net/pld-linux/+bug/1034364
|
||||
Patch: https://github.com/pld-linux/tmpwatch/blob/master/tmpwatch-boottime.patch
|
||||
|
||||
--- tmpwatch-2.11/tmpwatch.c~
|
||||
+++ tmpwatch-2.11/tmpwatch.c
|
||||
@@ -666,9 +666,11 @@
|
||||
time_t boot_time;
|
||||
|
||||
if (clock_gettime(CLOCK_REALTIME, &real_clock) != 0
|
||||
- || clock_gettime(CLOCK_BOOTTIME, &boot_clock) != 0)
|
||||
- message(LOG_FATAL, "Error determining boot time: %s\n",
|
||||
+ || clock_gettime(CLOCK_BOOTTIME, &boot_clock) != 0) {
|
||||
+ message(LOG_DEBUG, "Error determining boot time: %s\n",
|
||||
strerror(errno));
|
||||
+ socket_kill_time = 0; /* Never remove sockets */
|
||||
+ } else {
|
||||
boot_time = real_clock.tv_sec - boot_clock.tv_sec;
|
||||
if (real_clock.tv_nsec < boot_clock.tv_nsec)
|
||||
boot_time--;
|
||||
@@ -677,6 +679,7 @@
|
||||
boot_time -= 2;
|
||||
|
||||
socket_kill_time = boot_time - grace_seconds;
|
||||
+ }
|
||||
#else
|
||||
socket_kill_time = 0; /* Never remove sockets */
|
||||
#endif
|
@ -1,11 +1,7 @@
|
||||
DIST qemu-1.3.1.tar.bz2 10283677 SHA256 3772e7ef0c9b4178195edcf90e711f12ba123f465fcf09fb43b56bdacaca0eaf SHA512 f371012d0c1fd5c2504ba4235ed787d897ff7b4dcf5bffc4452dd71b33394db4ec46488771927be2fc410408f69ca2c38d1edf23fca1e6767295c416ce98c588 WHIRLPOOL fb440dffca62c48a2644592ecdcd352349852fa67e5aa1c8cec45c86e599ef74cccc3a0464977cefebf311fea98a65e9035b5f87fa0dcdf87034b8a71d675627
|
||||
DIST qemu-1.4.0-4114896d.tar.xz 25852 SHA256 9df38a4a7a595093e88b63a112bb06af4bb27ae18078076f39a0ed6eed02e741 SHA512 ed291bc2046ffc345941fc61a7c406e146582475f3b59a57c91eec3dd0aebba32911698a38d8cf68e939791e1dddf0f052e39fe0631c10a0810eb68bb22abc0e WHIRLPOOL 5a13293d039384ba356ca0a184ea10eb4692c88d7a6290886c589cab3a4271eabc33a090d9453169c723badea2c11fb003ae4414471e161c072235ea82b78ff1
|
||||
DIST qemu-1.4.0-ebc00c94.tar.xz 6752 SHA256 be9574d8df4e3876f40921857b43fdcd62813ab86d496d7af0591aa3978f43ac SHA512 ae47e7dedf314630810e714106cc924a0449b2cdc7a4c7f464f82264311dad916737282a4782abd1479063cd312fec4618ea0416bb959fe4e550435e0bdb56cd WHIRLPOOL 57e31b5e1b947d3ddc9c6f3bf8529ab67b0e80602ffd06bf122be0ce0a1f13f317beed1f1cc8e89192fd5bd4ac7392beab11f10cb0fb6837997a40cb7e216d99
|
||||
DIST qemu-1.4.0.tar.bz2 10419510 SHA256 066297ed77408fb7588889c271a85cf3c259ad55c939315988e6062d7708eda8 SHA512 8ad0f1409d94283303abdc80e319fcfaad7818cade7c77fcba1b1adde411726ad166c5cc62a561414afb22b3bff956c4ec0cc7d0fec36542dd86dc347506ce72 WHIRLPOOL b0ecc866dd042a8af25f49419be680d7fb313230f99036ca8f22b20663da5b669cce7be89957fb583dc75bdcf73e905d7bd31904351f05d21816137c03c5be25
|
||||
DIST qemu-kvm-1.1.1-bp-1.tar.xz 2908 SHA256 16b7cd2e10b3a05d20006898bcfdb26eb596f7c7d3c0e18fb216cb2b2026af40 SHA512 781eae1fdc1cb7482d3d6fd1cf81e0d565588e3987fc4cab92abc06741b1b57d999b0de1fffce7270f50033b53c5707e4ef477ca3b7ddfca3dc1a432c1e15cc7 WHIRLPOOL 3f80b4cc9902021686bea823a41af136d21dd5a6b8aa59913aeb8697c3a38acc02d92ee59b9d052b6d161830a72d709fe684beb95f756a92216fe79cce4c5d9a
|
||||
DIST qemu-kvm-1.1.1.tar.gz 6599376 SHA256 c6fab57ccadcad5deb34728623840a0141a0f3c8f29d0c253db577f059c796df SHA512 1106a35212cdac1fe5b043af6754595d03232f22bf74cdab86973759adb3cff2d3d7b42290883d2d99d97d163fe274de0108a05eed906ffdc3349c0631f52492 WHIRLPOOL 4d9b2b788a7f87104032635b3b6e2cd96275b92683e3003510b0951536ed6bcb959959bc7529e3f912a7a2055b5c1710b9310d591a8b443a17a231e5b86f6105
|
||||
DIST qemu-kvm-1.1.2-6cee76f0.tar.xz 13096 SHA256 0bf503a494d78cc5a59682d22341caa594fcf89a8ce5bd222dd7c45ad009e0c3 SHA512 bb1aa5f40b24cf9860f4af2cbab8bf8d5800ca57c1dccc05f446b5001d426021a3ccc423228ce9607a20dd1fb9e5d93a62f883d5bf56c4ac25b5ebfd3b60940d WHIRLPOOL 3916563bd76d9ae50ddd168863dfada0f44289355c82491a992d2d56c9398c8392fc69a67844154dafb13f9ea315affd27909e3b675ba8b5eab32ab176700b5b
|
||||
DIST qemu-kvm-1.1.2.tar.gz 6605075 SHA256 2be9cb9986c0b67ef97a2d21a51a945e91c4032b8c4229297461d8ed91f95178 SHA512 c1fc6a91276347ec2188c9fa8750b51ed14116ea0a7afc74e0ddf305e9f175a6c16d3dc6ef1ee52926c4d8b9bd0fd5465041f32ec24ce315059062a078e2df82 WHIRLPOOL f21af6107de2343c6a45cbd6aa97cbc58e36a37c37db42110397658a2c303d63e5af96b84b778b5f08e958a5e65a84088c596e1b83cbdcd4009efff64dab4d09
|
||||
DIST qemu-1.4.1-a2231a9d.tar.xz 5192 SHA256 5c6dacc243f55d00817dcc4fa24555c48665719bb4a1ea9f3d3542bea7606c52 SHA512 102e751d1dc972324a835fd2f2c88431856189a98505a9f8c1993b3bc5da390fed1cda04f719040c1c62b5cf4a7715d8d9fb15d6ceb511af5cf7cccd0dab0c09 WHIRLPOOL 8c22d6300c01a4afc9000bb0ab1c5a7626b61decb356d08731c715c417808a2801c3ca8c0192851a2f5ccfe36e30fc94da193365aaf69fdfbc44956c63c61142
|
||||
DIST qemu-1.4.1.tar.bz2 10417738 SHA256 75063a9326221607de3599e89fb5af80f2d8080ddc55ca253fff113843432df1 SHA512 b655d2816b9393ca30bbba2bc8a30076e1c933d593653a1f61b4d5f3aaa9b8eb390fa3aa6f3486f1d066b1e078a3d9e1a280d0e8dac68745b128ddc01ca1b149 WHIRLPOOL d45d290eb2877038f945d3aee88d28b5c81feb43b1ca4c8941b87fc225e4cfb7b7a601af8b8e639e831b7f41823b4d1723ca9149c0c072eb168907aa67e017be
|
||||
DIST qemu-kvm-1.2.0-7c9a3a87.tar.xz 268436 SHA256 ed9d8f358cc82e920f6d424de25a82165503cd7e6715bc23312bc2eba6dda771 SHA512 dd5f69835c9fb00c7c36f90e83c7380ac1e3712ef8929f465ed18393da0187020f41d49963584a887199d032ec4783be14b8787c6165d723df94204a70346217 WHIRLPOOL c3e0760c6fdc68b616a0d6e654ec6fa8bdedda9a817fecd7723e168d293eb7bc864864c824b6bb3d61054a0b925302ca59a3c0850e98840dfbd0dbc06c254f82
|
||||
DIST qemu-kvm-1.2.0-9489a8c0-1.tar.xz 268020 SHA256 3ac9715a6bb50d8e363ea0a225a23472d326c31189637eb7ad25fef47afe526d SHA512 9ea7da5384af22525db40fef62a480e551395907df6bf2420e1ccdaceddb24515f0e463e16e929b6da34ab0c2f0e5e567ef097f186a46c0d2fcc2d0d17fc3045 WHIRLPOOL 89ece68af896212cb9a868f6bb0d0df397d22131e3ae147f575177b39f015860ea0895a1edf938f46d3e2322182f131abc0767b07d8c05565a7ff40420f65464
|
||||
DIST qemu-kvm-1.2.0.tar.gz 6839420 SHA256 e98ab96c24337e312864f2341016695ac11cb9a04be83548a8da89596d591b05 SHA512 c21354127d4585397ab400600ab1ac9aac80cc0431bbf615c8e906819075b00373f382954fbd9fa39bf6479126d8d8e3321b3713346d04abe2c249edfa4eb6fd WHIRLPOOL 3d0662b39174eee0cd8750f6bea5baf57e2dfa82b490c3f1e54f44720ddd05ad029c3011425f651e745973ddb03aaca310bc8acf9f8e656bbb8390a262f7013c
|
||||
|
@ -1,377 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.1.1-r1.ebuild,v 1.11 2013/01/12 23:08:29 cardoe Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_PN="qemu-kvm"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python user udev
|
||||
BACKPORTS=1
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/kvm/${MY_PN}/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-bp-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="+aio alsa bluetooth brltty +caps +curl debug doc fdt kernel_linux \
|
||||
kernel_FreeBSD ncurses opengl pulseaudio python rbd sasl sdl \
|
||||
smartcard spice static tci tls usbredir vde +vhost-net virtfs xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64 s390x"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} mips64 mips64el ppcemb xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus unicore32"
|
||||
|
||||
# Setup the default SoftMMU targets, while using the loops
|
||||
# below to setup the other targets. x86_64 should be the only
|
||||
# defaults on for qemu-kvm
|
||||
IUSE="${IUSE} +qemu_softmmu_targets_x86_64"
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS}; do
|
||||
if [ "x${target}" = "xx86_64" ]; then
|
||||
continue
|
||||
fi
|
||||
IUSE="${IUSE} qemu_softmmu_targets_${target}"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_user_targets_${target}"
|
||||
done
|
||||
|
||||
REQUIRED_USE="static? ( !alsa !pulseaudio !bluetooth )
|
||||
amd64? ( qemu_softmmu_targets_x86_64 )
|
||||
x86? ( qemu_softmmu_targets_x86_64 )
|
||||
virtfs? ( xattr )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
RDEPEND="
|
||||
!app-emulation/kqemu
|
||||
>=dev-libs/glib-2.0
|
||||
media-libs/libpng
|
||||
sys-apps/pciutils
|
||||
~sys-firmware/seabios-1.7.0
|
||||
~sys-firmware/vgabios-0.6c
|
||||
virtual/jpeg
|
||||
aio? ( dev-libs/libaio )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
brltty? ( app-accessibility/brltty )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
curl? ( >=net-misc/curl-7.15.4 )
|
||||
fdt? ( >=sys-apps/dtc-1.2.0 )
|
||||
kernel_linux? ( >=sys-apps/util-linux-2.16.0 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
opengl? ( virtual/opengl )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? ( =dev-lang/python-2*[ncurses] )
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
sdl? ( static? ( >=media-libs/libsdl-1.2.11[static-libs,X] )
|
||||
!static? ( >=media-libs/libsdl-1.2.11[X] ) )
|
||||
static? ( sys-libs/zlib[static-libs(+)] )
|
||||
!static? ( sys-libs/zlib )
|
||||
smartcard? ( dev-libs/nss )
|
||||
spice? ( >=app-emulation/spice-protocol-0.8.1
|
||||
static? ( >=app-emulation/spice-0.9.0[static-libs] )
|
||||
!static? ( >=app-emulation/spice-0.9.0 )
|
||||
)
|
||||
tls? ( net-libs/gnutls )
|
||||
usbredir? (
|
||||
>=sys-apps/usbredir-0.3.4
|
||||
<sys-apps/usbredir-0.5
|
||||
)
|
||||
vde? ( net-misc/vde )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xattr? ( sys-apps/attr )
|
||||
xen? ( app-emulation/xen-tools )
|
||||
xfs? ( sys-fs/xfsprogs )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/texi2html )
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_WX_LOAD="${QA_PRESTRIPPED}
|
||||
usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus"
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
ewarn "USE=static is very much a moving target because of the packages"
|
||||
ewarn "we depend on will have their static libs ripped out or wrapped"
|
||||
ewarn "with USE=static-libs or USE=static due to continued dicsussion"
|
||||
ewarn "on the mailing list about USE=static's place in Gentoo. As a"
|
||||
ewarn "result what worked today may not work tomorrow."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
# remove part to make udev happy
|
||||
#sed -e 's~NAME="%k", ~~' -i kvm/scripts/65-kvm.rules || die
|
||||
|
||||
python_convert_shebangs -r 2 "${S}/scripts/kvm/kvm_stat"
|
||||
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local conf_opts audio_opts user_targets
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
use "qemu_softmmu_targets_${target}" && \
|
||||
softmmu_targets="${softmmu_targets} ${target}-softmmu"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
use "qemu_user_targets_${target}" && \
|
||||
user_targets="${user_targets} ${target}-linux-user"
|
||||
done
|
||||
|
||||
if [[ -z ${softmmu_targets} ]]; then
|
||||
eerror "All SoftMMU targets are disabled. This is invalid for qemu-kvm"
|
||||
die "At least 1 SoftMMU target must be enabled"
|
||||
else
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
fi
|
||||
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
einfo "Building the following user targets: ${user_targets}"
|
||||
conf_opts="${conf_opts} --enable-linux-user"
|
||||
else
|
||||
conf_opts="${conf_opts} --disable-linux-user"
|
||||
fi
|
||||
|
||||
# Fix QA issues. QEMU needs executable heaps and we need to mark it as such
|
||||
conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
|
||||
|
||||
# Add support for static builds
|
||||
use static && conf_opts="${conf_opts} --static --disable-pie"
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if ! use static && gcc-specs-pie; then
|
||||
conf_opts="${conf_opts} --enable-pie"
|
||||
fi
|
||||
|
||||
# audio options
|
||||
audio_opts="oss"
|
||||
use alsa && audio_opts="alsa ${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa ${audio_opts}"
|
||||
use sdl && audio_opts="sdl ${audio_opts}"
|
||||
|
||||
# conditionally making UUID work on Linux only is wrong
|
||||
# but the Gentoo/FreeBSD guys need to figure out what
|
||||
# provides libuuid on their platform
|
||||
# --enable-vnc-thread will go away in 1.2
|
||||
# $(use_enable xen xen-pci-passthrough) for 1.2
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-bsd-user \
|
||||
--disable-libiscsi \
|
||||
--disable-strip \
|
||||
--disable-werror \
|
||||
--enable-guest-agent \
|
||||
--enable-vnc-jpeg \
|
||||
--enable-vnc-png \
|
||||
--enable-vnc-thread \
|
||||
--python=python2 \
|
||||
$(use_enable aio linux-aio) \
|
||||
$(use_enable bluetooth bluez) \
|
||||
$(use_enable brltty brlapi) \
|
||||
$(use_enable caps cap-ng) \
|
||||
$(use_enable curl) \
|
||||
$(use_enable debug debug-info) \
|
||||
$(use_enable debug debug-mon) \
|
||||
$(use_enable debug debug-tcg) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable fdt) \
|
||||
$(use_enable kernel_linux kvm) \
|
||||
$(use_enable kernel_linux kvm-device-assignment) \
|
||||
$(use_enable kernel_linux nptl) \
|
||||
$(use_enable kernel_linux uuid) \
|
||||
$(use_enable ncurses curses) \
|
||||
$(use_enable opengl) \
|
||||
$(use_enable rbd) \
|
||||
$(use_enable sasl vnc-sasl) \
|
||||
$(use_enable sdl) \
|
||||
$(use_enable smartcard smartcard) \
|
||||
$(use_enable smartcard smartcard-nss) \
|
||||
$(use_enable spice) \
|
||||
$(use_enable tci tcg-interpreter) \
|
||||
$(use_enable tls vnc-tls) \
|
||||
$(use_enable usbredir usb-redir) \
|
||||
$(use_enable vde) \
|
||||
$(use_enable vhost-net) \
|
||||
$(use_enable virtfs) \
|
||||
$(use_enable xattr attr) \
|
||||
$(use_enable xen) \
|
||||
$(use_enable xfs xfsctl) \
|
||||
--audio-drv-list="${audio_opts}" \
|
||||
--target-list="${softmmu_targets} ${user_targets}" \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getBUILD_CC)" \
|
||||
${conf_opts} \
|
||||
|| die "configure failed"
|
||||
|
||||
# this is for qemu upstream's threaded support which is
|
||||
# in development and broken
|
||||
# the kvm project has its own support for threaded IO
|
||||
# which is always on and works
|
||||
# --enable-io-thread \
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
if use kernel_linux; then
|
||||
udev_dorules "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use qemu_softmmu_targets_x86_64 ; then
|
||||
dobin "${FILESDIR}"/qemu-kvm
|
||||
ewarn "The deprecated '/usr/bin/kvm' symlink is no longer installed"
|
||||
ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
|
||||
ewarn "your libvirt configs or other wrappers for ${PN}"
|
||||
else
|
||||
elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
|
||||
elog "of /usr/bin/qemu-kvm and /usr/bin/kvm"
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc Changelog MAINTAINERS TODO pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
|
||||
if use doc; then
|
||||
dohtml qemu-doc.html qemu-tech.html || die
|
||||
fi
|
||||
|
||||
use python && dobin scripts/kvm/kvm_stat
|
||||
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
elog "If you don't have kvm compiled into the kernel, make sure you have"
|
||||
elog "the kernel module loaded before running kvm. The easiest way to"
|
||||
elog "ensure that the kernel module is loaded is to load it on boot."
|
||||
elog "For AMD CPUs the module is called 'kvm-amd'"
|
||||
elog "For Intel CPUs the module is called 'kvm-intel'"
|
||||
elog "Please review /etc/conf.d/modules for how to load these"
|
||||
elog
|
||||
elog "Make sure your user is in the 'kvm' group"
|
||||
elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
|
||||
elog
|
||||
elog "The ssl USE flag was renamed to tls, so adjust your USE flags."
|
||||
elog "The nss USE flag was renamed to smartcard, so adjust your USE flags."
|
||||
fi
|
||||
}
|
@ -1,369 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.1.2-r2.ebuild,v 1.13 2013/01/12 23:08:29 cardoe Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_PN="qemu-kvm"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python user udev
|
||||
BACKPORTS=6cee76f0
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/kvm/${MY_PN}/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="+aio alsa bluetooth brltty +caps +curl debug doc fdt +jpeg kernel_linux \
|
||||
kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python rbd sasl sdl selinux \
|
||||
smartcard spice static systemtap tci +threads tls usbredir +uuid vde +vhost-net \
|
||||
virtfs +vnc xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64 s390x"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 mips64 mips64el ppcemb xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus unicore32"
|
||||
|
||||
# Setup the default SoftMMU targets, while using the loops
|
||||
# below to setup the other targets.
|
||||
REQUIRED_USE="|| ("
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_softmmu_targets_${target}"
|
||||
REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
|
||||
done
|
||||
REQUIRED_USE="${REQUIRED_USE} )"
|
||||
|
||||
for target in ${IUSE_USER_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_user_targets_${target}"
|
||||
done
|
||||
|
||||
# Block USE flag configurations known to not work
|
||||
REQUIRED_USE="${REQUIRED_USE}
|
||||
static? ( !alsa !pulseaudio !bluetooth )
|
||||
virtfs? ( xattr )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-apps/pciutils[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.2.0[static-libs(+)] )
|
||||
jpeg? ( virtual/jpeg[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses[static-libs(+)] )
|
||||
png? ( media-libs/libpng[static-libs(+)] )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
|
||||
spice? ( >=app-emulation/spice-0.9.0[static-libs(+)] )
|
||||
tls? ( net-libs/gnutls[static-libs(+)] )
|
||||
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
!app-emulation/kqemu
|
||||
~sys-firmware/seabios-1.7.0
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.6c
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
brltty? ( app-accessibility/brltty )
|
||||
opengl? ( virtual/opengl )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? ( =dev-lang/python-2*[ncurses] )
|
||||
sdl? ( media-libs/libsdl[X] )
|
||||
selinux? ( sec-policy/selinux-qemu )
|
||||
smartcard? ( dev-libs/nss )
|
||||
spice? ( >=app-emulation/spice-protocol-0.8.1 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
usbredir? (
|
||||
>=sys-apps/usbredir-0.3.4
|
||||
<sys-apps/usbredir-0.5
|
||||
)
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/texi2html )
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
static? ( ${LIB_DEPEND} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_WX_LOAD="${QA_PRESTRIPPED}
|
||||
usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus"
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
ewarn "USE=static is very much a moving target because of the packages"
|
||||
ewarn "we depend on will have their static libs ripped out or wrapped"
|
||||
ewarn "with USE=static-libs or USE=static due to continued dicsussion"
|
||||
ewarn "on the mailing list about USE=static's place in Gentoo. As a"
|
||||
ewarn "result what worked today may not work tomorrow."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
python_convert_shebangs -r 2 "${S}/scripts/kvm/kvm_stat"
|
||||
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local conf_opts audio_opts user_targets
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
use "qemu_softmmu_targets_${target}" && \
|
||||
softmmu_targets="${softmmu_targets} ${target}-softmmu"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
use "qemu_user_targets_${target}" && \
|
||||
user_targets="${user_targets} ${target}-linux-user"
|
||||
done
|
||||
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
einfo "Building the following user targets: ${user_targets}"
|
||||
conf_opts="${conf_opts} --enable-linux-user"
|
||||
else
|
||||
conf_opts="${conf_opts} --disable-linux-user"
|
||||
fi
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts="${conf_opts} --enable-trace-backend=dtrace"
|
||||
|
||||
# Fix QA issues. QEMU needs executable heaps and we need to mark it as such
|
||||
#conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
|
||||
|
||||
# Add support for static builds
|
||||
use static && conf_opts="${conf_opts} --static --disable-pie"
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if ! use static && gcc-specs-pie; then
|
||||
conf_opts="${conf_opts} --enable-pie"
|
||||
fi
|
||||
|
||||
# audio options
|
||||
audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
use mixemu && conf_opts="${conf_opts} --enable-mixemu"
|
||||
|
||||
# --enable-vnc-thread will go away in 1.2
|
||||
# $(use_enable xen xen-pci-passthrough) for 1.2
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-bsd-user \
|
||||
--disable-guest-agent \
|
||||
--disable-libiscsi \
|
||||
--disable-strip \
|
||||
--disable-werror \
|
||||
--python=python2 \
|
||||
$(use_enable aio linux-aio) \
|
||||
$(use_enable bluetooth bluez) \
|
||||
$(use_enable brltty brlapi) \
|
||||
$(use_enable caps cap-ng) \
|
||||
$(use_enable curl) \
|
||||
$(use_enable debug debug-info) \
|
||||
$(use_enable debug debug-mon) \
|
||||
$(use_enable debug debug-tcg) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable fdt) \
|
||||
$(use_enable jpeg vnc-jpeg) \
|
||||
$(use_enable kernel_linux kvm) \
|
||||
$(use_enable kernel_linux kvm-device-assignment) \
|
||||
$(use_enable kernel_linux nptl) \
|
||||
$(use_enable ncurses curses) \
|
||||
$(use_enable opengl) \
|
||||
$(use_enable png vnc-png) \
|
||||
$(use_enable rbd) \
|
||||
$(use_enable sasl vnc-sasl) \
|
||||
$(use_enable sdl) \
|
||||
$(use_enable smartcard smartcard) \
|
||||
$(use_enable smartcard smartcard-nss) \
|
||||
$(use_enable spice) \
|
||||
$(use_enable tci tcg-interpreter) \
|
||||
$(use_enable threads vnc-thread) \
|
||||
$(use_enable tls vnc-tls) \
|
||||
$(use_enable usbredir usb-redir) \
|
||||
$(use_enable uuid) \
|
||||
$(use_enable vde) \
|
||||
$(use_enable vhost-net) \
|
||||
$(use_enable virtfs) \
|
||||
$(use_enable vnc) \
|
||||
$(use_enable xattr attr) \
|
||||
$(use_enable xen) \
|
||||
$(use_enable xfs xfsctl) \
|
||||
--audio-drv-list=${audio_opts} \
|
||||
--target-list="${softmmu_targets} ${user_targets}" \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getBUILD_CC)" \
|
||||
${conf_opts} \
|
||||
|| die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
if use kernel_linux; then
|
||||
udev_dorules "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use qemu_softmmu_targets_x86_64 ; then
|
||||
dobin "${FILESDIR}"/qemu-kvm
|
||||
ewarn "The deprecated '/usr/bin/kvm' symlink is no longer installed"
|
||||
ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
|
||||
ewarn "your libvirt configs or other wrappers for ${PN}"
|
||||
else
|
||||
elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
|
||||
elog "of /usr/bin/qemu-kvm"
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc Changelog MAINTAINERS TODO pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
|
||||
if use doc; then
|
||||
dohtml qemu-doc.html qemu-tech.html || die
|
||||
fi
|
||||
|
||||
use python && dobin scripts/kvm/kvm_stat
|
||||
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
elog "If you don't have kvm compiled into the kernel, make sure you have"
|
||||
elog "the kernel module loaded before running kvm. The easiest way to"
|
||||
elog "ensure that the kernel module is loaded is to load it on boot."
|
||||
elog "For AMD CPUs the module is called 'kvm-amd'"
|
||||
elog "For Intel CPUs the module is called 'kvm-intel'"
|
||||
elog "Please review /etc/conf.d/modules for how to load these"
|
||||
elog
|
||||
elog "Make sure your user is in the 'kvm' group"
|
||||
elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
|
||||
elog
|
||||
elog "The ssl USE flag was renamed to tls, so adjust your USE flags."
|
||||
elog "The nss USE flag was renamed to smartcard, so adjust your USE flags."
|
||||
fi
|
||||
}
|
@ -1,460 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.3.1.ebuild,v 1.1 2013/02/16 21:37:48 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_DEPEND="2:2.4"
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python user udev
|
||||
#BACKPORTS=7c9a3a87
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download//${P}.tar.bz2
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="+aio alsa bluetooth brltty +caps +curl debug doc fdt +jpeg kernel_linux \
|
||||
kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python rbd sasl +seccomp \
|
||||
sdl selinux smartcard spice static static-softmmu static-user systemtap tci \
|
||||
+threads tls usbredir +uuid vde +vhost-net virtfs +vnc xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips
|
||||
mipsel or32 ppc ppc64 sh4 sh4eb sparc sparc64 s390x unicore32"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 mips64 mips64el ppcemb xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus"
|
||||
|
||||
# Setup the default SoftMMU targets, while using the loops
|
||||
# below to setup the other targets.
|
||||
REQUIRED_USE="|| ("
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_softmmu_targets_${target}"
|
||||
REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
|
||||
done
|
||||
REQUIRED_USE="${REQUIRED_USE} )"
|
||||
|
||||
for target in ${IUSE_USER_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_user_targets_${target}"
|
||||
done
|
||||
|
||||
# Block USE flag configurations known to not work
|
||||
REQUIRED_USE="${REQUIRED_USE}
|
||||
static? ( static-softmmu static-user )
|
||||
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl )
|
||||
virtfs? ( xattr )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-apps/pciutils[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.2.0[static-libs(+)] )
|
||||
jpeg? ( virtual/jpeg[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses[static-libs(+)] )
|
||||
png? ( media-libs/libpng[static-libs(+)] )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
|
||||
seccomp? ( >=sys-libs/libseccomp-1.0.1[static-libs(+)] )
|
||||
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
|
||||
tls? ( net-libs/gnutls[static-libs(+)] )
|
||||
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
!app-emulation/kqemu
|
||||
qemu_softmmu_targets_i386? (
|
||||
sys-firmware/ipxe
|
||||
~sys-firmware/seabios-1.7.2
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
qemu_softmmu_targets_x86_64? (
|
||||
sys-firmware/ipxe
|
||||
~sys-firmware/seabios-1.7.2
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
brltty? ( app-accessibility/brltty )
|
||||
opengl? ( virtual/opengl )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? ( =dev-lang/python-2*[ncurses] )
|
||||
sdl? ( media-libs/libsdl[X] )
|
||||
selinux? ( sec-policy/selinux-qemu )
|
||||
smartcard? ( dev-libs/nss )
|
||||
spice? ( >=app-emulation/spice-protocol-0.12.2 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
usbredir? ( >=sys-apps/usbredir-0.5.3 )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/texi2html )
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
static-softmmu? ( ${LIB_DEPEND} )"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_WX_LOAD="usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-or32
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32"
|
||||
|
||||
qemu_support_kvm() {
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
|
||||
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
|
||||
use qemu_softmmu_targets_s390x; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
python_convert_shebangs -r 2 "${S}/scripts/kvm/kvm_stat"
|
||||
python_convert_shebangs -r 2 "${S}/scripts/kvm/vmxcap"
|
||||
|
||||
epatch "${FILESDIR}"/qemu-1.2.0-cflags.patch
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
##
|
||||
# configures qemu based on the build directory and the build type
|
||||
# we are using.
|
||||
#
|
||||
qemu_src_configure() {
|
||||
debug-print-function $FUNCNAME "$@"
|
||||
|
||||
local buildtype=$1
|
||||
local builddir=$2
|
||||
local conf_opts audio_opts
|
||||
local static_flag="static-${buildtype}"
|
||||
|
||||
conf_opts="--prefix=/usr"
|
||||
conf_opts+=" --sysconfdir=/etc"
|
||||
conf_opts+=" --docdir=/usr/share/doc/${PF}/html"
|
||||
conf_opts+=" --disable-bsd-user"
|
||||
conf_opts+=" --disable-guest-agent"
|
||||
conf_opts+=" --disable-libiscsi"
|
||||
conf_opts+=" --disable-strip"
|
||||
conf_opts+=" --disable-werror"
|
||||
conf_opts+=" --python=python2"
|
||||
|
||||
# audio options
|
||||
audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
|
||||
if [[ ${buildtype} == "user" ]]; then
|
||||
conf_opts+=" --enable-linux-user"
|
||||
conf_opts+=" --disable-system"
|
||||
conf_opts+=" --target-list=${user_targets}"
|
||||
conf_opts+=" --disable-bluez"
|
||||
conf_opts+=" --disable-sdl"
|
||||
fi
|
||||
|
||||
if [[ ${buildtype} == "softmmu" ]]; then
|
||||
conf_opts+=" --disable-linux-user"
|
||||
conf_opts+=" --enable-system"
|
||||
conf_opts+=" --target-list=${softmmu_targets}"
|
||||
conf_opts+=" $(use_enable bluetooth bluez)"
|
||||
conf_opts+=" $(use_enable sdl)"
|
||||
conf_opts+=" $(use_enable aio linux-aio)"
|
||||
conf_opts+=" $(use_enable brltty brlapi)"
|
||||
conf_opts+=" $(use_enable caps cap-ng)"
|
||||
conf_opts+=" $(use_enable curl)"
|
||||
conf_opts+=" $(use_enable fdt)"
|
||||
conf_opts+=" $(use_enable jpeg vnc-jpeg)"
|
||||
conf_opts+=" $(use_enable kernel_linux kvm)"
|
||||
conf_opts+=" $(use_enable kernel_linux nptl)"
|
||||
conf_opts+=" $(use_enable ncurses curses)"
|
||||
conf_opts+=" $(use_enable opengl)"
|
||||
conf_opts+=" $(use_enable png vnc-png)"
|
||||
conf_opts+=" $(use_enable rbd)"
|
||||
conf_opts+=" $(use_enable sasl vnc-sasl)"
|
||||
conf_opts+=" $(use_enable seccomp)"
|
||||
conf_opts+=" $(use_enable smartcard smartcard)"
|
||||
conf_opts+=" $(use_enable smartcard smartcard-nss)"
|
||||
conf_opts+=" $(use_enable spice)"
|
||||
conf_opts+=" $(use_enable tls vnc-tls)"
|
||||
conf_opts+=" $(use_enable usbredir usb-redir)"
|
||||
conf_opts+=" $(use_enable uuid)"
|
||||
conf_opts+=" $(use_enable vde)"
|
||||
conf_opts+=" $(use_enable vhost-net)"
|
||||
conf_opts+=" $(use_enable virtfs)"
|
||||
conf_opts+=" $(use_enable vnc)"
|
||||
conf_opts+=" $(use_enable xattr attr)"
|
||||
conf_opts+=" $(use_enable xen)"
|
||||
conf_opts+=" $(use_enable xen xen-pci-passthrough)"
|
||||
conf_opts+=" $(use_enable xfs xfsctl)"
|
||||
use mixemu && conf_opts+=" --enable-mixemu"
|
||||
conf_opts+=" --audio-drv-list=${audio_opts}"
|
||||
fi
|
||||
|
||||
conf_opts+=" $(use_enable debug debug-info)"
|
||||
conf_opts+=" $(use_enable debug debug-tcg)"
|
||||
conf_opts+=" $(use_enable doc docs)"
|
||||
conf_opts+=" $(use_enable tci tcg-interpreter)"
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts="${conf_opts} --enable-trace-backend=dtrace"
|
||||
|
||||
# Add support for static builds
|
||||
use ${static_flag} && conf_opts="${conf_opts} --static --disable-pie"
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if ! use ${static_flag} && gcc-specs-pie; then
|
||||
conf_opts="${conf_opts} --enable-pie"
|
||||
fi
|
||||
|
||||
einfo "./configure ${conf_opts}"
|
||||
cd ${builddir}
|
||||
../configure \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getBUILD_CC)" \
|
||||
${conf_opts} \
|
||||
|| die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
softmmu_targets=
|
||||
user_targets=
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
use "qemu_softmmu_targets_${target}" && \
|
||||
softmmu_targets="${softmmu_targets},${target}-softmmu"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
use "qemu_user_targets_${target}" && \
|
||||
user_targets="${user_targets},${target}-linux-user"
|
||||
done
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && \
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
|
||||
[[ -n ${user_targets} ]] && \
|
||||
einfo "Building the following user targets: ${user_targets}"
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
mkdir "${S}/softmmu-build"
|
||||
qemu_src_configure "softmmu" "${S}/softmmu-build"
|
||||
fi
|
||||
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
mkdir "${S}/user-build"
|
||||
qemu_src_configure "user" "${S}/user-build"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Install binfmt handler init script for user targets
|
||||
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
if use kernel_linux; then
|
||||
udev_dorules "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use qemu_softmmu_targets_x86_64 ; then
|
||||
dosym /usr/bin/qemu-system-x86_64 /usr/bin/qemu-kvm
|
||||
ewarn "The deprecated '/usr/bin/kvm' symlink is no longer installed"
|
||||
ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
|
||||
ewarn "your libvirt configs or other wrappers for ${PN}"
|
||||
elif use x86 || use amd64; then
|
||||
elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
|
||||
elog "of the /usr/bin/qemu-kvm symlink."
|
||||
fi
|
||||
|
||||
use python && dobin "${S}/scripts/kvm/kvm_stat"
|
||||
use python && dobin "${S}/scripts/kvm/vmxcap"
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
dodoc Changelog MAINTAINERS TODO pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
|
||||
# Avoid collision with app-emulation/libcacard
|
||||
use smartcard && mv "${ED}/usr/bin/vscclient" "${ED}/usr/bin/qemu-vscclient"
|
||||
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
fi
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
fi
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
fi
|
||||
|
||||
# Remove iPXE since we're using the iPXE packaged one
|
||||
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../ipxe/808610de.rom /usr/share/qemu/pxe-e1000.rom
|
||||
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if qemu_support_kvm; then
|
||||
elog "If you don't have kvm compiled into the kernel, make sure you have"
|
||||
elog "the kernel module loaded before running kvm. The easiest way to"
|
||||
elog "ensure that the kernel module is loaded is to load it on boot."
|
||||
elog "For AMD CPUs the module is called 'kvm-amd'"
|
||||
elog "For Intel CPUs the module is called 'kvm-intel'"
|
||||
elog "Please review /etc/conf.d/modules for how to load these"
|
||||
elog
|
||||
elog "Make sure your user is in the 'kvm' group"
|
||||
elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "The ssl USE flag was renamed to tls, so adjust your USE flags."
|
||||
elog "The nss USE flag was renamed to smartcard, so adjust your USE flags."
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST lyx-1.6.10.tar.bz2 12559454 SHA256 dcfb6fc0f6880e706d45ea16459ed2206265179f3882b4685e4955c18adaf569 SHA512 c6d3f18f555e45ef86e22f42f7c8727ad0e1ad2cc4cbf87557f3ef235d894d46c5a87fc5923e2c02a5d9ba342389bf213af156a12c17e3b5f2308b9602b182dc WHIRLPOOL 0543590df1cc353fee939fee83db55aa146418c36c9422faa07cf9a1723002b83deb92f7ff89d49abb4144fe62d0fcf917257c07aaeb0d6e016b39393a8ab542
|
||||
DIST lyx-2.0.1.tar.xz 10119588 SHA256 a58b7e0f27afce0497fffec0d19fc95fb1b3ac36818e8d02ecaf9e882c8f3852 SHA512 5c73aab353aedd3093b718f566453bff7725c41040e8f0dc4ded2989bd7db7bde46a8ce19751d6bc3aa4f37c91fb10369adc7d384a294e4983637ffa782b74b8 WHIRLPOOL c916784962396df2efb469294972b2d87a9d3ac83961258098d5fb87be55b03336cbcef5f1d4f3b033d3bbd9c4ab8f3a51d0fd2846626490374dc057563f5d12
|
||||
DIST lyx-2.0.4.tar.xz 10280308 SHA256 68317ba1c19fb372823421f967acd349033341acf521d96afa58991f7efded8c SHA512 8c07a5489787e1cd43f10fa1596649b4e4d8d071fbedfcef33890eded08a8327b89a8a500d8baba13cde8d9030534a329a3f90b54ab87d902761e15aacb72cf8 WHIRLPOOL 2937aefa6c222c63ccdb3b1277db0724740bbb5824e949cf5592199ed940aac076cf5f2f5dadb84730554c850145c5cc1e74338bc796dc98f99f0297c0f164ca
|
||||
DIST lyx-2.0.5.1.tar.xz 10312232 SHA256 36e527765daf8425fef83240a6ccb82472b2d9e6283de666c5d46c40fec269a2 SHA512 1fbabe7e5c9d752a510cb11e23df2be4a3ada21dc73820fa885693fbc7aa7623f694a37fbfccc82b550b32257ed455f05201fc0d57682af9dc70b5d60b4d1c4c WHIRLPOOL e22641888ae0267f88b112dfb702498e6f882adada5b386258e5fbb892b1de13dd839e4a1bab7a9e4d271aa6015424895d56e19fd9d8ffda08f1a54614e6dc17
|
||||
DIST lyx-2.0.5.tar.xz 10314440 SHA256 d39aada3390a0468b354ec1703f12734bdfe56b08baa7950373748745313fb02 SHA512 15490c9433997231baf841dc45c8697a80b40d1b190d2e5e2e84ab4f17377928458e8217a236653ec53c693bb6e1070e30e0dfcfbb3d1de9f3f3d9af3ae09a39 WHIRLPOOL 95762a73c6c730d27a81ac9291ce4b5ece35ae2c070c41c78800313836126f0763fe1494fb5525930ea90bfa035e3030756218d7da372b06c9e47c498a6c4291
|
||||
DIST lyx-2.0.6.tar.xz 10390452 SHA256 a5cb2bedee6e154b50881acd2316cf9d79162d6754e3aa159a6d579f5a828ad2 SHA512 644b69ad591a244ca7ebf4107c2a8dfd58757f7acc942b11e3f9ce253a775f5a713f47f5e430612d3a9e91cb202ad6da17aafbca012d66bdf9bdbb875a26de35 WHIRLPOOL 2ac79a6ec7b9a460ffd84644e6ae3da014028677555678b23c8925b8faccf39166e62ee52907212ee0082dad03c358804290b10b4092a276a0dd7fe30509aaa0
|
||||
|
@ -1,189 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-2.0.1.ebuild,v 1.12 2013/03/02 19:36:00 hwoarang Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit gnome2-utils qt4-r2 eutils flag-o-matic font python toolchain-funcs
|
||||
|
||||
MY_P="${P/_}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
FONT_S="${S}/lib/fonts"
|
||||
FONT_SUFFIX="ttf"
|
||||
DESCRIPTION="WYSIWYM frontend for LaTeX, DocBook, etc."
|
||||
HOMEPAGE="http://www.lyx.org/"
|
||||
SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/${P}.tar.xz"
|
||||
#SRC_URI="ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/rc3/${MY_P}.tar.xz"
|
||||
#SRC_URI="ftp://ftp.devel.lyx.org/pub/lyx/stable/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 sparc x86"
|
||||
IUSE="cups debug nls +latex xetex luatex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant"
|
||||
|
||||
LANGS="ar ca cs de da el en es eu fi fr gl he hu ia id it ja nb nn pl pt ro ru sk sr sv tr uk zh_CN zh_TW"
|
||||
|
||||
for X in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
COMMONDEPEND="dev-qt/qtgui:4
|
||||
dev-qt/qtcore:4
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXext
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
dev-libs/libxml2
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
>=dev-libs/boost-1.34"
|
||||
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
dev-texlive/texlive-fontsextra
|
||||
|| ( media-gfx/imagemagick media-gfx/graphicsmagick )
|
||||
cups? ( net-print/cups )
|
||||
latex? (
|
||||
virtual/latex-base
|
||||
app-text/ghostscript-gpl
|
||||
app-text/noweb
|
||||
app-text/dvipng
|
||||
dev-tex/dvipost
|
||||
dev-tex/chktex
|
||||
app-text/ps2eps
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-science
|
||||
dev-texlive/texlive-genericextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
|| (
|
||||
dev-tex/latex2html
|
||||
dev-tex/tth
|
||||
dev-tex/hevea
|
||||
dev-tex/tex4ht
|
||||
)
|
||||
)
|
||||
xetex? ( dev-texlive/texlive-xetex )
|
||||
luatex? ( >=dev-texlive/texlive-luatex-2010 )
|
||||
html? ( dev-tex/html2latex )
|
||||
rtf? (
|
||||
dev-tex/latex2rtf
|
||||
app-text/unrtf
|
||||
dev-tex/html2latex
|
||||
)
|
||||
linguas_he? ( dev-tex/culmus-latex )
|
||||
docbook? ( app-text/sgmltools-lite )
|
||||
dot? ( media-gfx/graphviz )
|
||||
dia? ( app-office/dia )
|
||||
subversion? ( <dev-vcs/subversion-1.7.0 )
|
||||
rcs? ( dev-vcs/rcs )
|
||||
svg? ( || ( gnome-base/librsvg media-gfx/inkscape ) )
|
||||
gnumeric? ( app-office/gnumeric )
|
||||
hunspell? ( app-text/hunspell )
|
||||
aspell? ( app-text/aspell )
|
||||
enchant? ( app-text/enchant )"
|
||||
|
||||
DEPEND="${COMMONDEPEND}
|
||||
sys-devel/bc
|
||||
x11-proto/xproto
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
font_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/1.6.7-python.patch
|
||||
echo "#!/bin/sh" > config/py-compile
|
||||
sed "s:python -tt:$(PYTHON) -tt:g" -i lib/configure.py || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CXX
|
||||
#bug 221921
|
||||
export VARTEXFONTS=${T}/fonts
|
||||
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable monolithic-build) \
|
||||
$(use_with hunspell) \
|
||||
$(use_with aspell) \
|
||||
$(use_with enchant) \
|
||||
--without-included-boost --disable-stdlib-debug
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc ANNOUNCE NEWS README RELEASE-NOTES UPGRADING "${FONT_S}"/*.txt || die
|
||||
|
||||
if use linguas_he ; then
|
||||
echo "\bind_file cua" > "${T}"/hebrew.bind
|
||||
echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind
|
||||
|
||||
insinto /usr/share/lyx/bind
|
||||
doins "${T}"/hebrew.bind || die
|
||||
fi
|
||||
|
||||
newicon -s 32 "${S}"/development/Win32/packaging/icons/lyx_32x32.png ${PN}.png
|
||||
make_desktop_entry ${PN} "LyX" "${PN}" "Office" "MimeType=application/x-lyx;"
|
||||
|
||||
# fix for bug 91108
|
||||
if use latex ; then
|
||||
dosym ../../../lyx/tex /usr/share/texmf/tex/latex/lyx || die
|
||||
fi
|
||||
|
||||
# fonts needed for proper math display, see also bug #15629
|
||||
font_src_install
|
||||
|
||||
python_convert_shebangs -r 2 "${D}"/usr/share/${PN}
|
||||
|
||||
if use hunspell ; then
|
||||
dosym /usr/share/myspell /usr/share/lyx/dicts
|
||||
dosym /usr/share/myspell /usr/share/lyx/thes
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
font_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
|
||||
# fix for bug 91108
|
||||
if use latex ; then
|
||||
texhash
|
||||
fi
|
||||
|
||||
# instructions for RTL support. See also bug 168331.
|
||||
if use linguas_he || use linguas_ar; then
|
||||
elog
|
||||
elog "Enabling RTL support in LyX:"
|
||||
elog "If you intend to use a RTL language (such as Hebrew or Arabic)"
|
||||
elog "You must enable RTL support in LyX. To do so start LyX and go to"
|
||||
elog "Tools->Preferences->Language settings->Language"
|
||||
elog "and make sure the \"Right-to-left language support\" is checked"
|
||||
elog
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
|
||||
if use latex ; then
|
||||
texhash
|
||||
fi
|
||||
}
|
@ -1,181 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-2.0.4.ebuild,v 1.8 2013/03/02 19:36:00 hwoarang Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit gnome2-utils qt4-r2 eutils flag-o-matic font python toolchain-funcs
|
||||
|
||||
MY_P="${P/_}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
FONT_S="${S}/lib/fonts"
|
||||
FONT_SUFFIX="ttf"
|
||||
DESCRIPTION="WYSIWYM frontend for LaTeX, DocBook, etc."
|
||||
HOMEPAGE="http://www.lyx.org/"
|
||||
SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/${P}.tar.xz"
|
||||
#SRC_URI="ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/rc3/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x64-macos ~x86-macos"
|
||||
IUSE="cups debug nls +latex xetex luatex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant"
|
||||
|
||||
LANGS="ar ca cs de da el en es eu fi fr gl he hu ia id it ja nb nn pl pt ro ru sk sr sv tr uk zh_CN zh_TW"
|
||||
|
||||
for X in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
COMMONDEPEND="dev-qt/qtgui:4
|
||||
dev-qt/qtcore:4
|
||||
dev-libs/libxml2
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
>=dev-libs/boost-1.34"
|
||||
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
dev-texlive/texlive-fontsextra
|
||||
|| ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] )
|
||||
cups? ( net-print/cups )
|
||||
latex? (
|
||||
virtual/latex-base
|
||||
app-text/ghostscript-gpl
|
||||
app-text/noweb
|
||||
app-text/dvipng
|
||||
dev-tex/dvipost
|
||||
dev-tex/chktex
|
||||
app-text/ps2eps
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-science
|
||||
dev-texlive/texlive-genericextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
|| (
|
||||
dev-tex/latex2html
|
||||
dev-tex/tth
|
||||
dev-tex/hevea
|
||||
dev-tex/tex4ht
|
||||
)
|
||||
)
|
||||
xetex? ( dev-texlive/texlive-xetex )
|
||||
luatex? ( >=dev-texlive/texlive-luatex-2010 )
|
||||
html? ( dev-tex/html2latex )
|
||||
rtf? (
|
||||
dev-tex/latex2rtf
|
||||
app-text/unrtf
|
||||
dev-tex/html2latex
|
||||
)
|
||||
linguas_he? ( dev-tex/culmus-latex )
|
||||
docbook? ( app-text/sgmltools-lite )
|
||||
dot? ( media-gfx/graphviz )
|
||||
dia? ( app-office/dia )
|
||||
subversion? ( <dev-vcs/subversion-1.7.0 )
|
||||
rcs? ( dev-vcs/rcs )
|
||||
svg? ( || ( media-gfx/imagemagick[svg] media-gfx/graphicsmagick[svg] )
|
||||
|| ( gnome-base/librsvg media-gfx/inkscape )
|
||||
)
|
||||
gnumeric? ( app-office/gnumeric )
|
||||
hunspell? ( app-text/hunspell )
|
||||
aspell? ( app-text/aspell )
|
||||
enchant? ( app-text/enchant )"
|
||||
|
||||
DEPEND="${COMMONDEPEND}
|
||||
sys-devel/bc
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
font_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/2.0-python.patch
|
||||
echo "#!/bin/sh" > config/py-compile
|
||||
sed "s:python -tt:$(PYTHON) -tt:g" -i lib/configure.py || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CXX
|
||||
#bug 221921
|
||||
export VARTEXFONTS=${T}/fonts
|
||||
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable monolithic-build) \
|
||||
$(use_with hunspell) \
|
||||
$(use_with aspell) \
|
||||
$(use_with enchant) \
|
||||
--without-included-boost \
|
||||
--disable-stdlib-debug \
|
||||
--with-packaging=posix
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc ANNOUNCE NEWS README RELEASE-NOTES UPGRADING "${FONT_S}"/*.txt || die
|
||||
|
||||
if use linguas_he ; then
|
||||
echo "\bind_file cua" > "${T}"/hebrew.bind
|
||||
echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind
|
||||
|
||||
insinto /usr/share/lyx/bind
|
||||
doins "${T}"/hebrew.bind || die
|
||||
fi
|
||||
|
||||
newicon -s 32 "$S/development/Win32/packaging/icons/lyx_32x32.png" ${PN}.png
|
||||
make_desktop_entry ${PN} "LyX" "${PN}" "Office" "MimeType=application/x-lyx;"
|
||||
|
||||
# fix for bug 91108
|
||||
if use latex ; then
|
||||
dosym ../../../lyx/tex /usr/share/texmf/tex/latex/lyx || die
|
||||
fi
|
||||
|
||||
# fonts needed for proper math display, see also bug #15629
|
||||
font_src_install
|
||||
|
||||
python_convert_shebangs -r 2 "${ED}"/usr/share/${PN}
|
||||
|
||||
if use hunspell ; then
|
||||
dosym /usr/share/myspell /usr/share/lyx/dicts
|
||||
dosym /usr/share/myspell /usr/share/lyx/thes
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
font_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
|
||||
# fix for bug 91108
|
||||
if use latex ; then
|
||||
texhash
|
||||
fi
|
||||
|
||||
# instructions for RTL support. See also bug 168331.
|
||||
if use linguas_he || use linguas_ar; then
|
||||
elog
|
||||
elog "Enabling RTL support in LyX:"
|
||||
elog "If you intend to use a RTL language (such as Hebrew or Arabic)"
|
||||
elog "You must enable RTL support in LyX. To do so start LyX and go to"
|
||||
elog "Tools->Preferences->Language settings->Language"
|
||||
elog "and make sure the \"Right-to-left language support\" is checked"
|
||||
elog
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
|
||||
if use latex ; then
|
||||
texhash
|
||||
fi
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-3.5.2-r1.ebuild,v 1.6 2013/03/13 11:26:01 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit base qt4-r2 versionator
|
||||
|
||||
# The upstream version numbering is bad, so we have to remove a dot in the
|
||||
# minor version number
|
||||
MAJOR="$(get_major_version)"
|
||||
MINOR_1="$(($(get_version_component_range 2)/10))"
|
||||
MINOR_2="$(($(get_version_component_range 2)%10))"
|
||||
if [ ${MINOR_2} -eq "0" ] ; then
|
||||
MY_P="${PN}-${MAJOR}.${MINOR_1}"
|
||||
else
|
||||
MY_P="${PN}-${MAJOR}.${MINOR_1}.${MINOR_2}"
|
||||
fi
|
||||
|
||||
MY_P="${P}"
|
||||
|
||||
DESCRIPTION="A nice LaTeX-IDE"
|
||||
HOMEPAGE="http://www.xm1math.net/texmaker/"
|
||||
SRC_URI="http://www.xm1math.net/texmaker/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/hunspell
|
||||
app-text/poppler[qt4]
|
||||
sys-libs/zlib
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtwebkit:4
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
app-text/psutils
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/netpbm"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-hunspell.patch
|
||||
"${FILESDIR}"/${P}-clang.patch
|
||||
)
|
||||
src_configure() {
|
||||
eqmake4 \
|
||||
${PN}.pro \
|
||||
PREFIX="${EPREFIX}"/usr \
|
||||
DESKTOPDIR=/usr/share/applications \
|
||||
ICONDIR=/usr/share/pixmaps
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${ED}" install
|
||||
|
||||
doicon utilities/texmaker*.png utilities/texmaker.svg
|
||||
|
||||
dodoc utilities/AUTHORS utilities/CHANGELOG.txt
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "A user manual with many screenshots is available at:"
|
||||
elog "${EPREFIX}/usr/share/${PN}/usermanual_en.html"
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-4.0.ebuild,v 1.2 2013/03/17 12:25:30 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qt4-r2 versionator
|
||||
|
||||
# The upstream version numbering is bad, so we have to remove a dot in the
|
||||
# minor version number
|
||||
MAJOR="$(get_major_version)"
|
||||
MINOR_1="$(($(get_version_component_range 2)/10))"
|
||||
MINOR_2="$(($(get_version_component_range 2)%10))"
|
||||
if [ ${MINOR_2} -eq "0" ] ; then
|
||||
MY_P="${PN}-${MAJOR}.${MINOR_1}"
|
||||
else
|
||||
MY_P="${PN}-${MAJOR}.${MINOR_1}.${MINOR_2}"
|
||||
fi
|
||||
|
||||
MY_P="${P}"
|
||||
|
||||
DESCRIPTION="A nice LaTeX-IDE"
|
||||
HOMEPAGE="http://www.xm1math.net/texmaker/"
|
||||
SRC_URI="http://www.xm1math.net/texmaker/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/hunspell
|
||||
app-text/poppler:=[qt4]
|
||||
sys-libs/zlib
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtwebkit:4
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
app-text/psutils
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/netpbm"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.5.2-hunspell.patch
|
||||
)
|
||||
src_configure() {
|
||||
eqmake4 \
|
||||
${PN}.pro \
|
||||
PREFIX="${EPREFIX}"/usr \
|
||||
DESKTOPDIR=/usr/share/applications \
|
||||
ICONDIR=/usr/share/pixmaps
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${ED}" install
|
||||
|
||||
doicon utilities/texmaker*.png utilities/texmaker.svg
|
||||
|
||||
dodoc utilities/AUTHORS utilities/CHANGELOG.txt
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "A user manual with many screenshots is available at:"
|
||||
elog "${EPREFIX}/usr/share/${PN}/usermanual_en.html"
|
||||
}
|
@ -1 +1 @@
|
||||
DIST libodfgen-0.0.0.tar.xz 270060 SHA256 223ec34b357644ad44d4991ef0bfd0bbbe548a5f4b273d799f988ab5334abd6a SHA512 2a4658539cec6bf97a17abaa24ab37e5994e8425234d779c7391ffa88f662c1b7113c40de3113af53ff34064fe203dba830c1bc5662048f622c2dca141817eb4 WHIRLPOOL 501bc862d8230516c8b7fcbf0d457316276d0182716a16c54c0ef3d75c4b20d42f2a3776e66fc49c1ea3746e5a471921cd1999701e23115415465a8a5ceac4a4
|
||||
DIST libodfgen-0.0.1.tar.xz 270304 SHA256 dc1478b8f9acc9cfa59b9b206eb4fc9c082f640d7c35e9a6f6dbf025c60e2ff2 SHA512 defc4379b15bc0a0c9d68462eae1e25eaa768de01f88d814babfc9b88ab2ac57de2d0d2fe6303a1194f1b2d1bdb47d6b9d3f88dfba4a4476ecd1dc230d79978a WHIRLPOOL 4e7365197cd639607c1088d31c67a3d02fb58755c090ac4dfd5da7ca678c22b48062be78412eabc6257ea4cd1cec2dde20620c625be6560b084e44cf513fcf6e
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/libodfgen/libodfgen-0.0.0.ebuild,v 1.2 2013/05/06 12:01:31 scarabeus Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/libodfgen/libodfgen-0.0.1.ebuild,v 1.1 2013/05/07 12:38:52 scarabeus Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1 +1,2 @@
|
||||
DIST dfu-programmer-0.5.4.tar.gz 126700 SHA256 c0fb08fead3d4379368d0e4af5a5aa99c7acee32fa8696cd3e27d2f7856a20de SHA512 c6e0000e7d849144ff4d9191b09540f6a7c7414221952b26898421622079c1fd300e1a4d0f35db6f867e539f59c129850c6a9c745bc0f9916723e8e89fe2fd63 WHIRLPOOL bd8f7c6831544209e4513bd4231e4e1f6f43fadff05d319c22551d8cc99e1b0b5b0b98515175baaf3cf8e6baf79ff140b714f314f39063a80583dcce6dec7404
|
||||
DIST dfu-programmer-0.6.1.tar.gz 134394 SHA256 6c4c0ac8860894b970ffeef9f5b579a3465846d013e5c0d9c7fd19bb828ea857 SHA512 feb54119496013b8e77b793d8df0d68bf58de5a7d68ff0cf7a70c0bb63c70c4a43d169ecb71761df96bb07f6a23cd959c20132f5446361045f46df965b8b1e43 WHIRLPOOL a86fed7c6b623182487048f8db555ffa1f9a123bdb912df7adebd0f3742dadcdb1d4a778da4e607f63114944077742cf3cdc44bb9e98fc421e624ba69c2ea905
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/dfu-programmer/dfu-programmer-0.6.1.ebuild,v 1.1 2013/05/08 02:47:21 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit udev
|
||||
|
||||
DESCRIPTION="A Device Firmware Update based USB programmer for Atmel chips"
|
||||
HOMEPAGE="http://dfu-programmer.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/libusb:1
|
||||
virtual/udev"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
# Upstream has fixed this in their configure already.
|
||||
tc-export CPP PKG_CONFIG
|
||||
sed -i \
|
||||
-e "/LIBUSB_1_0_CFLAGS=/s:=.*:='$(${PKG_CONFIG} --cflags libusb-1.0)':" \
|
||||
-e "/LIBUSB_1_0_LIBS=/s:=.*:='$(${PKG_CONFIG} --libs libusb-1.0)':" \
|
||||
configure || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
cat <<-EOF > 70-dfu-programmer.rules
|
||||
#
|
||||
# do not edit this file, it will be overwritten on update
|
||||
#
|
||||
EOF
|
||||
printf 'SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="%s", MODE="660", GROUP="plugdev", SYMLINK+="dfu-%%n"\n' \
|
||||
2ff{a,b,9,7,4,3} >> 70-dfu-programmer.rules
|
||||
|
||||
udev_dorules 70-dfu-programmer.rules
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-1.1.4.ebuild,v 1.1 2013/05/07 21:42:52 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A library for applications dealing with netlink socket"
|
||||
HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
|
||||
SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1.1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="doc? ( app-doc/doxygen )"
|
||||
DOCS=( ChangeLog )
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.1-vlan-header.patch \
|
||||
"${FILESDIR}"/${PN}-1.1-flags.patch \
|
||||
"${FILESDIR}"/${PN}-1.1.3-offsetof.patch
|
||||
sed -i \
|
||||
-e '/@echo/d' \
|
||||
Makefile.rules {lib,src,tests}/Makefile || die
|
||||
sed -i \
|
||||
-e 's|-g ||g' \
|
||||
Makefile.opts.in || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR=$(tc-getAR)
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}/doc"
|
||||
emake gendoc || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}/doc"
|
||||
dohtml -r html/*
|
||||
fi
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/async/async-0.6.1-r1.ebuild,v 1.1 2013/05/07 13:53:20 idella4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Async Framework"
|
||||
HOMEPAGE="http://gitorious.org/git-python/async
|
||||
http://pypi.python.org/pypi/async"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-libs/zlib"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}_libz_link.patch )
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/compizconfig-python/compizconfig-python-0.8.4-r5.ebuild,v 1.1 2013/05/07 13:17:36 pinkbyte Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
inherit eutils autotools-utils python-r1
|
||||
|
||||
DESCRIPTION="Compizconfig Python Bindings"
|
||||
HOMEPAGE="http://www.compiz.org/"
|
||||
SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=dev-libs/glib-2.6
|
||||
>=x11-libs/libcompizconfig-${PV}"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/pyrex[${PYTHON_USEDEP}]
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-fast-install
|
||||
--disable-static
|
||||
)
|
||||
python_foreach_impl autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl autotools-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl autotools-utils_src_install
|
||||
prune_libtool_files --modules
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/git-python/git-python-0.3.2_rc1-r1.ebuild,v 1.1 2013/05/07 14:57:29 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
#Tests dont make sense without a git repo
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="GitPython"
|
||||
MY_PV="${PV/_rc/.RC}"
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="GitPython is a python library used to interact with Git repositories."
|
||||
HOMEPAGE="http://gitorious.org/git-python http://pypi.python.org/pypi/GitPython"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-vcs/git
|
||||
>=dev-python/gitdb-0.5.4[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gitdb/gitdb-0.5.4-r1.ebuild,v 1.1 2013/05/07 14:47:15 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="GitDB is a pure-Python git object database"
|
||||
HOMEPAGE="https://github.com/gitpython-developers/gitdb
|
||||
http://pypi.python.org/pypi/gitdb"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-vcs/git
|
||||
>=dev-python/async-0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/smmap-0.8[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyasn1-modules/pyasn1-modules-0.0.5.ebuild,v 1.1 2013/05/08 03:03:47 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="pyasn1 modules"
|
||||
HOMEPAGE="http://pyasn1.sourceforge.net/ http://pypi.python.org/pypi/pyasn1-modules"
|
||||
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"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/pyasn1"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
DOCS="CHANGES README"
|
||||
PYTHON_MODNAME="pyasn1_modules"
|
||||
|
||||
src_test() {
|
||||
echoit() { echo "$@"; "$@"; }
|
||||
testing() {
|
||||
local exit_status=0 test
|
||||
for test in test/*.sh; do
|
||||
PATH="${S}/tools:${PATH}" PYTHONPATH="build-${PYTHON_ABI}/lib" \
|
||||
echoit sh "${test}" || exit_status=1
|
||||
done
|
||||
return ${exit_status}
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
insinto /usr/share/doc/${PF}/tools
|
||||
doins tools/* || die "doins failed"
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
# 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.7.ebuild,v 1.1 2013/05/08 02:58:12 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
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"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" test/suite.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local HTML_DOCS=( doc/pyasn1-tutorial.html )
|
||||
use doc && HTML_DOCS=( doc/. )
|
||||
|
||||
distutils-r1_src_install
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST python-selinux-2.16-1.tar.bz2 11264 SHA256 efddd98ac531bf4bb636a84504c952520b989b960ae11215c60d909cdd46a3de SHA512 74c9a8eaa81335529a74f0f2665967b237b539b82076f6a408df09c0d3019da89545958efd3a68a97567ac7ae2ad37a2f174512e3bfa8900fa7982de74a7e56c WHIRLPOOL 97aec9e05362df799b2bb15d9fa9009720c3af4a463d0d68f61f9de5f210153787d70318995c34930942132640b88363c66a04808a80847d7937cbcd2e476958
|
@ -1,11 +0,0 @@
|
||||
--- python-selinux-orig/Makefile 2006-02-12 04:37:05.000000000 +0300
|
||||
+++ python-selinux/Makefile 2011-02-22 19:06:02.000000000 +0300
|
||||
@@ -23,7 +23,7 @@
|
||||
$(PYREXC) $<
|
||||
|
||||
%.so: %.c
|
||||
- $(CC) -fPIC -shared -o $@ -I /usr/include/python${PYVER} $< -lselinux
|
||||
+ $(CC) -fPIC -shared -o $@ -I /usr/include/python${PYVER} ${CFLAGS} ${LDFLAGS} $< -lselinux
|
||||
|
||||
install: $(all_so)
|
||||
mkdir -p ${DESTDIR}/usr/lib/python${PYVER}/site-packages
|
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>selinux</herd>
|
||||
<longdescription>Python bindings for SELinux libselinux fuctions.</longdescription>
|
||||
</pkgmetadata>
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/python-selinux-2.16-r2.ebuild,v 1.5 2011/02/08 17:47:41 arfrever Exp $
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Extra python bindings for SELinux functions"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
SRC_URI="mirror://gentoo/${P}-1.tar.bz2"
|
||||
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=sys-libs/libselinux-1.28-r1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake PYVER="$(python_get_version)" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_need_rebuild
|
||||
make DESTDIR="${D}" PYVER="$(python_get_version)" install || die
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/python-selinux-2.16-r3.ebuild,v 1.1 2011/03/18 02:02:11 blueness Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit python eutils
|
||||
|
||||
DESCRIPTION="Extra python bindings for SELinux functions"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
SRC_URI="mirror://gentoo/${P}-1.tar.bz2"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=sys-libs/libselinux-1.28-r1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/respect-LDFLAGS.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake PYVER="$(python_get_version)" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_need_rebuild
|
||||
make DESTDIR="${D}" PYVER="$(python_get_version)" install || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST pyzmq-13.1.0.tar.gz 838742 SHA256 8e6fbe2999204456216a2da62429277117ed1761326bce00e48a0443ae3574a7 SHA512 c65013293dd4049af5db009fdf7b6890a3c6b1e12dd588b58fb5f5a5fef7286935851fb7a530e03ea16f28de48b964e50f48bbf87d34545fd23b80dd4380476b WHIRLPOOL 1aa5bfad65349effb6ebff8d3d0e2a693dc03d0aa112f1697417b2e6f50580ff3760cf85141719c1686a798d1ff48bc27e8bca347f576e7b4fe4950cb94b9a42
|
||||
DIST pyzmq-2.1.10.tar.gz 613843 SHA256 cbcb8c7bf514297aec6e4622381e9feacb4fc552f610d89a9856c47e246f3932 SHA512 de4516174c48162e1132bc387714853c6be9ab178e15f0df6d481f4ee1f42d0329f26098e0e84df61ff598f86bfc0e2602bb5e231a8b5a614fa089310ebe65f7 WHIRLPOOL b35129f60b86a732cc1518380edd2ed3a746428af062973914457b8c5234d7a5175b41ca9374fe4715eafb2cca6ae3a757c22d2630d9e03616511a1f6bdb4796
|
||||
DIST pyzmq-2.1.11.tar.gz 611281 SHA256 91c21b762ace0ee0dba21d4544b6d521b2ec60015a37a558aa1d747b274f06e2 SHA512 d761b492352841cdc125d9f0c99ee6d6c435812472ea234728b7f0fb4ad1048e1eec9b399df2081fbc926566f333f7780fedd0ce23255a6633fe5c60ed15a6af WHIRLPOOL b3af3633a4d0675ed7abe0cb21948534c30d3d43eb2c17181805adf9f8d34c7eaac7c15756b08f38abb0d9dabfc9cd99ecb3f4037ee02add75a7691b51fbff46
|
||||
DIST pyzmq-2.2.0.1.tar.gz 789996 SHA256 dae7423f4aa7c93f8c77dadd15e34ce6576121a6e7ae0ecdb6084d855097decc SHA512 781829783dd932f2f7c9ca37ca84f2797ec23860260da3d1005600981d51c1006f187b9b84e937fd3b6dd0e7e58734992336a593eaa0514966dd204227ae1cac WHIRLPOOL 4a1827879e38edbff8f2badf537887ab48f7a67e1139f45c8472760403bf27ea1aeb8c1b6f1be1123ead906d44f98f46f7194b1839ec2b73e1d7bf76e9f032d3
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/pyzmq-13.1.0.ebuild,v 1.1 2013/05/07 20:44:13 chutzpah Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="PyZMQ is a lightweight and super-fast messaging library built on top of the ZeroMQ library"
|
||||
HOMEPAGE="http://www.zeromq.org/bindings:python http://pypi.python.org/pypi/pyzmq"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="examples test"
|
||||
|
||||
PY2_USEDEP=$(python_gen_usedep 'python2*')
|
||||
|
||||
RDEPEND=">=net-libs/zeromq-2.1.9"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
!arm? ( dev-python/cffi[${PY2_USEDEP}] )
|
||||
dev-python/nose[${PY2_USEDEP}]
|
||||
dev-python/cython[${PY2_USEDEP}]
|
||||
)"
|
||||
|
||||
# Configure checks write to cwd.
|
||||
# https://github.com/zeromq/pyzmq/issues/318
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
REQUIRED_USE="test? ( !arm )"
|
||||
|
||||
python_test() {
|
||||
if [[ ${EPYTHON} == python3* ]]; then
|
||||
einfo "Skipping tests for ${EPYTHON}, not supported."
|
||||
else
|
||||
nosetests -svw build/lib* || die "Tests fail with ${EPYTHON}"
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
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/dev-python/smmap/smmap-0.8.2-r1.ebuild,v 1.1 2013/05/07 14:34:25 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pure git implementation of a sliding window memory map manager"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/smmap
|
||||
https://github.com/Byron/smmap"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST waitress-0.8.2.tar.gz 100184 SHA256 9b69a80762a899c9cb8d7e04fa3acd2e93e99ba197cae7d3d7de70fdf45a337b SHA512 b276a0164425d783d0fe64da0c8c8dc1b199294fcc4db2150e620a68c4f219aede1908a366a88e513f9290c8b9d60b5f3cd853e15e329a1ce4e6a35f7a69598a WHIRLPOOL c22542f7d1c10b977bad1873a2d2daa69841fe2ec9d3777620a063ba117479038c50b1d3f10638d27a0815376a27dac9a98b78b472f43684751cf1941f36ff25
|
||||
DIST waitress-0.8.3.tar.gz 101245 SHA256 b650c2753555fbc77e2ef2c22310c6e9c3e5584f7dd97ed82a39c30e9244b114 SHA512 57af35c7da07c01acfac2a0a8e82411f91231b1da6e1f7185a3c84418bf0a0a5859380ed2f1dc57dd327034cdfb9a855f3aed4421893064d9554a7a4860ddd79 WHIRLPOOL 4d55b628c9948633a888dd37bb29afbefe900d6ccd848e6ba73f9094483dce22b63df1082c70aa747702b807b379456aba82d76c3b3b64152039e20845f17eee
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/waitress/waitress-0.8.3.ebuild,v 1.1 2013/05/08 03:20:23 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
# doc creation is fatally broken
|
||||
|
||||
# somehow this seems to not work at all :\
|
||||
RESTRICT="test"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pure-Python WSGI server"
|
||||
HOMEPAGE="http://docs.pylonsproject.org/projects/waitress/en/latest/ https://pypi.python.org/pypi/waitress/ https://github.com/Pylons/waitress"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
test? ( dev-python/nose )"
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/wtforms/wtforms-1.0.4.ebuild,v 1.1 2013/05/08 03:11:50 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="WTForms"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Flexible forms validation and rendering library for python web development"
|
||||
HOMEPAGE="http://wtforms.simplecodes.com/ http://pypi.python.org/pypi/WTForms"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
doc? ( >=dev-python/sphinx-0.6[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=""
|
||||
|
||||
DOCS="AUTHORS.txt CHANGES.txt README.txt"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
cd docs
|
||||
PYTHONPATH=".." emake html || die "Building of documentation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
dohtml -r docs/_build/html/* || die "Installation of documentation failed"
|
||||
fi
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST rubygems-1.3.7.tgz 290986 SHA256 388b90ae6273f655507b10c8ba6bee9ea72e7d49c3e610025531cb8c3ba67c9d SHA512 8a0e2b26643cce7645520dbcb57bcb201a643d9c5537d30325dc5c8ddf488467d07708ae38cc18e12362cad0c71cf64de99994e60ed9131c5f6d457ed8ab2145 WHIRLPOOL fdda1de82e00bcea1c3de265f43ccf353bf3580b491dd12276643ff9c676264cb7eed0da9e0c98579f54eb9d39819416b13e431f40227966be4c6a44b0d2d9e6
|
||||
DIST rubygems-1.8.15.tgz 251305 SHA256 a14cd45dc57ea624593c88f6c30fb7b38d0c6ca98c815501e9236c76bb6a2e33 SHA512 11d1f9cd2cfd84f14d82f01e3427b98a85587be539da532e99101c09b722c4c543f8973b4c9baf6bc387af4c1f5caf83b0552bb1fe0e5aded22bc3d1236769c0 WHIRLPOOL 9f95368b70143e4d95bdc66f698f632909c5d2025167a875531eea10840e3ce64a18dc07d65eb6b360bc14da4caa93047af9867a8251cfc230a89f2b2200c471
|
||||
DIST rubygems-1.8.24.tgz 380101 SHA256 4b61fa51869b3027bcfe67184b42d2e8c23fa6ab17d47c5c438484b9be2821dd SHA512 f055ecf76f624cba747e2f841eb44b89bd28419b0a44973c6442d22233644fbe6babee7dea89a71f17deefaaa4e4e5e9ebeb6fd3abb58dafb63f313b1c3d60c9 WHIRLPOOL 0374cca1e38e3132d10ef43a47155b9e41b7c91f84f10d73a21f4b88a9811d9e1a7674c23414760c9c725bd75ca79257d57c8591dbe37112e784cd46251e80fd
|
||||
DIST rubygems-1.8.25.tgz 380540 SHA256 649348ddf8746887fb1ee79c55dc508f0627d3d0bfa7fcdbcd4edb24908f1cc8 SHA512 8df500dd313b915b7769a6b5b9fd11e3841b23a8dcebdcf0676f70e8ee958306fab269008922c9d903b1d0ddda49b5c0387e431f1d3ef91920c43e666b282615 WHIRLPOOL 639ae8d85c28a267b8eb2e3a6e3a950a79aeb9424b20cc43641bb5d8ff83110b73b801d3b668ba61be030879797e2cc95785e79b8b5667caca15d3d4d35c699d
|
||||
|
@ -1,129 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-1.8.15.ebuild,v 1.7 2012/06/16 05:01:36 hattya Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
USE_RUBY="ruby18 ree18 jruby"
|
||||
|
||||
inherit ruby-ng prefix
|
||||
|
||||
DESCRIPTION="Centralized Ruby extension management system"
|
||||
HOMEPAGE="http://rubyforge.org/projects/rubygems/"
|
||||
LICENSE="|| ( Ruby MIT )"
|
||||
|
||||
SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
|
||||
|
||||
KEYWORDS="~alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE="server test"
|
||||
|
||||
RDEPEND="
|
||||
ruby_targets_jruby? ( >=dev-java/jruby-1.5.6-r1 )"
|
||||
|
||||
# index_gem_repository.rb
|
||||
PDEPEND="server? ( dev-ruby/builder[ruby_targets_ruby18] )"
|
||||
|
||||
# Tests fail when YARD is installed.. but just the rdoc-related stuff,
|
||||
# so it's not a mistake.
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/minitest
|
||||
virtual/ruby-rdoc
|
||||
!!dev-ruby/yard
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
mkdir -p lib/rubygems/defaults || die
|
||||
cp "${FILESDIR}/gentoo-defaults.rb" lib/rubygems/defaults/operating_system.rb || die
|
||||
|
||||
eprefixify lib/rubygems/defaults/operating_system.rb
|
||||
|
||||
# Disable broken tests when changing default values:
|
||||
sed -i -e '/^ def test_self_bindir_default_dir/, /^ end/ s:^:#:' \
|
||||
-e '/^ def test_self_default_dir/, /^ end/ s:^:#:' \
|
||||
test/rubygems/test_gem.rb || die
|
||||
|
||||
# Remove tests that want to write to /usr/local/bin
|
||||
rm test/rubygems/test_gem_uninstaller.rb test/rubygems/test_gem_install_update_options.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
# Not really a build but...
|
||||
sed -i -e 's:#!.*:#!'"${RUBY}"':' bin/gem
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Unset RUBYOPT to avoid interferences, bug #158455 et. al.
|
||||
unset RUBYOPT
|
||||
|
||||
if [[ "${EUID}" -ne "0" ]]; then
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
eqawarn "Skipping tests for jruby 1.5."
|
||||
;;
|
||||
*)
|
||||
RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} -I.:lib:test \
|
||||
-e 'Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed"
|
||||
;;
|
||||
esac
|
||||
else
|
||||
ewarn "The userpriv feature must be enabled to run tests, bug 408951."
|
||||
eerror "Testsuite will not be run."
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
# Unset RUBYOPT to avoid interferences, bug #158455 et. al.
|
||||
unset RUBYOPT
|
||||
export RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}"
|
||||
|
||||
pushd lib &>/dev/null
|
||||
doruby -r *
|
||||
popd &>/dev/null
|
||||
|
||||
case "${RUBY}" in
|
||||
*ruby19)
|
||||
local sld=$(ruby_rbconfig_value 'sitelibdir')
|
||||
insinto "${sld#${EPREFIX}}" # bug #320813
|
||||
newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb || die
|
||||
;;
|
||||
*)
|
||||
doruby "${FILESDIR}/auto_gem.rb" || die
|
||||
;;
|
||||
esac
|
||||
|
||||
newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
dodoc History.txt README.rdoc
|
||||
|
||||
doenvd "${FILESDIR}/10rubygems"
|
||||
|
||||
if use server; then
|
||||
newinitd "${FILESDIR}/init.d-gem_server2" gem_server || die "newinitd failed"
|
||||
newconfd "${FILESDIR}/conf.d-gem_server" gem_server || die "newconfd failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/gem) ]] ; then
|
||||
eselect ruby set $(eselect --brief --no-color ruby show | head -n1)
|
||||
fi
|
||||
|
||||
ewarn
|
||||
ewarn "To switch between available Ruby profiles, execute as root:"
|
||||
ewarn "\teselect ruby set ruby(18|19|...)"
|
||||
ewarn
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
ewarn "If you have uninstalled dev-ruby/rubygems, Ruby applications are unlikely"
|
||||
ewarn "to run in current shells because of missing auto_gem."
|
||||
ewarn "Please run \"unset RUBYOPT\" in your shells before using ruby"
|
||||
ewarn "or start new shells"
|
||||
ewarn
|
||||
ewarn "If you have not uninstalled dev-ruby/rubygems, please do not unset "
|
||||
ewarn "RUBYOPT"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST debhelper_9.20120909.tar.gz 464785 SHA256 fabcdb9c41975ea0a1ccc66d6e065e424ed7a2119f6f1a6f7bfb7d06701370af SHA512 f1c417f0610b703d1b6ad9989078f03c67b11f45b1aa61f7d3f2fe8578dbc4d060da955c872c8e6326553ab4e7bbc21a1d9bebd9237e54d74c97f1297981384e WHIRLPOOL 72440752da24e29e5bb2e142d02b18b77472bf373b9c5a79ced790a5e6bb6e1cdec7521eb6e76b8833295441bd1062b9a94170d92dd9e9d5ed984e1ec6d9c88e
|
||||
DIST debhelper_9.20130504.tar.gz 470050 SHA256 7d6ee2657430afcb477396c32c4bc170aa7fae97332045aa8f4ebec889051f01 SHA512 79ac8c1f6eee72a69b759733f7cfd75eb28a2557eb10f7f8f5fee174a62a89436923c3ab28563b6e00e874224ed050bb5981f41a822a40cd35c1b796aec053f1 WHIRLPOOL 5d71fe9308268943adb1bfd97d3b7271b1aa0ef77001ff8fbe821a0e4aa373e89d9952401ccdf323bfaed0d9fcf033f15a0200753f723c6141afee8a618f9000
|
||||
DIST debhelper_9.20130507.tar.gz 471022 SHA256 5c2d4dae513af6bcb3f63c27a1eb16c130b488b5dc7e0bf43d2e125dd5129bd8 SHA512 9f5dcbca3c0e9e3468e55914eec4abfe9e23e75e808660efda7641217365b30a60f5fc3121845d90faae26c5b57dfd89cd1c1fc6a61512abe7cbd8cd343b3112 WHIRLPOOL d56a822b74d22a4642f695b82f1fbc2fb9b0095a5fa0dd8fb5a1901cabc483d592c5687bc950a29f210a2319ec6f11c8c3b69cb8393e0eb856f8d407f668039c
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/debhelper/debhelper-9.20130507.ebuild,v 1.1 2013/05/08 01:53:19 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Collection of programs that can be used to automate common tasks in debian/rules"
|
||||
HOMEPAGE="http://packages.qa.debian.org/d/debhelper.html http://joeyh.name/code/debhelper/"
|
||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="test"
|
||||
DH_LINGUAS=( de es fr )
|
||||
IUSE+=" ${DH_LINGUAS[@]/#/linguas_}"
|
||||
|
||||
NLS_DEPEND=$(
|
||||
printf "linguas_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LINGUAS[@]}
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/perl-5.10
|
||||
app-arch/dpkg
|
||||
dev-perl/TimeDate
|
||||
virtual/perl-Getopt-Long
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
${NLS_DEPEND}
|
||||
test? ( dev-perl/Test-Pod )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
|
||||
local LANGS="" USE_NLS=no lingua
|
||||
for lingua in ${DH_LINGUAS[@]}; do
|
||||
if use linguas_${lingua}; then
|
||||
LANGS+=" ${lingua}"
|
||||
USE_NLS=yes
|
||||
fi
|
||||
done
|
||||
|
||||
emake USE_NLS="${USE_NLS}" LANGS="${LANGS}" build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc doc/* debian/changelog
|
||||
docinto examples
|
||||
dodoc examples/*
|
||||
local lingua
|
||||
for manfile in *.1 *.7 ; do
|
||||
for lingua in ${DH_LINGUAS[@]}; do
|
||||
case ${manfile} in
|
||||
*.${lingua}.?)
|
||||
use linguas_${lingua} \
|
||||
&& cp ${manfile} "${T}"/${manfile/.${lingua}/} \
|
||||
&& doman -i18n=${lingua} "${T}"/${manfile/.${lingua}/}
|
||||
;;
|
||||
*)
|
||||
doman ${manfile}
|
||||
;;
|
||||
esac
|
||||
done
|
||||
done
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST howdoi-1.1.1.tar.gz 5360 SHA256 e15f0d6a2b16bcad5956ef1c2094a429fa42f1bc0465255cc871032f568f7e1c SHA512 fdacb6ae057456dd951d53fc295ccbb935ee0bd03cdc65f3266dd6632883bb28a3fb59fb3a0d09850b6b6a12ef1df365b5cd2547e842ffc7208272e66bc4cab3 WHIRLPOOL 6acd86f6dac091ea4d6745d5407aa4c86443580c23dd49131e0943deb9cab1c385413afcc64eca9ff32f19e6f2efa08f35b62611ab5f79f7c0566f67085dd5a4
|
||||
DIST howdoi-1.1.2.tar.gz 5419 SHA256 80d9b617809ef2e3af4abb89fb654bdf365730e6e9944ecd8506ada1041fb3af SHA512 bcd8c08e84eaccbd0ceb5170a020f14c9b3c582094232bea58baeef77156bca8d08cf6559b8c05619dd4a41bff85030a9820c1c3d9b4a846b14e7f5f84e470e1 WHIRLPOOL 8b758721ef04e2eecccf2e6575e8195bd6b62cc9955a2d587ec5d5ea8616101ddba99eb6cf0f79a91e8938b03ff2e8e34bfa9557015705b0eb2d0231a936a85e
|
||||
DIST howdoi-1.1.3.tar.gz 5745 SHA256 8ca1f246a2d7bb3dd307906fecc784cc9a2e409dc1cc06b6061009d2203a9560 SHA512 15d54545fb2f61b5f059a42be275ec5d2b9ad1a69bb277a03521bba2ebbce501b69b37db456f60d6cb3e823207b69ae694aeba9eb87c94749ba543b9b043960c WHIRLPOOL 180a0f45b451703d4a09342f9570eb4004be4d9586d17e81267d862a78edc4d2772335b31fda0ed01a5a66dcd1b35db2545abb7af916b940cdd407e4d3149ca9
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/howdoi/howdoi-1.1.1.ebuild,v 1.1 2013/02/26 07:39:44 kensington Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A code search tool"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/howdoi"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/pyquery[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]"
|
@ -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-util/howdoi/howdoi-1.1.2.ebuild,v 1.1 2013/03/10 07:38:59 kensington Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/howdoi/howdoi-1.1.3.ebuild,v 1.1 2013/05/07 15:17:33 kensington Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
@ -1,2 +1,2 @@
|
||||
DIST pkg-config-0.28.tar.gz 1931203 SHA256 6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845 SHA512 6eafa5ca77c5d44cd15f48457a5e96fcea2555b66d8e35ada5ab59864a0aa03d441e15f54ab9c6343693867b3b490f392c75b7d9312f024c9b7ec6a0194d8320 WHIRLPOOL db4ddb4ce61724e629931c5ffccb4d7a551b4dc0f4efed5a966822307e4b5a786adee5705dd80ec0a9aa32cb1af9ad9615e307360e131fc34688207216161486
|
||||
DIST pkgconfig-openbsd-20130225.tar.xz 10140 SHA256 14e680a81d7214e80d4462f22049d0ff25a0cc130696c53ae9885cf0ea985847 SHA512 bf39abacc82bff8d17a128e7fc61106868f52c2e0b1b8ad1ae06848d3a8e9c369dfae7232c016e6c97e2747df88027ff95039247312f49ed03d1bd5d1fa1762c WHIRLPOOL e08a7d5f280a4d8a51beba2b3981862cac0db565810d7a1e48201b51a2884d924ff1d1ae222f2bf18c9ac4f051eabb4fe169df0cd6adc2ed28ad03445599af4a
|
||||
DIST pkgconfig-openbsd-20130507.tar.xz 10876 SHA256 ed43eef85e6f2fcee3eb02944b59cdacf29305507d4f168dc63c022a452869b8 SHA512 39335c986be0f58fe22bfcda9b6196b34c7c8b7e889df2df0d9707fc699ba6e45df7aaa1d1f4bbe53098ea5fb1bb4aa3e5e33c22971978b40bba395642b41b69 WHIRLPOOL 607ab006bc262143ff4e87ccf72321f0217b7efba44f6b46efad34571d5324ba1fcb3a7142c75a002511fc6ba55ea2dbba16df383ca9fafbf52f38f308113f69
|
||||
|
@ -0,0 +1,100 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/bzr/bzr-2.5.1-r1.ebuild,v 1.1 2013/05/07 17:55:44 floppym Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="threads,ssl,xml"
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 eutils flag-o-matic versionator
|
||||
|
||||
MY_P=${PN}-${PV}
|
||||
SERIES=$(get_version_component_range 1-2)
|
||||
|
||||
DESCRIPTION="Bazaar is a next generation distributed version control system."
|
||||
HOMEPAGE="http://bazaar-vcs.org/"
|
||||
#SRC_URI="http://bazaar-vcs.org/releases/src/${MY_P}.tar.gz"
|
||||
SRC_URI="http://launchpad.net/bzr/${SERIES}/${PV}/+download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="curl doc +sftp test"
|
||||
|
||||
RDEPEND="curl? ( dev-python/pycurl[${PYTHON_USEDEP}] )
|
||||
sftp? ( dev-python/paramiko[${PYTHON_USEDEP}] )"
|
||||
|
||||
DEPEND="test? (
|
||||
${RDEPEND}
|
||||
>=dev-python/pyftpdlib-0.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/subunit
|
||||
>=dev-python/testtools-0.9.5[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.4.2-no-pyrex-citon.patch"
|
||||
"${FILESDIR}/${P}-sphinx-test-failures.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
# Generate the locales first to avoid a race condition.
|
||||
python_export_best
|
||||
"${PYTHON}" setup.py build_mo || die
|
||||
|
||||
distutils-r1_src_compile
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} != python3* ]]; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Race due to conflicting ports in
|
||||
# blackbox.test_serve.TestBzrServe.test_bzr_serve*.
|
||||
DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Some tests expect the usual pyc compiling behaviour.
|
||||
local -x PYTHONDONTWRITEBYTECODE
|
||||
|
||||
# Define tests which are known to fail below.
|
||||
local skip_tests="("
|
||||
# https://bugs.launchpad.net/bzr/+bug/850676
|
||||
skip_tests+="per_transport.TransportTests.test_unicode_paths.*"
|
||||
skip_tests+=")"
|
||||
if [[ -n ${skip_tests} ]]; then
|
||||
einfo "Skipping tests known to fail: ${skip_tests}"
|
||||
fi
|
||||
|
||||
LC_ALL="C" "${PYTHON}" bzr --no-plugins selftest -v \
|
||||
${skip_tests:+-x} "${skip_tests}" || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
# Fixup manpages manually; passing --install-data causes locales to be
|
||||
# installed in /usr/share/share/locale
|
||||
dodir /usr/share
|
||||
mv "${ED%/}"/usr/{man,share/man} || die
|
||||
|
||||
dodoc doc/*.txt
|
||||
|
||||
if use doc; then
|
||||
docinto developers
|
||||
dodoc -r doc/developers/* || die
|
||||
for doc in mini-tutorial tutorials user-{guide,reference}; do
|
||||
docinto ${doc}
|
||||
dodoc -r doc/en/${doc}/* || die
|
||||
done
|
||||
fi
|
||||
|
||||
dobashcomp contrib/bash/bzr || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST enigma-1.01-64bit.tar.gz 10891095 SHA256 ae87ecf635bd89bec143a8011e30a4a3b546edb3fe2ed2fca243d366bb599736 SHA512 345034bcdb7d237cd3e70d2439657e738456e5fd0c761ff3257f17e7c6adee78ee48673ce24f562cedf46040c4749081beaf568e0d823900c9179078fefd8686 WHIRLPOOL 6ae0955272bb443db22ce5f2f55103440a22077e260957168277f14f3f4be68c087aac245aebc81234f66a3225618283800f9a1bc8e3822d4b88ae741e6e3d93
|
||||
DIST enigma-1.20.tar.gz 36510060 SHA256 f2ae2377a37a1fba85ef884f3762b50e191107e1d4520d4e2e0c21901d19758b SHA512 a84e783b0a27d6dd0f20154fb32f7b22ecc2428a09ad54efcd504da1cdd0d0ec7591cd2ef49e4d5e67cb398ca01c25c4280aec7f4c25f17b80fd14882c158dc3 WHIRLPOOL cc254d70559b584b5dfcc76255dd497ff056d75a64e8a88a71f2aa8436ae85880d77f70076a78985f68a2f15caf44bca40bf44b4aa6f76ab9dc99ab5283a17d8
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/enigma-1.20.ebuild,v 1.1 2013/05/08 05:05:35 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils gnome2-utils games
|
||||
|
||||
DESCRIPTION="puzzle game similar to Oxyd"
|
||||
HOMEPAGE="http://www.nongnu.org/enigma/"
|
||||
SRC_URI="mirror://sourceforge/enigma-game/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
COMMON_DEPS="media-libs/sdl-ttf
|
||||
media-libs/libsdl[video]
|
||||
media-libs/sdl-mixer
|
||||
media-libs/sdl-image[jpeg,png]
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
net-misc/curl
|
||||
|| ( >=dev-libs/xerces-c-3[icu] >=dev-libs/xerces-c-3[-icu,-iconv] )
|
||||
net-libs/enet:0
|
||||
media-fonts/dejavu
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${COMMON_DEPS}
|
||||
sys-devel/gettext"
|
||||
RDEPEND="${COMMON_DEPS}
|
||||
x11-misc/xdg-utils"
|
||||
|
||||
src_prepare() {
|
||||
rm -rf lib-src/enet
|
||||
cp /usr/share/gettext/config.rpath .
|
||||
epatch "${FILESDIR}"/${P}-autotools.patch
|
||||
sed -i \
|
||||
-e "s:DOCDIR:\"/usr/share/doc/${P}/html\":" \
|
||||
src/main.cc || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
egamesconf $(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
#rm -f "${GAMES_DATADIR}"/${PN}/fonts/DejaVuSansCondensed.ttf
|
||||
dosym \
|
||||
/usr/share/fonts/dejavu/DejaVuSansCondensed.ttf \
|
||||
"${GAMES_DATADIR}"/${PN}/fonts/DejaVuSansCondensed.ttf
|
||||
dodoc ACKNOWLEDGEMENTS AUTHORS CHANGES README doc/HACKING
|
||||
dohtml -r doc/*
|
||||
doman doc/enigma.6
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,132 @@
|
||||
diff -ru enigma-1.20.orig/Makefile.am enigma-1.20/Makefile.am
|
||||
--- enigma-1.20.orig/Makefile.am 2013-04-01 14:31:58.000000000 -0400
|
||||
+++ enigma-1.20/Makefile.am 2013-05-07 18:50:08.624851119 -0400
|
||||
@@ -3,12 +3,9 @@
|
||||
# tools -> lib-src/lua
|
||||
# src -> tools, lib-src
|
||||
#
|
||||
-SUBDIRS = m4 lib-src tools intl src data doc po etc
|
||||
+SUBDIRS = m4 lib-src tools intl src data po etc
|
||||
EXTRA_DIST = enigma CHANGES ACKNOWLEDGEMENTS
|
||||
|
||||
-docdir = @datadir@/doc/enigma
|
||||
-doc_DATA = README CHANGES COPYING ACKNOWLEDGEMENTS
|
||||
-
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
.PHONY: tolua
|
||||
diff -ru enigma-1.20.orig/configure.ac enigma-1.20/configure.ac
|
||||
--- enigma-1.20.orig/configure.ac 2013-04-01 14:33:05.000000000 -0400
|
||||
+++ enigma-1.20/configure.ac 2013-05-07 18:47:52.420666003 -0400
|
||||
@@ -292,7 +292,6 @@
|
||||
CXXFLAGS="$CXXFLAGS -O2 -ffast-math -fomit-frame-pointer"
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
- CXXFLAGS="$CXXFLAGS -g"
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
diff -ru enigma-1.20.orig/etc/Makefile.am enigma-1.20/etc/Makefile.am
|
||||
--- enigma-1.20.orig/etc/Makefile.am 2013-04-01 14:31:57.000000000 -0400
|
||||
+++ enigma-1.20/etc/Makefile.am 2013-05-07 18:48:20.707666061 -0400
|
||||
@@ -1,14 +1,14 @@
|
||||
# if !MINGW32
|
||||
# Comply with xdg icon theme specification
|
||||
-icondir = $(prefix)/share/icons/hicolor/48x48/apps
|
||||
+icondir = /usr/share/icons/hicolor/48x48/apps
|
||||
icon_DATA = enigma.png
|
||||
|
||||
# Backwards-compatible global search location for images
|
||||
-pixmapdir = $(prefix)/share/pixmaps
|
||||
+pixmapdir = /usr/share/pixmaps
|
||||
pixmap_DATA = enigma.png
|
||||
|
||||
# Install .desktop file in xdg standard location
|
||||
-desktopdir = $(prefix)/share/applications
|
||||
+desktopdir = /usr/share/applications
|
||||
desktop_DATA = enigma.desktop
|
||||
# endif !MINGW32
|
||||
|
||||
diff -ru enigma-1.20.orig/etc/enigma.desktop enigma-1.20/etc/enigma.desktop
|
||||
--- enigma-1.20.orig/etc/enigma.desktop 2013-04-01 14:31:57.000000000 -0400
|
||||
+++ enigma-1.20/etc/enigma.desktop 2013-05-07 18:49:07.889998154 -0400
|
||||
@@ -1,5 +1,4 @@
|
||||
[Desktop Entry]
|
||||
-Encoding=UTF-8
|
||||
Version=1.0
|
||||
|
||||
Name=Enigma
|
||||
@@ -8,7 +7,6 @@
|
||||
Comment=Uncover pairs of stones while navigating obstacles using a marble
|
||||
Comment[eo]=Malkovru parojn de ŝtonojn dum vi navigas obstaklojn kun globeto
|
||||
|
||||
-FilePattern=enigma;
|
||||
TryExec=enigma
|
||||
Exec=enigma
|
||||
Terminal=false
|
||||
@@ -17,5 +15,5 @@
|
||||
StartupNotify=false
|
||||
|
||||
Type=Application
|
||||
-Categories=Application;Game;PuzzleGame;
|
||||
+Categories=Game;X-PuzzleGame;
|
||||
|
||||
diff -ru enigma-1.20.orig/lib-src/Makefile.am enigma-1.20/lib-src/Makefile.am
|
||||
--- enigma-1.20.orig/lib-src/Makefile.am 2013-04-01 14:33:52.000000000 -0400
|
||||
+++ enigma-1.20/lib-src/Makefile.am 2013-05-07 18:49:37.009968740 -0400
|
||||
@@ -1 +1 @@
|
||||
-SUBDIRS = oxydlib lua zipios++ enet enigma-core
|
||||
+SUBDIRS = oxydlib lua zipios++ enigma-core
|
||||
diff -ru enigma-1.20.orig/po/Makefile.in.in enigma-1.20/po/Makefile.in.in
|
||||
--- enigma-1.20.orig/po/Makefile.in.in 2013-04-01 14:34:35.000000000 -0400
|
||||
+++ enigma-1.20/po/Makefile.in.in 2013-05-07 18:50:47.291484194 -0400
|
||||
@@ -25,12 +25,12 @@
|
||||
exec_prefix = @exec_prefix@
|
||||
datarootdir = @datarootdir@
|
||||
datadir = @datadir@
|
||||
-localedir = $(datadir)/locale
|
||||
+localedir = /usr/share/locale
|
||||
gettextsrcdir = $(datadir)/gettext/po
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
-MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
+MKINSTALLDIRS = $(top_srcdir)/mkinstalldirs
|
||||
#install_sh@ -d
|
||||
mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
|
||||
|
||||
diff -ru enigma-1.20.orig/src/Makefile.am enigma-1.20/src/Makefile.am
|
||||
--- enigma-1.20.orig/src/Makefile.am 2013-04-01 14:33:59.000000000 -0400
|
||||
+++ enigma-1.20/src/Makefile.am 2013-05-07 18:51:50.173261187 -0400
|
||||
@@ -12,12 +12,11 @@
|
||||
CXXFLAGS = @CXXFLAGS@\
|
||||
-DSYSTEM_DATA_DIR=\"$(datadir)/enigma\" \
|
||||
-DDOCDIR=\"$(docdir)\" \
|
||||
- -DLOCALEDIR=\"$(localedir_enigma)\" \
|
||||
+ -DLOCALEDIR=\"/usr/share/locale\" \
|
||||
-I$(top_srcdir)/lib-src/zipios++ \
|
||||
-I$(top_builddir)/lib-src/zipios++ \
|
||||
-I$(top_srcdir)/lib-src/lua \
|
||||
-I$(top_srcdir)/lib-src/enigma-core \
|
||||
- -I$(top_srcdir)/lib-src/enet/include \
|
||||
-I$(top_srcdir)/lib-src \
|
||||
-I$(top_builddir)/intl @SDL_CFLAGS@
|
||||
|
||||
@@ -433,7 +432,7 @@
|
||||
|
||||
else # not MINGW32
|
||||
|
||||
- localedir_enigma := $(datadir)/locale
|
||||
+ localedir_enigma := /usr/share/locale
|
||||
mingw_ldadd =
|
||||
|
||||
endif
|
||||
@@ -442,7 +441,7 @@
|
||||
@LIBINTL@ \
|
||||
$(top_builddir)/lib-src/enigma-core/libecl.a \
|
||||
$(top_builddir)/lib-src/lua/liblua.a \
|
||||
- $(top_builddir)/lib-src/enet/libenet.a \
|
||||
+ -lenet \
|
||||
$(top_builddir)/lib-src/oxydlib/liboxyd.a \
|
||||
$(top_builddir)/lib-src/zipios++/src/libzipios.a \
|
||||
-lz \
|
@ -1,2 +1,2 @@
|
||||
DIST scourge-0.21.1.data.tar.gz 142093436 SHA256 13f33735ff814eb465d95355dcaaf2cdd16a3329f85aeab1a97ad40919cd1f12
|
||||
DIST scourge-0.21.1.src.tar.gz 8146157 SHA256 e5d3dc784bc117a3fe2f4449c74cb896310760ae5a82a50f8c1045705416cef3
|
||||
DIST scourge-0.21.1.data.tar.gz 142093436 SHA256 13f33735ff814eb465d95355dcaaf2cdd16a3329f85aeab1a97ad40919cd1f12 SHA512 3701aba0f70d71aeb0e185e808e34cea62a637809a9b4c14fd19bdfbf91d36cf8dafa2a4cfddc3ee493827b40eea657fcdddc8277c57a635bc8ca8e3286376be WHIRLPOOL 7764cc3f01fd8083db243e96de8b2c9aad778d64442aa81a7e4bfb2e7f4dd17faa7cb6ec97b2329e37145342b56af931c64514f4e661be5a2243d6980586cf42
|
||||
DIST scourge-0.21.1.src.tar.gz 8146157 SHA256 e5d3dc784bc117a3fe2f4449c74cb896310760ae5a82a50f8c1045705416cef3 SHA512 e530a8f7bddc1969a02a8b9a8b272f6f60d2c4830d23d96fc671cb79a2c4097fb9c5c0c262004a8157448b601bf58f9bbff95dd6d98275a28d3d404c339ce2ad WHIRLPOOL 58f275515dd1e345059ab79a920ee974733009c26d862ddaa20e29353fb059ba54bf282dda582f05fb66c77bcbcdeb3d3d70975a274550ba2817e1ea996a0ab0
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- scourge-0.21.1.src/scourge/configure.in
|
||||
+++ scourge-0.21.1.src/scourge/configure.in
|
||||
@@ -4,7 +4,7 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(src/scourge.h)
|
||||
AM_INIT_AUTOMAKE(scourge, "0.21")
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADERS(config.h)
|
||||
|
||||
dnl internationalization macros
|
||||
AC_GNU_SOURCE
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue