parent
1600f15e19
commit
5ad83de0c8
@ -1,2 +1,3 @@
|
||||
DIST system-config-printer-1.3.6.tar.xz 988332 RMD160 6981d300468a547877345c7842b5930fbaf4cbb9 SHA1 7c2365b6f3dd0ccdedddcd9788d736227ce7858f SHA256 412f38c45d13763f69872b737f9b7885f0633704a4ef71eaae7b8c30e6dd7013
|
||||
DIST system-config-printer-1.3.7.tar.xz 990392 RMD160 26a88af68bd8d376c5aeed2e83a9dadf9b850a5f SHA1 7020aa0f07db4a2d301949468bb67fe4c1867712 SHA256 bd2d16b1b00e94b05178697c566b4434288557df8faf56a65a71fc4994cd5e4a
|
||||
DIST system-config-printer-1.3.9.tar.xz 992152 RMD160 ad15cc322eed989232d80c6a30466dc70c6f4720 SHA1 99bbacce31e295f33a72f324e794942219f38397 SHA256 86a655d6599484cafe57f11694d9e2d9767ece03328a8fc8254aa92c8162dfe0
|
||||
|
@ -0,0 +1,92 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.3.9.ebuild,v 1.1 2012/03/05 22:41:50 reavertm Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
WANT_AUTOMAKE="1.11"
|
||||
inherit python autotools
|
||||
|
||||
MY_P="${PN%-common}-${PV}"
|
||||
|
||||
DESCRIPTION="Common modules of Red Hat's printer administration tool"
|
||||
HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
|
||||
SRC_URI="http://cyberelk.net/tim/data/system-config-printer/1.3/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="doc policykit"
|
||||
|
||||
# Needs cups running, bug 284005
|
||||
RESTRICT="test"
|
||||
|
||||
# system-config-printer split since 1.1.3
|
||||
COMMON_DEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2[python]
|
||||
dev-python/dbus-python
|
||||
>=dev-python/pycups-1.9.60
|
||||
>=dev-python/pygobject-2.21.5:2
|
||||
>=net-print/cups-1.4.6[dbus]
|
||||
>=sys-fs/udev-164-r2
|
||||
virtual/libusb:0
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/intltool
|
||||
dev-util/pkgconfig
|
||||
doc? ( dev-python/epydoc )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!app-admin/system-config-printer:0
|
||||
!<app-admin/system-config-printer-gnome-${PV}
|
||||
policykit? ( sys-auth/polkit )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.3.5-split.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-nls \
|
||||
--with-udev-rules
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
if use doc; then
|
||||
emake html || die "emake html failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc AUTHORS ChangeLog README || die "dodoc failed"
|
||||
|
||||
if use doc; then
|
||||
dohtml -r html/ || die "installing html docs failed"
|
||||
fi
|
||||
|
||||
emake DESTDIR="${ED}" install \
|
||||
udevrulesdir=/lib/udev/rules.d \
|
||||
udevhelperdir=/lib/udev \
|
||||
|| die "emake install failed"
|
||||
|
||||
python_convert_shebangs -q -r $(python_get_version) "${ED}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize cupshelpers
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup cupshelpers /usr/share/system-config-printer
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST system-config-printer-1.3.6.tar.xz 988332 RMD160 6981d300468a547877345c7842b5930fbaf4cbb9 SHA1 7c2365b6f3dd0ccdedddcd9788d736227ce7858f SHA256 412f38c45d13763f69872b737f9b7885f0633704a4ef71eaae7b8c30e6dd7013
|
||||
DIST system-config-printer-1.3.7.tar.xz 990392 RMD160 26a88af68bd8d376c5aeed2e83a9dadf9b850a5f SHA1 7020aa0f07db4a2d301949468bb67fe4c1867712 SHA256 bd2d16b1b00e94b05178697c566b4434288557df8faf56a65a71fc4994cd5e4a
|
||||
DIST system-config-printer-1.3.9.tar.xz 992152 RMD160 ad15cc322eed989232d80c6a30466dc70c6f4720 SHA1 99bbacce31e295f33a72f324e794942219f38397 SHA256 86a655d6599484cafe57f11694d9e2d9767ece03328a8fc8254aa92c8162dfe0
|
||||
|
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.3.9.ebuild,v 1.1 2012/03/05 22:43:02 reavertm Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
PYTHON_USE_WITH="xml"
|
||||
WANT_AUTOMAKE="1.11"
|
||||
inherit python autotools
|
||||
|
||||
MY_P="${PN%-gnome}-${PV}"
|
||||
|
||||
DESCRIPTION="GNOME frontend for a Red Hat's printer administration tool"
|
||||
HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
|
||||
SRC_URI="http://cyberelk.net/tim/data/system-config-printer/1.3/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="gnome-keyring"
|
||||
|
||||
# Needs cups running, bug 284005
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
~app-admin/system-config-printer-common-${PV}
|
||||
dev-python/notify-python
|
||||
>=dev-python/pycups-1.9.60
|
||||
>=dev-python/pygtk-2.4
|
||||
gnome-keyring? ( dev-python/gnome-keyring-python )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
>=app-text/xmlto-0.0.22
|
||||
dev-util/desktop-file-utils
|
||||
dev-util/intltool
|
||||
dev-util/pkgconfig
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
APP_LINGUAS="ar as bg bn_IN bn br bs ca cs cy da de el en_GB es et fa fi fr gu
|
||||
he hi hr hu hy id is it ja ka kn ko lo lv mai mk ml mr ms nb nl nn or pa pl
|
||||
pt_BR pt ro ru si sk sl sr@latin sr sv ta te th tr uk vi zh_CN zh_TW"
|
||||
for X in ${APP_LINGUAS}; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.3.5-split.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Disable installation of translations when LINGUAS not chosen
|
||||
if [[ -z "${LINGUAS}" ]]; then
|
||||
myconf="${myconf} --disable-nls"
|
||||
else
|
||||
myconf="${myconf} --enable-nls"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-desktop-vendor=Gentoo \
|
||||
--without-udev-rules \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc AUTHORS ChangeLog README || die "dodoc failed"
|
||||
|
||||
emake DESTDIR="${ED}" install || die "emake install failed"
|
||||
|
||||
python_convert_shebangs -q -r $(python_get_version) "${ED}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/system-config-printer
|
||||
}
|
@ -1,8 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
<email>nitro@legroom.net</email>
|
||||
<name>Jared B.</name>
|
||||
</maintainer>
|
||||
<longdescription>A utility that is designed to open arj archives.</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/tarsnap/tarsnap-1.0.32.ebuild,v 1.1 2012/03/05 17:09:24 gregkh Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="Online backups for the truly paranoid"
|
||||
HOMEPAGE="http://www.tarsnap.com/"
|
||||
SRC_URI="https://www.tarsnap.com/download/tarsnap-autoconf-${PV}.tgz"
|
||||
|
||||
LICENSE="tarsnap"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="sys-libs/zlib dev-libs/openssl sys-libs/e2fsprogs-libs"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/tarsnap-autoconf-${PV}"
|
@ -1,357 +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/qemu-kvm/qemu-kvm-1.0-r2.ebuild,v 1.2 2012/02/11 23:22:46 cardoe Exp $
|
||||
|
||||
#BACKPORTS=1
|
||||
|
||||
EAPI="3"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# EGIT_REPO_URI="git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git"
|
||||
EGIT_REPO_URI="git://github.com/avikivity/kvm.git"
|
||||
GIT_ECLASS="git-2"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic ${GIT_ECLASS} linux-info toolchain-funcs multilib python
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/kvm/${PN}/${P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~flameeyes/${PN}/${P}-backports-${BACKPORTS}.tar.bz2
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-backports-${BACKPORTS}.tar.bz2}"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
# xen is disabled until the deps are fixed
|
||||
IUSE="+aio alsa bluetooth brltty curl debug esd fdt hardened +jpeg ncurses nss \
|
||||
opengl +png pulseaudio qemu-ifup rbd sasl sdl spice ssl +threads vde \
|
||||
+vhost-net xattr xen"
|
||||
# static, depends on libsdl being built with USE=static-libs, which can not
|
||||
# be expressed in current EAPI's
|
||||
|
||||
COMMON_TARGETS="i386 x86_64 arm cris m68k microblaze mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} mips64 mips64el ppcemb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} alpha armeb ppc64abi32 sparc32plus"
|
||||
|
||||
# Setup the default SoftMMU targets, while using the loops
|
||||
# below to setup the other targets. x86_64 should be the only
|
||||
# defaults on for qemu-kvm
|
||||
IUSE="${IUSE} +qemu_softmmu_targets_x86_64"
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS}; do
|
||||
if [ "x${target}" = "xx86_64" ]; then
|
||||
continue
|
||||
fi
|
||||
IUSE="${IUSE} qemu_softmmu_targets_${target}"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_user_targets_${target}"
|
||||
done
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
!app-emulation/kqemu
|
||||
!app-emulation/qemu
|
||||
!app-emulation/qemu-user
|
||||
>=dev-libs/glib-2.0
|
||||
sys-apps/pciutils
|
||||
>=sys-apps/util-linux-2.16.0
|
||||
sys-libs/zlib
|
||||
amd64? ( sys-apps/seabios
|
||||
sys-apps/vgabios )
|
||||
x86? ( sys-apps/seabios
|
||||
sys-apps/vgabios )
|
||||
aio? ( dev-libs/libaio )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
brltty? ( app-accessibility/brltty )
|
||||
curl? ( >=net-misc/curl-7.15.4 )
|
||||
esd? ( media-sound/esound )
|
||||
fdt? ( >=sys-apps/dtc-1.2.0 )
|
||||
jpeg? ( virtual/jpeg )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
nss? ( dev-libs/nss )
|
||||
opengl? ( virtual/opengl )
|
||||
png? ( media-libs/libpng )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
qemu-ifup? ( sys-apps/iproute2 net-misc/bridge-utils )
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
sdl? ( >=media-libs/libsdl-1.2.11[X] )
|
||||
spice? ( >=app-emulation/spice-0.9.0
|
||||
>=app-emulation/spice-protocol-0.8.1 )
|
||||
ssl? ( net-libs/gnutls )
|
||||
vde? ( net-misc/vde )
|
||||
xattr? ( sys-apps/attr )
|
||||
xen? ( app-emulation/xen-tools )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/texi2html
|
||||
dev-util/pkgconfig
|
||||
>=sys-kernel/linux-headers-2.6.35"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_WX_LOAD="${QA_PRESTRIPPED}
|
||||
usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus"
|
||||
|
||||
kvm_kern_warn() {
|
||||
eerror "Please enable KVM support in your kernel, found at:"
|
||||
eerror
|
||||
eerror " Virtualization"
|
||||
eerror " Kernel-based Virtual Machine (KVM) support"
|
||||
eerror
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if ! use qemu_softmmu_targets_x86_64 && use amd64 ; then
|
||||
eerror "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64"
|
||||
fi
|
||||
|
||||
if ! use qemu_softmmu_targets_x86_64 && use x86 ; then
|
||||
eerror "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64"
|
||||
fi
|
||||
|
||||
if kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
eerror "Either upgrade your kernel"
|
||||
else
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
kvm_kern_warn
|
||||
elif ! linux_chkconfig_present KVM; then
|
||||
kvm_kern_warn
|
||||
fi
|
||||
if use vhost-net && ! linux_chkconfig_present VHOST_NET ; then
|
||||
ewarn "You have to enable CONFIG_VHOST_NET in the kernel"
|
||||
ewarn "to have vhost-net support."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
python_set_active_version 2
|
||||
|
||||
enewgroup kvm
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# prevent docs to get automatically installed
|
||||
sed -i '/$(DESTDIR)$(docdir)/d' Makefile || die
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
# append CFLAGS while linking
|
||||
sed -i 's/$(LDFLAGS)/$(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS)/' rules.mak || die
|
||||
|
||||
# remove part to make udev happy
|
||||
sed -e 's~NAME="%k", ~~' -i kvm/scripts/65-kvm.rules || die
|
||||
|
||||
# ${PN}-guest-hang-on-usb-add.patch was sent by Timothy Jones
|
||||
# to the qemu-devel ml - bug 337988
|
||||
epatch "${FILESDIR}/qemu-0.11.0-mips64-user-fix.patch"
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.0-per-target-i8259.patch #400597
|
||||
epatch "${FILESDIR}"/${PN}-1.0-fix-nonkvm-arches.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0-fix-qemu-system-ppc.patch
|
||||
|
||||
# bug #400595 / CVE-2012-0029
|
||||
epatch "${FILESDIR}"/${P}-e1000-bounds-packet-size-against-buffer-size.patch
|
||||
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local conf_opts audio_opts user_targets
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
use "qemu_softmmu_targets_${target}" && \
|
||||
softmmu_targets="${softmmu_targets} ${target}-softmmu"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
use "qemu_user_targets_${target}" && \
|
||||
user_targets="${user_targets} ${target}-linux-user"
|
||||
done
|
||||
|
||||
if [ -z "${softmmu_targets}" ]; then
|
||||
eerror "All SoftMMU targets are disabled. This is invalid for qemu-kvm"
|
||||
die "At least 1 SoftMMU target must be enabled"
|
||||
else
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
fi
|
||||
|
||||
if [ ! -z "${user_targets}" ]; then
|
||||
einfo "Building the following user targets: ${user_targets}"
|
||||
conf_opts="${conf_opts} --enable-linux-user"
|
||||
else
|
||||
conf_opts="${conf_opts} --disable-linux-user"
|
||||
fi
|
||||
|
||||
# Fix QA issues. QEMU needs executable heaps and we need to mark it as such
|
||||
conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
|
||||
|
||||
# Add support for static builds
|
||||
#use static && conf_opts="${conf_opts} --static"
|
||||
|
||||
# Support debug USE flag
|
||||
use debug && conf_opts="${conf_opts} --enable-debug"
|
||||
|
||||
# Fix the $(prefix)/etc issue
|
||||
conf_opts="${conf_opts} --sysconfdir=/etc"
|
||||
|
||||
#config options
|
||||
conf_opts="${conf_opts} $(use_enable aio linux-aio)"
|
||||
conf_opts="${conf_opts} $(use_enable bluetooth bluez)"
|
||||
conf_opts="${conf_opts} $(use_enable brltty brlapi)"
|
||||
conf_opts="${conf_opts} $(use_enable curl)"
|
||||
conf_opts="${conf_opts} $(use_enable fdt)"
|
||||
conf_opts="${conf_opts} $(use_enable hardened pie)"
|
||||
conf_opts="${conf_opts} $(use_enable jpeg vnc-jpeg)"
|
||||
conf_opts="${conf_opts} $(use_enable ncurses curses)"
|
||||
conf_opts="${conf_opts} $(use_enable nss smartcard-nss)"
|
||||
conf_opts="${conf_opts} $(use_enable opengl)"
|
||||
conf_opts="${conf_opts} $(use_enable png vnc-png)"
|
||||
conf_opts="${conf_opts} $(use_enable rbd)"
|
||||
conf_opts="${conf_opts} $(use_enable sasl vnc-sasl)"
|
||||
conf_opts="${conf_opts} $(use_enable sdl)"
|
||||
conf_opts="${conf_opts} $(use_enable spice)"
|
||||
conf_opts="${conf_opts} $(use_enable ssl vnc-tls)"
|
||||
conf_opts="${conf_opts} $(use_enable threads vnc-thread)"
|
||||
conf_opts="${conf_opts} $(use_enable vde)"
|
||||
conf_opts="${conf_opts} $(use_enable vhost-net)"
|
||||
conf_opts="${conf_opts} $(use_enable xen)"
|
||||
conf_opts="${conf_opts} $(use_enable xattr attr)"
|
||||
conf_opts="${conf_opts} --disable-darwin-user --disable-bsd-user"
|
||||
|
||||
# audio options
|
||||
audio_opts="oss"
|
||||
use alsa && audio_opts="alsa ${audio_opts}"
|
||||
use esd && audio_opts="esd ${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa ${audio_opts}"
|
||||
use sdl && audio_opts="sdl ${audio_opts}"
|
||||
./configure --prefix=/usr \
|
||||
--disable-strip \
|
||||
--disable-werror \
|
||||
--enable-kvm \
|
||||
--enable-nptl \
|
||||
--enable-uuid \
|
||||
${conf_opts} \
|
||||
--audio-drv-list="${audio_opts}" \
|
||||
--target-list="${softmmu_targets} ${user_targets}" \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getBUILD_CC)" \
|
||||
|| die "configure failed"
|
||||
|
||||
# this is for qemu upstream's threaded support which is
|
||||
# in development and broken
|
||||
# the kvm project has its own support for threaded IO
|
||||
# which is always on and works
|
||||
# --enable-io-thread \
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
if [ ! -z "${softmmu_targets}" ]; then
|
||||
insinto /lib/udev/rules.d/
|
||||
doins kvm/scripts/65-kvm.rules || die
|
||||
|
||||
if use qemu-ifup; then
|
||||
insinto /etc/qemu/
|
||||
insopts -m0755
|
||||
doins kvm/scripts/qemu-ifup || die
|
||||
fi
|
||||
|
||||
if use qemu_softmmu_targets_x86_64 ; then
|
||||
dobin "${FILESDIR}"/qemu-kvm
|
||||
dosym /usr/bin/qemu-kvm /usr/bin/kvm
|
||||
else
|
||||
elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
|
||||
elog "of /usr/bin/qemu-kvm and /usr/bin/kvm"
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc Changelog MAINTAINERS TODO pci-ids.txt || die
|
||||
newdoc pc-bios/README README.pc-bios || die
|
||||
dohtml qemu-doc.html qemu-tech.html || die
|
||||
|
||||
# FIXME: Need to come up with a solution for non-x86 based systems
|
||||
if use x86 || use amd64; then
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${D}/usr/share/qemu/bios.bin"
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${D}/usr/share/qemu/vgabios.bin"
|
||||
rm "${D}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${D}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${D}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${D}/usr/share/qemu/vgabios-vmware.bin"
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
if [ ! -z "${softmmu_targets}" ]; then
|
||||
elog "If you don't have kvm compiled into the kernel, make sure you have"
|
||||
elog "the kernel module loaded before running kvm. The easiest way to"
|
||||
elog "ensure that the kernel module is loaded is to load it on boot."
|
||||
elog "For AMD CPUs the module is called 'kvm-amd'"
|
||||
elog "For Intel CPUs the module is called 'kvm-intel'"
|
||||
elog "Please review /etc/conf.d/modules for how to load these"
|
||||
elog
|
||||
elog "Make sure your user is in the 'kvm' group"
|
||||
elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
|
||||
elog
|
||||
elog "You will need the Universal TUN/TAP driver compiled into your"
|
||||
elog "kernel or loaded as a module to use the virtual network device"
|
||||
elog "if using -net tap. You will also need support for 802.1d"
|
||||
elog "Ethernet Bridging and a configured bridge if using the provided"
|
||||
elog "kvm-ifup script from /etc/kvm."
|
||||
elog
|
||||
elog "The gnutls use flag was renamed to ssl, so adjust your use flags."
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST afflib-3.6.12.tar.gz 767740 RMD160 aebb740513992d6ef24cf6a54a965ff3c1a5d9cb SHA1 1bd156a7e970253c3e2df5b55046142073b311fe SHA256 07e89cb01116663a631dcd24fa07f1ab44f5f3f60b0f5244084d6d2a71b623d0
|
||||
DIST afflib-3.6.15.tar.gz 779265 RMD160 4a9c3968e5f23b75e877c4057512caea1115bc52 SHA1 71bb9b28acd1f6f4668bb491cea410294b267b81 SHA256 cb1813fa6ff6d65f585ef1e3c71cbcd731461bf726e59fc4a12ba0f1040eafde
|
||||
DIST afflib-3.6.16.tar.gz 778687 RMD160 c69d00def6011dcecaaa02b991be8cb703bddac5 SHA1 227e6154392786d1b1834a817c0fbff21b189e54 SHA256 703a83b202aeb9d7b23ae79516288317aa17c7c54506a5c7d148203e6b7a0e65
|
||||
|
@ -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/app-forensics/afflib/afflib-3.6.16.ebuild,v 1.1 2012/03/06 12:22:34 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools-utils python
|
||||
|
||||
DESCRIPTION="Library that implements the AFF image standard"
|
||||
HOMEPAGE="http://afflib.org/"
|
||||
SRC_URI="http://afflib.org/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="fuse ncurses python qemu readline s3 static-libs threads"
|
||||
|
||||
RDEPEND="dev-libs/expat
|
||||
dev-libs/openssl
|
||||
sys-libs/zlib
|
||||
fuse? ( sys-fs/fuse )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
readline? ( sys-libs/readline )
|
||||
s3? ( net-misc/curl )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.6.12-python-module.patch
|
||||
"${FILESDIR}"/${PN}-3.6.12-pyaff-header.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
if use python ; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/FLAGS/s: -g::" configure.ac || die
|
||||
sed -i -e "/-static/d" tools/Makefile.am || die
|
||||
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Hacks for automagic dependencies
|
||||
use ncurses || export ac_cv_lib_ncurses_initscr=no
|
||||
use readline || export ac_cv_lib_readline_readline=no
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable fuse)
|
||||
$(use_enable python)
|
||||
$(use_enable qemu)
|
||||
$(use_enable s3)
|
||||
$(use_enable threads threading)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST ibus-unikey-0.5.1.tar.gz 496451 RMD160 8176ccf1bff44450e48def487ab4196f806a42ae SHA1 01f34cf6d32d7bffc862e9c6d3531113eccd7b3c SHA256 c76cdb6e5eb789723f2f6036b72d78b62ae26c405bc567845accccc6f50fb19e
|
||||
DIST ibus-unikey-0.5.tar.gz 494304 RMD160 baf583141f01af7836a4c30d47041cdb66cc92bd SHA1 525e8b8c8c0beb41f16d771c502098cf2d1fba9b SHA256 5c6a36ffcc7ea8a4dbfba0a96632bf860e9d524d818e553e1bf8d18702ba1910
|
||||
DIST ibus-unikey-0.6.0.tar.gz 509952 RMD160 d766792ee1165a97883b25d51640d920a789f5df SHA1 9cacf527273eb4f45f904e6b8fd3cc5f48a3e41a SHA256 007d5ee50dc6f31d4cac61235868063bc9ecf74fef942c0d5091b23dc5360303
|
||||
DIST ibus-unikey-0.6.1.tar.gz 516250 RMD160 e5af96ac4aac09a22dbafca2f53c882b34b23b42 SHA1 f5787348a357d502af5ce6509f86823bcad7a21c SHA256 989bbea706d2d8d7b86630b1f2b4f63d8ed5167a1cc2b8fafd7f2198ec78d734
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-unikey/ibus-unikey-0.6.1.ebuild,v 1.1 2012/03/06 10:23:05 naota Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Vietnamese Input Method Engine for IBUS using Unikey IME"
|
||||
HOMEPAGE="http://code.google.com/p/ibus-unikey/"
|
||||
SRC_URI="http://ibus-unikey.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gtk3"
|
||||
|
||||
RDEPEND="gtk3? ( >app-i18n/ibus-1.4.0[gtk3]
|
||||
x11-libs/gtk+:3 )
|
||||
!gtk3? ( >=app-i18n/ibus-1.4.0
|
||||
>=x11-libs/gtk+-2.12:2 )
|
||||
x11-libs/libX11"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
dev-util/intltool
|
||||
>=sys-devel/gettext-0.17"
|
||||
|
||||
src_configure() {
|
||||
use gtk3 && myconf="--with-gtk-version=3" || myconf=""
|
||||
econf ${myconf}
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ranger-1.5.2.tar.gz 119944 RMD160 a843921c697d097767420da0183a24c67a2dcbb1 SHA1 24411c4380914280e6a367af6f2411000532fad4 SHA256 0ff813ce25ff40986528603aecdbae331eb58a46d65eb930698cf85a6e7160bb
|
||||
DIST ranger-1.5.3.tar.gz 126485 RMD160 582ef1e1d5aa18fb8ca6c5f1548c6e0a5336ba98 SHA1 fef641b8ed4654e0c919a54097384dc7ae16a6eb SHA256 2e3e34ee3bc6d212bf775c1f0a496db6139622890e9cfe8cb1ed390defcee4f0
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/ranger/ranger-1.5.3.ebuild,v 1.1 2012/03/06 05:39:18 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2:2.6 3:3.1"
|
||||
PYTHON_USE_WITH="ncurses"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="A vim-inspired file manager for the console"
|
||||
HOMEPAGE="http://ranger.nongnu.org/"
|
||||
SRC_URI="http://nongnu.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-apps/less"
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
elog "Ranger has many optional dependencies to support enhanced file previews."
|
||||
elog "See the README or homepage for more details."
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST task-1.9.4.tar.gz 479079 RMD160 4f17bfd08d94fc2c9c2da74a2fe0a7322d15623d SHA1 b9bae255f4fa03970eced3ac0876935271d1d7a1 SHA256 1020621c9bf885c3216a5c11cacced3c916b6495e0d09846b7438a152618d34a
|
||||
DIST task-2.0.0.beta4.tar.gz 4167015 RMD160 dd803784b60bf5168b6c0d243598ff8211103ec9 SHA1 9b31fa334cc64c2e0e89aa66c5bf2d578325b32f SHA256 3cd8ccdf909af07608b46da6ad084766cdd6657d786b6b639da50e4fcb3236b1
|
||||
DIST task-2.0.0.RC1.tar.gz 4395370 RMD160 dbb57c44bc71c77815af2a4b5294babc26d6842f SHA1 3283d1a7144a611b8899a2da8a4a43c7ef76c066 SHA256 4ed1ee2dcac97fa93f786a3b134e8e5a5c8f8c4d0bffa0287e921b076c3db48c
|
||||
DIST task-2.0.0.beta5.tar.gz 4229189 RMD160 dda56ba0273d100be0d0e193641daa868ccd0b80 SHA1 9ad58e9232f54bd5ae93cc018c6d82a62dab3168 SHA256 191b920e3e30e29f88ec62fdf43dcb8ff4db816296c566e1db29027eccc3d0ee
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST calibre-0.8.39.tar.xz 23788948 RMD160 3d8ed5ae5073329dea7952422cf06691f8ce1803 SHA1 842baff5f98c579ee4b7b28e4b8240f15e7de5e7 SHA256 e6d936c4c1d57b6a702c24a14e57e2fa3d1847ce4a0065e31bac58f695a4507c
|
||||
DIST calibre-0.8.40.tar.xz 23836620 RMD160 ea42ee662d16422a927a5952b76d507f9221929c SHA1 8f6b3d7f231e8ce06217c1c92a2839def862a84d SHA256 64ae7985c12635e4228baf7df2d6bf86ebd6a85e3c33b073ce9f15962081fac0
|
||||
DIST calibre-0.8.41.tar.xz 24003452 RMD160 85c16b05de47eb54236691848c44aec813ae4d07 SHA1 532caa160726c58b52b164df60ee3c2c33ade024 SHA256 be986113f707c70255814d3dbc4b3d2f8319124c4215c9f5960293545ed7d91d
|
||||
|
@ -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/calibre/calibre-0.8.39.ebuild,v 1.3 2012/02/15 18:38:54 flameeyes Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.41.ebuild,v 1.1 2012/03/06 00:44:20 zmedico Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND=2:2.7
|
@ -1,3 +1 @@
|
||||
DIST docx2txt-1.0.tgz 24795 RMD160 fe7743b0d5fd2a9c6394f694ae271591e6c3bdfd SHA1 109ec659769089779c352cb28a89cf400840791c SHA256 f48f69736fa73059d9dde1f2f518c9affa8174515f106ddb39d6a45e2fa233db
|
||||
DIST docx2txt-1.1.tgz 25391 RMD160 a15b5f6bf8b973f92ffac2bf9dddb127d4452273 SHA1 56af3989d22521fda9ea0c75b775eb296ea0948c SHA256 4e1ec50b47b5e5764a9fc47721eab3caa79e08c1377736eae71c064a450ed242
|
||||
DIST docx2txt-1.2.tgz 28483 RMD160 47f551dc8671582999262b8c858a26a34d82eddf SHA1 3e1ed8a63f0c6ec05009720b7109f23cb7afe55c SHA256 33649d1e8c4f86df897d478376cf76bd9f2aed27a952aaa96c615bce976488cf
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/docx2txt/docx2txt-1.0.ebuild,v 1.1 2011/02/06 02:53:15 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Convert MS Office docx files to plain text"
|
||||
HOMEPAGE="http://docx2txt.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-arch/unzip
|
||||
dev-lang/perl"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-paragraph-newline.patch
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
newbin docx2txt.pl docx2txt
|
||||
dodoc README ChangeLog ToDo AUTHORS
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/docx2txt/docx2txt-1.1.ebuild,v 1.1 2011/12/12 23:02:38 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Convert MS Office docx files to plain text"
|
||||
HOMEPAGE="http://docx2txt.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-arch/unzip
|
||||
dev-lang/perl"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-paragraph-newline.patch
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
newbin docx2txt.pl docx2txt
|
||||
dodoc docx2txt.config README ChangeLog ToDo AUTHORS
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
--- docx2txt-1.0/docx2txt.pl.orig
|
||||
+++ docx2txt-1.0/docx2txt.pl
|
||||
@@ -312,7 +312,7 @@
|
||||
$para =~ s/<.*?>//og;
|
||||
return justify($align,$para) if $align;
|
||||
|
||||
- return $para;
|
||||
+ return $para . $newLine;
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST ghc-paths-0.1.0.5.tar.gz 2304 RMD160 098804e5a48ce9381174245601b3896304464219 SHA1 f9a70a8564be268e4aa88436ea18fc84a1ce303a SHA256 ea9e97425894e3dbd7915e00e107e2e7fc07b6e8293fd2dd66a813f0673cba10
|
||||
DIST haddock-2.10.0_pre20120202.tar.gz 182196 RMD160 74db4cae1c97cdf9feb19d8b3da72b97a09fb068 SHA1 8cbeb879ed77c57284d6fdac4894dd57c1b2f3df SHA256 d52476789da279388c23589c02c82595a778da82b39a8c1239dab39bab13fafa
|
||||
DIST haddock-2.10.0.tar.gz 159750 RMD160 8c718cd7c6a8ff5c6c5a058d6ff9cf5e48db0b72 SHA1 2ecf6350f2389ff88309a31ce608d68b710bf9e5 SHA256 d107dba15e8aee5abcb540b818b5dcb8ced98bae7d0714f50192dba26cadb410
|
||||
DIST haddock-2.4.2.tar.gz 103033 RMD160 18317b3ffd60f2b0925d635ce1ea2ab35825860c SHA1 cd1de409029bcabdf79b05b4c00c7702c836c765 SHA256 dbf0a7d0103a3ce6a91b2a3b96148c1b9c13ea7f8bd74260c21fe98df7839547
|
||||
DIST haddock-2.6.1.tar.gz 128158 RMD160 32be5206f0caab3e6aa7582b9ad23a22581082ab SHA1 f088795826a155f0a207219a45ad643dcaeccf65 SHA256 626bfbc51f33ada003fbbfe1b40f3147039369e9898f8e8d2f5c1c863436ea6a
|
||||
DIST haddock-2.9.2.tar.gz 154040 RMD160 5d7fe09d61bf089794e753969db4a259117df41b SHA1 2a61f178a0ce9e126442821ab95052e748b865b0 SHA256 e8498520a4b8c8a03330141ba4c31d81e90dfd361de3ff7e320cdf71c2dd3ba1
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST text-0.11.1.1.tar.gz 119505 RMD160 304746b8e3c0298babcc0099186d7a242e401b12 SHA1 65ea09e6770ddc11524ab027d51c76c10e859630 SHA256 4e228d33022f751a6023e092bc64c071daeb4560e8358575e58623a542f975df
|
||||
DIST text-0.11.1.12.tar.gz 120261 RMD160 fdfc9b080b8653918b15f6c8ef62ad82102e5da0 SHA1 d2f4e55c52e813087068fd259d508299d8c4ce13 SHA256 b4ce2d05ad1c2f4c2fa75a7e1c10b1aaf15b055bb2bd8a7b9dac0f0939214048
|
||||
DIST text-0.11.1.13.tar.gz 120181 RMD160 d08a657737b3eaba49c33adffc0a93359fd41178 SHA1 9139887ac1cee7ec1d59b76a80a938b2e9d1a05e SHA256 4e6cf947f2ab474d4bdbc5057b78a2faa00badad5ee2d032d0b7f98b9d276c51
|
||||
|
@ -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-haskell/text/text-0.11.1.13-r1.ebuild,v 1.1 2012/03/06 05:48:02 gienah Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.13
|
||||
|
||||
EAPI="4"
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hscolour hoogle"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="An efficient packed Unicode text type."
|
||||
HOMEPAGE="https://github.com/bos/text"
|
||||
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-haskell/deepseq-1.1.0.0[profile?]
|
||||
>=dev-lang/ghc-6.10.1"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.8
|
||||
test? ( >=dev-haskell/quickcheck-2.4.0.1[profile?]
|
||||
<dev-haskell/test-framework-0.6[profile?]
|
||||
<dev-haskell/test-framework-hunit-0.3[profile?]
|
||||
<dev-haskell/test-framework-quickcheck2-0.3[profile?]
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's@test-framework >= 0.4 && < 0.5@test-framework >= 0.4 \&\& < 0.6@' \
|
||||
-i "${S}/${PN}.cabal" || die "Could not loosen depdencies"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# the tests need a utf-8 locale
|
||||
cabal_src_configure $(use test && use_enable test tests) #395351
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST X11-xft-0.3.1.tar.gz 13621 RMD160 488bac2742d1f3bfa486ffeb5876163aa15a8ba6 SHA1 03bca9046ec6c9ef1cbf53e9b52e8d7f46b50726 SHA256 4eba3fee62570e06447654030a62fb55f19587884bc2cef77a9c3b2c3458f8d1
|
||||
DIST X11-xft-0.3.tar.gz 13684 RMD160 d8a15e128947cec14371bd4847e69b2f25f247bd SHA1 5d2504ec9e89a57383d4363dc51e094b53f55996 SHA256 48892d0d0a90d5b47658877facabf277bf8466b7388eaf6ce163b843432a567d
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/x11-xft/x11-xft-0.3.1.ebuild,v 1.1 2012/03/06 08:31:02 gienah Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
inherit haskell-cabal
|
||||
|
||||
MY_PN="X11-xft"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Bindings to the Xft, X Free Type interface library, and some Xrender parts"
|
||||
HOMEPAGE="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-xft"
|
||||
SRC_URI="http://hackage.haskell.org/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.6.1
|
||||
>=dev-haskell/utf8-string-0.1[profile?]
|
||||
>=dev-haskell/x11-1.2.1[profile?]
|
||||
x11-libs/libXft"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-haskell/cabal"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -1,2 +1,3 @@
|
||||
DIST X11-1.4.6.1.tar.gz 175567 RMD160 9d78d41be7d35c784c01f7d128973a40c1b86a71 SHA1 bd9b8c4ceeabe72d7c2a53e49be39808aad36895 SHA256 3e1375d4e53a8366fa2ea12bd9c3033ffe2f7dd00443acd84f722cf0dfff0fa9
|
||||
DIST X11-1.5.0.0.tar.gz 178211 RMD160 48272b96c50661b8548c7de4ce276839f929a20b SHA1 81a9c004fd73335d48ff412f82b5aa92bb6fd5ed SHA256 653ff8aa4053574a36dbb1729459df6e5a1a87a223bc3eeced8e40c6e3a5406f
|
||||
DIST X11-1.5.0.1.tar.gz 176346 RMD160 a39e1419beb152b6494f616490a58b8893190bb9 SHA1 1876c21a1c390de2678c6309453c5d56426ab59a SHA256 29c07a609cc4943e743ce68a99b8d4c089e66a74a55ac76b88464fba211d1369
|
||||
|
@ -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-haskell/x11/x11-1.5.0.1.ebuild,v 1.1 2012/03/06 07:53:46 gienah Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.13
|
||||
|
||||
EAPI="4"
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hscolour hoogle"
|
||||
inherit haskell-cabal
|
||||
|
||||
MY_PN="X11"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A binding to the X11 graphics library"
|
||||
HOMEPAGE="https://github.com/haskell-pkg-janitors/X11"
|
||||
SRC_URI="http://hackage.haskell.org/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~sparc ~x86 ~amd64-linux ~ppc64 ~ppc-macos ~x86-linux"
|
||||
IUSE="xinerama"
|
||||
|
||||
RDEPEND="dev-haskell/syb[profile?]
|
||||
>=dev-lang/ghc-6.8.2
|
||||
x11-libs/libX11
|
||||
xinerama? ( x11-libs/libXinerama )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
cabal_src_configure --configure-option=$(use_with xinerama)
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST icedtea-web-1.1.4.tar.gz 812273 RMD160 2aac06c05d4513694968f86861225b5329307781 SHA1 9389030878d7c3aee17f641e3095830fe722fb60 SHA256 b17a742af0153b7887cf667a160f8519afad125bc515b0f4783c66e7ee1a7f26
|
||||
DIST icedtea-web-1.2.tar.gz 885793 RMD160 3686b66531088050934ba25c8ac5be3fc23ff899 SHA1 4b7e38b13101ac1f18dc276f17be37a0ed2b28df SHA256 3f8d22b655df207409dd3451ba02907f61a12ac051e4df4d44bb5ed47c4f778d
|
||||
|
@ -0,0 +1,137 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-web/icedtea-web-1.2-r7.ebuild,v 1.1 2012/03/06 09:24:22 sera Exp $
|
||||
# Build written by Andrew John Hughes (ahughes@redhat.com)
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils java-pkg-2 java-vm-2
|
||||
|
||||
DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
|
||||
SLOT="7"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="build doc javascript +nsplugin test"
|
||||
|
||||
RDEPEND="dev-java/icedtea:${SLOT}"
|
||||
# Need system junit 4.8+. Bug #389795
|
||||
DEPEND="${RDEPEND}
|
||||
javascript? ( dev-java/rhino:1.6 )
|
||||
nsplugin? (
|
||||
|| ( net-misc/npapi-sdk
|
||||
>=net-libs/xulrunner-1.9.1 ) )
|
||||
test? ( >=dev-java/junit-4.8:4 )"
|
||||
|
||||
# a bit of hack so the VM switching is triggered without causing dependency troubles
|
||||
JAVA_PKG_NV_DEPEND=">=virtual/jdk-1.6"
|
||||
JAVA_PKG_WANT_SOURCE="1.6"
|
||||
JAVA_PKG_WANT_TARGET="1.6"
|
||||
|
||||
pkg_setup() {
|
||||
[[ "${MERGE_TYPE}" == "binary" ]] && return # bug 258423
|
||||
|
||||
# quite a hack since java-config does not provide a way for a package
|
||||
# to limit supported VM's for building and their preferred order
|
||||
if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
|
||||
einfo "Honoring user-set JAVA_PKG_FORCE_VM"
|
||||
else
|
||||
# migration logic
|
||||
if [[ -L /usr/lib/jvm/icedtea${SLOT} ]]; then
|
||||
JAVA_PKG_FORCE_VM="icedtea${SLOT}"
|
||||
else
|
||||
JAVA_PKG_FORCE_VM="icedtea-${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Forced vm ${JAVA_PKG_FORCE_VM}"
|
||||
java-vm-2_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
}
|
||||
|
||||
unset_vars() {
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# bug #356645
|
||||
epatch "${FILESDIR}"/0002-Respect-LDFLAGS.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local vmhome=$(java-config -O)
|
||||
|
||||
if use build; then
|
||||
icedteadir="${ICEDTEA_BIN_DIR}"
|
||||
[[ -z ${icedteadir} ]] && die "USE=build is an internal flag and should not be enabled"
|
||||
installdir="/opt/icedtea-web-bin-${SLOT}"
|
||||
else
|
||||
icedteadir="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||
installdir="/usr/$(get_libdir)/icedtea${SLOT}-web"
|
||||
fi
|
||||
|
||||
unset_vars
|
||||
|
||||
if use build || [[ ${vmhome} == ${icedteadir} ]] ; then
|
||||
VMHANDLE="icedtea-${SLOT}"
|
||||
else
|
||||
die "Unexpected install location of IcedTea${SLOT}"
|
||||
fi
|
||||
|
||||
einfo "Installing IcedTea-Web in ${installdir}"
|
||||
einfo "Installing IcedTea-Web for Icedtea${SLOT} in ${icedteadir}"
|
||||
if [ ! -e ${vmhome} ] ; then
|
||||
eerror "Could not find JDK install directory ${vmhome}."
|
||||
die
|
||||
fi
|
||||
|
||||
# we need to override all *dir variables that econf sets
|
||||
# man page (javaws) is installed directly to icedteadir because it's easier than symlinking, as we don't know
|
||||
# the suffix the man page will end up compressed with, anyway
|
||||
econf \
|
||||
--prefix=${installdir} --mandir=${icedteadir}/man --infodir=${installdir}/share/info --datadir=${installdir}/share \
|
||||
--with-jdk-home=${icedteadir} \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable nsplugin plugin) \
|
||||
$(use_with javascript rhino)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# we need this to override the src_compile from java-pkg-2
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# parallel make problem bug #372235
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
dodoc AUTHORS README NEWS
|
||||
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin "${installdir}/$(get_libdir)/IcedTeaPlugin.so";
|
||||
fi
|
||||
|
||||
for binary in javaws itweb-settings; do
|
||||
dosym ${installdir}/bin/${binary} ${icedteadir}/bin/${binary}
|
||||
dosym ${installdir}/bin/${binary} ${icedteadir}/jre/bin/${binary}
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
java-vm_check-nsplugin
|
||||
java_mozilla_clean_
|
||||
|
||||
if use nsplugin; then
|
||||
elog "The icedtea browser plugin (NPPlugin) can be enabled using eselect java-nsplugin"
|
||||
elog "Note that the plugin works only in browsers based on xulrunner-1.9.1 or later"
|
||||
elog "such as Firefox 3.5+, Chromium and perhaps some others too."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# override the java-vm-2 eclass check for removing a system VM, as it doesn't make sense here
|
||||
:;
|
||||
}
|
@ -0,0 +1,137 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-web/icedtea-web-1.2.ebuild,v 1.1 2012/03/06 09:24:22 sera Exp $
|
||||
# Build written by Andrew John Hughes (ahughes@redhat.com)
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils java-pkg-2 java-vm-2
|
||||
|
||||
DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
|
||||
SLOT="6"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE="build doc javascript +nsplugin test"
|
||||
|
||||
RDEPEND="dev-java/icedtea:${SLOT}"
|
||||
# Need system junit 4.8+. Bug #389795
|
||||
DEPEND="${RDEPEND}
|
||||
javascript? ( dev-java/rhino:1.6 )
|
||||
nsplugin? (
|
||||
|| ( net-misc/npapi-sdk
|
||||
>=net-libs/xulrunner-1.9.1 ) )
|
||||
test? ( >=dev-java/junit-4.8:4 )"
|
||||
|
||||
# a bit of hack so the VM switching is triggered without causing dependency troubles
|
||||
JAVA_PKG_NV_DEPEND=">=virtual/jdk-1.6"
|
||||
JAVA_PKG_WANT_SOURCE="1.6"
|
||||
JAVA_PKG_WANT_TARGET="1.6"
|
||||
|
||||
pkg_setup() {
|
||||
[[ "${MERGE_TYPE}" == "binary" ]] && return # bug 258423
|
||||
|
||||
# quite a hack since java-config does not provide a way for a package
|
||||
# to limit supported VM's for building and their preferred order
|
||||
if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
|
||||
einfo "Honoring user-set JAVA_PKG_FORCE_VM"
|
||||
else
|
||||
# migration logic
|
||||
if [[ -L /usr/lib/jvm/icedtea${SLOT} ]]; then
|
||||
JAVA_PKG_FORCE_VM="icedtea${SLOT}"
|
||||
else
|
||||
JAVA_PKG_FORCE_VM="icedtea-${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Forced vm ${JAVA_PKG_FORCE_VM}"
|
||||
java-vm-2_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
}
|
||||
|
||||
unset_vars() {
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# bug #356645
|
||||
epatch "${FILESDIR}"/0002-Respect-LDFLAGS.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local vmhome=$(java-config -O)
|
||||
|
||||
if use build; then
|
||||
icedteadir="${ICEDTEA_BIN_DIR}"
|
||||
[[ -z ${icedteadir} ]] && die "USE=build is an internal flag and should not be enabled"
|
||||
installdir="/opt/icedtea-web-bin-${SLOT}"
|
||||
else
|
||||
icedteadir="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||
installdir="/usr/$(get_libdir)/icedtea${SLOT}-web"
|
||||
fi
|
||||
|
||||
unset_vars
|
||||
|
||||
if use build || [[ ${vmhome} == ${icedteadir} ]] ; then
|
||||
VMHANDLE="icedtea-${SLOT}"
|
||||
else
|
||||
die "Unexpected install location of IcedTea${SLOT}"
|
||||
fi
|
||||
|
||||
einfo "Installing IcedTea-Web in ${installdir}"
|
||||
einfo "Installing IcedTea-Web for Icedtea${SLOT} in ${icedteadir}"
|
||||
if [ ! -e ${vmhome} ] ; then
|
||||
eerror "Could not find JDK install directory ${vmhome}."
|
||||
die
|
||||
fi
|
||||
|
||||
# we need to override all *dir variables that econf sets
|
||||
# man page (javaws) is installed directly to icedteadir because it's easier than symlinking, as we don't know
|
||||
# the suffix the man page will end up compressed with, anyway
|
||||
econf \
|
||||
--prefix=${installdir} --mandir=${icedteadir}/man --infodir=${installdir}/share/info --datadir=${installdir}/share \
|
||||
--with-jdk-home=${icedteadir} \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable nsplugin plugin) \
|
||||
$(use_with javascript rhino)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# we need this to override the src_compile from java-pkg-2
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# parallel make problem bug #372235
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
dodoc AUTHORS README NEWS
|
||||
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin "${installdir}/$(get_libdir)/IcedTeaPlugin.so";
|
||||
fi
|
||||
|
||||
for binary in javaws itweb-settings; do
|
||||
dosym ${installdir}/bin/${binary} ${icedteadir}/bin/${binary}
|
||||
dosym ${installdir}/bin/${binary} ${icedteadir}/jre/bin/${binary}
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
java-vm_check-nsplugin
|
||||
java_mozilla_clean_
|
||||
|
||||
if use nsplugin; then
|
||||
elog "The icedtea browser plugin (NPPlugin) can be enabled using eselect java-nsplugin"
|
||||
elog "Note that the plugin works only in browsers based on xulrunner-1.9.1 or later"
|
||||
elog "such as Firefox 3.5+, Chromium and perhaps some others too."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# override the java-vm-2 eclass check for removing a system VM, as it doesn't make sense here
|
||||
:;
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST R-2.10.1.tar.gz 19705604 RMD160 7acf060192f205da4731d0ea3c2cc318b65b7e91 SHA1 f5b1969fde3642c233f5198e44a7bf17a7b85ab6 SHA256 5ca1780d9f47f2f4a9b52ba44fed9ee6e7d3547f18ed2c05192b0dbc56038e9d
|
||||
DIST R-2.14.1.tar.gz 23697861 RMD160 9dcd1d135701e3c682585346e7c48ac2c62012fd SHA1 5803a213480a749e36bccc155aecb13070ade096 SHA256 d8a18914005975f40ed8fb37e3532422f769fb454651a9ed75f73c2bee9c0c4c
|
||||
DIST R-2.14.2.tar.gz 23893986 RMD160 6055dd28a99baa7b23c55f74dc1479e93a0dee58 SHA1 523dca7694e4d0c8701fcc783ea3767e46fe7a62 SHA256 ccd8b43a746dc7105a1c77423ea1bb72dc333b41d9e9801a96d6f71c2266736e
|
||||
DIST R.bash_completion.bz2 4019 RMD160 796951fb32e9ea4074dcd5ba3da5955ec0193993 SHA1 05ddebef0df16f0bf35aecc8fcb702ad5d106e5e SHA256 424790f7be27a0aad7b65289c97cb15d2ca9ee272f30f3e5c906217e487c7f85
|
||||
|
@ -0,0 +1,159 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.14.2.ebuild,v 1.1 2012/03/05 17:23:05 calchan Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit bash-completion-r1 autotools eutils flag-o-matic fortran-2 versionator
|
||||
|
||||
DESCRIPTION="Language and environment for statistical computing and graphics"
|
||||
HOMEPAGE="http://www.r-project.org/"
|
||||
SRC_URI="mirror://cran/src/base/R-2/${P}.tar.gz
|
||||
bash-completion? ( mirror://gentoo/R.bash_completion.bz2 )"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 ) LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="bash-completion cairo doc icu java jpeg lapack minimal nls openmp perl png profile readline static-libs tiff tk X"
|
||||
REQUIRED_USE="png? ( || ( cairo X ) ) jpeg? ( || ( cairo X ) ) tiff? ( || ( cairo X ) )"
|
||||
|
||||
CDEPEND="app-arch/bzip2
|
||||
app-text/ghostscript-gpl
|
||||
dev-libs/libpcre
|
||||
virtual/blas
|
||||
virtual/fortran
|
||||
cairo? ( x11-libs/cairo[X] x11-libs/pango )
|
||||
icu? ( dev-libs/icu )
|
||||
jpeg? ( virtual/jpeg )
|
||||
lapack? ( virtual/lapack )
|
||||
perl? ( dev-lang/perl )
|
||||
png? ( media-libs/libpng )
|
||||
readline? ( sys-libs/readline )
|
||||
tk? ( dev-lang/tk )
|
||||
X? ( x11-libs/libXmu x11-misc/xdg-utils )"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
dev-util/pkgconfig
|
||||
doc? (
|
||||
virtual/latex-base
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
)"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
( || ( <sys-libs/zlib-1.2.5.1-r1 >=sys-libs/zlib-1.2.5.1-r2[minizip] ) )
|
||||
app-arch/xz-utils
|
||||
java? ( >=virtual/jre-1.5 )"
|
||||
|
||||
RESTRICT="minimal? ( test )"
|
||||
|
||||
R_DIR="${EPREFIX}/usr/$(get_libdir)/${PN}"
|
||||
|
||||
pkg_setup() {
|
||||
if use openmp; then
|
||||
FORTRAN_NEED_OPENMP=1
|
||||
tc-has-openmp || die "Please enable openmp support in your compiler"
|
||||
fi
|
||||
fortran-2_pkg_setup
|
||||
filter-ldflags -Wl,-Bdirect -Bdirect
|
||||
# avoid using existing R installation
|
||||
unset R_HOME
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-2.11.1-parallel.patch \
|
||||
"${FILESDIR}"/${PN}-2.12.1-ldflags.patch \
|
||||
"${FILESDIR}"/${PN}-2.13.1-zlib_header_fix.patch \
|
||||
"${FILESDIR}"/${PN}-2.14.1-tiff.patch \
|
||||
"${FILESDIR}"/${PN}-2.14.1-rmath-shared.patch \
|
||||
"${FILESDIR}"/${PN}-2.14.1-warnings-buffer-overflow.patch \
|
||||
"${FILESDIR}"/${PN}-2.14.2-library-writability.patch \
|
||||
"${FILESDIR}"/${PN}-2.14.2-prune-package-update.patch
|
||||
|
||||
# fix packages.html for doc (bug #205103)
|
||||
sed -i \
|
||||
-e "s:../../../library:../../../../$(get_libdir)/R/library:g" \
|
||||
src/library/tools/R/Rd.R || die
|
||||
|
||||
# fix Rscript path when installed (bug #221061)
|
||||
sed -i \
|
||||
-e "s:-DR_HOME='\"\$(rhome)\"':-DR_HOME='\"${R_DIR}\"':" \
|
||||
src/unix/Makefile.in || die "sed unix Makefile failed"
|
||||
|
||||
# fix HTML links to manual (bug #273957)
|
||||
sed -i \
|
||||
-e 's:\.\./manual/:manual/:g' \
|
||||
$(grep -Flr ../manual/ doc) || die "sed for HTML links failed"
|
||||
|
||||
use lapack && \
|
||||
export LAPACK_LIBS="$(pkg-config --libs lapack)"
|
||||
|
||||
if use X; then
|
||||
export R_BROWSER="$(type -p xdg-open)"
|
||||
export R_PDFVIEWER="$(type -p xdg-open)"
|
||||
fi
|
||||
use perl && \
|
||||
export PERL5LIB="${S}/share/perl:${PERL5LIB:+:}${PERL5LIB}"
|
||||
AT_M4DIR=m4 eaclocal
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-byte-compiled-packages \
|
||||
--enable-R-shlib \
|
||||
--with-system-zlib \
|
||||
--with-system-bzlib \
|
||||
--with-system-pcre \
|
||||
--with-system-xz \
|
||||
--with-blas="$(pkg-config --libs blas)" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
rdocdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable nls) \
|
||||
$(use_enable openmp) \
|
||||
$(use_enable profile R-profiling) \
|
||||
$(use_enable profile memory-profiling) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable static-libs R-static-lib) \
|
||||
$(use_with cairo) \
|
||||
$(use_with icu ICU) \
|
||||
$(use_with jpeg jpeglib) \
|
||||
$(use_with lapack) \
|
||||
$(use_with !minimal recommended-packages) \
|
||||
$(use_with png libpng) \
|
||||
$(use_with readline) \
|
||||
$(use_with tiff libtiff) \
|
||||
$(use_with tk tcltk) \
|
||||
$(use_with X x)
|
||||
}
|
||||
|
||||
src_compile(){
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
emake
|
||||
emake -C src/nmath/standalone shared $(use static-libs && echo static)
|
||||
use doc && emake info pdf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
emake -C src/nmath/standalone DESTDIR="${D}" install
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" install-info install-pdf
|
||||
dosym ../manual /usr/share/doc/${PF}/html/manual
|
||||
fi
|
||||
|
||||
cat > 99R <<-EOF
|
||||
LDPATH=${R_DIR}/lib
|
||||
R_HOME=${R_DIR}
|
||||
EOF
|
||||
doenvd 99R
|
||||
use bash-completion && dobashcomp "${WORKDIR}"/R.bash_completion
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use java; then
|
||||
einfo "Re-initializing java paths for ${P}"
|
||||
R CMD javareconf
|
||||
fi
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
Index: src/library/utils/R/packages2.R
|
||||
===================================================================
|
||||
--- src/library/utils/R/packages2.R (revision 58532)
|
||||
+++ src/library/utils/R/packages2.R (working copy)
|
||||
@@ -229,8 +229,8 @@
|
||||
domain = NA, immediate. = TRUE)
|
||||
userdir <- unlist(strsplit(Sys.getenv("R_LIBS_USER"),
|
||||
.Platform$path.sep))[1L]
|
||||
- if(interactive() && !file.exists(userdir)) {
|
||||
- msg <- gettext("Would you like to create a personal library\n%s\nto install packages into?")
|
||||
+ if(interactive()) {
|
||||
+ msg <- gettext("Would you like to use a personal library instead?")
|
||||
if(.Platform$OS.type == "windows") {
|
||||
ans <- winDialog("yesno", sprintf(msg, sQuote(userdir)))
|
||||
if(ans != "YES") stop("unable to install packages")
|
||||
@@ -239,10 +239,21 @@
|
||||
if(substr(ans, 1L, 1L) == "n")
|
||||
stop("unable to install packages")
|
||||
}
|
||||
- if(!dir.create(userdir, recursive = TRUE))
|
||||
- stop("unable to create ", sQuote(userdir))
|
||||
lib <- userdir
|
||||
- .libPaths(c(userdir, .libPaths()))
|
||||
+ if(!file.exists(userdir)) {
|
||||
+ msg <- gettext("Would you like to create a personal library\n%s\nto install packages into?")
|
||||
+ if(.Platform$OS.type == "windows") {
|
||||
+ ans <- winDialog("yesno", sprintf(msg, sQuote(userdir)))
|
||||
+ if(ans != "YES") stop("unable to install packages")
|
||||
+ } else {
|
||||
+ ans <- readline(paste(sprintf(msg, userdir), " (y/n) "))
|
||||
+ if(substr(ans, 1L, 1L) == "n")
|
||||
+ stop("unable to install packages")
|
||||
+ }
|
||||
+ if(!dir.create(userdir, recursive = TRUE))
|
||||
+ stop("unable to create ", sQuote(userdir))
|
||||
+ .libPaths(c(userdir, .libPaths()))
|
||||
+ }
|
||||
} else stop("unable to install packages")
|
||||
}
|
||||
|
@ -0,0 +1,25 @@
|
||||
Index: src/library/utils/R/packages.R
|
||||
===================================================================
|
||||
--- src/library/utils/R/packages.R (revision 58579)
|
||||
+++ src/library/utils/R/packages.R (working copy)
|
||||
@@ -323,6 +323,20 @@
|
||||
oldPkgs <- old.packages(lib.loc = lib.loc,
|
||||
contriburl = contriburl, method = method,
|
||||
available = available, checkBuilt = checkBuilt)
|
||||
+ ## prune package versions which are invisible to require()
|
||||
+ if(!is.null(oldPkgs)) {
|
||||
+ pkg <- 0
|
||||
+ while(pkg < nrow(oldPkgs)) {
|
||||
+ pkg <- pkg + 1
|
||||
+ if(find.package(oldPkgs[pkg], lib.loc = lib.loc) != find.package(oldPkgs[pkg], lib.loc = oldPkgs[pkg,2])) {
|
||||
+ warning(sprintf("package '%s' in library '%s' will not be updated",
|
||||
+ oldPkgs[pkg], oldPkgs[pkg, 2]),
|
||||
+ call. = FALSE, immediate. = TRUE)
|
||||
+ oldPkgs <- oldPkgs[-pkg, , drop = FALSE]
|
||||
+ pkg <- pkg - 1
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
if(is.null(oldPkgs))
|
||||
return(invisible())
|
||||
} else if (!(is.matrix(oldPkgs) && is.character(oldPkgs)))
|
@ -1,125 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.11.34.ebuild,v 1.1 2011/12/20 06:51:37 keri Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
|
||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
readline? ( sys-libs/readline )
|
||||
gmp? ( dev-libs/gmp )
|
||||
ssl? ( dev-libs/openssl )
|
||||
java? ( >=virtual/jdk-1.4 )
|
||||
X? (
|
||||
virtual/jpeg
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/pl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
cd "${S}"/src
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable !static shared) \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src
|
||||
emake || die "emake failed"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages"
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--with-chr \
|
||||
--with-clib \
|
||||
--with-clpqr \
|
||||
--with-cpp \
|
||||
--with-http \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
--with-nlp \
|
||||
$(use_with odbc) \
|
||||
--with-pldoc \
|
||||
--with-plunit \
|
||||
--with-protobufs \
|
||||
--with-R \
|
||||
--with-RDF \
|
||||
--with-semweb \
|
||||
--with-sgml \
|
||||
$(use_with ssl) \
|
||||
--with-table \
|
||||
--with-tipc \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
|
||||
emake || die "packages emake failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src"
|
||||
emake check || die "make check failed. See above for details."
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages"
|
||||
emake check || die "make check failed. See above for details."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install || die "install src failed"
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install || die "install packages failed"
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION || die
|
||||
}
|
@ -1,125 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.11.35.ebuild,v 1.1 2011/12/27 19:20:46 keri Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
|
||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
readline? ( sys-libs/readline )
|
||||
gmp? ( dev-libs/gmp )
|
||||
ssl? ( dev-libs/openssl )
|
||||
java? ( >=virtual/jdk-1.4 )
|
||||
X? (
|
||||
virtual/jpeg
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/pl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
cd "${S}"/src
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable !static shared) \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src
|
||||
emake || die "emake failed"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages"
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--with-chr \
|
||||
--with-clib \
|
||||
--with-clpqr \
|
||||
--with-cpp \
|
||||
--with-http \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
--with-nlp \
|
||||
$(use_with odbc) \
|
||||
--with-pldoc \
|
||||
--with-plunit \
|
||||
--with-protobufs \
|
||||
--with-R \
|
||||
--with-RDF \
|
||||
--with-semweb \
|
||||
--with-sgml \
|
||||
$(use_with ssl) \
|
||||
--with-table \
|
||||
--with-tipc \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
|
||||
emake || die "packages emake failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src"
|
||||
emake check || die "make check failed. See above for details."
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages"
|
||||
emake check || die "make check failed. See above for details."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install || die "install src failed"
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install || die "install packages failed"
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION || die
|
||||
}
|
@ -1,125 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.11.36.ebuild,v 1.1 2012/01/09 05:09:50 keri Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
|
||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
readline? ( sys-libs/readline )
|
||||
gmp? ( dev-libs/gmp )
|
||||
ssl? ( dev-libs/openssl )
|
||||
java? ( >=virtual/jdk-1.4 )
|
||||
X? (
|
||||
virtual/jpeg
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/pl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
cd "${S}"/src
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable !static shared) \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src
|
||||
emake || die "emake failed"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages"
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--with-chr \
|
||||
--with-clib \
|
||||
--with-clpqr \
|
||||
--with-cpp \
|
||||
--with-http \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
--with-nlp \
|
||||
$(use_with odbc) \
|
||||
--with-pldoc \
|
||||
--with-plunit \
|
||||
--with-protobufs \
|
||||
--with-R \
|
||||
--with-RDF \
|
||||
--with-semweb \
|
||||
--with-sgml \
|
||||
$(use_with ssl) \
|
||||
--with-table \
|
||||
--with-tipc \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
|
||||
emake || die "packages emake failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src"
|
||||
emake check || die "make check failed. See above for details."
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages"
|
||||
emake check || die "make check failed. See above for details."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install || die "install src failed"
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install || die "install packages failed"
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION || die
|
||||
}
|
@ -1,125 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.11.37.ebuild,v 1.1 2012/03/01 12:46:01 keri Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
|
||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
readline? ( sys-libs/readline )
|
||||
gmp? ( dev-libs/gmp )
|
||||
ssl? ( dev-libs/openssl )
|
||||
java? ( >=virtual/jdk-1.4 )
|
||||
X? (
|
||||
virtual/jpeg
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/pl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
cd "${S}"/src
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable !static shared) \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src
|
||||
emake || die "emake failed"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages"
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--with-chr \
|
||||
--with-clib \
|
||||
--with-clpqr \
|
||||
--with-cpp \
|
||||
--with-http \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
--with-nlp \
|
||||
$(use_with odbc) \
|
||||
--with-pldoc \
|
||||
--with-plunit \
|
||||
--with-protobufs \
|
||||
--with-R \
|
||||
--with-RDF \
|
||||
--with-semweb \
|
||||
--with-sgml \
|
||||
$(use_with ssl) \
|
||||
--with-table \
|
||||
--with-tipc \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
|
||||
emake || die "packages emake failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src"
|
||||
emake check || die "make check failed. See above for details."
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages"
|
||||
emake check || die "make check failed. See above for details."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install || die "install src failed"
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install || die "install packages failed"
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION || die
|
||||
}
|
@ -0,0 +1,129 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.7.12.27.ebuild,v 1.1 2012/03/05 18:04:56 floppym Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
|
||||
inherit eutils multilib pax-utils python toolchain-funcs
|
||||
|
||||
DESCRIPTION="Google's open source JavaScript engine"
|
||||
HOMEPAGE="http://code.google.com/p/v8"
|
||||
SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
pkg_pretend() {
|
||||
local gccver=$(gcc-fullversion)
|
||||
if [[ ${gccver} = 4.5.2 ]]; then
|
||||
eerror "The currently selected version of gcc is known to segfault when building this"
|
||||
eerror "version of V8. Please use at least gcc-4.5.3."
|
||||
die "gcc-${gccver} detected."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CC CXX RANLIB
|
||||
export LINK="${CXX}"
|
||||
|
||||
# Use target arch detection logic from bug #354601.
|
||||
case ${CHOST} in
|
||||
i?86-*) myarch=ia32 ;;
|
||||
x86_64-*)
|
||||
if [[ $ABI = x86 ]] ; then
|
||||
myarch=ia32
|
||||
else
|
||||
myarch=x64
|
||||
fi ;;
|
||||
arm*-*) myarch=arm ;;
|
||||
*) die "Unrecognized CHOST: ${CHOST}"
|
||||
esac
|
||||
mytarget=${myarch}.release
|
||||
|
||||
soname_version="${PV}"
|
||||
|
||||
local snapshot=on
|
||||
host-is-pax && snapshot=off
|
||||
|
||||
# TODO: Add console=readline option once implemented upstream
|
||||
# http://code.google.com/p/v8/issues/detail?id=1781
|
||||
|
||||
emake V=1 \
|
||||
library=shared \
|
||||
werror=no \
|
||||
soname_version=${soname_version} \
|
||||
snapshot=${snapshot} \
|
||||
${mytarget} || die
|
||||
|
||||
pax-mark m out/${mytarget}/{cctest,d8,shell} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local arg testjobs
|
||||
for arg in ${MAKEOPTS}; do
|
||||
case ${arg} in
|
||||
-j*) testjobs=${arg#-j} ;;
|
||||
--jobs=*) testjobs=${arg#--jobs=} ;;
|
||||
esac
|
||||
done
|
||||
|
||||
tools/test-wrapper-gypbuild.py \
|
||||
-j${testjobs:-1} \
|
||||
--arch-and-mode=${mytarget} \
|
||||
--no-presubmit \
|
||||
--progress=dots || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr
|
||||
doins -r include || die
|
||||
|
||||
dobin out/${mytarget}/d8 || die
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname).${soname_version} \
|
||||
out/${mytarget}/lib.target/libv8$(get_libname).${soname_version} || die
|
||||
fi
|
||||
|
||||
dolib out/${mytarget}/lib.target/libv8$(get_libname).${soname_version} || die
|
||||
dosym libv8$(get_libname).${soname_version} /usr/$(get_libdir)/libv8$(get_libname) || die
|
||||
|
||||
dodoc AUTHORS ChangeLog || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserved_libs=()
|
||||
local baselib candidate
|
||||
|
||||
eshopts_push -s nullglob
|
||||
|
||||
for candidate in "${EROOT}usr/$(get_libdir)"/libv8-*$(get_libname) \
|
||||
"${EROOT}usr/$(get_libdir)"/libv8$(get_libname).*; do
|
||||
baselib=${candidate##*/}
|
||||
if [[ ! -e "${ED}usr/$(get_libdir)/${baselib}" ]]; then
|
||||
preserved_libs+=( "${EPREFIX}/usr/$(get_libdir)/${baselib}" )
|
||||
fi
|
||||
done
|
||||
|
||||
eshopts_pop
|
||||
|
||||
if [[ ${#preserved_libs[@]} -gt 0 ]]; then
|
||||
preserve_old_lib "${preserved_libs[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${#preserved_libs[@]} -gt 0 ]]; then
|
||||
preserve_old_lib_notify "${preserved_libs[@]}"
|
||||
fi
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue