Sync with portage [Tue Oct 30 13:39:02 MSK 2012].

mhiretskiy
root 12 years ago
parent 863f3a2aaf
commit da8705df23

@ -0,0 +1,59 @@
Fix compilation on Gentoo/FreeBSD, no alloca.h here and PATH_MAX
is defined elsewhere.
See bug 254795
--- logrotate-3.8.2.orig/config.c
+++ logrotate-3.8.2/config.c
@@ -1,6 +1,6 @@
#include <sys/queue.h>
/* Alloca is defined in stdlib.h in NetBSD */
-#ifndef __NetBSD__
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
#include <alloca.h>
#endif
#include <limits.h>
@@ -21,6 +21,9 @@
#include <wctype.h>
#include <fnmatch.h>
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
+#include <sys/param.h>
+#endif
#include "basenames.h"
#include "log.h"
#include "logrotate.h"
--- logrotate-3.8.2.orig/logrotate.c
+++ logrotate-3.8.2/logrotate.c
@@ -1,6 +1,6 @@
#include <sys/queue.h>
/* alloca() is defined in stdlib.h in NetBSD */
-#ifndef __NetBSD__
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
#include <alloca.h>
#endif
#include <limits.h>
@@ -24,6 +24,9 @@
int selinux_enforce = 0;
#endif
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
+#include <sys/param.h>
+#endif
#include "basenames.h"
#include "log.h"
#include "logrotate.h"
--- logrotate-3.8.2.orig/Makefile
+++ logrotate-3.8.2/Makefile
@@ -17,8 +17,10 @@
ifeq ($(WITH_ACL),yes)
CFLAGS += -DWITH_ACL
+ifneq ($(OS_NAME),FreeBSD)
LOADLIBES += -lacl
endif
+endif
# HP-UX using GCC
ifeq ($(OS_NAME),HP-UX)

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.8.2.ebuild,v 1.8 2012/09/29 16:07:59 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.8.2.ebuild,v 1.9 2012/10/29 23:56:50 naota Exp $
EAPI="2"
@ -12,7 +12,7 @@ SRC_URI="https://fedorahosted.org/releases/l/o/logrotate/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="acl selinux"
RDEPEND="
@ -30,7 +30,7 @@ src_prepare() {
epatch \
"${FILESDIR}"/${PN}-3.7.7-datehack.patch \
"${FILESDIR}"/${PN}-3.8.0-ignore-hidden.patch \
"${FILESDIR}"/${PN}-3.8.0-fbsd.patch \
"${FILESDIR}"/${PN}-3.8.2-fbsd.patch \
"${FILESDIR}"/${PN}-3.8.1-noasprintf.patch \
"${FILESDIR}"/${PN}-3.8.2-atomic-create.patch
}

@ -6,11 +6,6 @@
<name>Alexys Jacob</name>
<description>Primary Maintainer</description>
</maintainer>
<maintainer>
<email>dev-zero@gentoo.org</email>
<name>Tiziano Müller</name>
<description>co-maintainer</description>
</maintainer>
<use>
<flag name='extras'>Add support for the UDP spoofing module (omudpspoof) using <pkg>net-libs/libnet</pkg></flag>
<flag name='relp'>Add support for the Reliable Event Logging Protocol using <pkg>dev-libs/librelp</pkg></flag>

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gcr/gcr-3.4.1-r2.ebuild,v 1.2 2012/10/24 09:55:42 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gcr/gcr-3.4.1-r2.ebuild,v 1.4 2012/10/29 20:54:27 blueness Exp $
EAPI="4"
GCONF_DEBUG="no"
@ -14,7 +14,7 @@ HOMEPAGE="http://www.gnome.org/"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
IUSE="debug doc +introspection"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~ia64 ~mips ppc ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
COMMON_DEPEND=">=app-crypt/gnupg-2
>=app-crypt/p11-kit-0.6

@ -1,4 +1,5 @@
DIST libvirt-0.10.2-85e8c146.tar.xz 9096 SHA256 df88922446f4667051348c6919bbbb79697661e95d3fc952c273272356fef5ed SHA512 f4f4344289b590dc32a1d8cbc0173d05a3e64aa675ab3721b32381147db74fb77dab23100dbc19d433b043379992a278eb922e14fef33d4c899133ccb8bf111b WHIRLPOOL d763e2d97be476d1e5133105972dcaefcad763705043d504d1608ce1df1967940b26668410685ae9bb7fd1df06ef0dda884235642ee984c85ce00a91bba1e8ba
DIST libvirt-0.10.2.1.tar.gz 21300749 SHA256 449628d798b82cb2f24416ef2e38c2d06f1eb68926a2cb3b24aa456dc7a4fa5b SHA512 8f05b266c9cb327adbcd986bc7d728e12578b84104c28353f1c46a6869ce53a3e58d65eb35c3f54be1f155ff6ce2af64aabf5964f4a0074b4ece87eb8291ed72 WHIRLPOOL 75829821e2135ea14beee7cd978fb11c25bf6ed0f6e337c00604094a50723bad1056864f7135ae2c293fc3f9979576ee7223f54a8aad6278b33593abcfeca41e
DIST libvirt-0.10.2.tar.gz 21916817 SHA256 1fe69ae1268a097cc0cf83563883b51780d528c6493efe3e7d94c4160cc46977 SHA512 b0e784ebedf1c6694792ae9d7672101669441e08ad0352be3d57eaae03d6cd99527c2826ea41e3edcf069eab6f2168200b198bca9504d8d63375d20ecbead120 WHIRLPOOL 4a1651be688aabc3b175da762cc88dfe8b61268bf42bb731d7e74ab8b51cf2c1793c77eff6b5d7696b2a4d5bb1103f40d5fbe544d8784dc80e6899c28e2d3f50
DIST libvirt-0.9.13-bp-1.tar.xz 6160 SHA256 dfb91f17d999f1aaf17e9cb59b64227631851ccfabaa24f0ba217dd5f4ae8f51 SHA512 9d7b7d9106fa217d1d6a218196b4692c6f560ffa2824de2b0e04ca35e8eb9ee6abeb02fece3720aa649128596c0990613d7914ab7dadfc7c8e830208882a2e1b WHIRLPOOL 54d96823526d569f081805569fa94947a0843c45cbefa83492e0da19741474fe6d07e212c5dadf93fa2d9123e05c21ab30cec9d8fff3f1ccff6dba8b41f23c8d
DIST libvirt-0.9.13.tar.gz 20276757 SHA256 d124e9915c88c195da9c008a6d855e53e555dca5816052e163dda61388359d5b SHA512 d275cf6dd6c5700eeee701ff4d28a1483137f8c7525496069438b9e81727761066f1d4b1504bf170f6a3f457ecc203f6b5e7b367fe931803cb7592cccceb7f71 WHIRLPOOL 26a5c660c07516c3736f7bd818b6b4b06c98d78181ba991139818f321ace43a33dcc7d095ce6f02b94f7b3aea7c556bb5388cea34ef801576e4d86f9c08712f7

@ -0,0 +1,43 @@
# /etc/conf.d/libvirtd
# Startup dependency
# libvirtd typically requires all networks to be up and settled which
# is what rc_need="net" provides. However if you only use specific networks
# for libvirtd, you may override this. Or if you only use libvirtd locally.
rc_need="net"
# LIBVIRTD_OPTS
# You may want to add '--listen' to have libvirtd listen for tcp/ip connections
# if you want to use libvirt for remote control
# Please consult 'libvirtd --help' for more options
#LIBVIRTD_OPTS="--listen"
# LIBVIRTD_KVM_SHUTDOWN
# Valid options:
# * shutdown - Sends an ACPI shutdown (think when you tap the power button
# on your machine and it begins a graceful shutdown). If your
# VM ignores this, it will have the power yanked out from under
# it in LIBVIRTD_KVM_SHUTDOWN_MAXWAIT seconds.
# * managedsave - Performs a state save external to the VM. qemu-kvm will stop
# stop the CPU and save off all state to a separate file. When
# the machine is started again, it will resume like nothing ever
# happened. This is guarenteed to always successfully stop your
# machine and restart it. However it may take some time to finish.
# * none - No attempts will be made to stop any VMs. If you are restarting your
# machine the qemu-kvm process will be simply killed, which may result
# in your VMs having disk corruption.
LIBVIRTD_KVM_SHUTDOWN="managedsave"
# LIBVIRTD_KVM_SHUTDOWN_MAXWAIT
# Timeout in seconds until stopping libvirtd and "pulling the plug" on the
# remaining VM's still in a running state
#LIBVIRTD_KVM_SHUTDOWN_MAXWAIT="500"
# LIBVIRTD_KVM_NET_SHUTDOWN
# If libvirtd created networks for you (e.g. NATed networks) then this init
# script will shut them down for you if this is set to 'yes'. Otherwise,
# the networks will be left running once libvirt is shutdown. For this
# option to be useful you must have enabled the 'virt-network' USE flag and
# have had libvirt create a NATed network for you.
# Valid values: 'yes' or 'no'
#LIBVIRTD_KVM_NET_SHUTDOWN="yes"

@ -0,0 +1,128 @@
#!/sbin/runscript
description="Virtual Machine Management daemon (libvirt)"
extra_started_commands="reload halt"
description_halt="Stops the libvirt daemon without stopping your VMs"
description_reload="Restarts the libvirt daemon without stopping your VMs"
depend() {
use USE_FLAG_AVAHI USE_FLAG_ISCSI USE_FLAG_RBD dbus
after ntp-client ntpd nfs nfsmount portmap rpc.statd iptables ip6tables ebtables corosync sanlock cgconfig
}
libvirtd_virsh() {
local mode=$1
shift
# Silence errors because virsh always throws an error about
# not finding the hypervisor version when connecting to libvirtd
LC_ALL=C virsh -c ${mode}:///system "$@" 2>/dev/null
}
libvirtd_dom_list() {
# Make sure that it wouldn't be confused if the domain name
# contains the word running.
libvirtd_virsh $1 list | awk '$3 == "running" { print $1 }'
}
libvirtd_dom_count() {
# Make sure that it wouldn't be confused if the domain name
# contains the word running.
libvirtd_virsh $1 list | awk 'BEGIN { count = 0 } \
$3 == "running" { count++ } \
END { print count }'
}
libvirtd_net_list() {
# The purpose of the awk is to avoid networks with 'active' in the name
libvirtd_virsh $1 net-list | awk '$2 == "active" { print $1 }'
}
libvirtd_net_count() {
# The purpose of the awk is to avoid networks with 'active' in the name
libvirtd_virsh $1 net-list | awk 'BEGIN { count = 0 } \
$2 == "active" { count++ } \
END { print count }'
}
start() {
ebegin "Starting libvirtd"
start-stop-daemon --start \
--env KRB5_KTNAME=/etc/libvirt/krb5.tab \
--exec /usr/sbin/libvirtd -- -d ${LIBVIRTD_OPTS}
eend $?
}
stop() {
local counter=
local vm_name=
local net_name=
local dom_id=
ebegin "Stopping libvirtd"
# try to shutdown all (KVM/Qemu) domains
if [ "${LIBVIRTD_KVM_SHUTDOWN}" != "none" ] \
&& [ "$(libvirtd_dom_count qemu)" != "0" ] ; then
einfo " Shutting down domain(s):"
for dom_id in $(libvirtd_dom_list qemu) ; do
vm_name="$(libvirtd_virsh qemu domname ${dom_id} | head -n 1)"
einfo " ${vm_name}"
libvirtd_virsh qemu ${LIBVIRTD_KVM_SHUTDOWN} ${dom_id} > /dev/null
done
if [ -n "${LIBVIRTD_KVM_SHUTDOWN_MAXWAIT}" ] ; then
counter="${LIBVIRTD_KVM_SHUTDOWN_MAXWAIT}"
else
counter=500
fi
if [ "${LIBVIRTD_KVM_SHUTDOWN}" = "shutdown" ]; then
einfo " Waiting ${counter} seconds while domains shutdown ..."
DOM_COUNT="$(libvirtd_dom_count qemu)"
while [ ${DOM_COUNT} -gt 0 ] && [ ${counter} -gt 0 ] ; do
DOM_COUNT="$(libvirtd_dom_count qemu)"
sleep 1
counter=$((${counter} - 1))
echo -n "."
done
fi
if [ "$(libvirtd_dom_count qemu)" != "0" ] ; then
eerror " !!! Some guests are still running, stopping anyway"
fi
fi
if [ "${LIBVIRTD_KVM_NET_SHUTDOWN}" != "no" ] \
&& [ "$(libvirtd_net_count qemu)" != "0" ]; then
einfo " Shutting down network(s):"
for net_name in $(libvirtd_net_list qemu); do
einfo " ${net_name}"
libvirtd_virsh qemu net-destroy ${net_name} > /dev/null
done
if [ "$(libvirtd_net_count qemu)" != "0" ]; then
eerror " !!! Some networks are still active, stopping anyway"
fi
fi
# Now actually stop the daemon
start-stop-daemon --stop --quiet --exec \
/usr/sbin/libvirtd --pidfile=/var/run/libvirtd.pid
eend $?
}
halt() {
ebegin "Stopping libvirtd without shutting down your VMs"
start-stop-daemon --stop --quiet --exec \
/usr/sbin/libvirtd --pidfile=/var/run/libvirtd.pid
eend $?
}
reload() {
halt
start
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.10.2-r3.ebuild,v 1.2 2012/10/29 07:16:29 cardoe Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.10.2-r3.ebuild,v 1.3 2012/10/30 05:12:33 cardoe Exp $
EAPI=4
@ -273,6 +273,9 @@ src_configure() {
# locking support
myconf="${myconf} --without-sanlock"
# DBus access to iptables/ebtables and friends
myconf="${myconf} --without-firewalld"
# this is a nasty trick to work around the problem in bug
# #275073. The reason why we don't solve this properly is that
# it'll require us to rebuild autotools (and we don't really want

@ -0,0 +1,408 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.10.2.1.ebuild,v 1.3 2012/10/30 05:17:42 cardoe Exp $
EAPI=4
#BACKPORTS=85e8c146
AUTOTOOLIZE=yes
MY_P="${P/_rc/-rc}"
PYTHON_DEPEND="python? 2:2.5"
#RESTRICT_PYTHON_ABIS="3.*"
#SUPPORT_PYTHON_ABIS="1"
inherit eutils python user autotools linux-info
if [[ ${PV} = *9999* ]]; then
inherit git-2
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
AUTOTOOLIZE=yes
SRC_URI=""
KEYWORDS=""
else
SRC_URI="http://libvirt.org/sources/stable_updates/${MY_P}.tar.gz
ftp://libvirt.org/libvirt/stable_updates/${MY_P}.tar.gz
${BACKPORTS:+
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
KEYWORDS="~amd64 ~x86"
fi
S="${WORKDIR}/${P%_rc*}"
DESCRIPTION="C toolkit to manipulate virtual machines"
HOMEPAGE="http://www.libvirt.org/"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="audit avahi +caps debug iscsi +libvirtd lvm +lxc +macvtap nfs \
nls numa openvz parted pcap phyp policykit python qemu rbd sasl \
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc"
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
lxc? ( caps libvirtd )
openvz? ( libvirtd )
qemu? ( libvirtd )
uml? ( libvirtd )
vepa? ( macvtap )
virtualbox? ( libvirtd )
xen? ( libvirtd )"
# gettext.sh command is used by the libvirt command wrappers, and it's
# non-optional, so put it into RDEPEND.
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
# package will use 3 by default. Since we don't have slot pinning in an API,
# we must go with the most recent
RDEPEND="sys-libs/readline
sys-libs/ncurses
>=net-misc/curl-7.18.0
dev-libs/libgcrypt
>=dev-libs/libxml2-2.7.6
dev-libs/libnl:3
>=net-libs/gnutls-1.0.25
net-libs/libssh2
sys-apps/dmidecode
>=sys-apps/util-linux-2.17
sys-devel/gettext
>=net-analyzer/netcat6-1.0-r2
app-misc/scrub
audit? ( sys-process/audit )
avahi? ( >=net-dns/avahi-0.6[dbus] )
caps? ( sys-libs/libcap-ng )
iscsi? ( sys-block/open-iscsi )
lxc? ( sys-power/pm-utils )
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
nfs? ( net-fs/nfs-utils )
numa? (
>sys-process/numactl-2.0.2
sys-process/numad
)
openvz? ( sys-kernel/openvz-sources )
parted? (
>=sys-block/parted-1.8[device-mapper]
sys-fs/lvm2
)
pcap? ( >=net-libs/libpcap-1.0.0 )
policykit? ( >=sys-auth/polkit-0.9 )
qemu? (
>=app-emulation/qemu-0.13.0
dev-libs/yajl
sys-power/pm-utils
)
rbd? ( sys-cluster/ceph )
sasl? ( dev-libs/cyrus-sasl )
selinux? ( >=sys-libs/libselinux-2.0.85 )
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
xen? ( app-emulation/xen-tools app-emulation/xen )
udev? ( >=sys-fs/udev-145 >=x11-libs/libpciaccess-0.10.9 )
virt-network? ( net-dns/dnsmasq
>=net-firewall/iptables-1.4.10
net-misc/radvd
net-firewall/ebtables
sys-apps/iproute2[-minimal] )
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
# one? ( dev-libs/xmlrpc-c )
DEPEND="${RDEPEND}
virtual/pkgconfig
app-text/xhtml1
dev-libs/libxslt
=dev-lang/python-2*"
LXC_CONFIG_CHECK="
~CGROUPS
~CGROUP_FREEZER
~CGROUP_DEVICE
~CPUSETS
~CGROUP_CPUACCT
~RESOURCE_COUNTERS
~CGROUP_SCHED
~BLK_CGROUP
~NAMESPACES
~UTS_NS
~IPC_NS
~PID_NS
~NET_NS
~DEVPTS_MULTIPLE_INSTANCES
~VETH
~MACVLAN
~POSIX_MQUEUE
~!GRKERNSEC_CHROOT_MOUNT
~!GRKERNSEC_CHROOT_DOUBLE
~!GRKERNSEC_CHROOT_PIVOT
~!GRKERNSEC_CHROOT_CHMOD
~!GRKERNSEC_CHROOT_CAPS
"
VIRTNET_CONFIG_CHECK="
~BRIDGE_NF_EBTABLES
~NETFILTER_ADVANCED
~NETFILTER_XT_TARGET_CHECKSUM
"
MACVTAP_CONFIG_CHECK="~MACVTAP"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
enewgroup qemu 77
enewuser qemu 77 -1 -1 qemu kvm
# Some people used the masked ebuild which was not adding the qemu
# user to the kvm group originally. This results in VMs failing to
# start for some users. bug #430808
egetent group kvm | grep -q qemu
if [[ $? -ne 0 ]]; then
gpasswd -a qemu kvm
fi
# Handle specific kernel versions for different features
kernel_is lt 3 5 && LXC_CONFIG_CHECK+=" ~USER_NS"
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR" || \
LXC_CONFIG_CHECK+=" ~MEMCG"
CONFIG_CHECK=""
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
use macvtap && CONFIG_CHECK+="${MACVTAP}"
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
if [[ -n ${CONFIG_CHECK} ]]; then
linux-info_pkg_setup
fi
}
src_prepare() {
touch "${S}/.mailmap"
[[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch
if [[ ${PV} = *9999* ]]; then
# git checkouts require bootstrapping to create the configure script.
# Additionally the submodules must be cloned to the right locations
# bug #377279
./bootstrap || die "bootstrap failed"
(
git submodule status | sed 's/^[ +-]//;s/ .*//'
git hash-object bootstrap.conf
) >.git-module-status
fi
epatch_user
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
# Tweak the init script
local avahi_init=
local iscsi_init=
local rbd_init=
cp "${FILESDIR}/libvirtd.init-r10" "${S}/libvirtd.init"
use avahi && avahi_init='avahi-daemon'
use iscsi && iscsi_init='iscsid'
use rbd && rbd_init='ceph'
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
}
src_configure() {
local myconf=""
myconf="${myconf} $(use_enable debug)"
## enable/disable daemon, otherwise client only utils
myconf="${myconf} $(use_with libvirtd)"
## enable/disable the daemon using avahi to find VMs
myconf="${myconf} $(use_with avahi)"
## hypervisors on the local host
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
# leave it automagic as it depends on the version of xen used.
use xen || myconf+=" --without-libxl"
use xen || myconf+=" --without-xenapi"
myconf="${myconf} $(use_with openvz)"
myconf="${myconf} $(use_with lxc)"
if use virtualbox && has_version app-emulation/virtualbox-ose; then
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
else
myconf="${myconf} $(use_with virtualbox vbox)"
fi
myconf="${myconf} $(use_with uml)"
myconf="${myconf} $(use_with qemu)"
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
myconf="${myconf} $(use_with phyp)"
myconf="${myconf} --with-esx"
myconf="${myconf} --with-vmware"
## additional host drivers
myconf="${myconf} $(use_with virt-network network)"
myconf="${myconf} --with-storage-fs"
myconf="${myconf} $(use_with lvm storage-lvm)"
myconf="${myconf} $(use_with iscsi storage-iscsi)"
myconf="${myconf} $(use_with parted storage-disk)"
myconf="${myconf} $(use_with lvm storage-mpath)"
myconf="${myconf} $(use_with rbd storage-rbd)"
myconf="${myconf} $(use_with numa numactl)"
myconf="${myconf} $(use_with numa numad)"
myconf="${myconf} $(use_with selinux)"
# udev for device support details
myconf="${myconf} $(use_with udev)"
# linux capability support so we don't need privileged accounts
myconf="${myconf} $(use_with caps capng)"
## auth stuff
myconf="${myconf} $(use_with policykit polkit)"
myconf="${myconf} $(use_with sasl)"
# network bits
myconf="${myconf} $(use_with macvtap)"
myconf="${myconf} $(use_with pcap libpcap)"
myconf="${myconf} $(use_with vepa virtualport)"
## other
myconf="${myconf} $(use_enable nls)"
myconf="${myconf} $(use_with python)"
# user privilege bits fir qemu/kvm
if use caps; then
myconf="${myconf} --with-qemu-user=qemu"
myconf="${myconf} --with-qemu-group=qemu"
else
myconf="${myconf} --with-qemu-user=root"
myconf="${myconf} --with-qemu-group=root"
fi
# audit support
myconf="${myconf} $(use_with audit)"
## stuff we don't yet support
myconf="${myconf} --without-netcf"
# we use udev over hal
myconf="${myconf} --without-hal"
# locking support
myconf="${myconf} --without-sanlock"
# DBus access to iptables/ebtables and friends
myconf="${myconf} --without-firewalld"
# this is a nasty trick to work around the problem in bug
# #275073. The reason why we don't solve this properly is that
# it'll require us to rebuild autotools (and we don't really want
# to do that right now). The proper solution has been sent
# upstream and should hopefully land in 0.7.7, in the mean time,
# mime the same functionality with this.
case ${CHOST} in
*cygwin* | *mingw* )
;;
*)
ac_cv_prog_WINDRES=no
;;
esac
econf \
${myconf} \
--disable-static \
--docdir=/usr/share/doc/${PF} \
--with-remote \
--localstatedir=/var
if [[ ${PV} = *9999* ]]; then
# Restore gnulib's config.sub and config.guess
# bug #377279
(cd .gnulib && git reset --hard > /dev/null)
fi
}
src_test() {
# Explicitly allow parallel build of tests
HOME="${T}" emake check || die "tests failed"
}
src_install() {
emake install \
DESTDIR="${D}" \
HTML_DIR=/usr/share/doc/${PF}/html \
DOCS_DIR=/usr/share/doc/${PF}/python \
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|| die "emake install failed"
find "${D}" -name '*.la' -delete || die
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!
newinitd "${S}/libvirtd.init" libvirtd || die
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
keepdir /var/lib/libvirt/images
}
pkg_preinst() {
# we only ever want to generate this once
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
fi
# We really don't want to use or support old PolicyKit cause it
# screws with the new polkit integration
if has_version sys-auth/policykit; then
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
fi
# Only sysctl files ending in .conf work
mv "${D}"/etc/sysctl.d/libvirtd "${D}"/etc/sysctl.d/libvirtd.conf
}
pkg_postinst() {
use python && python_mod_optimize libvirt.py
# support for dropped privileges
if use qemu; then
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
fi
if use caps && use qemu; then
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
elif use qemu; then
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
fi
if ! use policykit; then
elog "To allow normal users to connect to libvirtd you must change the"
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
fi
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!
elog
elog "For the basic networking support (bridged and routed networks)"
elog "you don't need any extra software. For more complex network modes"
elog "including but not limited to NATed network, you can enable the"
elog "'virt-network' USE flag."
elog
if has_version net-dns/dnsmasq; then
ewarn "If you have a DNS server setup on your machine, you will have"
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
ewarn " bind-interfaces"
ewarn " interface or except-interface"
ewarn
ewarn "Otherwise you might have issues with your existing DNS server."
fi
if use caps && use qemu; then
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
fi
}
pkg_postrm() {
use python && python_mod_cleanup libvirt.py
}

@ -1,11 +1,11 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-9999.ebuild,v 1.41 2012/10/12 22:53:59 cardoe Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-9999.ebuild,v 1.42 2012/10/30 05:49:45 cardoe Exp $
EAPI=4
#BACKPORTS=1
#AUTOTOOLIZE=yes
#BACKPORTS=85e8c146
AUTOTOOLIZE=yes
MY_P="${P/_rc/-rc}"
@ -22,10 +22,10 @@ if [[ ${PV} = *9999* ]]; then
SRC_URI=""
KEYWORDS=""
else
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
SRC_URI="http://libvirt.org/sources/stable_updates/${MY_P}.tar.gz
ftp://libvirt.org/libvirt/stable_updates/${MY_P}.tar.gz
${BACKPORTS:+
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.bz2}"
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
KEYWORDS="~amd64 ~x86"
fi
S="${WORKDIR}/${P%_rc*}"
@ -35,8 +35,8 @@ HOMEPAGE="http://www.libvirt.org/"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="audit avahi +caps debug iscsi +libvirtd lvm +lxc +macvtap nfs \
nls numa openvz parted pcap phyp policykit python qemu sasl selinux +udev \
uml +vepa virtualbox virt-network xen elibc_glibc"
nls numa openvz parted pcap phyp policykit python qemu rbd sasl \
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc"
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
lxc? ( caps libvirtd )
openvz? ( libvirtd )
@ -49,13 +49,14 @@ REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
# gettext.sh command is used by the libvirt command wrappers, and it's
# non-optional, so put it into RDEPEND.
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
# package will use 1.1 by default
# package will use 3 by default. Since we don't have slot pinning in an API,
# we must go with the most recent
RDEPEND="sys-libs/readline
sys-libs/ncurses
>=net-misc/curl-7.18.0
dev-libs/libgcrypt
>=dev-libs/libxml2-2.7.6
dev-libs/libnl:1.1
dev-libs/libnl:3
>=net-libs/gnutls-1.0.25
net-libs/libssh2
sys-apps/dmidecode
@ -82,10 +83,11 @@ RDEPEND="sys-libs/readline
pcap? ( >=net-libs/libpcap-1.0.0 )
policykit? ( >=sys-auth/polkit-0.9 )
qemu? (
|| ( app-emulation/qemu-kvm >=app-emulation/qemu-0.10.0 )
>=app-emulation/qemu-0.13.0
dev-libs/yajl
sys-power/pm-utils
)
rbd? ( sys-cluster/ceph )
sasl? ( dev-libs/cyrus-sasl )
selinux? ( >=sys-libs/libselinux-2.0.85 )
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
@ -101,6 +103,7 @@ RDEPEND="sys-libs/readline
DEPEND="${RDEPEND}
virtual/pkgconfig
app-text/xhtml1
dev-libs/libxslt
=dev-lang/python-2*"
LXC_CONFIG_CHECK="
@ -110,13 +113,11 @@ LXC_CONFIG_CHECK="
~CPUSETS
~CGROUP_CPUACCT
~RESOURCE_COUNTERS
~CGROUP_MEM_RES_CTLR
~CGROUP_SCHED
~BLK_CGROUP
~NAMESPACES
~UTS_NS
~IPC_NS
~USER_NS
~PID_NS
~NET_NS
~DEVPTS_MULTIPLE_INSTANCES
@ -145,6 +146,19 @@ pkg_setup() {
enewgroup qemu 77
enewuser qemu 77 -1 -1 qemu kvm
# Some people used the masked ebuild which was not adding the qemu
# user to the kvm group originally. This results in VMs failing to
# start for some users. bug #430808
egetent group kvm | grep -q qemu
if [[ $? -ne 0 ]]; then
gpasswd -a qemu kvm
fi
# Handle specific kernel versions for different features
kernel_is lt 3 5 && LXC_CONFIG_CHECK+=" ~USER_NS"
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR" || \
LXC_CONFIG_CHECK+=" ~MEMCG"
CONFIG_CHECK=""
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
use macvtap && CONFIG_CHECK+="${MACVTAP}"
@ -155,6 +169,7 @@ pkg_setup() {
}
src_prepare() {
touch "${S}/.mailmap"
[[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch
@ -174,6 +189,19 @@ src_prepare() {
epatch_user
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
# Tweak the init script
local avahi_init=
local iscsi_init=
local rbd_init=
cp "${FILESDIR}/libvirtd.init-r10" "${S}/libvirtd.init"
use avahi && avahi_init='avahi-daemon'
use iscsi && iscsi_init='iscsid'
use rbd && rbd_init='ceph'
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
}
src_configure() {
@ -192,7 +220,6 @@ src_configure() {
# leave it automagic as it depends on the version of xen used.
use xen || myconf+=" --without-libxl"
use xen || myconf+=" --without-xenapi"
myconf="${myconf} $(use_with openvz)"
myconf="${myconf} $(use_with lxc)"
if use virtualbox && has_version app-emulation/virtualbox-ose; then
@ -205,6 +232,7 @@ src_configure() {
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
myconf="${myconf} $(use_with phyp)"
myconf="${myconf} --with-esx"
myconf="${myconf} --with-vmware"
## additional host drivers
myconf="${myconf} $(use_with virt-network network)"
@ -213,7 +241,7 @@ src_configure() {
myconf="${myconf} $(use_with iscsi storage-iscsi)"
myconf="${myconf} $(use_with parted storage-disk)"
myconf="${myconf} $(use_with lvm storage-mpath)"
#myconf="${myconf} --without-storage-rbd"
myconf="${myconf} $(use_with rbd storage-rbd)"
myconf="${myconf} $(use_with numa numactl)"
myconf="${myconf} $(use_with numa numad)"
myconf="${myconf} $(use_with selinux)"
@ -258,6 +286,9 @@ src_configure() {
# locking support
myconf="${myconf} --without-sanlock"
# DBus access to iptables/ebtables and friends
myconf="${myconf} --without-firewalld"
# this is a nasty trick to work around the problem in bug
# #275073. The reason why we don't solve this properly is that
# it'll require us to rebuild autotools (and we don't really want
@ -304,8 +335,8 @@ src_install() {
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!
newinitd "${FILESDIR}/libvirtd.init-r9" libvirtd || die
newconfd "${FILESDIR}/libvirtd.confd-r3" libvirtd || die
newinitd "${S}/libvirtd.init" libvirtd || die
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
keepdir /var/lib/libvirt/images
}

@ -17,6 +17,7 @@
<flag name='pulseaudio'>Enable pulseaudio output for sound emulation</flag>
<flag name='rbd'>Enable rados block device backend support, see http://ceph.newdream.net/wiki/QEMU-RBD</flag>
<flag name='sdl'>Enable the SDL-based console</flag>
<flag name='seccomp'>Utilize <pkg>sys-libs/libseccomp</pkg> to enable kernel filtering of system calls to prevent malicious guests from doing damage.</flag>
<flag name='spice'>Enable Spice protocol support via <pkg>app-emulation/spice</pkg></flag>
<flag name='systemtap'>Enable SystemTAP/DTrace tracing</flag>
<flag name='tci'>Enable the TCG Interpreter which can speed up or slowdown workloads depending on the host and guest CPUs being emulated. In the future it will be a runtime option but for now its compile time.</flag>

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.2.0.ebuild,v 1.5 2012/10/28 20:15:51 cardoe Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.2.0.ebuild,v 1.6 2012/10/29 23:50:54 cardoe Exp $
EAPI="4"
@ -9,7 +9,7 @@ MY_P=${MY_PN}-${PV}
PYTHON_DEPEND="2"
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python user
#BACKPORTS=1
#BACKPORTS=6cee76f0
if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git"
@ -20,8 +20,7 @@ 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"
KEYWORDS=""
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
fi
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
@ -30,24 +29,22 @@ HOMEPAGE="http://www.linux-kvm.org"
LICENSE="GPL-2 LGPL-2 BSD-2"
SLOT="0"
IUSE="+aio alsa bluetooth brltty +caps +curl debug doc fdt +jpeg kernel_linux \
kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python rbd sasl sdl \
smartcard spice static systemtap tci tls usbredir +uuid vde +vhost-net \
virtfs +vnc xattr xen xfs"
kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python rbd sasl +seccomp \
sdl smartcard spice static systemtap tci +threads tls usbredir +uuid vde \
+vhost-net virtfs +vnc xattr xen xfs"
# Block USE flag configurations known to not work
REQUIRED_USE="static ( !bluetooth )"
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} mips64 mips64el ppcemb xtensa xtensaeb"
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus"
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64 s390x"
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 mips64 mips64el ppcemb xtensa xtensaeb"
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus unicore32"
# Setup the default SoftMMU targets, while using the loops
# below to setup the other targets. x86_64 should be the only
# defaults on for qemu-kvm
IUSE="${IUSE} +qemu_softmmu_targets_x86_64"
REQUIRED_USE="|| ( qemu_softmmu_targets_x86_64"
# below to setup the other targets.
REQUIRED_USE="${REQUIRED_USE} || ("
for target in ${IUSE_SOFTMMU_TARGETS}; do
if [ "x${target}" = "xx86_64" ]; then
continue
fi
IUSE="${IUSE} qemu_softmmu_targets_${target}"
REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
done
@ -59,8 +56,6 @@ done
REQUIRED_USE="${REQUIRED_USE}
static? ( !alsa !pulseaudio )
amd64? ( qemu_softmmu_targets_x86_64 )
x86? ( qemu_softmmu_targets_x86_64 )
virtfs? ( xattr )"
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
@ -77,6 +72,7 @@ LIB_DEPEND=">=dev-libs/glib-2.0[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.0[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(+)] )
@ -85,8 +81,6 @@ LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
!app-emulation/kqemu
!app-emulation/qemu
!<app-emulation/qemu-1.0
sys-firmware/ipxe
>=sys-firmware/seabios-1.7.0
sys-firmware/sgabios
@ -106,11 +100,13 @@ RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
xen? ( app-emulation/xen-tools )"
DEPEND="${RDEPEND}
app-text/texi2html
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="
@ -139,8 +135,6 @@ QA_WX_LOAD="${QA_PRESTRIPPED}
usr/bin/qemu-armeb
usr/bin/qemu-sparc32plus"
S="${WORKDIR}/${MY_P}"
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."
@ -182,11 +176,6 @@ pkg_pretend() {
ewarn "on the mailing list about USE=static's place in Gentoo. As a"
ewarn "result what worked today may not work tomorrow."
fi
if [[ "${I_WAS_TOLD_NOT_TO_USE_THIS_BUT_DID_ANYWAY}" != "derp" ]]; then
eerror "This ebuild is masked and unkeyworded. WHY are you using it!?"
die "This ebuild is masked and unkeyworded. WHY are you using it!?"
fi
}
pkg_setup() {
@ -256,10 +245,6 @@ src_configure() {
use pulseaudio && audio_opts="pa,${audio_opts}"
use mixemu && conf_opts="${conf_opts} --enable-mixemu"
# $(use_enable xen xen-pci-passthrough) for 1.2
# $(use_enable debug debug-mon) goes away for 1.2
# --disable-seccomp as in-tree seccomp is API incompatible (in-tree
# version is ancient)
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-bsd-user \
@ -268,7 +253,6 @@ src_configure() {
--disable-strip \
--disable-werror \
--python=python2 \
--disable-seccomp \
$(use_enable aio linux-aio) \
$(use_enable bluetooth bluez) \
$(use_enable brltty brlapi) \
@ -287,6 +271,7 @@ src_configure() {
$(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) \
@ -325,7 +310,7 @@ src_install() {
fi
if use qemu_softmmu_targets_x86_64 ; then
dobin /usr/bin/qemu-system-x86_64 /usr/bin/qemu-kvm
dosym /usr/bin/qemu-system-x86_64 /usr/bin/qemu-kvm
ewarn "The depreciated '/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}"
@ -344,7 +329,7 @@ src_install() {
use python & dobin scripts/kvm/kvm_stat
# avoid collision with libcacard
# Avoid collision with app-emulation/libcacard
use smartcard && mv "${ED}/usr/bin/vscclient" "${ED}/usr/bin/qemu-vscclient"
# Remove SeaBIOS since we're using the SeaBIOS packaged one

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-9999.ebuild,v 1.27 2012/10/29 11:15:29 dev-zero Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-9999.ebuild,v 1.28 2012/10/29 23:50:54 cardoe Exp $
EAPI="4"
@ -9,7 +9,7 @@ MY_P=${MY_PN}-${PV}
PYTHON_DEPEND="2"
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python user
#BACKPORTS=1
#BACKPORTS=6cee76f0
if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git"
@ -19,7 +19,7 @@ if [[ ${PV} = *9999* ]]; then
else
SRC_URI="mirror://sourceforge/kvm/${MY_PN}/${MY_P}.tar.gz
${BACKPORTS:+
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-bp-${BACKPORTS}.tar.xz}"
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
fi
@ -29,24 +29,22 @@ HOMEPAGE="http://www.linux-kvm.org"
LICENSE="GPL-2 LGPL-2 BSD-2"
SLOT="0"
IUSE="+aio alsa bluetooth brltty +caps +curl debug doc fdt +jpeg kernel_linux \
kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python rbd sasl sdl \
smartcard spice static systemtap tci tls usbredir +uuid vde +vhost-net \
virtfs +vnc xattr xen xfs"
kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python rbd sasl +seccomp \
sdl 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} mips64 mips64el ppcemb xtensa xtensaeb"
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus"
# Block USE flag configurations known to not work
REQUIRED_USE="static ( !bluetooth )"
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64 s390x"
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 mips64 mips64el ppcemb xtensa xtensaeb"
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus unicore32"
# Setup the default SoftMMU targets, while using the loops
# below to setup the other targets. x86_64 should be the only
# defaults on for qemu-kvm
IUSE="${IUSE} +qemu_softmmu_targets_x86_64"
REQUIRED_USE="|| ( qemu_softmmu_targets_x86_64"
# below to setup the other targets.
REQUIRED_USE="${REQUIRED_USE} || ("
for target in ${IUSE_SOFTMMU_TARGETS}; do
if [ "x${target}" = "xx86_64" ]; then
continue
fi
IUSE="${IUSE} qemu_softmmu_targets_${target}"
REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
done
@ -58,8 +56,6 @@ done
REQUIRED_USE="${REQUIRED_USE}
static? ( !alsa !pulseaudio )
amd64? ( qemu_softmmu_targets_x86_64 )
x86? ( qemu_softmmu_targets_x86_64 )
virtfs? ( xattr )"
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
@ -76,6 +72,7 @@ LIB_DEPEND=">=dev-libs/glib-2.0[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.0[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(+)] )
@ -84,8 +81,6 @@ LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
!app-emulation/kqemu
!app-emulation/qemu
!<app-emulation/qemu-1.0
sys-firmware/ipxe
>=sys-firmware/seabios-1.7.0
sys-firmware/sgabios
@ -105,11 +100,13 @@ RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
xen? ( app-emulation/xen-tools )"
DEPEND="${RDEPEND}
app-text/texi2html
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="
@ -195,6 +192,7 @@ src_prepare() {
python_convert_shebangs -r 2 "${S}/scripts/kvm/kvm_stat"
epatch "${FILESDIR}"/${P}-cflags.patch
epatch "${FILESDIR}"/${P}-fix-mipsen.patch
[[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
@ -248,10 +246,6 @@ src_configure() {
use pulseaudio && audio_opts="pa,${audio_opts}"
use mixemu && conf_opts="${conf_opts} --enable-mixemu"
# $(use_enable xen xen-pci-passthrough) for 1.2
# $(use_enable debug debug-mon) goes away for 1.2
# --disable-seccomp as in-tree seccomp is API incompatible (in-tree
# version is ancient)
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-bsd-user \
@ -260,7 +254,6 @@ src_configure() {
--disable-strip \
--disable-werror \
--python=python2 \
--disable-seccomp \
$(use_enable aio linux-aio) \
$(use_enable bluetooth bluez) \
$(use_enable brltty brlapi) \
@ -279,6 +272,7 @@ src_configure() {
$(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) \
@ -317,13 +311,13 @@ src_install() {
fi
if use qemu_softmmu_targets_x86_64 ; then
dobin "${FILESDIR}"/qemu-kvm
dosym /usr/bin/qemu-system-x86_64 /usr/bin/qemu-kvm
ewarn "The depreciated '/usr/bin/kvm' symlink is no longer installed"
ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
ewarn "your libvirt configs or other wrappers for ${PN}"
else
elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
elog "of /usr/bin/qemu-kvm and /usr/bin/kvm"
elog "of the /usr/bin/qemu-kvm symlink."
fi
fi
@ -336,7 +330,7 @@ src_install() {
use python & dobin scripts/kvm/kvm_stat
# avoid collision with libcacard
# Avoid collision with app-emulation/libcacard
use smartcard && mv "${ED}/usr/bin/vscclient" "${ED}/usr/bin/qemu-vscclient"
# Remove SeaBIOS since we're using the SeaBIOS packaged one

@ -14,9 +14,6 @@ Think of Wine as a compatibility layer for running Windows programs. Wine does n
<flag name='mono'>Add support for .NET using Wine's Mono add-on</flag>
<flag name='opencl'>Enable OpenCL support</flag>
<flag name='osmesa'>Add support for OpenGL in bitmaps using libOSMesa</flag>
<flag name='osmesa-multilib'>Enable libOSMesa support for Win32 on amd64.
WARNING: you must install an appropriate version of 32-bit libOSMesa manually
or from an overlay; see bug #430268</flag>
<flag name='perl'>Install helpers written in perl (winedump/winemaker)</flag>
<flag name='samba'>Add support for NTLM auth. see
http://wiki.winehq.org/NtlmAuthSetupGuide and

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.10.ebuild,v 1.6 2012/10/26 16:46:37 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.10-r1.ebuild,v 1.1 2012/10/29 23:36:46 tetromino Exp $
EAPI="4"
@ -49,6 +49,7 @@ MLIB_DEPS="amd64? (
odbc? ( app-emulation/emul-linux-x86-db )
openal? ( app-emulation/emul-linux-x86-sdl )
opengl? ( app-emulation/emul-linux-x86-opengl )
osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028 )
scanner? ( app-emulation/emul-linux-x86-medialibs )
v4l? ( app-emulation/emul-linux-x86-medialibs )
app-emulation/emul-linux-x86-baselibs
@ -152,12 +153,6 @@ do_configure() {
mkdir -p "${builddir}"
pushd "${builddir}" >/dev/null
with_osmesa=$(use_with osmesa)
if use osmesa && use amd64 && [[ $1 = 32 ]]; then #430268
elog "win32 osmesa support is disabled for now, see bug #430268"
with_osmesa=--without-osmesa
fi
ECONF_SOURCE=${S} \
econf \
--sysconfdir=/etc/wine \
@ -181,7 +176,7 @@ do_configure() {
$(use_with opencl) \
$(use_with opengl) \
$(use_with ssl openssl) \
${with_osmesa} \
$(use_with osmesa) \
$(use_with oss) \
$(use_with png) \
$(use_with threads pthread) \

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.11.ebuild,v 1.5 2012/10/26 16:46:37 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.11-r1.ebuild,v 1.1 2012/10/29 23:36:46 tetromino Exp $
EAPI="4"
@ -49,6 +49,7 @@ MLIB_DEPS="amd64? (
odbc? ( app-emulation/emul-linux-x86-db )
openal? ( app-emulation/emul-linux-x86-sdl )
opengl? ( app-emulation/emul-linux-x86-opengl )
osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028 )
scanner? ( app-emulation/emul-linux-x86-medialibs )
v4l? ( app-emulation/emul-linux-x86-medialibs )
app-emulation/emul-linux-x86-baselibs
@ -152,12 +153,6 @@ do_configure() {
mkdir -p "${builddir}"
pushd "${builddir}" >/dev/null
with_osmesa=$(use_with osmesa)
if use osmesa && use amd64 && [[ $1 = 32 ]]; then #430268
elog "win32 osmesa support is disabled for now, see bug #430268"
with_osmesa=--without-osmesa
fi
ECONF_SOURCE=${S} \
econf \
--sysconfdir=/etc/wine \
@ -181,7 +176,7 @@ do_configure() {
$(use_with opencl) \
$(use_with opengl) \
$(use_with ssl openssl) \
${with_osmesa} \
$(use_with osmesa) \
$(use_with oss) \
$(use_with png) \
$(use_with threads pthread) \

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.12.ebuild,v 1.3 2012/10/26 16:46:37 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.12-r1.ebuild,v 1.1 2012/10/29 23:36:46 tetromino Exp $
EAPI="4"
@ -49,6 +49,7 @@ MLIB_DEPS="amd64? (
odbc? ( app-emulation/emul-linux-x86-db )
openal? ( app-emulation/emul-linux-x86-sdl )
opengl? ( app-emulation/emul-linux-x86-opengl )
osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028 )
scanner? ( app-emulation/emul-linux-x86-medialibs )
v4l? ( app-emulation/emul-linux-x86-medialibs )
app-emulation/emul-linux-x86-baselibs
@ -152,12 +153,6 @@ do_configure() {
mkdir -p "${builddir}"
pushd "${builddir}" >/dev/null
with_osmesa=$(use_with osmesa)
if use osmesa && use amd64 && [[ $1 = 32 ]]; then #430268
elog "win32 osmesa support is disabled for now, see bug #430268"
with_osmesa=--without-osmesa
fi
ECONF_SOURCE=${S} \
econf \
--sysconfdir=/etc/wine \
@ -181,7 +176,7 @@ do_configure() {
$(use_with opencl) \
$(use_with opengl) \
$(use_with ssl openssl) \
${with_osmesa} \
$(use_with osmesa) \
$(use_with oss) \
$(use_with png) \
$(use_with threads pthread) \

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.13.ebuild,v 1.2 2012/10/26 16:46:37 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.13-r1.ebuild,v 1.1 2012/10/29 23:36:46 tetromino Exp $
EAPI="4"
@ -49,6 +49,7 @@ MLIB_DEPS="amd64? (
odbc? ( app-emulation/emul-linux-x86-db )
openal? ( app-emulation/emul-linux-x86-sdl )
opengl? ( app-emulation/emul-linux-x86-opengl )
osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028 )
scanner? ( app-emulation/emul-linux-x86-medialibs )
v4l? ( app-emulation/emul-linux-x86-medialibs )
app-emulation/emul-linux-x86-baselibs
@ -152,12 +153,6 @@ do_configure() {
mkdir -p "${builddir}"
pushd "${builddir}" >/dev/null
with_osmesa=$(use_with osmesa)
if use osmesa && use amd64 && [[ $1 = 32 ]]; then #430268
elog "win32 osmesa support is disabled for now, see bug #430268"
with_osmesa=--without-osmesa
fi
ECONF_SOURCE=${S} \
econf \
--sysconfdir=/etc/wine \
@ -181,7 +176,7 @@ do_configure() {
$(use_with opencl) \
$(use_with opengl) \
$(use_with ssl openssl) \
${with_osmesa} \
$(use_with osmesa) \
$(use_with oss) \
$(use_with png) \
$(use_with threads pthread) \

@ -0,0 +1,251 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.14-r1.ebuild,v 1.1 2012/10/29 23:36:46 tetromino Exp $
EAPI="4"
inherit autotools eutils flag-o-matic multilib pax-utils
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
inherit git-2
SRC_URI=""
#KEYWORDS=""
else
MY_P="${PN}-${PV/_/-}"
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
S=${WORKDIR}/${MY_P}
fi
GV="1.7"
MV="0.0.4"
PULSE_PATCH="winepulse-2012.06.15.patch"
DESCRIPTION="free implementation of Windows(tm) on Unix"
HOMEPAGE="http://www.winehq.org/"
SRC_URI="${SRC_URI}
gecko? (
mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi
win64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
)
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
http://source.winehq.org/patches/data/87234 -> ${PULSE_PATCH}"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa +oss +perl png pulseaudio samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
REQUIRED_USE="elibc_glibc? ( threads )
mono? ( || ( win32 !win64 ) )
osmesa? ( opengl )" #286560
RESTRICT="test" #72375
MLIB_DEPS="amd64? (
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
X? (
>=app-emulation/emul-linux-x86-xlibs-2.1
>=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio(+)?]
)
mp3? ( app-emulation/emul-linux-x86-soundlibs )
odbc? ( app-emulation/emul-linux-x86-db )
openal? ( app-emulation/emul-linux-x86-sdl )
opengl? ( app-emulation/emul-linux-x86-opengl )
osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028 )
scanner? ( app-emulation/emul-linux-x86-medialibs )
v4l? ( app-emulation/emul-linux-x86-medialibs )
app-emulation/emul-linux-x86-baselibs
>=sys-kernel/linux-headers-2.6
)"
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
perl? ( dev-lang/perl dev-perl/XML-Simple )
capi? ( net-dialup/capi4k-utils )
ncurses? ( >=sys-libs/ncurses-5.2 )
fontconfig? ( media-libs/fontconfig )
gphoto2? ( media-libs/libgphoto2 )
openal? ( media-libs/openal )
udisks? (
sys-apps/dbus
sys-fs/udisks:2
)
gnutls? ( net-libs/gnutls )
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
X? (
x11-libs/libXcursor
x11-libs/libXrandr
x11-libs/libXi
x11-libs/libXmu
x11-libs/libXxf86vm
)
xinerama? ( x11-libs/libXinerama )
alsa? ( media-libs/alsa-lib )
cups? ( net-print/cups )
opencl? ( virtual/opencl )
opengl? (
virtual/glu
virtual/opengl
)
gsm? ( media-sound/gsm )
jpeg? ( virtual/jpeg )
ldap? ( net-nds/openldap )
lcms? ( =media-libs/lcms-1* )
mp3? ( >=media-sound/mpg123-1.5.0 )
nls? ( sys-devel/gettext )
odbc? ( dev-db/unixODBC )
osmesa? ( media-libs/mesa[osmesa] )
pulseaudio? ( media-sound/pulseaudio )
samba? ( >=net-fs/samba-3.0.25 )
selinux? ( sec-policy/selinux-wine )
xml? ( dev-libs/libxml2 dev-libs/libxslt )
scanner? ( media-gfx/sane-backends )
ssl? ( dev-libs/openssl )
png? ( media-libs/libpng )
v4l? ( media-libs/libv4l )
!win64? ( ${MLIB_DEPS} )
win32? ( ${MLIB_DEPS} )
xcomposite? ( x11-libs/libXcomposite )"
DEPEND="${RDEPEND}
X? (
x11-proto/inputproto
x11-proto/xextproto
x11-proto/xf86vidmodeproto
)
xinerama? ( x11-proto/xineramaproto )
!hardened? ( sys-devel/prelink )
virtual/pkgconfig
virtual/yacc
sys-devel/flex"
src_unpack() {
if use win64 ; then
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
&& die "you need gcc-4.4+ to build 64bit wine"
fi
if use win32 && use opencl; then
[[ x$(eselect opencl show) = "xintel" ]] &&
die "Cannot build wine[opencl,win32]: intel-ocl-sdk is 64-bit only" # 403947
fi
if [[ ${PV} == "9999" ]] ; then
git-2_src_unpack
else
unpack ${MY_P}.tar.bz2
fi
}
src_prepare() {
local md5="$(md5sum server/protocol.def)"
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
epatch "${FILESDIR}"/${PN}-1.5.11-osmesa-check.patch #429386
epatch "${DISTDIR}/${PULSE_PATCH}" #421365
epatch_user #282735
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
einfo "server/protocol.def was patched; running tools/make_requests"
tools/make_requests || die #432348
fi
eautoreconf
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
}
do_configure() {
local builddir="${WORKDIR}/wine$1"
mkdir -p "${builddir}"
pushd "${builddir}" >/dev/null
ECONF_SOURCE=${S} \
econf \
--sysconfdir=/etc/wine \
$(use_with alsa) \
$(use_with capi) \
$(use_with lcms cms) \
$(use_with cups) \
$(use_with ncurses curses) \
$(use_with udisks dbus) \
$(use_with fontconfig) \
$(use_with gnutls) \
$(use_with gphoto2 gphoto) \
$(use_with gsm) \
$(use_with gstreamer) \
--without-hal \
$(use_with jpeg) \
$(use_with ldap) \
$(use_with mp3 mpg123) \
$(use_with nls gettext) \
$(use_with openal) \
$(use_with opencl) \
$(use_with opengl) \
$(use_with ssl openssl) \
$(use_with osmesa) \
$(use_with oss) \
$(use_with png) \
$(use_with threads pthread) \
$(use_with pulseaudio pulse) \
$(use_with scanner sane) \
$(use_enable test tests) \
$(use_with truetype freetype) \
$(use_with v4l) \
$(use_with X x) \
$(use_with xcomposite) \
$(use_with xinerama) \
$(use_with xml) \
$(use_with xml xslt) \
$2
emake -j1 depend
popd >/dev/null
}
src_configure() {
export LDCONFIG=/bin/true
use custom-cflags || strip-flags
if use win64 ; then
do_configure 64 --enable-win64
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
else
ABI=x86 do_configure 32 --disable-win64
fi
}
src_compile() {
local b
for b in 64 32 ; do
local builddir="${WORKDIR}/wine${b}"
[[ -d ${builddir} ]] || continue
emake -C "${builddir}" all
done
}
src_install() {
local b
for b in 64 32 ; do
local builddir="${WORKDIR}/wine${b}"
[[ -d ${builddir} ]] || continue
emake -C "${builddir}" install DESTDIR="${D}"
done
dodoc ANNOUNCE AUTHORS README
if use gecko ; then
insinto /usr/share/wine/gecko
doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
fi
if use mono ; then
insinto /usr/share/wine/mono
doins "${DISTDIR}"/wine-mono-${MV}.msi
fi
if ! use perl ; then
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
fi
if use win32 || ! use win64; then
pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
fi
use win64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
if use win64 && ! use win32; then
dosym /usr/bin/wine{64,} # 404331
dosym /usr/bin/wine{64,}-preloader
fi
}

@ -1,256 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.14.ebuild,v 1.2 2012/10/26 16:46:37 tetromino Exp $
EAPI="4"
inherit autotools eutils flag-o-matic multilib pax-utils
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
inherit git-2
SRC_URI=""
#KEYWORDS=""
else
MY_P="${PN}-${PV/_/-}"
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
S=${WORKDIR}/${MY_P}
fi
GV="1.7"
MV="0.0.4"
PULSE_PATCH="winepulse-2012.06.15.patch"
DESCRIPTION="free implementation of Windows(tm) on Unix"
HOMEPAGE="http://www.winehq.org/"
SRC_URI="${SRC_URI}
gecko? (
mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi
win64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
)
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
http://source.winehq.org/patches/data/87234 -> ${PULSE_PATCH}"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa +oss +perl png pulseaudio samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
REQUIRED_USE="elibc_glibc? ( threads )
mono? ( || ( win32 !win64 ) )
osmesa? ( opengl )" #286560
RESTRICT="test" #72375
MLIB_DEPS="amd64? (
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
X? (
>=app-emulation/emul-linux-x86-xlibs-2.1
>=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio(+)?]
)
mp3? ( app-emulation/emul-linux-x86-soundlibs )
odbc? ( app-emulation/emul-linux-x86-db )
openal? ( app-emulation/emul-linux-x86-sdl )
opengl? ( app-emulation/emul-linux-x86-opengl )
scanner? ( app-emulation/emul-linux-x86-medialibs )
v4l? ( app-emulation/emul-linux-x86-medialibs )
app-emulation/emul-linux-x86-baselibs
>=sys-kernel/linux-headers-2.6
)"
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
perl? ( dev-lang/perl dev-perl/XML-Simple )
capi? ( net-dialup/capi4k-utils )
ncurses? ( >=sys-libs/ncurses-5.2 )
fontconfig? ( media-libs/fontconfig )
gphoto2? ( media-libs/libgphoto2 )
openal? ( media-libs/openal )
udisks? (
sys-apps/dbus
sys-fs/udisks:2
)
gnutls? ( net-libs/gnutls )
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
X? (
x11-libs/libXcursor
x11-libs/libXrandr
x11-libs/libXi
x11-libs/libXmu
x11-libs/libXxf86vm
)
xinerama? ( x11-libs/libXinerama )
alsa? ( media-libs/alsa-lib )
cups? ( net-print/cups )
opencl? ( virtual/opencl )
opengl? (
virtual/glu
virtual/opengl
)
gsm? ( media-sound/gsm )
jpeg? ( virtual/jpeg )
ldap? ( net-nds/openldap )
lcms? ( =media-libs/lcms-1* )
mp3? ( >=media-sound/mpg123-1.5.0 )
nls? ( sys-devel/gettext )
odbc? ( dev-db/unixODBC )
osmesa? ( media-libs/mesa[osmesa] )
pulseaudio? ( media-sound/pulseaudio )
samba? ( >=net-fs/samba-3.0.25 )
selinux? ( sec-policy/selinux-wine )
xml? ( dev-libs/libxml2 dev-libs/libxslt )
scanner? ( media-gfx/sane-backends )
ssl? ( dev-libs/openssl )
png? ( media-libs/libpng )
v4l? ( media-libs/libv4l )
!win64? ( ${MLIB_DEPS} )
win32? ( ${MLIB_DEPS} )
xcomposite? ( x11-libs/libXcomposite )"
DEPEND="${RDEPEND}
X? (
x11-proto/inputproto
x11-proto/xextproto
x11-proto/xf86vidmodeproto
)
xinerama? ( x11-proto/xineramaproto )
!hardened? ( sys-devel/prelink )
virtual/pkgconfig
virtual/yacc
sys-devel/flex"
src_unpack() {
if use win64 ; then
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
&& die "you need gcc-4.4+ to build 64bit wine"
fi
if use win32 && use opencl; then
[[ x$(eselect opencl show) = "xintel" ]] &&
die "Cannot build wine[opencl,win32]: intel-ocl-sdk is 64-bit only" # 403947
fi
if [[ ${PV} == "9999" ]] ; then
git-2_src_unpack
else
unpack ${MY_P}.tar.bz2
fi
}
src_prepare() {
local md5="$(md5sum server/protocol.def)"
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
epatch "${FILESDIR}"/${PN}-1.5.11-osmesa-check.patch #429386
epatch "${DISTDIR}/${PULSE_PATCH}" #421365
epatch_user #282735
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
einfo "server/protocol.def was patched; running tools/make_requests"
tools/make_requests || die #432348
fi
eautoreconf
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
}
do_configure() {
local builddir="${WORKDIR}/wine$1"
mkdir -p "${builddir}"
pushd "${builddir}" >/dev/null
with_osmesa=$(use_with osmesa)
if use osmesa && use amd64 && [[ $1 = 32 ]]; then #430268
elog "win32 osmesa support is disabled for now, see bug #430268"
with_osmesa=--without-osmesa
fi
ECONF_SOURCE=${S} \
econf \
--sysconfdir=/etc/wine \
$(use_with alsa) \
$(use_with capi) \
$(use_with lcms cms) \
$(use_with cups) \
$(use_with ncurses curses) \
$(use_with udisks dbus) \
$(use_with fontconfig) \
$(use_with gnutls) \
$(use_with gphoto2 gphoto) \
$(use_with gsm) \
$(use_with gstreamer) \
--without-hal \
$(use_with jpeg) \
$(use_with ldap) \
$(use_with mp3 mpg123) \
$(use_with nls gettext) \
$(use_with openal) \
$(use_with opencl) \
$(use_with opengl) \
$(use_with ssl openssl) \
${with_osmesa} \
$(use_with oss) \
$(use_with png) \
$(use_with threads pthread) \
$(use_with pulseaudio pulse) \
$(use_with scanner sane) \
$(use_enable test tests) \
$(use_with truetype freetype) \
$(use_with v4l) \
$(use_with X x) \
$(use_with xcomposite) \
$(use_with xinerama) \
$(use_with xml) \
$(use_with xml xslt) \
$2
emake -j1 depend
popd >/dev/null
}
src_configure() {
export LDCONFIG=/bin/true
use custom-cflags || strip-flags
if use win64 ; then
do_configure 64 --enable-win64
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
else
ABI=x86 do_configure 32 --disable-win64
fi
}
src_compile() {
local b
for b in 64 32 ; do
local builddir="${WORKDIR}/wine${b}"
[[ -d ${builddir} ]] || continue
emake -C "${builddir}" all
done
}
src_install() {
local b
for b in 64 32 ; do
local builddir="${WORKDIR}/wine${b}"
[[ -d ${builddir} ]] || continue
emake -C "${builddir}" install DESTDIR="${D}"
done
dodoc ANNOUNCE AUTHORS README
if use gecko ; then
insinto /usr/share/wine/gecko
doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
fi
if use mono ; then
insinto /usr/share/wine/mono
doins "${DISTDIR}"/wine-mono-${MV}.msi
fi
if ! use perl ; then
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
fi
if use win32 || ! use win64; then
pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
fi
use win64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
if use win64 && ! use win32; then
dosym /usr/bin/wine{64,} # 404331
dosym /usr/bin/wine{64,}-preloader
fi
}

@ -1,266 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.15-r1.ebuild,v 1.2 2012/10/26 16:46:37 tetromino Exp $
EAPI="4"
inherit autotools eutils flag-o-matic multilib pax-utils
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
inherit git-2
SRC_URI=""
#KEYWORDS=""
else
MY_P="${PN}-${PV/_/-}"
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
S=${WORKDIR}/${MY_P}
fi
GV="1.8"
MV="0.0.4"
PULSE_PATCHES="winepulse-patches-1.5.15"
DESCRIPTION="free implementation of Windows(tm) on Unix"
HOMEPAGE="http://www.winehq.org/"
SRC_URI="${SRC_URI}
gecko? (
mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi
win64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
)
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa osmesa-multilib +oss +perl png pulseaudio samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
REQUIRED_USE="elibc_glibc? ( threads )
mono? ( || ( win32 !win64 ) )
osmesa? ( opengl )" #286560
RESTRICT="test" #72375
MLIB_DEPS="amd64? (
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
X? (
>=app-emulation/emul-linux-x86-xlibs-2.1
>=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio(+)?]
)
mp3? ( app-emulation/emul-linux-x86-soundlibs )
odbc? ( app-emulation/emul-linux-x86-db )
openal? ( app-emulation/emul-linux-x86-sdl )
opengl? ( app-emulation/emul-linux-x86-opengl )
scanner? ( app-emulation/emul-linux-x86-medialibs )
v4l? ( app-emulation/emul-linux-x86-medialibs )
app-emulation/emul-linux-x86-baselibs
>=sys-kernel/linux-headers-2.6
)"
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
perl? ( dev-lang/perl dev-perl/XML-Simple )
capi? ( net-dialup/capi4k-utils )
ncurses? ( >=sys-libs/ncurses-5.2 )
fontconfig? ( media-libs/fontconfig )
gphoto2? ( media-libs/libgphoto2 )
openal? ( media-libs/openal )
udisks? (
sys-apps/dbus
sys-fs/udisks:2
)
gnutls? ( net-libs/gnutls )
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
X? (
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libXrandr
x11-libs/libXi
x11-libs/libXmu
x11-libs/libXxf86vm
)
xinerama? ( x11-libs/libXinerama )
alsa? ( media-libs/alsa-lib )
cups? ( net-print/cups )
opencl? ( virtual/opencl )
opengl? (
virtual/glu
virtual/opengl
)
gsm? ( media-sound/gsm )
jpeg? ( virtual/jpeg )
ldap? ( net-nds/openldap )
lcms? ( =media-libs/lcms-1* )
mp3? ( >=media-sound/mpg123-1.5.0 )
nls? ( sys-devel/gettext )
odbc? ( dev-db/unixODBC )
osmesa? ( media-libs/mesa[osmesa] )
pulseaudio? (
media-sound/pulseaudio
sys-auth/rtkit
)
samba? ( >=net-fs/samba-3.0.25 )
selinux? ( sec-policy/selinux-wine )
xml? ( dev-libs/libxml2 dev-libs/libxslt )
scanner? ( media-gfx/sane-backends )
ssl? ( dev-libs/openssl )
png? ( media-libs/libpng )
v4l? ( media-libs/libv4l )
!win64? ( ${MLIB_DEPS} )
win32? ( ${MLIB_DEPS} )
xcomposite? ( x11-libs/libXcomposite )"
DEPEND="${RDEPEND}
X? (
x11-proto/inputproto
x11-proto/xextproto
x11-proto/xf86vidmodeproto
)
xinerama? ( x11-proto/xineramaproto )
!hardened? ( sys-devel/prelink )
virtual/pkgconfig
virtual/yacc
sys-devel/flex"
src_unpack() {
if use win64 ; then
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
&& die "you need gcc-4.4+ to build 64bit wine"
fi
if use win32 && use opencl; then
[[ x$(eselect opencl show) = "xintel" ]] &&
die "Cannot build wine[opencl,win32]: intel-ocl-sdk is 64-bit only" # 403947
fi
if [[ ${PV} == "9999" ]] ; then
git-2_src_unpack
else
unpack ${MY_P}.tar.bz2
fi
unpack "${PULSE_PATCHES}.tar.bz2"
}
src_prepare() {
local md5="$(md5sum server/protocol.def)"
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
epatch "${FILESDIR}"/${PN}-1.5.11-osmesa-check.patch #429386
epatch "../${PULSE_PATCHES}"/*.patch #421365
epatch_user #282735
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
einfo "server/protocol.def was patched; running tools/make_requests"
tools/make_requests || die #432348
fi
eautoreconf
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
}
do_configure() {
local builddir="${WORKDIR}/wine$1"
mkdir -p "${builddir}"
pushd "${builddir}" >/dev/null
with_osmesa=$(use_with osmesa)
if use amd64 && [[ $1 = 32 ]]; then #430268
if use osmesa-multilib; then
with_osmesa=--with-osmesa
else
elog "win32 osmesa support is disabled for now, see bug #430268"
with_osmesa=--without-osmesa
fi
fi
ECONF_SOURCE=${S} \
econf \
--sysconfdir=/etc/wine \
$(use_with alsa) \
$(use_with capi) \
$(use_with lcms cms) \
$(use_with cups) \
$(use_with ncurses curses) \
$(use_with udisks dbus) \
$(use_with fontconfig) \
$(use_with gnutls) \
$(use_with gphoto2 gphoto) \
$(use_with gsm) \
$(use_with gstreamer) \
--without-hal \
$(use_with jpeg) \
$(use_with ldap) \
$(use_with mp3 mpg123) \
$(use_with nls gettext) \
$(use_with openal) \
$(use_with opencl) \
$(use_with opengl) \
$(use_with ssl openssl) \
${with_osmesa} \
$(use_with oss) \
$(use_with png) \
$(use_with threads pthread) \
$(use_with pulseaudio pulse) \
$(use_with scanner sane) \
$(use_enable test tests) \
$(use_with truetype freetype) \
$(use_with v4l) \
$(use_with X x) \
$(use_with xcomposite) \
$(use_with xinerama) \
$(use_with xml) \
$(use_with xml xslt) \
$2
emake -j1 depend
popd >/dev/null
}
src_configure() {
export LDCONFIG=/bin/true
use custom-cflags || strip-flags
if use win64 ; then
do_configure 64 --enable-win64
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
else
ABI=x86 do_configure 32 --disable-win64
fi
}
src_compile() {
local b
for b in 64 32 ; do
local builddir="${WORKDIR}/wine${b}"
[[ -d ${builddir} ]] || continue
emake -C "${builddir}" all
done
}
src_install() {
local b
for b in 64 32 ; do
local builddir="${WORKDIR}/wine${b}"
[[ -d ${builddir} ]] || continue
emake -C "${builddir}" install DESTDIR="${D}"
done
dodoc ANNOUNCE AUTHORS README
if use gecko ; then
insinto /usr/share/wine/gecko
doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
fi
if use mono ; then
insinto /usr/share/wine/mono
doins "${DISTDIR}"/wine-mono-${MV}.msi
fi
if ! use perl ; then
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
fi
if use win32 || ! use win64; then
pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
fi
use win64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
if use win64 && ! use win32; then
dosym /usr/bin/wine{64,} # 404331
dosym /usr/bin/wine{64,}-preloader
fi
}

@ -0,0 +1,257 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.15-r2.ebuild,v 1.1 2012/10/29 23:36:46 tetromino Exp $
EAPI="4"
inherit autotools eutils flag-o-matic multilib pax-utils
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
inherit git-2
SRC_URI=""
#KEYWORDS=""
else
MY_P="${PN}-${PV/_/-}"
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
S=${WORKDIR}/${MY_P}
fi
GV="1.8"
MV="0.0.4"
PULSE_PATCHES="winepulse-patches-1.5.15"
DESCRIPTION="free implementation of Windows(tm) on Unix"
HOMEPAGE="http://www.winehq.org/"
SRC_URI="${SRC_URI}
gecko? (
mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi
win64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
)
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa +oss +perl png pulseaudio samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
REQUIRED_USE="elibc_glibc? ( threads )
mono? ( || ( win32 !win64 ) )
osmesa? ( opengl )" #286560
RESTRICT="test" #72375
MLIB_DEPS="amd64? (
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
X? (
>=app-emulation/emul-linux-x86-xlibs-2.1
>=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio(+)?]
)
mp3? ( app-emulation/emul-linux-x86-soundlibs )
odbc? ( app-emulation/emul-linux-x86-db )
openal? ( app-emulation/emul-linux-x86-sdl )
opengl? ( app-emulation/emul-linux-x86-opengl )
osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028 )
scanner? ( app-emulation/emul-linux-x86-medialibs )
v4l? ( app-emulation/emul-linux-x86-medialibs )
app-emulation/emul-linux-x86-baselibs
>=sys-kernel/linux-headers-2.6
)"
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
perl? ( dev-lang/perl dev-perl/XML-Simple )
capi? ( net-dialup/capi4k-utils )
ncurses? ( >=sys-libs/ncurses-5.2 )
fontconfig? ( media-libs/fontconfig )
gphoto2? ( media-libs/libgphoto2 )
openal? ( media-libs/openal )
udisks? (
sys-apps/dbus
sys-fs/udisks:2
)
gnutls? ( net-libs/gnutls )
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
X? (
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libXrandr
x11-libs/libXi
x11-libs/libXmu
x11-libs/libXxf86vm
)
xinerama? ( x11-libs/libXinerama )
alsa? ( media-libs/alsa-lib )
cups? ( net-print/cups )
opencl? ( virtual/opencl )
opengl? (
virtual/glu
virtual/opengl
)
gsm? ( media-sound/gsm )
jpeg? ( virtual/jpeg )
ldap? ( net-nds/openldap )
lcms? ( =media-libs/lcms-1* )
mp3? ( >=media-sound/mpg123-1.5.0 )
nls? ( sys-devel/gettext )
odbc? ( dev-db/unixODBC )
osmesa? ( media-libs/mesa[osmesa] )
pulseaudio? (
media-sound/pulseaudio
sys-auth/rtkit
)
samba? ( >=net-fs/samba-3.0.25 )
selinux? ( sec-policy/selinux-wine )
xml? ( dev-libs/libxml2 dev-libs/libxslt )
scanner? ( media-gfx/sane-backends )
ssl? ( dev-libs/openssl )
png? ( media-libs/libpng )
v4l? ( media-libs/libv4l )
!win64? ( ${MLIB_DEPS} )
win32? ( ${MLIB_DEPS} )
xcomposite? ( x11-libs/libXcomposite )"
DEPEND="${RDEPEND}
X? (
x11-proto/inputproto
x11-proto/xextproto
x11-proto/xf86vidmodeproto
)
xinerama? ( x11-proto/xineramaproto )
!hardened? ( sys-devel/prelink )
virtual/pkgconfig
virtual/yacc
sys-devel/flex"
src_unpack() {
if use win64 ; then
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
&& die "you need gcc-4.4+ to build 64bit wine"
fi
if use win32 && use opencl; then
[[ x$(eselect opencl show) = "xintel" ]] &&
die "Cannot build wine[opencl,win32]: intel-ocl-sdk is 64-bit only" # 403947
fi
if [[ ${PV} == "9999" ]] ; then
git-2_src_unpack
else
unpack ${MY_P}.tar.bz2
fi
unpack "${PULSE_PATCHES}.tar.bz2"
}
src_prepare() {
local md5="$(md5sum server/protocol.def)"
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
epatch "${FILESDIR}"/${PN}-1.5.11-osmesa-check.patch #429386
epatch "../${PULSE_PATCHES}"/*.patch #421365
epatch_user #282735
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
einfo "server/protocol.def was patched; running tools/make_requests"
tools/make_requests || die #432348
fi
eautoreconf
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
}
do_configure() {
local builddir="${WORKDIR}/wine$1"
mkdir -p "${builddir}"
pushd "${builddir}" >/dev/null
ECONF_SOURCE=${S} \
econf \
--sysconfdir=/etc/wine \
$(use_with alsa) \
$(use_with capi) \
$(use_with lcms cms) \
$(use_with cups) \
$(use_with ncurses curses) \
$(use_with udisks dbus) \
$(use_with fontconfig) \
$(use_with gnutls) \
$(use_with gphoto2 gphoto) \
$(use_with gsm) \
$(use_with gstreamer) \
--without-hal \
$(use_with jpeg) \
$(use_with ldap) \
$(use_with mp3 mpg123) \
$(use_with nls gettext) \
$(use_with openal) \
$(use_with opencl) \
$(use_with opengl) \
$(use_with ssl openssl) \
$(use_with osmesa) \
$(use_with oss) \
$(use_with png) \
$(use_with threads pthread) \
$(use_with pulseaudio pulse) \
$(use_with scanner sane) \
$(use_enable test tests) \
$(use_with truetype freetype) \
$(use_with v4l) \
$(use_with X x) \
$(use_with xcomposite) \
$(use_with xinerama) \
$(use_with xml) \
$(use_with xml xslt) \
$2
emake -j1 depend
popd >/dev/null
}
src_configure() {
export LDCONFIG=/bin/true
use custom-cflags || strip-flags
if use win64 ; then
do_configure 64 --enable-win64
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
else
ABI=x86 do_configure 32 --disable-win64
fi
}
src_compile() {
local b
for b in 64 32 ; do
local builddir="${WORKDIR}/wine${b}"
[[ -d ${builddir} ]] || continue
emake -C "${builddir}" all
done
}
src_install() {
local b
for b in 64 32 ; do
local builddir="${WORKDIR}/wine${b}"
[[ -d ${builddir} ]] || continue
emake -C "${builddir}" install DESTDIR="${D}"
done
dodoc ANNOUNCE AUTHORS README
if use gecko ; then
insinto /usr/share/wine/gecko
doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
fi
if use mono ; then
insinto /usr/share/wine/mono
doins "${DISTDIR}"/wine-mono-${MV}.msi
fi
if ! use perl ; then
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
fi
if use win32 || ! use win64; then
pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
fi
use win64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
if use win64 && ! use win32; then
dosym /usr/bin/wine{64,} # 404331
dosym /usr/bin/wine{64,}-preloader
fi
}

@ -1,261 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.15.ebuild,v 1.2 2012/10/26 16:46:37 tetromino Exp $
EAPI="4"
inherit autotools eutils flag-o-matic multilib pax-utils
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
inherit git-2
SRC_URI=""
#KEYWORDS=""
else
MY_P="${PN}-${PV/_/-}"
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
S=${WORKDIR}/${MY_P}
fi
GV="1.8"
MV="0.0.4"
PULSE_PATCH="winepulse-2012.06.15.patch"
DESCRIPTION="free implementation of Windows(tm) on Unix"
HOMEPAGE="http://www.winehq.org/"
SRC_URI="${SRC_URI}
gecko? (
mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi
win64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
)
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
http://source.winehq.org/patches/data/87234 -> ${PULSE_PATCH}"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa osmesa-multilib +oss +perl png pulseaudio samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
REQUIRED_USE="elibc_glibc? ( threads )
mono? ( || ( win32 !win64 ) )
osmesa? ( opengl )" #286560
RESTRICT="test" #72375
MLIB_DEPS="amd64? (
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
X? (
>=app-emulation/emul-linux-x86-xlibs-2.1
>=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio(+)?]
)
mp3? ( app-emulation/emul-linux-x86-soundlibs )
odbc? ( app-emulation/emul-linux-x86-db )
openal? ( app-emulation/emul-linux-x86-sdl )
opengl? ( app-emulation/emul-linux-x86-opengl )
scanner? ( app-emulation/emul-linux-x86-medialibs )
v4l? ( app-emulation/emul-linux-x86-medialibs )
app-emulation/emul-linux-x86-baselibs
>=sys-kernel/linux-headers-2.6
)"
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
perl? ( dev-lang/perl dev-perl/XML-Simple )
capi? ( net-dialup/capi4k-utils )
ncurses? ( >=sys-libs/ncurses-5.2 )
fontconfig? ( media-libs/fontconfig )
gphoto2? ( media-libs/libgphoto2 )
openal? ( media-libs/openal )
udisks? (
sys-apps/dbus
sys-fs/udisks:2
)
gnutls? ( net-libs/gnutls )
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
X? (
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libXrandr
x11-libs/libXi
x11-libs/libXmu
x11-libs/libXxf86vm
)
xinerama? ( x11-libs/libXinerama )
alsa? ( media-libs/alsa-lib )
cups? ( net-print/cups )
opencl? ( virtual/opencl )
opengl? (
virtual/glu
virtual/opengl
)
gsm? ( media-sound/gsm )
jpeg? ( virtual/jpeg )
ldap? ( net-nds/openldap )
lcms? ( =media-libs/lcms-1* )
mp3? ( >=media-sound/mpg123-1.5.0 )
nls? ( sys-devel/gettext )
odbc? ( dev-db/unixODBC )
osmesa? ( media-libs/mesa[osmesa] )
pulseaudio? ( media-sound/pulseaudio )
samba? ( >=net-fs/samba-3.0.25 )
selinux? ( sec-policy/selinux-wine )
xml? ( dev-libs/libxml2 dev-libs/libxslt )
scanner? ( media-gfx/sane-backends )
ssl? ( dev-libs/openssl )
png? ( media-libs/libpng )
v4l? ( media-libs/libv4l )
!win64? ( ${MLIB_DEPS} )
win32? ( ${MLIB_DEPS} )
xcomposite? ( x11-libs/libXcomposite )"
DEPEND="${RDEPEND}
X? (
x11-proto/inputproto
x11-proto/xextproto
x11-proto/xf86vidmodeproto
)
xinerama? ( x11-proto/xineramaproto )
!hardened? ( sys-devel/prelink )
virtual/pkgconfig
virtual/yacc
sys-devel/flex"
src_unpack() {
if use win64 ; then
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
&& die "you need gcc-4.4+ to build 64bit wine"
fi
if use win32 && use opencl; then
[[ x$(eselect opencl show) = "xintel" ]] &&
die "Cannot build wine[opencl,win32]: intel-ocl-sdk is 64-bit only" # 403947
fi
if [[ ${PV} == "9999" ]] ; then
git-2_src_unpack
else
unpack ${MY_P}.tar.bz2
fi
}
src_prepare() {
local md5="$(md5sum server/protocol.def)"
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
epatch "${FILESDIR}"/${PN}-1.5.11-osmesa-check.patch #429386
epatch "${DISTDIR}/${PULSE_PATCH}" #421365
epatch_user #282735
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
einfo "server/protocol.def was patched; running tools/make_requests"
tools/make_requests || die #432348
fi
eautoreconf
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
}
do_configure() {
local builddir="${WORKDIR}/wine$1"
mkdir -p "${builddir}"
pushd "${builddir}" >/dev/null
with_osmesa=$(use_with osmesa)
if use amd64 && [[ $1 = 32 ]]; then #430268
if use osmesa-multilib; then
with_osmesa=--with-osmesa
else
elog "win32 osmesa support is disabled for now, see bug #430268"
with_osmesa=--without-osmesa
fi
fi
ECONF_SOURCE=${S} \
econf \
--sysconfdir=/etc/wine \
$(use_with alsa) \
$(use_with capi) \
$(use_with lcms cms) \
$(use_with cups) \
$(use_with ncurses curses) \
$(use_with udisks dbus) \
$(use_with fontconfig) \
$(use_with gnutls) \
$(use_with gphoto2 gphoto) \
$(use_with gsm) \
$(use_with gstreamer) \
--without-hal \
$(use_with jpeg) \
$(use_with ldap) \
$(use_with mp3 mpg123) \
$(use_with nls gettext) \
$(use_with openal) \
$(use_with opencl) \
$(use_with opengl) \
$(use_with ssl openssl) \
${with_osmesa} \
$(use_with oss) \
$(use_with png) \
$(use_with threads pthread) \
$(use_with pulseaudio pulse) \
$(use_with scanner sane) \
$(use_enable test tests) \
$(use_with truetype freetype) \
$(use_with v4l) \
$(use_with X x) \
$(use_with xcomposite) \
$(use_with xinerama) \
$(use_with xml) \
$(use_with xml xslt) \
$2
emake -j1 depend
popd >/dev/null
}
src_configure() {
export LDCONFIG=/bin/true
use custom-cflags || strip-flags
if use win64 ; then
do_configure 64 --enable-win64
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
else
ABI=x86 do_configure 32 --disable-win64
fi
}
src_compile() {
local b
for b in 64 32 ; do
local builddir="${WORKDIR}/wine${b}"
[[ -d ${builddir} ]] || continue
emake -C "${builddir}" all
done
}
src_install() {
local b
for b in 64 32 ; do
local builddir="${WORKDIR}/wine${b}"
[[ -d ${builddir} ]] || continue
emake -C "${builddir}" install DESTDIR="${D}"
done
dodoc ANNOUNCE AUTHORS README
if use gecko ; then
insinto /usr/share/wine/gecko
doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
fi
if use mono ; then
insinto /usr/share/wine/mono
doins "${DISTDIR}"/wine-mono-${MV}.msi
fi
if ! use perl ; then
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
fi
if use win32 || ! use win64; then
pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
fi
use win64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
if use win64 && ! use win32; then
dosym /usr/bin/wine{64,} # 404331
dosym /usr/bin/wine{64,}-preloader
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.16.ebuild,v 1.1 2012/10/26 20:35:36 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.16-r1.ebuild,v 1.1 2012/10/29 23:36:46 tetromino Exp $
EAPI="4"
@ -33,7 +33,7 @@ SRC_URI="${SRC_URI}
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa osmesa-multilib +oss +perl png pulseaudio samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa +oss +perl png pulseaudio samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
REQUIRED_USE="elibc_glibc? ( threads )
mono? ( || ( win32 !win64 ) )
osmesa? ( opengl )" #286560
@ -49,6 +49,7 @@ MLIB_DEPS="amd64? (
odbc? ( app-emulation/emul-linux-x86-db )
openal? ( app-emulation/emul-linux-x86-sdl )
opengl? ( app-emulation/emul-linux-x86-opengl )
osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028 )
scanner? ( app-emulation/emul-linux-x86-medialibs )
v4l? ( app-emulation/emul-linux-x86-medialibs )
app-emulation/emul-linux-x86-baselibs
@ -158,16 +159,6 @@ do_configure() {
mkdir -p "${builddir}"
pushd "${builddir}" >/dev/null
with_osmesa=$(use_with osmesa)
if use amd64 && [[ $1 = 32 ]]; then #430268
if use osmesa-multilib; then
with_osmesa=--with-osmesa
else
elog "win32 osmesa support is disabled for now, see bug #430268"
with_osmesa=--without-osmesa
fi
fi
ECONF_SOURCE=${S} \
econf \
--sysconfdir=/etc/wine \
@ -191,7 +182,7 @@ do_configure() {
$(use_with opencl) \
$(use_with opengl) \
$(use_with ssl openssl) \
${with_osmesa} \
$(use_with osmesa) \
$(use_with oss) \
$(use_with png) \
$(use_with threads pthread) \

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.119 2012/10/26 20:35:36 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.120 2012/10/29 23:36:46 tetromino Exp $
EAPI="4"
@ -33,7 +33,7 @@ SRC_URI="${SRC_URI}
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa osmesa-multilib +oss +perl png pulseaudio samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa +oss +perl png pulseaudio samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
REQUIRED_USE="elibc_glibc? ( threads )
mono? ( || ( win32 !win64 ) )
osmesa? ( opengl )" #286560
@ -49,6 +49,7 @@ MLIB_DEPS="amd64? (
odbc? ( app-emulation/emul-linux-x86-db )
openal? ( app-emulation/emul-linux-x86-sdl )
opengl? ( app-emulation/emul-linux-x86-opengl )
osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028 )
scanner? ( app-emulation/emul-linux-x86-medialibs )
v4l? ( app-emulation/emul-linux-x86-medialibs )
app-emulation/emul-linux-x86-baselibs
@ -158,16 +159,6 @@ do_configure() {
mkdir -p "${builddir}"
pushd "${builddir}" >/dev/null
with_osmesa=$(use_with osmesa)
if use amd64 && [[ $1 = 32 ]]; then #430268
if use osmesa-multilib; then
with_osmesa=--with-osmesa
else
elog "win32 osmesa support is disabled for now, see bug #430268"
with_osmesa=--without-osmesa
fi
fi
ECONF_SOURCE=${S} \
econf \
--sysconfdir=/etc/wine \
@ -191,7 +182,7 @@ do_configure() {
$(use_with opencl) \
$(use_with opengl) \
$(use_with ssl openssl) \
${with_osmesa} \
$(use_with osmesa) \
$(use_with oss) \
$(use_with png) \
$(use_with threads pthread) \

@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/goobook/goobook-1.3.ebuild,v 1.1 2010/08/29 18:55:48 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/goobook/goobook-1.3.ebuild,v 1.2 2012/10/29 16:26:12 mgorny Exp $
EAPI="2"
PYTHON_DEPEND="2"
@ -17,9 +17,9 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-python/gdata
dev-python/argparse
=dev-python/hcs-utils-1.1.1
dev-python/simplejson"
dev-python/simplejson
virtual/python-argparse"
RESTRICT_PYTHON_ABIS="3.*"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/euscan/euscan-0.1.0.ebuild,v 1.2 2012/06/07 14:47:13 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/euscan/euscan-0.1.0.ebuild,v 1.3 2012/10/29 16:27:36 mgorny Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
@ -23,9 +23,9 @@ KEYWORDS="~amd64 ~x86"
DEPEND="sys-apps/portage"
RDEPEND="${DEPEND}
>=app-portage/gentoolkit-0.2.8
dev-python/argparse
dev-python/setuptools
dev-python/beautifulsoup:python-2"
dev-python/beautifulsoup:python-2
virtual/python-argparse"
distutils_src_compile_pre_hook() {
echo VERSION="${PV}" "$(PYTHON)" setup.py set_version

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/euscan/euscan-0.1.1.ebuild,v 1.2 2012/06/07 14:47:12 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/euscan/euscan-0.1.1.ebuild,v 1.3 2012/10/29 16:27:36 mgorny Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
@ -23,9 +23,9 @@ KEYWORDS="~amd64 ~x86"
DEPEND="sys-apps/portage"
RDEPEND="${DEPEND}
>=app-portage/gentoolkit-0.2.8
dev-python/argparse
dev-python/setuptools
dev-python/beautifulsoup:python-2"
dev-python/beautifulsoup:python-2
virtual/python-argparse"
distutils_src_compile_pre_hook() {
echo VERSION="${PV}" "$(PYTHON)" setup.py set_version

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/euscan/euscan-9999.ebuild,v 1.3 2012/06/07 14:47:13 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/euscan/euscan-9999.ebuild,v 1.4 2012/10/29 16:27:36 mgorny Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
@ -25,9 +25,9 @@ KEYWORDS=""
DEPEND="sys-apps/portage"
RDEPEND="${DEPEND}
>=app-portage/gentoolkit-0.2.8
dev-python/argparse
dev-python/setuptools
dev-python/beautifulsoup:python-2"
dev-python/beautifulsoup:python-2
virtual/python-argparse"
distutils_src_compile_pre_hook() {
echo VERSION="9999-${EGIT_VERSION}" "$(PYTHON)" setup.py set_version

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.4-r5.ebuild,v 1.10 2012/03/02 20:25:40 ranger Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.4-r5.ebuild,v 1.11 2012/10/29 16:31:11 mgorny Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
@ -29,10 +29,10 @@ RDEPEND="${DEPEND}
>=dev-lang/python-2.6[xml]
!>=dev-lang/python-2.6[-xml]
!<=app-portage/gentoolkit-dev-0.2.7
dev-python/argparse
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
sys-apps/gawk
sys-apps/grep"
sys-apps/grep
virtual/python-argparse"
distutils_src_compile_pre_hook() {
echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.5.ebuild,v 1.9 2012/05/28 13:49:53 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.5.ebuild,v 1.10 2012/10/29 16:31:11 mgorny Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
@ -31,10 +31,10 @@ RDEPEND="${DEPEND}
>=dev-lang/python-2.6[xml]
!>=dev-lang/python-2.6[-xml]
!<=app-portage/gentoolkit-dev-0.2.7
dev-python/argparse
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
sys-apps/gawk
sys-apps/grep"
sys-apps/grep
virtual/python-argparse"
distutils_src_compile_pre_hook() {
echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.6-r3.ebuild,v 1.11 2012/08/26 19:01:24 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.6-r3.ebuild,v 1.12 2012/10/29 16:31:11 mgorny Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
@ -29,10 +29,10 @@ RDEPEND="${DEPEND}
>=dev-lang/python-2.6[xml]
!>=dev-lang/python-2.6[-xml]
!<=app-portage/gentoolkit-dev-0.2.7
dev-python/argparse
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
sys-apps/gawk
sys-apps/grep"
sys-apps/grep
virtual/python-argparse"
distutils_src_compile_pre_hook() {
echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-9999.ebuild,v 1.22 2012/08/22 19:15:40 darkside Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-9999.ebuild,v 1.23 2012/10/29 16:31:11 mgorny Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
@ -33,10 +33,11 @@ RDEPEND="${DEPEND}
>=dev-lang/python-2.6[xml]
!>=dev-lang/python-2.6[-xml]
!<=app-portage/gentoolkit-dev-0.2.7
dev-python/argparse
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
sys-apps/gawk
sys-apps/grep
virtual/python-argparse
!minimal? (
app-admin/eclean-kernel
app-portage/diffmask

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pelican/pelican-2.8.1.ebuild,v 1.1 2012/07/19 08:26:38 djc Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/pelican/pelican-2.8.1.ebuild,v 1.2 2012/10/29 16:33:04 mgorny Exp $
EAPI=4
PYTHON_DEPEND="2"
@ -24,7 +24,7 @@ DEPEND="dev-python/feedgenerator
dev-python/pygments
dev-python/pytz
markdown? ( dev-python/markdown )
|| ( dev-lang/python:2.7 dev-python/argparse )"
virtual/python-argparse"
RDEPEND=""
DOCS="README.rst"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pelican/pelican-3.0.ebuild,v 1.1 2012/08/24 07:13:44 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/pelican/pelican-3.0.ebuild,v 1.2 2012/10/29 16:33:04 mgorny Exp $
EAPI=4
PYTHON_DEPEND="2"
@ -26,7 +26,7 @@ DEPEND="dev-python/feedgenerator
dev-python/unidecode
dev-python/blinker
markdown? ( dev-python/markdown )
|| ( dev-lang/python:2.7 dev-python/argparse )"
virtual/python-argparse"
RDEPEND=""
DOCS="README.rst"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/clanlib-2.3.6.ebuild,v 1.1 2012/09/25 11:44:48 tupone Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/clanlib-2.3.6.ebuild,v 1.2 2012/10/29 20:44:39 mr_bones_ Exp $
EAPI=4
inherit flag-o-matic eutils autotools-utils
@ -42,7 +42,7 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( app-doc/doxygen dev-lang/perl )"
S="${WORKDIR}"/${MY_P}
S=${WORKDIR}/${MY_P}
PATCHES=( "${FILESDIR}"/${P}-autotools.patch )
AUTOTOOLS_AUTORECONF=1

@ -1 +1,2 @@
DIST go1.0.2.src.tar.gz 9676404 SHA256 70fcfb455087c14cc59b7a65c78003fcd1323d73f9b991c1e52db535d6bc95a8 SHA512 ca91a5985236f78c90bda9a1ec652b2b34c2cde3048c0b0c8c0a466ee85b1174d399184a25267959262b8388f51e3eaf2dd39909ec3474765b2c14006c970a23 WHIRLPOOL a6a2ea7971b2283b0aa52877b8d85357d59912e35b3968bb4ecd3a0470bb57638174a28b993e74b0fa6238a49360dcab53807ec84855f4f50122f2feebcc6c33
DIST go1.0.3.src.tar.gz 7404849 SHA256 7fba3533d172f13629d3d8a79e57c620632b0bd075abe11d7698b338be0ae3df SHA512 8006b1c38b7d49f3ae040e405d1897218cbc941a81349f270e6f5fdfeb84ed9267cfcbadb414da4cef1135bb0e2377b295ade3f3d6411c6ae15149f7e1b717b1 WHIRLPOOL 15d8576a7210dcac0da45e3e43686e2b3135c01cc047f8881338fb437a54fd56c69b8eacbc1a395ebc0813e6940bbdfcde37518b214ba162851bc669a268b0f4

@ -0,0 +1,44 @@
Index: src/cmd/6l/asm.c
===================================================================
--- a/src/cmd/6l/asm.c
+++ b/src/cmd/6l/asm.c
@@ -1082,6 +1082,11 @@
ph->type = PT_GNU_STACK;
ph->flags = PF_W+PF_R;
ph->align = 8;
+
+ ph = newElfPhdr();
+ ph->type = PT_PAX_FLAGS;
+ ph->flags = 0x2a00; // mprotect, randexec, emutramp disabled
+ ph->align = 8;
sh = newElfShstrtab(elfstr[ElfStrShstrtab]);
sh->type = SHT_STRTAB;
Index: src/cmd/8l/asm.c
===================================================================
--- a/src/cmd/8l/asm.c
+++ b/src/cmd/8l/asm.c
@@ -1127,6 +1127,11 @@
ph->flags = PF_W+PF_R;
ph->align = 4;
+ ph = newElfPhdr();
+ ph->type = PT_PAX_FLAGS;
+ ph->flags = 0x2a00; // mprotect, randexec, emutramp disabled
+ ph->align = 8;
+
sh = newElfShstrtab(elfstr[ElfStrShstrtab]);
sh->type = SHT_STRTAB;
sh->addralign = 1;
Index: src/cmd/ld/elf.h
===================================================================
--- a/src/cmd/ld/elf.h
+++ b/src/cmd/ld/elf.h
@@ -251,6 +251,7 @@
#define PT_LOPROC 0x70000000 /* First processor-specific type. */
#define PT_HIPROC 0x7fffffff /* Last processor-specific type. */
#define PT_GNU_STACK 0x6474e551
+#define PT_PAX_FLAGS 0x65041580
/* Values for p_flags. */
#define PF_X 0x1 /* Executable. */

@ -0,0 +1,136 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/go-1.0.3.ebuild,v 1.1 2012/10/29 15:57:40 williamh Exp $
EAPI=4
export CTARGET=${CTARGET:-${CHOST}}
inherit bash-completion-r1 elisp-common eutils
if [[ ${PV} = 9999 ]]; then
EHG_REPO_URI="https://go.googlecode.com/hg"
inherit mercurial
else
SRC_URI="http://go.googlecode.com/files/go${PV}.src.tar.gz"
# Upstream only supports go on amd64, arm and x86 architectures.
KEYWORDS="-* ~amd64 ~arm ~x86"
fi
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
HOMEPAGE="http://www.golang.org"
LICENSE="BSD"
SLOT="0"
IUSE="bash-completion emacs vim-syntax zsh-completion"
DEPEND="sys-apps/ed"
RDEPEND="bash-completion? ( app-shells/bash-completion )
emacs? ( virtual/emacs )
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
zsh-completion? ( app-shells/zsh-completion )"
# The go language stores binary data for packages in *.a files.
# These are _NOT_ libraries, and should not be stripped.
STRIP_MASK="/usr/lib/go/pkg/linux*/*.a"
if [[ ${PV} != 9999 ]]; then
S="${WORKDIR}"/go
fi
src_prepare()
{
if [[ ${PV} != 9999 ]]; then
epatch "${FILESDIR}"/${P}-hardened.patch
fi
epatch_user
}
src_compile()
{
export GOROOT_FINAL=/usr/lib/go
export GOROOT="$(pwd)"
export GOBIN="${GOROOT}/bin"
if [[ $CTARGET = armv5* ]]
then
export GOARM=5
fi
cd src
./make.bash || die "build failed"
cd ..
if use emacs; then
elisp-compile misc/emacs/*.el
fi
}
src_test()
{
cd src
PATH="${GOBIN}:${PATH}" \
./run.bash --no-rebuild --banner || die "tests failed"
}
src_install()
{
dobin bin/*
dodoc AUTHORS CONTRIBUTORS PATENTS README
dodir /usr/lib/go
insinto /usr/lib/go
# There is a known issue which requires the source tree to be installed [1].
# Once this is fixed, we can consider using the doc use flag to control
# installing the doc and src directories.
# [1] http://code.google.com/p/go/issues/detail?id=2775
doins -r doc include lib pkg src
if use bash-completion; then
dobashcomp misc/bash/go
fi
if use emacs; then
elisp-install ${PN} misc/emacs/*.el misc/emacs/*.elc
fi
if use vim-syntax; then
insinto /usr/share/vim/vimfiles
doins -r misc/vim/ftdetect
doins -r misc/vim/ftplugin
doins -r misc/vim/syntax
doins -r misc/vim/plugin
doins -r misc/vim/indent
fi
if use zsh-completion; then
insinto /usr/share/zsh/site-functions
doins misc/zsh/go
fi
fperms -R +x /usr/lib/go/pkg/tool
}
pkg_postinst()
{
if use emacs; then
elisp-site-regen
fi
# If the go tool sees a package file timestamped older than a dependancy it
# will rebuild that file. So, in order to stop go from rebuilding lots of
# packages for every build we need to fix the timestamps. The compiler and
# linker are also checked - so we need to fix them too.
ebegin "fixing timestamps to avoid unnecessary rebuilds"
tref="usr/lib/go/pkg/*/runtime.a"
find "${ROOT}"usr/lib/go -type f \
-exec touch -r "${ROOT}"${tref} {} \;
eend $?
}
pkg_postrm()
{
if use emacs; then
elisp-site-regen
fi
}

@ -1,21 +1,20 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/go-9999.ebuild,v 1.7 2012/09/01 17:34:11 williamh Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/go-9999.ebuild,v 1.8 2012/10/29 15:57:40 williamh Exp $
EAPI=4
export CTARGET=${CTARGET:-${CHOST}}
inherit bash-completion-r1 elisp-common eutils
if [[ ${PV} = 9999 ]]; then
EHG_REPO_URI="https://go.googlecode.com/hg"
inherit mercurial
fi
inherit bash-completion-r1 elisp-common eutils
if [[ ${PV} != 9999 ]]; then
else
SRC_URI="http://go.googlecode.com/files/go${PV}.src.tar.gz"
# Upstream only supports go on amd64, arm and x86 architectures.
KEYWORDS="-* ~amd64 ~x86"
KEYWORDS="-* ~amd64 ~arm ~x86"
fi
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
@ -25,13 +24,11 @@ LICENSE="BSD"
SLOT="0"
IUSE="bash-completion emacs vim-syntax zsh-completion"
DEPEND="sys-apps/ed
${COMMON_DEPEND}"
DEPEND="sys-apps/ed"
RDEPEND="bash-completion? ( app-shells/bash-completion )
emacs? ( virtual/emacs )
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
zsh-completion? ( app-shells/zsh-completion )
${COMMON_DEPEND}"
zsh-completion? ( app-shells/zsh-completion )"
# The go language stores binary data for packages in *.a files.
# These are _NOT_ libraries, and should not be stripped.
@ -43,6 +40,9 @@ fi
src_prepare()
{
if [[ ${PV} != 9999 ]]; then
epatch "${FILESDIR}"/${P}-hardened.patch
fi
epatch_user
}
@ -84,7 +84,7 @@ src_install()
# Once this is fixed, we can consider using the doc use flag to control
# installing the doc and src directories.
# [1] http://code.google.com/p/go/issues/detail?id=2775
doins -r doc lib pkg src
doins -r doc include lib pkg src
if use bash-completion; then
dobashcomp misc/bash/go
@ -123,7 +123,7 @@ pkg_postinst()
# linker are also checked - so we need to fix them too.
ebegin "fixing timestamps to avoid unnecessary rebuilds"
tref="usr/lib/go/pkg/*/runtime.a"
find "${ROOT}"usr/lib/go/pkg -type f \
find "${ROOT}"usr/lib/go -type f \
-exec touch -r "${ROOT}"${tref} {} \;
eend $?
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/nasm-2.10.05.ebuild,v 1.1 2012/09/25 04:50:16 mr_bones_ Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/nasm-2.10.05.ebuild,v 1.2 2012/10/29 20:42:24 jdhore Exp $
EAPI=2
inherit flag-o-matic
@ -11,7 +11,7 @@ SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/${PV/_}/${P/_}.tar.bz2"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos"
KEYWORDS="-* ~amd64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos"
IUSE="doc"
DEPEND="dev-lang/perl

@ -3,3 +3,4 @@ DIST parrot-4.5.0.tar.bz2 4331710 SHA256 74996076eb9dbe0f2442e0ae9c0cb5c3e9d5f49
DIST parrot-4.6.0.tar.bz2 4331714 SHA256 31d48e348eab418d5d9d9f9bb24d628763ff90c608d21b1944c227b6938a69d1 SHA512 dd715e4f66aaa739353b5a43a79047d234247f0d1d727d3f73e80358000dc933e32d706f40a27d57127c7728683c5aa8bc851aa2ceb80f9e25008360d20efba0 WHIRLPOOL bc12b26c7cb5158adc066ec5f6e00ea0ef49d16bab24f0fec6e28c104ac3b30016bd3892485fbdb2b52e1bb8866db3aefad7d4d2bec70025c76abc0c5d6fce30
DIST parrot-4.7.0.tar.bz2 4333224 SHA256 4360ac3dffafffaa00bce561c1329df8ad134019f76930cf24e7a875a4422a90 SHA512 d67d9fb097b3a47c1220aa1548c37a2dd63c925f4fd9e18efa258a23917df8d6c37f6fc0ff6439f5164700d8eae9c699cb21dc9d0e2a41213be8be7232abe244 WHIRLPOOL ce22ac06fa1d015d9208805785613d5f73f8f03121bf3afbe4d7e3fa606a34f361d68513a9d7b6ebaaff8b7c0e1d664486c4dcbb9c705098ba8095221781ac1f
DIST parrot-4.8.0.tar.bz2 4355830 SHA256 b6f9a72b8e4b8af4f85b00f565b8c3225ad631a28d5a7b25f2b0e6fd3bcc8aa7 SHA512 9c3492beecfbb50fedb30954635eddf88a4d260836aacdea1068f57b696f7b2f389532931fa47e24fde8adae1002bcbb212e3492b919b834b1a149345c77237b WHIRLPOOL 5f28f9d8cf15bcc78a02a6b46ba8089d8af1e8423aa26f6223330577f0b11da5fd6809b9d32e0103f009b23aafbf7612a31aea8a19aefeda6ca6494a73657277
DIST parrot-4.9.0.tar.bz2 4363047 SHA256 638cba16b47bd5c6dfb4c9106f17961b0496d65c321279a16032ef6667d3ae4d SHA512 ca21668505aaa1a32468f775fb92b403ae6e44efcd58beca82dabae425f43260e7e5d9c3fbb1295260b8bf30e9834f19f15ba2202e0989c88e4f783333f1f923 WHIRLPOOL 78ee73d551eabbad11913c5539db8731f413dfb9ee622ebbede31a6eb85efd9feea61b112e21ed087b1379c8ca50c7cee1af27afa921ed8a7608e51102764698

@ -0,0 +1,83 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-4.9.0.ebuild,v 1.1 2012/10/30 04:04:49 patrick Exp $
EAPI=3
inherit eutils multilib
DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
HOMEPAGE="http://www.parrot.org/"
SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/supported/${PV}/${P}.tar.bz2"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="opengl nls doc examples gdbm gmp ssl +unicode pcre"
RDEPEND="sys-libs/readline
opengl? ( media-libs/freeglut )
nls? ( sys-devel/gettext )
unicode? ( >=dev-libs/icu-2.6 )
gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
gmp? ( >=dev-libs/gmp-4.1.4 )
ssl? ( dev-libs/openssl )
pcre? ( dev-libs/libpcre )"
DEPEND="dev-lang/perl[doc?]
${RDEPEND}"
src_prepare() {
# Fix for #404195 - pcre detection is wonky
sed -i 's:libpcre.so.0:libpcre.so.1:' runtime/parrot/library/pcre.pir || die "Couldn't fix pcre location"
}
src_configure() {
myconf="--disable-rpath"
use unicode || myconf+=" --without-icu"
use ssl || myconf+=" --without-crypto"
use gdbm || myconf+=" --without-gdbm"
use nls || myconf+=" --without-gettext"
use gmp || myconf+=" --without-gmp"
use opengl || myconf+=" --without-opengl"
use pcre || myconf+=" --without-pcre"
perl Configure.pl \
--ccflags="${CFLAGS}" \
--linkflags="${LDFLAGS}" \
--prefix="${EPREFIX}"/usr \
--libdir="${EPREFIX}"/usr/$(get_libdir) \
--mandir="${EPREFIX}"/usr/share/man \
--sysconfdir="${EPREFIX}"/etc \
--sharedstatedir="${EPREFIX}"/var/lib/parrot \
$myconf || die
}
src_compile() {
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib
# occasionally dies in parallel make
emake -j1 || die
if use doc ; then
emake -j1 html || die
fi
}
src_test() {
emake -j1 test || die
}
src_install() {
emake -j1 install-dev DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" || die
dodoc CREDITS DONORS.pod PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die
if use examples; then
insinto "/usr/share/doc/${PF}/examples"
doins -r examples/* || die
fi
if use doc; then
insinto "/usr/share/doc/${PF}/editor"
doins -r editor || die
cd docs/html
dohtml -r developer.html DONORS.pod.html index.html ops.html parrotbug.html pdds.html \
pmc.html tools.html docs src tools || die
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.10.4-r2.ebuild,v 1.6 2012/10/20 12:15:18 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.10.4-r2.ebuild,v 1.7 2012/10/29 22:28:31 tetromino Exp $
EAPI="4"
GCONF_DEBUG="no"
@ -14,7 +14,7 @@ HOMEPAGE="http://live.gnome.org/Vala"
LICENSE="LGPL-2.1"
SLOT="0.10"
KEYWORDS="alpha ~amd64 arm ~hppa ~ia64 ppc ppc64 ~sh ~sparc ~x86"
KEYWORDS="alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~sh ~sparc ~x86"
IUSE="test +vapigen"
RDEPEND=">=dev-libs/glib-2.14:2

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.12.1-r1.ebuild,v 1.6 2012/10/20 12:15:18 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.12.1-r1.ebuild,v 1.7 2012/10/29 22:28:31 tetromino Exp $
EAPI="4"
GCONF_DEBUG="no"
@ -13,7 +13,7 @@ HOMEPAGE="http://live.gnome.org/Vala"
LICENSE="LGPL-2.1"
SLOT="0.12"
KEYWORDS="alpha ~amd64 arm ~hppa ~ia64 ppc ppc64 ~sh ~sparc ~x86 ~x86-linux"
KEYWORDS="alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~sh ~sparc ~x86 ~x86-linux"
IUSE="test +vapigen"
RDEPEND=">=dev-libs/glib-2.16:2

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.14.2-r2.ebuild,v 1.5 2012/10/20 12:15:18 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.14.2-r2.ebuild,v 1.6 2012/10/29 22:28:31 tetromino Exp $
EAPI="4"
GCONF_DEBUG="no"
@ -13,7 +13,7 @@ HOMEPAGE="http://live.gnome.org/Vala"
LICENSE="LGPL-2.1"
SLOT="0.14"
KEYWORDS="alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="test +vapigen"
RDEPEND=">=dev-libs/glib-2.16:2

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.16.1-r2.ebuild,v 1.5 2012/10/20 12:15:18 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.16.1-r2.ebuild,v 1.6 2012/10/29 22:28:31 tetromino Exp $
EAPI="4"
GCONF_DEBUG="no"
@ -13,7 +13,7 @@ HOMEPAGE="http://live.gnome.org/Vala"
LICENSE="LGPL-2.1"
SLOT="0.16"
KEYWORDS="alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
IUSE="test +vapigen"
RDEPEND=">=dev-libs/glib-2.16:2

@ -1 +1,2 @@
DIST cityhash-1.0.3.tar.gz 352237 SHA256 a03178d7c73a2d40d9e9e6ab036e607bc97cf3ea0c0eda9e5736ed07608aaaab SHA512 1d284755af4adcbb9d235d19a00ea0ab3e20676eec3e455da24a855e254996139d3c123f8d074bcaf7d53de04d34949ace799181d428fc322091c93c39702de0 WHIRLPOOL 94b9ead07bb8c693d7062ab1d13291a05d92c9c4f168b400dc0ce180ec3f674ff58a64f8addc101f8806774e83268ba0df0f28be8c10e656a2141dfeca3ea071
DIST cityhash-1.1.0.tar.gz 355571 SHA256 0d07c13c6caf7c798856efa76df7dd2a8d24539240449538316ba4c3bd084679 SHA512 aff5a513fd23c9ec11a02a62151d95e36959ef54fd75a9ae4b94ee72fe93a38295c343c03ed0b0c667c79191ca1119cf2362d7bb8b2f6d6dfa50e5134c9a2654 WHIRLPOOL b7989a7bce7ba8a46787cef690387d2a788fe5027a78fb3d41064d444b23651b920c9348727bf79612ed797a8f793bd8beabcc88e3006ea5bef054933701115d

@ -0,0 +1,18 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cityhash/cityhash-1.1.0.ebuild,v 1.1 2012/10/30 05:45:43 patrick Exp $
EAPI=4
DESCRIPTION="Google's CityHash family of hash functions"
HOMEPAGE="http://code.google.com/p/cityhash/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
#IUSE="sse42" should be added by someone with a modern CPU
DEPEND=""
RDEPEND="${DEPEND}"

@ -1,2 +1,3 @@
DIST gobject-introspection-1.32.1.tar.xz 1120996 SHA256 44f3fb933f76e4728818cc360cb5f9e2edcbdf9bc8a8f9aded99b3e3ef5cb858 SHA512 115d317890e1a66a64760baebad5c9a0b50600f4cf8ba805fed8fcf047413be51603a3dbd83f552609e7a30dba303ebe9e6bfaa0bb3d6e2f95ad9f98d2c4a02c WHIRLPOOL 7a04b5db51ddbf555e251788334c1976874ab847f89577a0d1e94bbabc9c8bd9ecba7dbe9b85b1e92a63cb942df626a3934b959331e118750f8f4f5520961a64
DIST gobject-introspection-1.34.0.tar.xz 1088520 SHA256 80e211ea95404fc7c5fa3b04ba69ee0b29af70847af315155ab06b8cff832c85 SHA512 ce67b29d223fcebe8ab941adf3871891d6cdbccc1cb8419198aada466715b588f1c190d24e58a001fa9cfb77a779192b1ac21b10dbde9a6f973fc92e26d0dd18 WHIRLPOOL df4a44e753cbb9688706e4ab500a575f92e8fc1919b6ebef1c9526eaeb7dcd03bf958201f73215217771d886def442105c5931fd5fd49dbfb7c3648901e0e464
DIST gobject-introspection-1.34.1.1.tar.xz 1088672 SHA256 85b9ac268d34311138f3c6bf646c07975eebfae6ae67d9239e1066a42c5d525b SHA512 87a4294185e27a90003696be8e69b5e74f5661d879eea2154f3f5a9763813f97987163e2843abc9c1e1a5ca351be5d5d0c5b314bf00dd0c750bec7a67d2d60eb WHIRLPOOL 95ba83bb4fcf7e7c3f3d9e5cd7d24b2c2e6431146e8005e32b569698fd49a44642038ecd723f5ae2f6c1bd985bf0e4503f1c05b9f6531ca9eb2cca674e0502b8

@ -0,0 +1,35 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection-common/gobject-introspection-common-1.34.1.1.ebuild,v 1.1 2012/10/30 08:06:56 eva Exp $
EAPI="4"
GNOME_ORG_MODULE="gobject-introspection"
inherit gnome.org
DESCRIPTION="Build infrastructure for GObject Introspection"
HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
!<dev-libs/gobject-introspection-1.32.0"
# Before 1.32.0, ${PN} was part of gobject-introspection
src_configure() { :; }
src_compile() { :; }
src_install() {
dodir /usr/share/aclocal
insinto /usr/share/aclocal
doins m4/introspection.m4
dodir /usr/share/gobject-introspection-1.0
insinto /usr/share/gobject-introspection-1.0
doins Makefile.introspection
}

@ -2,3 +2,4 @@ DIST gobject-introspection-1.30.0-patches-1.tar.xz 5776 SHA256 90a01c8b3ce6b112d
DIST gobject-introspection-1.30.0.tar.xz 1063720 SHA256 8e4274579096e983fad3148cdab50295a4701e45cd9a4e02f7242fc0a04c47b2 SHA512 fa4daa40ad971fd3da8d7b29ada94bd7d29a011972dd007c24692fb1b3e72716bdaa8a3e932c22fa5bf41a4c0d3b1a0a5012a6abac69714ab3fcde0c669da9f4 WHIRLPOOL 0a70ffb3135509accfe484a1e52adc1a674d89a4f2874aea60f45047269f27a410c769f85ac21b7f06396489a69bd5a01422618b8c11b1af678fd8f523d6d6a6
DIST gobject-introspection-1.32.1.tar.xz 1120996 SHA256 44f3fb933f76e4728818cc360cb5f9e2edcbdf9bc8a8f9aded99b3e3ef5cb858 SHA512 115d317890e1a66a64760baebad5c9a0b50600f4cf8ba805fed8fcf047413be51603a3dbd83f552609e7a30dba303ebe9e6bfaa0bb3d6e2f95ad9f98d2c4a02c WHIRLPOOL 7a04b5db51ddbf555e251788334c1976874ab847f89577a0d1e94bbabc9c8bd9ecba7dbe9b85b1e92a63cb942df626a3934b959331e118750f8f4f5520961a64
DIST gobject-introspection-1.34.0.tar.xz 1088520 SHA256 80e211ea95404fc7c5fa3b04ba69ee0b29af70847af315155ab06b8cff832c85 SHA512 ce67b29d223fcebe8ab941adf3871891d6cdbccc1cb8419198aada466715b588f1c190d24e58a001fa9cfb77a779192b1ac21b10dbde9a6f973fc92e26d0dd18 WHIRLPOOL df4a44e753cbb9688706e4ab500a575f92e8fc1919b6ebef1c9526eaeb7dcd03bf958201f73215217771d886def442105c5931fd5fd49dbfb7c3648901e0e464
DIST gobject-introspection-1.34.1.1.tar.xz 1088672 SHA256 85b9ac268d34311138f3c6bf646c07975eebfae6ae67d9239e1066a42c5d525b SHA512 87a4294185e27a90003696be8e69b5e74f5661d879eea2154f3f5a9763813f97987163e2843abc9c1e1a5ca351be5d5d0c5b314bf00dd0c750bec7a67d2d60eb WHIRLPOOL 95ba83bb4fcf7e7c3f3d9e5cd7d24b2c2e6431146e8005e32b569698fd49a44642038ecd723f5ae2f6c1bd985bf0e4503f1c05b9f6531ca9eb2cca674e0502b8

@ -0,0 +1,97 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.34.1.1.ebuild,v 1.1 2012/10/30 08:08:40 eva Exp $
EAPI="4"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
PYTHON_DEPEND="2:2.7"
PYTHON_USE_WITH="xml"
inherit gnome2 python toolchain-funcs
DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
LICENSE="LGPL-2+ GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doctool test"
RDEPEND="
>=dev-libs/gobject-introspection-common-${PV}
>=dev-libs/glib-2.34.1:2
doctool? ( dev-python/mako )
virtual/libffi
"
# Wants real bison, not virtual/yacc
DEPEND="${RDEPEND}
>=dev-util/gtk-doc-am-1.15
sys-devel/bison
sys-devel/flex
virtual/pkgconfig
"
# PDEPEND to avoid circular dependencies, bug #391213
PDEPEND="x11-libs/cairo[glib]"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
# To prevent crosscompiling problems, bug #414105
CC=$(tc-getCC)
DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
G2CONF="${G2CONF}
--disable-static
YACC=$(type -p yacc)
$(use_enable doctool)
$(use_enable test tests)"
gnome2_src_prepare
python_clean_py-compile_files
# avoid GNU-isms
sed -i -e 's/\(if test .* \)==/\1=/' configure || die
gi_skip_tests=
if ! has_version "x11-libs/cairo[glib]"; then
# Bug #391213: enable cairo-gobject support even if it's not installed
# We only PDEPEND on cairo to avoid circular dependencies
export CAIRO_LIBS="-lcairo -lcairo-gobject"
export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
if use test; then
G2CONF="${G2CONF} --disable-tests"
gi_skip_tests=yes
ewarn "Tests will be skipped because x11-libs/cairo[glib] is not present"
ewarn "on your system. Consider installing it to get tests to run."
fi
fi
}
src_test() {
[[ -z ${gi_skip_tests} ]] && default
}
src_install() {
gnome2_src_install
python_convert_shebangs 2 "${ED}"usr/bin/g-ir-{annotation-tool,scanner}
use doctool && python_convert_shebangs 2 "${ED}"usr/bin/g-ir-doc-tool
# Prevent collision with gobject-introspection-common
rm -v "${ED}"usr/share/aclocal/introspection.m4 \
"${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die
rmdir "${ED}"usr/share/aclocal || die
}
pkg_postinst() {
python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner
python_need_rebuild
}
pkg_postrm() {
python_mod_cleanup /usr/$(get_libdir)/${PN}/giscanner
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatomic_ops/libatomic_ops-7.2d.ebuild,v 1.1 2012/10/01 09:21:10 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatomic_ops/libatomic_ops-7.2d.ebuild,v 1.2 2012/10/29 16:54:01 grobian Exp $
EAPI=4
@ -12,7 +12,7 @@ SRC_URI="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-${PV/_}.tar.g
LICENSE="GPL-2 MIT as-is"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
S=${WORKDIR}/gc-${PV/d}/libatomic_ops

@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdbusmenu/libdbusmenu-0.6.2.ebuild,v 1.4 2012/08/05 10:40:06 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdbusmenu/libdbusmenu-0.6.2.ebuild,v 1.5 2012/10/30 07:22:29 ssuominen Exp $
EAPI=4
AYATANA_VALA_VERSION=0.16
inherit eutils flag-o-matic virtualx
inherit eutils flag-o-matic
DESCRIPTION="Library to pass menu structure across DBus"
HOMEPAGE="http://launchpad.net/dbusmenu"
@ -15,7 +15,7 @@ SRC_URI="http://launchpad.net/${PN/lib}/${PV%.*}/${PV}/+download/${P}.tar.gz"
LICENSE="LGPL-2.1 LGPL-3"
SLOT="3"
KEYWORDS="~amd64 ~x86"
IUSE="debug gtk +introspection test"
IUSE="debug gtk +introspection"
RDEPEND=">=dev-libs/glib-2.32
>=dev-libs/dbus-glib-0.100
@ -27,24 +27,14 @@ DEPEND="${RDEPEND}
app-text/gnome-doc-utils
dev-util/intltool
virtual/pkgconfig
introspection? ( dev-lang/vala:${AYATANA_VALA_VERSION}[vapigen] )
test? (
>=dev-libs/json-glib-0.14[introspection?]
dev-util/dbus-test-runner
)"
src_prepare() {
if use test; then
sed -i -e 's:-DG_DISABLE_DEPRECATED::' tests/Makefile.{am,in} || die #391103, #414323
fi
}
introspection? ( dev-lang/vala:${AYATANA_VALA_VERSION}[vapigen] )"
src_configure() {
append-flags -Wno-error #414323
use introspection && export VALA_API_GEN="$(type -P vapigen-${AYATANA_VALA_VERSION})"
# dumper extra tool is only for GTK+-2.x
# dumper extra tool is only for GTK+-2.x, tests use valgrind which is stupid
econf \
--docdir=/usr/share/doc/${PF} \
--disable-static \
@ -52,7 +42,7 @@ src_configure() {
--disable-scrollkeeper \
$(use_enable gtk) \
--disable-dumper \
$(use_enable test tests) \
--disable-tests \
$(use_enable introspection) \
$(use_enable introspection vala) \
$(use_enable debug massivedebugging) \
@ -60,9 +50,7 @@ src_configure() {
--with-gtk=3
}
src_test() {
Xemake check
}
src_test() { :; } #440192
src_install() {
emake -j1 DESTDIR="${D}" install

@ -1,3 +1,4 @@
DIST libtasn1-2.12.tar.gz 1950733 SHA256 0e257a8a01c80e464f73262e13c226e04a15165c2ad087a340f53902281a1c5d SHA512 7b4d66054aa73a62634842e000dc242a06b1c7904d0b4ab005010ad95518a6c5d787b299821165e6d8b5403128e933eefe487a39528989392f3990b5b6404d0e WHIRLPOOL 2909d8abf385c01aaf3e8544715c8cbb67a4c53fe62db6fff5bfda0b5d2f50791272015b5b2ea39c575e9f71f69c84d7b76b16aa6994985d851c5d2c85fca186
DIST libtasn1-2.13.tar.gz 1964659 SHA256 a56e46483d1d42fe44ba58c9758620844042468d7c2d75f6318cdf3222745a91 SHA512 4af2f5b90e416014ced6f1aa1f9fb4d047b4cd145ecbd5854488e29482c14bf63e6bde16cb8931c5a1c7a7ff427b95ddd0e035faf93a62a2afbb317a25ca4e9e WHIRLPOOL 7bd209b4daffbfe8412acc67932f4f36fc7f890804049c57c8a3cbe0a793515569f27df5eba6c239adcef996c669c851d4db7f522a3526571c7823ad544cb2ec
DIST libtasn1-2.14.tar.gz 1977010 SHA256 bc2936cd20267859278145e563427c274d27aaae30ecdf50a04cdd4ec0153d54 SHA512 572b21f8b2e1dec2b2a8819c69dcc6a3985079cfbc64ccfd0b248b8c1c0eac367f4d8c6d97d8ef127f2054cb74fd6652fb1818b6b94dc9a09597202fefa85873 WHIRLPOOL 59e9b3df23e3e54fd56230a4c8541935fda4cc00098b459d7de2204277c0f286642f4b696efe1eba56413163c9243e0274972aa7f32ada50fbc544f7fc7a133c
DIST libtasn1-3.0.tar.gz 1782052 SHA256 f1cb499b9b2fff119c150a485f1e1c8fdfe549bd7cb3886db661750a85769f01 SHA512 3d1d9d17f1afefd9835f0e3878d898cd31dcb809dfef27d0b2a14a16ada004dc613f43445a206d6fb70e7c0fdc2702246fbad4ec7a71a1740ed8e726647d97a2 WHIRLPOOL 67db7cb2afc09dbb11750cb95cc5d74dcabbbe3c72291652dd78d6a428b5d7b7f552d7e5aeed6c4225f9e2969e11d31b1c885ca8bedc9a0b840f13a4f50b8d06

@ -0,0 +1,22 @@
--- libtasn1-3.0/configure.ac
+++ libtasn1-3.0/configure.ac
@@ -21,7 +21,7 @@
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS(config.h)
-AM_INIT_AUTOMAKE([1.10 -Wall -Werror -Wno-override])
+AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override])
AM_SILENT_RULES([yes])
# Library code modified: REVISION++
--- libtasn1-3.0/lib/Makefile.am
+++ libtasn1-3.0/lib/Makefile.am
@@ -19,7 +19,7 @@
SUBDIRS = gllib
AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) $(CFLAG_VISIBILITY)
-AM_CPPFLAGS = -I$(builddir)/gllib -DASN1_BUILDING
+AM_CPPFLAGS = -I$(top_srcdir)/lib/gllib -DASN1_BUILDING
include_HEADERS = libtasn1.h

@ -0,0 +1,39 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtasn1/libtasn1-3.0.ebuild,v 1.1 2012/10/30 07:47:47 radhermit Exp $
EAPI=5
inherit autotools-utils
DESCRIPTION="ASN.1 library"
HOMEPAGE="http://www.gnu.org/software/libtasn1/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-3 LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-macos"
IUSE="doc static-libs"
DEPEND=">=dev-lang/perl-5.6
virtual/yacc"
DOCS=( AUTHORS ChangeLog NEWS README THANKS )
PATCHES=( "${FILESDIR}"/${P}-cppflags.patch )
AUTOTOOLS_AUTORECONF=1
src_configure(){
local myeconfargs
[[ "${VALGRIND_TESTS}" == "0" ]] && myeconfargs+=( --disable-valgrind-tests )
autotools-utils_src_configure
}
src_install() {
autotools-utils_src_install
if use doc ; then
dodoc doc/libtasn1.pdf
dohtml doc/reference/html/*
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/mongo-c-driver-0.6.ebuild,v 1.1 2012/10/28 17:25:39 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/mongo-c-driver-0.6.ebuild,v 1.2 2012/10/29 17:13:17 mr_bones_ Exp $
EAPI="4"
PYTHON_DEPEND="2"
@ -44,4 +44,4 @@ src_install() {
use static-libs || find "${ED}" -name '*.a' -exec rm -f {} +
use doc && dohtml -r docs/source/sphinx/build/html/*
}
}

@ -1,2 +1,3 @@
DIST bolt-1.2.tar.gz 396762 SHA256 1df6260c999ad701f6ec65aab2e766dec413353bc2593251886a94a63fef0359 SHA512 a1721b1cacd04c79a10b056155fe4e54139b9891543d1712ea949b271251ae73cc91226661073d10a3545762cfe6c02837bdc9b83aa7b3154ea992d354267e1d WHIRLPOOL d2ec36adb973bb7538a0b67f2a80c8cdfe6e6b8c3d0419e6d0a12c46000f9dc745214cb239e39b5b47a01b4f10eebfd797e325759e081c632245b35873611f3c
DIST bolt-1.3.tar.gz 620819 SHA256 0bec892f18834449b42352d203ebb0a2ca660a51096bd208398a49123b99a256 SHA512 691357a6b1da2b710ad778f0c81e68f94a33819d8e8bae2076f5b208d0c39e10235eddc162fff117cf081d2db30446cb420a0ae58892536cb7a9442cfe30506b WHIRLPOOL 040586a510ce925ca235e9f039e133d9baa44f62a1722a92c055166bbe160162f2c07b970673723031f08931ac723a2dafced9639a8e4588f102567efaf73844
DIST bolt-1.4.tar.gz 638005 SHA256 595c0441655a82b8e6d3d3f8dacf89e68d33c682dee62a97ea2eece4b5adc088 SHA512 799ca80603fb4f0979ae7bf7ac5acdab7a0187713021a4277d5c3f5af31ffdea042ab312754a6d20a8849b90d36327aa0cad1d6efbc20cc07a3e86dd733e362e WHIRLPOOL c18d42410b1b55b54e8f6fcba0915a8577c26fd80ffb4827d3db1101452624eae4266be1bf4fc59b4c5cc02f49088e7fcd878c42928472f944b8c6b8fafb653b

@ -0,0 +1,38 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/bolt/bolt-1.4.ebuild,v 1.1 2012/10/29 23:25:29 aballier Exp $
EAPI=4
inherit findlib
DESCRIPTION="Logging tool for the Objective Caml language"
HOMEPAGE="http://bolt.x9c.fr/"
SRC_URI="http://bolt.x9c.fr/distrib/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"
DEPEND=">=dev-lang/ocaml-3.11[ocamlopt]"
RDEPEND="${DEPEND}"
src_configure() {
sh configure
}
src_compile() {
emake all
use doc && emake doc
}
src_test() {
emake tests
}
src_install() {
findlib_src_install
dodoc README CHANGES FEATURES
use doc && dohtml ocamldoc/*
}

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-script/flask-script-0.3.1.ebuild,v 1.4 2011/10/08 17:47:49 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-script/flask-script-0.3.1.ebuild,v 1.5 2012/10/29 16:33:04 mgorny Exp $
EAPI="3"
PYTHON_DEPEND="2:2.5"
@ -23,7 +23,7 @@ KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="dev-python/flask
dev-python/argparse"
virtual/python-argparse"
DEPEND="${RDEPEND}
dev-python/setuptools
doc? ( dev-python/sphinx )"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-script/flask-script-0.3.3.ebuild,v 1.1 2012/04/08 19:05:57 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-script/flask-script-0.3.3.ebuild,v 1.2 2012/10/29 16:33:04 mgorny Exp $
EAPI="3"
PYTHON_DEPEND="2:2.5"
@ -23,7 +23,7 @@ KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="dev-python/flask
dev-python/argparse"
virtual/python-argparse"
DEPEND="${RDEPEND}
dev-python/setuptools
doc? ( dev-python/sphinx )"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/g-pypi/g-pypi-0.3.ebuild,v 1.2 2012/07/23 20:25:28 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/g-pypi/g-pypi-0.3.ebuild,v 1.3 2012/10/29 16:33:05 mgorny Exp $
EAPI="4"
PYTHON_DEPEND="2:2.6"
@ -34,7 +34,6 @@ RDEPEND="
app-portage/gentoolkit
app-portage/gentoolkit-dev
app-portage/metagen
dev-python/argparse
>=dev-python/jaxml-3.02
dev-python/setuptools
dev-python/jinja
@ -42,6 +41,7 @@ RDEPEND="
dev-python/sphinxcontrib-googleanalytics
dev-python/unittest2
dev-python/yolk
virtual/python-argparse
"
PYTHON_MODNAME="gpypi"

@ -1,2 +1,3 @@
DIST http-parser-0.7.12.tar.gz 139542 SHA256 fc590df48e5a11dda20b9dd682ce3f4cbd7ae7a6f2eada0564fc0562e3f83b53 SHA512 883cc3201dcda0e516855ba7a1d1c8c27c4404fa1d6c62318c065fb6034d301db140df9131936ca512386e24c9519133077571a6033e905638dcd4c5774e4d10 WHIRLPOOL 7187ef0abfd38438d2c6724a37879e4cc907ed61d71e6ad29853b6e29a38898b0f3ca44585919149e1e257e4f6fdcee66ae8d3cca9f1240e4ae7259a8d7385af
DIST http-parser-0.7.5.tar.gz 131576 SHA256 282b5e4d61bb3b97416afb5f92328a51da7c39a9ff35e3757f287c66ec0a95da SHA512 5f7c6997296353fed65063ec7d99ae0163cd948f66e9b1dc1aa6416a5f11f9f69b5a9a7c70ba6569d535a1fcb7dde8ea88f51a6fe8e11d7270519fabc352f8d4 WHIRLPOOL 613d64b0bd9a9452e0aacc1e10493c59d53b97ae1be6de6471941fba02a335a93132b9897d4f82f775ec1582668d30d9abbab38ecfa42652299acf20f1af4ea3
DIST http-parser-0.7.8.tar.gz 70007 SHA256 18e19052fcdbf243cc7258f9cfa77cc7f69b4950ccbcc2579bcd195c15e61502 SHA512 40b6f12cceca27494688365dd606d2c668b23876644bbe7f30a69e7a1d3b6d19003ac3eb80e403649ffcdd8f2023fb058b278b5a37cc2a3be4daab4649e91a4c WHIRLPOOL 875f36edc6d520d2d579890a87981905b405b996f256487fe56ad6ee863440d362be21f319dea8e9e9a8f378842c220ca7cdb56dc0e06b62619afe6872a4e1a8

@ -0,0 +1,35 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/http-parser/http-parser-0.7.12.ebuild,v 1.1 2012/10/30 06:08:52 patrick Exp $
EAPI=4
SUPPORT_PYTHON_ABIS=1
RESTRICT_PYTHON_ABIS="2.5 *-jython"
inherit distutils
DESCRIPTION="HTTP request/response parser for python in C"
HOMEPAGE="http://github.com/benoitc/http-parser"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools
dev-python/cython"
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
src_install() {
distutils_src_install
if use examples; then
docompress -x usr/share/doc/${P}/examples
insinto usr/share/doc/${P}
doins -r examples/
fi
}

@ -1,2 +1,3 @@
DIST icalendar-2.1.tar.gz 73180 SHA256 7e0080cd5fbbdbe084087a5863c5419bbb889fcd3f5988f436c5b94b4fba4641 SHA512 e7bda75a2dbb40c572834b4c32ca74c7b288bcf281c066e8f46221f3518878cb65544b6511f0b6a879d33107b33312bf688f016142dd94b1e8394345505af7ad WHIRLPOOL a632eb1f87dba5b2571413975e7a9dabab776e468f2c2d5c82547a9f61b1c6b644e822a5a87a9a929552137a66f5f9bdd03220f60989cba8c01dd91af74aa127
DIST icalendar-2.2.tar.gz 152855 SHA256 58974feeb8a6f8daf14fa8b093eb90a1aca4dff59d83ae96a7a8b8d9d66016a3 SHA512 61a6d18a7e9d3d6b825454752bb8d68f01e834db7989bb82467b49d43ab99184b2d3cbf52ce25fc7b6a16028f5b53b8ccf2798dfd168abf4ed305c6eed40ecd7 WHIRLPOOL a2ccd510ef77ac8375cb759682c9fb6378efca5783f17b4fbf163f0b0da7580af3cc41c67756ccdd18b84b19ff94b1989ff4817a45d7f639ccf6dc04b296569a
DIST icalendar-3.1.tar.gz 50530 SHA256 35fc6b618b93f7e6dfc6e16ce2e2012fa540264b385761e6405cf3cd2972a3ad SHA512 f108cedc85d66b0b6fa0c72f6068748fb129a5929a72eb56096ba0066f9121da960f3f034f9218add335e5e0b08564379a2edb878d2ac09bdf40c6f3365fb74f WHIRLPOOL 4bc6ec93632a7eb52c1311da98822246cdf922fb8ea87623a1db13dc5eb2226c05aed35f5295d26ff9155cf8a37331fe077b5ac8e4d586e21a52d2ad27cb264b

@ -0,0 +1,40 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/icalendar/icalendar-3.1.ebuild,v 1.1 2012/10/30 06:19:36 patrick Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2"
inherit distutils
MY_PN="collective-${PN}"
S="${WORKDIR}/${MY_PN}-8538879"
DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)."
HOMEPAGE="http://github.com/collective/icalendar"
SRC_URI="http://github.com/collective/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
IUSE="doc"
RESTRICT="test"
RDEPEND=""
DEPEND="dev-python/setuptools
doc? ( dev-python/sphinx )"
RESTRICT_PYTHON_ABIS="3.*"
DOCS="TODO.txt"
src_compile() {
distutils_src_compile
if use doc; then
cd docs
emake text || die "building documentation"
DOCS="${DOCS} docs/_build/text/*.txt"
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.12-r1.ebuild,v 1.5 2012/06/28 11:31:18 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.12-r1.ebuild,v 1.6 2012/10/29 16:35:02 mgorny Exp $
EAPI=4
@ -23,10 +23,10 @@ KEYWORDS="~amd64 ~x86"
IUSE="doc emacs examples matplotlib mongodb notebook +smp qt4 test wxwidgets"
CDEPEND="dev-python/decorator
|| ( dev-python/argparse =dev-lang/python-2.7* >=dev-lang/python-3.2 )
dev-python/pexpect
dev-python/pyparsing
dev-python/simplegeneric
virtual/python-argparse
emacs? ( app-emacs/python-mode virtual/emacs )
matplotlib? ( dev-python/matplotlib )
mongodb? ( dev-python/pymongo )

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.12.1.ebuild,v 1.5 2012/06/28 11:31:18 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.12.1.ebuild,v 1.6 2012/10/29 16:35:02 mgorny Exp $
EAPI=4
@ -23,10 +23,10 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc emacs examples matplotlib mongodb notebook qt4 +smp test wxwidgets"
CDEPEND="dev-python/decorator
|| ( dev-python/argparse =dev-lang/python-2.7* >=dev-lang/python-3.2 )
dev-python/pexpect
dev-python/pyparsing
dev-python/simplegeneric
virtual/python-argparse
emacs? ( app-emacs/python-mode virtual/emacs )
matplotlib? ( dev-python/matplotlib )
mongodb? ( dev-python/pymongo )

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.13.1.ebuild,v 1.3 2012/10/29 10:21:53 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.13.1.ebuild,v 1.4 2012/10/29 16:35:02 mgorny Exp $
EAPI=4
@ -24,10 +24,10 @@ IUSE="doc emacs examples matplotlib mongodb notebook octave
qt4 +smp test wxwidgets"
CDEPEND="dev-python/decorator
|| ( dev-python/argparse =dev-lang/python-2.7* >=dev-lang/python-3.2 )
dev-python/pexpect
dev-python/pyparsing
dev-python/simplegeneric
virtual/python-argparse
emacs? ( app-emacs/python-mode virtual/emacs )
matplotlib? ( dev-python/matplotlib )
mongodb? ( dev-python/pymongo )

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.13.ebuild,v 1.2 2012/08/17 21:06:33 bicatali Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.13.ebuild,v 1.3 2012/10/29 16:35:02 mgorny Exp $
EAPI=4
@ -24,10 +24,10 @@ IUSE="doc emacs examples matplotlib mongodb notebook octave
qt4 +smp test wxwidgets"
CDEPEND="dev-python/decorator
|| ( dev-python/argparse =dev-lang/python-2.7* >=dev-lang/python-3.2 )
dev-python/pexpect
dev-python/pyparsing
dev-python/simplegeneric
virtual/python-argparse
emacs? ( app-emacs/python-mode virtual/emacs )
matplotlib? ( dev-python/matplotlib )
mongodb? ( dev-python/pymongo )

@ -1 +1,2 @@
DIST irc-3.2.2.zip 84701 SHA256 b597ac3f0713386ba122f608a24e9f6fecd53ddac5ddb7889547ecab392ada1b SHA512 63a64626137617b14f401a6eb51a98b85db14db884faa9355b430df0f5fe8f9391139bb6e50fbbc985b5fd873844c8febe54685af679a847692175c366e8a6c7 WHIRLPOOL e6cc90191a242a2f1777b34550ffefafac0cb37890e593da29b61958a250eb93755e5d9301c6b5b727d42c0de74d2017884169024827cb3524f6ff21ecc3dcff
DIST irc-3.4.2.zip 87053 SHA256 671e20e39a1684aeef5e006334dd4d3a5ed10fc1142bd9e91a50a861f51c2d75 SHA512 d48997f98deae30b554b29618155a827702a2e333d907483157c1d48894ab3beea999c2c7f89571552a1ff54e62964f80afbb7374e693fec4afa9faa1570ce2b WHIRLPOOL 751b31f213878505b9e104fdd2c984b2c8d7059c062a9b073f0b197db897021dada82010c1f7fcd49a8069dc641a04f95ce2a519fb2dfa0d050c16f4494c741f

@ -0,0 +1,13 @@
--- setup.py 2012-10-25 07:13:20.000000000 +0800
+++ setup.py 2012-10-30 14:26:37.433324607 +0800
@@ -29,10 +29,6 @@
],
install_requires=[
] + importlib_req,
- setup_requires=[
- 'hgtools',
- 'pytest-runner',
- ],
tests_require=[
'pytest',
],

@ -0,0 +1,46 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/irc/irc-3.4.2.ebuild,v 1.1 2012/10/30 06:34:37 patrick Exp $
EAPI="4"
PYTHON_DEPEND="*:2.6"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.5"
inherit distutils eutils
DESCRIPTION="IRC client framework written in Python."
HOMEPAGE="https://bitbucket.org/jaraco/irc http://pypi.python.org/pypi/irc"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
DEPEND="app-arch/unzip
app-text/dos2unix"
RDEPEND="!>=dev-python/python-irclib-3.2.2"
src_prepare() {
# Prevent setup from downloading hgtools package
dos2unix setup.py || die "Oops :("
epatch "${FILESDIR}/irc-setup.py.${PV}.patch"
# Don't rely on hgtools for version
sed -e "s/use_hg_version=True/version=\"${PV}\"/" -i setup.py || die
sed -e "/^tag_/d" -i setup.cfg || die
distutils_src_prepare
}
src_install() {
distutils_src_install
if use examples; then
docompress -x "/usr/share/doc/${PF}/examples"
insinto "/usr/share/doc/${PF}/examples"
doins scripts/*
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-3.0.1.ebuild,v 1.2 2012/10/20 16:22:03 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-3.0.1.ebuild,v 1.3 2012/10/29 16:26:39 mgorny Exp $
EAPI=4
PYTHON_COMPAT=(python2_6 python2_7 python3_1 python3_2 python3_3)
@ -16,7 +16,7 @@ SRC_URI="http://codespeak.net/lxml/${MY_P}.tgz"
LICENSE="BSD ElementTree GPL-2 PSF-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
# have to drop some keywords pending resolution of bug #438388
#KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
@ -33,31 +33,29 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}/${P}-skip-failing-test.patch"
PATCHES=( "${FILESDIR}/${P}-skip-failing-test.patch" )
distutils-r1_src_prepare
}
src_test() {
run_tests() {
# Tests broken with Python 3, generally due to Unicode.
[[ "${EPYTHON%.*}" == python3 ]] && return
local module
for module in $(ls build/lib.*/lxml/*.so); do
ln -s "../../${module}" "src/lxml/$(basename ${module})"
done
local exit_status="0" test
for test in test.py selftest.py selftest2.py; do
einfo "Running ${test}"
if ! "${PYTHON}" ${test}; then
eerror "${test} failed with ${EPYTHON}"
exit_status="1"
fi
done
return "${exit_status}"
}
python_foreach_impl run_tests
python_test() {
# Tests broken with Python 3, generally due to Unicode.
[[ ${EPYTHON} == python3.* ]] && return
local module
for module in "${BUILD_DIR}"/lib.*/lxml/*.so; do
ln -fs "${module}" src/lxml/ || die
done
local exit_status="0" test
local PYTHONPATH=src/ # needed for selftest*
for test in test.py selftest.py selftest2.py; do
einfo "Running ${test}"
if ! "${PYTHON}" ${test}; then
eerror "${test} failed with ${EPYTHON}"
exit_status="1"
fi
done
return "${exit_status}"
}
src_install() {

@ -1,3 +1,4 @@
DIST mock-0.7.1.tar.gz 1083629 SHA256 990d46cd6bd7a1a79fb73cc78c9be981547bf85b3cba52be503d2eecf6e3b772 SHA512 ba700449f87fe98aa8197820cd671e06530b703cc2fa322aa9bf874b0a97ce886d2be66102eea418c0c121ee75ac2763299c55fc6af3894955a383f4cdd1017a WHIRLPOOL a774e6a603af99908856e68827fa032faeaf922424b20fe66b3032adc5db1c3cb20db10ee7bda4768c5f395d891230a6a27a316aff8f79d35e0f22875c5da4cf
DIST mock-0.7.2.tar.gz 896135 SHA256 ec0d59c3f8ba6fa850cde44a63d592bb35b9b5b893e77227cf118e7ee14039f2 SHA512 74f00a499c60ed55371c384f0d2401d3e8c14953904efd6770552370da7dc5bd483a274e1d3819112953b5687de136377b01a961e460be2aa165d545880bfd35 WHIRLPOOL 3b3a60e20049cdc7809dbc14fc28071231636069c3322b3b9ffb31f19938b9589808a2e38a526fff2d8b9478213de5807c834aa3b9fed8ca295732e171f279a0
DIST mock-0.8.0.tar.gz 749663 SHA256 96fa4def4e80200be827c3f51147dd7b3fa8873b9207e3325d47ba45bf29a5c1 SHA512 4ff4592c3d31b2adf299693f9da872305504b5bee212339a9a1cedbd17e832280c3f5e3b988d2980d083027bdf83d5c6e44a5d10efe072c091c74f5b93f72374 WHIRLPOOL 8be0494976b17d03c95e55f805dc29cb9a24d333ecc830bd833c7c120b72573e1859e5d7cf683c88c01cf17a2f29574287040987d9335964d2b38297336e3c80
DIST mock-1.0.0.tar.gz 819523 SHA256 2d9fbe67001d2e8f02692075257f3c11e1b0194bd838c8ce3f49b31fc6c3f033 SHA512 d23d4a2f7d6a926fe420890bd2f46de8db524beb1d619df6cae2a49c5e6d6bca45aeaecb2483e156eea90539a1c7ce0be490d63a2570b2c6e419b7e26a30b59f WHIRLPOOL 2ee8e704c7579fac03bb4b7ca5019729bf234a8852e3e5659b16ea7812fe0ab0fc908f4acea6b8dca98ab3ec43af4a4c73cb6e47bc42703861a54af92605a0a7

@ -0,0 +1,38 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/mock/mock-1.0.0.ebuild,v 1.1 2012/10/30 06:59:26 patrick Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
DISTUTILS_SRC_TEST="nosetests"
inherit distutils
DESCRIPTION="A Python Mocking and Patching Library for Testing"
HOMEPAGE="http://www.voidspace.org.uk/python/mock/ http://pypi.python.org/pypi/mock"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-macos"
IUSE="doc test"
# dev-python/unittest2 is not required with Python >=3.2.
DEPEND="dev-python/setuptools
test? ( dev-python/unittest2 )"
RDEPEND=""
DOCS="docs/*.txt"
PYTHON_MODNAME="mock.py"
src_install() {
distutils_src_install
if use doc; then
pushd html > /dev/null
rm -f objects.inv output.txt
insinto /usr/share/doc/${PF}/html
doins -r [a-z]* _static || die "Installation of documentation failed"
popd > /dev/null
fi
}

@ -1 +1,2 @@
DIST mozinfo-0.3.3.tar.gz 5048 SHA256 236398de92fef2e6fdc1d858295c305027b5b2512cd64665ec7665fbe125fa6c SHA512 f45225fc6cc65e5a0630314ead77240c0db67c17c0be20cf1a2a346a87dbf8a1844ff059ded4afac4c44dba6abf428ec2b1c3a0a7771714981ee549ee9e4fb3f WHIRLPOOL 1967f204505b7e8ddb8bda1823432eb550bfa76a2ba3a40b14e329ff85b1fe0d30b3a060cdddff8320138d2cc90fd0252b8aba944e06a0d50e0f4732726ac5dd
DIST mozinfo-0.4.tar.gz 4579 SHA256 80c0b0f2120336685a0ee072a00b18a7726f696dd2c9168987dbe1f786d1cb95 SHA512 201cc900517d4257bab5625e6684671d5a4cc38228ba3593eaae44193aed1b2c5f611e2e6b3c4019595dc0ef2a55bce05435b7f108a4c5885ac8a8eaef22ad8c WHIRLPOOL 81553450fe0de7a485387a0d3ffc3ae96755d31a5a05398faec80c27572b64d0485525e7fa38797e5aafe4c6ac8f748fbd8b9a97cfe89291250d0f811cdabde0

@ -0,0 +1,23 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/mozinfo/mozinfo-0.4.ebuild,v 1.1 2012/10/30 07:03:23 patrick Exp $
EAPI="4"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
DESCRIPTION="File for interface to transform introspected system information to a format pallatable to Mozilla"
HOMEPAGE="https://wiki.mozilla.org/Auto-tools http://pypi.python.org/pypi/mozinfo"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE=""
DEPEND="dev-python/setuptools
dev-python/simplejson"
RDEPEND="${DEPEND}"

@ -1,2 +1,3 @@
DIST mozprocess-0.5.tar.gz 18125 SHA256 6a4144577130d403985c35f81fe71cb217a1f2ca9145732c8e9ed1e9a0d97eeb SHA512 b8c50b3fcabffac22a302c3006129fd665926b0902617aaeee523b883ab08ee66b046a3eff22407cec63f2020ec3fb2eb3bd210d4cad13074c18591bdbd96732 WHIRLPOOL 20653d0c0d73365e8a20d0275670dc923c0e0eff0de9d387ebf776f2ef58cc6fc34dc142d9495a9a583b2b53ad258089725fbc625e64cb9620d0bd311423bf9a
DIST mozprocess-0.7.tar.gz 18598 SHA256 862d13913334b27ef2bd06bbebbecf7f74ab4abff3d46029045ccf8147c77b55 SHA512 1eb1ac0dca65893a40de0c2e428126a45c51f397eb72882e55222330d03abb8d7938eb82ff9f6666c9b2611a53f6b94df48edddee58f401129b92b9a9d0e9d6b WHIRLPOOL e7d5fcd002570589c566f58182032ba889230edb765e25b4c80f9b3bda0546721a1f2ca7c07073945e58c104b4f171eeeae89c835d3476426145e8ef190fb11b
DIST mozprocess-0.8.tar.gz 18676 SHA256 bf70ed1266072ac685f58d312d9f61e8951f097b284fe5463cf5e63715eb3de6 SHA512 c1bac94707796c2150e46cd24700b42c97650fca4e96fa20651ac55df78d9304c2a55960827ef553a5e2a9f112d52488120d7b20db11da787c1963c4608c05a7 WHIRLPOOL 6e2d943b3deae289b8a9a96187ec792caa8e9d5a6883a9b70efd912db0ed63d60944b1ab7dca2d738e2423608093f40ae728427f938f0c1d14f4e108df9f0cda

@ -0,0 +1,23 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/mozprocess/mozprocess-0.8.ebuild,v 1.1 2012/10/30 07:08:28 patrick Exp $
EAPI="4"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
DESCRIPTION="Mozilla-authored process handling"
HOMEPAGE="http://github.com/mozautomation/mozmill http://pypi.python.org/pypi/mozprocess"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MPL-2.0"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE=""
RDEPEND="dev-python/mozinfo"
DEPEND="${RDEPEND}
dev-python/setuptools"

@ -1,4 +1,5 @@
DIST mozrunner-2.5.4.tar.gz 17120 SHA256 33e48ddf35b7717489106aab2f3b06f2db5e6e8d78dbe8525c6cf4a93b7b80e2 SHA512 46be9a346db2272f76f46a5effdfbf176d1eb50329e16c5166aa8401926456335426193b324ce1f766e5abc986aa7097590354f7d572c762f3164ab7beb0fde4 WHIRLPOOL 863870dc0ba7aea9a0a5761fb591ae766f0eca67add4442e3ed7154acd7ff2fb89ae403b38b78fa8286ad6922a7f0b46d82b3e1eff578cd98859b9e3c7530941
DIST mozrunner-5.10.tar.gz 6946 SHA256 3b2477a2edbab4a489d922d094669a8cf0482daa5df01f0d9d7ddfcfe96b983e SHA512 0e8a8797129e73b6fabc6719b9a5d26a3d34f2592c2328f608ea567a9e2e167f751bbccd185e4870a4c23260460bfb106cdd43e83faa54ad45dd8c79f2197146 WHIRLPOOL bdd279f3b5a180b4b1a5b066dd350d8bd68bb69ce2b01dcdc7763031300d86bc53adfd47d5b1a8c0e7f068b5acafc8d04f90a824714693d7ed2c2c0594a1823d
DIST mozrunner-5.12.tar.gz 6933 SHA256 92e46e9128ed65d149ef5ccd7a64db1bbb98b6b2de67ffcd7cacffca3b9c6acd SHA512 649dd14a7f927ada6a42f28021ada961f73f190f79ffbc13f3ab6fb68a3e478b742b31a4590d560e0ae8218964bafb6bc4ffe807d225f41b1f0c254bb74712d0 WHIRLPOOL e108c8bd5594c2a53aeffa3e56e4e23e04682dad063e071238a5d60d511b9c7eafd86818e445f56ab83616cf59162f11b393d02a3469d75338fb9c29bb1674ad
DIST mozrunner-5.14.tar.gz 6923 SHA256 74ade342bfb17d428e7dd46fd591fbd34345781a6831f627ed09f7dfe33d0fbb SHA512 dcd93476a7ab09a5dc3667c294545c43b22ebe8d5e0f88293468729410c3df0833efdb7f63918bdb66f9c447c2be2aaaaf5cfb6f81a1e3e4d814460f74e0987b WHIRLPOOL d3975ad3b69cbebef5e783855010971c76f649990a118103859546d9e65320797ac8010579c17d981c74ec72cf90f2336317f3b3832a1983c6a740c1804324f9
DIST mozrunner-5.2.tar.gz 6847 SHA256 432c632e954f371a3484e7c1d1532359cd0bb4bd717985e8e565b7fe71e8b3aa SHA512 d521513ec98381c67ab25fbcdcfbf646a39339425c6bebee6bce16969f80a53895f0bb023853fc404dc4ec717568998f906a6a362f45c55e0879141b94688a43 WHIRLPOOL 092ddc5f4d5b8b59da4df4440a0f4f1650a02d4ddb8a765b58de12b1a75f81bf732a6db120b2a0e6d5fd4b321c669148e0fc70cf191623db1d585c127f9c23bc

@ -0,0 +1,31 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/mozrunner/mozrunner-5.14.ebuild,v 1.1 2012/10/30 07:13:52 patrick Exp $
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
inherit distutils
DESCRIPTION="Reliable start/stop/configuration of Mozilla Applications (Firefox, Thunderbird, etc.)"
HOMEPAGE="http://pypi.python.org/pypi/mozrunner"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/simplejson
>=dev-python/mozinfo-0.3.3
>=dev-python/mozprocess-0.7
>=dev-python/mozprofile-0.4
dev-python/setuptools"
RDEPEND="${DEPEND}"
src_prepare() {
sed -e 's/\(moz.*\) ==/\1 >=/' -i setup.py
distutils_src_prepare
}

@ -3,3 +3,4 @@ DIST mwlib-0.13.6.zip 1821383 SHA256 8dbb06e76ebdeb6106f8031c30aa1a5e158376b83c1
DIST mwlib-0.13.7.zip 1837738 SHA256 f2f01ec38880e88377fa483461ff80d1b2c86b95f9dbbfbdcae092dd5827ed35 SHA512 67b5756de6b8fecc01cbc27a6f070f24f2bb0e5bc539673a8ec5a460b40880f4e1393a625caaa530a40664f3c549cdfee54ef31d0fefcf4a78a7c4a4e2e9e8be WHIRLPOOL 8c3354cfe366b3b2d5756cc5b95994cf7aef5982cb1ad9da95796f7d011ffd25d7ce864310a6a9fa9e220ebb766babde4e4aeb07ab5e208ca76758e22728f26a
DIST mwlib-0.13.8.zip 1836723 SHA256 17d80ce0270d24b2b64b58279399c88142dfd7fa2cd8066a675403fb3b1d9132 SHA512 ae7f379c07109e726032d7ff2694b497051b957505e077dce00a9b6bf186ae6c52a0d4857935f49ff31a0f4d1847d0132795c95e130fbee2c6273e87654124e8 WHIRLPOOL 6e70cc46aefa4dd8932ae78989ccf343cac9270a480b0615ceb6019b515aa660d6848c3a23fdf313d01898a3509b15c2de3ca010437120efb55e482fed05daac
DIST mwlib-0.14.0.zip 1831191 SHA256 827d7174355627bf5ca354174443cbb0c8d0546f6358acaacf1a8b177f6c4364 SHA512 39eeac795b5a3def35df989cdb1b191887b065ab8f52fd0d13c7093061ef4da6e181057dd85296080c027905a138d3bcbf5a8c0f3995c4e38613163ee60b0336 WHIRLPOOL 37735e4025c349db449c364f8baec52d90cb539527ca453bc59908fa6ff340c921b5ce360228788a01972fa0be869276f7871628a6174a79b3ba0e646d769d78
DIST mwlib-0.14.1.zip 1836509 SHA256 9b6547cfc6c5fcb88c67d3f9fc2aaed54487ec19d97b432edcf140743bc8b7e4 SHA512 23e4ed33259405b31003820febd95e130e92e0f0d511032cdd8e412cb59aab5b4d88daafe61370ffa89059da4479e3b75c78d829b483060a4dd5bf80b7dd3244 WHIRLPOOL d640a7e65c522fe4a6b6922f59e45e5f24fc8dd3a6915f34aab2b50cda59a37592bdfc71d5ea590c548e6a8784d985c7cb584002dcaf6725944d7270e206f1f1

@ -0,0 +1,80 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/mwlib-0.14.1.ebuild,v 1.1 2012/10/30 07:44:14 patrick Exp $
EAPI=4
PYTHON_DEPEND="2:2.6"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-pypy-* *-jython"
DISTUTILS_SRC_TEST=py.test
inherit distutils eutils
DESCRIPTION="Tools for parsing Mediawiki content to other formats"
HOMEPAGE="http://code.pediapress.com/wiki/wiki http://pypi.python.org/pypi/mwlib"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="dev-python/lxml
=dev-python/odfpy-0.9*
dev-python/pyPdf
dev-python/pyparsing
dev-python/timelib
virtual/latex-base
>=dev-python/simplejson-2.5
dev-python/gevent
dev-python/bottle
dev-python/apipkg
dev-python/qserve
dev-python/roman
dev-python/py
dev-python/sqlite3dbm"
DEPEND="${RDEPEND}
dev-python/setuptools
app-arch/unzip
doc? ( dev-python/sphinx )"
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
DOCS="changelog.rst"
src_prepare() {
# mwlib.apipkg is actually used.
sed -e 's/, "apipkg"//' -i setup.py || die
# Execute odflint script.
sed \
-e "/def _get_odflint_module():/,/odflint = _get_odflint_module()/d" \
-e "s/odflint.lint(path)/os.system('odflint %s' % path)/" \
-i tests/test_odfwriter.py || die
distutils_src_prepare
# Disable test which requires installed mw-zip script.
rm -f tests/test_{nuwiki,redirect,zipwiki}.py
# Disable render test that fails for no apparent reason
rm -f tests/test_render.py
}
src_compile() {
distutils_src_compile
if use doc; then
emake -C docs html
fi
}
src_test() {
distutils_src_test tests
}
src_install() {
distutils_src_install
if use doc; then
dohtml -r docs/_build/html/
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pip/pip-1.2.1.ebuild,v 1.1 2012/09/06 19:44:08 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/pip/pip-1.2.1.ebuild,v 1.2 2012/10/29 20:23:12 jdhore Exp $
EAPI="4"
PYTHON_DEPEND="*"
@ -13,7 +13,7 @@ HOMEPAGE="http://www.pip-installer.org/ http://pypi.python.org/pypi/pip/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="zsh-completion"

@ -1 +1 @@
DIST pry-0.2.1_p20090810.tar.gz 38183 SHA256 c8e5f814c2a2b008d34fa7af93261ffb49e8fdf11ce85837fafeb699c8ab9c61 SHA512 4426bda30eb7a563b7b6350834b720a67e2ce29a617e810a3a22921e9191b1d4f17d29fb7e3dcc5cfb8a96db6791f59e8ec048c1429f89136e160ae2a85ce116 WHIRLPOOL 91703d526320f35f2058ebc8996d21b3f54da72d71c4ef9a877d4eabc597066b2b396a477611190835f319cd6711ef498d42d2029909b04695a6556fda96f812
DIST pry-0.2.1.tar.gz 25514 SHA256 9d689a13a89d76cae97b364da7d96cb29f469d7f6976d01b9a958ec249fe3a68 SHA512 6abe67fc731021b53f2a18181a32063ee7ddc86f0df7a7fca2f9a20a60c6fb68b3b00978d20f5269ae085637eb097b8b509559bb618ab28e63f4230637446bef WHIRLPOOL 5bcd5bd74a5e45c4598021b9959fe38ac5e167b0523af9be620a03f14516b6147a04abcac58cd642a5cc18e8018d5a2ce07c991f328386e43aaa7f94e477191e

@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pry/pry-0.2.1_p20090810.ebuild,v 1.1 2012/03/24 23:36:00 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/pry/pry-0.2.1.ebuild,v 1.1 2012/10/30 08:06:38 radhermit Exp $
EAPI="4"
EAPI="5"
PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
@ -13,20 +13,21 @@ inherit distutils eutils
DESCRIPTION="A unit testing framework and coverage engine"
HOMEPAGE="https://github.com/cortesi/pry http://pypi.python.org/pypi/pry/"
SRC_URI="http://dev.gentoo.org/~radhermit/distfiles/${P}.tar.gz"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="!dev-ruby/pry"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.2.1-exit-status.patch
}
src_test() {
cd test
testing() {
PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" \
../build-${PYTHON_ABI}/scripts-${PYTHON_ABI}/pry
@ -36,6 +37,5 @@ src_test() {
src_install() {
distutils_src_install
use doc && dohtml -r doc/*
}

@ -2,3 +2,4 @@ DIST pygobject-2.28.6.tar.xz 747248 SHA256 fb8a1d4f665130a125011659bd347c7339c94
DIST pygobject-3.0.4.tar.xz 547180 SHA256 f457b1d7f6b8bfa727593c3696d2b405da66b4a8d34cd7d3362ebda1221f0661 SHA512 46bc73e8650bdc7bef4216ab097d24fee7049dbf75472b7478ad735a33b23d06a25cb48e8e34d5518ddb44dc61259f9c2b3ca46a8a39ff4be7302a17af8dc750 WHIRLPOOL 811e1bb19c370039f5a0d622e2be39b0eef3eaaeb75e91dd02ec57196d18c696985555674b65c4c99da131779d8f6c5533f846bd1a858f2a54f81bbcae3adaaf
DIST pygobject-3.2.2.tar.xz 564712 SHA256 4653790baaff0176fd814b88cfb5378c45906a120b25d01be2554f423b726eb0 SHA512 b22c8fd4bcff0d110a08d7f0927df086d4e1e11546e3d7aa08f4e5ec66643d1ba88ac199b0354dca145bf06532c8ab8a427ea9450751ee52b914f355a6d7e9e7 WHIRLPOOL f3e4aaafadfeae5e6fafd0e173c856c2f8c937eb097732760c21ccaced6c7c96e36e5b683d729e78b0043302fafa92818ea90fa845fe266caf5e2d0a8ae8ff8f
DIST pygobject-3.4.0.tar.xz 607804 SHA256 bc7f17b23aaa6b0a85f5f090f7ffa616b596bcab9f481f46fdb9d0d2d55b16bb SHA512 b1f8441e6da2f5be6d6d5d595d422a2fccb7b29b1dc63aa4b07f1c9cffb96ab3ce9137b2f11714b6df8ce8f92927a873435cc3f2072b33ec80221a20aecf98e4 WHIRLPOOL 88536718af824c731fe97086f56591c95090b3655ef40812649f3d1ade35a733994d23dd8a17b352c11d39e57cdfc42d764746e81282a67222c33d88fcff8768
DIST pygobject-3.4.1.1.tar.xz 613476 SHA256 dbcff64a641b4eb251a3ca72c782c8a2318c3bbf4a31bffc40446e15111e6017 SHA512 cd26d01573176cc78540fc98d675e5de114aa3ff441bcd26c931996353e3e1012e534f050a972dec3f74cfb342a3e97f5287f609c25b2ecc7cd48dedfcb2b110 WHIRLPOOL 4c548abf5ae8439bc042444dea85bd8b82a84ef90917d00eb16e94888c0d0dee0d32890140defdb30c75ac147e9f50b0be5492dc18f870037158e3c25317a255

@ -0,0 +1,84 @@
From d0885d5757f02f53dbc8036054a1ced7f727eb08 Mon Sep 17 00:00:00 2001
From: Gilles Dartiguelongue <eva@gentoo.org>
Date: Fri, 5 Nov 2010 23:39:08 +0100
Subject: [PATCH] Do not build tests unless needed
[Alexandre Rostovtsev <tetromino@gmail.com>: port to 2.90.1]
---
tests/Makefile.am | 12 ++++++------
tests/runtests.py | 3 +++
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 7a619bf..a3cbf57 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,5 +1,5 @@
CLEANFILES =
-noinst_LTLIBRARIES = libgimarshallingtests.la
+check_LTLIBRARIES = libgimarshallingtests.la
test_typelibs = GIMarshallingTests-1.0.typelib
nodist_libgimarshallingtests_la_SOURCES = $(GI_DATADIR)/tests/gimarshallingtests.c $(GI_DATADIR)/tests/gimarshallingtests.h
@@ -23,7 +23,7 @@ GIMarshallingTests-1.0.typelib: GIMarshallingTests-1.0.gir Makefile
# regress.c needs cairo
if ENABLE_CAIRO
-noinst_LTLIBRARIES += libregress.la
+check_LTLIBRARIES += libregress.la
test_typelibs += Regress-1.0.typelib
nodist_libregress_la_SOURCES = $(GI_DATADIR)/tests/regress.c $(GI_DATADIR)/tests/regress.h
libregress_la_CFLAGS = $(GIO_CFLAGS) $(CAIRO_CFLAGS)
@@ -52,7 +52,7 @@ gschemas.compiled: org.gnome.test.gschema.xml
CLEANFILES += Regress-1.0.gir Regress-1.0.typelib GIMarshallingTests-1.0.gir GIMarshallingTests-1.0.typelib gschemas.compiled
-noinst_LTLIBRARIES += testhelper.la
+check_LTLIBRARIES += testhelper.la
testhelper_la_CFLAGS = -I$(top_srcdir)/gi/_gobject -I$(top_srcdir)/gi/_glib $(PYTHON_INCLUDES) $(GLIB_CFLAGS)
testhelper_la_LDFLAGS = -module -avoid-version
@@ -72,7 +72,7 @@ testhelper.la: $(testhelper_la_OBJECTS) $(testhelper_la_DEPENDENCIES)
test -L $@ || $(LN_S) .libs/$@ $@
-all: $(LTLIBRARIES:.la=.so)
+all: $(check_LTLIBRARIES:.la=.so)
EXTRA_DIST = \
compathelper.py \
@@ -112,7 +112,7 @@ EXTRA_DIST = \
$(NULL)
clean-local:
- rm -f $(LTLIBRARIES:.la=.so) file.txt~
+ rm -f $(check_LTLIBRARIES:.la=.so) file.txt~
DBUS_LAUNCH=$(shell which dbus-launch)
RUN_TESTS_ENV_VARS= \
@@ -123,7 +123,7 @@ RUN_TESTS_ENV_VARS= \
MALLOC_PERTURB_=85 \
TESTS_BUILDDIR=$(builddir)
-check-local: $(LTLIBRARIES:.la=.so) $(test_typelibs) gschemas.compiled
+check-local: $(check_LTLIBRARIES:.la=.so) $(test_typelibs) gschemas.compiled
@echo " CHECK Pyflakes"
@if type pyflakes >/dev/null 2>&1; then pyflakes $(top_srcdir); else echo "skipped, pyflakes not installed"; fi
@echo " CHECK PEP8"
diff --git a/tests/runtests.py b/tests/runtests.py
index c518fcc..35bb5c4 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -34,6 +34,9 @@ if sys.version_info[:2] == (2, 6):
unittest.TestCase.assertGreater = assertGreater
unittest.TestCase.assertIsInstance = assertIsInstance
+# Some tests fail with translated messages.
+os.environ["LC_ALL"] = "C"
+
if '--help' in sys.argv:
print("Usage: ./runtests.py <testfiles>")
sys.exit(0)
--
1.7.12.4

@ -0,0 +1,116 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.4.1.1.ebuild,v 1.1 2012/10/30 08:22:06 eva Exp $
EAPI="4"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2:2.6 3:3.1"
RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython *-pypy-*"
inherit autotools eutils gnome2 python virtualx
DESCRIPTION="GLib's GObject library bindings for Python"
HOMEPAGE="http://www.pygtk.org/"
LICENSE="LGPL-2.1+"
SLOT="3"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="+cairo examples test +threads" # doc
REQUIRED_USE="test? ( cairo )"
COMMON_DEPEND=">=dev-libs/glib-2.31.0:2
>=dev-libs/gobject-introspection-1.34.1.1
virtual/libffi
cairo? ( >=dev-python/pycairo-1.10.0 )"
DEPEND="${COMMON_DEPEND}
x11-libs/cairo[glib]
virtual/pkgconfig
test? (
dev-libs/atk[introspection]
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
x11-libs/gdk-pixbuf:2[introspection]
x11-libs/gtk+:3[introspection]
x11-libs/pango[introspection] )"
# docs disabled for now per upstream default since they are very out of date
# doc? (
# app-text/docbook-xml-dtd:4.1.2
# dev-libs/libxslt
# >=app-text/docbook-xsl-stylesheets-1.70.1 )
# We now disable introspection support in slot 2 per upstream recommendation
# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however,
# older versions of slot 2 installed their own site-packages/gi, and
# slot 3 will collide with them.
RDEPEND="${COMMON_DEPEND}
!<dev-python/pygtk-2.13
!<dev-python/pygobject-2.28.6-r50:2[introspection]"
pkg_setup() {
python_pkg_setup
}
src_prepare() {
DOCS="AUTHORS ChangeLog* NEWS README"
# Hard-enable libffi support since both gobject-introspection and
# glib-2.29.x rdepend on it anyway
G2CONF="${G2CONF}
--disable-dependency-tracking
--with-ffi
$(use_enable cairo)
$(use_enable threads thread)"
# Do not build tests if unneeded, bug #226345
epatch "${FILESDIR}/${PN}-3.4.1.1-make_check.patch"
eautoreconf
gnome2_src_prepare
python_clean_py-compile_files
python_copy_sources
}
src_configure() {
configuration() {
PYTHON="$(PYTHON)" gnome2_src_configure
}
python_execute_function -s configuration
}
src_compile() {
python_src_compile
}
# FIXME: With python multiple ABI support, tests return 1 even when they pass
src_test() {
unset DBUS_SESSION_BUS_ADDRESS
export GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
testing() {
export XDG_CACHE_HOME="${T}/$(PYTHON --ABI)"
Xemake check PYTHON=$(PYTHON -a)
unset XDG_CACHE_HOME
}
python_execute_function -s testing
unset GIO_USE_VFS
}
src_install() {
python_execute_function -s gnome2_src_install
python_clean_installation_image
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}
pkg_postinst() {
python_mod_optimize gi
}
pkg_postrm() {
python_mod_cleanup gi
}

@ -2,3 +2,4 @@ DIST pylint-0.23.0.tar.gz 200192 SHA256 cdb093d15abe2f1cd2f7d949ad3bb29149aeead7
DIST pylint-0.25.0.tar.gz 205462 SHA256 433a9c8089a2212d99c4ef954f96b70af6ff3d2acd13d21791fe909e2966d21f SHA512 0184eafccfc0a8cc26335fa4ccaad4cf6223e3ac9c76d3b0b8c481750158691eaffb57e51d82c68ed9ccd009e006318ed005681976b03bcc5afd22cc336ec70e WHIRLPOOL 25632bd58de92cb3d029ee4885034e698649f8d1f38e624202ef4795a0fa9ac0610ddcefaae49f2330c748afa0f32ef91e16661fe27eb712da0c0150437d06ea
DIST pylint-0.25.1.tar.gz 211562 SHA256 5991744c9247bf355a531651fca35f9fd67506892081574677aadd175ec94a00 SHA512 46eafc1b39b20ba5362b3c8e20a835e3524df9da0a5707c1c6df75b15aaa846120d99e7cac13e0d6e888b540b2ca72a5a8e0cbb188ac00c9cbfbea7e634df2ef WHIRLPOOL 06733b38acca2d7cbffb9f97fa0772d3e47a432b31e52d41e040bca51d65273f9ba8cfceb1f8f58117ffa1803606ccf86a20320270ec09169b1625ee598fda72
DIST pylint-0.25.2.tar.gz 214769 SHA256 08c2a0ccf2d715cdc9a2a0478200c54aac5b4f6d521e10c5b27db65d5787ff07 SHA512 eea1a783ca52623fa2a026fe82939b8a5920b3b6be21b808388bb9336ba85aeded157198a436fcf3ab8735df6cfcf94c352b695db1131490dda2e26305be68d0 WHIRLPOOL b6a4595e14a350c9156ebb6fce3c9c35ada304f0c33659c55266534c4539f871102dfb6c601bd4e0b4a067a5695da28dcefda7e911d7d11325f4672b38dc7ecd
DIST pylint-0.26.0.tar.gz 222738 SHA256 1f4eadcf65aff81873f77bd5d3ebd23809adc4fbb035049bdef416e7728e0738 SHA512 c341d302d0810d313ac941f3b32154cbe7f73ef3badbf4e0c1433b8ef6f7614a0c17cd27cf752146f3addbf5a682d409a51b5d7444eefd80a4afb9e14d2d0da9 WHIRLPOOL 1036871038b21f9542bd19e2bd287328229bf8d5226881c446b9f0bc915d9703e60fa119e1a3e825e51d6db466145adce7e3088a463fdd379dcd58880443271c

@ -0,0 +1,61 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.26.0.ebuild,v 1.1 2012/10/30 07:49:52 patrick Exp $
EAPI="3"
PYTHON_DEPEND="*:2.5"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.4"
inherit distutils
DESCRIPTION="Python code static checker"
HOMEPAGE="http://www.logilab.org/project/pylint http://pypi.python.org/pypi/pylint"
SRC_URI="ftp://ftp.logilab.org/pub/${PN}/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="examples"
# Versions specified in __pkginfo__.py.
RDEPEND=">=dev-python/logilab-common-0.53.0
>=dev-python/astng-0.21.1"
DEPEND="${RDEPEND}
dev-python/setuptools"
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
DOCS="doc/*.txt"
src_test() {
testing() {
# Test suite broken with Python 3.
[[ "${PYTHON_ABI}" == 3.* ]] && return
PYTHONPATH="build/lib" pytest -v
}
python_execute_function -s testing
}
src_install() {
distutils_src_install
doman man/{pylint,pyreverse}.1 || die "doman failed"
if use examples; then
docinto examples
dodoc examples/* || die "dodoc failed"
fi
delete_tests() {
rm -fr "${ED}$(python_get_sitedir)/pylint/test"
}
python_execute_function -q delete_tests
}
pkg_postinst() {
distutils_pkg_postinst
# Optional dependency on "tk" USE flag would break support for Jython.
elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
}

@ -1 +1,2 @@
DIST PyOpenGL-3.0.1.tar.gz 698475 SHA256 79065ba0fec47e9e9514f3be543866f07d7b08071336d566fbf3ab138c442635 SHA512 377fa8e95e938e9cf1f9fb4f0854eb42844c26537aedaa0e8ec36b99a726c34e3f1482e9134421560ba1415174f76ceed9ae3a92206f40d0e633766816655c81 WHIRLPOOL 14f97fb550161240d30c860021b432c8cad9ab1a3ec4b355c6469b70533466177a5e36ae9e75d5087961e9b7e5ec2c7b47e8c72f2fe9390fad46e1a380ae859e
DIST PyOpenGL-3.0.2.tar.gz 891943 SHA256 9ef93bbea2c193898341f574e281c3ca0dfe87c53aa25fbec4b03581f6d1ba03 SHA512 e5663682eee5aa7276590ae7547d8345141e2e8e34ddfcbb3867c10a91e9959ebe8ec82606e257826ba6dd21d731ad76f38134849f095a01760d007d752fe9a9 WHIRLPOOL 9638e25ae0c8e99f0adfe99eb99e6d321c0b38f6c1b6a9efb46d675707ceb547aa596878dbc99d114f53e80b80063bcd12fbeb58fb5f6296c3371c06a333f5e6

@ -0,0 +1,36 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopengl/pyopengl-3.0.2.ebuild,v 1.1 2012/10/30 07:56:23 patrick Exp $
EAPI="3"
PYTHON_USE_WITH="tk"
PYTHON_USE_WITH_OPT="tk"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.7-pypy-* *-jython 3.*"
inherit distutils
MY_PN="PyOpenGL"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Python OpenGL bindings"
HOMEPAGE="http://pyopengl.sourceforge.net/ http://pypi.python.org/pypi/PyOpenGL"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
# mirror://sourceforge/pyopengl/${MY_P}.tar.gz" # broken mirror for this release
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="tk"
RDEPEND="media-libs/freeglut
virtual/opengl
x11-libs/libXi
x11-libs/libXmu
tk? ( dev-tcltk/togl )"
DEPEND="${RDEPEND}
dev-python/setuptools"
S="${WORKDIR}/${MY_P}"
PYTHON_MODNAME="OpenGL"

@ -3,3 +3,4 @@ DIST pytest-2.0.3.zip 259712 SHA256 b387aaae6df6be8a37f4e9ffcb2ca04836f5b130c11f
DIST pytest-2.1.1.zip 288420 SHA256 80a3837db680adbafd23e0005d40d781153dd1e8ec62ee406d50911ed0874155 SHA512 6193fb3ee49ce69583d0a61e804919b65f827149750903e258e946a379511f5e88357e95e239b7ae7a774e4da9b9d336c90d511f52bee790c535c2a0cdb58c3f WHIRLPOOL 078b020454f3f7d9e2407eb6c11b1da8440e1e8bdc9edec148ac112cf1b83c7c40e2f250bf18395fcec28c69d7d60f2f6587fdc4980d7a8c4ea241a9ba17f57d
DIST pytest-2.2.3.zip 307445 SHA256 a9f76ba1ea10ab4d40f4382df15ec2ce583052496547aa9e6bab059eafd9406e SHA512 a970ed7aafe73dd9c881e2ab8e7588e6fa75714ad45c7dd2e742d216d937f949592ca79946781c4b4e506a200e1e70723c8d0a54fe135f6c97b4b2c9f4e48128 WHIRLPOOL ce3eb27be16273795baa685690ce8621a3efe11ad655a4ab9cc74046b10a038ad072ef0039d1eae2f4233b831211ae26f2cd7b05aa5fcaec80541a90171f98d1
DIST pytest-2.2.4.zip 309641 SHA256 dc03898d46d00bb5e6756f6bc2ea3fc6c35935e774a0682988c4b4fcdd624f5e SHA512 8f37ff01fdd1a75142036710bc105392437123c012ff0a908cb7afd11ca8f06097867c15dce23a6582ce4eccc3529fa2df69ae227273d0786df35ba0466d0bbe WHIRLPOOL 49097e22e4188b557b3b8411fa85929b8e9190b32dbd99ccb09ad6c1477e2e1c720bad3bbc30f6e61337253d314c1d37d0e40e5a4c2496ee1fa5e417a8ff6072
DIST pytest-2.3.2.zip 515396 SHA256 ff1efd507224cdd768d3827272c87e0cf99571f242c8a5bb634b9d35469fd61d SHA512 b6fcfbf28f404a35f1a3e22b125510676b6a4de11f407329244d79b5e8a279be57b4707a0e34d1a10bf664d9cd117fc377cd29bcba6a4c38a4b3da955ef70a7e WHIRLPOOL 2eef8bb9181bff2650af3f346274d1ad3c9fe56e49138af8f76cc23c872c6f7eb714d0e5eaa2615d6c8b678ff4c3bcfb9dd9bbc1eb8c31c8125ab61beffa7479

@ -0,0 +1,47 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/pytest-2.3.2.ebuild,v 1.1 2012/10/30 08:05:44 patrick Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
inherit distutils
DESCRIPTION="py.test: simple powerful testing with Python"
HOMEPAGE="http://pytest.org/ http://pypi.python.org/pypi/pytest"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE=""
RDEPEND=">=dev-python/py-1.4.7"
DEPEND="${RDEPEND}
app-arch/unzip
dev-python/setuptools"
DOCS="CHANGELOG README.txt"
PYTHON_MODNAME="pytest.py _pytest"
src_prepare() {
distutils_src_prepare
# Disable versioning of py.test script to avoid collision with versioning performed by distutils_src_install().
sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
}
src_test() {
testing() {
PYTHONPATH="${S}/build-${PYTHON_ABI}/lib" "$(PYTHON)" "build-${PYTHON_ABI}/lib/pytest.py"
}
python_execute_function testing
}
src_install() {
distutils_src_install
python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/py.test"
# Bug 380275: Test suite pre-compiles modules
python_clean_installation_image -q
}

@ -2,3 +2,4 @@ DIST python-distutils-extra-2.23.tar.gz 26349 SHA256 bb862f24e5b5c3a297b7b572210
DIST python-distutils-extra-2.33.tar.gz 27053 SHA256 9ae0afefc19c7788a96869816ad9d39bbb187b2c61fae663d30ef2d4bbd51bd6 SHA512 aa1fac86482ee5bcb06591d334504dafb70a9f1b65076591e853cb7ef6854b913f7ae1415fbd6021df4cc9f9f232d1e114316e58db059334698af00b2da827a3 WHIRLPOOL ecc1b44479f359f5d30c3f66d3928268cc67e3ccf9877006db297abff739a830b79ee9b987a4393628e17925db7894b38ce63982827b1082ae0811cbf0f7c5f3
DIST python-distutils-extra-2.34.tar.gz 27228 SHA256 1ac74965d52753aa665c962ac590de7267f3c79530d4df30841672380bb8669f SHA512 42dbdefa66505f8108a62ea23db226bd5495c78501702e2de759740542bd840de56bdd82cf5e093449a2ac64bddd205d7974af9c758faa09afe567773483249d WHIRLPOOL 458ac8f1e070bebab8703434ed1d5f09c3c16297d45e29b4aa90a3aca9288653e21a39b0a8eaabe5d827b774bdee9a918afb765470a573c3836a9a9956a64a59
DIST python-distutils-extra-2.35.tar.gz 27462 SHA256 80712f6fb362f0f0cf68d31f877336bf9a12e7fd2e6f868ead8f2599ccbd65da SHA512 28eeb677358a5bf3ec1ed2fdacec0366313578ab3f6c3a76a2b2b1546d51845bdd08cb06c476548488830e34c809774c0cd592a64a6a7e8de907eaa475bcd1b3 WHIRLPOOL 253e1cf02af936ebddcae35aee8365fc54f589c07e2a91cd4708bd11fd5197f47fa5e0222a173d6aab7f7918c24f6ac436aeed43f161c596621628ff4ba1366b
DIST python-distutils-extra-2.36.tar.gz 27461 SHA256 94f882aeff4c3227490a012c46a5b445494ef496a539ccf554f8ad5ea92cfcb2 SHA512 c704debc4335bf43f422a58d4b832903eaeb2c8e9e7aa19fa234565e7e609b6554d01074088ff17e8387300dd4ad489ef4613b5e1d1ac9510ef56222d7eaf18e WHIRLPOOL 3cfb5fe4a1b00bf364ddf36c2a95fa35c18aea077760c210c0ab9d1270cb4f54e13ccd7c84005e274abf19ccadca8e7a3de17dfbd156d5035809b04aab5a9bb8

@ -0,0 +1,49 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-distutils-extra/python-distutils-extra-2.36.ebuild,v 1.1 2012/10/30 08:39:55 patrick Exp $
EAPI="3"
PYTHON_DEPEND="2:2.6"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.5 3.*"
inherit distutils
DESCRIPTION="You can integrate gettext support, themed icons and scrollkeeper based documentation in distutils."
HOMEPAGE="https://launchpad.net/python-distutils-extra"
SRC_URI="http://launchpad.net/python-distutils-extra/trunk/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="dev-python/setuptools"
RDEPEND="${DEPEND}"
DOCS="doc/FAQ doc/README doc/setup.cfg.example doc/setup.py.example"
PYTHON_MODNAME="DistUtilsExtra"
src_prepare() {
distutils_src_prepare
# Disable broken tests.
sed \
-e "s/test_desktop/_&/" \
-e "s/test_po(/_&/" \
-e "s/test_policykit/_&/" \
-e "s/test_requires_provides/_&/" \
-i test/auto.py
}
src_test() {
# 5 tests fail with disabled byte-compilation.
python_enable_pyc
testing() {
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/auto.py
}
python_execute_function testing
python_disable_pyc
}

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

Loading…
Cancel
Save