Sync with portage [Sun Mar 11 10:27:24 MSK 2012].

mhiretskiy
root 12 years ago
parent 9e314c1eba
commit 83c5b594b9

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/conky-1.8.1-r6.ebuild,v 1.5 2012/03/06 21:38:44 ranger Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/conky-1.8.1-r6.ebuild,v 1.6 2012/03/10 07:20:33 billie Exp $
EAPI=2
@ -60,7 +60,8 @@ src_prepare() {
"${FILESDIR}/${P}-curl-headers.patch" \
"${FILESDIR}/${P}-maxinterfaces.patch" \
"${FILESDIR}/${P}-utf8-scroll.patch" \
"${FILESDIR}/${P}-battery-time.patch"
"${FILESDIR}/${P}-battery-time.patch" \
"${FILESDIR}/${P}-lua-5.2.patch"
eautoreconf
}

@ -0,0 +1,26 @@
From 83bf5e3f853918583e519fbba455a79242be9c7c Mon Sep 17 00:00:00 2001
From: Brenden Matthews <brenden@diddyinc.com>
Date: Wed, 7 Mar 2012 11:11:12 -0800
Subject: [PATCH] Build fix for Lua >=5.2.
See Gentoo bug at https://bugs.gentoo.org/show_bug.cgi?id=407089.
---
src/llua.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/llua.c b/src/llua.c
index 8f1df3c..383c279 100644
--- a/src/llua.c
+++ b/src/llua.c
@@ -92,7 +92,7 @@ void llua_init(void)
const char *libs = PACKAGE_LIBDIR"/lib?.so;";
char *old_path, *new_path;
if (lua_L) return;
- lua_L = lua_open();
+ lua_L = luaL_newstate();
/* add our library path to the lua package.cpath global var */
luaL_openlibs(lua_L);
--
1.7.0.4

@ -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-backup/deja-dup/deja-dup-21.2-r1.ebuild,v 1.2 2012/02/11 08:31:03 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-backup/deja-dup/deja-dup-21.2-r1.ebuild,v 1.3 2012/03/10 09:31:32 jlec Exp $
EAPI=4
@ -24,7 +24,6 @@ COMMON_DEPEND="
app-backup/duplicity
dev-libs/dbus-glib
dev-libs/libunique:1
gnome-base/gnome-keyring
nautilus? ( gnome-base/nautilus )"

@ -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-backup/deja-dup/deja-dup-21.2.ebuild,v 1.3 2012/01/29 11:44:28 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/app-backup/deja-dup/deja-dup-21.2.ebuild,v 1.4 2012/03/10 09:31:32 jlec Exp $
EAPI=4
@ -12,7 +12,7 @@ SRC_URI="http://launchpad.net/${PN}/22/${PV}/+download/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
KEYWORDS="~amd64 ~x86"
IUSE="nautilus nls"
COMMON_DEPEND="
@ -22,7 +22,6 @@ COMMON_DEPEND="
app-backup/duplicity
dev-libs/dbus-glib
dev-libs/libunique:1
gnome-base/gnome-keyring
nautilus? ( gnome-base/nautilus )"

@ -1,3 +1,3 @@
DIST cdrtools-3.00.tar.bz2 1978563 RMD160 210684ab5e286ef59b788b49bd0b74d88f6435f4 SHA1 6464844d6b936d4f43ee98a04d637cd91131de4e SHA256 7f9cb64820055573b880f77b2f16662a512518336ba95ab49228a1617973423d
DIST cdrtools-3.01a05.tar.bz2 2001070 RMD160 a3962ce855a52d9eb7f5d528e1d91226a77f78bd SHA1 e9a5c6413c9e0e9e52fbd634ab9f1e3a1157b832 SHA256 5ac9d5d08ea178fd1747b86298a67fe81cc9eee414a8df3a947373af2ad81bcf
DIST cdrtools-3.01a06.tar.bz2 2026840 RMD160 abf83892bbea28906c88c1f109d42891dd34f721 SHA1 0001d0213dfe2c78c4b8b34288854c01c5387464 SHA256 d554429d62a38d5afff68cae35a44ee2f564ee8fedc4c2e73b28249d28b3e7a3
DIST cdrtools-3.01a07.tar.bz2 2043525 RMD160 b8331d826bf64de8bd26c041624a3e41648b6952 SHA1 ee4b540e4897ee6637837a097658305d18345999 SHA256 cc54fefaf4ed5b6b49b996da1d1ebb1c44e88bbfada5c60e8f76c3a082591428

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha05.ebuild,v 1.3 2011/08/28 15:43:10 billie Exp $
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha07.ebuild,v 1.1 2012/03/10 07:48:12 billie Exp $
EAPI=4
@ -66,10 +66,6 @@ src_prepare() {
ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die
done
# amd64-fbsd support
ln -s i386-freebsd-cc.rul amd64-freebsd-cc.rul || die
ln -s i386-freebsd-gcc.rul amd64-freebsd-gcc.rul || die
# Schily make setup.
cd "${S}"/DEFAULTS
local os="linux"

@ -1,3 +1,6 @@
http://bugs.gentoo.org/331135
http://bugzilla.xfce.org/show_bug.cgi?id=6805
--- xfburn/xfburn-data-composition.c
+++ xfburn/xfburn-data-composition.c
@@ -1852,26 +1852,29 @@

@ -1,4 +1,5 @@
http://bugs.gentoo.org/388827
http://bugzilla.xfce.org/show_bug.cgi?id=6691
--- xfburn.desktop.in
+++ xfburn.desktop.in

@ -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-cdr/xfburn/xfburn-0.4.3-r3.ebuild,v 1.4 2012/01/02 12:59:57 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/app-cdr/xfburn/xfburn-0.4.3-r3.ebuild,v 1.5 2012/03/10 10:12:08 ssuominen Exp $
EAPI=4
EAUTORECONF=yes
@ -8,7 +8,7 @@ inherit xfconf
DESCRIPTION="GTK+ based CD and DVD burning application"
HOMEPAGE="http://goodies.xfce.org/projects/applications/xfburn"
SRC_URI="mirror://xfce/src/apps/${PN}/0.4/${P}.tar.bz2
SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2
mirror://debian/pool/main/x/${PN}/${PN}_${PV}-4.debian.tar.gz"
LICENSE="GPL-2"

@ -1,3 +1,4 @@
DIST scite301.tgz 1810301 RMD160 3f3c7614d7ac261520aa5721522584166977b7ca SHA1 175e616e9449ee94fa19d6ba38c0fe8963c20593 SHA256 603859e1ec1c05c1722d836b08180be36a70cc6662a6b574e83019b0da902e5d
DIST scite302.tgz 1825937 RMD160 58deba8cc61299ce3e827dc01dde12a39f394789 SHA1 c614e10ff3e2b0af85fb9f7833592c4e7c82730b SHA256 a5687faaa201c39a4ec9608e8a77e418e259f525b21871a5c9f1282c62e58eaa
DIST scite303.tgz 1906430 RMD160 8b29fbe2da0cbb737a6d2783db5aa1953cd53aaa SHA1 c1ddd6d3744dcffe20d1784ebb86ad2f16d43515 SHA256 0d02b81f6f182366abe8133f4e727d802b756d33e9eeba5fe9ac69c4a17286fd
DIST scite304.tgz 1927166 RMD160 7b5871cf28feb396b4ed59e3f88f1600bea3a1e2 SHA1 b7328d649678d998619a27d59f74ba3cd83f9a80 SHA256 2cdd67520d248716496240a629aa5cd56760b52d327ee18d53640e77e02af481

@ -0,0 +1,88 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/scite-3.0.4.ebuild,v 1.1 2012/03/10 08:48:21 jlec Exp $
EAPI="4"
inherit toolchain-funcs eutils
MY_PV=${PV//./}
DESCRIPTION="A very powerful editor for programmers"
HOMEPAGE="http://www.scintilla.org/SciTE.html"
SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz"
LICENSE="Scintilla"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE="lua"
RDEPEND="dev-libs/glib
x11-libs/cairo
x11-libs/gtk+:2
x11-libs/gdk-pixbuf
x11-libs/pango
lua? ( >=dev-lang/lua-5 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
>=sys-apps/sed-4"
S="${WORKDIR}/${PN}/gtk"
src_prepare() {
cd "${WORKDIR}/scintilla/gtk"
sed -i makefile \
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
-e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \
-e "s#-Os##" \
|| die "error patching makefile"
cd "${WORKDIR}/scite/gtk"
sed -i makefile \
-e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
|| die "error patching makefile"
cd "${S}"
sed -i makefile \
-e 's#usr/local#usr#g' \
-e 's#/gnome/apps/Applications#/applications#' \
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
-e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \
-e 's#${D}##' \
-e 's#-g root#-g 0#' \
-e "s#-Os##" \
|| die "error patching makefile"
cd "${WORKDIR}"
epatch "${FILESDIR}/${PN}-3.0.1-no-lua.patch"
}
src_compile() {
emake -C ../../scintilla/gtk
if use lua; then
emake
else
emake NO_LUA=1
fi
}
src_install() {
dodir /usr/bin
dodir /usr/share/{pixmaps,applications}
emake prefix="${ED}/usr" install
# we have to keep this because otherwise it'll break upgrading
mv "${ED}/usr/bin/SciTE" "${ED}/usr/bin/scite" || die
dosym /usr/bin/scite /usr/bin/SciTE
# replace .desktop file with our own working version
rm -f "${ED}/usr/share/applications/SciTE.desktop"
insinto /usr/share/applications
doins "${FILESDIR}/scite.desktop"
doman ../doc/scite.1
dodoc ../README
}

@ -1 +1,2 @@
DIST virt-viewer-0.4.2.tar.gz 442244 RMD160 f1094a374b0d808af77ba992fd12ba38c25a0623 SHA1 3b1d253c3c5f9cc89786e601e40a6ac72e52d4ee SHA256 32057e115ee53d9894af05ac4659893dc7e6ff9efba8d74999147b1bfda1439c
DIST virt-viewer-0.5.2.tar.gz 583436 RMD160 4371ca8e6d95c38c223299c2a8175c2f5d135fc0 SHA1 634667d56945307046ff378843975bbd5290c4d1 SHA256 e7f09b5de988fd3c81568d05d2b5db97c620b547ec8f92eab8e6a88604a18009

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-viewer/virt-viewer-0.4.2.ebuild,v 1.3 2012/01/19 20:20:39 cardoe Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-viewer/virt-viewer-0.4.2.ebuild,v 1.4 2012/03/11 00:50:09 cardoe Exp $
EAPI=4
@ -26,12 +26,9 @@ RDEPEND=">=app-emulation/libvirt-0.6.0
vnc? ( >=net-libs/gtk-vnc-0.4.3 )"
DEPEND="${RDEPEND}"
pkg_pretend() {
if ! use spice && ! use vnc; then
eerror "You must have USE=vnc or USE=spice enabled."
die "You must have USE=vnc or USE=spice enabled."
fi
}
REQUIRED_USE="|| ( spice vnc )
nsplugin? ( !gtk3 )
gtk3? ( !nsplugin )"
pkg_setup() {
G2CONF="$(use_enable nsplugin plugin) $(use_with spice spice-gtk)"

@ -0,0 +1,38 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-viewer/virt-viewer-0.5.2.ebuild,v 1.1 2012/03/11 00:50:09 cardoe Exp $
EAPI=4
inherit eutils gnome2
DESCRIPTION="Graphical console client for connecting to virtual machines"
HOMEPAGE="http://virt-manager.org/"
SRC_URI="http://virt-manager.org/download/sources/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gtk3 nsplugin sasl +spice +vnc"
RDEPEND=">=app-emulation/libvirt-0.9.7
>=dev-libs/libxml2-2.6.0:2
gtk3? ( x11-libs/gtk+:3 )
!gtk3? ( >=x11-libs/gtk+-2.18.0:2
>=gnome-base/libglade-2.6.0:2.0 )
nsplugin? ( >=dev-libs/nspr-4.0.0
>=net-libs/xulrunner-1.9.1:1.9
>=x11-libs/gtk+-2.18.0:2
>=gnome-base/libglade-2.6.0:2.0 )
spice? ( >=net-misc/spice-gtk-0.11[sasl?,gtk3?] )
vnc? ( >=net-libs/gtk-vnc-0.4.3 )"
DEPEND="${RDEPEND}"
REQUIRED_USE="|| ( spice vnc )
nsplugin? ( !gtk3 )
gtk3? ( !nsplugin )"
pkg_setup() {
G2CONF="$(use_enable nsplugin plugin) $(use_with spice spice-gtk)"
G2CONF="${G2CONF} $(use_with vnc gtk-vnc)"
use gtk3 && G2CONF="${G2CONF} --with-gtk=3.0"
use gtk3 || G2CONF="${G2CONF} --with-gtk=2.0"
}

@ -0,0 +1,79 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-modules/vmware-modules-264.2.ebuild,v 1.1 2012/03/10 14:17:50 vadimk Exp $
EAPI="2"
inherit eutils flag-o-matic linux-info linux-mod versionator
PV_MAJOR=$(get_major_version)
PV_MINOR=$(get_version_component_range 2)
DESCRIPTION="VMware kernel modules"
HOMEPAGE="http://www.vmware.com/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
|| ( =app-emulation/vmware-player-4.0.${PV_MINOR}*
=app-emulation/vmware-workstation-8.0.${PV_MINOR}* )"
S=${WORKDIR}
pkg_setup() {
CONFIG_CHECK="~HIGH_RES_TIMERS"
if kernel_is ge 2 6 37 && kernel_is lt 2 6 39; then
CONFIG_CHECK="${CONFIG_CHECK} BKL"
fi
linux-info_pkg_setup
linux-mod_pkg_setup
VMWARE_GROUP=${VMWARE_GROUP:-vmware}
VMWARE_MODULE_LIST="vmblock vmci vmmon vmnet vsock"
VMWARE_MOD_DIR="${PN}-${PVR}"
BUILD_TARGETS="auto-build KERNEL_DIR=${KERNEL_DIR} KBUILD_OUTPUT=${KV_OUT_DIR}"
enewgroup "${VMWARE_GROUP}"
filter-flags -mfpmath=sse
for mod in ${VMWARE_MODULE_LIST}; do
MODULE_NAMES="${MODULE_NAMES} ${mod}(misc:${S}/${mod}-only)"
done
}
src_unpack() {
cd "${S}"
for mod in ${VMWARE_MODULE_LIST}; do
tar -xf /opt/vmware/lib/vmware/modules/source/${mod}.tar
done
}
src_prepare() {
epatch "${FILESDIR}/${PV_MAJOR}-makefile-kernel-dir.patch"
epatch "${FILESDIR}/${PV_MAJOR}-makefile-include.patch"
epatch "${FILESDIR}/${PV_MAJOR}-jobserver.patch"
epatch "${FILESDIR}/${PV_MAJOR}-netdevice.patch"
epatch "${FILESDIR}/${PV}-3.2.0.patch"
}
src_install() {
linux-mod_src_install
local udevrules="${T}/60-vmware.rules"
cat > "${udevrules}" <<-EOF
KERNEL=="vmci", GROUP="vmware", MODE=660
KERNEL=="vmmon", GROUP="vmware", MODE=660
KERNEL=="vsock", GROUP="vmware", MODE=660
EOF
insinto /etc/udev/rules.d/
doins "${udevrules}"
}

@ -2,3 +2,5 @@ DIST VMware-Player-3.1.5-491717.i386.bundle 107094686 RMD160 293941018c9dec86eee
DIST VMware-Player-3.1.5-491717.x86_64.bundle 103019114 RMD160 b1a2544e5718474a1987389136a42034dfbc2ff2 SHA1 a253a486d6c6848620de200ef1837ced903daa1c SHA256 5aa1f01d09a1c39da06f3a314d3e47e75e80b4a345ef76dabe14e538fe3bc511
DIST VMware-Player-4.0.1-528992.i386.bundle 131763315 RMD160 bd26399b4044079fc95ecba62042b8ddab8709a7 SHA1 1f686ea7a6f3e13a390a5644581b809a27021ed5 SHA256 13eabb650f6746cad64a334abea3446dd8ab66ca386a4e13b7a3e77db8a95d6e
DIST VMware-Player-4.0.1-528992.x86_64.bundle 129509694 RMD160 c530e38d42222c2eec0f63e24ee24057b8d3dce9 SHA1 7332763867b6ed1978271a3335c7e135a1293210 SHA256 57f5e22c28827e4edf000aa44054cf62d886ed4c174cbb0ebe5e0e0eb6e9995c
DIST VMware-Player-4.0.2-591240.i386.bundle 131962526 RMD160 fd624e21895c8cd2c05e4bfe59f719e67aae0736 SHA1 a3973dd32a1a39644d30532dc4cb4c6216869415 SHA256 774bc82e6079b723d57029f6511c8f10ebba5f41d1ba862151a41040e172052a
DIST VMware-Player-4.0.2-591240.x86_64.bundle 129693508 RMD160 4b626e85a5828cb2023e181f71d94c609568665d SHA1 d417eb8538660db4ef07271fcc08152a3494bb58 SHA256 4aa09bed05c7fffa2e96b788f24626abcbe7d59749da544f37aedd15e1f459a8

@ -0,0 +1,247 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/vmware-player-4.0.2.591240.ebuild,v 1.1 2012/03/10 14:19:47 vadimk Exp $
EAPI="4"
inherit eutils versionator fdo-mime gnome2-utils vmware-bundle
MY_PN="VMware-Player"
MY_PV="$(replace_version_separator 3 - $PV)"
MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="Emulate a complete PC on your PC without the usual performance overhead of most emulators"
HOMEPAGE="http://www.vmware.com/products/player/"
SRC_URI="
x86? ( ${MY_P}.i386.bundle )
amd64? ( ${MY_P}.x86_64.bundle )
"
LICENSE="vmware"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="cups doc +vmware-tools"
RESTRICT="binchecks fetch strip"
# vmware-workstation should not use virtual/libc as this is a
# precompiled binary package thats linked to glibc.
RDEPEND="dev-cpp/cairomm
dev-cpp/glibmm:2
dev-cpp/gtkmm:2.4
dev-cpp/libgnomecanvasmm:2.6
dev-cpp/libsexymm
dev-cpp/pangomm:1.4
dev-libs/atk
dev-libs/glib:2
dev-libs/libaio
dev-libs/libsigc++
dev-libs/libxml2
=dev-libs/openssl-0.9.8*
dev-libs/xmlrpc-c
gnome-base/libgnomecanvas
gnome-base/libgtop:2
gnome-base/librsvg:2
gnome-base/orbit
media-libs/fontconfig
media-libs/freetype
media-libs/libart_lgpl
=media-libs/libpng-1.2*
net-misc/curl
cups? ( net-print/cups )
sys-devel/gcc
sys-fs/fuse
sys-libs/glibc
sys-libs/zlib
x11-libs/cairo
x11-libs/gtk+:2
x11-libs/libgksu
x11-libs/libICE
x11-libs/libsexy
x11-libs/libSM
x11-libs/libX11
x11-libs/libXau
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXft
x11-libs/libXi
x11-libs/libXinerama
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/pango
x11-libs/startup-notification
!app-emulation/vmware-workstation"
PDEPEND="~app-emulation/vmware-modules-264.2
vmware-tools? ( app-emulation/vmware-tools )"
S=${WORKDIR}
VM_INSTALL_DIR="/opt/vmware"
pkg_nofetch() {
local bundle
if use x86; then
bundle="${MY_P}.i386.bundle"
elif use amd64; then
bundle="${MY_P}.x86_64.bundle"
fi
einfo "Please download ${bundle}"
einfo "from ${HOMEPAGE}"
einfo "and place it in ${DISTDIR}"
}
src_unpack() {
local component ; for component in \
vmware-player \
vmware-player-app \
vmware-vmx \
vmware-usbarbitrator \
vmware-network-editor \
vmware-player-setup
#vmware-ovftool
do
vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" "${component}" "${S}"
done
}
src_prepare() {
rm -f bin/vmware-modconfig
rm -rf lib/modules/binary
}
clean_bundled_libs() {
ebegin 'Removing superfluous libraries'
# exclude OpenSSL from unbundling until the AES-NI patch gets into the tree
# see http://forums.gentoo.org/viewtopic-t-835867.html
# must use shipped libgcr.so.0 or else "undefined symbol: gcr_certificate_widget_new"
ldconfig -p | sed 's:^\s\+\([^(]*[^( ]\).*=> \(/.*\)$:\1 \2:g;t;d' | fgrep -v 'libcrypto.so.0.9.8
libssl.so.0.9.8
libgcr.so.0' | while read -r libname libpath ; do
dosym "${libpath}" "${VM_INSTALL_DIR}/lib/vmware/lib/${libname}/${libname}"
done
eend
}
src_install() {
local major_minor_revision=$(get_version_component_range 1-3 "${PV}")
local build=$(get_version_component_range 4 "${PV}")
# install the binaries
into "${VM_INSTALL_DIR}"
dobin bin/* || die "failed to install bin"
# install the libraries
insinto "${VM_INSTALL_DIR}"/lib/vmware
doins -r lib/*
# install the ancillaries
insinto /usr
doins -r share
if use cups; then
exeinto $(cups-config --serverbin)/filter
doexe extras/thnucups
insinto /etc/cups
doins -r etc/cups/*
fi
# install documentation
if use doc; then
dodoc doc/*
fi
exeinto "${VM_INSTALL_DIR}"/lib/vmware/setup
doexe vmware-config
# create symlinks for the various tools
local tool ; for tool in thnuclnt vmplayer{,-daemon} \
vmware-{acetool,unity-helper,modconfig{,-console},gksu,fuseUI} ; do
dosym appLoader "${VM_INSTALL_DIR}"/lib/vmware/bin/"${tool}"
done
dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmplayer "${VM_INSTALL_DIR}"/bin/vmplayer
dosym "${VM_INSTALL_DIR}"/lib/vmware/icu /etc/vmware/icu
# fix permissions
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/{appLoader,fusermount,launcher.sh,mkisofs,vmware-remotemks}
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/lib/{wrapper-gtk24.sh,libgksu2.so.0/gksu-run-helper}
fperms 4711 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx{,-debug,-stats}
# create the environment
local envd="${T}/90vmware"
cat > "${envd}" <<-EOF
PATH='${VM_INSTALL_DIR}/bin'
ROOTPATH='${VM_INSTALL_DIR}/bin'
EOF
doenvd "${envd}" || die
# create the configuration
dodir /etc/vmware || die
cat > "${D}"/etc/vmware/bootstrap <<-EOF
BINDIR='${VM_INSTALL_DIR}/bin'
LIBDIR='${VM_INSTALL_DIR}/lib'
EOF
cat > "${D}"/etc/vmware/config <<-EOF
bindir = "${VM_INSTALL_DIR}/bin"
libdir = "${VM_INSTALL_DIR}/lib/vmware"
initscriptdir = "/etc/init.d"
authd.fullpath = "${VM_INSTALL_DIR}/sbin/vmware-authd"
gksu.rootMethod = "su"
VMCI_CONFED = "yes"
VMBLOCK_CONFED = "yes"
VSOCK_CONFED = "yes"
NETWORKING = "yes"
player.product.version = "${major_minor_revision}"
product.buildNumber = "${build}"
EOF
# install the init.d script
local initscript="${T}/vmware.rc"
sed -e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
"${FILESDIR}/vmware-3.0.rc" > "${initscript}" || die
newinitd "${initscript}" vmware || die
# fill in variable placeholders
sed -e "s:@@LIBCONF_DIR@@:${VM_INSTALL_DIR}/lib/vmware/libconf:g" \
-i "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf/etc/{gtk-2.0/{gdk-pixbuf.loaders,gtk.immodules},pango/pango{.modules,rc}} || die
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \
-i "${D}/usr/share/applications/${PN}.desktop" || die
}
pkg_config() {
"${VM_INSTALL_DIR}"/bin/vmware-networks --postinstall ${PN},old,new
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
ewarn "/etc/env.d was updated. Please run:"
ewarn "env-update && source /etc/profile"
ewarn ""
ewarn "Before you can use vmware-player, you must configure a default network setup."
ewarn "You can do this by running 'emerge --config ${PN}'."
}
pkg_prerm() {
einfo "Stopping ${PN} for safe unmerge"
/etc/init.d/vmware stop
}
pkg_postrm() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
}

@ -2,23 +2,35 @@ DIST vmware-tools-freebsd-8.4.8-491717.i386.component.tar 18227200 RMD160 9b5cd2
DIST vmware-tools-freebsd-8.4.8-491717.x86_64.component.tar 18227200 RMD160 4f7c1fa970b94490167cc0aad933154bded40e71 SHA1 207cb57bab3929e4397591edb797157e9e3c4403 SHA256 60974cfdca052f6984ca5c006509a39643bae6f12485aaea98d21086db1580d4
DIST vmware-tools-freebsd-8.8.1-528992.i386.component.tar 15656960 RMD160 742d9e4b1b471e0b4fc2ff4dd6a54faa0f1e8a35 SHA1 6496065adba202dd90dabefa43e78c5c05d1d4da SHA256 0c44cc9a3d9bddc4f11f81827f399103b5b741bfd172cf7ff90f5af0839e88f3
DIST vmware-tools-freebsd-8.8.1-528992.x86_64.component.tar 15656960 RMD160 247a1cd333da400324317e10d409830e83d16e04 SHA1 19258bfdbc6fbb589bbde5aee66a7ebc051b1cc7 SHA256 daf11bb222ebb5d65fe654e915dac36a76118ec1dd9b04eb3366d08396788847
DIST vmware-tools-freebsd-8.8.2-591240.i386.component.tar 15656960 RMD160 231a60c63b79a49c9a49cef78be7e12d97258672 SHA1 a3480e1505fd3a18742f4eec0a1e4eddef1514f6 SHA256 564be13275c0772b7ee0c439a5d2ed95894ea5de60f5877f8f631ddecabf015a
DIST vmware-tools-freebsd-8.8.2-591240.x86_64.component.tar 15656960 RMD160 46772e2c4f04fcb6e08d1f7baebe2cc8114225f8 SHA1 2c7647d21a1673527bdd32a34470ee4d43e18268 SHA256 85337fac3f8aed1ad7b13e753bb01237385cc6775fe03ce70dc67660dd526aa2
DIST vmware-tools-linux-8.4.8-491717.i386.component.tar 107601920 RMD160 7d9d53337391bf08e4ae8a32f7dca46f39a608f0 SHA1 870443e43d7105db89d6bd1a329764ab3b07685a SHA256 799da75391d7112ee10df068a4c60519aaedb6989eeb94a5efe296b3423045a3
DIST vmware-tools-linux-8.4.8-491717.x86_64.component.tar 107601920 RMD160 2c355199fa561ad80dfca0ba6f0b477e529ceb44 SHA1 000469569298d3601f7ba961252474f9acbed609 SHA256 924f4c786678dc4405a2bff77f784d020561cd1aa6e59951fc963fb257e84c55
DIST vmware-tools-linux-8.8.1-528992.i386.component.tar 59463680 RMD160 9424673e7f4305cba10af67e569b157b466c6049 SHA1 ac969852292ca634893a8c783e9042a17c20a866 SHA256 8b681431e2f38625c8edf41ed8b70c2ab8f9c0d3603bc3c35a0e32d586956a34
DIST vmware-tools-linux-8.8.1-528992.x86_64.component.tar 59463680 RMD160 3597bec733a2c76de5cda9054153bda321faa187 SHA1 1afdf3f0041ca2fd982924b74e68caab474c8c52 SHA256 68aae4f1d6400cfe19a5ba809ccd5b9a11f1a0bbcceb13806231ea7eded934da
DIST vmware-tools-linux-8.8.2-591240.i386.component.tar 59392000 RMD160 8f06b9806a9f9c2003c85da41436ca4087dbc957 SHA1 0750c087c129f65c1b991840d929b71dbb70c72c SHA256 a3cea9cd07597a7f67a6f3025cc013f14d3a828b867351b415e36281d38b36f7
DIST vmware-tools-linux-8.8.2-591240.x86_64.component.tar 59392000 RMD160 3be8b9ad390fb21018ffc8e8f887f56848b60c12 SHA1 8914f239c95fb8f31b03b15da979618a9d0c3a10 SHA256 31fb2956a6ed622e3793a0fdd29b8a712f77c6c938ee7db867ae77236f04ce30
DIST vmware-tools-netware-8.4.8-491717.i386.component.tar 81920 RMD160 16d2a8c376c09af2a867fc659d6d72222186ecc2 SHA1 37cc1d311b9a43ba4fbeb5cf00d996b74db3b4f8 SHA256 c862e2f78a2cdb915defa26a1084513c51ea0729c865f57936361cb29187f09f
DIST vmware-tools-netware-8.4.8-491717.x86_64.component.tar 81920 RMD160 e2f2c6efb63bb55c9e501ed80c692acfc626ac33 SHA1 bace6ea27cd9729dc19ffd5bfbcc83cdba3d4d34 SHA256 dc2f236d3b1dcd56919de26b3437e5073085d4384908b7524df15286edbfa1a0
DIST vmware-tools-netware-8.8.1-528992.i386.component.tar 81920 RMD160 1b14fd1f9bc3c61ec23832f2ccfecccf32aa92ac SHA1 99018fa0f30a474a0bb0378d1a9b8aa4832723c1 SHA256 0e1093ce47034cdaf73d42c34abf642488d0c7884fff27947b1959c7eb7767ec
DIST vmware-tools-netware-8.8.1-528992.x86_64.component.tar 81920 RMD160 80b11ed15bf6ecfcafa763e5d5d31f48308c7ce0 SHA1 66d7b012f555bb78fd5f4c6c08ff67cdfc5bb2b0 SHA256 f0b9dc88ac5300dea1f5c5e6c44f19d1af50cd03c9641dfb3e4b3e394b5bf041
DIST vmware-tools-netware-8.8.2-591240.i386.component.tar 81920 RMD160 b8fc9d31433faa5a6a54584b8dc246e86d8dd301 SHA1 ce509824a8b6177eb290514a43dca5c8722e1f39 SHA256 8e2df152a39a5b0828a16f17ae2624b6c4f05e21b89d95bbf275209bc2ce4d1a
DIST vmware-tools-netware-8.8.2-591240.x86_64.component.tar 81920 RMD160 a0ecb524d51939ec574a49cf92246face0e6c050 SHA1 2ef0960618d0b5eae448ec77cdbcec49c28fa8d3 SHA256 b458c38f086073627d271ef182aae7fb05db85da1124b35f0c3db0518e3cb3b9
DIST vmware-tools-solaris-8.4.8-491717.i386.component.tar 19589120 RMD160 3335405f2ece766d015b088268ccc04e5394e932 SHA1 b94b080633172fdabfe73a218112d4abf9b3855e SHA256 4ba329fce0ad15c666351647e258387afc9ef97dede069e3a969891682e62c92
DIST vmware-tools-solaris-8.4.8-491717.x86_64.component.tar 19589120 RMD160 85e836fe603908213be643f12a938aed9e46d4c3 SHA1 bf99f0f7d1a136cad62501fb8cf811a979f5ecde SHA256 3776cf65c3457f57933ea499f3479cc5fc0b85e6f54d40f0d05e608609261f5c
DIST vmware-tools-solaris-8.8.1-528992.i386.component.tar 12769280 RMD160 e2d92a21e96f3ba932f465c268dac95d2ec3970d SHA1 d36c7ca312097c3a00749acd161a9a6bb1ca3f16 SHA256 275589b4b7109246e47b0b136cc9d586806b70c5cb6986b014dfbfb0c8293117
DIST vmware-tools-solaris-8.8.1-528992.x86_64.component.tar 12769280 RMD160 37f27d29ef08ddb9496ebc0ff848164f0209c84f SHA1 9a2b2506ac379648067ccae1aaec59c6416a1f48 SHA256 f4177d82a0725911cdb77d6b4156ecc90f2b0729e94a7439352242efa4c631e0
DIST vmware-tools-solaris-8.8.2-591240.i386.component.tar 12779520 RMD160 37f7db02d58984c1c6159e0d85c037bf80d160be SHA1 65177c972c96d459bb31c493e98019601a2ad654 SHA256 ddbb60ed91fcab8383675436bf51a121526b3c402b80c6cd51bcafbddf55ce45
DIST vmware-tools-solaris-8.8.2-591240.x86_64.component.tar 12779520 RMD160 b13627a5e4cddbf5ebbc80bd29f6ad1573fea3ef SHA1 44765384451cfcbb2c5e4ece4ddbdd6db98cd77d SHA256 5f0125516c755de26511518619fa2c52dbaed8f6c9f63d0aecd4ddbb3b2388ba
DIST vmware-tools-winPre2k-8.4.8-491717.i386.component.tar 11059200 RMD160 0622bb424ccd80a62584a248c2927923f078f519 SHA1 bcf6297b9389b43ed081a071a4b321c8086d67c4 SHA256 2ec0f90287324a37bf66a718f792d466edd8bf0f3e3c5039b782a3db6fd763c5
DIST vmware-tools-winPre2k-8.4.8-491717.x86_64.component.tar 11059200 RMD160 4d12bf4663b154cbd2fee5dbf8570d94823dac0a SHA1 d56d64fb00c764a697609e8c12a4b4e90b192f44 SHA256 34ac2895b39701076034bfd00c9fc8d09994c1d0366abddbac2151d51bde1d15
DIST vmware-tools-winPre2k-8.8.1-528992.i386.component.tar 11253760 RMD160 e14465f868728c0038bdc336773800c2757161f6 SHA1 90d37ecd766b0307b44a350886e84c97920f56a1 SHA256 590c38521249be9b74812598e90f1658115b1f54871a0473be46665d2c08aed9
DIST vmware-tools-winPre2k-8.8.1-528992.x86_64.component.tar 11253760 RMD160 1b0b9a0a139b981c4bd2abf547ae0832739d1204 SHA1 dd2b9df6f37265e50db3ab2b1f5bb1ba12947ea1 SHA256 9bd8606416bdd23e190ae691106e2ab045231be654137725b38698fb33448869
DIST vmware-tools-winPre2k-8.8.2-591240.i386.component.tar 11253760 RMD160 fad2a59f93be99d996e4278d6db80846ae16d13e SHA1 916b1e3ca1d42a99400d62457fc778d252d8dbbd SHA256 403b3802d1655f10ed9ca2aba74fe45488efebe52b5122d3a87788238ff3200d
DIST vmware-tools-winPre2k-8.8.2-591240.x86_64.component.tar 11253760 RMD160 fbf94dd29cefa67321e7e0da6e4405ec9f79ef09 SHA1 52a0dc8c3a2f87578f5b070ac52d4d940c6f4b69 SHA256 f57648ffa572317cf264ff01eb6481c3049c0fbb632d96cbedc835b764c72f8b
DIST vmware-tools-windows-8.4.8-491717.i386.component.tar 38174720 RMD160 675c1a884d781879fb6c71b007f81b0deee701e8 SHA1 7d728676e20dc863a96eef5d253c2a4c8616d803 SHA256 80d79afcd36a0458fb59e2423af9915b676593b9306c12d22e0f339600768b9a
DIST vmware-tools-windows-8.4.8-491717.x86_64.component.tar 38174720 RMD160 03ce9520fd251b748f8553508bec0d86a783ff61 SHA1 928c8697fa8a14ecf6d2cd43c99c807acdb696d4 SHA256 06ab70677eb1b71f9418f80f956efce877b68d2a7e98814bad6bcc33a468bd0f
DIST vmware-tools-windows-8.8.1-528992.i386.component.tar 50206720 RMD160 ca99c116abdac554cd281d455e5bf03143b895cf SHA1 2eeae933796572e9d25f7fc1fc099ef1a5fbbef1 SHA256 82d1656ca79154d25537269eea09ac60b716e6b51e68aedd679b75619744936f
DIST vmware-tools-windows-8.8.1-528992.x86_64.component.tar 50206720 RMD160 ffce99021df5c315a59549970c1448e82b52975e SHA1 05c7b57ee216b50b4bb6f4d93c197c42efbee298 SHA256 9e409330557b836b7512c68fed63bf18864e8fea12564b130948c42a54f66685
DIST vmware-tools-windows-8.8.2-591240.i386.component.tar 50237440 RMD160 dc368e7dd0244ba49ea1611e5cf339b7a54eae55 SHA1 f7f33d4d3b7e1387779c97cfdaeb40caccf6b0de SHA256 a17d03fb84e029c278bed3245c94309eea3f7994f932e33d17ed53a06efea530
DIST vmware-tools-windows-8.8.2-591240.x86_64.component.tar 50237440 RMD160 9efcfd8e276bf4865edaf6104cd0abb24399b8d4 SHA1 bf7e66fccedf76622488b3d520060959c5e6d21e SHA256 1a75613819295d100642a6d33dedf9382bfae52e8cc6a1df0f2ed0ea0fa5bfe7

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-tools/vmware-tools-8.4.8.491717.ebuild,v 1.1 2011/10/08 18:05:37 vadimk Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-tools/vmware-tools-8.4.8.491717.ebuild,v 1.2 2012/03/10 14:19:04 vadimk Exp $
inherit versionator vmware-bundle
@ -16,7 +16,7 @@ KEYWORDS="-* ~amd64 ~x86"
RESTRICT="mirror"
IUSE=""
DEPEND="!<app-emulation/vmware-workstation-7"
DEPEND=""
RDEPEND=""
IUSE_VMWARE_GUEST="freebsd linux netware solaris windows winPre2k"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-tools/vmware-tools-8.8.1.528992.ebuild,v 1.1 2011/12/03 20:09:16 vadimk Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-tools/vmware-tools-8.8.1.528992.ebuild,v 1.2 2012/03/10 14:19:04 vadimk Exp $
inherit versionator vmware-bundle
@ -16,7 +16,7 @@ KEYWORDS="-* ~amd64 ~x86"
RESTRICT="mirror"
IUSE=""
DEPEND="!<app-emulation/vmware-workstation-7"
DEPEND=""
RDEPEND=""
IUSE_VMWARE_GUEST="freebsd linux netware solaris windows winPre2k"

@ -0,0 +1,55 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-tools/vmware-tools-8.8.2.591240.ebuild,v 1.1 2012/03/10 14:19:04 vadimk Exp $
inherit versionator vmware-bundle
MY_PV="$(replace_version_separator 3 - $PV)"
BASE_URI="http://softwareupdate.vmware.com/cds/vmw-desktop/player/4.0.$(get_version_component_range 3)/$(get_version_component_range 4)/linux/packages/"
DESCRIPTION="VMware Tools for guest operating systems"
HOMEPAGE="http://www.vmware.com/products/player/"
LICENSE="vmware"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
RESTRICT="mirror"
IUSE=""
DEPEND=""
RDEPEND=""
IUSE_VMWARE_GUEST="freebsd linux netware solaris windows winPre2k"
VM_INSTALL_DIR="/opt/vmware"
for guest in ${IUSE_VMWARE_GUEST} ; do
SRC_URI+=" vmware_guest_${guest}? (
amd64? ( ${BASE_URI}vmware-tools-${guest}-${MY_PV}.x86_64.component.tar )
x86? ( ${BASE_URI}vmware-tools-${guest}-${MY_PV}.i386.component.tar )
)"
IUSE+=" vmware_guest_${guest}"
done ; unset guest
src_unpack() {
local arch
if use x86 ; then arch='i386'
elif use amd64 ; then arch='x86_64'
fi
local guest ; for guest in ${IUSE_VMWARE_GUEST} ; do
if use "vmware_guest_${guest}" ; then
local component="vmware-tools-${guest}-${MY_PV}.${arch}.component"
unpack "${component}.tar"
vmware-bundle_extract-component "${component}"
fi
done
}
src_install() {
insinto "${VM_INSTALL_DIR}"/lib/vmware/isoimages
local guest ; for guest in ${IUSE_VMWARE_GUEST} ; do
if use "vmware_guest_${guest}" ; then
doins "${guest}".iso{,.sig}
fi
done
}

@ -2,3 +2,5 @@ DIST VMware-Workstation-7.1.5-491717.i386.bundle 130351656 RMD160 110bc8a4486bdf
DIST VMware-Workstation-7.1.5-491717.x86_64.bundle 137361206 RMD160 b5f302400a0c33b2bc4a2b68ccc070f9329af047 SHA1 0cca1399008630ed76374d794806d60a93dc3e97 SHA256 857a71e4022a357a49aadc0516dae8909b34abf7a3681fbba5e76d92ee3be90b
DIST VMware-Workstation-Full-8.0.1-528992.i386.bundle 338993938 RMD160 57eac2aa9bff8849c881dfc8a50cd1f4254846d5 SHA1 5695b1728750a944b9c000a2fa5afade8980bb2c SHA256 88e6b210cffe77229dc9bd29d4a9eb1596f127fc676d7722acff3ad92c971446
DIST VMware-Workstation-Full-8.0.1-528992.x86_64.bundle 338744697 RMD160 71ca85cd6f61de4152f0b7204764ef6851a03a06 SHA1 14a4f66c881a6a163bda0dfcaa3fa1240c061679 SHA256 33d2418aca44d9effa45a56804e7fc9e1dabc9e0b74ee188fc8b3a16ba4292fe
DIST VMware-Workstation-Full-8.0.2-591240.i386.bundle 339158324 RMD160 59806d3a85620fa19d32797d7eb434a5525e0647 SHA1 94c4d04b7b24ae03ead29f17445d576173d40bb4 SHA256 0605d68622887b916cb1c774bb4c26481bd97de4f13bfd13b950f10809d119e7
DIST VMware-Workstation-Full-8.0.2-591240.x86_64.bundle 338890534 RMD160 a00f0d203aa0a03aaf00bbe678c38b2c1b30012d SHA1 6ad52e8f0768e279639cd41abeda4f9358b40d0f SHA256 804590c103d0ee09fbcfe5adcfa3bd99d2dc9e4a98dc61d4d4067e550ba7f6ec

@ -0,0 +1,488 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/vmware-workstation-8.0.2.591240.ebuild,v 1.1 2012/03/10 14:20:59 vadimk Exp $
EAPI="4"
inherit eutils versionator fdo-mime gnome2-utils pam vmware-bundle
MY_PN="VMware-Workstation"
MY_PV="$(replace_version_separator 3 - $PV)"
MY_P="${MY_PN}-Full-${MY_PV}"
DESCRIPTION="Emulate a complete PC on your PC without the usual performance overhead of most emulators"
HOMEPAGE="http://www.vmware.com/products/workstation/"
SRC_URI="
x86? ( ${MY_P}.i386.bundle )
amd64? ( ${MY_P}.x86_64.bundle )
"
LICENSE="vmware"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="cups doc gnome kde ovftool server vix vmware-tools"
RESTRICT="binchecks fetch mirror strip"
# vmware-workstation should not use virtual/libc as this is a
# precompiled binary package thats linked to glibc.
RDEPEND="dev-cpp/cairomm
dev-cpp/glibmm:2
dev-cpp/gtkmm:2.4
dev-cpp/libgnomecanvasmm
dev-cpp/libsexymm
dev-cpp/pangomm
dev-libs/atk
dev-libs/glib:2
dev-libs/icu
dev-libs/expat
dev-libs/libaio
dev-libs/libsigc++
dev-libs/libxml2
=dev-libs/openssl-0.9.8*
dev-libs/xmlrpc-c
gnome-base/libgnomecanvas
gnome-base/libgtop:2
gnome-base/librsvg:2
gnome-base/orbit
media-libs/fontconfig
media-libs/freetype
media-libs/libart_lgpl
=media-libs/libpng-1.2*
media-libs/libpng
net-misc/curl
cups? ( net-print/cups )
sys-devel/gcc
sys-fs/fuse
sys-libs/glibc
sys-libs/zlib
x11-libs/cairo
gnome? ( x11-libs/gksu )
kde? ( kde-base/kdesu )
x11-libs/gtk+:2
x11-libs/libgksu
x11-libs/libICE
x11-libs/libsexy
x11-libs/libSM
x11-libs/libX11
x11-libs/libXau
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXft
x11-libs/libXi
x11-libs/libXinerama
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/pango
x11-libs/startup-notification
x11-themes/hicolor-icon-theme
!app-emulation/vmware-player"
PDEPEND="~app-emulation/vmware-modules-264.2
vmware-tools? ( app-emulation/vmware-tools )"
S=${WORKDIR}
VM_INSTALL_DIR="/opt/vmware"
VM_DATA_STORE_DIR="/var/lib/vmware/Shared VMs"
VM_HOSTD_USER="root"
pkg_nofetch() {
local bundle
if use x86; then
bundle="${MY_P}.i386.bundle"
elif use amd64; then
bundle="${MY_P}.x86_64.bundle"
fi
einfo "Please download ${bundle}"
einfo "from ${HOMEPAGE}"
einfo "and place it in ${DISTDIR}"
}
src_unpack() {
local component; for component in \
vmware-vmx \
vmware-player-app \
vmware-player-setup \
vmware-workstation \
vmware-network-editor \
vmware-network-editor-ui \
vmware-usbarbitrator
do
vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" "${component}" "${S}"
done
if use server; then
vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" vmware-workstation-server #"${S}"
fi
if use vix; then
vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" vmware-vix-core vmware-vix
vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" vmware-vix-lib-Workstation800andvSphere500 vmware-vix
fi
if use ovftool; then
vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" vmware-ovftool
fi
}
src_prepare() {
rm -f bin/vmware-modconfig
rm -rf lib/modules/binary
if use server; then
rm -f vmware-workstation-server/bin/{openssl,configure-hostd.sh}
fi
find "${S}" -name '*.a' -delete
# clean_bundled_libs
}
clean_bundled_libs() {
ebegin 'Removing superfluous libraries'
cd lib/lib || die
ldconfig -p | \
sed 's:^\s\+\([^(]*[^( ]\).*=> /.*$:\1:g;t;d' | \
fgrep -vx 'libcrypto.so.0.9.8
libssl.so.0.9.8i
libgcr.so.0
libglib-2.0.so.0' |
xargs -d'\n' -r rm -rf
eend
}
src_install() {
local major_minor=$(get_version_component_range 1-2 "${PV}")
local major_minor_revision=$(get_version_component_range 1-3 "${PV}")
local build=$(get_version_component_range 4 "${PV}")
# install the binaries
into "${VM_INSTALL_DIR}"
dobin bin/*
# install the libraries
insinto "${VM_INSTALL_DIR}"/lib/vmware
doins -r lib/*
# install the ancillaries
insinto /usr
doins -r share
if use cups; then
exeinto $(cups-config --serverbin)/filter
doexe extras/thnucups
insinto /etc/cups
doins -r etc/cups/*
fi
insinto /etc/xdg
doins -r etc/xdg/*
# install documentation
doman man/man1/vmware.1.gz
if use doc; then
dodoc doc/*
fi
insinto "${VM_INSTALL_DIR}"/lib/vmware/setup
doins vmware-config
# install vmware workstation server
if use server; then
dosbin sbin/*
cd "${S}"/vmware-workstation-server
# install binaries
into "${VM_INSTALL_DIR}"/lib/vmware
dobin bin/*
# install the libraries
insinto "${VM_INSTALL_DIR}"/lib/vmware/lib
doins -r lib/*
into "${VM_INSTALL_DIR}"
for tool in vmware-{hostd,vim-cmd,wssc-adminTool} ; do
cat > "${T}/${tool}" <<-EOF
#!/usr/bin/env bash
set -e
. /etc/vmware/bootstrap
exec "${VM_INSTALL_DIR}/lib/vmware/lib/wrapper-gtk24.sh" \\
"${VM_INSTALL_DIR}/lib/vmware/lib" \\
"${VM_INSTALL_DIR}/lib/vmware/bin/${tool}" \\
"${VM_INSTALL_DIR}/lib/vmware/libconf" "\$@"
EOF
dobin "${T}/${tool}"
done
insinto "${VM_INSTALL_DIR}"/lib/vmware
doins -r hostd
# create the configuration
insinto /etc/vmware/hostd
doins -r config/etc/vmware/hostd/*
doins -r etc/vmware/hostd/*
insinto /etc/vmware/ssl
doins etc/vmware/ssl/*
# pam
pamd_mimic_system vmware-authd auth account
# create directory for shared virtual machines.
keepdir "${VM_DATA_STORE_DIR}"
keepdir /var/log/vmware
fi
# install vmware-vix
if use vix; then
cd "${S}"/vmware-vix
# install the binary
into "${VM_INSTALL_DIR}"
dobin bin/*
# install the libraries
insinto "${VM_INSTALL_DIR}"/lib/vmware-vix
doins -r lib/*
dosym vmware-vix/libvixAllProducts.so "${VM_INSTALL_DIR}"/lib/libbvixAllProducts.so
# install headers
insinto /usr/include/vmware-vix
doins include/*
if use doc; then
dohtml -r doc/*
fi
fi
# install ovftool
if use ovftool; then
cd "${S}"
insinto "${VM_INSTALL_DIR}"/lib/vmware-ovftool
doins -r vmware-ovftool/*
chmod 0755 "${D}${VM_INSTALL_DIR}"/lib/vmware-ovftool/{ovftool,ovftool.bin}
dosym "${D}${VM_INSTALL_DIR}"/lib/vmware-ovftool/ovftool "${VM_INSTALL_DIR}"/bin/ovftool
fi
# create symlinks for the various tools
local tool ; for tool in thnuclnt vmware vmplayer{,-daemon} \
vmware-{acetool,enter-serial,gksu,fuseUI,modconfig{,-console},netcfg,tray,unity-helper} ; do
dosym appLoader "${VM_INSTALL_DIR}"/lib/vmware/bin/"${tool}"
done
dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmplayer "${VM_INSTALL_DIR}"/bin/vmplayer
dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware "${VM_INSTALL_DIR}"/bin/vmware
dosym "${VM_INSTALL_DIR}"/lib/vmware/icu /etc/vmware/icu
# fixing gksu problem
if use gnome; then
dosym /usr/bin/gksu "${VM_INSTALL_DIR}"/bin/vmware-gksu
fi
if use kde; then
dosym /usr/bin/kdesu "${VM_INSTALL_DIR}"/bin/vmware-gksu
fi
# fix permissions
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/{appLoader,fusermount,launcher.sh,mkisofs,vmware-remotemks}
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/lib/{wrapper-gtk24.sh,libgksu2.so.0/gksu-run-helper}
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/setup/vmware-config
fperms 4711 "${VM_INSTALL_DIR}"/bin/vmware-mount
fperms 4711 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx{,-debug,-stats}
if use server; then
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-{hostd,vim-cmd,wssc-adminTool}
fperms 4711 "${VM_INSTALL_DIR}"/sbin/vmware-authd
fi
if use vix; then
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware-vix/setup/vmware-config
fi
# create the environment
local envd="${T}/90vmware"
cat > "${envd}" <<-EOF
PATH='${VM_INSTALL_DIR}/bin'
ROOTPATH='${VM_INSTALL_DIR}/bin'
EOF
doenvd "${envd}"
# create the configuration
dodir /etc/vmware
cat > "${D}"/etc/vmware/bootstrap <<-EOF
BINDIR='${VM_INSTALL_DIR}/bin'
LIBDIR='${VM_INSTALL_DIR}/lib'
EOF
cat > "${D}"/etc/vmware/config <<-EOF
bindir = "${VM_INSTALL_DIR}/bin"
libdir = "${VM_INSTALL_DIR}/lib/vmware"
initscriptdir = "/etc/init.d"
authd.fullpath = "${VM_INSTALL_DIR}/sbin/vmware-authd"
gksu.rootMethod = "su"
VMCI_CONFED = "yes"
VMBLOCK_CONFED = "yes"
VSOCK_CONFED = "yes"
NETWORKING = "yes"
player.product.version = "${major_minor_revision}"
product.version = "${major_minor_revision}"
product.buildNumber = "${build}"
product.name = "VMware Workstation"
workstation.product.version = "${major_minor_revision}"
EOF
if use vix; then
cat >> "${D}"/etc/vmware/config <<-EOF
vmware.fullpath = "${VM_INSTALL_DIR}/bin/vmware"
vix.libdir = "${VM_INSTALL_DIR}/lib/vmware-vix"
vix.config.version = "1"
EOF
fi
if use server; then
cat >> "${D}"/etc/vmware/config <<-EOF
authd.client.port = "902"
authd.proxy.nfc = "vmware-hostd:ha-nfc"
authd.soapserver = "TRUE"
EOF
fi
# install the init.d script
local initscript="${T}/vmware.rc"
sed -e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
"${FILESDIR}/vmware-${major_minor}.rc" > ${initscript}
newinitd "${initscript}" vmware
if use server; then
# install the init.d script
local initscript="${T}/vmware-workstation-server.rc"
sed -e "s:@@ETCDIR@@:/etc/vmware:g" \
-e "s:@@PREFIX@@:${VM_INSTALL_DIR}:g" \
-e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
-e "s:@@LIBDIR@@:${VM_INSTALL_DIR}/lib/vmware:g" \
"${FILESDIR}/vmware-server-8.0.rc" > ${initscript}
newinitd "${initscript}" vmware-workstation-server
fi
# fill in variable placeholders
sed -e "s:@@LIBCONF_DIR@@:${VM_INSTALL_DIR}/lib/vmware/libconf:g" \
-i "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf/etc/{gtk-2.0/{gdk-pixbuf.loaders,gtk.immodules},pango/pango{.modules,rc}}
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmware:g" \
-i "${D}/usr/share/applications/${PN}.desktop"
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \
-i "${D}/usr/share/applications/vmware-player.desktop"
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmware-netcfg:g" \
-i "${D}/usr/share/applications/vmware-netcfg.desktop"
if use server; then
# Configuration for vmware-workstation-server
local hostdUser="${VM_HOSTD_USER:-root}"
sed -e "/ACEDataUser/s:root:${hostdUser}:g" \
-i "${D}/etc/vmware/hostd/authorization.xml" || die
# Shared VMs Path: [standard].
sed -e "s:##{DS_NAME}##:standard:g" \
-e "s:##{DS_PATH}##:${VM_DATA_STORE_DIR}:g" \
-i "${D}/etc/vmware/hostd/datastores.xml" || die
sed -e "s:##{HTTP_PORT}##:-1:g" \
-e "s:##{HTTPS_PORT}##:443:g" \
-e "s:##{PIPE_PREFIX}##:/var/run/vmware/:g" \
-i "${D}/etc/vmware/hostd/proxy.xml" || die
# See vmware-workstation-server.py for more details.
sed -e "s:##{BUILD_CFGDIR}##:/etc/vmware/hostd/:g" \
-e "s:##{CFGALTDIR}##:/etc/vmware/hostd/:g" \
-e "s:##{CFGDIR}##:/etc/vmware/:g" \
-e "s:##{ENABLE_AUTH}##:true:g" \
-e "s:##{HOSTDMODE}##:ws:g" \
-e "s:##{HOSTD_CFGDIR}##:/etc/vmware/hostd/:g" \
-e "s:##{HOSTD_MOCKUP}##:false:g" \
-e "s:##{LIBDIR}##:${VM_INSTALL_DIR}/lib/vmware:g" \
-e "s:##{LIBDIR_INSTALLED}##:${VM_INSTALL_DIR}/lib/vmware/:g" \
-e "s:##{LOGDIR}##:/var/log/vmware/:g" \
-e "s:##{LOGLEVEL}##:verbose:g" \
-e "s:##{MOCKUP}##:mockup-host-config.xml:g" \
-e "s:##{PLUGINDIR}##:./:g" \
-e "s:##{SHLIB_PREFIX}##:lib:g" \
-e "s:##{SHLIB_SUFFIX}##:.so:g" \
-e "s:##{USE_BLKLISTSVC}##:false:g" \
-e "s:##{USE_CBRCSVC}##:false:g" \
-e "s:##{USE_CIMSVC}##:false:g" \
-e "s:##{USE_DIRECTORYSVC}##:false:g" \
-e "s:##{USE_DIRECTORYSVC_MOCKUP}##:false:g" \
-e "s:##{USE_DYNAMIC_PLUGIN_LOADING}##:false:g" \
-e "s:##{USE_DYNAMO}##:false:g" \
-e "s:##{USE_DYNSVC}##:false:g" \
-e "s:##{USE_GUESTSVC}##:false:g" \
-e "s:##{USE_HBRSVC}##:false:g" \
-e "s:##{USE_HBRSVC_MOCKUP}##:false:g" \
-e "s:##{USE_HOSTSVC_MOCKUP}##:false:g" \
-e "s:##{USE_HTTPNFCSVC}##:false:g" \
-e "s:##{USE_HTTPNFCSVC_MOCKUP}##:false:g" \
-e "s:##{USE_LICENSESVC_MOCKUP}##:false:g" \
-e "s:##{USE_NFCSVC}##:true:g" \
-e "s:##{USE_NFCSVC_MOCKUP}##:false:g" \
-e "s:##{USE_OVFMGRSVC}##:true:g" \
-e "s:##{USE_PARTITIONSVC}##:false:g" \
-e "s:##{USE_SECURESOAP}##:false:g" \
-e "s:##{USE_SNMPSVC}##:false:g" \
-e "s:##{USE_SOLO_MOCKUP}##:false:g" \
-e "s:##{USE_STATSSVC_MOCKUP}##:false:g" \
-e "s:##{USE_VCSVC_MOCKUP}##:false:g" \
-e "s:##{USE_VDISKSVC}##:false:g" \
-e "s:##{USE_VDISKSVC_MOCKUP}##:false:g" \
-e "s:##{USE_VMSVC_MOCKUP}##:false:g" \
-e "s:##{VM_INVENTORY}##:vmInventory.xml:g" \
-e "s:##{VM_RESOURCES}##:vmResources.xml:g" \
-e "s:##{WEBSERVER_PORT_ENTRY}##::g" \
-e "s:##{WORKINGDIR}##:./:g" \
-i "${D}/etc/vmware/hostd/config.xml" || die
sed -e "s:##{ENV_LOCATION}##:/etc/vmware/hostd/env/:g" \
-i "${D}/etc/vmware/hostd/environments.xml" || die
# @@VICLIENT_URL@@=XXX
sed -e "s:@@AUTHD_PORT@@:902:g" \
-i "${D}${VM_INSTALL_DIR}/lib/vmware/hostd/docroot/client/clients.xml" || die
fi
}
pkg_config() {
"${VM_INSTALL_DIR}"/bin/vmware-networks --postinstall ${PN},old,new
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
ewarn "/etc/env.d was updated. Please run:"
ewarn "env-update && source /etc/profile"
ewarn ""
ewarn "Before you can use vmware workstation, you must configure a default network setup."
ewarn "You can do this by running 'emerge --config ${PN}'."
}
pkg_prerm() {
einfo "Stopping ${PN} for safe unmerge"
/etc/init.d/vmware stop
}
pkg_postrm() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
}

@ -1,5 +1,2 @@
DIST cmake-fedora-modules-only-latest.tar.gz 26660 RMD160 a94d1e770d64de0f60bb8670ddd32414cef31b3a SHA1 38ca209aaa11ab336aa288772054e00803baadbf SHA256 019b1d6727430e305996eb042410be83af9c780bcaf197501b16aca42ee68643
DIST ibus-chewing-1.2.0.20100209-Source.tar.gz 103037 RMD160 399b51b7dd70a5a9267c1d6e79a31ef330626b23 SHA1 3f91c40fa703f99b554f46d658449d201272b8f1 SHA256 8ef2683564e0c68ae6835017ef08c33d4a280b601eddf99d645ab6ccc50fe0e4
DIST ibus-chewing-1.3.10-Source.tar.gz 75365 RMD160 84d4167a0d2c4019f165280cabea2afeaaee4464 SHA1 e9f92370c1ad99d5076b4e288704fadb759928be SHA256 171402a7d6d141d485454493e097746d73da7cef172d2ab5ec1a2c593a2ee1c8
DIST ibus-chewing-1.3.6.20100730-Source.tar.gz 80662 RMD160 1ae6ffebe3b4e2b956e43fe560ea1bc711ef7fa3 SHA1 56a87ab953e40c1d806c24e27df448bd84eb968c SHA256 cf746fd26cdde6eca156ede34ce5e608c51edb157da0ef5ea9728220eafc12d6
DIST ibus-chewing-1.3.9.2-Source.tar.gz 79340 RMD160 0f762ad5057f305fefcf29f82632148b0ee49694 SHA1 4cc1479e4055b217cfa28a009f9f92de41d95295 SHA256 a62828c645d9c61e84ce6b2047f9249d5635f23c5ce911d7960f2ef0ba304f15

@ -0,0 +1,52 @@
http://bugs.gentoo.org/407695
--- src/IBusChewingEngine.gob
+++ src/IBusChewingEngine.gob
@@ -1041,12 +1041,21 @@
/* Toggle Full <-> Half */
chewing_set_ShapeMode(self->context, !chewing_get_ShapeMode(self->context));
}else if (strcmp(prop_name,"chewing_settings_prop")==0){
- if (self->settings_prop->state==PROP_STATE_UNCHECKED){
+#if IBUS_CHECK_VERSION(1, 4, 0)
+ if (ibus_property_get_state(self->settings_prop)==PROP_STATE_UNCHECKED)
+#else
+ if (self->settings_prop->state==PROP_STATE_UNCHECKED)
+#endif
+ {
if (gtk_dialog_run(GTK_DIALOG(self->setting_dialog))==GTK_RESPONSE_OK){
self_save_config_all(self);
}
gtk_widget_hide(self->setting_dialog);
+#if IBUS_CHECK_VERSION(1, 4, 0)
+ ibus_property_set_state(self->settings_prop,PROP_STATE_UNCHECKED);
+#else
self->settings_prop->state=PROP_STATE_UNCHECKED;
+#endif
}
}else{
G_DEBUG_MSG(3,"[I3] property_activate(-, %s, %u) not recognized",prop_name, prop_state);
--- src/IBusChewingEngine-input-events.c
+++ src/IBusChewingEngine-input-events.c
@@ -291,12 +291,21 @@
/* Toggle Full <-> Half */
chewing_set_ShapeMode(self->context, !chewing_get_ShapeMode(self->context));
}else if (strcmp(prop_name,"chewing_settings_prop")==0){
- if (self->settings_prop->state==PROP_STATE_UNCHECKED){
+#if IBUS_CHECK_VERSION(1, 4, 0)
+ if (ibus_property_get_state(self->settings_prop)==PROP_STATE_UNCHECKED)
+#else
+ if (self->settings_prop->state==PROP_STATE_UNCHECKED)
+#endif
+ {
if (gtk_dialog_run(GTK_DIALOG(self->setting_dialog))==GTK_RESPONSE_OK){
self_save_config_all(self);
}
gtk_widget_hide(self->setting_dialog);
+#if IBUS_CHECK_VERSION(1, 4, 0)
+ ibus_property_set_state(self->settings_prop,PROP_STATE_UNCHECKED);
+#else
self->settings_prop->state=PROP_STATE_UNCHECKED;
+#endif
}
}else{
G_DEBUG_MSG(3,"[I3] property_activate(-, %s, %u) not recognized",prop_name, prop_state);

@ -1,12 +0,0 @@
diff -Naur ibus-chewing-1.3.9.2-Source.orig/CMakeLists.txt ibus-chewing-1.3.9.2-Source/CMakeLists.txt
--- ibus-chewing-1.3.9.2-Source.orig/CMakeLists.txt 2010-11-19 11:41:24.000000000 +0900
+++ ibus-chewing-1.3.9.2-Source/CMakeLists.txt 2011-04-01 17:33:37.571426377 +0900
@@ -4,7 +4,7 @@
#
PROJECT(ibus-chewing)
SET(PRJ_SUMMARY "The Chewing engine for IBus input platform")
-SET(CMAKE_C_FLAGS "-Wall")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
SET(AUTHORS "Peng Huang, Ding-Yi Chen")
SET(MAINTAINER "Ding-Yi Chen <dchen at redhat.com>")

@ -1,31 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-chewing/ibus-chewing-1.2.0.20100209.ebuild,v 1.1 2010/02/13 00:14:50 matsuu Exp $
EAPI="1"
inherit cmake-utils
MY_P="${P}-Source"
DESCRIPTION="The Chewing IMEngine for IBus Framework"
HOMEPAGE="http://code.google.com/p/ibus/"
SRC_URI="http://ibus.googlecode.com/files/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
RDEPEND="x11-libs/libXtst
>=app-i18n/ibus-1.1
>=dev-libs/libchewing-0.3.2
x11-libs/gtk+:2
dev-util/gob:2"
DEPEND="${RDEPEND}
dev-util/cmake
dev-util/pkgconfig"
S="${WORKDIR}/${MY_P}"
CMAKE_IN_SOURCE_BUILD=1
DOCS="AUTHORS ChangeLog NEWS README"

@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-chewing/ibus-chewing-1.3.10.ebuild,v 1.1 2011/11/01 18:11:36 naota Exp $
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-chewing/ibus-chewing-1.3.10.ebuild,v 1.2 2012/03/10 17:28:48 ssuominen Exp $
EAPI="3"
EAPI=3
inherit cmake-utils
MY_P="${P}-Source"
@ -25,10 +25,21 @@ DEPEND="${RDEPEND}
dev-util/cmake-fedora
dev-util/pkgconfig"
S="${WORKDIR}/${MY_P}"
S=${WORKDIR}/${MY_P}
CMAKE_IN_SOURCE_BUILD=1
PATCHES=( "${FILESDIR}/${P}-cflags.patch" )
PATCHES=(
"${FILESDIR}"/${P}-cflags.patch
"${FILESDIR}"/${P}-ibus-1.4.patch
)
DOCS="AUTHORS ChangeLog ChangeLog.prev README RELEASE-NOTES.txt USER-GUIDE"
src_install() {
cmake-utils_src_install
# Move /gconf to /etc/gconf
dodir /etc
mv -vf "${ED}"/gconf "${ED}"/etc
}

@ -1,31 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-chewing/ibus-chewing-1.3.6.20100730.ebuild,v 1.1 2010/08/01 02:29:16 matsuu Exp $
EAPI="2"
inherit cmake-utils
MY_P="${P}-Source"
DESCRIPTION="The Chewing IMEngine for IBus Framework"
HOMEPAGE="http://code.google.com/p/ibus/"
SRC_URI="http://ibus.googlecode.com/files/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
RDEPEND="x11-libs/libXtst
>=app-i18n/ibus-1.1
>=dev-libs/libchewing-0.3.2
x11-libs/gtk+:2
dev-util/gob:2"
DEPEND="${RDEPEND}
dev-util/cmake
dev-util/pkgconfig"
S="${WORKDIR}/${MY_P}"
CMAKE_IN_SOURCE_BUILD=1
DOCS="AUTHORS ChangeLog ChangeLog.prev README RELEASE-NOTES.txt USER-GUIDE"

@ -1,32 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-chewing/ibus-chewing-1.3.9.2.ebuild,v 1.1 2011/04/02 02:05:44 matsuu Exp $
EAPI="3"
inherit cmake-utils
MY_P="${P}-Source"
DESCRIPTION="The Chewing IMEngine for IBus Framework"
HOMEPAGE="http://code.google.com/p/ibus/"
SRC_URI="http://ibus.googlecode.com/files/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
RDEPEND="x11-libs/libXtst
>=app-i18n/ibus-1.1
>=dev-libs/libchewing-0.3.2
x11-libs/gtk+:2
dev-util/gob:2"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
S="${WORKDIR}/${MY_P}"
CMAKE_IN_SOURCE_BUILD=1
PATCHES=( "${FILESDIR}/${P}-cflags.patch" )
DOCS="AUTHORS ChangeLog ChangeLog.prev README RELEASE-NOTES.txt USER-GUIDE"

@ -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-i18n/libguess/libguess-1.0.ebuild,v 1.13 2012/02/19 15:14:34 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-i18n/libguess/libguess-1.0.ebuild,v 1.14 2012/03/10 16:59:13 ranger Exp $
EAPI=2
@ -10,7 +10,7 @@ SRC_URI="http://distfiles.atheme.org/${P}.tbz2"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ~ppc ~ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
KEYWORDS="alpha amd64 hppa ppc ~ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="examples"
RDEPEND="

@ -0,0 +1,204 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/beagle-0.3.9-r6.ebuild,v 1.1 2012/03/10 16:34:06 pacho Exp $
EAPI="4"
GNOME_TARBALL_SUFFIX="bz2"
inherit base gnome.org eutils mono mozextension autotools
DESCRIPTION="Search tool that ransacks your personal information space to find whatever you're looking for"
HOMEPAGE="http://www.beagle-project.org/"
LICENSE="MIT Apache-1.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="avahi chm debug doc eds firefox gtk +pdf +inotify +ole thunderbird +google +xscreensaver"
#See bug 248331 for blocker reason.
RDEPEND="!!sci-libs/beagle
>dev-lang/mono-2.4
>=app-shells/bash-3.2
app-arch/zip
>=dev-db/sqlite-3.3.1
>=dev-dotnet/ndesk-dbus-0.6.0
>=dev-dotnet/ndesk-dbus-glib-0.4.1
>=dev-dotnet/taglib-sharp-2.0
gtk? (
x11-libs/libX11
>=gnome-base/librsvg-2.22.0:2
sys-devel/gettext
>=dev-dotnet/gtk-sharp-2.12.6:2
>=dev-dotnet/gconf-sharp-2.24.0:2
>=dev-dotnet/glade-sharp-2.12.6:2
>=dev-dotnet/gnome-sharp-2.24.0:2
>=dev-dotnet/gnomevfs-sharp-2.24.0:2
x11-misc/xdg-utils
>=x11-libs/gtk+-2.14.0:2
>=dev-libs/atk-1.22.0
)
eds? (
>=dev-dotnet/evolution-sharp-0.18.1
>=dev-dotnet/gconf-sharp-2.24.0:2
>=dev-dotnet/glib-sharp-2.12.6:2
)
ole? (
>=app-text/wv-1.2.3
>=dev-dotnet/gsf-sharp-0.8.1
>=app-office/gnumeric-1.4.3-r3
)
x11-misc/shared-mime-info
>=dev-dotnet/glib-sharp-2.12.6:2
dev-libs/gmime:2.4[mono]
chm? ( dev-libs/chmlib )
pdf? ( >=app-text/poppler-0.12.3-r3[utils] )
thunderbird? (
|| (
>=mail-client/thunderbird-1.5
>=mail-client/thunderbird-bin-1.5
)
)
firefox? (
|| (
>=www-client/firefox-1.5
>=www-client/firefox-bin-1.5
)
)
xscreensaver? ( x11-libs/libXScrnSaver )
>=dev-libs/libbeagle-0.3.9
avahi? ( >=net-dns/avahi-0.6.10[mono] )"
DEPEND="${RDEPEND}
doc? ( >=virtual/monodoc-1.2.4 )
dev-util/pkgconfig
xscreensaver? ( x11-proto/scrnsaverproto )
>=dev-util/intltool-0.35"
pkg_setup() {
enewgroup beagleindex
enewuser beagleindex -1 -1 /var/lib/cache/beagle beagleindex
if use thunderbird
then
if ! use inotify
then
eerror "You have enabled the thunderbird use flag. This use-flag depends on the inotify use-flag."
eerror "Please enable the inotify use-flag also."
eerror "See http://bugs.gentoo.org/263781 for more information."
die "Please enable the inotify use-flag."
fi
fi
}
src_prepare() {
# Fix bugs.gnome.org/556243
sed -i -e "s:libgnome-desktop-2.so.2:libgnome-desktop-2.so:" \
search/Beagle.Search.exe.config || die "gnome-desktop sed failed"
# Fix when using firefox 3.6
epatch "${FILESDIR}/${P}-firefox-3.6.patch"
# Fix building against gmime-2.4, bug #311499
epatch "${FILESDIR}/${P}-gmime24.patch"
# Remove bogus open check
epatch "${FILESDIR}/${P}-openfix.patch"
# Port to mono-2.6
epatch "${FILESDIR}/${P}-mono2.6.patch"
# Grow/shrink the number beagle-search results based on window size
epatch "${FILESDIR}/${P}-grow-shrink.patch"
# Update tileIndex when removing a tile
epatch "${FILESDIR}/${P}-update-tileindex.patch"
# Support mono-2.8, bug #341195
epatch "${FILESDIR}/${P}-mono2.8.patch"
# Fix crash on second search, bug #353533
epatch "${FILESDIR}/${P}-UnixConnectionHandler-exceptions.patch"
intltoolize --force --copy --automake || die "intltoolize failed"
eautoreconf
}
src_configure() {
econf --disable-static \
--disable-dependency-tracking \
--disable-epiphany-extension \
$(use_enable debug xml-dump) \
$(use_enable doc docs) \
$(use_enable thunderbird) \
$(use_enable eds evolution) \
$(use_enable gtk gui) \
$(use_enable ole gsf-sharp wv1) \
$(use_enable xscreensaver xss) \
$(use_enable inotify) \
$(use_enable avahi) \
$(use_enable google googlebackends)
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS NEWS README
declare MOZILLA_FIVE_HOME
if use firefox; then
xpi_unpack "${S}"/firefox-extension/beagle.xpi \
|| die "Unable to find Beagle Firefox Extension"
mv "${WORKDIR}"/beagle "${WORKDIR}"/firefox-beagle
if has_version '>=www-client/firefox-1.5'; then
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-firefox"
xpi_install "${WORKDIR}"/firefox-beagle \
|| die "xpi install for firefox failed!"
fi
if has_version '>=www-client/firefox-bin-1.5'; then
MOZILLA_FIVE_HOME="/opt/firefox"
xpi_install "${WORKDIR}"/firefox-beagle \
|| die "xpi install for firefox-bin failed!"
fi
fi
if use thunderbird; then
xpi_unpack "${S}"/thunderbird-extension/beagle.xpi \
|| die "Unable to find Beagle Thunderbird Extension"
mv "${WORKDIR}"/beagle "${WORKDIR}"/thunderbird-beagle
if has_version '>=mail-client/thunderbird-1.5'; then
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird"
xpi_install "${WORKDIR}"/thunderbird-beagle \
|| die "xpi install for thunderbird failed!"
fi
if has_version '>=mail-client/thunderbird-bin-1.5'; then
MOZILLA_FIVE_HOME="/opt/thunderbird"
xpi_install "${WORKDIR}"/thunderbird-beagle \
|| die "xpi install for thunderbird-bin failed!"
fi
fi
sed -i -e 's/CRAWL_ENABLED="yes"/CRAWL_ENABLED="no"/' \
"${ED}"/etc/beagle/crawl-rules/crawl-* || die
insinto /etc/beagle/crawl-rules
doins "${FILESDIR}/crawl-portage"
keepdir "/usr/$(get_libdir)/beagle/Backends"
diropts -o beagleindex -g beagleindex
keepdir "/var/lib/cache/beagle/indexes"
find "${D}" -name "*.la" -delete || die "remove of la files failed"
}
pkg_postinst() {
elog "If available, Beagle greatly benefits from using certain operating"
elog "system features such as Extended Attributes and inotify."
elog
elog "If you want static queryables such as the portage tree and system"
elog "documentation you will need to edit the /etc/beagle/crawl-* files"
elog "and change CRAWL_ENABLE from 'no' to 'yes'."
elog
elog "For more info on how to create the optimal beagle environment, and"
elog "basic usage info, see the Gentoo page of the Beagle website:"
elog "http://www.beagle-project.org/Gentoo_Installation"
}

@ -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-mobilephone/obexd/obexd-0.45.ebuild,v 1.1 2012/03/08 09:53:18 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexd/obexd-0.45.ebuild,v 1.2 2012/03/10 08:46:42 pacho Exp $
EAPI="4"
@ -14,7 +14,7 @@ IUSE="-eds nokia -server usb"
RDEPEND="eds? ( gnome-extra/evolution-data-server )
!eds? ( dev-libs/libical )
net-wireless/bluez
>=net-wireless/bluez-4.99
>=dev-libs/openobex-1.4
>=dev-libs/glib-2.16:2
sys-apps/dbus

@ -1,5 +1,3 @@
DIST layman-1.4.1.tar.gz 59960 RMD160 01cf082089c346696df52960412ed26ce06afe4a SHA1 62470af3569b84fbef5368a69337c320e5236010 SHA256 6dfa2a99b6ec4ee2f7a0a9f1e293dbb1bf2a52e408098aebd5031d93f8c4f248
DIST layman-1.4.2.tar.gz 60655 RMD160 e8144dcbd9800164aeae96c485ff58b389845dfe SHA1 d66cb7c8054dbacd3a269edf987604d07520fb46 SHA256 a10418aa33f4f849c190b5c15b37abac81058858be3cb107d084057cef56ccfd
DIST layman-2.0.0_rc1.tar.gz 70796 RMD160 d2d377b4930c8c630939bf929bdc609744d9689e SHA1 4fa9ade163d0c2b1c4f7fda3223da4f6c46d067c SHA256 20587f6410d544a70616f24705ea5dbdacc17e929109e307083d14d272dcbb02
DIST layman-2.0.0_rc2.tar.gz 74170 RMD160 06215f4f4f1dbe88262ac248eedda1aa97bb9329 SHA1 ed753645318f0477d9b07f25f98f00bf091632be SHA256 f0430c6768b30b0a04d56ace43bd663ebc52160540e00f3d76305caffc037fa4
DIST layman-2.0.0_rc3.tar.gz 74440 RMD160 14251717649b62bf2a722d5b97ffb0f1348ac9c1 SHA1 5598bd7cb4c506246c1a8c9a6d56df8613abcddf SHA256 fcbf59924f2fa62ef16ace2b4d66f9677c57396209b9c41a3548486f8d7453ab

File diff suppressed because one or more lines are too long

@ -1,69 +0,0 @@
From c5c3121331d8f2f2b39b8f41b91d705d197be250 Mon Sep 17 00:00:00 2001
From: dol-sen <brian.dolbec@gmail.com>
Date: Tue, 12 Jul 2011 12:01:43 -0700
Subject: [PATCH] fix mistracking success adding an overlay.
---
layman/api.py | 17 +++++++++--------
layman/db.py | 4 +++-
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/layman/api.py b/layman/api.py
index 8e54d7d..a924ead 100644
--- a/layman/api.py
+++ b/layman/api.py
@@ -114,14 +114,14 @@ class LaymanAPI(object):
self._error("Repository '"+ovl+"' was not installed")
results.append(False)
continue
+ success = False
try:
- self._get_installed_db().delete(
+ success = self._get_installed_db().delete(
self._get_installed_db().select(ovl))
- results.append(True)
except Exception as e:
self._error(
- "Failed to disable repository '"+ovl+"':\n"+str(e))
- results.append(False)
+ "Exception caught disabling repository '"+ovl+"':\n"+str(e))
+ results.append(success)
self.get_installed(dbreload=True)
if False in results:
return False
@@ -147,12 +147,13 @@ class LaymanAPI(object):
self._error(UnknownOverlayMessage(ovl))
results.append(False)
continue
+ success = False
try:
- self._get_installed_db().add(self._get_remote_db().select(ovl), quiet=True)
- results.append(True)
+ success = self._get_installed_db().add(
+ self._get_remote_db().select(ovl), quiet=True)
except Exception as e:
- self._error("Failed to enable repository '"+ovl+"' : "+str(e))
- results.append(False)
+ self._error("Exception caught enabling repository '"+ovl+"' : "+str(e))
+ results.append(success)
self.get_installed(dbreload=True)
if False in results:
return False
diff --git a/layman/db.py b/layman/db.py
index 3ed5cc6..b1df906 100644
--- a/layman/db.py
+++ b/layman/db.py
@@ -206,7 +206,9 @@ class DB(DbBase):
self.write(self.path)
make_conf.delete(overlay)
else:
- raise Exception('No local overlay named "' + overlay.name + '"!')
+ self.output.error('No local overlay named "' + overlay.name + '"!')
+ return False
+ return True
def sync(self, overlay_name, quiet = False):
'''Synchronize the given overlay.'''
--
1.7.6

@ -1,10 +1,11 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-1.4.1.ebuild,v 1.10 2011/07/09 11:23:47 xarthisius Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-1.4.1.ebuild,v 1.11 2012/03/10 23:34:58 dolsen Exp $
EAPI="2"
PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
PYTHON_USE_WITH="xml"
inherit eutils distutils
@ -17,7 +18,7 @@ SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="bazaar cvs darcs git mercurial subversion test"
COMMON_DEPS="dev-lang/python[xml]"
COMMON_DEPS="dev-lang/python"
DEPEND="${COMMON_DEPS}
test? ( dev-vcs/subversion )"
RDEPEND="${COMMON_DEPS}

@ -1,10 +1,11 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-1.4.2-r2.ebuild,v 1.1 2011/04/28 03:25:03 darkside Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-1.4.2-r3.ebuild,v 1.1 2012/03/11 01:56:03 dolsen Exp $
EAPI="2"
PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
PYTHON_USE_WITH="xml"
inherit eutils distutils
@ -17,7 +18,7 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="bazaar cvs darcs git mercurial subversion test"
COMMON_DEPS="dev-lang/python[xml]"
COMMON_DEPS="dev-lang/python"
DEPEND="${COMMON_DEPS}
test? ( dev-vcs/subversion )"
RDEPEND="${COMMON_DEPS}
@ -36,6 +37,7 @@ RESTRICT_PYTHON_ABIS="2.4 3.*"
src_prepare() {
epatch "${FILESDIR}/${P}-python-compatbility-fix.patch"
epatch "${FILESDIR}/${P}-manpage-corrections.patch"
}
# Prevent running make

@ -1,92 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-2.0.0_rc1-r1.ebuild,v 1.6 2011/08/08 16:28:35 darkside Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2:2.6"
RESTRICT_PYTHON_ABIS="2.4 2.5 3.*"
inherit eutils distutils prefix
DESCRIPTION="Tool to manage Gentoo overlays"
HOMEPAGE="http://layman.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~x86-fbsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="bazaar cvs darcs git mercurial subversion test"
COMMON_DEPS="dev-lang/python[xml]"
DEPEND="${COMMON_DEPS}
test? ( dev-vcs/subversion )"
RDEPEND="${COMMON_DEPS}
bazaar? ( dev-vcs/bzr )
cvs? ( dev-vcs/cvs )
darcs? ( dev-vcs/darcs )
git? ( dev-vcs/git )
mercurial? ( dev-vcs/mercurial )
subversion? (
|| (
>=dev-vcs/subversion-1.5.4[webdav-neon]
>=dev-vcs/subversion-1.5.4[webdav-serf]
)
)"
RESTRICT_PYTHON_ABIS="2.4 3.*"
src_prepare() {
epatch "${FILESDIR}/${P}-fix-mistracking-success.patch"
sed -i -e 's#/var/lib/layman#@GENTOO_PORTAGE_EPREFIX@/var/lib/layman#' etc/layman.cfg || die
eprefixify etc/layman.cfg
}
src_test() {
testing() {
for suite in layman/tests/{dtest,external}.py ; do
PYTHONPATH="." "$(PYTHON)" ${suite} \
|| die "test suite '${suite}' failed"
done
}
python_execute_function testing
}
src_install() {
distutils_src_install
insinto /etc/layman
doins etc/layman.cfg || die
doman doc/layman.8
dohtml doc/layman.8.html
keepdir /var/lib/layman
}
pkg_postinst() {
distutils_pkg_postinst
einfo "You are now ready to add overlays into your system."
einfo
einfo " layman -L"
einfo
einfo "will display a list of available overlays."
einfo
elog "Select an overlay and add it using"
elog
elog " layman -a overlay-name"
elog
elog "If this is the very first overlay you add with layman,"
elog "you need to append the following statement to your"
elog "/etc/make.conf file:"
elog
elog " source /var/lib/layman/make.conf"
elog
elog "If you modify the 'storage' parameter in the layman"
elog "configuration file (/etc/layman/layman.cfg) you will"
elog "need to adapt the path given above to the new storage"
elog "directory."
elog
ewarn "Please add the 'source' statement to make.conf only AFTER "
ewarn "you added your first overlay. Otherwise portage will fail."
}

@ -1,89 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-2.0.0_rc2.ebuild,v 1.1 2011/08/11 20:06:16 fuzzyray Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2:2.6"
RESTRICT_PYTHON_ABIS="2.4 3.*"
inherit eutils distutils prefix
DESCRIPTION="Tool to manage Gentoo overlays"
HOMEPAGE="http://layman.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~x86-fbsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="bazaar cvs darcs git mercurial subversion test"
COMMON_DEPS="dev-lang/python[xml]"
DEPEND="${COMMON_DEPS}
test? ( dev-vcs/subversion )"
RDEPEND="${COMMON_DEPS}
bazaar? ( dev-vcs/bzr )
cvs? ( dev-vcs/cvs )
darcs? ( dev-vcs/darcs )
git? ( dev-vcs/git )
mercurial? ( dev-vcs/mercurial )
subversion? (
|| (
>=dev-vcs/subversion-1.5.4[webdav-neon]
>=dev-vcs/subversion-1.5.4[webdav-serf]
)
)"
src_prepare() {
eprefixify etc/layman.cfg layman/config.py
}
src_test() {
testing() {
for suite in layman/tests/{dtest,external}.py ; do
PYTHONPATH="." "$(PYTHON)" ${suite} \
|| die "test suite '${suite}' failed"
done
}
python_execute_function testing
}
src_install() {
distutils_src_install
insinto /etc/layman
doins etc/layman.cfg || die
doman doc/layman.8
dohtml doc/layman.8.html
keepdir /var/lib/layman
}
pkg_postinst() {
distutils_pkg_postinst
einfo "You are now ready to add overlays into your system."
einfo
einfo " layman -L"
einfo
einfo "will display a list of available overlays."
einfo
elog "Select an overlay and add it using"
elog
elog " layman -a overlay-name"
elog
elog "If this is the very first overlay you add with layman,"
elog "you need to append the following statement to your"
elog "/etc/make.conf file:"
elog
elog " source /var/lib/layman/make.conf"
elog
elog "If you modify the 'storage' parameter in the layman"
elog "configuration file (/etc/layman/layman.cfg) you will"
elog "need to adapt the path given above to the new storage"
elog "directory."
elog
ewarn "Please add the 'source' statement to make.conf only AFTER "
ewarn "you added your first overlay. Otherwise portage will fail."
}

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/porticron/porticron-0.6.ebuild,v 1.4 2011/05/31 20:17:15 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/porticron/porticron-0.6.ebuild,v 1.5 2012/03/10 17:17:24 ranger Exp $
EAPI="3"
@ -14,7 +14,7 @@ SRC_URI="http://nodeload.github.com/${GITHUB_AUTHOR}/${GITHUB_PROJECT}/tarball/v
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 hppa ~ppc x86"
KEYWORDS="amd64 hppa ppc x86"
IUSE=""
DEPEND=""

@ -1,2 +1,3 @@
DIST dos2unix-5.3.1.tar.gz 54967 RMD160 2d97a1e57adcc6f2a2d237615f5963a4d4725fcf SHA1 df924653efb1f97f90c1017cb99d66b5e07ffc13 SHA256 21322fd3ab3a542c36ea72072251610b3075ca2ebca7d1500f8e4810f9e0982f
DIST dos2unix-5.3.2.tar.gz 56719 RMD160 15440229c1a0cf6ff03bedb2066e0cc48f7f2b28 SHA1 0df5fb5fae7758809105a1e6faf454e58d2af681 SHA256 2473f87b20bc9c6827ce2b3be376586d496c28dce35adb676a2129e82acb1c74
DIST dos2unix-5.3.3.tar.gz 58085 RMD160 cd2ebfcc94f19387f70da07ede3adb0e3e256ed5 SHA1 4a23f2b4e5d68a71119ae453b9045b7b7efd6f4a SHA256 60f62dc6536a22252204bc7cba8b411d5303859cd8b7eff27443445b0fc056ba

@ -0,0 +1,59 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/dos2unix-5.3.3.ebuild,v 1.1 2012/03/11 01:38:52 radhermit Exp $
EAPI=4
inherit eutils toolchain-funcs
DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html http://sourceforge.net/projects/dos2unix/"
SRC_URI="
http://www.xs4all.nl/~waterlan/${PN}/${P}.tar.gz
mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
IUSE="debug nls"
RDEPEND="
!app-text/hd2u
!app-text/unix2dos
virtual/libintl"
DEPEND="
${RDEPEND}
dev-lang/perl"
src_prepare() {
sed \
-e '/^LDFLAGS/s|=|+=|' \
-e '/^CC/s|=|?=|' \
-e '/CFLAGS_OS \+=/d' \
-e '/LDFLAGS_EXTRA \+=/d' \
-e "/^CFLAGS/s|-O2|${CFLAGS}|" \
-i Makefile || die
if use debug ; then
sed -e "/^DEBUG/s:0:1:" \
-e "/EXTRA_CFLAGS +=/s:-g::" \
-i Makefile || die
fi
tc-export CC
}
lintl() {
# same logic as from virtual/libintl
use !elibc_glibc && use !elibc_uclibc && echo "-lintl"
}
src_compile() {
emake prefix="${EPREFIX}/usr" \
$(use nls && echo "LDFLAGS_EXTRA=$(lintl)" || echo "ENABLE_NLS=")
}
src_install() {
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \
$(use nls || echo "ENABLE_NLS=") install
}

@ -1 +1,2 @@
DIST pandoc-1.8.1.1.tar.gz 459135 RMD160 6909fc5358abf628a7ef2eefca673ab76db4bd91 SHA1 c5974ce9594df55a60f482c518cd5af34ec7afe2 SHA256 526355ddcbff69c0df7757d30d37e08864995b7ebd899916e329ecd19104c83c
DIST pandoc-1.9.1.2.tar.gz 529866 RMD160 f3a5228a3f8349cbfff1e0dc74b9f1a1d05fc32f SHA1 c5d8c8eaed7658005c1c4fdef70d3db140891660 SHA256 52659ff6981cab33fadeb97732dfc9719c3acf1d5ebcd0014e9e98395c654d6a

@ -0,0 +1,64 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pandoc/pandoc-1.9.1.2.ebuild,v 1.1 2012/03/10 17:54:46 slyfox Exp $
# ebuild generated by hackport 0.2.17.9999
EAPI=4
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="Conversion between markup formats"
HOMEPAGE="http://johnmacfarlane.net/pandoc"
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="=dev-haskell/base64-bytestring-0.1*[profile?]
>=dev-haskell/blaze-html-0.4.3.0[profile?] <dev-haskell/blaze-html-0.5[profile?]
>=dev-haskell/citeproc-hs-0.3.4[profile?] <dev-haskell/citeproc-hs-0.4[profile?]
>=dev-haskell/highlighting-kate-0.5.0.2[profile?] <dev-haskell/highlighting-kate-0.6[profile?]
>=dev-haskell/http-4000.0.5[profile?] <dev-haskell/http-4000.3[profile?]
>=dev-haskell/json-0.4[profile?] <dev-haskell/json-0.6[profile?]
>=dev-haskell/mtl-1.1[profile?] <dev-haskell/mtl-2.1[profile?]
>=dev-haskell/network-2[profile?] <dev-haskell/network-2.4[profile?]
>=dev-haskell/pandoc-types-1.9.0.2[profile?] <dev-haskell/pandoc-types-1.10[profile?]
=dev-haskell/parsec-3.1*[profile?]
>=dev-haskell/tagsoup-0.12.5[profile?] <dev-haskell/tagsoup-0.13[profile?]
=dev-haskell/temporary-1.1*[profile?]
>=dev-haskell/texmath-0.6.0.2[profile?] <dev-haskell/texmath-0.7[profile?]
>=dev-haskell/time-1.2[profile?] <dev-haskell/time-1.5[profile?]
=dev-haskell/utf8-string-0.3*[profile?]
>=dev-haskell/xml-1.3.12[profile?] <dev-haskell/xml-1.4[profile?]
>=dev-haskell/zip-archive-0.1.1.7[profile?] <dev-haskell/zip-archive-0.2[profile?]
>=dev-haskell/zlib-0.5[profile?] <dev-haskell/zlib-0.6[profile?]
>=dev-lang/ghc-6.10.1"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.10
test? ( dev-haskell/ansi-terminal
dev-haskell/diff
dev-haskell/hunit
dev-haskell/quickcheck:2
dev-haskell/test-framework-hunit
dev-haskell/test-framework-quickcheck2
dev-haskell/test-framework
)
"
src_configure() {
cabal_src_configure \
$(cabal_flag test tests)
}
src_install() {
cabal_src_install
doman "${S}/man/man1/${PN}.1"
# COPYING is installed by the Cabal eclass
dodoc README COPYRIGHT changelog
}

@ -0,0 +1,39 @@
http://bugs.gentoo.org/401887
diff --git a/lib/src/libcommon.cpp b/lib/src/libcommon.cpp
index 16770a3..a4299e7 100644
--- a/lib/src/libcommon.cpp
+++ b/lib/src/libcommon.cpp
@@ -614,7 +614,7 @@ int unpack_zlib(const char* arch_file_name, const char* out_file_name)
return EXIT_FAILURE;
}
while(true) {
- len = gzread(get_impl(in), buf, buffer_size);
+ len = gzread((gzFile)get_impl(in), buf, buffer_size);
if(len < 0) {
g_critical(read_file_err, arch_file_name, "");
return EXIT_FAILURE;
@@ -871,3 +871,8 @@ int remove_recursive(const std::string& path)
return res;
}
}
+
+int gzclose_compat(void * file)
+{
+ return gzclose ((gzFile)file);
+}
diff --git a/lib/src/libcommon.h b/lib/src/libcommon.h
index 10f13b4..bdcbf2f 100644
--- a/lib/src/libcommon.h
+++ b/lib/src/libcommon.h
@@ -187,8 +187,9 @@ namespace clib {
typedef ResourceWrapper<FILE, FILE*, int, fclose> File;
}
+extern int gzclose_compat(void * file);
namespace zip {
-typedef ResourceWrapper<void, void*, int, gzclose> gzFile;
+typedef ResourceWrapper<void, void*, int, gzclose_compat> gzFile;
}
/* Create a new temporary file. Return file name in file name encoding.

@ -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/stardict/stardict-3.0.3-r2.ebuild,v 1.1 2012/01/22 22:50:25 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/stardict-3.0.3-r2.ebuild,v 1.2 2012/03/10 12:35:07 ssuominen Exp $
# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
# their indexes seem to be in a different format. So we'll keep them
@ -76,7 +76,8 @@ src_prepare() {
"${FILESDIR}"/${P}-entry.patch \
"${FILESDIR}"/${P}-gcc46.patch \
"${FILESDIR}"/${P}-compositelookup_cpp.patch \
"${FILESDIR}"/${P}-overflow.patch
"${FILESDIR}"/${P}-overflow.patch \
"${FILESDIR}"/${P}-zlib-1.2.5.2.patch
gnome2_src_prepare
}

@ -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-vim/gtk-syntax/gtk-syntax-20110214-r1.ebuild,v 1.7 2012/03/03 16:04:41 ranger Exp $
# $Header: /var/cvsroot/gentoo-x86/app-vim/gtk-syntax/gtk-syntax-20110214-r1.ebuild,v 1.8 2012/03/10 07:38:28 radhermit Exp $
EAPI=3
@ -9,5 +9,5 @@ inherit vim-plugin
DESCRIPTION="vim plugin: Syntax highlighting for GLib, Gtk+, Xlib, Gimp, Gnome, and more"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1000"
LICENSE="as-is"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
IUSE=""

@ -1,4 +1,3 @@
DIST mysql-workbench-gpl-5.2.34-src.tar.gz 18160097 RMD160 9607f1c7082700d1df5b7b1aa42e3c903c68d049 SHA1 e4f9a9ee43783361c05a98196eaf196c42d03a03 SHA256 868dd4d92f601f3789eaa50af9920b9907c5c38711357a898b670acf9892b1ac
DIST mysql-workbench-gpl-5.2.35-src.tar.gz 17874329 RMD160 6207d7350cf1ea7a426ece90dabb4b7caab072a2 SHA1 74c2dddba06e4b233f3b28acf8be45f0394310f2 SHA256 3681351af061637ce54dcc1b490325e9a4a0b42127e642e60220845fcfc2cbaa
DIST mysql-workbench-gpl-5.2.36-src.tar.gz 18571353 RMD160 2afa2de53cff8fa7e23be449691421db59ca5830 SHA1 039a797970bf237f17eb58c9c6758b52e1b60ea2 SHA256 eedcde69505a0f374613485cf0f1b4e61fc6a32db38a54bbe06b32eebdc175f7
DIST mysql-workbench-gpl-5.2.37-src.tar.gz 18554877 RMD160 f08369149b5ba3c6890bfbbb29e9087b57ee709a SHA1 5031f0436b01b756bc272d154eb0f6c67b222098 SHA256 44a110ced2877ded14d57d6b217cf03a9a7e83f9f5376ead1872fd01c2685744
DIST mysql-workbench-gpl-5.2.38-src.tar.gz 18640435 RMD160 ff1ef75099f1d0b2669ab9ff77121f652513e265 SHA1 6b92140e041642761f4ebee1c8a928ab34f6889a SHA256 223fb450110bcb720c6393a1b7ab0769425f02612f3e0613163970705043e448

@ -1,86 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-workbench/mysql-workbench-5.2.34.ebuild,v 1.5 2011/10/04 01:35:29 josejx Exp $
EAPI="3"
GCONF_DEBUG="no"
PYTHON_DEPEND=2
inherit gnome2 eutils flag-o-matic python autotools
MY_P="${PN}-gpl-${PV}-src"
DESCRIPTION="MySQL Workbench"
HOMEPAGE="http://dev.mysql.com/workbench/"
SRC_URI="mirror://mysql/Downloads/MySQLGUITools/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="debug doc nls readline static-libs"
CDEPEND="dev-db/sqlite:3
>=x11-libs/gtk+-2.6:2
dev-libs/glib:2
gnome-base/libglade:2.0
dev-libs/libsigc++:2
dev-libs/boost
>=dev-cpp/ctemplate-0.95
>=dev-libs/libxml2-2.6.2:2
>=dev-cpp/glibmm-2.14:2
>=dev-cpp/gtkmm-2.14:2.4
dev-libs/libzip
>=virtual/mysql-5.1
dev-libs/libpcre
virtual/opengl
>=dev-lang/lua-5.1[deprecated]
x11-libs/pango
|| ( sys-libs/e2fsprogs-libs
dev-libs/ossp-uuid )
>=x11-libs/cairo-1.5.12[svg]
dev-python/pexpect
dev-python/paramiko
doc? ( dev-python/pysqlite:2 )
nls? ( sys-devel/gettext )
readline? ( sys-libs/readline )"
RDEPEND="${CDEPEND}
app-admin/sudo
sys-apps/net-tools"
DEPEND="${CDEPEND}
dev-util/pkgconfig"
S="${WORKDIR}"/"${MY_P}"
pkg_setup() {
# Make sure we use Python 2 since the code is not compatible with 3.
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
# ifconfig isn't in the normal path
sed -i -e 's:ifconfig:/sbin/ifconfig:' plugins/wb.admin/backend/wb_server_control.py || die
epatch "${FILESDIR}/${PN}-5.2.31-python-libs.patch"
epatch "${FILESDIR}/${P}-gcc46.patch"
eautoreconf
# Remove bundled ctemplate version to make sure we use the system
# version, but leave a directory to avoid confusing configure, bug
# 357539.
rm -rf ext/ctemplate || die
mkdir -p ext/ctemplate/ctemplate-src || die
}
src_configure() {
econf \
$(use_enable nls i18n) \
$(use_enable readline readline) \
$(use_enable debug) \
$(use_enable static-libs static)
}
src_install() {
emake install DESTDIR="${D}" || die
find "${ED}" -name '*.la' -delete || die
}

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-workbench/mysql-workbench-5.2.36.ebuild,v 1.4 2011/12/16 07:38:27 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-workbench/mysql-workbench-5.2.38.ebuild,v 1.1 2012/03/10 13:29:51 graaff Exp $
EAPI="3"
GCONF_DEBUG="no"

@ -0,0 +1 @@
DIST base64-bytestring-0.1.1.1.tar.gz 6005 RMD160 5329b0326f81eb24001536ee7b998f422a77e481 SHA1 2cde30a669eb147bb3bdbea71722e5f1b068a9c4 SHA256 8dbfd13372330580e8ac94ca09f359aa5dd021625ec190fa12bb1de781b61248

@ -0,0 +1,40 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/base64-bytestring/base64-bytestring-0.1.1.1.ebuild,v 1.1 2012/03/10 15:51:52 slyfox Exp $
# ebuild generated by hackport 0.2.13
EAPI="3"
CABAL_FEATURES="lib profile haddock hscolour hoogle"
inherit haskell-cabal
DESCRIPTION="Fast base64 encoding and deconding for ByteStrings"
HOMEPAGE="https://github.com/bos/base64-bytestring"
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=">=dev-lang/ghc-6.10.1"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.8
test? (
dev-haskell/hunit
>=dev-haskell/quickcheck-2.4.0.1
dev-haskell/test-framework
dev-haskell/test-framework-hunit
dev-haskell/test-framework-quickcheck2
)
"
src_prepare() {
cp "${FILESDIR}/Tests.hs" tests \
|| die "Could not copy missing Tests.hs"
}
src_configure() {
cabal_src_configure $(use test && use_enable test tests) #395351
}

@ -0,0 +1,116 @@
{-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Main (main) where
import Test.Framework (Test, defaultMain, testGroup)
import Test.Framework.Providers.QuickCheck2 (testProperty)
import Test.Framework.Providers.HUnit (testCase)
import Test.QuickCheck (Arbitrary(..))
import Control.Monad (liftM)
import qualified Data.ByteString.Base64 as Base64
import qualified Data.ByteString.Base64.URL as Base64URL
import Data.ByteString (ByteString)
import Data.ByteString.Char8 ()
import qualified Data.ByteString as B
import Test.HUnit hiding (Test)
main :: IO ()
main = defaultMain tests
tests :: [Test]
tests = [
testGroup "Base64" [
testProperty "decodeEncode" $
genericDecodeEncode Base64.encode Base64.decode
, testProperty "decodeEncode Lenient" $
genericDecodeEncode Base64.encode
(liftM Right Base64.decodeLenient)
, testGroup "base64-string tests" base64_string_tests
]
, testGroup "Base64URL" [
testProperty "decodeEncode" $
genericDecodeEncode Base64URL.encode Base64URL.decode
, testProperty "decodeEncode Lenient" $
genericDecodeEncode Base64URL.encode
(liftM Right Base64URL.decodeLenient)
, testGroup "base64-string tests" base64url_string_tests
]
]
instance Arbitrary ByteString where
arbitrary = liftM B.pack arbitrary
-- | Decoding an encoded sintrg should produce the original string.
genericDecodeEncode :: (ByteString -> ByteString)
-> (ByteString -> Either String ByteString)
-> ByteString -> Bool
genericDecodeEncode enc dec x = case dec (enc x) of
Left _ -> False
Right x' -> x == x'
--
-- Unit tests from base64-string
-- Copyright (c) Ian Lynagh, 2005, 2007.
--
base64_string_tests :: [Test]
base64_string_tests =
base64_string_test Base64.encode Base64.decode testData ++
base64_string_test Base64.encode decodeURL testData
where decodeURL :: ByteString -> Either String ByteString
decodeURL = liftM Right Base64.decodeLenient
testData :: [(ByteString, ByteString)]
testData = [("", "")
,("\0", "AA==")
,("\255", "/w==")
,("E", "RQ==")
,("Ex", "RXg=")
,("Exa", "RXhh")
,("Exam", "RXhhbQ==")
,("Examp", "RXhhbXA=")
,("Exampl", "RXhhbXBs")
,("Example", "RXhhbXBsZQ==")
,("Ex\0am\254ple", "RXgAYW3+cGxl")
,("Ex\0am\255ple", "RXgAYW3/cGxl")
]
-- | Same as the base64_string_tests but using the alternative alphabet
base64url_string_tests :: [Test]
base64url_string_tests =
base64_string_test Base64URL.encode Base64URL.decode testData ++
base64_string_test Base64URL.encode decodeURL testData
where decodeURL :: ByteString -> Either String ByteString
decodeURL = liftM Right Base64URL.decodeLenient
testData :: [(ByteString, ByteString)]
testData = [("", "")
,("\0", "AA==")
,("\255", "_w==")
,("E", "RQ==")
,("Ex", "RXg=")
,("Exa", "RXhh")
,("Exam", "RXhhbQ==")
,("Examp", "RXhhbXA=")
,("Exampl", "RXhhbXBs")
,("Example", "RXhhbXBsZQ==")
,("Ex\0am\254ple", "RXgAYW3-cGxl")
,("Ex\0am\255ple", "RXgAYW3_cGxl")
]
-- | Generic test given encod enad decode funstions and a
-- list of (plain, encoded) pairs
base64_string_test :: (ByteString -> ByteString)
-> (ByteString -> Either String ByteString)
-> [(ByteString, ByteString)] -> [Test]
base64_string_test enc dec testData = concat
[ [ testCase ("base64-string: Encode " ++ show plain)
(encoded_plain @?= encoded),
testCase ("base64-string: Decode " ++ show plain)
(decoded_encoded @?= Right plain) ]
| (plain, encoded) <- testData,
let encoded_plain = enc plain
decoded_encoded = dec encoded
]

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>haskell</herd>
<maintainer>
<email>haskell@gentoo.org</email>
</maintainer>
<longdescription>
Fast base64 encoding and deconding for ByteStrings
</longdescription>
</pkgmetadata>

@ -0,0 +1 @@
DIST blaze-builder-0.3.1.0.tar.gz 68214 RMD160 6c9a22338be81a256949c3ce28735520f213beab SHA1 5ab2e781ed0781a1a86855ca7f036421f568d1f5 SHA256 26aadd629c2d2f5e77cfdb45b4948b20b6e598b723dd7d317556b26a72c557a4

@ -0,0 +1,24 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/blaze-builder/blaze-builder-0.3.1.0.ebuild,v 1.1 2012/03/10 17:06:00 slyfox Exp $
# ebuild generated by hackport 0.2.17.9999
EAPI=4
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="Efficient buffered output."
HOMEPAGE="http://github.com/meiersi/blaze-builder"
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-haskell/text-0.10[profile?] <dev-haskell/text-0.13[profile?]
>=dev-lang/ghc-6.10.1"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6"

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>haskell</herd>
<maintainer>
<email>haskell@gentoo.org</email>
</maintainer>
<longdescription>
This library provides an abstraction of buffered output of
byte streams and several convenience functions to exploit
it. For example, it allows to efficiently serialize
Haskell values to lazy bytestrings with a large average
chunk size. The large average chunk size allows to make
good use of cache prefetching in later processing steps
(e.g. compression) and reduces the sytem call overhead
when writing the resulting lazy bytestring to a file or
sending it over the network.
</longdescription>
</pkgmetadata>

@ -0,0 +1 @@
DIST blaze-html-0.4.3.1.tar.gz 69636 RMD160 09c1c99faeff54424e50e75c30704e0b06bdd3da SHA1 779d3daae404af6a491a6b6c2e34f7cb11724d46 SHA256 d75d8a8d9c20dfc7ba7365b064abba782ae39df4208acf747f4a0e2f2ba71c7a

@ -0,0 +1,25 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/blaze-html/blaze-html-0.4.3.1.ebuild,v 1.1 2012/03/10 17:25:27 slyfox Exp $
# ebuild generated by hackport 0.2.17.9999
EAPI=4
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="A blazingly fast HTML combinator library for Haskell"
HOMEPAGE="http://jaspervdj.be/blaze"
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-haskell/blaze-builder-0.2[profile?] <dev-haskell/blaze-builder-0.4[profile?]
>=dev-haskell/text-0.10[profile?]
>=dev-lang/ghc-6.10.1"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6"

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>haskell</herd>
<maintainer>
<email>haskell@gentoo.org</email>
</maintainer>
<longdescription>
A blazingly fast HTML combinator library for the Haskell
programming language. The Text.Blaze module is a good
starting point, as well as this tutorial:
&lt;http://jaspervdj.be/blaze/tutorial.html&gt;.
</longdescription>
</pkgmetadata>

@ -1,2 +1,3 @@
DIST cabal-install-0.10.2.tar.gz 150699 RMD160 d8a5942a3b318e045857b13a45f5b22f44c3456e SHA1 fd81e8f7d97be24934c92ef19c4e0fcb7f5cff5a SHA256 6357c8b984d193a30bb2a05e03dbd551650a0ddea17f7d1033e6564f5b7ff515
DIST cabal-install-0.13.3.tar.gz 185898 RMD160 e07310887175338f742292a26c206341893389f2 SHA1 8e59337524c65229709a5049497423bde60faa48 SHA256 f4bc32aff1a306c7e9a675399d78c2296288b0534a32f30427390481adbe0d43
DIST cabal-install-0.8.2.tar.gz 139391 RMD160 46c639e41ce92aa4462dab3b0e810c3b4b6ace58 SHA1 17d45d25923e577f6d8b9d98fd7a69bfa8ba4b29 SHA256 8f896ab46ec6c578f620ce4150f7cd04a2088be793113b33cc570b13b6b86e0b

@ -0,0 +1,48 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal-install/cabal-install-0.13.3.ebuild,v 1.1 2012/03/10 18:10:14 slyfox Exp $
# ebuild generated by hackport 0.2.14
EAPI="3"
CABAL_FEATURES="bin"
inherit haskell-cabal bash-completion eutils
DESCRIPTION="The command-line interface for Cabal and Hackage."
HOMEPAGE="http://www.haskell.org/cabal/"
#SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
SRC_URI="http://code.haskell.org/~slyfox/snapshots/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc64 ~sparc ~x86"
IUSE="+noprefs"
RDEPEND=""
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.13.3 <dev-haskell/cabal-1.15
>=dev-haskell/http-4000.0.2 <dev-haskell/http-4001
>=dev-haskell/mtl-1.1 <dev-haskell/mtl-3
>=dev-haskell/network-1 <dev-haskell/network-3
>=dev-haskell/time-1.1 <dev-haskell/time-1.5
>=dev-haskell/zlib-0.4 <dev-haskell/zlib-0.6
>=dev-lang/ghc-6.10.1"
src_prepare() {
if use noprefs; then
epatch "${FILESDIR}/${PN}"-0.13.3-nopref.patch
fi
}
src_install() {
haskell-cabal_src_install
dobashcompletion "${S}/bash-completion/cabal"
}
pkg_postinst() {
ghc-package_pkg_postinst
bash-completion_pkg_postinst
}

@ -0,0 +1,20 @@
diff --git a/Distribution/Client/IndexUtils.hs b/Distribution/Client/IndexUtils.hs
index 48d8d49..3a38ee1 100644
--- a/Distribution/Client/IndexUtils.hs
+++ b/Distribution/Client/IndexUtils.hs
@@ -312,10 +312,15 @@ extractPkg entry = case Tar.entryContent entry of
extractPrefs :: Tar.Entry -> Maybe [Dependency]
extractPrefs entry = case Tar.entryContent entry of
+{-
+ -- get rid of hackage's preferred-versions
+ -- I'd like to have bleeding-edge packages in system and I don't fear of
+ -- broken packages with improper depends
Tar.NormalFile content _
| takeFileName (Tar.entryPath entry) == "preferred-versions"
-> Just . parsePreferredVersions
. BS.Char8.unpack $ content
+-}
_ -> Nothing
parsePreferredVersions :: String -> [Dependency]

@ -1 +1,2 @@
DIST citeproc-hs-0.3.2.tar.gz 90757 RMD160 9d50a357c552c57a452dc4702d95580dc81779b6 SHA1 26276044ae6bf2800140e06577b7c85a80761e9a SHA256 eedd04b29521c38394d090e37d36edc7b8a46220fce2a85324562be903079812
DIST citeproc-hs-0.3.4.tar.gz 100279 RMD160 402d67f5c9a6d389c9ee64ebe663d98f46f9a867 SHA1 10a2bd9b04e3c92958a704ad7bb18e50002d9a4e SHA256 db0aa3f34991c0e90bd04b4a6752048eeb36fef24693dfbb44cd2d48eb75869f

@ -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/citeproc-hs/citeproc-hs-0.3.4.ebuild,v 1.1 2012/03/10 15:44:37 slyfox Exp $
# ebuild generated by hackport 0.2.13
EAPI="3"
CABAL_FEATURES="lib profile haddock hscolour hoogle"
inherit haskell-cabal
DESCRIPTION="A Citation Style Language implementation in Haskell"
HOMEPAGE="http://gorgias.mine.nu/repos/citeproc-hs/"
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+bibutils +network"
RDEPEND="dev-haskell/json[generic]
dev-haskell/mtl
>=dev-haskell/pandoc-types-1.8
dev-haskell/parsec
dev-haskell/time
dev-haskell/utf8-string
dev-haskell/xml
>=dev-lang/ghc-6.10.1
bibutils? ( >=dev-haskell/hs-bibutils-0.3 )
network? ( >=dev-haskell/network-2
>=dev-haskell/http-4000.0.9
)
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6"

@ -0,0 +1 @@
DIST Diff-0.1.3.tar.gz 2851 RMD160 aef2dc2e8701b811272471321e6c39d830fb72ed SHA1 19e987cda1f7b4acfce3400050bfd7d19db39467 SHA256 bc40377de386ee27e823c1427be0590c23286c6c3307387aa97fd67133f1b009

@ -0,0 +1,28 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/diff/diff-0.1.3.ebuild,v 1.1 2012/03/10 15:41:21 slyfox Exp $
# ebuild generated by hackport 0.2.17.9999
EAPI=4
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
MY_PN="Diff"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="O(ND) diff algorithm in haskell."
HOMEPAGE="http://hackage.haskell.org/package/Diff"
SRC_URI="http://hackage.haskell.org/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-lang/ghc-6.8.2"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6"
S="${WORKDIR}/${MY_P}"

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>haskell</herd>
<maintainer>
<email>haskell@gentoo.org</email>
</maintainer>
<longdescription>
Basic implementation of the standard diff algorithm.
</longdescription>
</pkgmetadata>

@ -1 +1,2 @@
DIST highlighting-kate-0.2.9.tar.gz 767587 RMD160 ab16b750425b008cda430c949e9f61571575361a SHA1 b84d0300b4a30f562848cab56217145ef4ed19b8 SHA256 f3ad0a001848f161270a9589242a91e590108c612d96dca8b4db705c03a86856
DIST highlighting-kate-0.5.0.5.tar.gz 617450 RMD160 6eab0476deafd88412003a14c118e32981d4d283 SHA1 54cf175077ee778697cb19c7d7f940fb4c2b58ea SHA256 1bdd716ec7f285f1923ddcf376da4c802c5c1e99f69029cbe7041a40981fb300

@ -0,0 +1,34 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/highlighting-kate/highlighting-kate-0.5.0.5.ebuild,v 1.1 2012/03/10 17:46:31 slyfox Exp $
# ebuild generated by hackport 0.2.13
EAPI=4
CABAL_FEATURES="bin lib profile haddock hscolour hoogle"
inherit haskell-cabal
DESCRIPTION="Syntax highlighting"
HOMEPAGE="http://github.com/jgm/highlighting-kate"
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="executable pcre-light"
RDEPEND=">=dev-haskell/blaze-html-0.4.2[profile?] <dev-haskell/blaze-html-0.5[profile?]
dev-haskell/mtl[profile?]
dev-haskell/parsec[profile?]
pcre-light? ( dev-haskell/pcre-light[profile?] )
!pcre-light? ( dev-haskell/regex-pcre-builtin[profile?] )
>=dev-lang/ghc-6.8.2"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.2"
src_configure() {
cabal_src_configure \
$(cabal_flag executable) \
$(cabal_flag pcre-light)
}

@ -7,15 +7,16 @@
</maintainer>
<longdescription>
highlighting-kate is a syntax highlighting library
with support for over one hundred languages. The syntax
with support for nearly one hundred languages. The syntax
parsers are automatically generated from Kate
syntax descriptions (http://kate-editor.org/),
syntax descriptions (&lt;http://kate-editor.org/&gt;),
so any syntax supported by Kate can be added.
An (optional) command-line program is provided, along
with a utility for generating new parsers from Kate
XML syntax descriptions.
</longdescription>
<use>
<flag name="executable">Build the Highlight executable</flag>
</use>
<use>
<flag name='executable'>Build the Highlight executable.</flag>
<flag name='pcre-light'>Use the pcre-light library instead of regex-pcre-builtin.</flag>
</use>
</pkgmetadata>

@ -1 +1,2 @@
DIST pandoc-types-1.8.tar.gz 12962 RMD160 3f23b24550e70bbd415c7cc8cf1d1f7889d3518c SHA1 7a67c233221dd3c3922a96be4dcc620987ba1e0d SHA256 28295a45bb0ce02699501fb166fea1936ca6f0873673cd1e0ce3a9566b0b79c6
DIST pandoc-types-1.9.1.tar.gz 13941 RMD160 9dc294a3554b7dc5b371bbc80a8ceeb49fdde9b9 SHA1 dbfb329d3badc2633ad8b1a4dc75c76a45bb691b SHA256 3188ea41957a0276fded01b64147b439e5da8fc50f663c870de78117d5b4e484

@ -0,0 +1,24 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/pandoc-types/pandoc-types-1.9.1.ebuild,v 1.1 2012/03/10 17:49:58 slyfox Exp $
# ebuild generated by hackport 0.2.16.9999
EAPI=4
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="Types for representing a structured document"
HOMEPAGE="http://johnmacfarlane.net/pandoc"
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-haskell/syb[profile?]
>=dev-lang/ghc-6.12.1"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6"

@ -1 +1,2 @@
DIST parsec-2.1.0.1.tar.gz 15430 RMD160 95ddc9199f1da5e0773db2f653d394dbe07974ee SHA1 f09c7fcbf66c39cc4de2a50dbb1374ba82168b52 SHA256 2d85e5b5c8b2b1f341037ce67e1db7fa47b31c083136796cfef9e5b945c656df
DIST parsec-3.1.2.tar.gz 27733 RMD160 f360e4b209a56f193eca65b71bb13b95948b7042 SHA1 51b6625da58d5d623f3d35891f25a2d332f943d1 SHA256 90f124b91f5e4ff04ddd4dc7f43aeda1273b8caec6a58ec13b90ca22854c1652

@ -0,0 +1,25 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/parsec/parsec-3.1.2-r1.ebuild,v 1.1 2012/03/10 17:37:40 slyfox Exp $
# ebuild generated by hackport 0.2.17.9999
EAPI=4
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="Monadic parser combinators"
HOMEPAGE="http://www.cs.uu.nl/~daan/parsec.html"
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
RDEPEND="dev-haskell/mtl[profile?]
>=dev-haskell/text-0.2[profile?] <dev-haskell/text-0.12[profile?]
>=dev-lang/ghc-6.10.1"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6"

@ -1 +1,2 @@
DIST tagsoup-0.12.6.tar.gz 30467 RMD160 b85928aa24e5e5235977ac5d0d775462faba4fc9 SHA1 b2de66c543c2757e306ce1aef99cab5f5b6c324f SHA256 65d35a8bbf6a55d4a602f4a756feec0fc410f589e2a8b9e2662e8c2095fe2de0
DIST tagsoup-0.12.tar.gz 29306 RMD160 78fb229b98073822869315b5c7e8be9fc9dd9943 SHA1 f3398de20e39c23e6f82c66ec7905746df875b46 SHA256 e7d59b1e2473cb0f6b307a43fae943f5d35218a34b7733467bc76a85b0c95849

@ -0,0 +1,24 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/tagsoup/tagsoup-0.12.6.ebuild,v 1.1 2012/03/10 15:47:05 slyfox Exp $
# ebuild generated by hackport 0.2.13
EAPI="3"
CABAL_FEATURES="bin lib profile haddock hscolour hoogle"
inherit haskell-cabal
DESCRIPTION="Parsing and extracting information from (possibly malformed) HTML/XML documents"
HOMEPAGE="http://community.haskell.org/~ndm/tagsoup/"
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-haskell/text
>=dev-lang/ghc-6.10.1"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6"

@ -0,0 +1 @@
DIST temporary-1.1.2.3.tar.gz 5195 RMD160 aa8e92d154748cb99d8ad2bbbc14430f8eb6ad8b SHA1 b47b3db33766621927b577b53c1451c73af9448c SHA256 ad471e31c117c989aa6fe23bbc21ad3fc5f011dbdea3532048b8b1f59ea492f4

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>haskell</herd>
<maintainer>
<email>haskell@gentoo.org</email>
</maintainer>
<longdescription>
The functions for creating temporary files and directories in the base library are quite limited. The unixutils
package contains some good ones, but they aren&#39;t portable to Windows.
This library just repackages the Cabal implementations of its own temporary file and folder functions so that
you can use them without linking against Cabal or depending on it being installed.
</longdescription>
</pkgmetadata>

@ -0,0 +1,23 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/temporary/temporary-1.1.2.3.ebuild,v 1.1 2012/03/10 15:33:37 slyfox Exp $
# ebuild generated by hackport 0.2.15
EAPI=4
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="Portable temporary file and directory support for Windows and Unix, based on code from Cabal"
HOMEPAGE="http://www.github.com/batterseapower/temporary"
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-lang/ghc-6.10.1"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6"

@ -1 +1,2 @@
DIST texmath-0.5.0.1.tar.gz 27958 RMD160 2b06130ced594a3fac0ac605a7d934b4e87b805c SHA1 d8eec249af051ecd5ac79b0e279ea689d5fdcaa2 SHA256 bedd883728fbd84bf07c1d1c851440db6d8be6b9e221024533851cd7c21a824f
DIST texmath-0.6.0.3.tar.gz 39782 RMD160 e41c29a404fdf595f05bc7c65ae257fd388011a8 SHA1 588a360b44a3ede2f54ea4a6673ec9e05f046988 SHA256 d1973e89374909f32b2d3bd7990c607314396a528d51007653eb682c0c9c416e

@ -0,0 +1,45 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/texmath/texmath-0.6.0.3.ebuild,v 1.1 2012/03/10 17:42:44 slyfox Exp $
# ebuild generated by hackport 0.2.13
EAPI="4"
CABAL_FEATURES="bin lib profile haddock hscolour hoogle"
inherit haskell-cabal
DESCRIPTION="Conversion of LaTeX math formulas to MathML or OMML."
HOMEPAGE="http://github.com/jgm/texmath"
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cgi test"
RDEPEND=">=dev-haskell/parsec-2[profile?]
dev-haskell/syb[profile?]
>=dev-haskell/xml-1.3.12[profile?]
>=dev-lang/ghc-6.8.2
cgi? ( dev-haskell/json[profile?]
dev-haskell/cgi[profile?]
dev-haskell/utf8-string[profile?]
)
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6"
src_configure() {
cabal_src_configure \
$(cabal_flag cgi) \
$(cabal_flag test)
}
src_install() {
cabal_src_install
# remove test and it's data
rm -f "${ED}/usr/bin/texmath" 2> /dev/null
rm -rf "${ED}/usr/share/${P}"/ghc-*/tests 2> /dev/null
}

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-3.7.1.ebuild,v 1.3 2011/12/14 18:50:23 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-3.7.1.ebuild,v 1.4 2012/03/10 16:13:17 ranger Exp $
EAPI=4
@ -14,7 +14,7 @@ HOMEPAGE="http://www.eclipse.org/"
SRC_URI="http://download.eclipse.org/eclipse/downloads/drops/${DMF/.0}/ecjsrc-${PV}.jar"
LICENSE="EPL-1.0"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
KEYWORDS="amd64 ppc ~ppc64 x86 ~x86-fbsd"
SLOT="3.7"
IUSE=""

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/apple-java-extensions-bin/apple-java-extensions-bin-1.5.ebuild,v 1.3 2011/03/19 20:42:24 tomka Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/apple-java-extensions-bin/apple-java-extensions-bin-1.5.ebuild,v 1.4 2012/03/10 17:13:57 ranger Exp $
EAPI="3"
@ -11,7 +11,7 @@ HOMEPAGE="http://developer.apple.com/samplecode/AppleJavaExtensions/"
SRC_URI="http://developer.apple.com/samplecode/AppleJavaExtensions/AppleJavaExtensions.zip -> ${P}.zip"
LICENSE="Apple"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=">=virtual/jre-1.5"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-compress/commons-compress-1.3.ebuild,v 1.2 2012/02/21 18:33:31 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-compress/commons-compress-1.3.ebuild,v 1.3 2012/03/10 20:40:26 tommy Exp $
EAPI="4"
@ -18,7 +18,8 @@ IUSE=""
RDEPEND=">=virtual/jre-1.5"
DEPEND=">=virtual/jdk-1.5
test? ( dev-java/junit:4
dev-java/hamcrest-core )"
dev-java/hamcrest-core
dev-java/ant-junit:0 )"
S="${WORKDIR}/${P}-src"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-dbcp/commons-dbcp-1.4-r1.ebuild,v 1.3 2011/10/19 00:57:29 fordfrog Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-dbcp/commons-dbcp-1.4-r1.ebuild,v 1.4 2012/03/10 16:17:03 ranger Exp $
EAPI=2
JAVA_PKG_IUSE="doc source test"
@ -23,7 +23,7 @@ DEPEND="virtual/jdk:1.6
${COMMON_DEP}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
KEYWORDS="amd64 ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
IUSE=""
S="${WORKDIR}/${P}-src"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/eclipse-ecj-3.7.1.ebuild,v 1.3 2011/12/14 17:48:40 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/eclipse-ecj-3.7.1.ebuild,v 1.4 2012/03/10 16:13:17 ranger Exp $
EAPI="4"
@ -17,7 +17,7 @@ SRC_URI="http://download.eclipse.org/eclipse/downloads/drops/${DMF}/${MY_PN}src-
IUSE="+ant userland_GNU"
LICENSE="EPL-1.0"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
KEYWORDS="amd64 ppc ~ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
SLOT="3.7"
CDEPEND=">=app-admin/eselect-ecj-0.3"

@ -2,5 +2,6 @@ DIST j2sdk-1_4_2-doc.zip 34397778 RMD160 0c7646893ee73988327ebd97bf9ff6469c0bb7f
DIST jdk-1_5_0-doc-r1.zip 46191338 RMD160 d783f2175f84d76f867b7358705a2819be5afb68 SHA1 86e30770a4ecc395bf8fbaea1bdef4d2a81df877 SHA256 accb7b36442ac5bed7a3091abedf4e29ba06e23b541f4faa1d0632a3d02053cc
DIST jdk-6u23-docs.zip 59091378 RMD160 53cc2df0421c4df8b255f554f6392e2fe73a2ea3 SHA1 a02d675d2b84071802e12c8c6a5fb660b4f46a91 SHA256 f984291527fbfd0776ee1fe81f8b1ad3887c54cd2c3118d5011a7a316b29eba0
DIST jdk-6u25-fcs-bin-b04-apidocs-04_Apr_2011.zip 59089445 RMD160 6cb9ed6b279f8281a2e0b3b18aae410e7cb3dddd SHA1 315f451015f24ebe72eead9bb40ab78ee935dd58 SHA256 6e115142c3cf5627f9a378934bf3b807e72c2b979385019d5f23e79019727937
DIST jdk-6u30-apidocs.zip 59086542 RMD160 3a3057cf0b9134863e5dc97f4a55616c826c5e31 SHA1 2bcfc13888a8a6183f7bc40068fa326ddb4a7f62 SHA256 92739c56e02fa6e7ac8d60a1f59a0ef4a59ac99ab2979d3cdc495bfecf1a50ab
DIST jdk-7-fcs-bin-b147-apidocs-27_jun_2011.zip 60393207 RMD160 95036337f5639816b0480d6a2129efebefa537a5 SHA1 9e1ac9b48af57fd01eb627e5c8b5b96cc35f854c SHA256 2220fbe8399f851672d37cf1451400db137d9c27a4a02976df625de21a13cc4e
DIST jdk-7u2-apidocs.zip 60351373 RMD160 fe2a3819a3dfb8f87380d1b561750e29fab15108 SHA1 1d009713386a88dc82cdbbc7a845d76f587f93de SHA256 85960d0d70ebf981bdb6e8e19b462821120f7d6735975b102c5d5bf26a9b3124

@ -0,0 +1,46 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.6.0.30.ebuild,v 1.1 2012/03/10 08:12:20 caster Exp $
EAPI="4"
inherit versionator
UPDATE_VER="$(get_version_component_range 4)"
SRC_URI="jdk-6u${UPDATE_VER}-apidocs.zip"
DESCRIPTION="Sun's documentation bundle (including API) for Java SE"
HOMEPAGE="http://download.oracle.com/javase/6/docs/index.html"
LICENSE="oracle-java-documentation"
SLOT="1.6.0"
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
RESTRICT="fetch"
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-doc-download-355137.html"
S="${WORKDIR}/docs"
pkg_nofetch() {
einfo "Please download ${SRC_URI} from "
einfo "${DOWNLOAD_URL}"
einfo "(yes, the download page URL refers to an older version for some reason)"
einfo "(agree to the license) and place it in ${DISTDIR}"
einfo "If you find the file on the download page replaced with a higher"
einfo "version, please report to the bug 67266 (link below)."
einfo "If emerge fails because of a checksum error it is possible that"
einfo "the upstream release changed without renaming. Try downloading the file"
einfo "again (or a newer revision if available). Otherwise report this to"
einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
}
src_install(){
insinto /usr/share/doc/${P}/html
doins index.html
for i in *; do
[[ -d $i ]] && doins -r $i
done
}

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/javassist/javassist-3.14.0.ebuild,v 1.3 2011/03/19 20:55:40 tomka Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/javassist/javassist-3.14.0.ebuild,v 1.4 2012/03/10 17:14:49 ranger Exp $
JAVA_PKG_IUSE="doc source"
@ -13,7 +13,7 @@ HOMEPAGE="http://www.csg.is.titech.ac.jp/~chiba/javassist/"
LICENSE="MPL-1.1"
SLOT="3"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos"
KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE=""
S="${WORKDIR}/${P}-GA"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/swing-layout/swing-layout-1.0.4.ebuild,v 1.3 2011/03/17 10:00:03 tomka Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/swing-layout/swing-layout-1.0.4.ebuild,v 1.4 2012/03/10 17:13:05 ranger Exp $
JAVA_PKG_IUSE="doc source"
@ -12,7 +12,7 @@ SRC_URI="https://swing-layout.dev.java.net/files/documents/2752/144673/${P}-src.
LICENSE="LGPL-2.1"
SLOT="1"
KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
IUSE="doc source"
DEPEND=">=virtual/jdk-1.4

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.35.ebuild,v 1.3 2012/01/04 17:58:49 phajdan.jr Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-servlet-api/tomcat-servlet-api-6.0.35.ebuild,v 1.4 2012/03/10 16:19:20 ranger Exp $
EAPI="2"
JAVA_PKG_IUSE="source"
@ -15,7 +15,7 @@ SRC_URI="mirror://apache/tomcat/tomcat-6/v${PV/_/-}/src/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="2.5"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
KEYWORDS="amd64 ppc ~ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND=">=virtual/jdk-1.5"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.23.ebuild,v 1.2 2011/12/24 22:48:10 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.23.ebuild,v 1.3 2012/03/10 16:14:56 ranger Exp $
EAPI="2"
JAVA_PKG_IUSE="source"
@ -15,7 +15,7 @@ SRC_URI="mirror://apache/tomcat/tomcat-7/v${PV}/src/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="3.0"
KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
KEYWORDS="amd64 ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND=">=virtual/jdk-1.6"

@ -1,6 +1,6 @@
DIST mercury-11.01-gentoo-patchset-1.tar.gz 7129 RMD160 cfb89fa798724744ea7f1912b0015affdb1ea63c SHA1 d23e615b81cfd259e369cfcd1c5cd9965780f946 SHA256 43dbcb63add22b24da7515b7d42d8b4ad119d9923f80dbb29767d756436d0fa4
DIST mercury-11.07-gentoo-patchset-0.tar.gz 6889 RMD160 38152c3e6e10524fdc3c6911adda90ad384ad8c4 SHA1 e2f95ce3384ea8618ce86f65512b79154640f1cf SHA256 2fce2c95b6cb8b5819fb576de8ce184293a926c52f120027e3195d14f0552d78
DIST mercury-11.07.1-gentoo-patchset-0.tar.gz 6916 RMD160 c1d024685386fd58d53ba670eac3c06f99441b3d SHA1 c20a69ef1ba4226a23bf683a6e4153dd5ac360fa SHA256 27ca405aef5111cba8db0f0bedf2b08d0222bc9a91683d0fa32778148dfde711
DIST mercury-11.07.1-gentoo-patchset-1.tar.gz 5779 RMD160 0ea7a34603e202602fa12d35b5a5a0aab1ad87b5 SHA1 87e642438adc9580cb7244bc6d88009aba2f3b5f SHA256 ca969bf0ea5ed150a2192888e1d9dd87874ff3a3861651a16960e8fa9504bf1f
DIST mercury-compiler-11.01.tar.gz 25122699 RMD160 bee82b6037fa1f14f27b43d6f7d751d232941bc7 SHA1 508f9fbebdf061f706a44db5c77868cb4e769066 SHA256 2d12dc9bfaed46b1b30689b0592177bc871b21cf8852c8326c86371258bb18b0
DIST mercury-compiler-11.07.1.tar.gz 25308185 RMD160 10593ad6decefffdd8225d0c29fdb731d1470ca9 SHA1 717daf9bf74ae22e759b78f4e1f101dba951f89b SHA256 f3f1d4f0fb34567a69aaa9fb6f4ecff52b97a66ab6c8a868c4e284eb61d3dc11
DIST mercury-compiler-11.07.tar.gz 25298643 RMD160 1573be5c26415c6fac96f85ff9558db736890b83 SHA1 d27541f5fcd5ec6b8ca2fc39f72ed74c833f243a SHA256 77940d03834a3967e4505c4a92253c19aaea0fed4650ee94e772078abd6be6a2

@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/mercury-11.07.1.ebuild,v 1.1 2012/03/09 20:00:21 keri Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mercury/mercury-11.07.1.ebuild,v 1.2 2012/03/10 11:07:09 keri Exp $
EAPI=2
inherit autotools elisp-common eutils flag-o-matic java-pkg-opt-2 multilib
PATCHSET_VER="0"
PATCHSET_VER="1"
MY_P=${PN}-compiler-${PV}
DESCRIPTION="Mercury is a modern general-purpose logic/functional programming language"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mmix/mmix-20110605.ebuild,v 1.2 2012/02/16 18:48:12 phajdan.jr Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mmix/mmix-20110605.ebuild,v 1.3 2012/03/10 17:09:35 ranger Exp $
EAPI="2"
@ -15,7 +15,7 @@ RDEPEND=""
SLOT="0"
LICENSE="mmix"
KEYWORDS="~amd64 ~ppc x86"
KEYWORDS="~amd64 ppc x86"
IUSE="doc"
S="${WORKDIR}"

@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.5.10-r1.ebuild,v 1.2 2012/03/06 18:12:06 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.5.10-r1.ebuild,v 1.3 2012/03/10 16:12:27 jlec Exp $
EAPI=4
inherit autotools eutils flag-o-matic multilib toolchain-funcs
inherit versionator autotools eutils flag-o-matic multilib toolchain-funcs
MY_P="${PN}${PV/_beta/b}"
@ -106,12 +106,16 @@ src_install() {
}
pkg_postinst() {
echo
ewarn "If you're upgrading from <dev-lang/tcl-8.5, you must recompile the other"
ewarn "packages on your system that link with tcl after the upgrade"
ewarn "completes. To perform this action, please run revdep-rebuild"
ewarn "in package app-portage/gentoolkit."
ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
ewarn "upgrade them before this recompilation, too,"
echo
for version in ${REPLACING_VERSIONS}; do
if ! version_is_at_least 8.5 ${version}; then
echo
ewarn "You're upgrading from <dev-lang/tcl-8.5, you must recompile the other"
ewarn "packages on your system that link with tcl after the upgrade"
ewarn "completes. To perform this action, please run revdep-rebuild"
ewarn "in package app-portage/gentoolkit."
ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
ewarn "upgrade them before this recompilation, too,"
echo
fi
done
}

@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.5.11.ebuild,v 1.3 2012/03/06 07:52:42 grobian Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.5.11.ebuild,v 1.4 2012/03/10 15:34:30 betelgeuse Exp $
EAPI=4
inherit autotools eutils flag-o-matic multilib toolchain-funcs
inherit versionator autotools eutils flag-o-matic multilib toolchain-funcs
MY_P="${PN}${PV/_beta/b}"
@ -96,8 +96,8 @@ src_install() {
rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/tclPlatDecls.h || die
# install symlink for libraries
dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname) || die
dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a || die
dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname)
dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a
dosym tclsh${v1} /usr/bin/tclsh
@ -106,12 +106,16 @@ src_install() {
}
pkg_postinst() {
echo
ewarn "If you're upgrading from <dev-lang/tcl-8.5, you must recompile the other"
ewarn "packages on your system that link with tcl after the upgrade"
ewarn "completes. To perform this action, please run revdep-rebuild"
ewarn "in package app-portage/gentoolkit."
ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
ewarn "upgrade them before this recompilation, too,"
echo
for version in ${REPLACING_VERSIONS}; do
if ! version_is_at_least 8.5 ${version}; then
echo
ewarn "You're upgrading from <dev-lang/tcl-8.5, you must recompile the other"
ewarn "packages on your system that link with tcl after the upgrade"
ewarn "completes. To perform this action, please run revdep-rebuild"
ewarn "in package app-portage/gentoolkit."
ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
ewarn "upgrade them before this recompilation, too,"
echo
fi
done
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-2.1.0_beta2.ebuild,v 1.1 2012/03/09 13:22:04 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-2.1.0_beta2.ebuild,v 1.2 2012/03/10 17:51:46 ssuominen Exp $
EAPI=4
inherit eutils libtool toolchain-funcs
@ -24,6 +24,8 @@ src_unpack() {
}
src_prepare() {
epatch "${FILESDIR}"/${P}-move_setContext_call.patch #407555
elibtoolize
epunt_cxx

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

Loading…
Cancel
Save