parent
820e880c43
commit
9d27b781a7
@ -0,0 +1,37 @@
|
||||
From: "Daniel P. Berrange" <berrange@redhat.com>
|
||||
Date: Fri, 28 Jun 2013 10:48:37 +0100
|
||||
Subject: [PATCH] CVE-2013-2218: Fix crash listing network interfaces with
|
||||
filters
|
||||
|
||||
The virConnectListAllInterfaces method has a double-free of the
|
||||
'struct netcf_if' object when any of the filtering flags cause
|
||||
an interface to be skipped over. For example when running the
|
||||
command 'virsh iface-list --inactive'
|
||||
|
||||
This is a regression introduced in release 1.0.6 by
|
||||
|
||||
commit 7ac2c4fe624f30f2c8270116513fa2ddab07631f
|
||||
Author: Guannan Ren <gren@redhat.com>
|
||||
Date: Tue May 21 21:29:38 2013 +0800
|
||||
|
||||
interface: list all interfaces with flags == 0
|
||||
|
||||
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
|
||||
---
|
||||
src/interface/interface_backend_netcf.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/interface/interface_backend_netcf.c b/src/interface/interface_backend_netcf.c
|
||||
index a995816..9aa673d 100644
|
||||
--- a/src/interface/interface_backend_netcf.c
|
||||
+++ b/src/interface/interface_backend_netcf.c
|
||||
@@ -412,6 +412,7 @@ netcfConnectListAllInterfaces(virConnectPtr conn,
|
||||
(MATCH(VIR_CONNECT_LIST_INTERFACES_INACTIVE) &&
|
||||
(status & NETCF_IFACE_INACTIVE)))) {
|
||||
ncf_if_free(iface);
|
||||
+ iface = NULL;
|
||||
continue;
|
||||
}
|
||||
|
||||
--
|
||||
1.8.2.1
|
@ -0,0 +1,24 @@
|
||||
commit 027a7707bea5ba455212715278e3ae486f97eacb
|
||||
Author: Doug Goldstein <cardoe@cardoe.com>
|
||||
Date: Thu Jun 27 20:43:00 2013 -0500
|
||||
|
||||
Allow RO connections to interface udev backend
|
||||
|
||||
The udev based interface backend did not allow querying data over a
|
||||
read-only connection which is different than how the netcf backend
|
||||
operates. This brings the behavior inline with the default, netcf
|
||||
backend.
|
||||
|
||||
diff --git a/src/interface/interface_backend_udev.c b/src/interface/interface_backend_udev.c
|
||||
index 68e1e2f..95034bf 100644
|
||||
--- a/src/interface/interface_backend_udev.c
|
||||
+++ b/src/interface/interface_backend_udev.c
|
||||
@@ -139,7 +139,7 @@ udevInterfaceOpen(virConnectPtr conn,
|
||||
{
|
||||
struct udev_iface_driver *driverState = NULL;
|
||||
|
||||
- virCheckFlags(0, VIR_DRV_OPEN_ERROR);
|
||||
+ virCheckFlags(VIR_CONNECT_RO, VIR_DRV_OPEN_ERROR);
|
||||
|
||||
if (VIR_ALLOC(driverState) < 0) {
|
||||
virReportOOMError();
|
@ -0,0 +1,429 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.6-r1.ebuild,v 1.1 2013/07/01 14:07:41 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
BACKPORTS=9eea7e71
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit eutils python-single-r1 user autotools linux-info systemd
|
||||
|
||||
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/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/${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 firewalld fuse 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 \
|
||||
systemd"
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )
|
||||
virt-network? ( libvirtd )
|
||||
firewalld? ( virt-network )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# 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 )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6 )
|
||||
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 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
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? ( virtual/udev >=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]
|
||||
firewalld? ( net-firewall/firewalld )
|
||||
)
|
||||
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"
|
||||
|
||||
LXC_CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_SCHED
|
||||
~CGROUP_PERF
|
||||
~BLK_CGROUP
|
||||
~NET_CLS_CGROUP
|
||||
~NETPRIO_CGROUP
|
||||
~CPUSETS
|
||||
~RESOURCE_COUNTERS
|
||||
~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
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK="~MACVTAP"
|
||||
|
||||
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
|
||||
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
kernel_is ge 3 6 && LXC_CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP ~MEMCG_KMEM"
|
||||
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+=" ~FUSE_FS"
|
||||
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 "${FILESDIR}/libvirt-1.0.6-CVE-2013-2218.patch"
|
||||
epatch "${FILESDIR}/libvirt-1.0.6-virinterface-udev-backend-ro.patch"
|
||||
|
||||
epatch_user
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
|
||||
# Tweak the init script
|
||||
local avahi_init=
|
||||
local iscsi_init=
|
||||
local rbd_init=
|
||||
local firewalld_init=
|
||||
cp "${FILESDIR}/libvirtd.init-r12" "${S}/libvirtd.init"
|
||||
use avahi && avahi_init='avahi-daemon'
|
||||
use iscsi && iscsi_init='iscsid'
|
||||
use rbd && rbd_init='ceph'
|
||||
use firewalld && firewalld_init='need firewalld'
|
||||
|
||||
sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
|
||||
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=""
|
||||
|
||||
## 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)"
|
||||
myconf+=" --without-xenapi"
|
||||
if use xen && has_version ">=app-emulation/xen-tools-4.2.0"; then
|
||||
myconf+=" --with-libxl"
|
||||
else
|
||||
myconf+=" --without-libxl"
|
||||
fi
|
||||
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)"
|
||||
myconf="${myconf} $(use_with fuse)"
|
||||
|
||||
# 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)"
|
||||
myconf="${myconf} $(use_with firewalld)"
|
||||
|
||||
## 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"
|
||||
|
||||
# systemd unit files
|
||||
use systemd && myconf="${myconf} --with-init-script=systemd"
|
||||
|
||||
# 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
|
||||
export VIR_TEST_DEBUG=1
|
||||
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} \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/examples \
|
||||
SYSTEMD_UNIT_DIR="$(systemd_get_unitdir)" \
|
||||
|| 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
|
||||
|
||||
use python && python_optimize
|
||||
}
|
||||
|
||||
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}"/usr/lib/sysctl.d/libvirtd.conf "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# 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
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.6.ebuild,v 1.2 2013/06/04 21:46:22 cardoe Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.1.0.ebuild,v 1.1 2013/07/01 21:10:38 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
BACKPORTS=9eea7e71
|
||||
#BACKPORTS=9eea7e71
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
@ -1,7 +1,29 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX crf++-0.54-gcc46.patch 297 SHA256 1725711e299ccf9531d97dd087af17477aa94009b5f36b7dd16372353a3e758b SHA512 3390be3aee788af08969a02ebcc4a645537d635e47091da528a6fa1a3d43a20e677287d47070bdc97b3b0c4f8aeabd5a5c107d598919a5e9882ef180f704c390 WHIRLPOOL da1a38907606e3886a2713091674aa7da7c51c1a5226fdbb611bed339bafabcceb934c0b8d0826ae778b3953b1e0bbb5bdb4a8a41871121745002d48830d5d07
|
||||
DIST CRF++-0.53.tar.gz 805150 SHA256 8a909ed9bd2495c82389a5325f9c50a0dd6232f67150b0ddb89c73633ab32dea SHA512 ebb75ee3e1f32900e57ce6007e4a4910daa12c172eac675b19d878e99ff56ffb3702d36488b5bdc3d81e20ef45ad7f2a09a3203d82013689e85dfbe03da638e9 WHIRLPOOL 85c1888c58eb24f52333365c899487378bb21176abf40f9687d24a0fed1712c9b71904bf90dac969de256dc680f3253a850c17a4e3f964493fb263141b70e6a0
|
||||
DIST CRF++-0.54.tar.gz 809008 SHA256 8dab6e9ab71212b3d223588f6855384f2b29dada0a30d450266f8990ced63354 SHA512 4198ad9423776a44d02db51a655a35f36db767ec623f55de426b3415179ac7187b91d23c6ef9a2cf3d1c38e14507fc7681006ff2ba50dcfc771a7d5e9d1c5760 WHIRLPOOL 6e09affc37cee8bda9df1b7a919f386e026f4218a5ccda7e677b7a172887aba7af85db2357ea1ec51c8122115bb558183e242315d2991b4745df6ce90835cda4
|
||||
DIST CRF++-0.58.tar.gz 790570 SHA256 9d1c0a994f25a5025cede5e1d3a687ec98cd4949bfb2aae13f2a873a13259cb2 SHA512 676b3e9ed89b5fb2f246175b58c384f10cab09fff8329c07311fed3832f55dbad26a25d2946c9efaa75cd8026517cb9e1742bb70ca26187367747852073e4eb9 WHIRLPOOL 87f642639c0d670a7926d99630f2230fffbbea1e02976fc8f47dc580dcbfffdca6e2e066445e7bd28fb517dd5f3798af9fda6549c54fd5278f3570befc155ee6
|
||||
EBUILD crf++-0.53.ebuild 989 SHA256 f261415fd8b266803937c2c7d84694647a4023ee8ac36cd1eff37c7b5431942d SHA512 9b0a43c34a4497310f2eab938f6aca885484a6b6cd6b5684dd114b4edd357e038b15b2e1e5742ca87b50fb8e663dd631930db9c0246c01cd1cc447827b33897e WHIRLPOOL acaaf7152aaea51417e8e5383f8166d510055fb021b310beaaaef88d1cd2d027979c780f2d42770e58d0c77a1c765a041909db93592c075708e5451876dc3fa6
|
||||
EBUILD crf++-0.54.ebuild 1225 SHA256 58350969ab8b6ea9e508a120337b9840b2871cdda2736ae8bfcebb71905f73e4 SHA512 f9b43e27f71d9b9adf80985f2ef29878c46cc41894870652b21b8929b0eb777b748bc6de2cb50d0f36e726d8a944aa9ad701e28dc0a0524aabe34e5e25a908bd WHIRLPOOL bb67e13dbd052e7d1bef147964190b29646d1804f9ddd47a6c2a039fcc7be47228f6deb19d9549a4a454c127bce92653af76841c9a13b8a8edfcfad1d86ad0ef
|
||||
MISC ChangeLog 2465 SHA256 adf03298d2e223f4e629aaa4b84b0c55dc5259fc873d5bb607ebd463719b369a SHA512 49c3e563d820fbd8d528c6a0d4ff0e01a3418cfce1b3cd17bb9e381761fa063fec2eaa1c6c6e5a5f2c519cd4fe58567998adcf63c0f70d4c699dbb90a72624ce WHIRLPOOL 9bbd621fcec308dc32ac51bdda30c5676f37dcddd863282c8a6bec42e9a4fb1a29b1084ccd6c501a406e57dd884e38882be24c40e919a9a45b238fd16c8b7780
|
||||
EBUILD crf++-0.58.ebuild 1201 SHA256 6a75a7165f558b1ef520cb474ac801df320e6c1b5bd235706ef6d1adcb1c4906 SHA512 df3e3b287af06bb6b8f2ea7e7e14afc1c0967e0600308209170c81e4e86e8cb623c2bfadfa91882e9a0e1bf7f378fd34b54df9541166d3e794b2812d0d20b428 WHIRLPOOL 204566441d02733a3c2d165ab5d4b47f1d598e8fbc24733df5eff2ef404449d1a524d737c196f9c6611f80aeb2ac2e716c493beb1b9f7414d134d47b10fe04b8
|
||||
MISC ChangeLog 2573 SHA256 8a5ca4d562008b7fb9b0d2dc60bf50a91c450fada7f13eea2d4f006656886687 SHA512 53a90275a4edc5638cf7d9766be2029173be03441b6c276d5de09f893f0b5f973c221578c828771d18d9d30fe6c037a235b1719c2ca86be0a37f9cc32e331428 WHIRLPOOL 4ed08e4bc6ec2612aa978f9ef824bc08a65f7b9da535af81361f79deea62a6c653643567ee08f5df223e94a554b5de1a9572a73a137c028b68133fb3377a9206
|
||||
MISC metadata.xml 514 SHA256 4aa1a1802d15e65720e26efa11ac8910331265053d2b3c5884164eef07106e0b SHA512 f68c498b253fffcf41857ac02d838c606986320525c1b6da26596692348fca0ccbf68eaf18c8daeb87316c205c1d846b8c2654e6fd20f578f9619ffcbe10bce4 WHIRLPOOL 79d45e8ecad78069f7269fdbfc557ad1fcb45f29a7e9bc99ebc2626a852d2ce0a1a374757b1ab6b7660b42933d127f63ec441563390643dd06f13b54a623f10d
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJR0jYWAAoJEDYO1FT4VRUUPlsQAJJWhYEY/ZZOBxif/llYxXtU
|
||||
drsRzhkK2a1bCuR5puq/45nZrRbmRlNdf0hAdHkfnBso/WquZhvUNGDT3ouanFeZ
|
||||
koaIuBf61r7/qIse5xNy7D7Fp5jiL8AkaM7tU+zlYC5aKSVO5V3RNUoRYeoFSCv2
|
||||
Z1W2VFk1u8p8h+PGM3J11QMbXkUWcaMuQFaR9CYFRYvg2QHmvkjPAXLSBOeGVfrv
|
||||
1+rvuDRO4SJ+FL1cLcavBkHU2vTd4wqcYd/42gFL622beLOR3Ce0WBbr/ry+g8vi
|
||||
B67LllbvIzdsevwxiK29WNUPWioA3Ee6DDKtf/bQFFR8MN5erkyIdRnmr8DIkySz
|
||||
9CyxR3fSg/gdHaXXG/luMxe/9dkHdrQITc3dZaNuGW3fmhCzqFYPApnsMxtzz/zP
|
||||
xUlCZNmG1RBGuHhkl4zd1hbm45NUeqKYDIkqdKsqXFO/oXH6GqpMRA8TU4KpLDEJ
|
||||
ACOeca9CenrVw8L0PgujkHcMIKyXBgwTs1775fBsv9frq6Igm7PjibxX3KFbhzvf
|
||||
p9Q26De9seiCxxaK+NfpVVnRE0Z0kSb6+WtRiqNQF4I4GKi9KmCxhmBxtRHhncoF
|
||||
9dIpHd19elqmv1KL3XVBo4tblXcrBnnJQmPZ5dn05gBSb3BgzVQWmpqrpn7o/Bq9
|
||||
5IAPAigxnx8cD5e4dSTH
|
||||
=/ZPl
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/crf++/crf++-0.58.ebuild,v 1.1 2013/07/02 02:08:16 naota Exp $
|
||||
|
||||
EAPI="3"
|
||||
inherit autotools eutils
|
||||
|
||||
MY_P="${P/crf/CRF}"
|
||||
DESCRIPTION="Yet Another CRF toolkit for segmenting/labelling sequential data"
|
||||
HOMEPAGE="http://crfpp.googlecode.com/svn/trunk/doc/index.html"
|
||||
SRC_URI="http://crfpp.googlecode.com/files/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( BSD LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
||||
IUSE="examples static-libs"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/CFLAGS/s/-O3/${CFLAGS}/" \
|
||||
-e "/CXXFLAGS/s/-O3/${CXXFLAGS}/" \
|
||||
configure.in || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static) || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
for task in example/* ; do
|
||||
(
|
||||
cd "${task}"
|
||||
./exec.sh || die "failed test in ${task}"
|
||||
)
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name "*.la" -type f -delete || die
|
||||
fi
|
||||
|
||||
dodoc AUTHORS README || die
|
||||
dohtml -r doc/* || die
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r example || die
|
||||
fi
|
||||
}
|
@ -1,4 +1,15 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST kaa-display-0.1.0.tar.gz 40263 SHA256 72cfe231feae7b860b9e00fb2d83e1cb54f0d38719267a4701818c4c8aa6e922 SHA512 dec20eb8830567b07248fd4733d7576c9dfbe4f8577d4326e82baf434034e2b6105d3a6cf561f074fcf29b328d2daf6faf6a18dc467b030a3814d953b44a0b1b WHIRLPOOL 6da8fb77f155c8814e1af60364a89955330dd78238748aded1b0e64e503e38994f597462f0b3eeddfd7654f049fb8a7d03853e7174d11217916ea4074760ec1c
|
||||
EBUILD kaa-display-0.1.0-r1.ebuild 807 SHA256 97e02740027d1aa309f84467129b6ae95724c631a420b4680addc5300f24cb05 SHA512 56576d9bdd5baa198b5482814a6d3c690aff9bb7cee902198a15e6b7dd941213daecf2a6ab77bdadb10df94f30d826ed122bc4b3373c3fbced310a5484d2bd4f WHIRLPOOL 700e0a286f556ae5a4322d3ae2423a7cc6b07e12add7e2c1c85701ab9511dc5728f876ed639e774fed7d6f02fc67c36dff5fe38660e453be8e80329c70d1d76c
|
||||
EBUILD kaa-display-0.1.0.ebuild 807 SHA256 f909704a2ac15fb310d357ecccae331d8bd45eeab5de01b26514bbe9f26333f1 SHA512 b3eda3cc0c9cb72e0eac02a6a929b4e1ab3c144bab56a739735794306e86344fb89350e6366d949d94f1941c279093c7f0da9f69d905a54d5b7314a0c690144b WHIRLPOOL d140dd8757b762ffdea3499c2c34cdd2f159e19531f289bfb74f2cef986bddc288de71c7f2edf082c553b7c93dcc877fc6a86c00ded493e753e0e58363e7e5fe
|
||||
MISC ChangeLog 1424 SHA256 83b97c15fe766d75694698e0b6d12156db7cd64479a75abfaafe7896a6604df1 SHA512 b5c582db1242dcda32b31a98cdb588287ebbb136344f07c0bc88d6d3c02af5fe9dfcd463de7bb32535ab473921efc25cffa88903fdf61aba40426065118ea80b WHIRLPOOL 22034ca1251cd306cdc9047478c165ff0bdb8992cc08b30f727d73942df37af7f2ed7fdfeabfaa7abed462b5d9f21165259a6ca155e0185f18b27bd2ec2685da
|
||||
MISC ChangeLog 1578 SHA256 52170dfa93e1dfb3d9b446c5703603164105c45e9cfc40e4ee7a8653360ee835 SHA512 d0bd542d8e86d491c6106ab1334432c4577a372820ac712f3624ee62ccca1d5f8e8e10f031c7cb068405662f8d69e6b1845f42a108d28d9b5cf752516ebbe7d8 WHIRLPOOL ad09a08f9e3eec63787d0e21f60dd1f941c1c0aa1ebb9c3a551eb7fce748929cfd44dbbceab14a549372ac2f38bda32d94f9ef0c80d3c14d4ad6a9b91a0a9524
|
||||
MISC metadata.xml 160 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a SHA512 7c02a1de1ddcb6b7c6378cceff0458da3a15d5381417f7cdf01874e7c372664b8899863f41b3a2fd8d6ad67ceb732dac6da0cc17575bf8e3e6d89480417c6628 WHIRLPOOL ed2795e4466eda8c804d5067c87386e269a59fe959393057ca5ddc36851e00f5210c4da1adf4bbdfdbb7d1d3d5c60aced25727ca12fdc8305d9e263a3aca9b13
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlHSMkUACgkQso7CE7gHKw0uyACcDN5ttnQI6aRSSF43Hs+gY+RX
|
||||
YmoAoNAE9XI/2NIuoYOzeFXT4LkRi+fn
|
||||
=nc+k
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/kaa-display/kaa-display-0.1.0-r1.ebuild,v 1.1 2013/07/02 01:51:50 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python API providing Low level support for various displays, such as X11 or framebuffer."
|
||||
HOMEPAGE="http://freevo.sourceforge.net/kaa/"
|
||||
SRC_URI="mirror://sourceforge/freevo/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-python/kaa-base-0.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/kaa-imlib2-0.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygame-1.6.0[${PYTHON_USEDEP}]
|
||||
media-libs/imlib2[X]
|
||||
>=x11-libs/libX11-1.0.0"
|
||||
RDEPEND="${DEPEND}"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
@ -1,5 +1,16 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX kaa-imlib2-remove-png-dep.patch 387 SHA256 8f1c578f5b1ff70dba7e6e8a8ca40e89dc6e25d25fb6b0e47b7efbc212765054 SHA512 70434172fcdfa29889a8fd53ff504a6aa33e2f630ae76020894f776c81f8dd1923b0aa9d9460ee41ea1b973650835a735efee82cd27c83cff7b4f5d27e074c5c WHIRLPOOL 00ade8c9cca291cfa47a888bbe4683de716afb94265621145809f94b14ab5e7e7b1d1640ecd89ecc1984c7b1aaa256854539bc777848ce1b6a4d1ad7097007a3
|
||||
DIST kaa-imlib2-0.2.3.tar.gz 30671 SHA256 44eec202450edadfdac91a44be191b7fbba6225e90a6595443c422d1928f39c6 SHA512 417e473befba7360160db8296fb20de9689f6620bf0940b35e68b4abf00ec49ffadf95f62b7c6baaf1465b6c69c2d14b149d9ff3a4a8450e5966cf53f160a5a0 WHIRLPOOL 480d3e0b51cb93c4c53c6734844e6fddbfba3ed81e0d4b40493e254c39375276e3d52c108cef488f8551d58e73a196d8bb3a3e73a48e9fcf98d1158106c10e9d
|
||||
EBUILD kaa-imlib2-0.2.3-r1.ebuild 785 SHA256 f1a605e6ae45d23f0510861ea8e87744444635c6cba619279dbef83fcc6492ee SHA512 700da21221f6c8c565a993bc0dfde8a848f4b76bceaab4c4c109c1aea60fd4837021f1680e0948cc336615b1104aececce360e57bca1c758d2247f51d99da4da WHIRLPOOL 47e06422e28d35f47e9b72acede622114b0c3ef29e138f640e89b4d95c8f4e093e65fefa00a0c3512e59922ac407093b320292677c6ce72613eb4282478fd719
|
||||
MISC ChangeLog 2377 SHA256 dceb26575f6187746c9ce546d1e6292e66956b8ff3c00a5b8bef2cec8d5e1656 SHA512 4b9ec7ae635a1b844c05fd9222f368f985a57d6cf9dae804d72baf54b63bb39528e5a0068c29575cbc1a0492f3f675bbeb1ae62cdae360e54ddb6fe0c3a6e24f WHIRLPOOL 1c3bcacdd07b8d25c15ec0702be99540f87e84a2560b0df879001ceb17ee2b70162f401e7dd5f49d4f186341bb3c95f4fcd2240330b83748fc538c1351b344a6
|
||||
EBUILD kaa-imlib2-0.2.3-r2.ebuild 706 SHA256 c8f79d2740ec9ac303976ccf0ad4f90a93fa01357d35d09d19bcd6d24bbf6028 SHA512 208eabc435bda6d102aa75ec3a3641f9e505e45dc1b79418fd967084916277c870e7910d0cf655b3e87044fc92641f75f7a7717d6cb6ad1ff9267be4f4292be2 WHIRLPOOL 7f13f556237e9dff8d14f474331897900b74b70bba0b73d8a5fd4aa3799668d950be5d5f50ec36e4562655a5b6b07acd422dae62e69818fcc5ceb0aea2fbfdff
|
||||
MISC ChangeLog 2526 SHA256 5645a83f9895b51302d060d714f17b1d9b6f3c494cc7f4b871fa5790fb6bd451 SHA512 11ebbca7d44100ea77434b74d06f2cafd96d52f69ed79202745407a4bfbabf8639fd692533c66c088d3e8f5e0ffe34569436fd9afcf6f0cab70f15a4a2de29b2 WHIRLPOOL b63f4e2a12e49ad971273d6d36d49dd12bc814d3ff4f3acc1f3e777611d4aafc73078b03c8e02c128547675b3abe2ac2fc97fa9c1b0da30264f8143e4b3c203d
|
||||
MISC metadata.xml 243 SHA256 5ec1dceb657a0b32a992a1efa9bbdf689d8b5cbeb08388903a5c3caa3542c0cf SHA512 679824e28677297da9aa138589ee73c0ea493759a55257089bd2f0fecf3b355b17c055dbbea38eba2ed286acf7de4ef52e32820965612dd85ff2c7ba09d8f474 WHIRLPOOL 0d8663d7906f0ae7a920b5ca898d42d47072b789c600d570071cceec1cb38c257617210531da38151730ef5a4fae40af8272b7d2fb6f43e201d821208c963b58
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlHRn9MACgkQso7CE7gHKw1mxgCgsLj2HxLufxlcNObFNxikY4vG
|
||||
Br4AnAt3E+RQSsatuhLf+lxWzFoMDv0S
|
||||
=LCrw
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/kaa-imlib2/kaa-imlib2-0.2.3-r2.ebuild,v 1.1 2013/07/01 15:26:58 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Imlib2 wrapper for Python."
|
||||
HOMEPAGE="http://freevo.sourceforge.net/kaa/"
|
||||
SRC_URI="mirror://sourceforge/freevo/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-python/kaa-base-0.3.0[${PYTHON_USEDEP}]
|
||||
dev-libs/libxml2[python]
|
||||
media-libs/imlib2"
|
||||
RDEPEND="${DEPEND}"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PATCHES=( "${FILESDIR}/kaa-imlib2-remove-png-dep.patch" )
|
@ -1,4 +1,15 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST kaa-metadata-0.7.7.tar.gz 257513 SHA256 7466058f1f69e40a9e26c8e6219c13c3a4f1b5228effc88035d9f4fe287cf450 SHA512 a6ac02e4887cc0489903cf57f55666b30e1351a958572117a867285f34639bcd7302450177f0471cc4bf0ad02d8a42d1f015cd237948610357bdc2e2fb9cc131 WHIRLPOOL 2116f304b826e906ce150ee4b321085b1f2d10ed5c929d8a333c9a5b0d63304e56a3cf91212ab100d78f0a7eda0991ba3824c687f1ddebaa9b8f76626c73088c
|
||||
EBUILD kaa-metadata-0.7.7-r1.ebuild 917 SHA256 d81382dd9498cda78edb960848c81c37e62edb25388c8e6f6c5ef2ad826c07a5 SHA512 b9a6f7a352757d79723089f2067133d4dbed2e7de97e2f8b55becf6aebe99507e4e75e8bd6d8f8c61152b9ce1b444beedba914d050ce941b3f24f2099d3633d4 WHIRLPOOL 1285dbad6b7c82fc1b9b736b7bcde7ec160b21955f27692bc8486dfd029360ac70d664a41eedc210d10e44cab35c975c1cdd0e537ea0121f9f264bff73c5abeb
|
||||
EBUILD kaa-metadata-0.7.7.ebuild 962 SHA256 22d93f101d566e7daf8fbc2eba97d3fa96a792f5146345837a4e3d0765c392d0 SHA512 16b3ea93ff89bc26db0e3fb4674aab854ae328b472912c93e2ec71240ed73e03eeb93b7bba4f6c513b66eb54f95ee39f65869394a290fbccc5d697e520b8fe8c WHIRLPOOL 31821dfa379c810548d33dfde9689d58a89a092cb0cc7e50ee10932c8bb644cd5379ee551e6687d5372a13cad52416f05ebf768558baa8fe715687ca4d7387c7
|
||||
MISC ChangeLog 3104 SHA256 7cc9cf90d267a350b497d3ec10fa5094e0a339331537b16df7e2cfc28f178a2a SHA512 8e1dae0edab579c38706c1eee419ae30eb410cad2541d3bff82c2afa66725243fee82a0dd2c7511a8c07ab50ff6983793a216372fa3876d3d41bbc65874a7364 WHIRLPOOL 4c003853422cb3b674538e0434304a9e4c1dffa2f449177ff125938dd118a568833572fe88c0d24f3f2cdb191858a9d2f26fa8bad743478e9596114ba70f8642
|
||||
MISC ChangeLog 3257 SHA256 2ac2a27deddf058361346f5cb78b035fca59770f286c4d1185840c2f4ffc3520 SHA512 4a27b1c406f98fa24cbbfdb1ac3521cce58bcb635137ea2d3ca1e8d41c8099d6e5ae0592da404edf5a0886592c4fc486ddaaf0397291f947bbbd97e678f57526 WHIRLPOOL 7bd71c882857d78a080b82fdff60cd24d9ee024f0f0476907ffcdadfef605831b98d47c41ede3a701d55f22032345114b6ca1bd7b551d918ac0f280e82e761d0
|
||||
MISC metadata.xml 445 SHA256 47cd3f58919ac8f2c15978d58504231be1311db32082c07b95d97c734e9a0df1 SHA512 a2179e42c69f024e19f679c341d531a61dc4f596e78d3dec0e723e8fe7bc740c2d495cc2da92926ecdc614a3f2dbd4ab4d0183c77c1a08e66d62753c711504ba WHIRLPOOL 4cdb0bd475cdd4de4583995fa7ec92ab3c39eb4a0c12daef54a21e9cbd3324b4e0760294ad880f07f397eec9433287c68e70f89bd1d0f1ced903ba7ad4dc7cb8
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlHSNHAACgkQso7CE7gHKw0gnwCgogFijyIFEd9bwtwO270K4PSZ
|
||||
vOQAn1dBcJU12id0DVYJ+cr/1VJmCRRr
|
||||
=eIJY
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/kaa-metadata/kaa-metadata-0.7.7-r1.ebuild,v 1.1 2013/07/02 02:01:14 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Powerful media metadata parser for media files in Python, successor of MMPython"
|
||||
HOMEPAGE="http://freevo.sourceforge.net/kaa/"
|
||||
SRC_URI="mirror://sourceforge/freevo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="css dvd"
|
||||
|
||||
DEPEND=">=dev-python/kaa-base-0.3.0[${PYTHON_USEDEP}]
|
||||
css? ( media-libs/libdvdcss )
|
||||
dvd? ( media-libs/libdvdread )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable experimental exiv2 parser which fails to build.
|
||||
sed -e "s/-lexiv2/&_nonexistent/" -i setup.py || die "sed setup.py failed"
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
diff --git a/mwlib/nslave.py b/mwlib/nslave.py
|
||||
index d3f8fc0..cccfc7a 100755
|
||||
--- a/mwlib/nslave.py
|
||||
+++ b/mwlib/nslave.py
|
||||
@@ -184,7 +184,7 @@ class commands(object):
|
||||
return doit(**params)
|
||||
|
||||
|
||||
-def start_serving_files(cachedir, port):
|
||||
+def start_serving_files(cachedir, address, port):
|
||||
from gevent.pywsgi import WSGIServer
|
||||
from bottle import route, static_file, default_app
|
||||
cachedir = os.path.abspath(cachedir)
|
||||
@@ -195,7 +195,7 @@ def start_serving_files(cachedir, port):
|
||||
if filename.endswith(".rl"):
|
||||
response.headers["Content-Disposition"] = "inline; filename=collection.pdf"
|
||||
return response
|
||||
- s = WSGIServer(("", port), default_app())
|
||||
+ s = WSGIServer((address, port), default_app())
|
||||
s.start()
|
||||
return s
|
||||
|
||||
@@ -212,10 +212,11 @@ def make_cachedir(cachedir):
|
||||
def main():
|
||||
global cachedir, cacheurl
|
||||
numgreenlets = 10
|
||||
+ http_address = 'localhost'
|
||||
http_port = 8898
|
||||
serve_files = True
|
||||
from mwlib import argv
|
||||
- opts, args = argv.parse(sys.argv[1:], "--no-serve-files --serve-files-port= --serve-files --cachedir= --url= --numprocs=")
|
||||
+ opts, args = argv.parse(sys.argv[1:], "--no-serve-files --serve-files-port= --serve-files-address= --serve-files --cachedir= --url= --numprocs=")
|
||||
for o, a in opts:
|
||||
if o == "--cachedir":
|
||||
cachedir = a
|
||||
@@ -227,12 +228,14 @@ def main():
|
||||
serve_files = False
|
||||
elif o == "--serve-files-port":
|
||||
http_port = int(a)
|
||||
+ elif o == "--serve-files-address":
|
||||
+ http_address = str(a)
|
||||
|
||||
if cachedir is None:
|
||||
sys.exit("nslave: missing --cachedir argument")
|
||||
|
||||
if serve_files:
|
||||
- wsgi_server = start_serving_files(cachedir, http_port)
|
||||
+ wsgi_server = start_serving_files(cachedir, http_address, http_port)
|
||||
port = wsgi_server.socket.getsockname()[1]
|
||||
if not cacheurl:
|
||||
cacheurl = "http://%s:%s/cache" % (find_ip(), port)
|
@ -0,0 +1,14 @@
|
||||
# The port to listen to
|
||||
MW_QSERVE_PORT=14311
|
||||
|
||||
# The interface to listen to (for example: 127.0.0.1)
|
||||
MW_QSERVE_INTERFACE="127.0.0.1"
|
||||
|
||||
# The user running the mw-qserve service, defaults to 'mwlib'
|
||||
# MW_QSERVE_USER="mwlib"
|
||||
|
||||
# The group running the mq-qserve service, defaults to 'mwlib'
|
||||
# MW_QSERVE_GROUP="mwlib"
|
||||
|
||||
# The logfile collecting all output from stdout and stderr, comment out for no logging
|
||||
MW_QSERVE_LOGFILE="/var/log/mwlib/mw-qserve.log"
|
@ -0,0 +1,21 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/files/mw-qserve.initd,v 1.1 2013/07/01 13:56:29 dev-zero Exp $
|
||||
|
||||
description="mw-qserve is a job queue server used to distribute and manage jobs"
|
||||
|
||||
command="/usr/bin/mw-qserve"
|
||||
command_args="--interface=${MW_QSERVE_INTERFACE} --port=${MW_QSERVE_PORT}"
|
||||
|
||||
pidfile="/var/run/${SVCNAME}.pid"
|
||||
command_background="yes"
|
||||
|
||||
start_stop_daemon_args="--user ${MW_QSERVE_USER:-mwlib} \
|
||||
--group ${MW_QSERVE_GROUP:-mwlib} \
|
||||
${MW_QSERVE_LOGFILE:+--stderr ${MW_QSERVE_LOGFILE}} \
|
||||
${MW_QSERVE_LOGFILE:+--stdout ${MW_QSERVE_LOGFILE}}"
|
||||
|
||||
depend() {
|
||||
need net localmount
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
/var/log/mwlib/mw-qserve.log {
|
||||
su mwlib mwlib
|
||||
missingok
|
||||
postrotate
|
||||
/etc/init.d/mw-qserve restart > /dev/null 2>&1
|
||||
endscript
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
# purge mw-serve cache directory
|
||||
# --cache-dir=DIR: the NSLAVE_CACHEDIR directory specified in /etc/conf.d/nslave
|
||||
# --purge-cache=HOURS: remove cache files that have not been touched for at east HOURS hours
|
||||
00 23 * * * sudo -u mwlib mw-serve-ctl --cache-dir=/var/cache/mw-serve --purge-cache=24
|
@ -0,0 +1,20 @@
|
||||
# The port on which the mw-qserve service is listening
|
||||
MW_QSERVE_PORT=14311
|
||||
|
||||
# The interface on which the mw-qserve is listening (for example: 127.0.0.1)
|
||||
MW_QSERVE_INTERFACE="127.0.0.1"
|
||||
|
||||
# The port to listen to
|
||||
NSERVE_PORT=8899
|
||||
|
||||
# The interface to listen to (for example: 127.0.0.1)
|
||||
NSERVE_INTERFACE="127.0.0.1"
|
||||
|
||||
# The user running the nserve service, defaults to 'mwlib'
|
||||
# NSERVE_USER="mwlib"
|
||||
|
||||
# The group running the nserve service, defaults to 'mwlib'
|
||||
# NSERVE_GROUP="mwlib"
|
||||
|
||||
# The logfile collecting all output from stdout and stderr, comment out for no logging
|
||||
NSERVE_LOGFILE="/var/log/mwlib/nserve.log"
|
@ -0,0 +1,24 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/files/nserve.initd,v 1.1 2013/07/01 13:56:29 dev-zero Exp $
|
||||
|
||||
description="nserve is a HTTP server which distributes received jobs to a mw-qserve instance"
|
||||
|
||||
command="/usr/bin/nserve"
|
||||
command_args="--port=${NSERVE_PORT} \
|
||||
--interface=${NSERVE_INTERFACE} \
|
||||
--qserve=${MW_QSERVE_INTERFACE}:${MW_QSERVE_PORT}"
|
||||
|
||||
pidfile="/var/run/${SVCNAME}.pid"
|
||||
command_background="yes"
|
||||
|
||||
start_stop_daemon_args="--user ${NSERVE_USER:-mwlib} \
|
||||
--group ${NSERVE_GROUP:-mwlib} \
|
||||
${NSERVE_LOGFILE:+--stderr ${NSERVE_LOGFILE}} \
|
||||
${NSERVE_LOGFILE:+--stdout ${NSERVE_LOGFILE}}"
|
||||
|
||||
depend() {
|
||||
need net localmount
|
||||
use mw-qserve
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
/var/log/mwlib/nserve.log {
|
||||
su mwlib mwlib
|
||||
missingok
|
||||
postrotate
|
||||
/etc/init.d/nserve restart > /dev/null 2>&1
|
||||
endscript
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
# The address to serve the rendered files to the wiki
|
||||
NSLAVE_ADDRESS="localhost"
|
||||
|
||||
# The port to serve the rendered files to the wiki
|
||||
NSLAVE_PORT=8898
|
||||
|
||||
# The url to serve the rendered files to the wiki
|
||||
NSLAVE_URL="http://${NSLAVE_ADDRESS}:${NSLAVE_PORT}"
|
||||
|
||||
# The directory to save the rendered PDFs to
|
||||
NSLAVE_CACHEDIR="/var/cache/mwlib/"
|
||||
|
||||
# The umask to create files in NSLAVE_CACHEDIR
|
||||
NSLAVE_UMASK=027
|
||||
|
||||
# How many greenlets are allowed to run in parallel
|
||||
NSLAVE_NUMPROCS=10
|
||||
|
||||
# The user running the nserve service, defaults to 'mwlib'
|
||||
# NSLAVE_USER="mwlib"
|
||||
|
||||
# The group running the nserve service, defaults to 'mwlib'
|
||||
# NSLAVE_GROUP="mwlib"
|
||||
|
||||
# The logfile collecting all output from stdout and stderr, comment out for no logging
|
||||
NSLAVE_LOGFILE="/var/log/mwlib/nslave.log"
|
@ -0,0 +1,27 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/files/nslave.initd,v 1.1 2013/07/01 13:56:29 dev-zero Exp $
|
||||
|
||||
description="nslave pulls new jobs from a mw-qserve instance"
|
||||
|
||||
command="/usr/bin/nslave"
|
||||
command_args="--cachedir=${NSLAVE_CACHEDIR} \
|
||||
--serve-files-address=${NSLAVE_ADDRESS} \
|
||||
--serve-files-port=${NSLAVE_PORT} \
|
||||
--url=${NSLAVE_URL} \
|
||||
--numprocs=${NSLAVE_NUMPROCS}"
|
||||
|
||||
pidfile="/var/run/${SVCNAME}.pid"
|
||||
command_background="yes"
|
||||
|
||||
start_stop_daemon_args="--user ${NSLAVE_USER:-mwlib} \
|
||||
--group ${NSLAVE_GROUP:-mwlib} \
|
||||
${NSLAVE_LOGFILE-:+-stderr ${NSLAVE_LOGFILE}} \
|
||||
${NSLAVE_LOGFILE:+--stdout ${NSLAVE_LOGFILE}} \
|
||||
--umask ${NSLAVE_UMASK}"
|
||||
|
||||
depend() {
|
||||
need net localmount
|
||||
use mw-qserve
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
/var/log/mwlib/nslave.log {
|
||||
su mwlib mwlib
|
||||
missingok
|
||||
postrotate
|
||||
/etc/init.d/nslave restart > /dev/null 2>&1
|
||||
endscript
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
# The cache-directory to which the collections are saved, make sure you enter
|
||||
# the same directory as in /etc/conf.d/nslave
|
||||
POSTMAN_CACHEDIR="/var/cache/mwlib/"
|
||||
|
||||
# The user running the postman service, defaults to 'mwlib'
|
||||
# POSTMAN_USER="mwlib"
|
||||
|
||||
# The group running the postman service, defaults to 'mwlib'
|
||||
# POSTMAN_GROUP="mwlib"
|
||||
|
||||
# The logfile collecting all output from stdout and stderr, comment out for no logging
|
||||
POSTMAN_LOGFILE="/var/log/mwlib/postman.log"
|
@ -0,0 +1,21 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/files/postman.initd,v 1.1 2013/07/01 13:56:29 dev-zero Exp $
|
||||
|
||||
description="postman uploads zip collections to pediapress in case someone likes to order printed books"
|
||||
|
||||
command="/usr/bin/postman"
|
||||
command_args="--cachedir=${POSTMAN_CACHDIR}"
|
||||
|
||||
pidfile="/var/run/${SVCNAME}.pid"
|
||||
command_background="yes"
|
||||
|
||||
start_stop_daemon_args="--user ${POSTMAN_USER:-mwlib} \
|
||||
--group ${POSTMAN_GROUP:-mwlib} \
|
||||
${POSTMAN_LOGFILE:+--stderr ${POSTMAN_LOGFILE}} \
|
||||
${POSTMAN_LOGFILE:+--stdout ${POSTMAN_LOGFILE}}"
|
||||
|
||||
depend() {
|
||||
need net localmount
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
/var/log/mwlib/postman.log {
|
||||
su mwlib mwlib
|
||||
missingok
|
||||
postrotate
|
||||
/etc/init.d/postman restart > /dev/null 2>&1
|
||||
endscript
|
||||
}
|
@ -0,0 +1,121 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/mwlib-0.15.8-r2.ebuild,v 1.1 2013/07/01 13:56:29 dev-zero Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1 user 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 server"
|
||||
|
||||
RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]
|
||||
=dev-python/odfpy-0.9*[${PYTHON_USEDEP}]
|
||||
dev-python/pyPdf[${PYTHON_USEDEP}]
|
||||
virtual/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/timelib[${PYTHON_USEDEP}]
|
||||
virtual/latex-base
|
||||
>=dev-python/simplejson-2.5[${PYTHON_USEDEP}]
|
||||
dev-python/gevent[${PYTHON_USEDEP}]
|
||||
>=dev-python/bottle-0.11.6[${PYTHON_USEDEP}]
|
||||
dev-python/apipkg[${PYTHON_USEDEP}]
|
||||
dev-python/qserve[${PYTHON_USEDEP}]
|
||||
dev-python/roman[${PYTHON_USEDEP}]
|
||||
dev-python/py[${PYTHON_USEDEP}]
|
||||
dev-python/sqlite3dbm[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
server? ( app-admin/sudo )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
app-arch/unzip
|
||||
doc? ( dev-python/sphinx )"
|
||||
|
||||
# TODO: requires ploticus to generate timelines
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PV}-fix-tests.patch" "${FILESDIR}/${PV}-nslave-add-address-parameter.patch" )
|
||||
|
||||
DOCS=(changelog.rst)
|
||||
|
||||
pkg_setup() {
|
||||
if use server ; then
|
||||
enewgroup mwlib
|
||||
enewuser mwlib -1 -1 -1 mwlib
|
||||
fi
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} == python2* ]] ; then
|
||||
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
export CFLAGS
|
||||
fi
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use server ; then
|
||||
keepdir /var/log/mwlib
|
||||
keepdir /var/cache/mwlib
|
||||
|
||||
fowners mwlib:mwlib /var/log/mwlib /var/cache/mwlib
|
||||
fperms 0750 /var/log/mwlib /var/cache/mwlib
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
for d in mw-qserve nserve nslave postman ; do
|
||||
newins "${FILESDIR}/${d}.logrotate" "${d}"
|
||||
newinitd "${FILESDIR}/${d}.initd" "${d}"
|
||||
newconfd "${FILESDIR}/${d}.confd" "${d}"
|
||||
done
|
||||
|
||||
insinto /etc/cron.d
|
||||
newins "${FILESDIR}/mwlib-purge-cache.cron" "mwlib-purge-cache"
|
||||
else
|
||||
rm "${D}"/usr/bin/{mw-qserve,nserve,nslave,postman}* || die "removing binaries failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please enable required image formats for dev-python/pillow"
|
||||
if use server ; then
|
||||
elog "A cronjob to cleanup the cache files got installed to"
|
||||
elog " /etc/cron.d/mwlib-purge-cache"
|
||||
elog "Default parameters are to clean every 24h, adjust it to your needs."
|
||||
fi
|
||||
}
|
@ -1,17 +1,24 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST tables-2.4.0.tar.gz 8947724 SHA256 6a2ab6037ccde0636ce47e4475e671c45505029ebded333d403d7252cde18d57 SHA512 12e2b184434807d615ae6b50fc7a2a2daf9dfc94e19474e16fcd9801e0c7f92432dd0772d70657c75f8895d36991965647edcf2560abdad0c2b02c14c6b6cc7f WHIRLPOOL 4fc5dd7bc6d5244df19eb008aeae7806a181cfd5efd7cbcadd216d663dd7a3d942c329dfad04aac4c14bcc118c7150b8dcda2d29f8ed10ae68e2faa2f893c43f
|
||||
DIST tables-3.0.0.tar.gz 6191726 SHA256 53532a59c8f03c3c5ef3c73c04f5bfd8384d6a3d508683cb87fc17af4c71dfe1 SHA512 3486393e2bcf9b4a45787dae030a5399fbda90aba9d49cb6bd681a6fd4ed3d3fa84033f63c600e83e26cffb0f961025cf6e3479d3cf7e96877bc333ef12fad12 WHIRLPOOL 2376eaf0cc08cf3910c2449f2df6881d81a8bca8aaf0e10a41f54327665171b2985a91ceb9ac1e8e077c259ed882644ee7ab69ba6cfc924dd6e5e60fd4d062d1
|
||||
EBUILD pytables-2.4.0-r1.ebuild 1327 SHA256 6ff3b0fab23d4df78f4e33515b9a1290a5baa5854d03358383198fc834002339 SHA512 3a3828ebf37fe8696b37fdb68df611ad429fe02bb33eb8539e2f9900a78a854f8f74ad6979153a84b63220960698c1a49fe0f50d05052385788b6c5cd4261c1e WHIRLPOOL f2bd2d890ce225cedc976a99efdc78c38b6483fa6f82969b7b0cd9cbe6ac72ec7422c7cb4a1b08e684010f9ba339ace9f13eab66cafc253cbe422afe62bada15
|
||||
EBUILD pytables-2.4.0.ebuild 1467 SHA256 d10b03fb253f0bd3f581012beda43fb45e30c2d91f320f7c4a96c241fc04c189 SHA512 4c76a9b0cadf16867f4d438fa8e8d3494608e69d73ed5ea39a4d5bef4101d0e7dd2e72b38f50de4e2aa83246adb289fef9408179b5d14e76a16558785a6b8571 WHIRLPOOL 5258449640f2028fac5550a1840b9ed280adab2693e8c6bd9ad546c8e291114b47d9fdbd871229b6d73d2cfa25126f84db3641a0f89407bf9a3c408379abe311
|
||||
EBUILD pytables-3.0.0.ebuild 1318 SHA256 e7ade44b54a1984c443e6bb8be5752f880163f88407fdf317011efea17dcb754 SHA512 21aaceffaeb25aa2124c970191754d3daf64bec24c816e10579b599b7969d275ff1cbfd11401e6afba25e7094cf4c16fec0bdb6412003ba626f52690a2b3d94f WHIRLPOOL 2462bb16b40a074d4534fad5f2bba4854b61b9ef7c8299faa5e693af9732b47a9d1148b024bb397033487ddae125417b56ff3d3cdcb899784091b1aac1815b9a
|
||||
MISC ChangeLog 7103 SHA256 d0cdd7166ae4ad9033a65088983ea00d13737532c3760c54e3d657783159f885 SHA512 355a3a3c68f1bc55abcfbe7ec95db1f45f5b7483a3dfb213733b993934721c0b9e61b7b8721f7f59ba0239c0d7bd078fe7b4ba26d7da7196f12f00f7a0813ea4 WHIRLPOOL 2b9d5f6e69b4286cc3df5bd85e329870f94f12e0bd511a5e4b90aa8d227d113571915ca30d7170354eb3ff8528e9bc48b3e758811d59bf9489318ba665da16bc
|
||||
MISC metadata.xml 770 SHA256 1185a255b10c1d070989a7c889c4abb76cc5ae3048022ebf525b23e790007304 SHA512 b15fa8f7d3dda01bc449e063d7c7223babbb2d5e1106343c844e7faef8adb1893ab111fa8743c3a6e14e51d8f3addfb14d076899e7f68ee70307ebad26fc058a WHIRLPOOL 8a348eede1f90eb5d4c48fa9238cb16272f6ddbe694bd125b1a25ab50224fcfbbbb18f5b887378bbfffd5b7e5ff76d0f86d7ae37c772757e5a2eb42385d1b9bd
|
||||
EBUILD pytables-3.0.0.ebuild 1419 SHA256 4d4d0e760f1fa8656bb96b80cfdbb5348dac76361b0385ac18f3a02389d79b3a SHA512 7fe02b7297489cff6213fb293586a4b314319307e1e3ea6dc25c925b8e735cae99ba8ac212f1315e15c24af23586f653daf5b72e4bc4e8219f7c58a97012b465 WHIRLPOOL 6b360c66e25756fbb7dd529d66f74f69169ad6bfeb03ad3483203373c047f07aa818b365ba9522d22f59b71bcdedb804698ea772f7e12b2059aa5ba3bf49e5e1
|
||||
MISC ChangeLog 7377 SHA256 88f38e64ee7ee45063ad126e3fb7ebb76e58503de9079e770553c5e18e097d9a SHA512 fdd4d9851fb20dd634d1b7d655bb2aed06f5d225d2ce6ff35707d45af1770f7407658ec1056cd86ef0bfd0b76dce3a5a1dbbdda2e2b8c8ea27f83366630dc5a1 WHIRLPOOL 511be82871c1419236be5db2f37b7acb280bce4c1747640d2b9911bb6cc911cd00abad63b5ea53bb2d5dce0a0599b4a0dbedb1e084231d47a9e71090786a5544
|
||||
MISC metadata.xml 788 SHA256 2eed543f2d381e4783ba823fa2cb770e76b01aa4de412e12cb20b1f5368f376b SHA512 acdad1f776c206b468c15183b936c5984b1c6fc5b700286054ac2f3f6aae182796edf439eb6a22ca49390d9128ed34bebc03982ea6b97dd11201bb9f4750ce53 WHIRLPOOL cc32188e6d15adcbe0155f9eed4e85e19da06e3460ebad4548806f9f281c46fb950a40678d359f03adc164596706176622e6863e72b524d9dc30a8de9ee9ffb0
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlG/p8wACgkQ1ycZbhPLE2Cp6QCdGfwULjTLdUviZ5NEQq0embSr
|
||||
pCsAn2+4M78NsRt170ndBAWpTFXMhOuj
|
||||
=6qL7
|
||||
iQIcBAEBCAAGBQJR0arBAAoJEF0huFKJUZL5pZIP/Aq+gbzldF/FBtW+Fz5gQ6SS
|
||||
mAHhXnIyoZsA+opnx5XGJFSUjPmD49QHfVEtZmRfUf8ONipureQDcQ3KDCAxDdIE
|
||||
Vqc6NlVr17yZVHMYrxzqyGBi0+D1daWg1kw4yzlb8HtCMFwzE1AEsF8nLk9rHuPL
|
||||
nxuSFvsU1P6pxkH2bWz5UMkWyZ+ldAlbigszXZC1rel9+m/+CfHol3D8m99UMJ0t
|
||||
7Ls8UBY8blmSZAsbt4kybyv7+slmKUsvD3Sif/Al+NGUYJYAMa1kBi0habwvkxMu
|
||||
5Cy0bGB2bLUlPnhKgEjuwyx3Mdl1EM2xEzt9e3Y9vDcBfSLhvwHfyiHO32ezNfvx
|
||||
ve8r2GX5G9VY4C9bTMdBkd4yEyXF8l84gTgSWSgyS02NdWANUoYklh3/f8hi0Q7V
|
||||
tDhP4PZaslOck3U5Wzvmr4lmdr7x2CoDwjri89aYzovxF6nj8y6kGZWERELfOD5g
|
||||
aRPThZIn2zhSGFVVKdrcCOwD+1RFe0QP8IApp1F1oWil19K6JGYVXi/9Sk75goXr
|
||||
ZdCxHkyo1FPN5rP/Fq3Bwlg96mIKq79kaRXYQHVc9SRl2oAD1D/xtvMsjx67e0qU
|
||||
K1fGQbIvS0s8SV3Jgx7e5IBXdn/AZfyXH8n847hNRwKk7pPeNaksqXPz3hvk10hN
|
||||
uZrHIs7OKThBUX7tIgX9
|
||||
=oRsB
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-2.4.0-r1.ebuild,v 1.1 2013/05/04 10:31:49 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
MY_PN=tables
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A package for managing hierarchical datasets built on top of the HDF5 library"
|
||||
HOMEPAGE="http://www.pytables.org http://pypi.python.org/pypi/tables"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
LICENSE="BSD"
|
||||
IUSE="doc contrib examples"
|
||||
|
||||
RDEPEND="
|
||||
sci-libs/hdf5:=
|
||||
>=dev-python/numpy-1.6.0
|
||||
dev-python/numexpr
|
||||
dev-libs/lzo:2
|
||||
app-arch/bzip2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/cython"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=( ANNOUNCE.txt RELEASE_NOTES.txt THANKS doc/usersguide-${PV}.pdf )
|
||||
|
||||
python_prepare_all() {
|
||||
export HDF5_DIR="${EPREFIX}"/usr
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${PYTHON} tables/tests/test_all.py || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
HTML_DOCS=( doc/html/. )
|
||||
DOCS+=( doc/scripts )
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
|
||||
if use contrib; then
|
||||
insinto /usr/share/${PF}
|
||||
doins -r contrib
|
||||
fi
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-2.4.0.ebuild,v 1.2 2013/02/28 10:04:29 xarthisius Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
|
||||
|
||||
MY_PN=tables
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A package for managing hierarchical datasets built on top of the HDF5 library."
|
||||
HOMEPAGE="http://www.pytables.org http://pypi.python.org/pypi/tables"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
LICENSE="BSD"
|
||||
IUSE="doc contrib examples"
|
||||
|
||||
RDEPEND="
|
||||
sci-libs/hdf5:=
|
||||
>=dev-python/numpy-1.6.0
|
||||
dev-python/numexpr
|
||||
dev-libs/lzo:2
|
||||
app-arch/bzip2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/cython"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS="ANNOUNCE.txt RELEASE_NOTES.txt THANKS doc/usersguide-${PV}.pdf"
|
||||
|
||||
src_compile() {
|
||||
export HDF5_DIR="${EPREFIX}"/usr
|
||||
distutils_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" tables/tests/test_all.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
|
||||
pushd doc > /dev/null
|
||||
use doc && dohtml -r html/*
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r scripts
|
||||
popd > /dev/null
|
||||
|
||||
insinto /usr/share/${PF}
|
||||
use contrib && doins -r contrib
|
||||
}
|
@ -1,102 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/luatex-0.74.0.ebuild,v 1.2 2013/04/14 15:37:36 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit libtool eutils texlive-common
|
||||
|
||||
MY_P=${PN}-beta-${PV}
|
||||
DESCRIPTION="An extended version of pdfTeX using Lua as an embedded scripting language."
|
||||
HOMEPAGE="http://www.luatex.org/"
|
||||
SRC_URI="http://foundry.supelec.fr/gf/download/frsrelease/396/1876/${MY_P}-source.tar.bz2
|
||||
http://foundry.supelec.fr/gf/download/frsrelease/396/1878/${MY_P}-doc.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-libs/zziplib
|
||||
>=media-libs/libpng-1.4
|
||||
x11-libs/cairo
|
||||
x11-libs/pixman
|
||||
app-text/poppler:=[xpdf-headers(+)]
|
||||
sys-libs/zlib
|
||||
>=dev-libs/kpathsea-6.0.1_p20110627"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/source"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/remove-zlib-version-check.patch" \
|
||||
"${FILESDIR}/includes.patch"
|
||||
S="${S}/build-aux" elibtoolize --shallow
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Too many regexps use A-Z a-z constructs, what causes problems with locales
|
||||
# that don't have the same alphabetical order than ascii. Bug #244619
|
||||
# So we set LC_ALL to C in order to avoid problems.
|
||||
export LC_ALL=C
|
||||
|
||||
cd "${S}/texk/web2c"
|
||||
econf \
|
||||
--disable-cxx-runtime-hack \
|
||||
--disable-all-pkgs \
|
||||
--disable-mp \
|
||||
--disable-ptex \
|
||||
--disable-tex \
|
||||
--disable-mf \
|
||||
--disable-largefile \
|
||||
--disable-ipc \
|
||||
--disable-shared \
|
||||
--enable-luatex \
|
||||
--enable-dump-share \
|
||||
--without-mf-x-toolkit \
|
||||
--without-x \
|
||||
--with-system-kpathsea \
|
||||
--with-kpathsea-includes="${EPREFIX}"/usr/include \
|
||||
--with-system-cairo \
|
||||
--with-system-pixman \
|
||||
--with-system-gd \
|
||||
--with-system-libpng \
|
||||
--with-system-teckit \
|
||||
--with-system-zlib \
|
||||
--with-system-t1lib \
|
||||
--with-system-xpdf \
|
||||
--with-system-poppler \
|
||||
--with-system-zziplib \
|
||||
--with-system-ptexenc \
|
||||
--disable-multiplatform
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
texk/web2c/luatexdir/getluatexsvnversion.sh || die
|
||||
cd "${WORKDIR}/${MY_P}/source/texk/web2c"
|
||||
emake luatex
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${WORKDIR}/${MY_P}/source/texk/web2c"
|
||||
emake DESTDIR="${D}" bin_PROGRAMS="luatex" SUBDIRS="" nodist_man_MANS="" \
|
||||
install-exec-am
|
||||
|
||||
dodoc "${WORKDIR}/${MY_P}/README" luatexdir/NEWS
|
||||
cp source/texk/web2c/man
|
||||
cp man/luatex.man "${T}/luatex.1"
|
||||
doman "${T}/luatex.1"
|
||||
use doc && dodoc "${WORKDIR}/${MY_P}/manual/"*.pdf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version '>=dev-texlive/texlive-basic-2008' ; then
|
||||
elog "Note that this package does not install many files, mainly just the"
|
||||
elog "${PN} executable, which needs other files in order to be"
|
||||
elog "useful. Please consider installing a recent TeX distribution such as"
|
||||
elog "TeX Live 2008 or later to take advantage of the full power of"
|
||||
elog "${PN} ."
|
||||
fi
|
||||
efmtutil-sys
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
diff -ru opensmtpd-201306071637p1/smtpd/smtpd.h opensmtpd-201306071637p1-modified/smtpd/smtpd.h
|
||||
--- opensmtpd-201306071637p1/smtpd/smtpd.h 2013-06-07 16:37:02.000000000 +0200
|
||||
+++ opensmtpd-201306071637p1-modified/smtpd/smtpd.h 2013-06-11 00:54:00.218211581 +0200
|
||||
@@ -1194,6 +1194,7 @@
|
||||
void mfa_filter(uint64_t, int);
|
||||
void mfa_filter_event(uint64_t, int);
|
||||
void mfa_filter_data(uint64_t, const char *);
|
||||
+void mfa_filter_prepare(void);
|
||||
|
||||
/* mproc.c */
|
||||
int mproc_fork(struct mproc *, const char*, const char *);
|
||||
|
@ -1,21 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
Hash: SHA256
|
||||
|
||||
AUX exempi-2.1.1-iconv.patch 660 RMD160 f014eb227453c7e2d4a605926bbd5b7a3d372a3d SHA1 fe24ad0d9ccc3a6a21260e7d7afc0f208bdc238d SHA256 683cfc8032808e28cabb3dff3b8f4dba0d1229e8884924ddfb55ef7a01fd3316
|
||||
DIST exempi-2.1.1.tar.gz 3401564 RMD160 e79500f804e162df340e669deea620408e4926b4 SHA1 f05a4c1d609c0e3cafdf839c16ec46afae1b160d SHA256 b06b67472ff673e2d4257ae0b687ba421af1f9952428e7caead870868c2a4dd3
|
||||
DIST exempi-2.2.0.tar.gz 3555957 RMD160 cb6a3a5f1f61108ff0cc569dd36ad6eda335514a SHA1 d91610c685e6f6df64a2a560be9ace87b06fda27 SHA256 710a01a4e879c3a58304021d8a9624cf8b65f79b2b949951a873c91f6d64d102
|
||||
EBUILD exempi-2.1.1.ebuild 1229 RMD160 1329529e2ace9a154e00db8d09291b5d71f96229 SHA1 e57c3f4c0e657d8a2dabd5a10799f80a3a1967c9 SHA256 fa74c767150db8082b6ccc7ca64853c3036b7e1ddf388f5019551c8d1bb7e934
|
||||
EBUILD exempi-2.2.0.ebuild 1190 RMD160 5493d832c57fefb67bdfac305a59aab0d0128487 SHA1 8ecf4ed6cef0269ccbe98decb0e2dec23e783706 SHA256 0ce8195098cfbcf1a5986d371cbff679b76c587b83e14c666c319d5f0823e71a
|
||||
MISC ChangeLog 3578 RMD160 3f7e34ae3824055967821afcaaeaca5cd9a03fca SHA1 c4ba7c773fe5df7865085e239eb259993e6f4b08 SHA256 201fa4f4f50852f2eef810d15264ea90b34445e1eaa17da79318faad56c6c6be
|
||||
MISC metadata.xml 244 RMD160 244bfcdb5c3c5eab051189d8adf5e572866b8c64 SHA1 580ce8a447f3237ea98b1d289b440bc89245e89b SHA256 552982cb042dce6d0051aef928f3cca7553e6d7327e0556f97f9e6e52e651b6c
|
||||
AUX exempi-2.1.1-iconv.patch 660 SHA256 683cfc8032808e28cabb3dff3b8f4dba0d1229e8884924ddfb55ef7a01fd3316 SHA512 805de3806d20a5e4ca31d0223e79e9da2519d9ddb617af7aaf54f0111850b57fb4e4af330297ec21787a32935063c133ca0f74fb59d58e2fe9f64f0b0ba534d3 WHIRLPOOL 65b8b81b0f5298e364555e14410398225d8d8bf54f4055a51ced359168c207aa62e028c4b351832febfad8adeec2db45b23f626976107acbaa4171d59bd74798
|
||||
DIST exempi-2.1.1.tar.gz 3401564 SHA256 b06b67472ff673e2d4257ae0b687ba421af1f9952428e7caead870868c2a4dd3
|
||||
DIST exempi-2.2.0.tar.gz 3555957 SHA256 710a01a4e879c3a58304021d8a9624cf8b65f79b2b949951a873c91f6d64d102 SHA512 bb477787204bdc2cc8e9949c8407beb5af2aeab8f3e769ce814ee7eaf7476336b68635d6301cfbd600da34b1003c371e624866ec6c3b426d06076ec90c663f82 WHIRLPOOL 4c4b9a69f24c0ea792062e27a25688cc70a58baa6853a7b2a078732e33281c5ee9d9e21488d90a86a1fe28b6f227cfeb64a7e1524a815fa7a30a955fde2e4983
|
||||
DIST exempi-2.2.1.tar.gz 3566843 SHA256 a99e1569047988200e4935cf4395667341a5bd8d6067847a08df4304546cc362 SHA512 f4b97ec7af89924755a0695464bad5081de6a5d6a6f28c06984c051d677f8771c39df12951761ecd28d6ff520ddec4e21179dcba8b58f0ef649bbdad1a53aa9c WHIRLPOOL 622d23cb519f2dda988b7d13dd26be55dd207bfe8ec2f2c0b8b568974571780b51b5284d871a310e461041f1054265efb199cf5c21fcf6eee6619cb85dc335e9
|
||||
EBUILD exempi-2.1.1.ebuild 1229 SHA256 fa74c767150db8082b6ccc7ca64853c3036b7e1ddf388f5019551c8d1bb7e934 SHA512 cb27a23a64bacd9a41af0c5669364c8cb8771b7b0d21190faa591e521695c8f288732884689279758b9dbd73d6cc944b56ddfe761450e2a1ef8b910dde01b28d WHIRLPOOL 9b53566825dc4019d7f58028f23112296c6f01bb168509f2edf190acc60a0bc600a2bb5fad15e23c92dc02a4066c2c5a77a5acedfc3666381a73dd8961c8ca77
|
||||
EBUILD exempi-2.2.0.ebuild 1190 SHA256 0ce8195098cfbcf1a5986d371cbff679b76c587b83e14c666c319d5f0823e71a SHA512 f7fdf6089dbda6de875131c53b2056a03212329bc803e272aaf208a99d9361899550c1139291c846add41e50e2bb67f16ed2bfb0a673ea7a8608f592fd9424c9 WHIRLPOOL a2786d900821031f78e2edfaa260a033d7872b556df6669605e3b850d5597727057da3fbedfabd04b6144a59ae0ad6d2467b9e0c24629d1608ad3b6f316d04be
|
||||
EBUILD exempi-2.2.1.ebuild 1189 SHA256 415d298177261acc04dcabcfe49a5d9cc46db75957e5ae059a395a0e34a3f9e2 SHA512 f96f7a1f4450b743cb7876d2c1dbfe549862369bd9a3c2e0a3f9e52d75eb90467d88c6d838cfcf07bea6983a648175cc298faedcff0e39cd3603f5619d73e9c3 WHIRLPOOL 3742a2b275d4a41a7e4bb7e4f30d673b5becce13d9fc8f9030558b3cb2f076c3c246e6ee5fe90e8352459e995a370db10b1c90f906122e09a36e829422c82dbf
|
||||
MISC ChangeLog 3699 SHA256 c639e2f4852f9f463b363d60527dc0cedc3c82ba207c4123fde013326445cb5c SHA512 93795b4d68b6e9709ce74976133c29e7e4a70ae5a16bb7fcb62551f0309e892390fbe3142284511d57f16d33942977f9e02f06ff429cc5878cd893fe2216a016 WHIRLPOOL bf8143171a54ed077727f7c67667094efa62f3d4373418b2502534b4fb7edf374ba3c9e64e719750fb8f25ec27fbf8926fd404a70ca8658b126f6221c1557d5a
|
||||
MISC metadata.xml 244 SHA256 552982cb042dce6d0051aef928f3cca7553e6d7327e0556f97f9e6e52e651b6c SHA512 9f697206cf152d13b2a3e26645959ab3353a34e4158832139689359aad999114afb8ed80e2f82464674f358434a891d74f2e94079c2c57fc7a125d17e735ff71 WHIRLPOOL 47f92e411c189c765f6665e28402aa0411ebe898b306925cf395ed23085738120fb4075682d6c86f5818de5a3d70cfeca2fda163e3eb83764ba0b4d8dce1fb04
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.18 (GNU/Linux)
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
|
||||
iQEcBAEBAgAGBQJPRU3/AAoJEEdUh39IaPFN1NkH/jPjjCF3gfepjD5ShX/sVbU3
|
||||
DTMMQcY40gaeRjqlGdBB+/zfaWzFKYa2C4E3RjQ2bEAIvhUoOM6HXfxAGVrLw2l2
|
||||
/7z69U251eH9PxAjxu46GGENsR9V8kkBgIJOzMTkue1imz665gC25NScCW+LPbTI
|
||||
tE9ONVeKZRfRCmywKrpX42n/MGItnJnn6rwHkZt0XCIy5ravpnX2c8MOlfOt9O1a
|
||||
f/Q362IUW68ZXdqNlWIHNbYE2L89mb3u/7ajPMkq/KJQCOuUrB9XPOzS5Ph5PyEI
|
||||
0OdGojfC+nWRXhLb8B0QG2/BZpXXaUIMCck6H8I7h725OYxCU4tslUE7n1Mel60=
|
||||
=5euY
|
||||
iQEcBAEBCAAGBQJR0bb/AAoJEEdUh39IaPFNWQcH/1oRERHXmXssH3mG2NW59nOq
|
||||
a8UroPjdPObQsmNKIHxxS+IjgqsAw/hVbie0YTNiV6zzWfeu0NfgTVGXQ/HMjCcP
|
||||
NM1VWAX7Wiu5xXL3aRQscbSJpXOH8xoGm0S0f2NY5bzD6xlMUW9Zxv+SIxpPd/X3
|
||||
Th174p76lPlwvyXkhfsl/0EQOpcSDhKWThOpnLEInrgcyngmAK9V89FR04my2mp3
|
||||
ATj26+X77dR5MLaxkW1FqYzI5uHAiheF1AO31474HoWFHPLe9v0N0N1n8HJeMhAv
|
||||
WZNInSCLXS1kF3GMb0er95ylN759ahs9Ixg03PkoQVY/OjutoTkrhmi2z23Xe5w=
|
||||
=v1Xx
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/exempi/exempi-2.2.1.ebuild,v 1.1 2013/07/01 17:06:50 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Exempi is a port of the Adobe XMP SDK to work on UNIX"
|
||||
HOMEPAGE="http://libopenraw.freedesktop.org/wiki/Exempi"
|
||||
SRC_URI="http://libopenraw.freedesktop.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="examples static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/expat-2:=
|
||||
virtual/libiconv
|
||||
sys-libs/zlib:="
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext"
|
||||
|
||||
RESTRICT="test" #295875
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README TODO"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.1.1-iconv.patch
|
||||
cp /usr/share/gettext/config.rpath . || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--disable-unittest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --all
|
||||
|
||||
if use examples; then
|
||||
emake -C samples/source distclean
|
||||
rm -f samples/{,source,testfiles}/Makefile*
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r samples/*
|
||||
fi
|
||||
}
|
@ -0,0 +1,419 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-9.1.4.ebuild,v 1.1 2013/07/01 23:20:00 chithanh Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/mesa/mesa"
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
GIT_ECLASS="git-2"
|
||||
EXPERIMENTAL="true"
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit base autotools multilib flag-o-matic python-single-r1 toolchain-funcs ${GIT_ECLASS}
|
||||
|
||||
OPENGL_DIR="xorg-x11"
|
||||
|
||||
MY_PN="${PN/m/M}"
|
||||
MY_P="${MY_PN}-${PV/_rc/-rc}"
|
||||
MY_SRC_P="${MY_PN}Lib-${PV/_rc/-rc}"
|
||||
|
||||
FOLDER="${PV/_rc*/}"
|
||||
|
||||
DESCRIPTION="OpenGL-like graphic library for Linux"
|
||||
HOMEPAGE="http://mesa3d.sourceforge.net/"
|
||||
|
||||
#SRC_PATCHES="mirror://gentoo/${PN}-9.1-gentoo-patches-05.tar.bz2"
|
||||
if [[ $PV = 9999* ]]; then
|
||||
SRC_URI="${SRC_PATCHES}"
|
||||
else
|
||||
SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/${FOLDER}/${MY_SRC_P}.tar.bz2
|
||||
${SRC_PATCHES}"
|
||||
fi
|
||||
|
||||
# The code is MIT/X11.
|
||||
# GLES[2]/gl[2]{,ext,platform}.h are SGI-B-2.0
|
||||
LICENSE="MIT SGI-B-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
INTEL_CARDS="i915 i965 intel"
|
||||
RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
|
||||
VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} nouveau vmware"
|
||||
for card in ${VIDEO_CARDS}; do
|
||||
IUSE_VIDEO_CARDS+=" video_cards_${card}"
|
||||
done
|
||||
|
||||
IUSE="${IUSE_VIDEO_CARDS}
|
||||
bindist +classic debug +egl +gallium gbm gles1 gles2 +llvm +nptl
|
||||
openvg osmesa pax_kernel pic r600-llvm-compiler selinux +shared-glapi vdpau
|
||||
wayland xvmc xa xorg kernel_FreeBSD"
|
||||
|
||||
REQUIRED_USE="
|
||||
llvm? ( gallium )
|
||||
openvg? ( egl gallium )
|
||||
gbm? ( shared-glapi )
|
||||
gles1? ( egl )
|
||||
gles2? ( egl )
|
||||
r600-llvm-compiler? ( gallium llvm || ( video_cards_r600 video_cards_radeon ) )
|
||||
wayland? ( egl )
|
||||
xa? ( gallium )
|
||||
xorg? ( gallium )
|
||||
video_cards_intel? ( || ( classic gallium ) )
|
||||
video_cards_i915? ( || ( classic gallium ) )
|
||||
video_cards_i965? ( classic )
|
||||
video_cards_nouveau? ( || ( classic gallium ) )
|
||||
video_cards_radeon? ( || ( classic gallium ) )
|
||||
video_cards_r100? ( classic )
|
||||
video_cards_r200? ( classic )
|
||||
video_cards_r300? ( gallium )
|
||||
video_cards_r600? ( gallium )
|
||||
video_cards_radeonsi? ( gallium llvm )
|
||||
video_cards_vmware? ( gallium )
|
||||
"
|
||||
|
||||
LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.42"
|
||||
# keep correct libdrm and dri2proto dep
|
||||
# keep blocks in rdepend for binpkg
|
||||
RDEPEND="
|
||||
!<x11-base/xorg-server-1.7
|
||||
!<=x11-proto/xf86driproto-2.0.3
|
||||
classic? ( app-admin/eselect-mesa )
|
||||
gallium? ( app-admin/eselect-mesa )
|
||||
>=app-admin/eselect-opengl-1.2.7
|
||||
dev-libs/expat
|
||||
gbm? ( virtual/udev )
|
||||
>=x11-libs/libX11-1.3.99.901
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXxf86vm
|
||||
>=x11-libs/libxcb-1.8.1
|
||||
vdpau? ( >=x11-libs/libvdpau-0.4.1 )
|
||||
wayland? ( >=dev-libs/wayland-1.0.3 )
|
||||
xorg? (
|
||||
x11-base/xorg-server:=[-minimal]
|
||||
x11-libs/libdrm[libkms]
|
||||
)
|
||||
xvmc? ( >=x11-libs/libXvMC-1.0.6 )
|
||||
${LIBDRM_DEPSTRING}[video_cards_nouveau?,video_cards_vmware?]
|
||||
"
|
||||
for card in ${INTEL_CARDS}; do
|
||||
RDEPEND="${RDEPEND}
|
||||
video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_intel] )
|
||||
"
|
||||
done
|
||||
|
||||
for card in ${RADEON_CARDS}; do
|
||||
RDEPEND="${RDEPEND}
|
||||
video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_radeon] )
|
||||
"
|
||||
done
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
llvm? (
|
||||
>=sys-devel/llvm-2.9
|
||||
r600-llvm-compiler? ( sys-devel/llvm[video_cards_radeon] )
|
||||
video_cards_radeonsi? ( sys-devel/llvm[video_cards_radeon] )
|
||||
)
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/libxml2[python,${PYTHON_USEDEP}]
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
>=x11-proto/dri2proto-2.6
|
||||
>=x11-proto/glproto-1.4.15-r1
|
||||
>=x11-proto/xextproto-7.0.99.1
|
||||
x11-proto/xf86driproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# It is slow without texrels, if someone wants slow
|
||||
# mesa without texrels +pic use is worth the shot
|
||||
QA_EXECSTACK="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
|
||||
QA_WX_LOAD="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
|
||||
|
||||
# Think about: ggi, fbcon, no-X configs
|
||||
|
||||
pkg_setup() {
|
||||
# workaround toc-issue wrt #386545
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
[[ $PV = 9999* ]] && git-2_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# apply patches
|
||||
if [[ ${PV} != 9999* && -n ${SRC_PATCHES} ]]; then
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_SOURCE="${WORKDIR}/patches" \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
epatch
|
||||
fi
|
||||
|
||||
# relax the requirement that r300 must have llvm, bug 380303
|
||||
epatch "${FILESDIR}"/${PN}-8.1-dont-require-llvm-for-r300.patch
|
||||
|
||||
# fix for hardened pax_kernel, bug 240956
|
||||
[[ ${PV} != 9999* ]] && epatch "${FILESDIR}"/glx_ro_text_segm.patch
|
||||
|
||||
# Solaris needs some recent POSIX stuff in our case
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
sed -i -e "s/-DSVR4/-D_POSIX_C_SOURCE=200112L/" configure.ac || die
|
||||
fi
|
||||
|
||||
# Tests fail against python-3, bug #407887
|
||||
sed -i 's|/usr/bin/env python|/usr/bin/env python2|' src/glsl/tests/compare_ir || die
|
||||
|
||||
base_src_prepare
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use classic; then
|
||||
# Configurable DRI drivers
|
||||
driver_enable swrast
|
||||
|
||||
# Intel code
|
||||
driver_enable video_cards_i915 i915
|
||||
driver_enable video_cards_i965 i965
|
||||
if ! use video_cards_i915 && \
|
||||
! use video_cards_i965; then
|
||||
driver_enable video_cards_intel i915 i965
|
||||
fi
|
||||
|
||||
# Nouveau code
|
||||
driver_enable video_cards_nouveau nouveau
|
||||
|
||||
# ATI code
|
||||
driver_enable video_cards_r100 radeon
|
||||
driver_enable video_cards_r200 r200
|
||||
if ! use video_cards_r100 && \
|
||||
! use video_cards_r200; then
|
||||
driver_enable video_cards_radeon radeon r200
|
||||
fi
|
||||
fi
|
||||
|
||||
if use egl; then
|
||||
myconf+="
|
||||
--with-egl-platforms=x11$(use wayland && echo ",wayland")$(use gbm && echo ",drm")
|
||||
$(use_enable gallium gallium-egl)
|
||||
"
|
||||
fi
|
||||
|
||||
if use gallium; then
|
||||
myconf+="
|
||||
$(use_enable llvm gallium-llvm)
|
||||
$(use_enable openvg)
|
||||
$(use_enable r600-llvm-compiler)
|
||||
$(use_enable vdpau)
|
||||
$(use_enable xvmc)
|
||||
"
|
||||
gallium_enable swrast
|
||||
gallium_enable video_cards_vmware svga
|
||||
gallium_enable video_cards_nouveau nouveau
|
||||
gallium_enable video_cards_i915 i915
|
||||
if ! use video_cards_i915; then
|
||||
gallium_enable video_cards_intel i915
|
||||
fi
|
||||
|
||||
gallium_enable video_cards_r300 r300
|
||||
gallium_enable video_cards_r600 r600
|
||||
gallium_enable video_cards_radeonsi radeonsi
|
||||
if ! use video_cards_r300 && \
|
||||
! use video_cards_r600; then
|
||||
gallium_enable video_cards_radeon r300 r600
|
||||
fi
|
||||
fi
|
||||
|
||||
# x86 hardened pax_kernel needs glx-rts, bug 240956
|
||||
if use pax_kernel; then
|
||||
myconf+="
|
||||
$(use_enable x86 glx-rts)
|
||||
"
|
||||
fi
|
||||
|
||||
# build fails with BSD indent, bug #428112
|
||||
use userland_GNU || export INDENT=cat
|
||||
|
||||
econf \
|
||||
--enable-dri \
|
||||
--enable-glx \
|
||||
$(use_enable !bindist texture-float) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable egl) \
|
||||
$(use_enable gbm) \
|
||||
$(use_enable gles1) \
|
||||
$(use_enable gles2) \
|
||||
$(use_enable nptl glx-tls) \
|
||||
$(use_enable osmesa) \
|
||||
$(use_enable !pic asm) \
|
||||
$(use_enable shared-glapi) \
|
||||
$(use_enable xa) \
|
||||
$(use_enable xorg) \
|
||||
--with-dri-drivers=${DRI_DRIVERS} \
|
||||
--with-gallium-drivers=${GALLIUM_DRIVERS} \
|
||||
PYTHON2="${PYTHON}" \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
base_src_install
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f {} + || die
|
||||
|
||||
if use !bindist; then
|
||||
dodoc docs/patents.txt
|
||||
fi
|
||||
|
||||
# Install config file for eselect mesa
|
||||
insinto /usr/share/mesa
|
||||
newins "${FILESDIR}/eselect-mesa.conf.8.1" eselect-mesa.conf
|
||||
|
||||
# Move libGL and others from /usr/lib to /usr/lib/opengl/blah/lib
|
||||
# because user can eselect desired GL provider.
|
||||
ebegin "Moving libGL and friends for dynamic switching"
|
||||
local x
|
||||
local gl_dir="/usr/$(get_libdir)/opengl/${OPENGL_DIR}/"
|
||||
dodir ${gl_dir}/{lib,extensions,include/GL}
|
||||
for x in "${ED}"/usr/$(get_libdir)/lib{EGL,GL*,OpenVG}.{la,a,so*}; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
mv -f "${x}" "${ED}${gl_dir}"/lib \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
for x in "${ED}"/usr/include/GL/{gl.h,glx.h,glext.h,glxext.h}; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
mv -f "${x}" "${ED}${gl_dir}"/include/GL \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
for x in "${ED}"/usr/include/{EGL,GLES*,VG,KHR}; do
|
||||
if [ -d ${x} ]; then
|
||||
mv -f "${x}" "${ED}${gl_dir}"/include \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
eend $?
|
||||
|
||||
if use classic || use gallium; then
|
||||
ebegin "Moving DRI/Gallium drivers for dynamic switching"
|
||||
local gallium_drivers=( i915_dri.so i965_dri.so r300_dri.so r600_dri.so swrast_dri.so )
|
||||
keepdir /usr/$(get_libdir)/dri
|
||||
dodir /usr/$(get_libdir)/mesa
|
||||
for x in ${gallium_drivers[@]}; do
|
||||
if [ -f "${S}/$(get_libdir)/gallium/${x}" ]; then
|
||||
mv -f "${ED}/usr/$(get_libdir)/dri/${x}" "${ED}/usr/$(get_libdir)/dri/${x/_dri.so/g_dri.so}" \
|
||||
|| die "Failed to move ${x}"
|
||||
insinto "/usr/$(get_libdir)/dri/"
|
||||
if [ -f "${S}/$(get_libdir)/${x}" ]; then
|
||||
insopts -m0755
|
||||
doins "${S}/$(get_libdir)/${x}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
for x in "${ED}"/usr/$(get_libdir)/dri/*.so; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
mv -f "${x}" "${x/dri/mesa}" \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
pushd "${ED}"/usr/$(get_libdir)/dri || die "pushd failed"
|
||||
ln -s ../mesa/*.so . || die "Creating symlink failed"
|
||||
# remove symlinks to drivers known to eselect
|
||||
for x in ${gallium_drivers[@]}; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
rm "${x}" || die "Failed to remove ${x}"
|
||||
fi
|
||||
done
|
||||
popd
|
||||
eend $?
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Switch to the xorg implementation.
|
||||
echo
|
||||
eselect opengl set --use-old ${OPENGL_DIR}
|
||||
|
||||
# switch to xorg-x11 and back if necessary, bug #374647 comment 11
|
||||
OLD_IMPLEM="$(eselect opengl show)"
|
||||
if [[ ${OPENGL_DIR}x != ${OLD_IMPLEM}x ]]; then
|
||||
eselect opengl set ${OPENGL_DIR}
|
||||
eselect opengl set ${OLD_IMPLEM}
|
||||
fi
|
||||
|
||||
# Select classic/gallium drivers
|
||||
if use classic || use gallium; then
|
||||
eselect mesa set --auto
|
||||
fi
|
||||
|
||||
# warn about patent encumbered texture-float
|
||||
if use !bindist; then
|
||||
elog "USE=\"bindist\" was not set. Potentially patent encumbered code was"
|
||||
elog "enabled. Please see patents.txt for an explanation."
|
||||
fi
|
||||
|
||||
local using_radeon r_flag
|
||||
for r_flag in ${RADEON_CARDS}; do
|
||||
if use video_cards_${r_flag}; then
|
||||
using_radeon=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ${using_radeon} = 1 ]] && ! has_version media-libs/libtxc_dxtn; then
|
||||
elog "Note that in order to have full S3TC support, it is necessary to install"
|
||||
elog "media-libs/libtxc_dxtn as well. This may be necessary to get nice"
|
||||
elog "textures in some apps, and some others even require this to run."
|
||||
fi
|
||||
}
|
||||
|
||||
# $1 - VIDEO_CARDS flag
|
||||
# other args - names of DRI drivers to enable
|
||||
# TODO: avoid code duplication for a more elegant implementation
|
||||
driver_enable() {
|
||||
case $# in
|
||||
# for enabling unconditionally
|
||||
1)
|
||||
DRI_DRIVERS+=",$1"
|
||||
;;
|
||||
*)
|
||||
if use $1; then
|
||||
shift
|
||||
for i in $@; do
|
||||
DRI_DRIVERS+=",${i}"
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
gallium_enable() {
|
||||
case $# in
|
||||
# for enabling unconditionally
|
||||
1)
|
||||
GALLIUM_DRIVERS+=",$1"
|
||||
;;
|
||||
*)
|
||||
if use $1; then
|
||||
shift
|
||||
for i in $@; do
|
||||
GALLIUM_DRIVERS+=",${i}"
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1 +1 @@
|
||||
Mon, 01 Jul 2013 11:37:02 +0000
|
||||
Tue, 02 Jul 2013 03:06:57 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 01 Jul 2013 11:37:02 +0000
|
||||
Tue, 02 Jul 2013 03:06:58 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue