parent
1097c6c364
commit
104a2f40a8
@ -0,0 +1,9 @@
|
||||
# ChangeLog for app-doc/devmanual
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/devmanual/ChangeLog,v 1.1 2013/01/19 10:36:17 hwoarang Exp $
|
||||
|
||||
*devmanual-9999 (19 Jan 2013)
|
||||
|
||||
19 Jan 2013; Markos Chandras <hwoarang@gentoo.org> +devmanual-9999.ebuild,
|
||||
+metadata.xml:
|
||||
Add live ebuild for offline use of the Gentoo Development Guide. Bug #447170
|
@ -0,0 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
EBUILD devmanual-9999.ebuild 931 SHA256 2d8799df0bf7bfbe82d9592da6cfaea5d7704ab259a00a8c3666617ad37b47c1 SHA512 f2b3f5da08b8ce6f6edd387712ab506d003ea9ffb3bda4efb20c8dc8dcc0a29ad0d5feaa1b0301696c1a15ef65564c4f2819bb5537df5a10f2452afc7b91bab5 WHIRLPOOL 4c44c78ffb64deb933bc5fce23e980c5f7ae6dbe1623895110947b3737a1c0e7ee6d661b6edb71487df3a95ab9d68d985c2ea1b46d9ca896032a340aca6c386e
|
||||
MISC ChangeLog 413 SHA256 5419bc87c7d011c73f95522916daab6221c1795182972b13c06f9295fa26fc6f SHA512 88e4f7bc135aedd4466cfa100d0e58aee91b478a483b6d2f7b311cf29ac9a7a375db4e08d3435cf8ead625f85f6de337fe326bf7f703ee3ba3b5af6faaa7a527 WHIRLPOOL 05b004485009da8479ad993ab0d1b34bf58fd650c603a40064ecf8904fff4e6357fa820ee55b5c053103c5374b9358b37916c18852dd0f11c384ef95aa93c46f
|
||||
MISC metadata.xml 337 SHA256 6af696a785d3cf67eb07799153dc920737ba679701ea55b119bf49dc4db08975 SHA512 f9f3bad85583b5d3bdc41697789d43df94ec9ea0156d8a9a9c9c68e041a4c12c87db20763fd913445bc5239d9a8b3e7f3a5aeec9b5c12c0e88a168522e488dcc WHIRLPOOL 98e49aa91b45a55d1aaa463afd533834b102f964ca42c88e3486a5adf54cb99fea1c214e2097325ed920e255f64d6f1f1ac6b462b3deb8e92ceb1540ae71b3f7
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJQ+nciAAoJEPqDWhW0r/LCUK8QAMQKtLpKgwqTj8J5lwtyzqJy
|
||||
2DxbobAon/izZ++bUXTU3wZWVg7WZWbjmBVwpDHtqXxsJ1bVKn/DRyR9B2aoFnMt
|
||||
2e1lfzgVQjo42cNBoTWjbvvVqrp8g8LgM0BeZroWz/702aPns470wnuVEzvCn9DL
|
||||
aoyFNPYVtJhmA6h+N7dlotZ/Zgzs65VeRZ3ItTOhjEmzHRiSbE7ufnJXpRKNX8JY
|
||||
h54lck0aEgEnzRHCjAghkNW6OhNezFNlUlBO8LmkZNWJtf92VSr8IVBHGKyp0gGZ
|
||||
TFRmevgW+vo7n1Zk0IbS6E+Y5JeeT2kPp2fEr3wm9l+641NMnMxU7xm1rvJRgNyo
|
||||
bQwIS8eQ5RY7o+8t/yF8rlhtZ6N7dSvsG+hIpoa0r2Cc55XSb9HGgZzjVF8EFjuJ
|
||||
nMdkSznrBVj2PZn3EmWKcUO9Mp2wzzYjgq7tk4DJUq4JxS0spSg9v5TAmTKbiQd2
|
||||
D2Uvocerk+eYQPhc7Pxbc59uIqehzyG/7h9De6+sSF+Zs+FnSqvLvkzpZVl9ubQt
|
||||
4n6r29KAKXeI0x/nIbzQfU1+g3cWcudkQV3QUOFR7vFIcd/af1oxYu5+8q2QsQdk
|
||||
N1zfhwpRfCLPCkHj8OqGc0PsLuwmjCjkiYLH11mGe48NVi2asG0QHk6lXeBlheW9
|
||||
j2wx2ufQaqpcJlQMgPjM
|
||||
=17To
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/devmanual/devmanual-9999.ebuild,v 1.1 2013/01/19 10:36:17 hwoarang Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit git-2
|
||||
|
||||
DESCRIPTION="The Gentoo Development Guide"
|
||||
HOMEPAGE="http://devmanual.gentoo.org/"
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/devmanual.git"
|
||||
|
||||
LICENSE="CCPL-Attribution-ShareAlike-2.0"
|
||||
SLOT="0"
|
||||
# Live ebuild but does not build anycode. It should work everywhere
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh
|
||||
~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/libxslt
|
||||
media-gfx/imagemagick[truetype]"
|
||||
|
||||
src_install() {
|
||||
dohtml -r "${S}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "In order to browse the Gentoo Development Guide in"
|
||||
elog "offline mode, point your browser to the following url:"
|
||||
elog "/usr/share/doc/devmanual-9999/html/devmanual-9999/index.html"
|
||||
elog
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>hwoarang@gentoo.org</email>
|
||||
<name>Markos Chandras</name>
|
||||
<description>Bugs for the devmanual documentation must be assigned to
|
||||
devmanual@gentoo.org
|
||||
</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,136 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/files/qemu-binfmt.initd-r1,v 1.1 2013/01/19 03:42:06 cardoe Exp $
|
||||
|
||||
# enable automatic i386/ARM/M68K/MIPS/SPARC/PPC/s390 program execution by the kernel
|
||||
|
||||
depend() {
|
||||
after procfs
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Registering qemu-user binaries"
|
||||
|
||||
if [[ ! -d /proc/sys/fs/binfmt_misc ]] ; then
|
||||
/sbin/modprobe binfmt_misc
|
||||
fi
|
||||
|
||||
if [[ ! -d /proc/sys/fs/binfmt_misc ]] ; then
|
||||
eerror "You need \"binfmt_misc\" support in your kernel."
|
||||
eend 1
|
||||
return 1
|
||||
fi
|
||||
|
||||
if [[ ! -f /proc/sys/fs/binfmt_misc/register ]] ; then
|
||||
mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc &> /dev/null
|
||||
local result=$?
|
||||
|
||||
if [[ $result -ne 0 ]] ; then
|
||||
eend $result
|
||||
return $result
|
||||
fi
|
||||
fi
|
||||
|
||||
# probe cpu type
|
||||
cpu=`uname -m`
|
||||
case "$cpu" in
|
||||
i386|i486|i586|i686|i86pc|BePC|x86_64)
|
||||
cpu="i386"
|
||||
;;
|
||||
m68k)
|
||||
cpu="m68k"
|
||||
;;
|
||||
mips*)
|
||||
cpu="mips"
|
||||
;;
|
||||
"Power Macintosh"|ppc|ppc64)
|
||||
cpu="ppc"
|
||||
;;
|
||||
armv[4-9]*)
|
||||
cpu="arm"
|
||||
;;
|
||||
sparc*)
|
||||
cpu="sparc"
|
||||
;;
|
||||
esac
|
||||
|
||||
# register the interpreter for each cpu except for the native one
|
||||
if [ $cpu != "i386" -a -x "/usr/bin/qemu-i386" ] ; then
|
||||
echo ':i386:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03\x00:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-i386:P' > /proc/sys/fs/binfmt_misc/register
|
||||
echo ':i486:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x06\x00:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-i386:P' > /proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
if [ $cpu != "alpha" -a -x "/usr/bin/qemu-alpha" ] ; then
|
||||
echo ':alpha:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x26\x90:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-alpha:P' > /proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
if [ $cpu != "arm" -a -x "/usr/bin/qemu-arm" ] ; then
|
||||
echo ':arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\x00\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm:P' > /proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
if [ $cpu != "arm" -a -x "/usr/bin/qemu-armeb" ] ; then
|
||||
echo ':armeb:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-armeb:P' > /proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
if [ $cpu != "sparc" -a -x "/usr/bin/qemu-sparc" ] ; then
|
||||
echo ':sparc:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x02:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-sparc:P' > /proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
if [ $cpu != "ppc" -a -x "/usr/bin/qemu-ppc" ] ; then
|
||||
echo ':ppc:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x14:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-ppc:P' > /proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
if [ $cpu != "m68k" -a -x "/usr/bin/qemu-m68k" ] ; then
|
||||
echo 'Please check cpu value and header information for m68k!'
|
||||
echo ':m68k:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x08:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-m68k:P' > /proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
if [ $cpu != "mips" -a -x "/usr/bin/qemu-mips" ] ; then
|
||||
# FIXME: We could use the other endianness on a MIPS host.
|
||||
echo ':mips:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-mips:P' > /proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
if [ $cpu != "mips" -a -x "/usr/bin/qemu-mipsel" ] ; then
|
||||
echo ':mipsel:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-mipsel:P' > /proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
if [ $cpu != "mips" -a -x "/usr/bin/qemu-mipsn32" ] ; then
|
||||
echo ':mipsn32:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-mipsn32:P' > /proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
if [ $cpu != "mips" -a -x "/usr/bin/qemu-mipsn32el" ] ; then
|
||||
echo ':mipsn32el:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-mipsn32el:P' > /proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
if [ $cpu != "mips" -a -x "/usr/bin/qemu-mips64" ] ; then
|
||||
echo ':mips64:M::\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-mips64:P' > /proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
if [ $cpu != "mips" -a -x "/usr/bin/qemu-mips64el" ] ; then
|
||||
echo ':mips64el:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-mips64el:P' > /proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
if [ $cpu != "sh" -a -x "/usr/bin/qemu-sh4" ] ; then
|
||||
echo ':sh4:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x2a\x00:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-sh4:P' > /proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
if [ $cpu != "sh" -a -x "/usr/bin/qemu-sh4eb" ] ; then
|
||||
echo ':sh4eb:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x2a:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-sh4eb:P' > /proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
if [ $cpu != "s390x" -a -x "/usr/local/bin/qemu-s390x" ] ; then
|
||||
echo ':s390x:M::\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x16:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/local/bin/qemu-s390x:P' > /proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Unregistering qemu-user binaries"
|
||||
local arches
|
||||
|
||||
arches="${arches} i386 i486"
|
||||
arches="${arches} alpha"
|
||||
arches="${arches} arm armeb"
|
||||
arches="${arches} sparc"
|
||||
arches="${arches} ppc"
|
||||
arches="${arches} m68k"
|
||||
arches="${arches} mips mipsel mipsn32 mipsn32el mips64 mips64el"
|
||||
arches="${arches} sh4 sh4eb"
|
||||
arches="${arches} s390x"
|
||||
|
||||
for a in ${arches}; do
|
||||
if [[ -f /proc/sys/fs/binfmt_misc/$a ]] ; then
|
||||
echo '-1' > /proc/sys/fs/binfmt_misc/$a
|
||||
fi
|
||||
done
|
||||
|
||||
eend $?
|
||||
}
|
||||
|
||||
# vim: ts=4 :
|
@ -0,0 +1,411 @@
|
||||
# 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.2.2-r1.ebuild,v 1.1 2013/01/19 03:42:06 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN="qemu-kvm"
|
||||
MY_P=${MY_PN}-1.2.0
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python user udev
|
||||
BACKPORTS=9489a8c0
|
||||
|
||||
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 +seccomp \
|
||||
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 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? ( !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.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
|
||||
qemu_softmmu_targets_i386? (
|
||||
sys-firmware/ipxe
|
||||
~sys-firmware/seabios-1.7.1
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
qemu_softmmu_targets_x86_64? (
|
||||
sys-firmware/ipxe
|
||||
~sys-firmware/seabios-1.7.1
|
||||
~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.4.4 )
|
||||
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-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"
|
||||
|
||||
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"
|
||||
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
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local conf_opts audio_opts
|
||||
|
||||
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"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--docdir=/usr/share/doc/${PF}/html \
|
||||
--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-tcg) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable fdt) \
|
||||
$(use_enable jpeg vnc-jpeg) \
|
||||
$(use_enable kernel_linux kvm) \
|
||||
$(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 seccomp) \
|
||||
$(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 uuid) \
|
||||
$(use_enable vde) \
|
||||
$(use_enable vhost-net) \
|
||||
$(use_enable virtfs) \
|
||||
$(use_enable vnc) \
|
||||
$(use_enable xattr attr) \
|
||||
$(use_enable xen) \
|
||||
$(use_enable xen xen-pci-passthrough) \
|
||||
$(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
|
||||
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
|
||||
fi
|
||||
|
||||
dodoc Changelog MAINTAINERS TODO pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
|
||||
use python && dobin scripts/kvm/kvm_stat
|
||||
use python && dobin scripts/kvm/vmxcap
|
||||
|
||||
# Avoid collision with app-emulation/libcacard
|
||||
use smartcard && mv "${ED}/usr/bin/vscclient" "${ED}/usr/bin/qemu-vscclient"
|
||||
|
||||
# Install binfmt handler init script for user targets
|
||||
[[ -n ${user_targets} ]] && \
|
||||
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
|
||||
|
||||
# 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 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
|
||||
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,25 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX 1.0.5-help_and_translation_paths.patch 2730 SHA256 ac25bfb7e2eaa0ff4bccdc2d21ad14f73c1e246fb069ef5b4dcca2d20270abf7 SHA512 f9e83597f05717196b1fa3eedd951aaa12e69cf5a66b296481463a96877e556f61fcab247e2cf3e476aec96e6dcfb70f3968b4458e95b288985f68f3d85a8aaa WHIRLPOOL 93958103ccb092fbaa17feba928dbcbc7c71720c38410f80b16d4c39157b10c8b367b9defe38357e5b5870545cd436177d467e24c11468d1bdbbc69a600e0271
|
||||
DIST qtemu-1.0.5.tar.bz2 555872 SHA256 752942fae239996c826580fd0b32986cf96a92a0982710f726947ddf791dc921 SHA512 c8380acea500453053d8d2a9cc3eecb51c766d5743a22a7fbe13d3bd5d543ab63ab715ac2ffbd2389f24c699ea81ca3e0584c7578a9799300cef514886d1cee8 WHIRLPOOL 7ca11b4da2961385511b830e397bc63a1a648bc5fe37c4eca1d658623a15ad6a5346ae06ce39ed168421cdcdbe12de32019fbd7c1e9a8afc9ff0509199d57fa5
|
||||
EBUILD qtemu-1.0.5.ebuild 815 SHA256 2977f02f5424f4a8e3700951f6ff79ea5f2cc58ba7e8fc815d6ac16cabbc52f9 SHA512 53915114fd19c2de2d150ef465d813c56b77fb3497487404f7412f7ab7a8ef6cb88d3175fff8baa25a74adb713a1fbedc4f74c1aa3b16cfb5f9f7f0fc918bbe1 WHIRLPOOL 3d5c41a9c3936f5dbfa5ad4a02f74d06cb8f271aeb723f7f1c9192624039f05c68c03f051763ce9236704a2d4fb4a46cdc5ecfff5ffe501d98d9af71979e1211
|
||||
MISC ChangeLog 899 SHA256 2ca5858e00af1d837c09a09340e61b61b99037d9c4b4b1cfd3350b3e69d96424 SHA512 23fde9bc3194721e4087881a8d99b85568de2cc8ba946ce90854fad553123fa5674fc87ee08b74d8930cff9a36ee1b4b2fc304e7e48330d87da79dbc2c723d92 WHIRLPOOL 8eda88d9675e2c6ab641c90e0db5fc0db37c541413d4a6da4f7967891c38f519c0989b09d90211d07474ffdc4e0dd4ca909d1bddfe3bf94cd429409fe2c0ac41
|
||||
MISC metadata.xml 246 SHA256 e98b30289d1338d45a49b94a79d695a752417e25d2bb3525971d59c16266c4c7 SHA512 a04d01ce19b414ad141f8b80e415888bd46487d943ec5bb8ce1244f8ef36f76c0bac239b62dccbc8a0c3db82866c1cba6b6760d2f23f4551d442a3595fa075ee WHIRLPOOL d0dbc012d53ca93cd63d4c267abc9fb4e2a8a71375ac5299c736502fc62f094beba8a6f177dbd3f1bc4035439cb40fd4b5f8168e544649fdccc20914a3053629
|
||||
MISC ChangeLog 1002 SHA256 7837940adfc6c0651d85e708a032b5c1c5da8becb0c5073d6617a5f9762418d3 SHA512 5e3cb7090bf3ccb439965abd9e3f777a0f0a4644605ac348101dd01ffddfc22ada57e731f9f97322d1a880ad80dc5243fb6e3299a89ddd577eb28becac3a179e WHIRLPOOL 8755dbfd81d6b3487dd6eaea5c9f56cb6b7635097d752ce37ab14e9bfd1ccdf5ccfb2a7be3fcf7a31f91f0abd6b1f44079699cd0c597b2e0800aeadce44f49f5
|
||||
MISC metadata.xml 155 SHA256 94ed5876ef16dbc191744ff6b8939a0f428fcb8add316d898880e1c4c880b9e7 SHA512 f05c8982778167c3667c9246b9730ba49fec2967731ed2c615e31a7fddc220fcea8c0843caa70a14957c8c4910892c512b6f2e00a9724d65e6032e1289f4562a WHIRLPOOL 25ccd49f04da07c8525fe18b21229764bb4104938abefc6c953bf9caa533dd5c10ae7b3f80a1251182e6c1520c09383d9f1d0ac1dc74832a99299c9be27406c4
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJQ+n72AAoJEPqDWhW0r/LC0lIP/0Hvb3+2LBwduCEmYxmOI9Cg
|
||||
BYkSwNFZToA6MOLMlhNsOFZDIu1FkT/zhkRROCgVxN3jS1URN0ai6ZKFEPChZCYm
|
||||
nb6HyM7JAci3RbrQRnqhBpq/YyL+JCwRNG5MFZsCJ26X+I4stRUAs2I/NzQ7s3aC
|
||||
U+x6BMResabBSpKujZKDtPavmIQBpLdQfItC3k8LY8VYPQ2xbr1oA21jGhXCaGwj
|
||||
WKF/Iz3Qwz0oK0lVjfWKpiDv1JSjhMX2339SEFS8/xBHQE7visbta9A+qRxYg7Uy
|
||||
UTTlzJ4vTULAfXaarDJfaReTaO2GnyCaPsVZp5xCe8psV/b8zi+nb7q5+P0h5RbA
|
||||
G2tRflroDQPwQqri61kelBJL8ZUEefN1q0aUpulEiEoJcXjrS0guqJHA0Dr8nP4w
|
||||
DCelP2mooTUDMtAMxiPdWnO+NG90RBkWOpID6chhu/WGmv2CLRCbLw+ye4auAoE+
|
||||
//P9OCgBnfPlYsI+30bxaTabc+EGtR7qIRHkQEkohz/EcZBO9G9sRfVG9ESepCat
|
||||
U6d2sJl/D9kewytPXiSrhgrTn4hmL7ak1zaL6DntmTHYjVu7OdvxMNR8N1SJANTH
|
||||
oU9Gcomc3vZqUAG199ikbsUpizmjMxhSJt2M73KwMePXLQ5sctX1XbPwPsW+7sxq
|
||||
wIyLockA7YZcUo3U05Ok
|
||||
=xEWc
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -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/app-portage/genlop/genlop-0.30.9.ebuild,v 1.1 2013/01/19 03:23:42 fuzzyray Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit bash-completion-r1
|
||||
|
||||
DESCRIPTION="A nice emerge.log parser"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/perl"
|
||||
SRC_URI="mirror://gentoo//${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/perl
|
||||
dev-perl/DateManip
|
||||
dev-perl/libwww-perl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
dobin genlop || die "failed to install genlop (via dobin)"
|
||||
dodoc README Changelog
|
||||
doman genlop.1
|
||||
newbashcomp genlop.bash-completion genlop
|
||||
}
|
@ -0,0 +1,184 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.15.ebuild,v 1.1 2013/01/19 08:07:02 zmedico Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND=2:2.7
|
||||
PYTHON_USE_WITH="ssl sqlite"
|
||||
|
||||
inherit python eutils fdo-mime bash-completion-r1 multilib
|
||||
|
||||
DESCRIPTION="Ebook management application."
|
||||
HOMEPAGE="http://calibre-ebook.com/"
|
||||
SRC_URI="http://sourceforge.net/projects/calibre/files/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+udisks"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-text/podofo-0.8.2
|
||||
>=app-text/poppler-0.12.3-r3[qt4,xpdf-headers(+)]
|
||||
>=dev-libs/chmlib-0.40
|
||||
>=dev-libs/icu-4.4
|
||||
>=dev-python/beautifulsoup-3.0.5:python-2
|
||||
dev-python/netifaces
|
||||
dev-python/python-dateutil
|
||||
>=dev-python/dnspython-1.6.0
|
||||
>=dev-python/cssselect-0.7.1
|
||||
>=dev-python/cssutils-0.9.9
|
||||
>=dev-python/dbus-python-0.82.2
|
||||
>=dev-python/imaging-1.1.6
|
||||
>=dev-python/lxml-2.2.1
|
||||
>=dev-python/mechanize-0.1.11
|
||||
>=dev-python/python-dateutil-1.4.1
|
||||
>=dev-python/PyQt4-4.9.1[X,svg,webkit]
|
||||
media-fonts/liberation-fonts
|
||||
>=media-gfx/imagemagick-6.5.9[jpeg,png]
|
||||
>=media-libs/freetype-2
|
||||
>=media-libs/libwmf-0.2.8
|
||||
>=media-libs/libmtp-1.1.4
|
||||
virtual/libusb:1
|
||||
x11-libs/qt-dbus:4
|
||||
x11-libs/qt-svg:4
|
||||
>=x11-misc/xdg-utils-1.0.2-r2"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-python/setuptools-0.6_rc5"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2.7
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix outdated version constant.
|
||||
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
|
||||
# -i src/calibre/constants.py || \
|
||||
# die "sed failed to patch constants.py"
|
||||
|
||||
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
|
||||
# calls xdg-* (bug #258938).
|
||||
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
|
||||
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
||||
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
|
||||
-e "s|PreserveMIMEDefaults():||" \
|
||||
-e "s|xdg-icon-resource install|\\0 --mode user|" \
|
||||
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
||||
-e "s|xdg-mime install|\\0 --mode user|" \
|
||||
-i src/calibre/linux.py || die "sed failed to patch linux.py"
|
||||
|
||||
# Disable unnecessary privilege dropping for bug #287067.
|
||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
||||
-i setup/install.py || die "sed failed to patch install.py"
|
||||
|
||||
sed -e "/^ self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
|
||||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
|
||||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
|
||||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
|
||||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
|
||||
'-i', 'Makefile'])" \
|
||||
-i setup/extensions.py || die "sed failed to patch extensions.py"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
# Bypass kbuildsycoca and update-mime-database in order to
|
||||
# avoid sandbox violations if xdg-mime tries to call them.
|
||||
cat - > "${T}/kbuildsycoca" <<-EOF
|
||||
#!${BASH}
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
cp "${T}"/{kbuildsycoca,update-mime-database}
|
||||
chmod +x "${T}"/{kbuildsycoca,update-mime-database}
|
||||
|
||||
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
|
||||
# violation with kbuildsycoca as in bug #287067, comment #13.
|
||||
export -n DISPLAY
|
||||
|
||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
||||
# return _parse_localename(localename)
|
||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
||||
# raise ValueError, 'unknown locale: %s' % localename
|
||||
#ValueError: unknown locale: 46
|
||||
export -n LANGUAGE
|
||||
|
||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
||||
# variables to point to our fake temporary $HOME.
|
||||
export HOME="${T}/fake_homedir"
|
||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
||||
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
|
||||
mkdir -p "${XDG_CONFIG_HOME}" "${CALIBRE_CONFIG_DIRECTORY}"
|
||||
|
||||
# Bug #334243 - respect LDFLAGS when building calibre-mount-helper
|
||||
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
|
||||
local libdir=$(get_libdir)
|
||||
[[ -n $libdir ]] || die "get_libdir returned an empty string"
|
||||
|
||||
dodir "$(python_get_sitedir)" # for init_calibre.py
|
||||
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
|
||||
python setup.py install \
|
||||
--root="${D}" \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/${libdir}" \
|
||||
--staging-root="${ED}usr" \
|
||||
--staging-libdir="${ED}usr/${libdir}" || die
|
||||
|
||||
grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
|
||||
die "failed to fix harcoded \$D in paths"
|
||||
|
||||
# Remove dummy calibre-mount-helper which is unused since calibre-0.8.25
|
||||
# due to bug #389515 (instead, calibre now calls udisks via dbus).
|
||||
rm "${ED}usr/bin/calibre-mount-helper" || die
|
||||
|
||||
# The menu entries end up here due to '--mode user' being added to
|
||||
# xdg-* options in src_prepare.
|
||||
dodir /usr/share/mime/packages
|
||||
chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
|
||||
mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
|
||||
die "failed to register mime types"
|
||||
dodir /usr/share/icons
|
||||
mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
|
||||
die "failed to install icon files"
|
||||
|
||||
domenu "${HOME}"/.local/share/applications/*.desktop ||
|
||||
die "failed to install .desktop menu files"
|
||||
|
||||
dobashcomp "${ED}"usr/etc/bash_completion.d/calibre
|
||||
rm -r "${ED}"usr/etc/bash_completion.d
|
||||
find "${ED}"usr/etc -type d -empty -delete
|
||||
|
||||
cd "${ED}"/usr/share/calibre/fonts/liberation || die
|
||||
local x
|
||||
for x in * ; do
|
||||
[[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
|
||||
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
|
||||
done
|
||||
|
||||
python_convert_shebangs -r $(python_get_version) "${ED}"
|
||||
|
||||
newinitd "${FILESDIR}"/calibre-server.init calibre-server
|
||||
newconfd "${FILESDIR}"/calibre-server.conf calibre-server
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
python_mod_optimize /usr/$(get_libdir)/${PN}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/$(get_libdir)/${PN}
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/fbreader/fbreader-0.99.2.ebuild,v 1.5 2013/01/19 06:13:47 grozin Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="E-Book Reader. Supports many e-book formats."
|
||||
HOMEPAGE="http://www.fbreader.org/"
|
||||
SRC_URI="http://www.fbreader.org/files/desktop/${PN}-sources-${PV}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2
|
||||
dev-libs/expat
|
||||
dev-libs/liblinebreak
|
||||
dev-libs/fribidi
|
||||
dev-db/sqlite
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
x11-libs/qt-core:4
|
||||
x11-libs/qt-gui:4
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Still use linebreak instead of new unibreak
|
||||
sed -e "s:-lunibreak:-llinebreak:" \
|
||||
-i makefiles/config.mk zlibrary/text/Makefile || die "fixing libunibreak failed"
|
||||
|
||||
# Let portage decide about the compiler
|
||||
sed -e "/^CC = /d" \
|
||||
-i makefiles/arch/desktop.mk || die "removing CC line failed"
|
||||
|
||||
# Respect *FLAGS
|
||||
sed -e "s/^CFLAGS = -pipe/CFLAGS +=/" \
|
||||
-i makefiles/arch/desktop.mk || die "CFLAGS sed failed"
|
||||
sed -e "/^ CFLAGS +=/ d" \
|
||||
-i makefiles/config.mk || die "CFLAGS sed failed"
|
||||
sed -e "/^ LDFLAGS += -s$/ d" \
|
||||
-i makefiles/config.mk || die "sed failed"
|
||||
sed -e "/^LDFLAGS =$/ d" \
|
||||
-i makefiles/arch/desktop.mk || die "sed failed"
|
||||
|
||||
echo "TARGET_ARCH = desktop" > makefiles/target.mk
|
||||
echo "LIBDIR = /usr/$(get_libdir)" >> makefiles/target.mk
|
||||
|
||||
echo "UI_TYPE = qt4" >> makefiles/target.mk
|
||||
sed -e 's:MOC = moc-qt4:MOC = /usr/bin/moc:' \
|
||||
-i makefiles/arch/desktop.mk || die "updating desktop.mk failed"
|
||||
|
||||
if use debug; then
|
||||
echo "TARGET_STATUS = debug" >> makefiles/target.mk
|
||||
else
|
||||
echo "TARGET_STATUS = release" >> makefiles/target.mk
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dosym /usr/bin/FBReader /usr/bin/fbreader
|
||||
}
|
@ -1,8 +1,24 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST qpdf-3.0.1.tar.gz 4841926 SHA256 db65d6f4f0462d4793049afb7edf9ac9386fb8bdb51d10b5b88a004e1cc36bc6 SHA512 dcff4a66d8e7ca555ab59f5abba944a67a0d73dd32b48fcaf5152530750d7cff4d18bf9649a0b2057ab4cb0a85b20a5bb45b23c1c32a2038094094747e3a6834 WHIRLPOOL 82799491850cfb9e6a37e0b1447c90bd22a974a6b87c0e64271bc13d1b9bbd81a53ff0af86ba7aba01d744b2856e3741199b6f7e5ee324c213e120896823594f
|
||||
DIST qpdf-3.0.2.tar.gz 4846068 SHA256 b0c284945a49c46a0da6f54b06ff25237491ccc0c8bb062ae57d30aee80e165e SHA512 0ee534cb3f1fb31a85e8d1e0e78d02630dd4e008660c93b376e1dfd3850b313e73ba4db4f148f263ecccebb357b3d44b70d89babfaa2117c1b634467547f14a8 WHIRLPOOL 39768d1dc70dddb73cd2a50b3b9eaffae2295a8715d5683b007d801b0d183acce040e9f405338cd01757dfbe13950d4de328eba0014d67c934ade25bcf432385
|
||||
DIST qpdf-4.0.0.tar.gz 5029024 SHA256 446af92ef79d8c3014dca2621dedec1edff736f259ab7bebd9a6510d2fabafe3 SHA512 4cb2b5abb23422a0165345b55f2a8fb946de9b556a29490a3b24a45bfd5f7791c5682db87c32a3a7edb5621baf8a652a28b50bcf34c5e28a8f5150b3f749ebd9 WHIRLPOOL 19d90bf31f4b6b3262d1afc5f27c8ec5c3073bc2acdfadd12f105c798ee4b7f5ebc03a6889d4c2fd94c59041724b8819d8fc70e644a1ab2958638b7adf78adec
|
||||
DIST qpdf-4.0.1.tar.gz 5031080 SHA256 a4080ad53c778d60aa56df724751fb55bd096130d244fb1483c9257b9739c04d SHA512 391997d691ab1a7af78684e8ef29b092fba56dc280d8eba3fcfe6d7048adb65ac5862f8302f9ef7dc7774c6a12eb937dab4a08084aa6467436c11b4b87f65f9c WHIRLPOOL b2f1c1f1ed3fd6f795a0ecb84da9d32507f8a439132025558faf185550bc490658af1477cc393e60e71de2b7c4fb1438edccb5636c89c3f0d9f8fe36556387c1
|
||||
EBUILD qpdf-3.0.1.ebuild 1088 SHA256 480072002c3118953a5dcbebe66b8251758a173d829a66868e39269efc3938a7 SHA512 d31fdf31ab6d88394e67a0d07824d0d3dd39348dc8302737b8b4ffffebff0b322c9e6fc72d88cd47cc9f872e1bbee818aec8a4ed893e1c1791645ec22810064f WHIRLPOOL 29c7fce70cbd2a79b5b1d6e0bfe2fbacfd92ad414dca4f9e0301727c05d89c6df42737945460494b56d756c5630b9689be22396f3067843b3b4e417e4519ee64
|
||||
EBUILD qpdf-3.0.2.ebuild 1125 SHA256 900a120e5a4626c16409f45efe186eaf597dfc3d92ad7f1293661decc2d0b86e SHA512 b8b79a75f2e9a3fd45fdc43ef631b265298717e19323ad239f6555beda51916bac0fe7425403c14bd86779112aee0f3d87b3dab26d4a11b90338184d153a6420 WHIRLPOOL 23d3c052ccb3bf2ec3e898857e8bb6ba1157ae65205035125a18205037c9d7fdc2a715de874e72eca450a828a3a242701f869e365511ab50d5256b7665423c9a
|
||||
EBUILD qpdf-4.0.0.ebuild 1124 SHA256 03b535442669cbb8a3143dd874e327daed52d069f1e299db0c4b36d58656ee10 SHA512 914a45f931f3905a37606996ab7eb658a66925236423419580277ec9165471ba846b388e38efb9bcc7f381107363fa537b2acaa55b99b3539bf1ddf74617f500 WHIRLPOOL 1c54fc48fd0478ce9dc80b4e2ed2d58305a9153fa52ca62b43f7ae759b637fc2c52798540c0c3fd7fbb5013392ae0152a2f7556bb734891c6b10b5165c85e7ed
|
||||
MISC ChangeLog 2475 SHA256 a80a7fee1d4986ac48aebd96f1e1965ff8170e6facf4cb46af795c205672b4e2 SHA512 b576a13f8b6891733d3f33251e782c27fe2a8a1739989f899834ab9d246d1455c3cfc87f4d7944e9672cae511654a030a03afb5ff95d2ee05f96a1be85f86832 WHIRLPOOL be45e89007843d3e7de02985893e7895675d3ad2e2fb9e8d30df37c47728a2090378f5be9b8fe0b8f02fdfab1df34559ea0226cdeb703b8a49795861de79fde8
|
||||
EBUILD qpdf-4.0.1.ebuild 1162 SHA256 c15df4a7ea5014d78f511f747f3ec3a09743af5e3e4c5e8bad4f17f04b2e5d20 SHA512 c81e44927cbae872673c113457fe0df861f31b7a8cfb4f7dc969234a7e37283dd790dd848d2adc8bf27ace075bb4c034647199d28f15ce4d58ad00e469109b9e WHIRLPOOL de98a98f7baffcf90ef0a4d9340b647bab64cf53b2c3e3b79c8d8b8e160e3e5dd6293aee918b14a1fea4fbea1345821de85934e6013bd80ac714187b57793d7e
|
||||
MISC ChangeLog 2610 SHA256 d4b27fb42907295a7073d8ccad14efbda86cd2e5a30def12fae56c51a4a1130b SHA512 2c801eaa0aef97af964495901e512fd9677082e579e289b2a5365a6f1a3cb3875bb5fbb1fe6de63206079221db1ed4c15a2ea861539d25ad9c00c80a3c2b54ae WHIRLPOOL 01cc2ccdaa24ad65d8d36a884888084f035e82aa3318501d1b323af96241986b8f89aac904b4a58675db6eb8b28780c5215f324d352117a14a178c1034b286d9
|
||||
MISC metadata.xml 232 SHA256 a778e40f66cb2fa35529e4f45cb8356c8b1b109163cd939396f02e8ea6aa5f1a SHA512 6952f63da1c92a4ed7ddb87b5eb4003d123f0b7af6ffdbc9118159c97ddf18917e8ac7727285a42c07c64e52a40335bc2ef9f17261557617beb8c2226a391873 WHIRLPOOL 0a4441f075f8af01588da2aac3e03732f93463b8bea5e46749d37e1468452735d15f45243b930b3346c93734f8aa235a492030445fee471a95d2c5998f08e7de
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJQ+egUAAoJEEqz6FtPBkyjp7oIAIy9bsrdSIqtBdJ6eGiP5rSv
|
||||
dgXexEb8+fM5EVXIrQm9pe6rj1KPtx3B89kfb+b2NRtlDmemvmEUnwGlWIDaw1XK
|
||||
KJPlpL09BY2T/uQlVICI9oILwoqG+EF4YmTvRvu+EsJvFrV1ZpMyB1jEHW+khKx4
|
||||
TNjoE2QSIyPnxGazuP6o+jkl5vn/dz5pjmprflW0mNgHuI5UJDp7k0A6u0iyWMFP
|
||||
OOl4mrIZnVt8nH8CL0p33RPChTH63j6Uw9OJhi+cJWd8JbGk3Ux1RrdFVwNQpzsD
|
||||
tqSwUlfk4YZhU4JyyvBdNrBxXaX1I83igNw8bYj9W5V1qW8E1vknXGn/dDpgd6k=
|
||||
=qRfy
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/qpdf/qpdf-4.0.1.ebuild,v 1.1 2013/01/19 00:25:51 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="A command-line program that does structural, content-preserving transformations on PDF files"
|
||||
HOMEPAGE="http://qpdf.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0/10" # subslot = libqpdf soname version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="doc examples static-libs test"
|
||||
|
||||
RDEPEND="dev-libs/libpcre
|
||||
sys-libs/zlib
|
||||
>=dev-lang/perl-5.8"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
media-libs/tiff
|
||||
app-text/ghostscript-gpl
|
||||
)"
|
||||
|
||||
DOCS=( ChangeLog README TODO )
|
||||
|
||||
src_prepare() {
|
||||
# Manually install docs
|
||||
sed -i -e "/docdir/d" make/libtool.mk || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test test-compare-images)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use doc ; then
|
||||
dodoc doc/qpdf-manual.pdf
|
||||
dohtml doc/*
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
dobin examples/build/.libs/*
|
||||
fi
|
||||
}
|
@ -0,0 +1,158 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/cegui-0.7.9.ebuild,v 1.1 2013/01/18 21:57:16 hasufell Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils
|
||||
|
||||
MY_P=CEGUI-${PV}
|
||||
MY_D=CEGUI-DOCS-${PV}
|
||||
DESCRIPTION="Crazy Eddie's GUI System"
|
||||
HOMEPAGE="http://www.cegui.org.uk/"
|
||||
SRC_URI="mirror://sourceforge/crayzedsgui/${MY_P}.tar.gz
|
||||
doc? ( mirror://sourceforge/crayzedsgui/${MY_D}.tar.gz )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 -ppc ~x86"
|
||||
IUSE="bidi debug devil doc examples expat gtk irrlicht lua ogre opengl pcre static-libs tinyxml truetype xerces-c +xml zip"
|
||||
REQUIRED_USE="|| ( expat tinyxml xerces-c xml )" # bug 362223
|
||||
|
||||
RDEPEND="bidi? ( dev-libs/fribidi )
|
||||
devil? ( media-libs/devil )
|
||||
expat? ( dev-libs/expat )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
irrlicht? ( dev-games/irrlicht )
|
||||
lua? (
|
||||
dev-lang/lua
|
||||
dev-lua/toluapp
|
||||
)
|
||||
ogre? ( >=dev-games/ogre-1.7 )
|
||||
opengl? (
|
||||
virtual/opengl
|
||||
virtual/glu
|
||||
media-libs/freeglut
|
||||
media-libs/glew
|
||||
)
|
||||
pcre? ( dev-libs/libpcre )
|
||||
tinyxml? ( dev-libs/tinyxml )
|
||||
xerces-c? ( dev-libs/xerces-c )
|
||||
xml? ( dev-libs/libxml2 )
|
||||
zip? ( sys-libs/zlib[minizip] )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
S2=${WORKDIR}/${MY_P}_static
|
||||
|
||||
src_prepare() {
|
||||
# use minizip from zlib rather than local code
|
||||
if use zip ; then
|
||||
sed -i \
|
||||
-e '/CEGUI_BUILD_MINIZIP_RESOURCE_PROVIDER_TRUE/{
|
||||
s:minizip/ioapi.cpp minizip/unzip.cpp::;
|
||||
s:libCEGUIBase@cegui_bsfx@_la-ioapi.lo::;
|
||||
s:libCEGUIBase@cegui_bsfx@_la-unzip.lo::
|
||||
}' \
|
||||
-e '/^ZLIB_LIBS/s:=.*:= -lminizip:' \
|
||||
cegui/src/Makefile.in || die
|
||||
fi
|
||||
rm -rf cegui/src/minizip
|
||||
|
||||
if use examples ; then
|
||||
cp -r Samples Samples.clean
|
||||
rm -f $(find Samples.clean -name 'Makefile*')
|
||||
fi
|
||||
|
||||
if use static-libs ; then
|
||||
cp -a "${S}" "${S2}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable bidi bidirectional-text)
|
||||
$(use_enable debug)
|
||||
$(use_enable devil)
|
||||
$(use_enable examples samples)
|
||||
$(use_enable expat)
|
||||
$(use_enable truetype freetype)
|
||||
$(use_enable irrlicht irrlicht-renderer)
|
||||
$(use_enable lua lua-module)
|
||||
$(use_enable lua toluacegui)
|
||||
--enable-external-toluapp
|
||||
$(use_enable ogre ogre-renderer)
|
||||
$(use_enable opengl opengl-renderer)
|
||||
--enable-external-glew
|
||||
$(use_enable pcre)
|
||||
$(use_enable tinyxml)
|
||||
--enable-external-tinyxml
|
||||
$(use_enable xerces-c)
|
||||
$(use_enable xml libxml)
|
||||
$(use_enable zip minizip-resource-provider)
|
||||
--enable-null-renderer
|
||||
--enable-stb
|
||||
--enable-tga
|
||||
--disable-corona
|
||||
--disable-dependency-tracking
|
||||
--disable-freeimage
|
||||
--disable-rapidxml
|
||||
--disable-samples
|
||||
--disable-silly
|
||||
$(use_with gtk gtk2)
|
||||
)
|
||||
|
||||
econf \
|
||||
"${myconf[@]}" \
|
||||
--disable-static \
|
||||
--enable-shared
|
||||
|
||||
if use static-libs ; then
|
||||
cd "${S2}" || die
|
||||
econf \
|
||||
"${myconf[@]}" \
|
||||
--enable-static \
|
||||
--disable-shared
|
||||
fi
|
||||
|
||||
# we are doing a double build here cause
|
||||
# the build system does not permit
|
||||
# "--enable-static --enable-shared"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use static-libs ; then
|
||||
emake -C "${S2}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
default
|
||||
|
||||
if use doc ; then
|
||||
emake html || die
|
||||
dohtml -r doc/doxygen/html/* || die
|
||||
fi
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}/Samples
|
||||
doins -r Samples.clean/* || die
|
||||
fi
|
||||
|
||||
if use static-libs ; then
|
||||
find "${S2}" -name "*CEGUI*.a" -exec dolib.a '{}' \;
|
||||
|
||||
# fix/merge .la files
|
||||
for i in `find "${D}" -name "*.la"` ; do
|
||||
sed \
|
||||
-e "s/old_library=''/old_library='$(basename ${i%.la}).a'/" \
|
||||
-i ${i} || die "fixing .la files failed"
|
||||
done
|
||||
else
|
||||
# remove .la files
|
||||
prune_libtool_files --all
|
||||
fi
|
||||
}
|
@ -1,9 +1,5 @@
|
||||
AUX vamos-0.6.2-as-needed.patch 539 SHA256 126ec3f14aab19691c168406f8852505a5da11e29e2c8b7170e608b46f1dcab0 SHA512 971b612cc446150b906326db19abd981e295a00c6b539a942553240dc68a3b03d111b48d909aa9b563289f31ee5d4f6a0cf1cc45a55dc6dbd04c3209462dae3a WHIRLPOOL 2731aaf11d696c81b7925bc82b2f72a7029134587eb7fa034980819e1c92492cb0f3145e5ab7e6f07dd1a1896f1e3e610b2c99ace3f31ea63b2510a844374844
|
||||
AUX vamos-0.6.2-libpng15.patch 870 SHA256 f9782dc84d39f73b970f90851f1788e9597df1d9a8b05ea5c51f398db0932856 SHA512 18ad00d5a5a4a895cf2488a5e1d6a937a688d9b0e412f1a862cf9d2fa70a7b6eb04445b6f23bc268b24b3d33a76c680ef362bddaf65d0057679a0152f010646c WHIRLPOOL 48194d38149c13016d8f11f86a05219bb70cc175bfd62c5a14ea0da9616864650bfbb28450321957ea46ad5c73669080446df281b1315b7466457345b5154940
|
||||
AUX vamos-0.7.0-as-needed.patch 614 SHA256 83e97d5f063f51f6db31a0178b10ba9b415b45b81f98e8a401ac4a0d45abb418 SHA512 b0f20b0a18bb0dbed092fc4121e1323fe62b89aef87208212e75c0d416ce26586846823f667dc31d48f5777f5ee3587d34417dfaaa286a4c008413e0586954ba WHIRLPOOL 25b307f381d7d3314373a157df5e28fe213fcf0d734bf18bbcfeb86a4f851e13b0aae87855dc576d5caa3d08ca995e5e3beadea45dc41a7b253a02315da2ebd5
|
||||
DIST vamos-0.6.2.tar.gz 1555156 SHA256 75f539bcdd6fa6f0cf7cb4014d27f0cd8f581f8ff690b3054eb644e573bc3646 SHA512 d4c25e490a5bf97198c62fb017fd3a8378b410aae7ba2468e5aabfd81065e188afbe6d90bc6ee26096e5e41e52bf36ccc8b0a715de45915426120d482589f743 WHIRLPOOL e5f0efaa551e4def2d96e5747711fed3335945b622275ae832b9c20ca7b8181893b4a354837e8d751ceedc1c74571691b50c7e8518e194ad4de69829d546e53f
|
||||
DIST vamos-0.7.0.tar.gz 1648589 SHA256 ee4d6bf92c1769ed1cf47cb000316df02815dc866f91e22450d1a008f65d6af9 SHA512 9f64b08583aed69dd49f4d63cf5f8fa078bcb28895d20b5d420dc211a00fca4a26ee4bb6de2849334a80daa0e3ff8c576fe1407da3b772692c06f31de75b8026 WHIRLPOOL 22eb63a339db00dfedc62474de4c3ee46beeeea28a6ee88927dd9a511894ed2a097a102ee9e962229a3edcfaa45e30cf2dffb3e1f9d2e56c73856a60044454d5
|
||||
EBUILD vamos-0.6.2.ebuild 1169 SHA256 90a6ea264ec0e9288dd10a0c45c2542ae54ed5a855c90d3935f67bed40bf429e SHA512 84b7c7357117d6474ec755b05ebb7900c7afeab6b27c75625eaf1892f835bee032dfdbfd780320dc3978bca3d91a2894b50fec4ad620b0de592a3699a25b2aa5 WHIRLPOOL f79a52effffe463a76ef0ef28ee5e35e44451536bf687dbe55977891e798a7d262f0e4674d540774c0a287af25daff21fa3551a6a02a5faaa527658ac057569e
|
||||
EBUILD vamos-0.7.0.ebuild 993 SHA256 4cd4143b3969f855c663afa6bee7282224537c810726cfdb66d5ebd9aeedd73a SHA512 ccf74bb2be28c3e393ee775afcacfc7dd9774c5c3059c041dc2a99793bb0411eb9b34f163ee65d22e29e8e0d8ec5f3bc06da89dee37079c13c985fa4d79c19a8 WHIRLPOOL be5bfecb3f649245ccfc3b2d1d7086b310f14cd93d46701ebd720bb93cfb10ffe256a3cfa8e29e689b6a20982e3d9279ee37bb7904018410607af0d6128e5004
|
||||
MISC ChangeLog 2940 SHA256 bbed42a718c5da652d9061a5379a44251713cdd962f931dd9c38284653b60985 SHA512 80a927497a6f264e83a5b292f4d31e0946c006110a1d8ef87b5129e959758d149e6c9fa508ac1731f2bfc90940e718d2d030bebd3378c4c2aea16c07057016ea WHIRLPOOL 94d7d284172692d8a37c03a571b1df6fab8b3e69cd79cd1bf2bceaf3bbd57b6f8089d93b03ffe012f3d97afd5b4e5435bee4369e3ec8be07bb2d049d48e389c1
|
||||
MISC ChangeLog 3104 SHA256 4662e1843c74f204c70282c9c6f07e0e14621f99599b4584e03ba780ed6e7073 SHA512 65062aacb3e01ec8b974743ddf692caa711a9b4645528c8f7ad50c1dd76dd54abf679bee21ccf7b1a910c73683b2bcf19b47ffae7feaf33158356a7121748ae6 WHIRLPOOL 22fbdfa7dcddec2eb73c9aafe96c198db857bf9f0167b6e42560d17a27e0fa891b3bc77db4868f8faac5baeb276191ffacbaa34eef0c9f15c5ff3fa8d86f02d6
|
||||
MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -ru vamos-0.6.2.orig/media/Makefile.in vamos-0.6.2/media/Makefile.in
|
||||
--- vamos-0.6.2.orig/media/Makefile.in 2009-06-12 21:38:13.000000000 -0400
|
||||
+++ vamos-0.6.2/media/Makefile.in 2009-10-12 13:42:26.483990624 -0400
|
||||
@@ -174,7 +174,7 @@
|
||||
LTLIBRARIES = $(lib_LTLIBRARIES)
|
||||
|
||||
libvamos_media_la_LDFLAGS =
|
||||
-libvamos_media_la_LIBADD =
|
||||
+libvamos_media_la_LIBADD = ../geometry/libvamos-geometry.la
|
||||
am_libvamos_media_la_OBJECTS = Ac3d.lo Sample.lo Texture_Image.lo \
|
||||
XML_Parser.lo
|
||||
libvamos_media_la_OBJECTS = $(am_libvamos_media_la_OBJECTS)
|
@ -1,23 +0,0 @@
|
||||
--- media/Texture_Image.cc
|
||||
+++ media/Texture_Image.cc
|
||||
@@ -162,15 +162,15 @@
|
||||
|
||||
png_bytep* row_pointers = png_get_rows (png_ptr, info_ptr);
|
||||
|
||||
- m_width_pixels = info_ptr->width;
|
||||
- m_height_pixels = info_ptr->height;
|
||||
- m_channels = info_ptr->channels;
|
||||
- size_t row_size = info_ptr->width * info_ptr->channels;
|
||||
+ m_width_pixels = png_get_image_width(png_ptr, info_ptr);
|
||||
+ m_height_pixels = png_get_image_height(png_ptr, info_ptr);
|
||||
+ m_channels = png_get_channels(png_ptr, info_ptr);
|
||||
+ size_t row_size = png_get_image_width(png_ptr, info_ptr) * png_get_channels(png_ptr, info_ptr);
|
||||
|
||||
size_t data_size = row_size * m_height_pixels;
|
||||
unsigned char* data = new unsigned char [data_size];
|
||||
|
||||
- for (size_t i = 0; i < info_ptr->height; i++)
|
||||
+ for (size_t i = 0; i < png_get_image_height(png_ptr, info_ptr); i++)
|
||||
{
|
||||
for (size_t j = 0; j < row_size; j++)
|
||||
{
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-games/vamos/vamos-0.6.2.ebuild,v 1.8 2012/05/03 06:35:31 jdhore Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="an automotive simulation framework"
|
||||
HOMEPAGE="http://vamos.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/vamos/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="virtual/opengl
|
||||
media-libs/freeglut
|
||||
media-libs/libpng
|
||||
media-libs/libsdl[joystick,video]
|
||||
media-libs/openal
|
||||
media-libs/freealut"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-as-needed.patch \
|
||||
"${FILESDIR}"/${P}-libpng15.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--disable-unit-tests \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dobin caelum/.libs/caelum || die "dobin failed"
|
||||
newdoc caelum/README README.caelum
|
||||
dodoc AUTHORS ChangeLog README TODO
|
||||
if ! use static-libs ; then
|
||||
find "${D}" -type f -name '*.la' -exec rm {} + \
|
||||
|| die "la removal failed"
|
||||
fi
|
||||
}
|
@ -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-java/java-sdk-docs/java-sdk-docs-1.7.0.11.ebuild,v 1.1 2013/01/19 12:21:55 sera Exp $
|
||||
|
||||
ORIG_NAME="jdk-7u11-apidocs.zip"
|
||||
SRC_URI="${ORIG_NAME}"
|
||||
|
||||
DESCRIPTION="Oracle's documentation bundle (including API) for Java SE"
|
||||
HOMEPAGE="http://download.oracle.com/javase/7/docs/"
|
||||
LICENSE="oracle-java-documentation-7"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
RESTRICT="fetch"
|
||||
|
||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html"
|
||||
S="${WORKDIR}/docs"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${ORIG_NAME} from "
|
||||
einfo "${DOWNLOAD_URL}"
|
||||
einfo "(agree to the license) and place it in ${DISTDIR}"
|
||||
|
||||
einfo "If you find the file on the download page replaced with a higher"
|
||||
einfo "version, please report to the bug 67266 (link below)."
|
||||
einfo "If emerge fails because of a checksum error it is possible that"
|
||||
einfo "the upstream release changed without renaming. Try downloading the file"
|
||||
einfo "again (or a newer revision if available). Otherwise report this to"
|
||||
einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/share/doc/${P}/html
|
||||
doins index.html
|
||||
|
||||
for i in *; do
|
||||
[[ -d $i ]] && doins -r $i
|
||||
done
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
# ChangeLog for dev-libs/angelscript
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/angelscript/ChangeLog,v 1.3 2013/01/19 12:33:46 hasufell Exp $
|
||||
|
||||
19 Jan 2013; Julian Ospald <hasufell@gentoo.org> angelscript-2.25.2.ebuild:
|
||||
fix install rules
|
||||
|
||||
18 Jan 2013; Julian Ospald <hasufell@gentoo.org> angelscript-2.25.2.ebuild:
|
||||
add doc useflag
|
||||
|
||||
*angelscript-2.25.2 (18 Jan 2013)
|
||||
|
||||
18 Jan 2013; Julian Ospald <hasufell@gentoo.org> +angelscript-2.25.2.ebuild,
|
||||
+files/angelscript-2.25.2-QA.patch, +metadata.xml:
|
||||
initial import wrt #122061
|
||||
|
@ -0,0 +1,19 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX angelscript-2.25.2-QA.patch 1987 SHA256 8c0adc188e66088a194c3c2c24a7dc55371427d15e29982a432403abf79b4614 SHA512 bf6f3f61fbc907d45f475d7bb10fb5087430eeb2d00080b4cf81749d108e931da5fe072b06245f96d1d6e38ee1714d7b3d5c59c5e641e70d26a8a80a5e679b62 WHIRLPOOL b24ab3ceb9db9c65ffdebbd2e167c3d0dcbe74ade95487bd07466d33aaf1e4953049dafc8fd1ab8f5c6403812ce6a8faccd1cc5c85d29f396be219685014c5df
|
||||
DIST angelscript_2.25.2.zip 1232872 SHA256 84f2befc22f0541becf987519f6dc3d5dd561547bb5e6219327374ead0d516eb SHA512 78e7b077caac7eb426cd70fb6c23fb9433c120333e53281ec218feaf7ef615ad5dca433b5d127e80797f6540b8643f3af231664a3ebce39f4972b88309ab0823 WHIRLPOOL 70387ee26eaae4aaa04a1311cb4c1806ff400c576498a42aee751fa94ae952aaa455c7a4bc6eec55f009532b1f3ee4a825cc60df608e3e9b125d19952b8de503
|
||||
EBUILD angelscript-2.25.2.ebuild 1238 SHA256 f086410be015c4696fb06517e6ab5c50189a1691595d4805cd52ca18dea3ced0 SHA512 9962b6a99e5140d782263abd0c581af7d9b7eb06a616d1dd9cc7e41650ecca18fb284042e99f7fd52959e483dfca430f2c8fd48714bd011e9a7e83a473d7f796 WHIRLPOOL 833499aff655cac972a454bf17673028ef6a8d33c32ff8f1fb8ae8d8cca8cbb121dc67d2c2043cdb1339b08dc5a96a7fd1c981b0b1db85b931771edb3dcb881d
|
||||
MISC ChangeLog 608 SHA256 710a605ce37b4322b5849b1015b26ea938dd49fcb2b30055982c6e24848fb843 SHA512 0f335d98ac1a21205e5813e525fa9567a3976c64bf27cb4e489db130beceb07922205c5bd963653052fa825d13ed2b7c8209edfab6540abad5400112bcd4466c WHIRLPOOL ecdc5606bfe22b48deb4159c183e1907269d13a2633e849f8146f5c255a851290b1b57f746af06ad6bbca8b7f975900b2d6ee6b695df2ae890d7c337acb39bbe
|
||||
MISC metadata.xml 235 SHA256 11ffaf6c7e9d3f8dbb48fb60cd443d87b61015bc3197206ca230f5c2b0c1e013 SHA512 8ff2114c96567a53f83cd07149d1530286182f54b3d1286b9ceccea41e85734be19d0f60876c73880d76baac48e698de91114bfda459e2ee6ade9c3237847133 WHIRLPOOL bd4bb26791fe245f1c2407aa690887524eef3e76de87b4f2b7049f436661ee78a669e4fe4415e227aa50ee404bbfbaf1822fa648792919f93cb3674fa0f55858
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJQ+pKtAAoJEFpvPKfnPDWzYwgH/Rorx7g6kXFvRaxOgTDbXktj
|
||||
LrcJftcLsytyxV9pIV34Mibi+jd9CD0f3bCRQJy4tslWQkjRqqM1tdCvcf57C7Y0
|
||||
aiSxqegWpaVrc9MCVuX7BTTbBTW8kh8BtiXcbQw4dzXjTo241iTEfHBrtLvH1kMQ
|
||||
2Sdtmmi+vQ4U/y7GvPvXwRpCstqxs1uZ/g068kH76osEsTCGsNDsIsIDebMitqQN
|
||||
3OucQD3ekr5QVKj4VyoYi+l/aJ/3SDEvLFa0trqyKCXlhR1yujcibLiEKDwBY+DN
|
||||
PuMGFTATFeic39fEbm9UwksyLhBY932M2nUhrGvOtAbffGFLg16luHqP+DF3ITE=
|
||||
=SC2N
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/angelscript/angelscript-2.25.2.ebuild,v 1.3 2013/01/19 12:33:46 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A flexible, cross-platform scripting library"
|
||||
HOMEPAGE="http://www.angelcode.com/angelscript/"
|
||||
SRC_URI="http://www.angelcode.com/angelscript/sdk/files/angelscript_${PV}.zip"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/sdk/${PN}/projects/gnuc
|
||||
S2=${WORKDIR}/${P}_static
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-QA.patch
|
||||
|
||||
if use static-libs ; then
|
||||
cp -a "${WORKDIR}"/sdk "${S2}"/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CXX AR RANLIB
|
||||
|
||||
emake SHARED=1 VERSION=${PV}
|
||||
|
||||
if use static-libs ; then
|
||||
cd "${S2}"/${PN}/projects/gnuc || die
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doheader "${WORKDIR}"/sdk/${PN}/include/angelscript.h
|
||||
dolib.so "${WORKDIR}"/sdk/${PN}/lib/libangelscript-${PV}.so
|
||||
dosym libangelscript-${PV}.so /usr/$(get_libdir)/libangelscript.so
|
||||
|
||||
if use static-libs ; then
|
||||
dolib.a "${S2}"/${PN}/lib/libangelscript.a
|
||||
fi
|
||||
|
||||
use doc && dohtml -r "${WORKDIR}"/sdk/docs/*
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
--- sdk/angelscript/projects/gnuc/makefile
|
||||
+++ sdk/angelscript/projects/gnuc/makefile
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
# For 'make install' to work, set LOCAL according to your system configuration
|
||||
LOCAL = /usr/local
|
||||
+INSTALL_LIBDIR = lib
|
||||
|
||||
# If you want to build a shared library, then run make with SHARED=1 and VERSION=version
|
||||
ifdef SHARED
|
||||
@@ -44,10 +45,10 @@
|
||||
else
|
||||
OBJDIR = obj
|
||||
LIBDIR = ../../lib
|
||||
- CXX ?= gcc
|
||||
+ CXX ?= g++
|
||||
# On i686 architecture you may need to add -march=i686 if you get
|
||||
# an undefined symbol for __sync_sub_and_fetch_4 in as_atomic.cpp.
|
||||
- CXXFLAGS += -g -Wall -fPIC -fno-strict-aliasing
|
||||
+ CXXFLAGS += -Wall -fPIC -fno-strict-aliasing
|
||||
endif
|
||||
|
||||
AR ?= ar
|
||||
@@ -106,7 +107,7 @@
|
||||
|
||||
$(BIN): $(OBJDIR) $(LIBDIR) $(OBJ)
|
||||
ifdef SHARED
|
||||
- $(CXX) -shared -Wl,-soname,$(LIB) -o $(BIN) $(OBJ)
|
||||
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LIB) -o $(BIN) $(OBJ)
|
||||
( cd $(LIBDIR); ln -s $(LIB) $(DEVLIB) )
|
||||
else
|
||||
$(AR) r $(BIN) $(OBJ)
|
||||
@@ -135,18 +136,18 @@
|
||||
$(DELETER) $(OBJ) $(BIN) $(LIBDIR)/$(DEVLIB)
|
||||
|
||||
install: $(BIN)
|
||||
- @echo Installing to: $(LOCAL)/lib and $(LOCAL)/include...
|
||||
+ @echo Installing to: $(LOCAL)/$(INSTALL_LIBDIR) and $(LOCAL)/include...
|
||||
@echo -------------------------------------------------------------------
|
||||
ifdef SHARED
|
||||
- $(COPIER) $(LIBDIR)/$(DEVLIB) $(LOCAL)/lib
|
||||
+ $(COPIER) $(LIBDIR)/$(DEVLIB) $(LOCAL)/$(INSTALL_LIBDIR)
|
||||
endif
|
||||
- $(COPIER) $(BIN) $(LOCAL)/lib
|
||||
+ $(COPIER) $(BIN) $(LOCAL)/$(INSTALL_LIBDIR)
|
||||
$(COPIER) $(INCDIR)/$(INC) $(LOCAL)/include
|
||||
@echo -------------------------------------------------------------------
|
||||
@echo Angelscript library installed. Enjoy!
|
||||
|
||||
uninstall:
|
||||
- $(DELETER) $(LOCAL)/include/$(INC) $(LOCAL)/lib/$(LIB) $(LOCAL)/lib/$(DEVLIB)
|
||||
+ $(DELETER) $(LOCAL)/include/$(INC) $(LOCAL)/$(INSTALL_LIBDIR)/$(LIB) $(LOCAL)/$(INSTALL_LIBDIR)/$(DEVLIB)
|
||||
@echo -------------------------------------------------------------------
|
||||
@echo Angelscript library uninstalled.
|
||||
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>hasufell@gentoo.org</email>
|
||||
<name>Julian Ospald</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,17 @@
|
||||
# ChangeLog for dev-libs/libRocket
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libRocket/ChangeLog,v 1.2 2013/01/18 22:31:09 hasufell Exp $
|
||||
|
||||
18 Jan 2013; Julian Ospald <hasufell@gentoo.org> libRocket-1.2.1.ebuild,
|
||||
libRocket-1.2.1_p20130110.ebuild, libRocket-9999.ebuild:
|
||||
fix deps
|
||||
|
||||
*libRocket-9999 (18 Jan 2013)
|
||||
*libRocket-1.2.1_p20130110 (18 Jan 2013)
|
||||
*libRocket-1.2.1 (18 Jan 2013)
|
||||
|
||||
18 Jan 2013; Julian Ospald <hasufell@gentoo.org> +libRocket-1.2.1.ebuild,
|
||||
+libRocket-1.2.1_p20130110.ebuild, +files/libRocket-1.2.1-build.patch,
|
||||
+libRocket-9999.ebuild, +metadata.xml:
|
||||
initial import
|
||||
|
@ -0,0 +1,22 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX libRocket-1.2.1-build.patch 1194 SHA256 9650d7a94fea3220c15dcdcd4002df95c025b3d40dc0c924dc4cbbb35d01094d SHA512 3eeafcd7dec286cdf5375394e66b99a8313c874258a373875b09b13d26fad778b2eda5e9fe7c89cb4c3ef96ce68c28ea541bd0f27ac0e0b5cd56052f228d24d8 WHIRLPOOL b61a731e56e0c9f92bb0e30337c8f97120ab99d454dd2dbc2f0b726f56d28a5401179292f38ffa19c7d0bb32cbece3ab99f61b1c67f7d62fd8c2a8cf5ae03aa6
|
||||
DIST libRocket-1.2.1.tar.gz 1796018 SHA256 05c92515031ebfa5b1e9421d88116a60f815818c97004947a16ce6b4c77563a7 SHA512 49210bf7f4867103d0149a789f020388a2ad533ee684b52d8d2ffdb38f41fe873ffc389b79a20a7020506b368394a0fde7a8ba5cb495576edc16f1b12f520e41 WHIRLPOOL f9b8f9d30c3f94028d623f22b8169a4a101fda5f52edd3a21d05b9a56c6410c94788e1226c4689361a7a8198973cf4c6819cd3733fe69d3d8a93edffad090e06
|
||||
DIST libRocket-1.2.1_p20130110.tar.xz 845572 SHA256 5661f0d1b0a3e19b9f2856b9927ed7ec4ad6939e732230832cd701bf078a732b SHA512 1c474e0cad2e13ebe6102cd5d31c3fa61370d23062c31fd7703ec431f0da56f008c9711b49b73d8a9b32af0313e2cb3aa8c46888a36044fef05c15fe1cbc23b5 WHIRLPOOL 52ef88ebc35ac762c6b50fbaed8713b2568f80bc65390e696537f4935eaf1c4182a64b414fd6bfadb3e1a6cadb0589fcb20bc12c26e3ea87edaf342b5ff09bb6
|
||||
EBUILD libRocket-1.2.1.ebuild 1970 SHA256 2d1ede0849b0c32572193a191c76585e6d5d9271a5c63b4bd5ae27c32be59839 SHA512 a48912761eef2b288e80497038f0c12c01a879b4669b48b8638e27bb0590e38c75ba2babc9201a0cd50d39ea37d038ca75c0ab5dbb4fa59b87ade895d6cf8131 WHIRLPOOL eee7544aa5ab1a543080a25e6673f1929b948958275b35a625180c229d5b95c444c3ab828445bd2bd2fde7cd536d941d3bdce66b3fed83b27889a4cff1ee8903
|
||||
EBUILD libRocket-1.2.1_p20130110.ebuild 1862 SHA256 73f83be6eaa8c761be4dfc98f73cdbdb61046e735a96fbe658b9c7bd1069c9c9 SHA512 e763e48e86f1feffa3ae41734fcd37c9df5cbe4519ee831dedbe8ea521a373d2b77c8abeacb28c46c1aba582c7341247f45d2867882f5b8e32d2935704ca1577 WHIRLPOOL fcca657b0d826dcc6933107e71eb8174fa564c0229fbdf07e80e786cf66d46417239d1bb0abe6049cbcf0410107d780cde1fd6041c8085d07cddb084a45a6f40
|
||||
EBUILD libRocket-9999.ebuild 1842 SHA256 67da23684dda8f1202da1b81bcc71a2bffcfd25a498c8565fe62dea6498ed213 SHA512 deed4a2fa3b7c9124837f5246f9b3585c656201ceeb25d684f96133d07365000c3e594f40e36d145bf2b308c8f48eb9ba84867c158a8e1ad92c7f53ce5cc380d WHIRLPOOL 52f5f8568444e481d2d890e3749657279891149f9cdcfd16cd77fdc43c17f474a87ca3b47bbb59b4c1aa4420aade8914767e570ce048853445359cb8a07583f7
|
||||
MISC ChangeLog 668 SHA256 f6a33c95f19c36981d3b55adc23132cb27ba1786839e7a1ba73495618cf51a81 SHA512 b745fe38428f392c21723d8f7730e74eede8c1aa6f2bac6fb5f12f737b80b90de2c39be8325f2d8a5a4811beab38de0f6062eefa0ffdba7c624d32ae11cadbbc WHIRLPOOL a2986297813bc3cb04d8fc07747f5650ca85a6ddee49eb698c97329e2bfadbb1310ccea860f46c85004d6d51eb4cd72c4c9e9335b6710e3d1e7645063d7a38dc
|
||||
MISC metadata.xml 294 SHA256 d42b1e02c3a48eab00022cc811e6998351b7c19691fad42b10bda6f3db8aaaab SHA512 0f5486821b3585889a6c955330f2c781356e370b245ec8656111448467a59c9fdc41fd15ae633737aa46ce48b86abdc3247bffd979da00e25c756758ebb77451 WHIRLPOOL 4d8bcc430d64d761d7e134d31627d0d43ff201b990dec3da289f0fa50d33702dfd1638d6c0da7a2601ce49a130266526284d341d4d2f50e289b36079249e4231
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJQ+c0xAAoJEFpvPKfnPDWzuhAH/3NImI5TyPNEGqxhB4ywwUlp
|
||||
PD7oaGYhzzxbzYrktj43Bum3ZJ34FkJZRL4Emswuw6K/je6zuDlUKuJzxNGHIZyC
|
||||
tHVB6sjKsaZ3LQXvzabzpVJr/KByHMf8RaFd2a8S7fFE2m7SDOUkht7UuQc5MCKE
|
||||
5VGBGOgKnmE39MTvxj5TX2yB1Pm4/Gd1M7g4wAc334uhkUlX0cowrHeeIE1u1O6Q
|
||||
hEw4bCTbbd916DQY5Ziu6r7X/Ocqjzsq5uQw2Vy2ANXaowwpcKtFjH/2wCoH7Ngx
|
||||
gpW00qHyXjnOgtleFVWVETpv4r4xkoiRQ49dtH7pMRLRjbwmSFlMemJ8/sJ9Yik=
|
||||
=iYtB
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,44 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
--- Build/CMakeLists.txt
|
||||
+++ Build/CMakeLists.txt
|
||||
@@ -11,6 +11,9 @@
|
||||
|
||||
project(libRocket C CXX)
|
||||
|
||||
+# paths
|
||||
+include(GNUInstallDirs)
|
||||
+
|
||||
set(LIBROCKET_VERSION_MAJOR 1)
|
||||
set(LIBROCKET_VERSION_MINOR 2)
|
||||
set(LIBROCKET_VERSION_PATCH 1)
|
||||
@@ -131,8 +134,8 @@
|
||||
endif()
|
||||
|
||||
install(TARGETS ${NAME}
|
||||
- LIBRARY DESTINATION lib
|
||||
- ARCHIVE DESTINATION lib
|
||||
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
)
|
||||
endforeach(library)
|
||||
|
||||
@@ -237,7 +240,7 @@
|
||||
endif()
|
||||
endif()
|
||||
|
||||
- set(SAMPLES_DIR opt/Rocket/Samples)
|
||||
+ set(SAMPLES_DIR opt/Rocket/Samples CACHE PATH "path to samples dir")
|
||||
|
||||
# The samples use the shell library
|
||||
include_directories(${PROJECT_SOURCE_DIR}/Samples/shell/include)
|
||||
@@ -256,8 +259,8 @@
|
||||
target_link_libraries(${sample_LIBRARIES})
|
||||
|
||||
install(TARGETS shell
|
||||
- LIBRARY DESTINATION lib
|
||||
- ARCHIVE DESTINATION lib
|
||||
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
)
|
||||
|
||||
list(APPEND samples treeview customlog drag loaddocument)
|
@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libRocket/libRocket-1.2.1.ebuild,v 1.2 2013/01/18 22:31:09 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
inherit cmake-utils eutils python-r1
|
||||
|
||||
DESCRIPTION="A HTML/CSS User Interface library"
|
||||
HOMEPAGE="http://librocket.com/"
|
||||
SRC_URI="https://github.com/lloydw/libRocket/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="python samples"
|
||||
|
||||
RDEPEND="media-libs/freetype
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/boost[python,${PYTHON_USEDEP}]
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}-release-${PV}
|
||||
python_BUILD_DIR=${WORKDIR}/${P}_build_python
|
||||
CMAKE_USE_DIR="${S}"/Build
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-build.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_PYTHON_BINDINGS=OFF
|
||||
$(cmake-utils_use_build samples SAMPLES)
|
||||
-DSAMPLES_DIR=/usr/share/${PN}/samples
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
|
||||
if use python ; then
|
||||
cfgpybind() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_PYTHON_BINDINGS=ON
|
||||
-DCMAKE_SKIP_RPATH=YES
|
||||
)
|
||||
BUILD_DIR="${python_BUILD_DIR}-${EPYTHON}" cmake-utils_src_configure
|
||||
}
|
||||
einfo "configuring python binding"
|
||||
python_foreach_impl cfgpybind
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
if use python ; then
|
||||
buildpybind() {
|
||||
cp "${WORKDIR}"/${P}_build/{libRocketCore*,libRocketControls*} "${python_BUILD_DIR}-${EPYTHON}"/ || die
|
||||
BUILD_DIR="${python_BUILD_DIR}-${EPYTHON}" cmake-utils_src_make _rocketcontrols/fast _rocketcore/fast
|
||||
}
|
||||
einfo "compiling python binding"
|
||||
python_foreach_impl buildpybind
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use python ; then
|
||||
instpybind() {
|
||||
python_domodule bin/rocket.py
|
||||
exeinto "$(python_get_sitedir)"
|
||||
doexe ${python_BUILD_DIR}-${EPYTHON}/_rocket{core,controls}.so
|
||||
}
|
||||
einfo "installing python binding"
|
||||
python_foreach_impl instpybind
|
||||
fi
|
||||
}
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libRocket/libRocket-1.2.1_p20130110.ebuild,v 1.2 2013/01/18 22:31:09 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
inherit cmake-utils eutils python-r1
|
||||
|
||||
DESCRIPTION="A HTML/CSS User Interface library"
|
||||
HOMEPAGE="http://librocket.com/"
|
||||
SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="python samples"
|
||||
|
||||
RDEPEND="media-libs/freetype
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/boost[python,${PYTHON_USEDEP}]
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_BUILD_DIR=${WORKDIR}/${P}_build_python
|
||||
CMAKE_USE_DIR="${S}"/Build
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_PYTHON_BINDINGS=OFF
|
||||
$(cmake-utils_use_build samples SAMPLES)
|
||||
-DSAMPLES_DIR=/usr/share/${PN}/samples
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
|
||||
if use python ; then
|
||||
cfgpybind() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_PYTHON_BINDINGS=ON
|
||||
-DCMAKE_SKIP_RPATH=YES
|
||||
)
|
||||
BUILD_DIR="${python_BUILD_DIR}-${EPYTHON}" cmake-utils_src_configure
|
||||
}
|
||||
einfo "configuring python binding"
|
||||
python_foreach_impl cfgpybind
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
if use python ; then
|
||||
buildpybind() {
|
||||
cp "${WORKDIR}"/${P}_build/{libRocketCore*,libRocketControls*} "${python_BUILD_DIR}-${EPYTHON}"/ || die
|
||||
BUILD_DIR="${python_BUILD_DIR}-${EPYTHON}" cmake-utils_src_make _rocketcontrols/fast _rocketcore/fast
|
||||
}
|
||||
einfo "compiling python binding"
|
||||
python_foreach_impl buildpybind
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use python ; then
|
||||
instpybind() {
|
||||
python_domodule bin/rocket.py
|
||||
exeinto "$(python_get_sitedir)"
|
||||
doexe ${python_BUILD_DIR}-${EPYTHON}/_rocket{core,controls}.so
|
||||
}
|
||||
einfo "installing python binding"
|
||||
python_foreach_impl instpybind
|
||||
fi
|
||||
}
|
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libRocket/libRocket-9999.ebuild,v 1.2 2013/01/18 22:31:09 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
inherit cmake-utils git-2 python-r1
|
||||
|
||||
DESCRIPTION="A HTML/CSS User Interface library"
|
||||
HOMEPAGE="http://librocket.com/"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="git://github.com/hasufell/libRocket.git"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="python samples"
|
||||
|
||||
RDEPEND="media-libs/freetype
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/boost[python,${PYTHON_USEDEP}]
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_BUILD_DIR=${WORKDIR}/${P}_build_python
|
||||
CMAKE_USE_DIR="${S}"/Build
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_PYTHON_BINDINGS=OFF
|
||||
$(cmake-utils_use_build samples SAMPLES)
|
||||
-DSAMPLES_DIR=/usr/share/${PN}/samples
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
|
||||
if use python ; then
|
||||
cfgpybind() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_PYTHON_BINDINGS=ON
|
||||
-DCMAKE_SKIP_RPATH=YES
|
||||
)
|
||||
BUILD_DIR="${python_BUILD_DIR}-${EPYTHON}" cmake-utils_src_configure
|
||||
}
|
||||
einfo "configuring python binding"
|
||||
python_foreach_impl cfgpybind
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
if use python ; then
|
||||
buildpybind() {
|
||||
cp "${WORKDIR}"/${P}_build/{libRocketCore*,libRocketControls*} "${python_BUILD_DIR}-${EPYTHON}"/ || die
|
||||
BUILD_DIR="${python_BUILD_DIR}-${EPYTHON}" cmake-utils_src_make _rocketcontrols/fast _rocketcore/fast
|
||||
}
|
||||
einfo "compiling python binding"
|
||||
python_foreach_impl buildpybind
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use python ; then
|
||||
instpybind() {
|
||||
python_domodule bin/rocket.py
|
||||
exeinto "$(python_get_sitedir)"
|
||||
doexe ${python_BUILD_DIR}-${EPYTHON}/_rocket{core,controls}.so
|
||||
}
|
||||
einfo "installing python binding"
|
||||
python_foreach_impl instpybind
|
||||
fi
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>hasufell@gentoo.org</email>
|
||||
<name>Julian Ospald</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='samples'>Build samples</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/HTML-Template/HTML-Template-2.940.0.ebuild,v 1.1 2013/01/19 12:26:33 tove Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=WONKO
|
||||
MODULE_VERSION=2.94
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A Perl module to use HTML Templates"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
SRC_TEST="do"
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MIME-Types/MIME-Types-1.380.0.ebuild,v 1.1 2013/01/19 12:28:21 tove Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MARKOV
|
||||
MODULE_VERSION=1.38
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Definition of MIME types"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
SRC_TEST="do"
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mouse/Mouse-1.40.0.ebuild,v 1.1 2013/01/19 12:36:18 tove Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=GFUJI
|
||||
MODULE_VERSION=1.04
|
||||
inherit eutils perl-module
|
||||
|
||||
DESCRIPTION="Moose minus the antlers"
|
||||
#SRC_URI+=" mirror://gentoo/Mouse-0.64-ppport.h.bz2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~ppc-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-XSLoader
|
||||
"
|
||||
DEPEND="
|
||||
>=virtual/perl-ExtUtils-ParseXS-2.21
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-perl/Sub-Uplevel
|
||||
>=virtual/perl-Test-Simple-0.88
|
||||
)
|
||||
"
|
||||
|
||||
#src_prepare() {
|
||||
# perl-module_src_prepare
|
||||
# epatch "${FILESDIR}"/0.64-ppport.patch
|
||||
# mv "${WORKDIR}"/Mouse-0.64-ppport.h "${S}"/ppport.h || die
|
||||
#}
|
||||
|
||||
SRC_TEST=do
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Plack/Plack-1.1.500.ebuild,v 1.1 2013/01/19 12:51:20 tove Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MIYAGAWA
|
||||
MODULE_VERSION=1.0015
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="PSGI toolkit and servers"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/libwww-perl-5.814.0
|
||||
>=dev-perl/URI-1.590.0
|
||||
virtual/perl-PodParser
|
||||
>=dev-perl/File-ShareDir-1.0.0
|
||||
dev-perl/Try-Tiny
|
||||
virtual/perl-parent
|
||||
>=dev-perl/Devel-StackTrace-1.230.0
|
||||
>=dev-perl/Devel-StackTrace-AsHTML-0.110.0
|
||||
dev-perl/Filesys-Notify-Simple
|
||||
>=dev-perl/Hash-MultiValue-0.50.0
|
||||
>=dev-perl/HTTP-Body-1.60.0
|
||||
>=dev-perl/Test-TCP-1.20.0
|
||||
>=dev-perl/Stream-Buffered-0.20.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=virtual/perl-Test-Simple-0.88
|
||||
dev-perl/Test-Requires
|
||||
)"
|
||||
|
||||
SRC_TEST=do
|
@ -1,4 +1,16 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST Sub-Override-0.08.tar.gz 5524 SHA256 72d2ef2d340f80b273a6b2798750026fbf64616dbc2eb2372858808f4dfc458f SHA512 3750305bb74aa54d3ae160ae36841a64e458221b1513846caa159173ffef9ee2229987097d1ec3fd8232958e2fc505ac5d91ccfbc1d79f37dcecf866ed6d44bf WHIRLPOOL d0b822a7647241e07bf347e9897dbe66bb52a5dfad6a59090232ca564e6838df6ffc4440c93023c32aa62e227972968973f33c2bd521e02c82a6d7ed0eabcdaa
|
||||
DIST Sub-Override-0.09.tar.gz 6462 SHA256 939a67c1f729968e0cc81b74958db750e1bdb7c020bee1a263332f422c2e25b5 SHA512 35000e8cabb6ca4cc0cac53af99fc9cb8ac14b1e71dbfa27dc58a339cb1b54e439064f2241798e351cc5ad297a2f9e4fde870ca97e2eb09a2430c11af589d412 WHIRLPOOL 8a1aea66177babe222c8b48f60a920f9888cf62a072fa236d9799f722fad3df262424d279299160cb5eb44b407a2d785683f2ea6e8bcb54c77bc8a5841038d5c
|
||||
EBUILD Sub-Override-0.80.0.ebuild 599 SHA256 24d8acd539216a8fe21054748e90d6507e16e729849c5c9938cf7ec268116e0f SHA512 49c388e03e43d58f81ccffb05131173eb85c6d05c10201e8bf6a087d27260e88c73f37faa1664ac63bd75d27a4af2e98111150babeabfd1f41bc6937480f9683 WHIRLPOOL 98a7d31a1bfd89869ccf35086f208352af226870818448b4a5a83d860548920883b616b9cb6e86162607089d555e84ab591e8ee1277f25a3ebab5885d5b40299
|
||||
MISC ChangeLog 3225 SHA256 aa41c204b8f1f9f251b6e98e9ba03d268b66c299ca099a62afde4daff62b999b SHA512 f41526137093bfecb2da3b48d6faa07276c4a593265f499699dd07ed92ff987654781ab8468f1aad7c0b518dfdae7649cd12bfddd089d89e38e1dd04b94d24b3 WHIRLPOOL 578d868d091b010f51dd62e823a31baf464e5c2416401c70f6d23fbc90f4df55d88b9fbfdc37d16a9d83298ecf9d5e94624dc3de1b8e97c2a2bdb481b2f5655a
|
||||
EBUILD Sub-Override-0.90.0.ebuild 523 SHA256 70226fba84d32a8753033deabbd5ef10172add5b73545ed63070cb5125be1d0f SHA512 ad07cc87f534490502aea06231b3e7b4283067964301108ad113acbbe8b73a1e1eaf7acef659d8133d3f83d2ff2c66d7d7e6e4a3e4b0f7214fa9e96c604928cb WHIRLPOOL 23ac00b27624f453a2a88b6cdb2930f69115e1e54313f8d6e5b195bbb64c45f411d338684e6d28febcf27523845e07fce3213c7a07277ac98f34376cde58c541
|
||||
MISC ChangeLog 3354 SHA256 ee6152b0c9f47677f683bc6509de60f8f89e94acf6b8edcec3e292a4f7b49075 SHA512 0bf8a27caafa6233655a07eead6275e19eabd1a0ff74dcf43ed79d438aab3b905565a0b6ef5a31eb0ba72b79f241049129731700d03a9172c283f1f0faabf7b8 WHIRLPOOL 7bb4baf5b1860a1a200ab0b20d9816d04a57f3344d7494705ee88306c9c303a4c5c73d6958d48e8f37645d015818cfac3ff4556c0907f6db54d81693f800deba
|
||||
MISC metadata.xml 298 SHA256 6bddc363898115494b77a934daeaf531a732207327a1eb86324defcc4f845117 SHA512 cdf5c6de1897c372393d392d1fd2932cbec1eccab5412513668bdfb8c0e5c2f3e7c7ec15a373fff370fd566a63ed3279b631971ece62312d35d8476a0d9e6b5b WHIRLPOOL 37dcf83c8c01bfe5f6fa871bfc65d5e239fd00e105f771cc5aa7e0be113cdcaf32ee11fe56bd217a70425d01c15cf0e6f7c3123228ac18af0584d46d9e5fbecb
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlD6kC4ACgkQV3J2n04EauzbOQCeIe24w3ikkOX34jpz3Hu+BlBk
|
||||
pwwAoKBd3YlhYklGZVSALjixNAIy8VpB
|
||||
=UiAO
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Sub-Override/Sub-Override-0.90.0.ebuild,v 1.1 2013/01/19 12:23:09 tove Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=OVID
|
||||
MODULE_VERSION=0.09
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl extension for easily overriding subroutines"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
>=dev-perl/Test-Fatal-0.10.0
|
||||
)"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,8 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>chutzpah@gentoo.org</email>
|
||||
<name>Patrick McLean</name>
|
||||
</maintainer>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>chutzpah@gentoo.org</email>
|
||||
<name>Patrick McLean</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,4 +1,17 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST adns-python-1.2.1.tar.gz 18252 SHA256 30f4ae0c40f6b09b0fad60c1aa4b4b9ff250e62f6e5e6cc112949f880359a23e SHA512 00770a3eeb27acf7cdeeac9c76acc2cea30cd0f2620b98f3d2976cacbaf3103376cce1ce7a868114caa06caecd8a4fdbf29bdf1ef60f7b43294b41738e02a736 WHIRLPOOL 5ae46975a2bb671654c5c361cf2457604129d9caa72320dec6071211acfd67c35e43d027a44d02f27856aaee47d9c3b22c6afa1c5df2a7c618e6382f08524aa4
|
||||
EBUILD adns-python-1.2.1-r1.ebuild 623 SHA256 65b643a4fb0c671fd53115f7192ade07c419caef67b221473add779f87b58e76 SHA512 371a3ea40ff860f7720f6765c40b1f350d5a35907aae8687d381b31ae14deb77d951cf4130f3db71e631dbbdaf57fa2b3433ca8b69d5e2dcb4ec4dd73dc43767 WHIRLPOOL 35aa4644db42b8f33b3e8767246ef1ae0c5815224bce3baf91cdd9579a92a2e862220b3e2ce1bec88e8ba40b04a57e053522bd76737ca054db8fca8d25f73c69
|
||||
EBUILD adns-python-1.2.1.ebuild 696 SHA256 8afecc0e0de87df3b65c12dbcdc7fa62d7deeff3552106f38378660536ecdd09 SHA512 68c73745248f0506b4b599560c62298e64ea425cded2a0621f0f846ab1e00300ecdf39637bf58cd424b62db86d3d4d313153f297b59288ed9279e36470f8cc5e WHIRLPOOL d3bf6fe4e364a19fce47b3ea97f4e8a7025ddda1d191f54051dbb41e0a5b6f06fb95428911f86354c4272d7b91e9af832afc2d72fdf38096059c2418481dad82
|
||||
MISC ChangeLog 3386 SHA256 9e579275290fd0dcdd8364f164f5b2a13b1d3efb39e0ac939a8f05e78bf9d040 SHA512 d193b2dc73195e98d898bc120be7feafeb1b4029c2d43459b23c1eba66c02c6181072682e609a9a77bd8de1d2ccd490a1b853b4e37d55aa5c4c2fb77bd90a696 WHIRLPOOL e0ccae6ddab2ec1034032800d4f8f0c883304b2953dadbc7b21b8d7d69d421181f121c702af8439974b0d1376228bb416f416b02195d99b4da4c96d93fc2830f
|
||||
MISC ChangeLog 3644 SHA256 c91f689cf8866b4592595473ce92dacfd48950e27d53901cae47311442105aed SHA512 6b456931e481b4c0016ec519cb891a9d7464df651e436a0489838fa8b99b5a2c9be94c1e158e0d68ea33fb5110e0b5f5ef958bde7af2ee97b44d05262389645a WHIRLPOOL b5d367d843ba19f1f173419b503e00fb8e525ce107e5f86f19312795c7dca35af8607ad72bac6c959363ed2487280922b0eddb8730f32e77ab54dab4fe2072ce
|
||||
MISC metadata.xml 241 SHA256 7aead14429653f6c46063a94d149d2e4f9521eb531318b061a7f727a9baf72da SHA512 238beb4fe3890be3fa11b562c380f2f1b87216461af9253c43ca8c404cce9a04fd8d4ba78b122af035d80f54d3a4be13510a6e51b558573cfe60d170c3106419 WHIRLPOOL 5e973515d3140a250cf04ca2c68d4cee114a9e784a2d1678fd52bd5db6926f340796e4bdcda33da93e477d85c7041500191f69eaac1299b347ace426f82d1df0
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iJwEAQEIAAYFAlD6fysACgkQfXuS5UK5QB1TtAQAlKy16xjdDcsd0ES7UkJDNg9J
|
||||
9san0p/1LYQQrSwUEeGLXRkbW/ChevkHQLTFoTeooXAp5psv34AR/R2r6wrBxfH2
|
||||
bgoJ0IErqzXwvGpw3u106KV6ePxH08yNRxwbMF2dv7yqOSbtqV+qJouNb/z1oRu5
|
||||
6WOlAWjqTqwkPyqqIgI=
|
||||
=LCgQ
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/adns-python/adns-python-1.2.1-r1.ebuild,v 1.2 2013/01/19 11:09:54 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python bindings for ADNS"
|
||||
HOMEPAGE="http://code.google.com/p/adns-python/ http://pypi.python.org/pypi/adns-python"
|
||||
SRC_URI="http://adns-python.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=net-libs/adns-1.3"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/adodb-py/adodb-py-2.20-r1.ebuild,v 1.1 2013/01/19 11:52:19 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
PYTHON_USE_WITH='sqlite?'
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${PN/-py/}-${PV//./}
|
||||
|
||||
DESCRIPTION="Active Data Objects Data Base library for Python"
|
||||
HOMEPAGE="http://adodb.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/adodb/${MY_P}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="mysql postgres sqlite"
|
||||
|
||||
RDEPEND="postgres? ( dev-python/psycopg:0[${PYTHON_USEDEP}] )
|
||||
mysql? ( >=dev-python/mysql-python-0.9.2[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}_sandbox_violation.patch"
|
||||
)
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( adodb-py-docs.htm *.gif )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,6 +1,19 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX 2.0.0_alpha6-unbundle-expat.patch 1831 SHA256 e4fbdeca42a4f7233d88294753d777b083802f07ec1d83bd092df48f479a7e60 SHA512 15d9b8b53a571a644eea73e60add82353e663983958b49c1f332e2c687eff959ab3e9ea00b4e6e640bff2a6b5a6084e5b3984636c614bd5f5cdb305ccb84a398 WHIRLPOOL e444f9c5e2bff812d88395d6b584d4ef2faa2e108a8d72302e7f28d7ee799d32a43fb6b0d8bc0522462e19093a203bd902f947e3760a337126aff19e3e42a904
|
||||
AUX 2.0.0_alpha6-unbundle-python-libs.patch 1006 SHA256 7867f512f5be4675f50c0eb35fa2e5a54df9750505ce11adba7e61398a983367 SHA512 09f137cdec9a08f466292b25e8d4f39d899283f0012c20bf77d852c0cb289cee3a231a94743ca690e2c88c8101e0af3ed0cef8b57efc0bdafefd9663ed2e9488 WHIRLPOOL 36bab50268da0ad3c41c5c61365fb5bfd62b711a44a68879d4f82233836f54613a70855f32efee1a65f214b7990ace6eb5e2d3f07c5e14cb9382ecb1b4f8bfb7
|
||||
DIST Amara-2.0.0a6.tar.bz2 1106055 SHA256 25beb6e5b9c5438db94212081445bfa296a679dd5f2bf20bca5479a57ec020b5 SHA512 44bdfd401edd63109f7e95ab630ce7e4658921cae04815188901261ca7df9eb593a3c7034cbd4d29d9364984382901adc3e71c7522de1897f87ac06ebafb0c22 WHIRLPOOL c106b9e460cd4cb06234c988b7fc771050835d4f05b2ad8455388ca04a68465e5059d815e09b1cd9553c95191f641ffdcc30dd24d09309b40dd2c510c9cf2fe2
|
||||
EBUILD amara-2.0.0_alpha6-r1.ebuild 1136 SHA256 b43b739b8a665a1fffaa6e38bfe8a13d12c8095f90391dfbc957f4276a434861 SHA512 9931e0201e82df636f9832c078c8cf4d44d5ba6ec2d17304740e224a1d56113385779f7bc38aecf2938687a1f48a7e2a6f06b0ebb5c0d4f9694afbd89a39f864 WHIRLPOOL 3070def84a8a4ca180333cd9c0901350ebcea2d5aebe2e1c349100921aa24497d8d85ef1df4644d2174a89c9afd30d0dfdb35797d3802ebc55307027d3d074a4
|
||||
EBUILD amara-2.0.0_alpha6.ebuild 953 SHA256 e1f740e07101e8a4730dd424566cb9d9b2a4fa7a5c5dc32cb3bdd4c669dc391b SHA512 20eb79e581abc08857d238289c03ac8743e46f96b77364f0ed4f571cd307b1870809125a3a9699b83f8d71ccf72600782ef4af1c735f71ffd8c115970876caa2 WHIRLPOOL 8f3b56ab56930cf8bed8490125c732dcf96b4383920461f88bf37c13f2ebd7a385b8e61559f9bbc87114491c2830ab1c99eeff25483000159caae37722f84093
|
||||
MISC ChangeLog 820 SHA256 9267ecb9b0b7aff41660da5a36de1b8c30866ae5e32856af1456a60edad4c93e SHA512 961ec5a5b4b627d917229ea4dfec14c57ff78993a859c3f9558e1cf4d7b9790cae0652748717933d806175e1d5bc39b374e1dae4c09add5b86347d999cb4eb44 WHIRLPOOL 88246d7a0ba66e1634109c3a0ba2795f7c609a9e6e28be8254e97838054d5ee782c395c681ac049c2935b570bf17647de3d24e47efe3db481cef1845c54aa069
|
||||
MISC ChangeLog 1123 SHA256 3a6bfb8d1a063dc018b3801f6875339cd5241df62c95295eb18040a74f67a568 SHA512 5d2979e135bb1368a16cdfedffbf2a814f56f7f6f2c17a2007c6b29bbad131671f51bf4cb311d027d09184fa06d73db8745d77d7716e64213f97439ef02b1884 WHIRLPOOL be7d6c33e864b5f8067ebc2f5193ca81d43af06e1b4a010d5b62a11066e669ac35aab2ab20b71316c8fbfc384e40372eddac3705a6845762e713c8f6245ced02
|
||||
MISC metadata.xml 284 SHA256 6e719bef8addda43fc826831b008e0e1dbdaf81a58bf51ac1e0bcbd98885c2b3 SHA512 9a2b13b66d5533bb7cadf8e064cd5fbc9695664a7baa2774e35fe74ece2af9e4e3cdca2935f2f358308d368c996a953a24bbc31f03870dc91aeae71128ce08a0 WHIRLPOOL bf4558359771aa034128dda48473539cedef03e9ade8b92f218967d90298b0cfbe51f60d30b234871ccfbdd71427a384b7b4d5e049c79385885dbcd1beb1b1de
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iJwEAQEIAAYFAlD6m8QACgkQfXuS5UK5QB2Y0gP8DC6+3/hYbcpmGKraRpDE8lkz
|
||||
PmK8mwRmIJsKdr20Sp+sZ7tGByezj7iHBhxhAFTTDtHPaHGG/FbRbdS+h6QgGoDZ
|
||||
tQIigR6KDjyzT48B76D3jS4EHdwp+oYuuHyUAFbYIGMnDQa+uJMlOhfgbqx5oCK8
|
||||
Jfix9YklYwngy0vxhNk=
|
||||
=vMya
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/amara/amara-2.0.0_alpha6-r1.ebuild,v 1.2 2013/01/19 13:11:56 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
PYTHON_REQ_USE='wide-unicode(+)'
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="Amara"
|
||||
MY_P="${MY_PN}-${PV/_alpha/a}"
|
||||
|
||||
DESCRIPTION="Library for XML processing in Python"
|
||||
HOMEPAGE="http://wiki.xml3k.org/Amara2"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples test"
|
||||
|
||||
RDEPEND=">=dev-libs/expat-2.1.0-r2[unicode]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PV}-unbundle-expat.patch"
|
||||
"${FILESDIR}/${PV}-unbundle-python-libs.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
nosetests -w test --exe \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r demo
|
||||
docompress -x "${INSDESTTREE}"/demo
|
||||
fi
|
||||
}
|
@ -1,16 +1,19 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
Hash: SHA256
|
||||
|
||||
DIST html5lib-0.90.zip 99322 SHA256 765e04a2c8a08db9209a46887e5244200bed0068f74fdd87fdc219a0c3a1401f SHA512 eb882a55d116d26760956f03214e79c533efa887db5d098cae09a3a40fa870414a6cd2e5a14a6d1bacb9fbc1dc0668e1f9ca99e54ab4ce539f89a68b38883437 WHIRLPOOL e658ba01e67506f6252a365b1cfdabae034cb77c1eb6952c1256d4aedab0ab9ac590e5eee98f6c988af0cd9dbb9c9b5556832f6622fc181fab5baa94c8de83a1
|
||||
DIST html5lib-0.95.tar.gz 222614 SHA256 a6e707d9cb17c8bf1e553713ad14b31274a81d5c0ce0fce21b02936d0efd7dbb SHA512 95c8221fb265b0a931636658170fc0c8a95b16c48576d5aa85ea3c6b088e6039f3f8d66cec67e0e497a63394bbf178b0251c0b9897ea9d1c2d5ae90ca35da464 WHIRLPOOL 355aedaea043231b7c473b2b6fb0455c57a8bedb315a83aeadede9298a484ca4a34584901d5bef4ff2320bef894d562559965350fdec5c5fdad75b63e6abc8a6
|
||||
EBUILD html5lib-0.90.ebuild 884 SHA256 82f2e3a97efdeb6e72ee6ce0e5c39fe74440ff94c63dbd2e578cef6327be3f3d SHA512 1cac156bbd054b982254a40c65311d2967cb05d9f7d95719eb0e53b13cf58dc3fc0528b866da87a15b52ed1da037d6d65a92a23f217a1fbf525bc1abd329096e WHIRLPOOL e9a70ee09f8845a5065c4996804fff1e8880fbf533711e87485f9214f6f05740c632da2135d2d82734fa2447a5231cd0df4af2a1cbfac7760b5b5f2ff377f5a6
|
||||
EBUILD html5lib-0.95-r1.ebuild 1007 SHA256 2c67b3bfb470487872047404d1cb0aeb16af08ba5b06117f3dbc5a6195903068 SHA512 dfe228cc440757eb1d0f078780c36d8e2f04bcd3fd7e4889b773f1c2ee697c4539bb6e8a943a7c38b2a659b61b5493400384e0343af0272045f5e083e2d30575 WHIRLPOOL 7c6673d951f89644412abbc9216f99d41f90b2f33aedb7c15fafc320405c71af83d884835527764c86fbee66921b3adabcd69ab0d9173d5ab4e60044f9b858d0
|
||||
EBUILD html5lib-0.95.ebuild 656 SHA256 7d55b1d84978b5be2aa0921f5ef21dc95280c9d9bc38ff56c52d06e3007f8e92 SHA512 b3bc972cc01d0faafcb201d3595f0780081596aeeab55aed588dae236186f0921ef63d4d907f96031dbde6d296df2239731902ac29c597be5ad44fb7a6e04c78 WHIRLPOOL eca3df12f53681cde3770917298150f5ff93697a5ecc69803fd95e2599722c7dc5bb892c1921a40ead2303a240f3e904d11721a1cda709e05a6cb44ffd3dc47f
|
||||
MISC ChangeLog 2040 SHA256 bd52818b5f7fd6961224dcc0bcd6952112a13b9e8042a278bf8b5446ca92abca SHA512 dcd38bc311149487c7a32d0bdff1828fbc610015b70b61bc10fa47e90264e902a0ae0e22f0f0b6f39ca6661a9676068e983400a9843234b9a8811f891e5731b1 WHIRLPOOL 4d578c064203da77cb290cc10ed5be3f5a2a88d967ae7c832f9d7b6ca9cbd556d4e779b7880c9978320b83f49529501934d040f3337bd8d17aada45946c6b595
|
||||
MISC ChangeLog 2184 SHA256 51c061e78e0ffac095edad02b13b91bdc1d335af1b8e9ac123c04739a52d7734 SHA512 423cd685ffe1ff811d041144a33750a4e720ca0861defc66edd9c84348afed8bda41298136d104ce2d95320584d40135354b7128156cd7dfebbd0ae0555323e7 WHIRLPOOL 92578b7fbf3e24f281437853989cc5825dbc0d514a45615082049d9ae9a0bfd69ce1e398d02ca310eec660d579ea86cea11ce21ff59a0ad61d0d6a6f459f8478
|
||||
MISC metadata.xml 238 SHA256 5ac01bb390c132fc90c93c84a7a8c9d43bb9955eb78a7989bb160cd25f7a4a5d SHA512 5a1cf952cb3e44b4104658d9207ccd827cc33011d840cc062da600255f942162ced8740842bb179185e599daefc24f335e049c50d90379783ad42ed9f3309fe8 WHIRLPOOL d16ef4c38de6db22ed27dbbf430ab12fa7b8867ac803dd4d8958975a7bae1e494ba29affe1fbb77fbb641f1cb6d762974271c817b11e75ea52229153d801d66c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.17 (GNU/Linux)
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEARECAAYFAlAav/MACgkQdIssYB9vBoONrwCfaRcwKqR6Cfgj5vxpM0WPQ7xL
|
||||
5QMAn3GYXx0+BH5RwwKeHtBFjd2bWAiR
|
||||
=GLmX
|
||||
iJwEAQEIAAYFAlD6lYAACgkQfXuS5UK5QB2ovwP8DLyUL72fnJrVZxRdB6DBidjR
|
||||
chBp3N2OTi9vntIRuTk9ZRo7k+0Nou1GafMYN/z41KfVSlTK2NgplaU8FTk+RwW/
|
||||
AoqWTp/OuQWISZI4Eyd+p0BwvDRAZ6/kvHW31STNcWRj/b6HDL4Vo1keCPBFgsaj
|
||||
RLXEQbAGftUf4R+EiW4=
|
||||
=8Ho6
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/html5lib/html5lib-0.95-r1.ebuild,v 1.1 2013/01/19 12:45:12 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="HTML parser based on the HTML5 specification"
|
||||
HOMEPAGE="http://code.google.com/p/html5lib/ http://pypi.python.org/pypi/html5lib"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
||||
IUSE="test"
|
||||
|
||||
# unittest2 used by our python_test()
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( virtual/python-unittest2[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}"/lib/html5lib/tests || die
|
||||
|
||||
local test_runner=( "${PYTHON}" -m unittest )
|
||||
if [[ ${EPYTHON} == python2.[56] ]]; then
|
||||
test_runner=( unit2.py )
|
||||
fi
|
||||
|
||||
"${test_runner[@]}" discover || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-1.1.21-r1.ebuild,v 1.3 2013/01/19 11:52:03 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit autotools-utils python-r1
|
||||
|
||||
DESCRIPTION="PostgreSQL database adapter for Python"
|
||||
HOMEPAGE="http://www.initd.org/software/psycopg"
|
||||
SRC_URI="http://initd.org/pub/software/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND=">=dev-python/egenix-mx-base-2.0.3[${PYTHON_USEDEP}]
|
||||
dev-db/postgresql-base
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# fix for bug #134873
|
||||
sed -e '1245s/static //' -i cursor.c || die
|
||||
sed -e 's:$(PY_MOD_DIR):$(D)&/$$mod:' \
|
||||
-e '/^CFLAGS/s:-I:-I. &:' \
|
||||
-i Makefile.pre.in || die
|
||||
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_configure() {
|
||||
local myeconfargs=(
|
||||
--with-mxdatetime-includes="$(python_get_includedir)/mx"
|
||||
--with-postgres-includes="/usr/include/postgresql/server"
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
|
||||
sed -e 's:$(BLDSHARED):& $(LDFLAGS):' \
|
||||
-i "${BUILD_DIR}"/Makefile || die
|
||||
}
|
||||
python_foreach_impl python_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl autotools-utils_src_compile \
|
||||
OPT="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install () {
|
||||
python_install() {
|
||||
dodir "$(python_get_sitedir)"
|
||||
autotools-utils_src_install
|
||||
}
|
||||
|
||||
python_foreach_impl python_install
|
||||
|
||||
dodoc RELEASE-1.0 SUCCESS doc/python-taylor.txt
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r doc/examples/.
|
||||
docompress -x "${INSDESTTREE}"
|
||||
fi
|
||||
}
|
@ -1,21 +1,30 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX pyinotify-0.9.4-workaround-sandbox-bug.patch 917 SHA256 dec6bbbfdede5fa3bb62aa872e0610c451cc7d3ec2e25f4314380e4c09966490 SHA512 fd5b8c405dac6d1462ff421ed12b959ee0f95e98d4f45f84e2db09dc3264d429793025a02b33df8d32676058550587d56a08df9f51112c7cbcc935eca589c55b WHIRLPOOL 7424e702d3b8682c0a13d6b19316a76be670e6f148727356bde571e2b9654e9ea2209a261b200b3aa05d11a2d5325a9b807384d0f7c30052a88c8d283cb8d658
|
||||
DIST pyinotify-0.9.2.tar.gz 59856 SHA256 c71f7d059c1c3e5eed560a6fd8beac2fe8512d15653a74ede6821a21d76c660c SHA512 8432b1a2c0e635c343ca9406a3698e0950c2cac8c1666e3c8ac15b2c2d2dcbb54fdf78098b6d088c0150565fb0e43160db8c84146d95ac7b909452c50b5873d0 WHIRLPOOL 0505491a50d7c2db807778f1dc68d90cce367246c1c798fec8a6f77d844825ea29c1a0fff414fc734e0b6d0ddf14610f7753475de9b667859ece3be73883c4d6
|
||||
DIST pyinotify-0.9.3.tar.gz 59915 SHA256 447b01feaf25a2ad36e4101b583a8212bd701d5c34e330dd62dd9f32ba149aa6 SHA512 edc65d55aae8c164d5047618cb549de600b64e94c79c07c31bf181774b789ed25ca5c3ce3d5ee827e2c6c90c32579791b6f08a7203028dfc572116339e263e3e WHIRLPOOL 20a77f9f5396d925b14ec2b19ed604f3cb9802647b7e81990c118fa7554ac65ee8002e43b497ef9e10dc19afed82073a330dca0ab2a2cdc5aaf90991f0ede6bd
|
||||
DIST pyinotify-0.9.4.tar.gz 59604 SHA256 a09767e4e0610e2e1e9f9dc89483b0ee4a53764e700f5866a570bec51d003fec SHA512 cdaf9f239a43e3889cdca0ebe1e3559bf6411e4cd829120cc2199cb91122bfe4af62f61a9bf297de28036716f974abd4d7bbeb210e22e96245781fbad08a2b75 WHIRLPOOL aba8f4e4fba5e684e0bade9c3a02a24747f3af4a441209f138223398860da8fdbc6b52546f6cd55134e72c69e6e15b06e45c50767b13ffab6f12afa4484cbfb6
|
||||
EBUILD pyinotify-0.9.2.ebuild 919 SHA256 573f08eccca787139be05753359aa7b13de2a537f14fe84459fd3dd359a6bcc3 SHA512 24a07443810132bb103f28b14cd4d82caf32dcaa811ed27599b9cf2153a9038c9a972612c7074118a01491c6f7784c5c73ad07ee8a1ff9c8dea1e5fe009fabbe WHIRLPOOL 9a09c0d92b484a47f50103f9300cc4583f1043e6fbcd3aca0cc3d4fb9d7281a800318d47cbf1a58e34dadd6d5ded6969a95d8fab07a9a5ce0f6230b92a508660
|
||||
EBUILD pyinotify-0.9.3.ebuild 900 SHA256 04b79600ebd548c7c3e3d7afe8e65b4e44bfbd00c901ad43891d60f13cb3a5fe SHA512 5d8c191654b8157798e9457d34c9ee59e7b5bf2e413f0cb8c3b54bab20cefe4f7ac7b23c7cdec9d8b496f34aeb4391b25a265b31ffbdeb4559378c68766411be WHIRLPOOL 33e13129e3c977cc1e44441a393b169466e245e6d32fc1a369bf840fec69d60268038a005106615cbce8adafe0a99b69d52ff990cfdf6aed152ec9e88c98bc1a
|
||||
EBUILD pyinotify-0.9.4-r1.ebuild 851 SHA256 e9072a64e394b71fced8cf71490029739d65197e9f29324e4bca2e0ef86a855d SHA512 04ba135894f250b45fb4a3432ad096f2efabaeb49d975615bb8e8319b5b904022a6964a065342a5817fb83558512e17ab13e3d2c03f0a8a35b8a2390498ee4bf WHIRLPOOL b1e26d26921e2e757a4becb7bb022d0c7dec7622761ed111c8e624568e8b6dc481a487b50cacdd7152e90e6d3b775dccc92dc6b09564010a3582579db1014f2b
|
||||
EBUILD pyinotify-0.9.4-r1.ebuild 958 SHA256 5396b5385bc867e56bed72e8f2af1c6dc865e1222ffee464a26ad018b803c922 SHA512 532de9bf6b2b433fccf18aa677c7e803c5eec570178a11769f2e3504cad6aaf2b8b6b24f664c32632c74800cf26aa73474f81d242c50d391cf5fed8d609561e3 WHIRLPOOL 1a13db5dabfba8cc9cbc4290c89724071a327fc7abb83340a4a6c6ae5eadeed5e5736156588ace1bf74110cd5bb42733100e143a887a27df8ef2ece9cd107e3f
|
||||
EBUILD pyinotify-0.9.4.ebuild 900 SHA256 68ce9f0dd664c34026ca65e61042359bedb4415209c322cd53daf60e6d7d29a6 SHA512 a9e5609007f61e73a30eb70214d037e11947c38556cf950733b7683b831ccf4659e5aadc15343c7c1a6c8b6ae9a3581bc770f3839a02f1c0662588cb050da0eb WHIRLPOOL b8b4c40e67380c125c92a3414eaa1f9faf57fd1007c8b04e69f13b0a9ff589ed499298f8a096f89b96f56fcb59926b44e52c654c68a150bcd2df741fd0a0a2af
|
||||
MISC ChangeLog 5982 SHA256 9e56a32ecaf485864224d83e8b2d8b813002e11971cba8a0fbe5bd04da6b551f SHA512 415edc67305495cc2e3ef9f70047a58f139d6f6151b649e073b6e901e73916db9b0dd8af1a5ddec19cb5e030272f00a9d75b0f4b3c35ed25f394eba798bb277d WHIRLPOOL e7c2fcdf1becdfab4eba498b4e6c4cf12d2a63b5edd64be99fb26399d32e4715a7a6016ab374a4042b342b8e82213cdf43e3cda1e8aae776bbe8e63d6fe13764
|
||||
MISC ChangeLog 6226 SHA256 f86331ccb60c00a4c7facf05844162c5c2566b89502096f6122e857bc2238ddf SHA512 440eceef018d68298a3f2d21dcfaa7b7b59378c1c8fcf58f2e085d51caf571729eccf0fa17681f9f8b5881449ba7cdb3f29225a109ac02b5911c80980e22113d WHIRLPOOL 8eaf48445dc8c359cafda294097aa5eaf1cfa425317ea36057fed79f664ffa61c982de7b8b90697854f85f9ec628abae07d845aa681a42820851dce09ed09025
|
||||
MISC metadata.xml 159 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 SHA512 d5a29b9f6ecddfc368dc0f1f8919cd3c3d6ecf2c7a82bc8d4c0dd51b7aa15561ed0462acb8ae39bc84f97e706e82d9b4b06357494f164f1648219f604b473fbe WHIRLPOOL 36e19b63a1b307cc200e1d73499b7477f73799db3909e71b5a0916084728351c76d400f65e2c8b3f8fffb2c9ba54c0bd235f785b47414178d98f11d64a9420d7
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iJwEAQEIAAYFAlDWGEoACgkQfXuS5UK5QB182QP6Am5k97G2xL2mi36tM7QwdlLk
|
||||
D/mxMTUnVHVR+L4kowL4iczebK+OACbYhjAHNcFNBEHU6Si9U2o41yUqOBtsFfp+
|
||||
AYt48QUPXuvPRLkpXtEDVjoj2Xt3vfq2UlptH2+n7sb1RGjt7vJw7gtXrfIGjTSN
|
||||
FrYl70Jcvxyh9BYfA/4=
|
||||
=gng5
|
||||
iQIcBAEBCAAGBQJQ+dZeAAoJEHy/RO9cNQiDqWAP/3otyVd/F4S4LllkuAXEaFzl
|
||||
DTDmMY9uheDmnvM1buhHM1ycIwR7uy7UnhEYn55e444wpwAOGAZMW3nh1RwUrq9u
|
||||
LOXH8MFrJSQuDMrGD3xVydUfgVRJSJccCtRyI8xxKigbK5iyPRrmJlBhqRpnFE5f
|
||||
1C3U0qr7YoNQikvc0V1BVLV3a6U+eP8e+miPAnSafnbOYdDtxb5OLFyO+FcrPh5S
|
||||
jcACBlQ5o+HxXktIfJ2RaGd0PnTVtbiRJei764v6g3ws6NWoszOUIY5e8uAr1n07
|
||||
cEggvWm9zqLcoIaN9fnSiPrwEzME/hCPP/fZbeYYim5zaEvgUUdK+0RXI5zPispm
|
||||
vmH+/Ii9Uxb5TA9thKt0hc5OVj5OzRcnztDCDU/s8eWjUEBRrS8N4+ARHFjNkTbb
|
||||
RpGtKSjrRb0xKbxza0DVv2hbaNjip+LelVmhSorHibXNUPr+XKElvgSphxR9qXtA
|
||||
BioLFF0dRm0Ftu6JfouDn5J/feQ4NKcCA+0H4nDxmwq2rruvBm3e4p5n0r3eHWlW
|
||||
GwdeaH4QK6KpSDqQ/YGG0XHhZvbtC8cbnWzD5F7uTkzaMKp816QvHKlaYQ1gaUkh
|
||||
xqE+2jSMSQ48QZWv6UlHJgqK055lJlbbImIdUjz0hXzIaCPKNYFlE1jQa8Uw76hg
|
||||
wFanT/JrgHCa47upy+qn
|
||||
=lfzX
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,34 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index c318749..f0a1884 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -61,14 +61,25 @@ else:
|
||||
|
||||
def should_compile_ext_mod():
|
||||
try:
|
||||
- import ctypes
|
||||
- import ctypes.util
|
||||
- except:
|
||||
+ if sys.hexversion >= 0x03030000:
|
||||
+ from unittest.mock import patch
|
||||
+ with patch('subprocess.Popen'):
|
||||
+ import ctypes
|
||||
+ import ctypes.util
|
||||
+ else:
|
||||
+ import ctypes
|
||||
+ import ctypes.util
|
||||
+
|
||||
+ except OSError:
|
||||
return True
|
||||
|
||||
libc_name = None
|
||||
try:
|
||||
- libc_name = ctypes.util.find_library('c')
|
||||
+ if sys.hexversion >= 0x03030000:
|
||||
+ with patch('subprocess.Popen'):
|
||||
+ libc_name = ctypes.util.find_library('c')
|
||||
+ else:
|
||||
+ libc_name = ctypes.util.find_library('c')
|
||||
except:
|
||||
pass # Will attemp to load it with None anyway.
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue