Sync with portage [Sun Nov 13 15:18:31 MSK 2011].

mhiretskiy
root 13 years ago
parent 9ebae82514
commit a741f3237c

@ -0,0 +1,51 @@
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logsurfer+/files/logsurfer-1.8.initd,v 1.1 2011/11/11 16:45:30 matsuu Exp $
pidfile="/var/run/logsurfer.pid"
command="/usr/bin/logsurfer"
command_args="-D -p ${pidfile} ${LOGSURFER_OPTS}"
extra_started_commands="reload dump"
conffile="/etc/logsurfer.conf"
depend() {
use logger
}
checkconfig() {
if [ ! -f /etc/logsurfer.conf ] ; then
eerror "Please create /etc/logsurfer.conf"
return 1
fi
return 0
}
start_pre() {
checkconfig || return $?
checkpath --file --owner logsurfer --mode 0644 "${pidfile}"
}
start() {
ebegin "Starting ${SVCNAME}"
start-stop-daemon \
--start \
--user logsurfer \
--exec ${command} \
-- ${command_args}
eend $? "Failed to start ${SVCNAME}"
}
reload() {
ebegin "Reloading ${SVCNAME}"
start-stop-daemon --signal HUP --pidfile "${pidfile}"
eend $? "Failed to reload ${SVCNAME}"
}
dump() {
ebegin "Dumping ${SVCNAME} internal state"
start-stop-daemon --signal USR1 --pidfile "${pidfile}"
eend $? "Failed to dump ${SVCNAME} internal state"
}

@ -0,0 +1,40 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logsurfer+/logsurfer+-1.8-r1.ebuild,v 1.1 2011/11/11 16:45:30 matsuu Exp $
EAPI="4"
inherit toolchain-funcs user
MY_P="logsurfer-${PV}"
DESCRIPTION="Real Time Log Monitoring and Alerting"
HOMEPAGE="http://www.crypt.gen.nz/logsurfer/"
SRC_URI="http://kerryt.orcon.net.nz/${MY_P}.tar.gz
http://www.crypt.gen.nz/logsurfer/${MY_P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
S="${WORKDIR}/${MY_P}"
src_configure() {
econf --with-etcdir=/etc
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
dobin src/logsurfer
doman man/logsurfer.1 man/logsurfer.conf.4
newinitd "${FILESDIR}"/logsurfer-1.8.initd logsurfer
newconfd "${FILESDIR}"/logsurfer.confd logsurfer
dodoc ChangeLog README TODO
}
pkg_postinst() {
enewuser logsurfer -1 -1 -1 daemon
}

@ -1,153 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-3.3.7.ebuild,v 1.4 2011/05/28 05:32:21 blueness Exp $
EAPI="2"
PYTHON_DEPEND="python? 2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
inherit autotools java-pkg-opt-2 python
DESCRIPTION="SELinux policy tools"
HOMEPAGE="http://www.tresys.com/selinux/selinux_policy_tools.shtml"
SRC_URI="http://oss.tresys.com/projects/setools/chrome/site/dists/${PN}-${PV}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="X debug java python"
DEPEND=">=sys-libs/libsepol-2.0.37
sys-libs/libselinux
sys-devel/bison
sys-devel/flex
>=dev-db/sqlite-3.2:3
dev-libs/libxml2:2
dev-util/pkgconfig
java? (
>=dev-lang/swig-1.3.28
>=virtual/jdk-1.4
)
python? ( >=dev-lang/swig-1.3.28 )
X? (
>=dev-lang/tk-8.4.9
>=gnome-base/libglade-2.0
>=x11-libs/gtk+-2.8:2
)"
RDEPEND=">=sys-libs/libsepol-2.0.37
sys-libs/libselinux
>=dev-db/sqlite-3.2:3
dev-libs/libxml2:2
java? ( >=virtual/jre-1.4 )
X? (
>=dev-lang/tk-8.4.9
>=dev-tcltk/bwidget-1.8
>=gnome-base/libglade-2.0
>=x11-libs/gtk+-2.8:2
)"
RESTRICT="test"
pkg_setup() {
if use java; then
java-pkg-opt-2_pkg_setup
fi
if use python; then
python_pkg_setup
PYTHON_DIRS="libapol/swig/python libpoldiff/swig/python libqpol/swig/python libseaudit/swig/python libsefs/swig/python"
fi
}
src_prepare() {
# Disable broken check for SWIG version.
sed -e "s/AC_PROG_SWIG(1.3.28)/AC_PROG_SWIG/" -i configure.ac || die "sed failed"
local dir
for dir in ${PYTHON_DIRS}; do
# Python bindings are built/installed manually.
sed -e "s/MAYBE_PYSWIG = python/MAYBE_PYSWIG =/" -i ${dir%python}Makefile.am || die "sed failed"
# Make PYTHON_LDFLAGS replaceable during running `make`.
sed -e "/^AM_LDFLAGS =/s/@PYTHON_LDFLAGS@/\$(PYTHON_LDFLAGS)/" -i ${dir}/Makefile.am || die "sed failed"
done
eautoreconf
# Disable byte-compilation of Python modules.
echo '#!/bin/sh' > py-compile
}
src_configure() {
econf \
--with-java-prefix=${JAVA_HOME} \
--disable-selinux-check \
--disable-bwidget-check \
$(use_enable python swig-python) \
$(use_enable java swig-java) \
$(use_enable X swig-tcl) \
$(use_enable X gui) \
$(use_enable debug)
# work around swig c99 issues. it does not require
# c99 anyway.
sed -i -e 's/-std=gnu99//' "${S}/libseaudit/swig/python/Makefile"
}
src_compile() {
default
if use python; then
local dir
for dir in ${PYTHON_DIRS}; do
python_copy_sources ${dir}
building() {
emake \
SWIG_PYTHON_CPPFLAGS="-I$(python_get_includedir)" \
PYTHON_LDFLAGS="$(python_get_library -l)" \
pyexecdir="$(python_get_sitedir)" \
pythondir="$(python_get_sitedir)"
}
python_execute_function \
--action-message "Building of Python bindings from ${dir} directory with \$(python_get_implementation) \$(python_get_version)" \
--failure-message "Building of Python bindings from ${dir} directory with \$(python_get_implementation) \$(python_get_version) failed" \
-s --source-dir ${dir} \
building
done
fi
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
if use python; then
local dir
for dir in ${PYTHON_DIRS}; do
installation() {
emake \
DESTDIR="${D}" \
pyexecdir="$(python_get_sitedir)" \
pythondir="$(python_get_sitedir)" \
install
}
python_execute_function \
--action-message "Installation of Python bindings from ${dir} directory with \$(python_get_implementation) \$(python_get_version)" \
--failure-message "Installation of Python bindings from ${dir} directory with \$(python_get_implementation) \$(python_get_version) failed" \
-s --source-dir ${dir} \
installation
done
fi
}
pkg_postinst() {
if use python; then
python_mod_optimize setools
fi
}
pkg_postrm() {
if use python; then
python_mod_cleanup setools
fi
}

@ -0,0 +1,37 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/createrepo/createrepo-0.9.7-r1.ebuild,v 1.1 2011/11/12 19:37:12 maksbotan Exp $
EAPI="3"
PYTHON_DEPEND="2:2.6"
PYTHON_USE_WITH="xml"
inherit python
DESCRIPTION="Creates a common metadata repository"
HOMEPAGE="http://createrepo.baseurl.org/"
SRC_URI="http://createrepo.baseurl.org/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
>=dev-python/urlgrabber-2.9.0
>=app-arch/rpm-4.0[python]
dev-libs/libxml2[python]"
pkg_setup() {
python_pkg_setup
python_set_active_version 2
}
src_compile() { :; }
src_install() {
emake install DESTDIR="${ED}" || die
dodoc ChangeLog README
python_convert_shebangs -r 2 "${ED}"
}

@ -0,0 +1,44 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/createrepo/createrepo-0.9.8-r1.ebuild,v 1.1 2011/11/12 19:37:12 maksbotan Exp $
EAPI="3"
PYTHON_DEPEND="2:2.6"
PYTHON_USE_WITH="xml"
inherit python eutils
DESCRIPTION="Creates a common metadata repository"
HOMEPAGE="http://createrepo.baseurl.org/"
SRC_URI="http://createrepo.baseurl.org/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
>=dev-python/urlgrabber-2.9.0
>=app-arch/rpm-4.0[python]
dev-libs/libxml2[python]
>=sys-apps/yum-3.2.23"
pkg_setup() {
python_pkg_setup
python_set_active_version 2
}
src_prepare() {
sed -i \
-e '/^sysconfdir/s:=.*/:=/:' \
Makefile
}
src_compile() { :; }
src_install() {
emake install DESTDIR="${ED}" || die
dodoc ChangeLog README
python_convert_shebangs -r 2 "${ED}"
}

@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
<herd>proxy-maintainers</herd>
<maintainer>
<email>maintainer-needed@gentoo.org</email>
<email>johneed@hotmail.com</email>
<name>Ian Delaney</name>
</maintainer>
</pkgmetadata>

@ -1,2 +1,3 @@
DIST duplicity-0.6.06.tar.gz 274888 RMD160 7867fba4fc5a250a0030034dd89fef74df3dfbbd SHA1 45bc382f5d1b05960d3b45492b3e2c44a0ea7688 SHA256 0f9cdda2fe6f5827d37435bc0315e4961dbd8f2edda0a15fcc331840842748bc
DIST duplicity-0.6.15.tar.gz 304916 RMD160 a01098d48e64908ac05155037e749c4b679a9109 SHA1 716801fffa349276e7b444de7cd5f248b3c02113 SHA256 69f30388334b84db43ed4eb7838896a73cf53d62718c692a88ab3d3963e1dfad
DIST duplicity-0.6.16.tar.gz 524358 RMD160 1e8f4967113e55ad64d770cbe9f882dc0f2fddc0 SHA1 d134e56150969030ac391851cbe3d8b1a4ebfcee SHA256 488c5de5ff0495409e2d92ee07e42a4daf336e2bc1dc934c3cd862ae4f41c358

@ -0,0 +1,35 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/duplicity/duplicity-0.6.16.ebuild,v 1.1 2011/11/12 09:08:41 hanno Exp $
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
inherit distutils
DESCRIPTION="duplicity is a secure backup system using gnupg to encrypt data"
HOMEPAGE="http://www.nongnu.org/duplicity/"
SRC_URI="http://code.launchpad.net/${PN}/0.6-series/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="s3"
DEPEND="
>=net-libs/librsync-0.9.6
app-crypt/gnupg
"
RDEPEND="${DEPEND}
>=dev-python/py-gnupg-0.3.2
>=dev-python/pexpect-2.1
s3? ( dev-python/boto )
"
src_prepare() {
distutils_src_prepare
sed -i -r "s/'COPYING',//" setup.py || die "Couldn't remove unnecessary COPYING file."
}

@ -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-crypt/WiRouterKeyRec/WiRouterKeyRec-1.1.0.ebuild,v 1.2 2011/11/11 09:20:29 phajdan.jr Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/WiRouterKeyRec/WiRouterKeyRec-1.1.0.ebuild,v 1.3 2011/11/12 09:09:28 hwoarang Exp $
EAPI=4
@ -13,7 +13,7 @@ DESCRIPTION="Recovery tool for wpa passphrase"
HOMEPAGE="http://www.salvatorefresta.net"
SRC_URI="http://tools.salvatorefresta.net/${MY_P}.zip -> ${P}.zip"
KEYWORDS="~amd64 x86"
KEYWORDS="amd64 x86"
IUSE=""
LICENSE="GPL-2"
SLOT="0"

@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
<herd>proxy-maintainers</herd>
<maintainer>
<email>maintainer-needed@gentoo.org</email>
<email>johneed@hotmail.com</email>
<name>Ian Delaney</name>
</maintainer>
</pkgmetadata>

@ -0,0 +1,39 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ssh-multiadd/ssh-multiadd-1.3.1-r1.ebuild,v 1.1 2011/11/12 19:49:26 maksbotan Exp $
EAPI=2
PYTHON_DEPEND="2"
inherit python
DESCRIPTION="Adds multiple ssh keys to the ssh authentication agent"
HOMEPAGE="http://www.azstarnet.com/~donut/programs/index_s.html#ssh-multiadd"
SRC_URI="http://www.azstarnet.com/~donut/programs/ssh-multiadd/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="X"
DEPEND=""
RDEPEND="X? ( >=net-misc/x11-ssh-askpass-1.2.2 )"
pkg_setup() {
python_set_active_version 2
}
src_prepare() {
python_convert_shebangs -r 2 .
}
src_compile(){
:
}
src_install() {
dobin ssh-multiadd || die
doman ssh-multiadd.1
dodoc README todo
}

@ -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-editors/emacs/emacs-23.3-r2.ebuild,v 1.11 2011/11/03 12:48:38 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.3-r2.ebuild,v 1.12 2011/11/11 21:38:52 ulm Exp $
EAPI=4
WANT_AUTOMAKE="none"
@ -266,8 +266,8 @@ src_install () {
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
mv nextstep/Emacs.app \
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
einfo "Emacs${EMACS_SUFFIX#emacs}.app is in ${EPREFIX}/Applications/Gentoo."
einfo "You may want to copy or symlink it into /Applications by yourself."
elog "Emacs${EMACS_SUFFIX#emacs}.app is in ${EPREFIX}/Applications/Gentoo."
elog "You may want to copy or symlink it into /Applications by yourself."
fi
}

@ -1,4 +1,4 @@
DIST mp-3.3.18b.tar.gz 295661 RMD160 37b52db182035243504cd49acd4ee5dc2668e744 SHA1 5233b6481e654c8a096412ba9dacc7ae7de5900f SHA256 dabe00cbe8f0cb18a42c46242659265507b73c6862030dd63a22ed26738f9649
DIST mp-5.1.1.tar.gz 426154 RMD160 7a50eddd997f51baeaafb79d65fc1b0137d274e1 SHA1 75fa481518be29f63ef35b152ab18acb3bd445d2 SHA256 1357a22e11cb2b1a44081cdd43c402489169b6d98aec4f736f2e7fc7be1615ee
DIST mp-5.1.3.tar.gz 486068 RMD160 f78bfa5986ce3c0e7d5070783ee60a2d03ddea88 SHA1 f05b760b09126fe624703b5d9d4c280803a0c313 SHA256 b9c2773408638eeddfa0eef912cc289b0b92df34ce621dc46eca47a2dc518986
DIST mp-5.2.0.tar.gz 510970 RMD160 ddc2b42382b36c5c74db364d094fcb19ea551cf6 SHA1 7f03be23129866afb7e1fa77ac23d11c0db304c5 SHA256 69cdc69969f70881c6eb1329d2f55a7a6ec63352c65f1a0a60a8bf24006c3ae6
DIST mp-5.2.1.tar.gz 566513 RMD160 933124bd4fd7d23ad899c10ea93e57732f003d87 SHA1 9139b714225938c319fba7d051faf80b696d9204 SHA256 e91ff7b94427a5c49815f091c67c20f47f63fd473318dbd9dce52a68a6a6f9d4

@ -1,11 +0,0 @@
--- a/makefile.in
+++ b/makefile.in
@@ -29,7 +29,7 @@
$(MPDM)/libmpdm.a:
$(MAKE) -C $(MPDM)
-$(MPSL)/libmpsl.a:
+$(MPSL)/libmpsl.a: $(MPDM)/libmpdm.a
$(MAKE) -C $(MPSL)
dep:

@ -0,0 +1,46 @@
--- mp-5.2.1/makefile.in
+++ mp-5.2.1/makefile.in
@@ -4,7 +4,7 @@ all: $(APPNAME) docs build-mo
PROJ=mp
-ADD_DOCS=AUTHORS README COPYING RELEASE_NOTES \
+ADD_DOCS=AUTHORS README RELEASE_NOTES \
mp_templates.sample doc/mp_function_reference.html
GRUTATXT_DOCS=doc/mp_index.html doc/mp_cookbook.html doc/mp_internals.html \
doc/mp_configuration.html doc/mp_data_model.html \
@@ -26,10 +26,10 @@ version:
$(CC) $(CFLAGS) -I. `cat config.cflags` -c $<
$(MPDM)/libmpdm.a:
- ( cd $(MPDM); $(MAKE) )
+ $(MAKE) -C $(MPDM)
$(MPSL)/libmpsl.a: $(MPDM)/libmpdm.a
- ( cd $(MPSL); $(MAKE) )
+ $(MAKE) -C $(MPSL)
dep:
gcc -MM *.c `cat config.cflags` > makefile.depend
@@ -88,8 +88,8 @@ $(APPNAME).1: doc/mp_man.txt
grutatxt -m man -t "Minimum Profit" < doc/mp_man.txt > $(APPNAME).1
docs: $(DOCS)
- (cd $(MPDM); $(MAKE) docs)
- (cd $(MPSL); $(MAKE) docs)
+ $(MAKE) -C $(MPDM) docs
+ $(MAKE) -C $(MPSL) docs
distcopy: distclean docs
mkdir -p $(DIST_TARGET) ; \
@@ -134,8 +134,8 @@ install: $(INSTALL_MSG) installdoc install-mo
installdoc:
./mkinstalldirs $(PREFIX)/share/doc/$(APPNAME)
- ( cd $(MPDM); $(MAKE) installdoc )
- ( cd $(MPSL); $(MAKE) installdoc )
+ $(MAKE) -C $(MPDM) installdoc
+ $(MAKE) -C $(MPSL) installdoc
install -m 644 doc/* $(PREFIX)/share/doc/$(APPNAME)
install -m 644 $(ADD_DOCS) $(PREFIX)/share/doc/$(APPNAME)
[ -f doc/mp_index.html ] && install -m 644 doc/mp_index.html $(PREFIX)/share/doc/$(APPNAME)/index.html || true

@ -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-editors/mp/mp-5.2.0.ebuild,v 1.2 2011/06/16 18:47:45 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/mp/mp-5.2.1.ebuild,v 1.1 2011/11/12 00:47:44 xmw Exp $
EAPI="3"
@ -29,8 +29,7 @@ DEPEND="${RDEPEND}
dev-lang/perl"
src_prepare() {
epatch "${FILESDIR}"/${PN}-5.1.1-prll.patch \
"${FILESDIR}"/${PN}-5.2.0-make.patch
epatch "${FILESDIR}"/${PN}-5.2.1-prll.patch
}
src_configure() {

@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/df-mode/df-mode-20050509.ebuild,v 1.5 2009/03/03 06:54:42 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emacs/df-mode/df-mode-20050509.ebuild,v 1.6 2011/11/11 21:51:34 ulm Exp $
EAPI=4
inherit elisp
@ -16,10 +18,3 @@ KEYWORDS="amd64 ~ppc x86"
IUSE=""
SITEFILE="50${PN}-gentoo.el"
pkg_postinst() {
elisp-site-regen
einfo "If you are updating from df-1.5: The user interface for df-mode"
einfo "has changed. See <http://www.emacswiki.org/cgi-bin/wiki/DfMode>"
einfo "for documentation."
}

@ -1,5 +1,2 @@
;;; df-mode site-lisp configuration
(add-to-list 'load-path "@SITELISP@")
(autoload 'df-mode "df-mode" nil t)

@ -1,6 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/google-c-style/google-c-style-20091009-r1.ebuild,v 1.3 2010/11/17 10:56:52 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emacs/google-c-style/google-c-style-20091009-r1.ebuild,v 1.4 2011/11/11 22:04:44 ulm Exp $
EAPI=4
inherit elisp
@ -13,12 +15,13 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
S="${WORKDIR}"
SITEFILE="50${PN}-gentoo.el"
pkg_postinst() {
elisp-site-regen
einfo "Example usage (.emacs):"
einfo " (add-hook 'c-mode-common-hook 'google-set-c-style)"
einfo " (add-hook 'c-mode-common-hook 'google-make-newline-indent)"
elog "Example usage (~/.emacs):"
elog " (add-hook 'c-mode-common-hook 'google-set-c-style)"
elog " (add-hook 'c-mode-common-hook 'google-make-newline-indent)"
}

@ -1,6 +1,3 @@
;;; mldonkey site-lisp configuration
(add-to-list 'load-path "@SITELISP@")
(autoload 'mldonkey "mldonkey" "Run the MlDonkey interface." t)

@ -1,8 +1,10 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild,v 1.7 2010/06/27 07:31:35 fauli Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild,v 1.8 2011/11/11 22:14:23 ulm Exp $
inherit elisp eutils
EAPI=4
inherit elisp
MY_P="${PN}-el-${PV}"
DESCRIPTION="An Emacs Lisp interface to the MLDonkey core"
@ -15,17 +17,9 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
RDEPEND=""
DEPEND=""
SITEFILE=51${PN}-gentoo.el
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-vd.patch"
}
ELISP_PATCHES="${P}-vd.patch"
SITEFILE="50${PN}-gentoo.el"
src_compile() {
elisp-compile ml*.el || die "elisp-compile failed"
@ -37,6 +31,6 @@ pkg_postinst() {
ewarn "If your network gets really slow when you use mldonkey,"
ewarn "consider reducing the max number of connections. See bug #50510."
ewarn
einfo "Remember to install net-p2p/mldonkey separately if you want to work"
einfo "with a local instance."
elog "Remember to install net-p2p/mldonkey separately if you want to work"
elog "with a local instance."
}

@ -1,9 +1,12 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.1.2.ebuild,v 1.2 2011/11/07 17:31:40 alexxy Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.1.2-r1.ebuild,v 1.1 2011/11/11 17:50:59 neurogeek Exp $
EAPI="3"
PYTHON_DEPEND="2"
PYTHON_USE_WITH="xml"
if [[ $PV == *9999 ]]; then
KEYWORDS=""
REPO="xen-unstable.hg"
@ -27,10 +30,10 @@ LICENSE="GPL-2"
SLOT="0"
IUSE="api custom-cflags debug doc flask hvm qemu pygrub screen xend"
CDEPEND="dev-lang/python
<dev-libs/yajl-2
CDEPEND="<dev-libs/yajl-2
dev-python/lxml
dev-python/pypam
dev-python/pyxml
sys-libs/zlib
hvm? ( media-libs/libsdl
sys-power/iasl )
@ -77,6 +80,9 @@ QA_EXECSTACK="usr/share/xen/qemu/openbios-sparc32
RESTRICT="test"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
export "CONFIG_LOMOUNT=y"
if use qemu; then
@ -195,7 +201,7 @@ src_prepare() {
# Fix bridge by idella4, bug #362575
epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch"
# Remove check_curl, new fix to Bug #386487
# Remove check_curl, new fix to Bug #386487
epatch "${FILESDIR}/xen-tools-4.1.1-curl.patch" || die
sed -i -e 's|has_or_fail curl-config|has_or_fail curl-config\nset -ux|' \
tools/check/check_curl
@ -239,6 +245,8 @@ src_install() {
make DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" XEN_PYTHON_NATIVE_INSTALL=y install-tools \
|| die "install failed"
python_convert_shebangs -r 2 "${ED}"
# Remove RedHat-specific stuff
rm -r "${D}"/etc/init.d/xen* "${D}"/etc/default || die

@ -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-i18n/ibus-mozc/ibus-mozc-1.0.558.102.ebuild,v 1.3 2011/04/21 12:39:21 tomka Exp $
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ibus-mozc-1.0.558.102.ebuild,v 1.5 2011/11/12 04:42:09 naota Exp $
EAPI="3"
PYTHON_DEPEND="2"
@ -14,7 +14,7 @@ SRC_URI="http://mozc.googlecode.com/files/${MY_P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="emacs +ibus scim qt4"
IUSE="emacs +ibus scim +qt4"
RDEPEND="dev-libs/glib:2
dev-libs/protobuf
@ -25,7 +25,7 @@ RDEPEND="dev-libs/glib:2
scim? ( app-i18n/scim )
qt4? ( x11-libs/qt-gui:4 )"
DEPEND="${RDEPEND}
dev-util/gtest
dev-cpp/gtest
dev-util/pkgconfig"
S="${WORKDIR}/${MY_P}"

@ -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-i18n/ibus-mozc/ibus-mozc-1.1.773.102.ebuild,v 1.1 2011/07/20 14:52:13 matsuu Exp $
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ibus-mozc-1.1.773.102.ebuild,v 1.3 2011/11/12 04:42:09 naota Exp $
EAPI="3"
PYTHON_DEPEND="2"
@ -14,7 +14,7 @@ SRC_URI="http://mozc.googlecode.com/files/${MY_P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="emacs +ibus scim qt4"
IUSE="emacs +ibus scim +qt4"
RDEPEND="dev-libs/glib:2
dev-libs/protobuf
@ -29,7 +29,7 @@ RDEPEND="dev-libs/glib:2
)"
# chewing? ( dev-libs/libchewing )
DEPEND="${RDEPEND}
dev-util/gtest
dev-cpp/gtest
dev-util/pkgconfig"
S="${WORKDIR}/${MY_P}"

@ -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-i18n/ibus-mozc/ibus-mozc-1.2.809.102.ebuild,v 1.1 2011/08/18 15:18:44 matsuu Exp $
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ibus-mozc-1.2.809.102.ebuild,v 1.3 2011/11/12 04:42:09 naota Exp $
EAPI="3"
PYTHON_DEPEND="2"
@ -14,7 +14,7 @@ SRC_URI="http://mozc.googlecode.com/files/${MY_P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="emacs +ibus scim qt4"
IUSE="emacs +ibus scim +qt4"
RDEPEND="dev-libs/glib:2
dev-libs/protobuf
@ -29,7 +29,7 @@ RDEPEND="dev-libs/glib:2
)"
# chewing? ( dev-libs/libchewing )
DEPEND="${RDEPEND}
dev-util/gtest
dev-cpp/gtest
dev-util/pkgconfig"
S="${WORKDIR}/${MY_P}"

@ -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-i18n/ibus-mozc/ibus-mozc-1.2.831.102.ebuild,v 1.1 2011/09/06 22:57:14 matsuu Exp $
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ibus-mozc-1.2.831.102.ebuild,v 1.3 2011/11/12 04:42:09 naota Exp $
EAPI="3"
PYTHON_DEPEND="2"
@ -14,7 +14,7 @@ SRC_URI="http://mozc.googlecode.com/files/${MY_P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="emacs +ibus scim qt4"
IUSE="emacs +ibus scim +qt4"
RDEPEND="dev-libs/glib:2
dev-libs/protobuf
@ -29,7 +29,7 @@ RDEPEND="dev-libs/glib:2
)"
# chewing? ( dev-libs/libchewing )
DEPEND="${RDEPEND}
dev-util/gtest
dev-cpp/gtest
dev-util/pkgconfig"
S="${WORKDIR}/${MY_P}"

@ -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-i18n/ibus-mozc/ibus-mozc-1.2.855.102.ebuild,v 1.1 2011/10/04 00:05:49 matsuu Exp $
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-mozc/ibus-mozc-1.2.855.102.ebuild,v 1.3 2011/11/12 04:42:09 naota Exp $
EAPI="3"
PYTHON_DEPEND="2"
@ -14,7 +14,7 @@ SRC_URI="http://mozc.googlecode.com/files/${MY_P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="emacs +ibus scim qt4"
IUSE="emacs +ibus scim +qt4"
RDEPEND="dev-libs/glib:2
dev-libs/protobuf
@ -29,7 +29,7 @@ RDEPEND="dev-libs/glib:2
)"
# chewing? ( dev-libs/libchewing )
DEPEND="${RDEPEND}
dev-util/gtest
dev-cpp/gtest
dev-util/pkgconfig"
S="${WORKDIR}/${MY_P}"

@ -1,2 +1,2 @@
DIST nvidiabl-0.69-source-only.dkms.tar.gz 11029 RMD160 8de2dff28b4326316b704f4397ac9013687a8c25 SHA1 8f6c1cbacb4cc54cdab0346fbee4132b55993482 SHA256 e1f29bb9b398afe9004ef8745a82ce985a25aff2d43e0582c6282d2055fc2347
DIST nvidiabl-0.70-source-only.dkms.tar.gz 11160 RMD160 0af92f6d6b8fc077ac386289960d36e125f19804 SHA1 938a191f4e86538064546e236a066a0643a1496b SHA256 c1be8aa5e94300799bc27062efcd0410fc7ac4e0addf4d8259a942148d307b33
DIST nvidiabl-0.72-source-only.dkms.tar.gz 11559 RMD160 3f278c709dfd6ab457f95bc795e3b9e65c78d894 SHA1 008adccb1fea093f327742432e28abc542141d40 SHA256 2b88364a8d4f595fd3a655c80c26f21a2b9f48b3dbcf1aee413da58f291fb542

@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/nvidiabl/nvidiabl-0.69.ebuild,v 1.1 2011/04/14 14:17:15 angelos Exp $
# $Header: /var/cvsroot/gentoo-x86/app-laptop/nvidiabl/nvidiabl-0.72.ebuild,v 1.1 2011/11/11 16:38:50 angelos Exp $
EAPI=3
EAPI=4
inherit linux-mod
DESCRIPTION="Linux driver for setting the backlight brightness on laptops using
@ -20,10 +20,14 @@ RDEPEND=""
BUILD_TARGETS="modules"
MODULE_NAMES="nvidiabl()"
CONFIG_CHECK="FB_BACKLIGHT"
S=${WORKDIR}/dkms_source_tree
pkg_pretend() {
CONFIG_CHECK="FB_BACKLIGHT"
linux-mod_pkg_setup
}
src_compile() {
BUILD_PARAMS="KVER=${KV_FULL}"
linux-mod_src_compile

@ -1 +1,2 @@
DIST samsung-tools-1.4.tar.gz 441042 RMD160 8e166e9e018f5e2887dce20ae43f996f85c9fd25 SHA1 fcadaf5335023c5389508aac42e716eda058c86b SHA256 c075c5e62d57262f9846e86c4f3b9a37db5adbdff296773bbee527d9f293b67a
DIST samsung-tools-1.5.tar.gz 441205 RMD160 c48126f8e6d80082d0de3ab92df64191d734246d SHA1 4c31c3bae2576eef87c825969f01c4346e3ef2df SHA256 3ebd64648e2f065859cc29b2415e83f6a003a6ab29c15895fe787fc1ae04e5e2

@ -0,0 +1,15 @@
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/samsung-tools/files/samsung-tools.init,v 1.1 2011/11/11 16:05:26 angelos Exp $
depend() {
need dbus
}
start() {
ebegin "Setting up samsung-tools"
dbus-send --system --print-reply=literal --dest='org.voria.SamsungTools.System' \
'/' org.voria.SamsungTools.System.SetInitialDevicesStatus
eend $?
}

@ -0,0 +1,53 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/samsung-tools/samsung-tools-1.5.ebuild,v 1.1 2011/11/11 16:05:25 angelos Exp $
EAPI=4
PYTHON_DEPEND=2
inherit fdo-mime python
DESCRIPTION="Tools for Samsung laptops"
HOMEPAGE="http://launchpad.net/samsung-tools"
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-laptop/easy-slow-down-manager
dev-python/dbus-python
dev-python/notify-python
dev-python/pygtk
net-wireless/rfkill
sys-power/pm-utils
x11-misc/xbindkeys"
RDEPEND="${DEPEND}"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
python_convert_shebangs -r -q 2 .
}
src_compile() {
return
}
src_install() {
emake DESTDIR="${D}" install
newinitd "${FILESDIR}"/${PN}.init ${PN}
}
pkg_postinst() {
fdo-mime_desktop_database_update
python_mod_optimize /usr/lib/${PN}
}
pkg_postrm() {
fdo-mime_desktop_database_update
python_mod_cleanup /usr/lib/${PN}
}

@ -1,3 +1,7 @@
DIST 09ec2dac030e1dcd5ef7fa1692691dc0-Sun-ODF-Template-Pack-hu_1.0.0.oxt 6144654 RMD160 f9bf3fc5a078f4cd357f766c3e750dcf05407a2d SHA1 42c9235d7f876645ea6553770e7572c1b0b8609a SHA256 4b069e14609440d1743f4f898040aa6ffa12699ce1882a3f98e984facc1835d8
DIST 472ffb92d82cf502be039203c606643d-Sun-ODF-Template-Pack-en-US_1.0.0.oxt 4998642 RMD160 61bbecc48c94393b9c04fa9c11282dd55d42a871 SHA1 d2b6a076b40d8d517075e52220ddd8f89f655c8f SHA256 f15b13b947d8690bf05c4dc4cb04ab89297565ccddf02cce37b831376151ba29
DIST 4ad003e7bbda5715f5f38fde1f707af2-Sun-ODF-Template-Pack-es_1.0.0.oxt 4973419 RMD160 1f01d5f4d8be121bc3aaa5c5d69c9bbb50cfd912 SHA1 bf25bef71f72a4622089c85958bfd6c58d8516a6 SHA256 4eb76551b548c0e7fdc5048be8462ddb61dfb7bba4bbc23b46189356b4b0976c
DIST 53ca5e56ccd4cab3693ad32c6bd13343-Sun-ODF-Template-Pack-de_1.0.0.oxt 4953938 RMD160 cf457953fd947bf7f60274377ef88124bb788108 SHA1 4fea33622d89c7ac62053e5ee3616cfe504e0f14 SHA256 2f0ac09043abf098335ca1aa4c8bdd1759a0fea6dea561d9a21cfa0d606378dc
DIST LibO_3.4.3_Linux_x86_helppack-rpm_bg.tar.gz 11600726 RMD160 9f1f6103f8a203de5c698eb61a0393ec717801bc SHA1 9aaab4bac6aaeed367222203695837892745ae74 SHA256 35e82464e7df2ce29d6581cc99fcd3d4ec8599e8502ccd32423c60012fe80eb5
DIST LibO_3.4.3_Linux_x86_helppack-rpm_bn.tar.gz 11827442 RMD160 7c0ea12129b91284baf4a7d560e8375d09116775 SHA1 7a9a19087f7dc483f2488b58da6e9168c01e2cda SHA256 da7cf25d126f885ef5ef5a4ab146d1decc279bc31ebf4ea7fc82e56c63ccc060
DIST LibO_3.4.3_Linux_x86_helppack-rpm_bo.tar.gz 12481157 RMD160 259d98e9cd0c0036482908aea4148b9a8d7f9771 SHA1 7080b887ced84f476ecdbe7ac248e07725b48f28 SHA256 5bb6e175e624c2765b35e6b730a37b5ce9cab7d7632eb49bb8177f5576b3fe63
@ -310,3 +314,5 @@ DIST LibO_3.4.4_Linux_x86_langpack-rpm_xh.tar.gz 8219611 RMD160 45da2fbec44ef3da
DIST LibO_3.4.4_Linux_x86_langpack-rpm_zh-CN.tar.gz 1771941 RMD160 4d85f797082699c5400b1e10ec456bf199054685 SHA1 4ffeb438ffc9e3c396d6a2b8c8d5262733722717 SHA256 88af9f0a05aa084f862e22b5c822570a555c7dd2ba4f583dc7e425786543fa73
DIST LibO_3.4.4_Linux_x86_langpack-rpm_zh-TW.tar.gz 1764315 RMD160 37769d9a4ea8a8989ecbb695c017acd3f03377c3 SHA1 eedf6fd5d6357de27bdcaf7f219a61fe08f69f67 SHA256 65754fc700bda00948888975b40b80bca153e5f2e9cb95648032ee43896a0ce4
DIST LibO_3.4.4_Linux_x86_langpack-rpm_zu.tar.gz 1720450 RMD160 34c4ca3e6d1fae78376f3852e6115dc58bb3619d SHA1 a5c54cb2abce21de7f36e351bd0a69a804385f51 SHA256 7fbbf76f8a7c9d3ae9afc85e481ca3459d357b51d1cd05749e0d85729c5ace62
DIST a53080dc876edcddb26eb4c3c7537469-Sun-ODF-Template-Pack-fr_1.0.0.oxt 4971243 RMD160 40f8e190cedca8706d9ac44316a076aad33b8b42 SHA1 d831314cf4c74f5afb3b37ee718dd58f981b97a8 SHA256 472c724cf6190465ee5922536d2b1f7754478ecb9661a00f63fb2082b1aed859
DIST b33775feda3bcf823cad7ac361fd49a6-Sun-ODF-Template-Pack-it_1.0.0.oxt 4961173 RMD160 d90425d5485f1607ebdd3bd7b1a99b6365c3097d SHA1 27847d6c320297905303ca7d2a45dbd0c492f705 SHA256 fd6962d40e68494f91474c77d001603c95b04f543434141de9c3f395d795f6a4

@ -0,0 +1,165 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.4.4-r1.ebuild,v 1.3 2011/11/12 21:41:37 polynomial-c Exp $
EAPI=4
[[ ${PV} == 9999 ]] && MY_PV="3.4.4" || MY_PV="${PV}"
RC_VERSION="rc2" # CHECK ME WITH EVERY BUMP!
BASE_SRC_URI="http://download.documentfoundation.org/${PN/-l10n/}/stable/${MY_PV}/rpm/"
OO_EXTENSIONS=(
"472ffb92d82cf502be039203c606643d-Sun-ODF-Template-Pack-en-US_1.0.0.oxt"
"53ca5e56ccd4cab3693ad32c6bd13343-Sun-ODF-Template-Pack-de_1.0.0.oxt"
"4ad003e7bbda5715f5f38fde1f707af2-Sun-ODF-Template-Pack-es_1.0.0.oxt"
"a53080dc876edcddb26eb4c3c7537469-Sun-ODF-Template-Pack-fr_1.0.0.oxt"
"09ec2dac030e1dcd5ef7fa1692691dc0-Sun-ODF-Template-Pack-hu_1.0.0.oxt"
"b33775feda3bcf823cad7ac361fd49a6-Sun-ODF-Template-Pack-it_1.0.0.oxt"
)
inherit rpm eutils versionator office-ext
DESCRIPTION="Translations for the Libreoffice suite."
HOMEPAGE="http://www.libreoffice.org"
LICENSE="LGPL-3"
SLOT="0"
[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="offlinehelp templates"
LANGUAGES_HELP="bg bn bo bs ca_XV ca cs da de dz el en_GB en en_ZA eo es et eu
fi fr gl gu he hi hr hu id is it ja ka km ko mk nb ne nl nn om pl pt_BR pt ru si
sk sl sq sv tg tr ug uk vi zh_CN zh_TW"
LANGUAGES="${LANGUAGES_HELP} af ar as ast be br brx cy dgo fa ga gd kk kn kok ks
ku lo lt lv mai ml mn mni mr my nr nso oc or pa_IN ro rw sa_IN sat sd sh sr ss
st sw_TZ ta te th tn ts uz ve xh zu"
for lang in ${LANGUAGES}; do
helppack=""
langpack=""
if [[ "${LANGUAGES_HELP}" =~ "${lang}" ]]; then
[[ ${lang} == en ]] && lang2=${lang/en/en_US} || lang2=${lang}
helppack=" offlinehelp? ( ${BASE_SRC_URI}/x86/LibO_${MY_PV}_Linux_x86_helppack-rpm_${lang2/_/-}.tar.gz ) "
fi
[[ ${lang} == en ]] \
|| langpack=" ${BASE_SRC_URI}/x86/LibO_${MY_PV}_Linux_x86_langpack-rpm_${lang/_/-}.tar.gz "
SRC_URI+=" linguas_${lang}? (
${langpack}
${helppack}
)"
IUSE+=" linguas_${lang}"
done
unset lang helppack langpack lang2
# dictionaries
SPELL_DICTS="af bg ca cs cy da de el en eo es et fr ga gl he hr hu it ku lt mk
nb nl nn pl pt ru sk sl sv tn zu"
for X in ${SPELL_DICTS} ; do
SPELL_DICTS_DEPEND+=" linguas_${X}? ( app-dicts/myspell-${X} )"
done
RDEPEND="${SPELL_DICTS_DEPEND}"
unset X SPELL_DICTS SPELL_DICTS_DEPEND
# no need for iuse here as this needs to be written out and is subset
# of lignuas anyway
EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice"
TDEPEND=""
for i in ${OO_EXTENSIONS[@]}; do
lingua=${i/_*.oxt/}
lingua=${lingua/*Pack-/}
if [[ ${lingua} == en-US ]]; then
TDEPEND+=" ${EXT_URI}/${i}"
else
TDEPEND+=" linguas_${lingua}? ( ${EXT_URI}/${i} )"
fi
done
SRC_URI+=" templates? ( ${TDEPEND} )"
unset i lingua TDEPEND EXT_URI
# blockers for old libreoffice with bundled linguas
RDEPEND+="
!=app-office/libreoffice-3.4.9999-r1
!=app-office/libreoffice-9999-r1
|| (
>=app-office/libreoffice-3.4.4.2-r1
>=app-office/libreoffice-bin-3.4.4.2-r1
)
"
RESTRICT="strip"
S="${WORKDIR}"
src_unpack() {
default
local lang dir rpmdir i
local ooextused=()
for lang in ${LANGUAGES}; do
# break away if not enabled; paludis support
use_if_iuse linguas_${lang} || continue
dir=${lang/_/-}
# for english we provide just helppack, as translation is always there
if [[ ${lang} != en ]]; then
rpmdir="LibO_${MY_PV}${RC_VERSION}_Linux_x86_langpack-rpm_${dir}/RPMS/"
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\""
# First remove dictionaries, we want to use system ones.
rm -rf "${S}/${rpmdir}/"*dict*.rpm
rpm_unpack "./${rpmdir}/"*.rpm
fi
if [[ "${LANGUAGES_HELP}" =~ "${lang}" ]] && use offlinehelp; then
[[ ${lang} == en ]] && dir="en-US"
rpmdir="LibO_${MY_PV}${RC_VERSION}_Linux_x86_helppack-rpm_${dir}/RPMS/"
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\""
rpm_unpack ./"${rpmdir}/"*.rpm
fi
if use templates; then
for i in ${OO_EXTENSIONS[@]}; do
lingua=${i/_*.oxt/}
lingua=${lingua/*Pack-/}
if [[ ${lang} == ${lingua} || ${lingua} == en-US ]]; then
if [[ ! -f "${S}/${i}" ]]; then
cp -v "${DISTDIR}/${i}" "${S}"
ooextused+=( "${i}" )
fi
fi
done
fi
done
OO_EXTENSIONS=()
for i in ${ooextused[@]}; do
OO_EXTENSIONS+=( ${i} )
done
}
src_prepare() { :; }
src_configure() { :; }
src_compile() { :; }
src_install() {
local dir="${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2 ${MY_PV})/basis$(get_version_component_range 1-2 ${MY_PV})/
# Condition required for people that do not install anything eg no linguas
# or just english with no offlinehelp.
if [[ -d "${dir}" ]] ; then
if [[ ${PV} == 9999 ]]; then
# starting with 3.5 this is in common dir
insinto /usr/$(get_libdir)/${PN/-l10n/}/
else
insinto /usr/$(get_libdir)/${PN/-l10n/}/basis$(get_version_component_range 1-2)/
fi
doins -r "${dir}"/*
fi
echo "${OO_EXTENSIONS[@]}"
office-ext_src_install
}
pkg_postinst() {
office-ext_pkg_postinst
}
pkg_prerm() {
office-ext_pkg_prerm
}

@ -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-office/libreoffice-l10n/libreoffice-l10n-9999.ebuild,v 1.6 2011/11/10 20:35:58 scarabeus Exp $
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-9999-r1.ebuild,v 1.2 2011/11/12 21:41:37 polynomial-c Exp $
EAPI=4
@ -8,7 +8,16 @@ EAPI=4
RC_VERSION="rc2" # CHECK ME WITH EVERY BUMP!
BASE_SRC_URI="http://download.documentfoundation.org/${PN/-l10n/}/stable/${MY_PV}/rpm/"
inherit rpm eutils versionator
OO_EXTENSIONS=(
"472ffb92d82cf502be039203c606643d-Sun-ODF-Template-Pack-en-US_1.0.0.oxt"
"53ca5e56ccd4cab3693ad32c6bd13343-Sun-ODF-Template-Pack-de_1.0.0.oxt"
"4ad003e7bbda5715f5f38fde1f707af2-Sun-ODF-Template-Pack-es_1.0.0.oxt"
"a53080dc876edcddb26eb4c3c7537469-Sun-ODF-Template-Pack-fr_1.0.0.oxt"
"09ec2dac030e1dcd5ef7fa1692691dc0-Sun-ODF-Template-Pack-hu_1.0.0.oxt"
"b33775feda3bcf823cad7ac361fd49a6-Sun-ODF-Template-Pack-it_1.0.0.oxt"
)
inherit rpm eutils versionator office-ext
DESCRIPTION="Translations for the Libreoffice suite."
HOMEPAGE="http://www.libreoffice.org"
@ -16,7 +25,7 @@ HOMEPAGE="http://www.libreoffice.org"
LICENSE="LGPL-3"
SLOT="0"
[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="offlinehelp"
IUSE="offlinehelp templates"
LANGUAGES_HELP="bg bn bo bs ca_XV ca cs da de dz el en_GB en en_ZA eo es et eu
fi fr gl gu he hi hr hu id is it ja ka km ko mk nb ne nl nn om pl pt_BR pt ru si
@ -51,12 +60,30 @@ done
RDEPEND="${SPELL_DICTS_DEPEND}"
unset X SPELL_DICTS SPELL_DICTS_DEPEND
# blockers for old libreoffice with linguas bundled
# no need for iuse here as this needs to be written out and is subset
# of lignuas anyway
EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice"
TDEPEND=""
for i in ${OO_EXTENSIONS[@]}; do
lingua=${i/_*.oxt/}
lingua=${lingua/*Pack-/}
if [[ ${lingua} == en-US ]]; then
TDEPEND+=" ${EXT_URI}/${i}"
else
TDEPEND+=" linguas_${lingua}? ( ${EXT_URI}/${i} )"
fi
done
SRC_URI+=" templates? ( ${TDEPEND} )"
unset i lingua TDEPEND EXT_URI
# blockers for old libreoffice with bundled linguas
RDEPEND+="
!<=app-office/libreoffice-3.4.3.2
!=app-office/libreoffice-3.4.9999
!=app-office/libreoffice-9999
!<=app-office/libreoffice-bin-3.4.3-r1
!=app-office/libreoffice-3.4.9999-r1
!=app-office/libreoffice-9999-r1
|| (
>=app-office/libreoffice-3.4.4.2-r1
>=app-office/libreoffice-bin-3.4.4.2-r1
)
"
RESTRICT="strip"
@ -66,7 +93,8 @@ S="${WORKDIR}"
src_unpack() {
default
local lang dir rpmdir
local lang dir rpmdir i
local ooextused=()
for lang in ${LANGUAGES}; do
# break away if not enabled; paludis support
@ -88,6 +116,22 @@ src_unpack() {
[[ -d ${rpmdir} ]] || die "Missing directory: \"${rpmdir}\""
rpm_unpack ./"${rpmdir}/"*.rpm
fi
if use templates; then
for i in ${OO_EXTENSIONS[@]}; do
lingua=${i/_*.oxt/}
lingua=${lingua/*Pack-/}
if [[ ${lang} == ${lingua} || ${lingua} == en-US ]]; then
if [[ ! -f "${S}/${i}" ]]; then
cp -v "${DISTDIR}/${i}" "${S}"
ooextused+=( "${i}" )
fi
fi
done
fi
done
OO_EXTENSIONS=()
for i in ${ooextused[@]}; do
OO_EXTENSIONS+=( ${i} )
done
}
@ -108,4 +152,14 @@ src_install() {
fi
doins -r "${dir}"/*
fi
echo "${OO_EXTENSIONS[@]}"
office-ext_src_install
}
pkg_postinst() {
office-ext_pkg_postinst
}
pkg_prerm() {
office-ext_pkg_prerm
}

@ -3,7 +3,7 @@
<pkgmetadata>
<herd>openoffice</herd>
<use>
<flag name="offlinehelp">Install help files locally instead of
using the LibreOffice Wiki</flag>
<flag name="offlinehelp">Install help files locally instead of using the LibreOffice Wiki</flag>
<flag name="templates">Enable installation of Sun templates</flag>
</use>
</pkgmetadata>

@ -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-office/libreoffice/libreoffice-3.4.9999-r1.ebuild,v 1.21 2011/11/10 12:28:02 scarabeus Exp $
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.4.9999-r2.ebuild,v 1.1 2011/11/12 12:32:14 scarabeus Exp $
EAPI=4
@ -63,34 +63,17 @@ ADDONS_SRC+=" http://download.go-oo.org/extern/b4cae0700aa1c2aef7eb7f345365e6f1-
ADDONS_SRC+=" http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll"
SRC_URI+=" ${ADDONS_SRC}"
TDEPEND="${EXT_URI}/472ffb92d82cf502be039203c606643d-Sun-ODF-Template-Pack-en-US_1.0.0.oxt"
TDEPEND+=" linguas_de? ( ${EXT_URI}/53ca5e56ccd4cab3693ad32c6bd13343-Sun-ODF-Template-Pack-de_1.0.0.oxt )"
TDEPEND+=" linguas_en_GB? ( ${EXT_URI}/472ffb92d82cf502be039203c606643d-Sun-ODF-Template-Pack-en-US_1.0.0.oxt )"
TDEPEND+=" linguas_en_ZA? ( ${EXT_URI}/472ffb92d82cf502be039203c606643d-Sun-ODF-Template-Pack-en-US_1.0.0.oxt )"
TDEPEND+=" linguas_es? ( ${EXT_URI}/4ad003e7bbda5715f5f38fde1f707af2-Sun-ODF-Template-Pack-es_1.0.0.oxt )"
TDEPEND+=" linguas_fr? ( ${EXT_URI}/a53080dc876edcddb26eb4c3c7537469-Sun-ODF-Template-Pack-fr_1.0.0.oxt )"
TDEPEND+=" linguas_hu? ( ${EXT_URI}/09ec2dac030e1dcd5ef7fa1692691dc0-Sun-ODF-Template-Pack-hu_1.0.0.oxt )"
TDEPEND+=" linguas_it? ( ${EXT_URI}/b33775feda3bcf823cad7ac361fd49a6-Sun-ODF-Template-Pack-it_1.0.0.oxt )"
SRC_URI+=" templates? ( ${TDEPEND} )"
unset ADDONS_URI
unset EXT_URI
unset ADDONS_SRC
IUSE="binfilter +branding custom-cflags dbus debug eds gnome graphite
gstreamer gtk jemalloc kde mysql nsplugin odk opengl pdfimport python
templates test +vba webdav"
test +vba webdav"
LICENSE="LGPL-3"
SLOT="0"
[[ ${PV} == *9999* ]] || KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
# lingua for templates
LANGUAGES="de en_GB en_ZA es fr hu it"
for X in ${LANGUAGES} ; do
IUSE+=" linguas_${X}"
done
unset X
COMMON_DEPEND="
app-arch/zip
app-arch/unzip
@ -301,24 +284,6 @@ src_unpack() {
done
unset EGIT_PROJECT EGIT_SOURCEDIR EGIT_REPO_URI EGIT_BRANCH
fi
# copy extension templates; o what fun ...
if use templates; then
dest="${S}/extras/source/extensions"
mkdir -p "${dest}"
for template in ${TDEPEND}; do
if [[ ${template} == *.oxt ]]; then
tmplfile="${DISTDIR}/$(basename ${template})"
tmplname="$(echo "${template}" | \
cut -f 2- -s -d - | cut -f 1 -d _)"
echo ">>> Unpacking ${tmplfile/\*/} to ${dest}"
if [[ -f ${tmplfile} && ! -f "${dest}/${tmplname}.oxt" ]]; then
cp -v "${tmplfile}" "${dest}/${tmplname}.oxt" || die
fi
fi
done
fi
}
src_prepare() {
@ -478,6 +443,7 @@ src_configure() {
--without-ppds \
--without-stlport \
--without-helppack-integration \
--without-sun-templates \
$(use_enable binfilter) \
$(use_enable dbus) \
$(use_enable debug crashdump) \

@ -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-office/libreoffice/libreoffice-9999-r1.ebuild,v 1.58 2011/11/11 14:54:04 scarabeus Exp $
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild,v 1.2 2011/11/12 14:40:30 scarabeus Exp $
EAPI=4
@ -64,34 +64,17 @@ ADDONS_SRC+=" java? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.
ADDONS_SRC+=" odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )"
SRC_URI+=" ${ADDONS_SRC}"
TDEPEND="${EXT_URI}/472ffb92d82cf502be039203c606643d-Sun-ODF-Template-Pack-en-US_1.0.0.oxt"
TDEPEND+=" linguas_de? ( ${EXT_URI}/53ca5e56ccd4cab3693ad32c6bd13343-Sun-ODF-Template-Pack-de_1.0.0.oxt )"
TDEPEND+=" linguas_en_GB? ( ${EXT_URI}/472ffb92d82cf502be039203c606643d-Sun-ODF-Template-Pack-en-US_1.0.0.oxt )"
TDEPEND+=" linguas_en_ZA? ( ${EXT_URI}/472ffb92d82cf502be039203c606643d-Sun-ODF-Template-Pack-en-US_1.0.0.oxt )"
TDEPEND+=" linguas_es? ( ${EXT_URI}/4ad003e7bbda5715f5f38fde1f707af2-Sun-ODF-Template-Pack-es_1.0.0.oxt )"
TDEPEND+=" linguas_fr? ( ${EXT_URI}/a53080dc876edcddb26eb4c3c7537469-Sun-ODF-Template-Pack-fr_1.0.0.oxt )"
TDEPEND+=" linguas_hu? ( ${EXT_URI}/09ec2dac030e1dcd5ef7fa1692691dc0-Sun-ODF-Template-Pack-hu_1.0.0.oxt )"
TDEPEND+=" linguas_it? ( ${EXT_URI}/b33775feda3bcf823cad7ac361fd49a6-Sun-ODF-Template-Pack-it_1.0.0.oxt )"
SRC_URI+=" templates? ( ${TDEPEND} )"
unset ADDONS_URI
unset EXT_URI
unset ADDONS_SRC
IUSE="binfilter +branding dbus debug eds gnome +graphite gstreamer gtk
+jemalloc kde mysql nsplugin odk opengl pdfimport svg templates test +vba
+webdav +xmlsec"
IUSE="binfilter +branding dbus debug eds gnome +graphite gstreamer +gtk
+jemalloc kde mysql +nsplugin odk opengl pdfimport svg test +vba +webdav
+xmlsec"
LICENSE="LGPL-3"
SLOT="0"
[[ ${PV} == *9999* ]] || KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
# lingua for templates
LANGUAGES="de en_GB en_ZA es fr hu it"
for X in ${LANGUAGES} ; do
IUSE+=" linguas_${X}"
done
unset X
NSS_DEPEND="
>=dev-libs/nspr-4.8.8
>=dev-libs/nss-3.12.9
@ -278,24 +261,6 @@ src_unpack() {
done
unset EGIT_PROJECT EGIT_SOURCEDIR EGIT_REPO_URI EGIT_BRANCH
fi
# copy extension templates; o what fun ...
if use templates; then
dest="${S}/extras/source/extensions"
mkdir -p "${dest}"
for template in ${TDEPEND}; do
if [[ ${template} == *.oxt ]]; then
tmplfile="${DISTDIR}/$(basename ${template})"
tmplname="$(echo "${template}" | \
cut -f 2- -s -d - | cut -f 1 -d _)"
echo ">>> Unpacking ${tmplfile/\*/} to ${dest}"
if [[ -f ${tmplfile} && ! -f "${dest}/${tmplname}.oxt" ]]; then
cp -v "${tmplfile}" "${dest}/${tmplname}.oxt" || die
fi
fi
done
fi
}
src_prepare() {
@ -439,6 +404,7 @@ src_configure() {
--without-system-mozilla \
--without-help \
--without-helppack-integration \
--without-sun-templates \
$(use_enable binfilter) \
$(use_enable dbus) \
$(use_enable debug crashdump) \
@ -466,7 +432,6 @@ src_configure() {
$(use_enable xmlsec) \
$(use_with java) \
$(use_with mysql system-mysql-cppconn) \
$(use_with templates sun-templates) \
${internal_libs} \
${java_opts}
}

@ -3,3 +3,4 @@ DIST cfg-update-1.8.2-r1.tar.gz 164899 RMD160 d1271c5803460894246fecf0d067d81937
DIST cfg-update-1.8.4.tgz 164558 RMD160 d905dc77da628cf89b347198eb5243a0cde481a9 SHA1 bcfe44a120db84353078394e62ec38eb20511cca SHA256 cf0017043a3ebb51cea0e8958def7a5587f8f42c30c710ca3e12605d817992e1
DIST cfg-update-1.8.5.tgz 164597 RMD160 9cbc66a2f717b66afa4058876c347e06af2b2053 SHA1 5209e57712767f5657e11f44b796a20f509bca21 SHA256 568d405817ecad358c8225cb680d183664351368e80b780f2191e50457b17b8f
DIST cfg-update-1.8.6.tgz 163205 RMD160 79166b523a5da6ff77aad710c87887afe0439873 SHA1 692f24eb954cf44a6b6cdc179aeb29be357dcd24 SHA256 4d973e9ac00a845b8696e0bcf2d003ac8dc1c715ac36dc7c57b8f10223c44760
DIST cfg-update-1.8.7.tgz 163212 RMD160 2cbc70df83535dd59a4baf87205546516d97af0a SHA1 14292a0a6bb30869465a5c5e937c3c97bdf642ef SHA256 94cdb032a187e6e9e5998852afa5999d6746d7b30ae9cae7c1b68c435fe19a7d

@ -0,0 +1,106 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/cfg-update/cfg-update-1.8.7.ebuild,v 1.1 2011/11/12 20:11:38 rich0 Exp $
EAPI=2
inherit eutils
DESCRIPTION="Easy to use GUI & CLI alternative for etc-update with safe automatic updating functionality"
HOMEPAGE="https://github.com/rich0/cfg-update"
SRC_URI="https://github.com/rich0/cfg-update/tarball/${PV} -> ${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
IUSE="X"
RDEPEND="X? ( >=x11-misc/sux-1.0
x11-apps/xhost )"
S="${WORKDIR}/rich0-cfg-update-b29e34d"
src_unpack() {
unpack ${A}
cd "${S}"
}
pkg_prerm() {
if [[ ${ROOT} == / ]]
then
ebegin "Disabling portage hook"
cfg-update --ebuild --disable-portage-hook
eend $?
ebegin "Disabling paludis hook"
cfg-update --ebuild --disable-paludis-hook
eend $?
fi
}
pkg_postrm() {
ewarn
ewarn "If you want to permanently remove cfg-update from your system"
ewarn "you should manually remove the alias for emerge from /root/.bashrc"
ewarn "followed by running: unalias emerge"
ewarn "and remove the index file /var/lib/cfg-update/checksum.index"
ewarn
}
src_install() {
exeinto /usr/bin
doexe cfg-update emerge_with_indexing_for_cfg-update emerge_with_indexing_for_cfg-update_phphelper cfg-update_phphelper emerge_with_indexing_for_cfg-update_bashhelper
insinto /usr/lib/cfg-update
doins cfg-update cfg-update_indexing .bashrc test.tgz
dodoc ChangeLog
doman *.8
insinto /etc
doins cfg-update.conf
doins cfg-update.hosts
keepdir /var/lib/cfg-update
}
pkg_postinst() {
if [[ ! -e "${ROOT}"/var/lib/cfg-update/checksum.index \
&& -e "${ROOT}"/var/lib/cfg-update/checksum.index ]]
then
ebegin "Moving checksum.index from /usr/lib/cfg-update to /var/lib/cfg-update"
mv "${ROOT}"/usr/lib/cfg-update/checksum.index \
"${ROOT}"/var/lib/cfg-update/checksum.index
eend $?
fi
if [[ -e "${ROOT}"/usr/bin/paludis ]]
then
ewarn
ewarn "If you have used Paludis version <0.20.0 on your system, chances are"
ewarn "that you have some corrupted CONTENTS files on your system..."
ewarn
ewarn "Please run: cfg-update --check-packages"
ewarn
ewarn "The above command will check all packages installed with Paludis and"
ewarn "will output a list of packages that need to be re-installed with"
ewarn "Paludis 0.20.0 or higher. If you do not re-install these packages"
ewarn "you risk losing your custom settings when updating configuration"
ewarn "files, that belong to these packages, with cfg-update!"
ewarn
fi
if [[ ${ROOT} == / ]]
then
ebegin "Moving backups to /var/lib/cfg-update/backups"
/usr/bin/cfg-update --ebuild --move-backups
eend $?
fi
einfo
einfo "If this is a first time install, please check the configuration"
einfo "in /etc/cfg-update.conf before using cfg-update:"
einfo
einfo "If your system does not have an X-server installed you need to"
einfo "change the MERGE_TOOL to sdiff, imediff2 or vimdiff."
einfo "If you have X installed, set MERGE_TOOL to your favorite GUI tool:"
einfo "xxdiff, beediff, kdiff3, meld (default), gtkdiff, gvimdiff, tkdiff"
einfo
einfo "TIP: to maximize the chances of future automatic updates, run:"
einfo "cfg-update --optimize-backups"
einfo
}

@ -0,0 +1,15 @@
Downloaded from http://benhoskin.gs/2009/11/25/multi-line-prompts-in-fish/
--- fish-1.23.1/reader.c
+++ fish-1.23.1/reader.c
@@ -698,6 +698,10 @@
for( i=0; i<al_get_count( &prompt_list); i++ )
{
sb_append( &data->prompt_buff, (wchar_t *)al_get( &prompt_list, i ) );
+ if (i + 1 < al_get_count( &prompt_list))
+ {
+ sb_append( &data->prompt_buff, L"\n" );
+ }
}
al_foreach( &prompt_list, &free );

@ -0,0 +1,66 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/fish/fish-1.23.1-r2.ebuild,v 1.1 2011/11/12 12:18:03 xmw Exp $
EAPI="4"
inherit base autotools eutils
DESCRIPTION="fish is the Friendly Interactive SHell"
HOMEPAGE="http://fishshell.com/"
SRC_URI="http://fishshell.com/files/${PV}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE="X vanilla"
DEPEND="sys-libs/ncurses
sys-devel/bc
sys-devel/gettext
www-client/htmlview
X? ( x11-misc/xsel )"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-1.23.0-glibc-2.8.patch"
"${FILESDIR}/${PN}-1.22.3-gettext.patch"
"${FILESDIR}/${P}-gentoo-alt.patch"
)
src_prepare() {
base_src_prepare
if ! use vanilla ; then
epatch "${FILESDIR}"/${P}-fish_indent.patch
epatch "${FILESDIR}"/${P}-multi-line_prompts.patch
fi
eautoreconf
}
src_configure() {
# Set things up for fish to be a default shell.
# It has to be in /bin in case /usr is unavailable.
# Also, all of its utilities have to be in /bin.
econf \
docdir="${EPREFIX}"/usr/share/doc/${PF} \
--without-xsel \
--bindir="${EPREFIX}"/bin
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
}
pkg_postinst() {
elog
elog "To use ${PN} as your default shell, you need to add ${EPREFIX}/bin/${PN}"
elog "to ${EPREFIX}/etc/shells."
elog
ewarn "Many files moved to ${EROOT}usr/share/fish/completions from ${EROOT}etc/fish.d/."
ewarn "Delete everything in ${EROOT}etc/fish.d/ except fish_interactive.fish."
ewarn "Otherwise, fish won't notice updates to the installed files,"
ewarn "because the ones in /etc will override the new ones in /usr."
echo
}

@ -1,3 +1,2 @@
DIST calibre-0.8.24.tar.gz 37687726 RMD160 28d4c3e200318fd4b24a9f9881777bb331fcc542 SHA1 367ba8617c682f135381d0d842744425aafd77bd SHA256 875ddcbccff4671b4e395d6692ca9950cdb2602029f1f1d458ff69e5ed0d10e8
DIST calibre-0.8.25.tar.gz 37734837 RMD160 a286f18a7f6275cc448522f7ae393c557e7ede0b SHA1 2a9beef5544e7b7d211abb9d248a978a76af9376 SHA256 529ab5a9c404ea28f332562714f55d4e45a299930f00086f0e4e168571f048b1
DIST calibre-mount-helper-debian-20100617 413 RMD160 296ef6fec523a300e2b941a086d77d014bed8f94 SHA1 ae3f96b5eb7f831c24f6f7f8100c950edce68ee4 SHA256 1cdbd23edfea0b08f7bd089e3302ca9601737aac18537406f0408b449aea32d1
DIST calibre-0.8.26.tar.gz 37784724 RMD160 b1700bb3c395d51fd942893a8f25737a01ed7eb4 SHA1 0840c720935968d6349768a26239193d5b5a0720 SHA256 59e713e126ddb5739bfe33acf52581ccad944a9f05c3e1d3d0b3958b4762f91a

@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.24-r1.ebuild,v 1.1 2011/11/04 21:38:49 zmedico Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.26.ebuild,v 1.1 2011/11/12 17:24:16 zmedico Exp $
EAPI=3
EAPI=4
PYTHON_DEPEND=2:2.7
PYTHON_USE_WITH=sqlite
@ -10,8 +10,7 @@ inherit python distutils eutils fdo-mime bash-completion-r1 multilib
DESCRIPTION="Ebook management application."
HOMEPAGE="http://calibre-ebook.com/"
SRC_URI="http://sourceforge.net/projects/calibre/files/${PV}/${P}.tar.gz
http://bazaar.launchpad.net/~calibre-packagers/calibre/debian/download/head:/calibremounthelper-20100617213106-931ymwfegqq1dxbt-1/calibre-mount-helper -> calibre-mount-helper-debian-20100617"
SRC_URI="http://sourceforge.net/projects/calibre/files/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
@ -53,6 +52,7 @@ S=${WORKDIR}/${PN}
pkg_setup() {
python_set_active_version 2.7
python_pkg_setup
}
src_prepare() {
@ -123,19 +123,16 @@ src_install() {
grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
die "failed to fix harcoded \$D in paths"
# Bug 389515 - Substitute vulnerable suid calibre-mount-helper
# with udisks shell script wrapper from debian.
# Remove dummy calibre-mount-helper which is unused since calibre-0.8.25
# due to bug #389515 (instead, calibre now calls udisks via dbus).
rm "${ED}usr/bin/calibre-mount-helper" || die
exeinto /usr/bin || die
newexe "${DISTDIR}"/calibre-mount-helper-debian-20100617 \
calibre-mount-helper || die
find "${ED}"usr/share/calibre/man -type f -print0 | \
while read -r -d $'\0' ; do
if [[ ${REPLY} = *.[0-9]calibre.bz2 ]] ; then
newname=${REPLY%calibre.bz2}.bz2
mv "${REPLY}" "${newname}"
doman "${newname}" || die "doman failed"
doman "${newname}"
rm -f "${newname}" || die "rm failed"
fi
done
@ -157,7 +154,7 @@ src_install() {
domenu "${HOME}"/.local/share/applications/*.desktop ||
die "failed to install .desktop menu files"
dobashcomp "${ED}"usr/etc/bash_completion.d/calibre || die
dobashcomp "${ED}"usr/etc/bash_completion.d/calibre
rm -r "${ED}"usr/etc/bash_completion.d
find "${ED}"usr/etc -type d -empty -delete

@ -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-text/dvisvgm/dvisvgm-1.0.8.ebuild,v 1.10 2011/10/16 17:26:44 grobian Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/dvisvgm/dvisvgm-1.0.8.ebuild,v 1.11 2011/11/11 20:12:42 vapier Exp $
EAPI=3
@ -26,7 +26,7 @@ RDEPEND="virtual/tex-base
sys-libs/zlib"
DEPEND="${RDEPEND}
dev-util/pkgconfig
test? ( dev-util/gtest )"
test? ( dev-cpp/gtest )"
src_prepare() {
epatch "${FILESDIR}"/${P}-darwin.patch

@ -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-text/dvisvgm/dvisvgm-1.0.9.ebuild,v 1.1 2011/11/02 15:13:43 aballier Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/dvisvgm/dvisvgm-1.0.9.ebuild,v 1.2 2011/11/11 20:12:42 vapier Exp $
EAPI=3
@ -24,7 +24,7 @@ RDEPEND="virtual/tex-base
sys-libs/zlib"
DEPEND="${RDEPEND}
dev-util/pkgconfig
test? ( dev-util/gtest )"
test? ( dev-cpp/gtest )"
src_install() {
emake DESTDIR="${D}" install || die

@ -1,8 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gpl/ghostscript-gpl-9.04-r4.ebuild,v 1.2 2011/10/31 06:07:23 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-gpl/ghostscript-gpl-9.04-r4.ebuild,v 1.4 2011/11/12 10:23:33 jlec Exp $
EAPI=3
inherit autotools eutils versionator flag-o-matic
DESCRIPTION="Ghostscript is an interpreter for the PostScript language and for PDF"
@ -11,21 +12,23 @@ HOMEPAGE="http://ghostscript.com/"
MY_P=${P/-gpl}
GSDJVU_PV=1.5
PVM=$(get_version_component_range 1-2)
SRC_URI="!bindist? ( djvu? ( mirror://sourceforge/djvu/gsdjvu-${GSDJVU_PV}.tar.gz ) )
SRC_URI="
mirror://sourceforge/ghostscript/${MY_P}.tar.bz2
mirror://gentoo/${P}-patchset-3.tar.bz2"
mirror://gentoo/${P}-patchset-3.tar.bz2
!bindist? ( djvu? ( mirror://sourceforge/djvu/gsdjvu-${GSDJVU_PV}.tar.gz ) )"
LICENSE="GPL-3 CPL-1.0"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
IUSE="bindist cups dbus djvu gtk idn jpeg2k static-libs X"
COMMON_DEPEND="app-text/libpaper
COMMON_DEPEND="
app-text/libpaper
media-libs/fontconfig
media-libs/freetype:2
media-libs/lcms:0
>=media-libs/libpng-1.2.42
>=media-libs/tiff-3.9.2
media-libs/libpng:0
media-libs/tiff:0
>=sys-libs/zlib-1.2.3
virtual/jpeg
!bindist? ( djvu? ( app-text/djvu ) )

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>printing</herd>
<use>
<flag name="bindist">Disable dejavu support for binary distribution because of licensing issue</flag>
</use>
<herd>printing</herd>
<use>
<flag name="bindist">Disable dejavu support for binary distribution because of licensing issue</flag>
</use>
</pkgmetadata>

@ -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-text/mupdf/mupdf-0.9.ebuild,v 1.1 2011/09/30 12:49:09 xmw Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-0.9.ebuild,v 1.2 2011/11/11 19:16:17 hwoarang Exp $
EAPI=2
@ -12,7 +12,7 @@ SRC_URI="http://mupdf.com/download/${P}-source.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="amd64 ~ppc ~x86"
IUSE="X vanilla"
RDEPEND="media-libs/freetype:2

@ -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-text/yelp-tools/yelp-tools-3.2.1.ebuild,v 1.1 2011/11/04 06:09:18 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/yelp-tools/yelp-tools-3.2.1.ebuild,v 1.2 2011/11/13 04:33:17 tetromino Exp $
EAPI="4"
GCONF_DEBUG="no"
@ -10,7 +10,7 @@ inherit gnome2
DESCRIPTION="Collection of tools for building and converting documentation"
HOMEPAGE="http://www.gnome.org/"
LICENSE="GPL-2 freedist" # yelp.m4 is freely distributable
LICENSE="|| ( GPL-2 freedist ) GPL-2" # yelp.m4 is GPL2 || freely distributable
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

@ -1 +1,2 @@
DIST clucene-core-0.9.21b.tar.bz2 1539103 RMD160 e04ca10ca755cdd9c7bf5ccdd34a91c0007de1d4 SHA1 8bc505b64f82723c2dc901036cb0607500870973 SHA256 202ee45af747f18642ae0a088d7c4553521714a511a1a9ec99b8144cf9928317
DIST clucene-core-2.3.3.4.tar.gz 2241498 RMD160 5acfc9c8acd167b3684cfc731a60fd9c5465cc9b SHA1 76d6788e747e78abb5abf8eaad78d3342da5f2a4 SHA256 ddfdc433dd8ad31b5c5819cc4404a8d2127472a3b720d3e744e8c51d79732eab

@ -0,0 +1,49 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/clucene-2.3.3.4.ebuild,v 1.1 2011/11/12 19:07:49 dilfridge Exp $
EAPI=4
MY_PN="${PN}"-core
MY_P="${MY_PN}"-"${PV}"
inherit cmake-utils
DESCRIPTION="High-performance, full-featured text search engine based off of lucene in C++"
HOMEPAGE="http://clucene.sourceforge.net/"
SRC_URI="mirror://sourceforge/clucene/${MY_P}.tar.gz"
LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd
~amd64-linux ~x86-linux ~ppc-macos"
IUSE="debug doc static-libs"
DEPEND="
doc? ( >=app-doc/doxygen-1.4.2 )
"
RDEPEND="!<app-misc/strigi-0.7.5-r3"
DOCS=(AUTHORS ChangeLog README README.PACKAGE REQUESTS)
PATCHES=(
"${FILESDIR}/${PN}-9999-cmake.patch"
)
S="${WORKDIR}/${MY_PN}-${PV}"
src_configure() {
# Disabled threads: see upstream bug
# https://sourceforge.net/tracker/?func=detail&aid=3237301&group_id=80013&atid=558446
local mycmakeargs=(
-DENABLE_ASCII_MODE=OFF
-DENABLE_PACKAGING=OFF
-DDISABLE_MULTITHREADING=OFF
$(cmake-utils_use_enable debug)
$(cmake-utils_use_enable doc CLDOCS)
$(cmake-utils_use_build static-libs STATIC_LIBRARIES)
)
cmake-utils_src_configure
}

@ -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/dev-cpp/gflags/gflags-1.5.ebuild,v 1.1 2011/02/12 21:54:14 nelchael Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/gflags-1.5.ebuild,v 1.2 2011/11/11 20:55:37 vapier Exp $
EAPI="3"
@ -9,7 +9,7 @@ HOMEPAGE="http://code.google.com/p/google-gflags/"
SRC_URI="http://google-gflags.googlecode.com/files/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="static-libs"
DEPEND=""

@ -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/dev-cpp/gflags/gflags-1.6.ebuild,v 1.1 2011/09/01 15:39:35 nelchael Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/gflags-1.6.ebuild,v 1.2 2011/11/11 20:55:37 vapier Exp $
EAPI="3"
@ -9,7 +9,7 @@ HOMEPAGE="http://code.google.com/p/google-gflags/"
SRC_URI="http://google-gflags.googlecode.com/files/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="static-libs"
DEPEND=""

@ -0,0 +1 @@
DIST glog-0.3.1-1.tar.gz 491798 RMD160 dcbb4a7ba28afb4126e1b9791dda2a784a3bda68 SHA1 14e3f6d6f2ecceac1ee6a66a1d28ddbc32a2b4ab SHA256 0a5ce945aaa5c64cb3889bf4844a0459263c06a77ad549042230dfea316787cb

@ -0,0 +1,28 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/glog/glog-0.3.1.ebuild,v 1.2 2011/11/12 00:27:22 vapier Exp $
EAPI="4"
inherit eutils
DESCRIPTION="Google's C++ logging library"
HOMEPAGE="http://code.google.com/p/google-glog/"
SRC_URI="http://google-glog.googlecode.com/files/${P}-1.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="gflags static-libs test"
RDEPEND="gflags? ( dev-cpp/gflags )"
DEPEND="${RDEPEND}
test? (
dev-cpp/gmock
dev-cpp/gtest
)"
src_configure() {
export ac_cv_lib_gflags_main=$(usex gflags)
use test || export ac_cv_prog_GTEST_CONFIG=no
econf $(use_enable static-libs static)
}

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>vapier@gentoo.org</email>
</maintainer>
<use>
<flag name='gflags'>Use gflags module for flag parsing</flag>
</use>
</pkgmetadata>

@ -1 +1,2 @@
DIST gmock-1.4.0.tar.bz2 946373 RMD160 9d43853f4abc650b8d8fe9984a6b4baddeea08ce SHA1 ecc8beec7004f36d8d4c0af5237381db4d640126 SHA256 21d37c154a7b8d7a8562b9dde82db7db0a6c188b985c4a18ff3413daae8caa8c
DIST gmock-1.5.0.tar.bz2 1283432 RMD160 5b07d083aefa7b77614d2766570d3442f367c5dc SHA1 76d8f5a221c93105304d71e33391dc70af573d6a SHA256 d8689a51fbc13f55509f5842fe7d514839d9fd6092743d145304bc2824fc9197

@ -0,0 +1,38 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gmock/gmock-1.4.0.ebuild,v 1.2 2011/11/11 20:35:50 vapier Exp $
EAPI="4"
inherit libtool
DESCRIPTION="Google's C++ mocking framework"
HOMEPAGE="http://code.google.com/p/googlemock/"
SRC_URI="http://googlemock.googlecode.com/files/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="static-libs"
RDEPEND=">=dev-cpp/gtest-${PV}"
DEPEND="${RDEPEND}"
src_unpack() {
default
# make sure we always use the system one
rm -r "${S}"/gtest/Makefile* || die
}
src_prepare() {
elibtoolize
}
src_configure() {
econf $(use_enable static-libs static)
}
src_install() {
default
use static-libs || find "${D}" -name '*.la' -delete
}

@ -1,9 +1,11 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gmock/gmock-1.5.0.ebuild,v 1.1 2011/10/14 19:26:57 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gmock/gmock-1.5.0.ebuild,v 1.3 2011/11/11 20:35:50 vapier Exp $
EAPI="4"
inherit libtool
DESCRIPTION="Google's C++ mocking framework"
HOMEPAGE="http://code.google.com/p/googlemock/"
SRC_URI="http://googlemock.googlecode.com/files/${P}.tar.bz2"
@ -13,7 +15,7 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="static-libs"
RDEPEND=">=dev-util/gtest-${PV}"
RDEPEND=">=dev-cpp/gtest-${PV}"
DEPEND="${RDEPEND}"
src_unpack() {
@ -22,6 +24,10 @@ src_unpack() {
rm -r "${S}"/gtest/Makefile* || die
}
src_prepare() {
elibtoolize
}
src_configure() {
econf $(use_enable static-libs static)
}

@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/gtest/gtest-1.4.0.ebuild,v 1.2 2010/03/02 07:33:16 dev-zero Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtest/gtest-1.4.0.ebuild,v 1.1 2011/11/11 20:09:57 vapier Exp $
EAPI="2"
inherit autotools eutils

@ -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/dev-util/gtest/gtest-1.5.0.ebuild,v 1.14 2011/09/18 18:00:05 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtest/gtest-1.5.0.ebuild,v 1.1 2011/11/11 20:09:57 vapier Exp $
EAPI="3"
PYTHON_DEPEND="2"

@ -0,0 +1 @@
DIST pficommon-1.3.1.0.tar.gz 441406 RMD160 372fcb0d9593a8e07f6304d87c9167e05b6d7245 SHA1 14ff3fd29a27f6e4e02a8dd326a444960e2899b9 SHA256 4b644f38825f939e3c9e3649af4a35fee00ea7343dd7711770c6ec713be859c0

@ -0,0 +1,49 @@
diff --git a/wscript b/wscript
index dc1866e..c5b800c 100644
--- a/wscript
+++ b/wscript
@@ -6,18 +6,21 @@ out = 'build'
import Options
import sys
+import os
subdirs = 'src tools'
def options(opt):
opt.load('compiler_cxx')
opt.load('unittest_gtest')
+ opt.load('gnu_dirs')
opt.recurse(subdirs)
def configure(conf):
conf.check_tool('compiler_cxx')
conf.check_tool('unittest_gtest')
+ conf.check_tool('gnu_dirs')
conf.env.append_unique(
'CXXFLAGS',
@@ -28,6 +31,8 @@ def configure(conf):
conf.recurse(subdirs)
conf.define('PFICOMMON_VERSION', VERSION)
+
+ conf.env['VERSION'] = VERSION
conf.write_config_header('src/pfi-config.h')
@@ -72,11 +77,11 @@ def build(bld):
bld(source = 'pficommon.pc.in',
prefix = bld.env['PREFIX'],
exec_prefix = '${prefix}',
- libdir = '${prefix}/lib',
+ libdir = bld.env['LIBDIR'],
includedir = '${prefix}/include',
PACKAGE = APPNAME,
VERSION = VERSION)
- bld.install_files('${PREFIX}/lib/pkgconfig', 'pficommon.pc')
+ bld.install_files(os.path.join(bld.env['LIBDIR'], 'pkgconfig'), 'pficommon.pc')
bld.recurse(subdirs)

@ -0,0 +1,13 @@
diff --git a/src/database/wscript b/src/database/wscript
index 8eca1d0..3916a7d 100644
--- a/src/database/wscript
+++ b/src/database/wscript
@@ -20,7 +20,7 @@ def configure(conf):
conf.env.BUILD_PGSQL = False
if not Options.options.disable_database:
try:
- incdir = subprocess.check_output(['pg_config', '--includedir-server']).decode()
+ incdir = subprocess.check_output(['pg_config', '--includedir-server']).decode('utf-8')
libdir = subprocess.check_output(['pg_config', '--libdir']).decode()
if conf.check_cxx(lib = 'pq',
header_name = 'postgres.h',

@ -0,0 +1,200 @@
diff --git a/src/concurrent/wscript b/src/concurrent/wscript
index 5aeb5ab..8700d68 100644
--- a/src/concurrent/wscript
+++ b/src/concurrent/wscript
@@ -19,6 +19,7 @@ def build(bld):
source = 'thread.cpp mutex.cpp rwmutex.cpp condition.cpp internal.cpp',
target = 'pficommon_concurrent',
includes = '.',
+ vnum = bld.env['VERSION'],
use = 'pficommon_system PTHREAD')
bld.program(
diff --git a/src/data/wscript b/src/data/wscript
index e99c7c3..df47caf 100644
--- a/src/data/wscript
+++ b/src/data/wscript
@@ -61,6 +61,7 @@ def build(bld):
],
target = 'pficommon_data',
includes = incdirs,
+ vnum = bld.env['VERSION'],
use = 'pficommon_system')
def t(src):
diff --git a/src/database/mysql/wscript b/src/database/mysql/wscript
index 79d5a23..5407091 100644
--- a/src/database/mysql/wscript
+++ b/src/database/mysql/wscript
@@ -7,4 +7,5 @@ def build(bld):
source = 'connection.cpp statement.cpp value.cpp',
target = 'pficommon_database_mysql',
includes = '. ..',
+ vnum = bld.env['VERSION'],
use = 'pficommon_concurrent MYSQL')
diff --git a/src/database/postgresql/wscript b/src/database/postgresql/wscript
index 9b834f8..5040a69 100644
--- a/src/database/postgresql/wscript
+++ b/src/database/postgresql/wscript
@@ -7,4 +7,5 @@ def build(bld):
source = 'connection.cpp statement.cpp result.cpp value.cpp',
target = 'pficommon_database_postgresql',
includes = '. ..',
+ vnum = bld.env['VERSION'],
use = 'PGSQL')
diff --git a/src/database/wscript b/src/database/wscript
index b491d4f..3916a7d 100644
--- a/src/database/wscript
+++ b/src/database/wscript
@@ -44,6 +44,7 @@ def build(bld):
t = bld.shlib(
source = '',
target = 'pficommon_database',
+ vnum = bld.env['VERSION'],
use = [])
if bld.env.BUILD_MYSQL:
diff --git a/src/lang/wscript b/src/lang/wscript
index e5538d9..e0ad364 100644
--- a/src/lang/wscript
+++ b/src/lang/wscript
@@ -20,6 +20,7 @@ def build(bld):
bld.shlib(
source = 'empty.cpp',
+ vnum = bld.env['VERSION'],
target = 'pficommon_lang')
bld.program(
diff --git a/src/math/wscript b/src/math/wscript
index 8e8e271..f855b3a 100644
--- a/src/math/wscript
+++ b/src/math/wscript
@@ -14,6 +14,7 @@ def build(bld):
bld.shlib(
source = 'random/mersenne_twister.cpp',
target = 'pficommon_math',
+ vnum = bld.env['VERSION'],
includes = '.')
def t(src):
diff --git a/src/network/wscript b/src/network/wscript
index 4b0873c..d5a9aee 100644
--- a/src/network/wscript
+++ b/src/network/wscript
@@ -56,11 +56,13 @@ def build(bld):
source = 'socket.cpp ipv4.cpp dns.cpp uri.cpp',
target = 'pficommon_network_base',
includes = '.',
+ vnum = bld.env['VERSION'],
use = 'pficommon_concurrent')
pfin = bld.shlib(
source = '',
target = 'pficommon_network',
+ vnum = bld.env['VERSION'],
use = [
'pficommon_network_base',
'pficommon_network_http',
diff --git a/src/system/wscript b/src/system/wscript
index 4068967..a6fc70c 100644
--- a/src/system/wscript
+++ b/src/system/wscript
@@ -21,6 +21,7 @@ def build(bld):
'sysstat.cpp',
'mmapper.cpp'],
target = 'pficommon_system',
+ vnum = bld.env['VERSION'],
includes = '.')
bld.program(
diff --git a/src/text/wscript b/src/text/wscript
index 2cb54df..e18310c 100644
--- a/src/text/wscript
+++ b/src/text/wscript
@@ -16,6 +16,7 @@ def build(bld):
source = 'xhtml.cpp csv.cpp json/parser.cpp',
target = 'pficommon_text',
includes = '. json',
+ vnum = bld.env['VERSION'],
use = 'pficommon_data pficommon_system')
bld.program(
diff --git a/src/util/wscript b/src/util/wscript
index c971da4..7ed427f 100644
--- a/src/util/wscript
+++ b/src/util/wscript
@@ -8,6 +8,7 @@ def build(bld):
bld.shlib(
source = '',
+ vnum = bld.env['VERSION'],
target = 'pficommon_util')
bld(features = 'cxx cprogram gtest',
diff --git a/src/visualization/wscript b/src/visualization/wscript
index bf0500a..04469a1 100644
--- a/src/visualization/wscript
+++ b/src/visualization/wscript
@@ -27,6 +27,7 @@ def build(bld):
v = bld.shlib(
source = ['empty.cpp'],
target = 'pficommon_visualization',
+ vnum = bld.env['VERSION'],
use = [])
bld.program(
diff --git a/src/wscript b/src/wscript
index 8dfd9e8..4af7585 100644
--- a/src/wscript
+++ b/src/wscript
@@ -26,6 +26,7 @@ def build(bld):
b = bld.shlib(
source = 'empty.cpp',
target = 'pficommon',
+ vnum = bld.env['VERSION'],
use = [
'pficommon_concurrent',
'pficommon_data',
diff --git a/src/network/cgi/wscript b/src/network/cgi/wscript
index 29c44fa..1863394 100644
--- a/src/network/cgi/wscript
+++ b/src/network/cgi/wscript
@@ -47,6 +47,7 @@ def build(bld):
source = 'base.cpp xhtml_cgi.cpp xhtml_builder.cpp inserter.cpp cgi.cpp server.cpp util.cpp',
target = 'pficommon_network_cgi',
includes = '. ..',
+ vnum = bld.env['VERSION'],
use = 'pficommon_text pficommon_concurrent pficommon_network_http PTHREAD')
if bld.env.BUILD_FCGI:
diff --git a/src/network/http/wscript b/src/network/http/wscript
index 7e2bbbe..dbfe480 100644
--- a/src/network/http/wscript
+++ b/src/network/http/wscript
@@ -14,4 +14,5 @@ def build(bld):
source = 'base.cpp',
target = 'pficommon_network_http',
includes = '. ..',
+ vnum = bld.env['VERSION'],
use = 'pficommon_network_base')
diff --git a/src/network/mprpc/wscript b/src/network/mprpc/wscript
index 940bdd4..0e093f6 100644
--- a/src/network/mprpc/wscript
+++ b/src/network/mprpc/wscript
@@ -21,4 +21,5 @@ def build(bld):
'socket.cpp'
],
target = 'pficommon_network_mprpc',
+ vnum = bld.env['VERSION'],
use = 'pficommon_concurrent pficommon_network_base MSGPACK')
diff --git a/src/network/rpc/wscript b/src/network/rpc/wscript
index 74c006c..46121d6 100644
--- a/src/network/rpc/wscript
+++ b/src/network/rpc/wscript
@@ -17,4 +17,5 @@ def build(bld):
source = 'base.cpp',
target = 'pficommon_network_rpc',
includes = '. ..',
+ vnum = bld.env['VERSION'],
use = 'pficommon_network_base pficommon_concurrent pficommon_system')

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>naota@gentoo.org</email>
</maintainer>
<use>
<flag name='fcgi'>Build FCGI feature</flag>
<flag name='mprpc'>Build MessagePack RPC feature</flag>
</use>
</pkgmetadata>

@ -0,0 +1,54 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/pficommon/pficommon-1.3.1.0.ebuild,v 1.1 2011/11/12 23:55:49 naota Exp $
EAPI=4
inherit waf-utils eutils
DESCRIPTION="General purpose C++ library for PFI"
HOMEPAGE="https://github.com/pfi/pficommon"
SRC_URI="https://github.com/pfi/pficommon/tarball/${PV} -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="fcgi imagemagick mprpc mysql postgres test"
RDEPEND="fcgi? ( dev-libs/fcgi )
imagemagick? (
media-libs/lcms
media-gfx/imagemagick[cxx]
sys-devel/libtool
)
mprpc? ( dev-libs/msgpack )
mysql? ( virtual/mysql )
postgres? ( dev-db/postgresql-base )
"
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )"
src_unpack() {
unpack ${A}
mv pfi-pficommon-* "${S}"
}
src_prepare() {
epatch "${FILESDIR}"/${P}-libdir.patch \
"${FILESDIR}"/${P}-soname.patch \
"${FILESDIR}"/${P}-postgresql.patch
}
src_configure() {
if use fcgi; then
myconf="${myconf} --with-fcgi=/usr"
else
myconf="${myconf} --disable-fcgi"
fi
use imagemagick || myconf="${myconf} --disable-magickpp"
use mprpc || myconf="${myconf} --disable-mprpc"
if ! use mysql && ! use postgres; then
myconf="${myconf} --disable-database"
fi
waf-utils_src_configure ${myconf}
}

@ -1,3 +1,3 @@
DIST pgadmin3-1.12.2.tar.gz 15111631 RMD160 56fcc8243728ab88b92db9f8c34295bac2a9d0df SHA1 c734e65679922d780953a4d79429037f1c8b1e9b SHA256 26b3debd2e15c1a4e8b496b131fe15d71ad325f0e5bfb010128a30f91c5686cd
DIST pgadmin3-1.12.3.tar.gz 15115418 RMD160 1fc5fe096ac6440071c36b3b3152e929e464f8d9 SHA1 051462bcc003a7d9daddf8a01d6d4b4d82282229 SHA256 d3b13c3e90f8c8cedb8157e46aa6d9467596cc9b4e92cf5558b09e4fa8bb36de
DIST pgadmin3-1.14.0-beta1.tar.gz 16813450 RMD160 64b0f7f21f57b7e3153f04f0f56d9c52dbf5c7d6 SHA1 156a3bf8d596cae75336f435b633b210dc9115b6 SHA256 a47f8244ce8021a368d6ad3eb34481dd04528c13453fbbc8ab013db278790558
DIST pgadmin3-1.14.0.tar.gz 15041312 RMD160 919ba33e71826114613a169af2de0194db224525 SHA1 0b3387a091dfa8245216ad9efa6d400e83f9da33 SHA256 396c2b0394496f23ea51c095b619eecc8c33473f0f483b795bfeb391e56cafd2

@ -0,0 +1,64 @@
--- pgadmin3-1.14.0-rc1.orig/acinclude.m4 2011-06-28 13:44:29.000000000 +0000
+++ pgadmin3-1.14.0-rc1/acinclude.m4 2011-09-05 21:10:03.222953210 +0000
@@ -406,6 +406,13 @@
PGSQL_OLD_LDFLAGS="$LDFLAGS"
PGSQL_OLD_CPPFLAGS="$CPPFLAGS"
+ PG_INCLUDE=`${PG_CONFIG} --includedir`
+ PG_SVRINCLUDE=`${PG_CONFIG} --includedir-server`
+ PG_PKGINCLUDE=`${PG_CONFIG} --pkgincludedir`
+ CPPFLAGS="$CPPFLAGS -I${PG_INCLUDE} -I${PG_SVRINCLUDE} -I${PG_PKGINCLUDE}"
+
+ PG_VERSION=`${PG_CONFIG} --version`
+
AC_LANG_SAVE
AC_LANG_C
AC_CHECK_LIB(ssl, SSL_library_init, [LIB_SSL=yes], [LIB_SSL=no])
@@ -477,33 +484,7 @@
if test "$LIB_SSL" = "yes"
then
# Check for SSL support
- if test "$BUILD_STATIC" = "yes"
- then
- AC_MSG_CHECKING(for SSL_connect in libpq.a)
- if test "$(nm ${PG_LIB}/libpq.a | grep -c SSL_connect)" -gt 0
- then
- AC_MSG_RESULT(present)
- PG_SSL="yes"
- else
- AC_MSG_RESULT(not present)
- PG_SSL="no"
- fi
- else
- if test "$build_cpu-$build_vendor" = "powerpc-apple" -o "$build_cpu-$build_vendor" = "i386-apple" -o "$build_cpu-$build_vendor" = "i686-apple"
- then
- AC_MSG_CHECKING(for SSL_connect in -lpq)
- if test "$(otool -L ${PG_LIB}/libpq.?.dylib | grep -c libssl)" -gt 0
- then
- AC_MSG_RESULT(present)
- PG_SSL="yes"
- else
- AC_MSG_RESULT(not present)
- PG_SSL="no"
- fi
- else
- AC_CHECK_LIB(pq, SSL_connect, [PG_SSL=yes], [PG_SSL=no])
- fi
- fi
+ AC_CHECK_DECL([USE_SSL], [PG_SSL=yes], [PG_SSL=no], [[#include <pg_config.h>]])
else
PG_SSL="no"
fi
@@ -547,12 +528,6 @@
AC_LANG_RESTORE
- PG_INCLUDE=`${PG_CONFIG} --includedir`
- PG_SVRINCLUDE=`${PG_CONFIG} --includedir-server`
- PG_PKGINCLUDE=`${PG_CONFIG} --pkgincludedir`
- CPPFLAGS="$CPPFLAGS -I${PG_INCLUDE} -I${PG_SVRINCLUDE} -I${PG_PKGINCLUDE}"
-
- PG_VERSION=`${PG_CONFIG} --version`
if test "$build_os" = "mingw32"
then

@ -1,18 +1,16 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/pgadmin3-1.14.0_beta1.ebuild,v 1.2 2011/07/11 17:30:22 scarabeus Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/pgadmin3-1.14.0.ebuild,v 1.1 2011/11/12 15:36:39 titanofold Exp $
EAPI=4
EAPI="4"
WX_GTK_VER="2.8"
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}
inherit autotools wxwidgets
inherit autotools multilib versionator wxwidgets
DESCRIPTION="wxWidgets GUI for PostgreSQL."
HOMEPAGE="http://www.pgadmin.org/"
SRC_URI="mirror://postgresql/${PN}/release/v${MY_PV}/src/${MY_P}.tar.gz"
SRC_URI="mirror://postgresql/${PN}/release/v${PV}/src/${P}.tar.gz"
LICENSE="Artistic"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
@ -25,8 +23,6 @@ DEPEND="x11-libs/wxGTK:2.8[X]
>=dev-libs/libxslt-1.1"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
pkg_pretend() {
local pgslot=$(postgresql-config show)
@ -38,18 +34,17 @@ pkg_pretend() {
}
src_prepare() {
epatch "${FILESDIR}/ssl-detect.patch"
epatch "${FILESDIR}/ssl-detect-r1.patch"
eautoreconf
}
src_configure() {
econf \
--with-wx-version=2.8 \
econf --with-wx-version=2.8 \
$(use_enable debug)
}
src_install() {
default
emake DESTDIR="${D}" install
newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png

@ -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/dev-java/icedtea/icedtea-7.2.0-r1.ebuild,v 1.9 2011/11/11 12:41:20 caster Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.0-r1.ebuild,v 1.10 2011/11/12 14:50:14 sera Exp $
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
# *********************************************************
@ -299,9 +299,7 @@ src_install() {
< "${FILESDIR}/icedtea.env" > "${T}/icedtea.env"
set_java_env "${T}/icedtea.env"
# bug #388127
dodir /etc/sandbox.d
echo 'SANDBOX_PREDICT="/dev/random:/proc/self/coredump_filter"' > "${D}/etc/sandbox.d/20${VMHANDLE}"
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
}
use_zero() {

@ -1,5 +1,3 @@
DIST UnlimitedJCEPolicyJDK7.zip 7426 RMD160 a4a6a284579f43d2df3532d279e143d2f03c2c3f SHA1 7d3c9ee89536b82cd21c680088b1bced16017253 SHA256 7a8d790e7bd9c2f82a83baddfae765797a4a56ea603c9150c87b7cdb7800194d
DIST jdk-7-linux-i586.tar.gz 96645974 RMD160 1570527cf84636f9a7542ab5b30476fd5c8ade8e SHA1 7b1a8c01885e0662018ee7829769f97499534b87 SHA256 2face2437fb6f91505e73fe41863dcc4ba5d23d761ba26d8712357b92c7eb201
DIST jdk-7-linux-x64.tar.gz 94971634 RMD160 faf4b66e2f2f2619a69048defb2a82033580ce20 SHA1 d58395c605a4050e482f7bf94eaab72b7325c3be SHA256 cd71b7ca40d8dba47df960a9509bbc41e44f399d46ef8905a329258641e11829
DIST jdk-7u1-linux-i586.tar.gz 96648208 RMD160 7a48b5ed92c34f3253e8a87e5ee53580a8e83736 SHA1 e581d977bdb8f2f7608d48b307ab3174a55f8f48 SHA256 acbfb8912a287facbee02ff138d94457aabab409b2f1d15855714ec9608a6cd4
DIST jdk-7u1-linux-x64.tar.gz 94972183 RMD160 fc2efecd251ec552530ad57888cbdce163e009e6 SHA1 21ef2964df4575f1e5e935205700d06ee70f33b3 SHA256 f88070cfe7fe5ed60dfda7729cf9dd110b77840e2ca8cd14a86d5d2274b09c9c

@ -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/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.7.0.1-r1.ebuild,v 1.1 2011/11/04 09:24:55 caster Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.7.0.1-r1.ebuild,v 1.2 2011/11/12 13:18:42 sera Exp $
EAPI="4"
@ -159,10 +159,7 @@ src_install() {
insinto /opt/${P}/jre/lib/
doins "${T}"/fontconfig.properties
# bug #388127
dodir /etc/sandbox.d
echo 'SANDBOX_PREDICT="/dev/random:/proc/self/coredump_filter"' > "${D}/etc/sandbox.d/20${VMHANDLE}"
set_java_env
java-vm_revdep-mask
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
}

@ -1,164 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.7.0.1.ebuild,v 1.1 2011/10/21 23:00:04 caster Exp $
EAPI="4"
inherit java-vm-2 eutils pax-utils prefix versionator
UPDATE="$(get_version_component_range 4)"
UPDATE="${UPDATE#0}"
MY_PV="$(get_version_component_range 2)u${UPDATE}"
S_PV="$(get_version_component_range 1-3)_0${UPDATE}"
X86_AT="jdk-${MY_PV}-linux-i586.tar.gz"
AMD64_AT="jdk-${MY_PV}-linux-x64.tar.gz"
# check the URIs when bumping, no idea about their stability yet
JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html"
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html"
JCE_DIR="UnlimitedJCEPolicy"
JCE_FILE="${JCE_DIR}JDK7.zip"
DESCRIPTION="Oracle's Java SE Development Kit"
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
SRC_URI="x86? ( ${X86_AT} )
amd64? ( ${AMD64_AT} )
jce? ( ${JCE_FILE} )"
SLOT="1.7"
LICENSE="Oracle-BCLA-JavaSE"
KEYWORDS="~amd64 ~x86"
RESTRICT="fetch strip"
IUSE="X alsa derby doc examples jce nsplugin"
QA_TEXTRELS_x86="
opt/${P}/jre/lib/i386/client/libjvm.so
opt/${P}/jre/lib/i386/server/libjvm.so"
DEPEND="jce? ( app-arch/unzip )"
RDEPEND="${DEPEND}
doc? ( dev-java/java-sdk-docs:1.7 )
!prefix? ( sys-libs/glibc )
alsa? ( media-libs/alsa-lib )
X? (
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libX11
)"
S="${WORKDIR}/jdk${S_PV}"
pkg_nofetch() {
if use x86; then
AT=${X86_AT}
elif use amd64; then
AT=${AMD64_AT}
fi
einfo "Please download ${AT} from:"
einfo "${JDK_URI}"
einfo "and move it to ${DISTDIR}"
if use jce; then
einfo "Also download ${JCE_FILE} from:"
einfo ${JCE_URI}
einfo "and move it to ${DISTDIR}"
fi
}
src_prepare() {
if use jce; then
mv "${WORKDIR}"/${JCE_DIR} "${S}"/jre/lib/security/ || die
fi
}
src_compile() {
# Set PaX markings on all JDK/JRE executables to allow code-generation on
# the heap by the JIT compiler. This needs to be done before CDS - #215225
pax-mark m $(list-paxables "${S}"{,/jre}/bin/*)
# see bug #207282
einfo "Creating the Class Data Sharing archives"
if use x86; then
"${S}"/bin/java -client -Xshare:dump || die
fi
"${S}"/bin/java -server -Xshare:dump || die
# Create files used as storage for system preferences.
mkdir jre/.systemPrefs || die
touch jre/.systemPrefs/.system.lock || die
touch jre/.systemPrefs/.systemRootModFile || die
}
src_install() {
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
# writable executable segments
if use x86; then
rm -vf {,jre/}lib/i386/libjavaplugin_oji.so \
{,jre/}lib/i386/libjavaplugin_nscp*.so
rm -vrf jre/plugin/i386
fi
# Without nsplugin flag, also remove the new plugin
local arch=${ARCH};
use x86 && arch=i386;
if ! use nsplugin; then
rm -vf {,jre/}lib/${arch}/libnpjp2.so \
{,jre/}lib/${arch}/libjavaplugin_jni.so
fi
dodir /opt/${P}
cp -pPR bin include jre lib man src.zip "${ED}"/opt/${P} || die
if use derby; then
cp -pPR db "${ED}"/opt/${P} || die
fi
if use examples; then
cp -pPR demo sample "${ED}"/opt/${P} || die
fi
# Remove empty dirs we might have copied
rmdir -v $(find "${D}" -type d -empty) || die
dodoc COPYRIGHT
dohtml README.html
if use jce; then
dodir /opt/${P}/jre/lib/security/strong-jce
mv "${ED}"/opt/${P}/jre/lib/security/US_export_policy.jar \
"${ED}"/opt/${P}/jre/lib/security/strong-jce || die
mv "${ED}"/opt/${P}/jre/lib/security/local_policy.jar \
"${ED}"/opt/${P}/jre/lib/security/strong-jce || die
dosym /opt/${P}/jre/lib/security/${JCE_DIR}/US_export_policy.jar \
/opt/${P}/jre/lib/security/
dosym /opt/${P}/jre/lib/security/${JCE_DIR}/local_policy.jar \
/opt/${P}/jre/lib/security/
fi
if use nsplugin; then
install_mozilla_plugin /opt/${P}/jre/lib/${arch}/libnpjp2.so
fi
# Install desktop file for the Java Control Panel. Using VMHANDLE as file
# name to prevent file collision with jre and or other slots.
[[ -f "${ED}"/opt/${P}/jre/lib/desktop/applications/sun_java.desktop ]] || die
sed -e "s/\(Name=\)Java/\1 Java Control Panel for Oracle JDK ${SLOT}/" \
-e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \
-e "s#Icon=.*#Icon=/opt/${P}/jre/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png#" \
"${ED}"/opt/${P}/jre/lib/desktop/applications/sun_java.desktop > \
"${T}"/${VMHANDLE}.desktop
domenu "${T}"/${VMHANDLE}.desktop
# bug #56444
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
eprefixify "${T}"/fontconfig.properties
insinto /opt/${P}/jre/lib/
doins "${T}"/fontconfig.properties
set_java_env
java-vm_revdep-mask
}

@ -1,164 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.7.0.ebuild,v 1.1 2011/09/08 07:28:32 caster Exp $
EAPI="4"
inherit java-vm-2 eutils pax-utils prefix
#UPDATE="$(get_version_component_range 4)"
#UPDATE="${UPDATE#0}"
#MY_PV="$(get_version_component_range 2)u${UPDATE}"
MY_PV="7"
X86_AT="jdk-${MY_PV}-linux-i586.tar.gz"
AMD64_AT="jdk-${MY_PV}-linux-x64.tar.gz"
# check the URIs when bumping, no idea about their stability yet
JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html"
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html"
JCE_DIR="UnlimitedJCEPolicy"
JCE_FILE="${JCE_DIR}JDK7.zip"
DESCRIPTION="Oracle's Java SE Development Kit"
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
SRC_URI="x86? ( ${X86_AT} )
amd64? ( ${AMD64_AT} )
jce? ( ${JCE_FILE} )"
SLOT="1.7"
LICENSE="Oracle-BCLA-JavaSE"
KEYWORDS="~amd64 ~x86"
RESTRICT="fetch strip"
IUSE="X alsa derby doc examples jce nsplugin"
QA_TEXTRELS_x86="
opt/${P}/jre/lib/i386/client/libjvm.so
opt/${P}/jre/lib/i386/server/libjvm.so"
DEPEND="jce? ( app-arch/unzip )"
RDEPEND="${DEPEND}
doc? ( dev-java/java-sdk-docs:1.7 )
!prefix? ( sys-libs/glibc )
alsa? ( media-libs/alsa-lib )
X? (
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libX11
)"
S="${WORKDIR}/jdk${PV}"
pkg_nofetch() {
if use x86; then
AT=${X86_AT}
elif use amd64; then
AT=${AMD64_AT}
fi
einfo "Please download ${AT} from:"
einfo "${JDK_URI}"
einfo "and move it to ${DISTDIR}"
if use jce; then
einfo "Also download ${JCE_FILE} from:"
einfo ${JCE_URI}
einfo "and move it to ${DISTDIR}"
fi
}
src_prepare() {
if use jce; then
mv "${WORKDIR}"/${JCE_DIR} "${S}"/jre/lib/security/ || die
fi
}
src_compile() {
# Set PaX markings on all JDK/JRE executables to allow code-generation on
# the heap by the JIT compiler. This needs to be done before CDS - #215225
pax-mark m $(list-paxables "${S}"{,/jre}/bin/*)
# see bug #207282
einfo "Creating the Class Data Sharing archives"
if use x86; then
"${S}"/bin/java -client -Xshare:dump || die
fi
"${S}"/bin/java -server -Xshare:dump || die
# Create files used as storage for system preferences.
mkdir jre/.systemPrefs || die
touch jre/.systemPrefs/.system.lock || die
touch jre/.systemPrefs/.systemRootModFile || die
}
src_install() {
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
# writable executable segments
if use x86; then
rm -vf {,jre/}lib/i386/libjavaplugin_oji.so \
{,jre/}lib/i386/libjavaplugin_nscp*.so
rm -vrf jre/plugin/i386
fi
# Without nsplugin flag, also remove the new plugin
local arch=${ARCH};
use x86 && arch=i386;
if ! use nsplugin; then
rm -vf {,jre/}lib/${arch}/libnpjp2.so \
{,jre/}lib/${arch}/libjavaplugin_jni.so
fi
dodir /opt/${P}
cp -pPR bin include jre lib man src.zip "${ED}"/opt/${P} || die
if use derby; then
cp -pPR db "${ED}"/opt/${P} || die
fi
if use examples; then
cp -pPR demo sample "${ED}"/opt/${P} || die
fi
# Remove empty dirs we might have copied
rmdir -v $(find "${D}" -type d -empty) || die
dodoc COPYRIGHT
dohtml README.html
if use jce; then
dodir /opt/${P}/jre/lib/security/strong-jce
mv "${ED}"/opt/${P}/jre/lib/security/US_export_policy.jar \
"${ED}"/opt/${P}/jre/lib/security/strong-jce || die
mv "${ED}"/opt/${P}/jre/lib/security/local_policy.jar \
"${ED}"/opt/${P}/jre/lib/security/strong-jce || die
dosym /opt/${P}/jre/lib/security/${JCE_DIR}/US_export_policy.jar \
/opt/${P}/jre/lib/security/
dosym /opt/${P}/jre/lib/security/${JCE_DIR}/local_policy.jar \
/opt/${P}/jre/lib/security/
fi
if use nsplugin; then
install_mozilla_plugin /opt/${P}/jre/lib/${arch}/libnpjp2.so
fi
# Install desktop file for the Java Control Panel. Using VMHANDLE as file
# name to prevent file collision with jre and or other slots.
[[ -f "${ED}"/opt/${P}/jre/lib/desktop/applications/sun_java.desktop ]] || die
sed -e "s/\(Name=\)Java/\1 Java Control Panel for Oracle JDK ${SLOT}/" \
-e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \
-e "s#Icon=.*#Icon=/opt/${P}/jre/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png#" \
"${ED}"/opt/${P}/jre/lib/desktop/applications/sun_java.desktop > \
"${T}"/${VMHANDLE}.desktop
domenu "${T}"/${VMHANDLE}.desktop
# bug #56444
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
eprefixify "${T}"/fontconfig.properties
insinto /opt/${P}/jre/lib/
doins "${T}"/fontconfig.properties
set_java_env
java-vm_revdep-mask
}

@ -0,0 +1,139 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.29-r1.ebuild,v 1.1 2011/11/11 21:06:44 sera Exp $
EAPI="4"
inherit java-vm-2 eutils pax-utils prefix versionator
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
S_PV="$(replace_version_separator 3 '_')"
X86_AT="jre-${MY_PV}-linux-i586.bin"
AMD64_AT="jre-${MY_PV}-linux-x64.bin"
# check the URIs when bumping, no idea about their stability yet
JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre-${MY_PV}-download-513650.html"
DESCRIPTION="Oracle's Java SE Runtime Environment"
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
SRC_URI="x86? ( ${X86_AT} )
amd64? ( ${AMD64_AT} )"
LICENSE="Oracle-BCLA-JavaSE"
KEYWORDS="~amd64 ~x86"
SLOT="1.6"
IUSE="X alsa jce nsplugin"
RESTRICT="fetch strip"
QA_TEXTRELS_x86="
opt/${P}/lib/i386/client/libjvm.so
opt/${P}/lib/i386/motif21/libmawt.so
opt/${P}/lib/i386/server/libjvm.so"
RDEPEND="${DEPEND}
!prefix? ( sys-libs/glibc )
alsa? ( media-libs/alsa-lib )
X? (
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libX11
)"
DEPEND="jce? ( dev-java/sun-jce-bin:1.6 )"
S="${WORKDIR}/jre${S_PV}"
pkg_nofetch() {
if use x86; then
AT=${X86_AT}
elif use amd64; then
AT=${AMD64_AT}
fi
einfo "Due to Oracle no longer providing the distro-friendly DLJ bundles, the package has become fetch restricted again."
einfo "Alternatives are switching to dev-java/icedtea-bin or the source-based dev-java/icedtea:6"
einfo "Please download ${AT} from:"
einfo "${JRE_URI}"
einfo "and move it to ${DISTDIR}"
}
src_unpack() {
sh "${DISTDIR}"/${A} -noregister || die "Failed to unpack"
}
src_compile() {
# Set PaX markings on all JDK/JRE executables to allow code-generation on
# the heap by the JIT compiler. This needs to be done before CDS - #215225
pax-mark m $(list-paxables "${S}"/bin/*)
# see bug #207282
einfo "Creating the Class Data Sharing archives"
if use x86; then
"${S}"/bin/java -client -Xshare:dump || die
fi
"${S}"/bin/java -server -Xshare:dump || die
}
src_install() {
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
# writable executable segments
if use x86; then
rm -vf lib/i386/libjavaplugin_oji.so \
lib/i386/libjavaplugin_nscp*.so
rm -vrf plugin/i386
fi
# Without nsplugin flag, also remove the new plugin
local arch=${ARCH};
use x86 && arch=i386;
if ! use nsplugin; then
rm -vf lib/${arch}/libnpjp2.so \
lib/${arch}/libjavaplugin_jni.so
fi
dodir /opt/${P}
cp -pPR bin lib man "${ED}"/opt/${P} || die
# Remove empty dirs we might have copied
rmdir -v $(find "${D}" -type d -empty) || die
dodoc COPYRIGHT README
if use jce; then
dodir /opt/${P}/lib/security/strong-jce
mv "${ED}"/opt/${P}/lib/security/US_export_policy.jar \
"${ED}"/opt/${P}/lib/security/strong-jce || die
mv "${ED}"/opt/${P}/lib/security/local_policy.jar \
"${ED}"/opt/${P}/lib/security/strong-jce || die
dosym /opt/sun-jce-bin-1.6.0/jre/lib/security/unlimited-jce/US_export_policy.jar \
/opt/${P}/lib/security/US_export_policy.jar
dosym /opt/sun-jce-bin-1.6.0/jre/lib/security/unlimited-jce/local_policy.jar \
/opt/${P}/lib/security/local_policy.jar
fi
if use nsplugin; then
install_mozilla_plugin /opt/${P}/lib/${arch}/libnpjp2.so
fi
# Install desktop file for the Java Control Panel. Using VMHANDLE as file
# name to prevent file collision with jdk and or other slots.
[[ -f "${ED}"/opt/${P}/lib/desktop/applications/sun_java.desktop ]] || die
sed -e "s/\(Name=\)Java/\1 Java Control Panel for Oracle JRE ${SLOT} (sun-jre-bin)/" \
-e "s#Exec=.*#Exec=/opt/${P}/bin/jcontrol#" \
-e "s#Icon=.*#Icon=/opt/${P}/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png#" \
"${ED}"/opt/${P}/lib/desktop/applications/sun_java.desktop > \
"${T}"/${VMHANDLE}.desktop
domenu "${T}"/${VMHANDLE}.desktop
# bug #56444
cp "${FILESDIR}"/fontconfig.Gentoo.properties-r1 "${T}"/fontconfig.properties || die
eprefixify "${T}"/fontconfig.properties
insinto /opt/${P}/lib/
doins "${T}"/fontconfig.properties
set_java_env "${FILESDIR}/${VMHANDLE}.env-r1"
java-vm_revdep-mask
}

@ -3,9 +3,13 @@ DIST pl-5.10.5.tar.gz 13329752 RMD160 1ed3594b46efead1fd66b232ff8bdd765d749200 S
DIST pl-5.11.27.tar.gz 13445120 RMD160 af7339db041d0be602109e1ba16f684759cbb192 SHA1 843ff32c9dfb2b0ca805b332a407b4ac9b9e1d04 SHA256 b66215c9426cb78602761c6e8cf47c6f6ecbe1967b7c140a7e0d7cac9a9c5608
DIST pl-5.11.28.tar.gz 13380533 RMD160 b43ef3612f4f50215c12aaf3252784140b815c47 SHA1 c928f995a49d8f2bd2d6f414f825845e040e1fd7 SHA256 c6594aafee10797a16803bfeec7ef7d2d1a716e3dcb8fdf995c9230af7ce6186
DIST pl-5.11.29.tar.gz 13389645 RMD160 1f5921dce920d7ed9c294d570c2ff0cb68d11733 SHA1 b9628a32a0b8deefdb2bdbc8994fcb8ab8c29b39 SHA256 1d5c1ea60a8a7b313322af80b1a5acf45e4dcf356a58ebc691904b92760f0e3b
DIST pl-5.11.30.tar.gz 13408384 RMD160 feb602ff8e9f4da835fadb8a4f1e2074554e4e11 SHA1 ae36d0b9e1caacadefa961cf78f859b8572adc7d SHA256 17f4905c17a138fe37d69956927631a43b52425393d2b0f507f8a042e37cd605
DIST pl-5.11.31.tar.gz 13421230 RMD160 2050615ba9e923beff1955316e0cb8e8f6488f27 SHA1 c35ae1d9f037fe0e31fe98ad8e085cabbd775783 SHA256 09ed7dca88c7de4758514edf6f4256c6c900248f460c088b2ddaa0d79c7be938
DIST swi-prolog-5.10.4-gentoo-patchset-3.tar.gz 9770 RMD160 6bf3af5c57da54407f260db9ee5203ee6fa8c032 SHA1 3fc7483226a7ea5363ee083105bcf1d81d645b1e SHA256 8745a67d34f83afdbb1ed852606d40fadfe7de7bca00c8a88690efb65aace21b
DIST swi-prolog-5.10.5-gentoo-patchset-0.tar.gz 5860 RMD160 ec0c8237fecf838101602875a9e4eb64a1c84271 SHA1 57b97c3284158e0fad2c0371479284bf79e85654 SHA256 a20cb42ed5385076a2ba759898f44b82fe0d40b5f2f16063535f1635763c6aa6
DIST swi-prolog-5.10.5-gentoo-patchset-3.tar.gz 9427 RMD160 a27971c86e1d3e986d9cbd40960cc307cc56ea7b SHA1 65920b41643c818be317984ec99e962a3d67f6d5 SHA256 8d8ffb9d3f95fd65b2a79bc941ab4ff0e49019c3f603aa55796c4f6a12bfa266
DIST swi-prolog-5.10.5-gentoo-patchset-4.tar.gz 9587 RMD160 1867f6320810bfb7f356716e6006c40e77507006 SHA1 79a27dc241e6fe1c6e86c5769eba16a5b984f6cd SHA256 0f00bb91ed0039fc861c7f60251a752a836b8ef18d2fdd920bb5fcb88f64f653
DIST swi-prolog-5.11.27-gentoo-patchset-0.tar.gz 5875 RMD160 1d7750c1fa34add6c6b16991b088454d5fdf0f62 SHA1 09626e8c7b37426197c55a69ad300e2fa4cdc5da SHA256 dc100a2e79e80d0f6b669262bcf187b7d6547ee2bb85ee6c16fa697c5ee37f3f
DIST swi-prolog-5.11.28-gentoo-patchset-2.tar.gz 9232 RMD160 7e7eb799edc555c7258bdeba78b4dccd13c89659 SHA1 84654b5f765b6931f703ebcfc34774b08b9f5ace SHA256 675728c1e7992a9afd06a05094a61347208a72ab7c14d9fe26febd7e3751e393
DIST swi-prolog-5.11.29-gentoo-patchset-0.tar.gz 4421 RMD160 8763639b1a91a4ee9fcffd9e63c45b68117043d4 SHA1 b4326e5edbb870c7f1358ed82fa4e66c55ea38db SHA256 60ca8378cfcee51af889ed4c73c25c731acb2e47593a0633a2df3474f16711ca
DIST swi-prolog-5.11.30-gentoo-patchset-1.tar.gz 4354 RMD160 10a535ca4cb4c4f392a5d48d5b887d6a66bba636 SHA1 6984e9b026e4f920a98fc1ec980e453ac4bea0f0 SHA256 fa4b0bf235ee37c26be5a746d3053f703b5508f51db8f3b79a86d95d1a03927a
DIST swi-prolog-5.11.31-gentoo-patchset-0.tar.gz 4228 RMD160 5ad348c890a3212c0ddde8727a25f7139d663b8f SHA1 3a0a8efdb7e24e8edfedd4cdc2c0a2d8968115b7 SHA256 baf8e541f1a5fe7af501c55472694fb75a1517fbc0839d5023cb41bebe484165

@ -1,12 +1,12 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.10.5-r1.ebuild,v 1.3 2011/10/11 06:33:55 keri Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.10.5-r1.ebuild,v 1.4 2011/11/12 23:07:01 keri Exp $
EAPI=2
inherit eutils flag-o-matic java-pkg-opt-2
PATCHSET_VER="3"
PATCHSET_VER="4"
DESCRIPTION="free, small, and standard compliant Prolog compiler"
HOMEPAGE="http://www.swi-prolog.org/"

@ -0,0 +1,125 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.11.30.ebuild,v 1.2 2011/11/12 23:07:01 keri Exp $
EAPI=2
inherit eutils flag-o-matic java-pkg-opt-2
PATCHSET_VER="1"
DESCRIPTION="free, small, and standard compliant Prolog compiler"
HOMEPAGE="http://www.swi-prolog.org/"
SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
RDEPEND="sys-libs/ncurses
zlib? ( sys-libs/zlib )
odbc? ( dev-db/unixODBC )
readline? ( sys-libs/readline )
gmp? ( dev-libs/gmp )
ssl? ( dev-libs/openssl )
java? ( >=virtual/jdk-1.4 )
X? (
virtual/jpeg
x11-libs/libX11
x11-libs/libXft
x11-libs/libXpm
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM )"
DEPEND="${RDEPEND}
X? ( x11-proto/xproto )
java? ( test? ( =dev-java/junit-3.8* ) )"
S="${WORKDIR}/pl-${PV}"
src_prepare() {
EPATCH_FORCE=yes
EPATCH_SUFFIX=patch
epatch "${WORKDIR}"/${PV}
}
src_configure() {
append-flags -fno-strict-aliasing
use ppc && append-flags -mno-altivec
use hardened && append-flags -fno-unit-at-a-time
use debug && append-flags -DO_DEBUG
cd "${S}"/src
econf \
--libdir=/usr/$(get_libdir) \
$(use_enable gmp) \
$(use_enable readline) \
$(use_enable !static shared) \
--enable-custom-flags COFLAGS="${CFLAGS}"
}
src_compile() {
cd "${S}"/src
emake || die "emake failed"
if ! use minimal ; then
local jpltestconf
if use java && use test ; then
jpltestconf="--with-junit=$(java-config --classpath junit)"
fi
cd "${S}/packages"
econf \
--libdir=/usr/$(get_libdir) \
--with-chr \
--with-clib \
--with-clpqr \
--with-cpp \
--with-http \
$(use_with java jpl) \
${jpltestconf} \
--with-nlp \
$(use_with odbc) \
--with-pldoc \
--with-plunit \
--with-protobufs \
--with-R \
--with-RDF \
--with-semweb \
--with-sgml \
$(use_with ssl) \
--with-table \
--with-tipc \
$(use_with X xpce) \
$(use_with zlib) \
COFLAGS='"${CFLAGS}"'
emake || die "packages emake failed"
fi
}
src_test() {
cd "${S}/src"
emake check || die "make check failed. See above for details."
if ! use minimal ; then
cd "${S}/packages"
emake check || die "make check failed. See above for details."
fi
}
src_install() {
emake -C src DESTDIR="${D}" install || die "install src failed"
if ! use minimal ; then
emake -C packages DESTDIR="${D}" install || die "install packages failed"
if use doc ; then
emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
fi
fi
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION || die
}

@ -0,0 +1,125 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.11.31.ebuild,v 1.1 2011/11/13 04:13:15 keri Exp $
EAPI=2
inherit eutils flag-o-matic java-pkg-opt-2
PATCHSET_VER="0"
DESCRIPTION="free, small, and standard compliant Prolog compiler"
HOMEPAGE="http://www.swi-prolog.org/"
SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug doc gmp hardened java minimal odbc readline ssl static test zlib X"
RDEPEND="sys-libs/ncurses
zlib? ( sys-libs/zlib )
odbc? ( dev-db/unixODBC )
readline? ( sys-libs/readline )
gmp? ( dev-libs/gmp )
ssl? ( dev-libs/openssl )
java? ( >=virtual/jdk-1.4 )
X? (
virtual/jpeg
x11-libs/libX11
x11-libs/libXft
x11-libs/libXpm
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM )"
DEPEND="${RDEPEND}
X? ( x11-proto/xproto )
java? ( test? ( =dev-java/junit-3.8* ) )"
S="${WORKDIR}/pl-${PV}"
src_prepare() {
EPATCH_FORCE=yes
EPATCH_SUFFIX=patch
epatch "${WORKDIR}"/${PV}
}
src_configure() {
append-flags -fno-strict-aliasing
use ppc && append-flags -mno-altivec
use hardened && append-flags -fno-unit-at-a-time
use debug && append-flags -DO_DEBUG
cd "${S}"/src
econf \
--libdir=/usr/$(get_libdir) \
$(use_enable gmp) \
$(use_enable readline) \
$(use_enable !static shared) \
--enable-custom-flags COFLAGS="${CFLAGS}"
}
src_compile() {
cd "${S}"/src
emake || die "emake failed"
if ! use minimal ; then
local jpltestconf
if use java && use test ; then
jpltestconf="--with-junit=$(java-config --classpath junit)"
fi
cd "${S}/packages"
econf \
--libdir=/usr/$(get_libdir) \
--with-chr \
--with-clib \
--with-clpqr \
--with-cpp \
--with-http \
$(use_with java jpl) \
${jpltestconf} \
--with-nlp \
$(use_with odbc) \
--with-pldoc \
--with-plunit \
--with-protobufs \
--with-R \
--with-RDF \
--with-semweb \
--with-sgml \
$(use_with ssl) \
--with-table \
--with-tipc \
$(use_with X xpce) \
$(use_with zlib) \
COFLAGS='"${CFLAGS}"'
emake || die "packages emake failed"
fi
}
src_test() {
cd "${S}/src"
emake check || die "make check failed. See above for details."
if ! use minimal ; then
cd "${S}/packages"
emake check || die "make check failed. See above for details."
fi
}
src_install() {
emake -C src DESTDIR="${D}" install || die "install src failed"
if ! use minimal ; then
emake -C packages DESTDIR="${D}" install || die "install packages failed"
if use doc ; then
emake -C packages DESTDIR="${D}" html-install || die "html-install failed"
fi
fi
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION || die
}

@ -1,2 +1 @@
DIST apr-util-1.3.11.tar.bz2 607486 RMD160 5b745baf523b99c8fa0501deab4f00d86ca050e5 SHA1 dc71af7684f76d56f06b4fc8763a8606bd861e84 SHA256 13b8446c5ff96ed32293db77689992db18addb1a76d0f6dae29f132dc96dab59
DIST apr-util-1.3.12.tar.bz2 607646 RMD160 c23f9e8f312edbb4c484c839c071648c79a00140 SHA1 4902165fc5f2f077afbcc7ddf7ebbf61556a1cda SHA256 93976dc2f40d8622c4e9c355f419bb20f2c0dd843ee21a295a092d1c1b950d9c

@ -1,93 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.3.11.ebuild,v 1.6 2011/05/14 20:50:36 armin76 Exp $
EAPI="3"
# Usually apr-util has the same PV as apr, but in case of security fixes, this may change.
# APR_PV="${PV}"
APR_PV="1.4.4"
inherit autotools db-use eutils libtool multilib
DESCRIPTION="Apache Portable Runtime Utility Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
IUSE="berkdb doc freetds gdbm ldap mysql odbc postgres sqlite sqlite3"
RESTRICT="test"
RDEPEND="dev-libs/expat
>=dev-libs/apr-${APR_PV}:1
berkdb? ( >=sys-libs/db-4 )
freetds? ( dev-db/freetds )
gdbm? ( sys-libs/gdbm )
ldap? ( =net-nds/openldap-2* )
mysql? ( =virtual/mysql-5* )
odbc? ( dev-db/unixODBC )
postgres? ( dev-db/postgresql-base )
sqlite? ( dev-db/sqlite:0 )
sqlite3? ( dev-db/sqlite:3 )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
src_prepare() {
eautoreconf
elibtoolize
}
src_configure() {
local myconf
if use berkdb; then
local db_version
db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version"
db_version="$(db_ver_to_slot "${db_version}")"
db_version="${db_version/\./}"
myconf+=" --with-dbm=db${db_version} --with-berkeley-db=$(db_includedir 2> /dev/null):/usr/$(get_libdir)"
else
myconf+=" --without-berkeley-db"
fi
econf --datadir=/usr/share/apr-util-1 \
--with-apr=/usr \
--with-expat=/usr \
$(use_with freetds) \
$(use_with gdbm) \
$(use_with ldap) \
$(use_with mysql) \
$(use_with odbc) \
$(use_with postgres pgsql) \
$(use_with sqlite sqlite2) \
$(use_with sqlite3) \
${myconf}
}
src_compile() {
emake CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed"
if use doc; then
emake dox || die "emake dox failed"
fi
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
find "${ED}" -name "*.la" -print0 | xargs -0 rm -f
find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -print0 | xargs -0 rm -f
dodoc CHANGES NOTICE README
if use doc; then
dohtml -r docs/dox/html/* || die "dohtml failed"
fi
# This file is only used on AIX systems, which Gentoo is not,
# and causes collisions between the SLOTs, so remove it.
rm -f "${D}usr/$(get_libdir)/aprutil.exp"
}

@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.3.12.ebuild,v 1.8 2011/10/29 18:43:37 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.3.12.ebuild,v 1.9 2011/11/11 19:19:13 hwoarang Exp $
EAPI=4
EAPI="4"
# Usually apr-util has the same PV as apr, but in case of security fixes, this may change.
# APR_PV="${PV}"
@ -17,7 +17,7 @@ SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
IUSE="berkdb doc freetds gdbm ldap mysql odbc postgres sqlite"
IUSE="berkdb doc freetds gdbm ldap mysql odbc postgres sqlite static-libs"
RESTRICT="test"
RDEPEND="dev-libs/expat
@ -33,7 +33,7 @@ RDEPEND="dev-libs/expat
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
DOCS=( CHANGES NOTICE README )
DOCS=(CHANGES NOTICE README)
src_prepare() {
epatch "${FILESDIR}/${P}-bdb-5.2.patch"
@ -71,23 +71,25 @@ src_configure() {
}
src_compile() {
emake CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed"
emake CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
if use doc; then
emake dox || die "emake dox failed"
emake dox
fi
}
src_install() {
default
# --disable-static does not work
find "${ED}" -name "*.a" -exec rm -f {} +
find "${ED}" -name '*.la' -exec rm -f {} +
find "${ED}" -name "*.la" -exec rm -f {} +
find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -exec rm -f {} +
if use doc; then
dohtml -r docs/dox/html/* || die "dohtml failed"
dohtml -r docs/dox/html/*
fi
if ! use static-libs; then
find "${ED}" -name "*.a" -exec rm -f {} +
fi
# This file is only used on AIX systems, which Gentoo is not,

@ -1,2 +1 @@
DIST apr-1.4.4.tar.bz2 759604 RMD160 3715774150253d024d79fcf3295f39f822229b85 SHA1 d05cd65ec169c06174ca7c8978179289777f8dae SHA256 15372afeb6bba4091c4662600dad8bc51e5e4ff15ce308fac286df8735eb544d
DIST apr-1.4.5.tar.bz2 754763 RMD160 d2a966c1b143416cd3655cf849cb5d3cb1ca2c5f SHA1 517de5e3cc1e3be810d9bc95508ab66bb8ebe7cb SHA256 38c61cacb39be649411cdab212979c71ce29495549c249c2e9a1b0d12480c93e

@ -1,87 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.4.4.ebuild,v 1.6 2011/05/14 19:30:43 armin76 Exp $
EAPI="3"
inherit autotools eutils libtool multilib
DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
IUSE="doc elibc_FreeBSD older-kernels-compatibility +urandom +uuid"
RESTRICT="test"
RDEPEND="uuid? ( !elibc_FreeBSD? ( >=sys-apps/util-linux-2.16 ) )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
src_prepare() {
# Ensure that system libtool is used.
sed -e 's:${installbuilddir}/libtool:/usr/bin/libtool:' -i apr-config.in || die "sed failed"
sed -e 's:@LIBTOOL@:$(SHELL) /usr/bin/libtool:' -i build/apr_rules.mk.in || die "sed failed"
AT_M4DIR="build" eautoreconf
elibtoolize
epatch "${FILESDIR}/config.layout.patch"
}
src_configure() {
local myconf
if use older-kernels-compatibility; then
local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec
export apr_cv_accept4="no"
export apr_cv_dup3="no"
export apr_cv_epoll_create1="no"
export apr_cv_sock_cloexec="no"
fi
if use urandom; then
myconf+=" --with-devrandom=/dev/urandom"
else
myconf+=" --with-devrandom=/dev/random"
fi
if ! use uuid; then
local apr_cv_osuuid
export apr_cv_osuuid="no"
fi
CONFIG_SHELL="/bin/bash" econf \
--enable-layout=gentoo \
--enable-nonportable-atomics \
--enable-threads \
${myconf}
rm -f libtool
}
src_compile() {
emake || die "emake failed"
if use doc; then
emake dox || die "emake dox failed"
fi
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
find "${ED}" -name "*.la" -print0 | xargs -0 rm -f
dodoc CHANGES NOTICE README
if use doc; then
dohtml -r docs/dox/html/* || die "dohtml failed"
fi
# This file is only used on AIX systems, which Gentoo is not,
# and causes collisions between the SLOTs, so remove it.
rm -f "${D}usr/$(get_libdir)/apr.exp"
}

@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.4.5.ebuild,v 1.7 2011/10/29 18:36:35 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.4.5.ebuild,v 1.8 2011/11/11 19:17:50 hwoarang Exp $
EAPI="3"
EAPI="4"
inherit autotools eutils libtool multilib
@ -13,13 +13,15 @@ SRC_URI="mirror://apache/apr/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
IUSE="doc elibc_FreeBSD older-kernels-compatibility +urandom +uuid"
IUSE="doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom +uuid"
RESTRICT="test"
RDEPEND="uuid? ( !elibc_FreeBSD? ( >=sys-apps/util-linux-2.16 ) )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
DOCS=(CHANGES NOTICE README)
src_prepare() {
# Ensure that system libtool is used.
sed -e 's:${installbuilddir}/libtool:/usr/bin/libtool:' -i apr-config.in || die "sed failed"
@ -63,25 +65,27 @@ src_configure() {
}
src_compile() {
emake || die "emake failed"
emake
if use doc; then
emake dox || die "emake dox failed"
emake dox
fi
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
find "${ED}" -name "*.la" -print0 | xargs -0 rm -f
default
dodoc CHANGES NOTICE README
find "${ED}" -name "*.la" -exec rm -f {} +
if use doc; then
dohtml -r docs/dox/html/* || die "dohtml failed"
dohtml -r docs/dox/html/*
fi
if ! use static-libs; then
find "${ED}" -name "*.a" -exec rm -f {} +
fi
# This file is only used on AIX systems, which Gentoo is not,
# and causes collisions between the SLOTs, so remove it.
rm -f "${D}usr/$(get_libdir)/apr.exp"
rm -f "${ED}usr/$(get_libdir)/apr.exp"
}

@ -1,7 +1,5 @@
DIST glib-1.2.10-r1-as-needed.patch.bz2 9099 RMD160 5b7a21da6dc10112409bd885501a6976a2eb894d SHA1 468a7947b7d1688c2e7d61da80d40ca59422fbec SHA256 3bb8c45706f97b526da851061c89618bc258fa61f9100802c1340548e4bb2731
DIST glib-1.2.10.tar.gz 421480 RMD160 f19efe8c87ebeea979a4d36902d8a8209640cd95 SHA1 e5a9361c594608d152d5d9650154c2e3260b87fa SHA256 6e1ce7eedae713b11db82f11434d455d8a1379f783a79812cd2e05fc024a8d9f
DIST glib-2.28.6.tar.bz2 6955725 RMD160 5858c29829352c0c59fe12dbd6dceba81aabe5f6 SHA1 51996339c823cf36ba28c774c4afad933d5f5744 SHA256 557fb7c39d21b9359fbac51fd6b0b883bc97a2561c0166eef993a4078312f578
DIST glib-2.28.8.tar.xz 5223564 RMD160 9f665eee95990ace173676a4ad7aeeb0cc17fef9 SHA1 9b11968fedf4da45bcd10c4a8c50012d41b3af50 SHA256 4d7ca95dbde8e8f60ab428c765b0dbb8a44be9eb9316491803ce5ee7b4748353
DIST glib-2.30.0.tar.xz 5744640 RMD160 7e300ff549e3a4a156c037505e0ea49250fe511c SHA1 7f7033081cbaebccbf15a2b0fc1ea203d940b109 SHA256 d64c00b43409eabb89aad78501fcb1a992b002b314a4414a9bd069585cb7cdc1
DIST glib-2.30.1.tar.xz 5809220 RMD160 2bfd106eb56d1ad4af4be556f2398991e53e1825 SHA1 15d497106ccc389a26297725f8dc6de37f2c0371 SHA256 82fde222ea33a0faac88e9b50f5b1f7fcfc235c861a9371e8fe47ec12c1e27f9
DIST pkg-config-0.26.tar.gz 396399 RMD160 face3d16ec338b9b1ab41d56d6e4d1a5624b52d0 SHA1 fd71a70b023b9087c8a7bb76a0dc135a61059652 SHA256 94c1936a797c930fb3e4e5a154165b6268caba22b32d24083dd4c492a533c8af

@ -1,178 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.28.6.ebuild,v 1.10 2011/05/28 17:25:47 armin76 Exp $
EAPI="3"
PYTHON_DEPEND="2"
inherit autotools gnome.org libtool eutils flag-o-matic pax-utils python virtualx
DESCRIPTION="The GLib library of C routines"
HOMEPAGE="http://www.gtk.org/"
SRC_URI="${SRC_URI}
http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz" # pkg.m4 for eautoreconf
LICENSE="LGPL-2"
SLOT="2"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
IUSE="debug doc fam +introspection selinux +static-libs test xattr"
RDEPEND="virtual/libiconv
sys-libs/zlib
xattr? ( sys-apps/attr )
fam? ( virtual/fam )"
DEPEND="${RDEPEND}
>=sys-devel/gettext-0.11
>=dev-util/gtk-doc-am-1.13
doc? (
>=dev-libs/libxslt-1.0
>=dev-util/gtk-doc-1.13
~app-text/docbook-xml-dtd-4.1.2 )
test? ( dev-util/pkgconfig
>=sys-apps/dbus-1.2.14 )"
PDEPEND="introspection? ( dev-libs/gobject-introspection )
!<gnome-base/gvfs-1.6.4-r990" # Earlier versions do not work with glib
# XXX: Consider adding test? ( sys-devel/gdb ); assert-msg-test tries to use it
pkg_setup() {
python_set_active_version 2
}
src_prepare() {
mv -vf "${WORKDIR}"/pkg-config-*/pkg.m4 "${WORKDIR}"/ || die
if use ia64 ; then
# Only apply for < 4.1
local major=$(gcc-major-version)
local minor=$(gcc-minor-version)
if (( major < 4 || ( major == 4 && minor == 0 ) )); then
epatch "${FILESDIR}/glib-2.10.3-ia64-atomic-ops.patch"
fi
fi
# Fix compilation on several arches, bug #351387
epatch "${FILESDIR}/${PN}-2.26.1-gatomic-header.patch"
# Don't fail gio tests when ran without userpriv, upstream bug 552912
# This is only a temporary workaround, remove as soon as possible
epatch "${FILESDIR}/${PN}-2.18.1-workaround-gio-test-failure-without-userpriv.patch"
# Fix gmodule issues on fbsd; bug #184301
epatch "${FILESDIR}"/${PN}-2.12.12-fbsd.patch
# Don't check for python, hence removing the build-time python dep.
# We remove the gdb python scripts in src_install due to bug 291328
epatch "${FILESDIR}/${PN}-2.25-punt-python-check.patch"
# Fix test failure when upgrading from 2.22 to 2.24, upstream bug 621368
epatch "${FILESDIR}/${PN}-2.24-assert-test-failure.patch"
# Do not try to remove files on live filesystem, upstream bug #619274
sed 's:^\(.*"/desktop-app-info/delete".*\):/*\1*/:' \
-i "${S}"/gio/tests/desktop-app-info.c || die "sed failed"
# Disable failing tests, upstream bug #???
epatch "${FILESDIR}/${PN}-2.26.0-disable-locale-sensitive-test.patch"
epatch "${FILESDIR}/${PN}-2.26.0-disable-volumemonitor-broken-test.patch"
if ! use test; then
# don't waste time building tests
sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
|| die "sed failed"
fi
# Needed for the punt-python-check patch, disabling timeout test
# Also needed to prevent croscompile failures, see bug #267603
AT_M4DIR="${WORKDIR}" eautoreconf
[[ ${CHOST} == *-freebsd* ]] && elibtoolize
epunt_cxx
}
src_configure() {
local myconf
# Building with --disable-debug highly unrecommended. It will build glib in
# an unusable form as it disables some commonly used API. Please do not
# convert this to the use_enable form, as it results in a broken build.
# -- compnerd (3/27/06)
use debug && myconf="--enable-debug"
# Always use internal libpcre, bug #254659
econf ${myconf} \
$(use_enable xattr) \
$(use_enable doc man) \
$(use_enable doc gtk-doc) \
$(use_enable fam) \
$(use_enable selinux) \
$(use_enable static-libs static) \
--enable-regex \
--with-pcre=internal \
--with-threads=posix \
--disable-dtrace \
--disable-systemtap
}
src_install() {
local f
emake DESTDIR="${D}" install || die "Installation failed"
# Do not install charset.alias even if generated, leave it to libiconv
rm -f "${ED}/usr/lib/charset.alias"
# Don't install gdb python macros, bug 291328
rm -rf "${ED}/usr/share/gdb/" "${ED}/usr/share/glib-2.0/gdb/"
dodoc AUTHORS ChangeLog* NEWS* README || die "dodoc failed"
insinto /usr/share/bash-completion
for f in gdbus gsettings; do
newins "${ED}/etc/bash_completion.d/${f}-bash-completion.sh" ${f} || die
done
rm -rf "${ED}/etc"
}
src_test() {
unset DBUS_SESSION_BUS_ADDRESS
export XDG_CONFIG_DIRS=/etc/xdg
export XDG_DATA_DIRS=/usr/local/share:/usr/share
export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp"
export XDG_DATA_HOME="${T}"
unset GSETTINGS_BACKEND # bug 352451
# Related test is a bit nitpicking
mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
# Hardened: gdb needs this, bug #338891
if host-is-pax ; then
pax-mark -mr "${S}"/tests/.libs/assert-msg-test \
|| die "Hardened adjustment failed"
fi
# Need X for dbus-launch session X11 initialization
Xemake check || die "tests failed"
}
pkg_preinst() {
# Only give the introspection message if:
# * The user has it enabled
# * Has glib already installed
# * Previous version was different from new version
if use introspection && has_version "${CATEGORY}/${PN}"; then
if ! has_version "=${CATEGORY}/${PF}"; then
ewarn "You must rebuild gobject-introspection so that the installed"
ewarn "typelibs and girs are regenerated for the new APIs in glib"
fi
fi
}
pkg_postinst() {
# Inform users about possible breakage when updating glib and not dbus-glib, bug #297483
if has_version dev-libs/dbus-glib; then
ewarn "If you experience a breakage after updating dev-libs/glib try"
ewarn "rebuilding dev-libs/dbus-glib"
fi
}

@ -1,200 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.30.0.ebuild,v 1.3 2011/10/06 08:52:18 ssuominen Exp $
EAPI="4"
inherit autotools gnome.org libtool eutils flag-o-matic multilib pax-utils virtualx
DESCRIPTION="The GLib library of C routines"
HOMEPAGE="http://www.gtk.org/"
SRC_URI="${SRC_URI}
http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz" # pkg.m4 for eautoreconf
LICENSE="LGPL-2"
SLOT="2"
IUSE="debug doc fam selinux +static-libs systemtap test xattr"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh
~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
RDEPEND="virtual/libiconv
virtual/libffi
sys-libs/zlib
xattr? ( sys-apps/attr )
fam? ( virtual/fam )"
DEPEND="${RDEPEND}
>=sys-devel/gettext-0.11
>=dev-util/gtk-doc-am-1.15
doc? (
>=dev-libs/libxslt-1.0
>=dev-util/gtk-doc-1.15
~app-text/docbook-xml-dtd-4.1.2 )
systemtap? ( >=dev-util/systemtap-1.3 )
test? (
>=dev-util/gdbus-codegen-2.30.0
>=sys-apps/dbus-1.2.14 )
!<dev-util/gtk-doc-1.15-r2"
PDEPEND="!<gnome-base/gvfs-1.6.4-r990" # Earlier versions do not work with glib
# XXX: Consider adding test? ( sys-devel/gdb ); assert-msg-test tries to use it
src_prepare() {
mv -vf "${WORKDIR}"/pkg-config-*/pkg.m4 "${WORKDIR}"/ || die
if use ia64 ; then
# Only apply for < 4.1
local major=$(gcc-major-version)
local minor=$(gcc-minor-version)
if (( major < 4 || ( major == 4 && minor == 0 ) )); then
epatch "${FILESDIR}/glib-2.10.3-ia64-atomic-ops.patch"
fi
fi
# Don't fail gio tests when ran without userpriv, upstream bug 552912
# This is only a temporary workaround, remove as soon as possible
epatch "${FILESDIR}/${PN}-2.18.1-workaround-gio-test-failure-without-userpriv.patch"
# Fix gmodule issues on fbsd; bug #184301
epatch "${FILESDIR}"/${PN}-2.12.12-fbsd.patch
# Fix test failure when upgrading from 2.22 to 2.24, upstream bug 621368
epatch "${FILESDIR}/${PN}-2.24-assert-test-failure.patch"
# Do not try to remove files on live filesystem, upstream bug #619274
sed 's:^\(.*"/desktop-app-info/delete".*\):/*\1*/:' \
-i "${S}"/gio/tests/desktop-app-info.c || die "sed failed"
if ! use test; then
# don't waste time building tests
sed 's/^\(.*\SUBDIRS .*\=.*\)tests\(.*\)$/\1\2/' -i $(find . -name Makefile.am -o -name Makefile.in) || die
else
# Disable tests requiring dev-util/desktop-file-utils when not installed, bug #286629
if ! has_version dev-util/desktop-file-utils ; then
ewarn "Some tests will be skipped due dev-util/desktop-file-utils not being present on your system,"
ewarn "think on installing it to get these tests run."
sed -i -e "/appinfo\/associations/d" gio/tests/appinfo.c || die
sed -i -e "/desktop-app-info\/default/d" gio/tests/desktop-app-info.c || die
sed -i -e "/desktop-app-info\/fallback/d" gio/tests/desktop-app-info.c || die
sed -i -e "/desktop-app-info\/lastused/d" gio/tests/desktop-app-info.c || die
fi
fi
# gdbus-codegen is a separate package
epatch "${FILESDIR}/${PN}-2.29.18-external-gdbus-codegen.patch"
# disable pyc compiling
ln -sfn $(type -P true) py-compile
# Needed for the punt-python-check patch, disabling timeout test
# Also needed to prevent croscompile failures, see bug #267603
# Also needed for the no-gdbus-codegen patch
AT_M4DIR="${WORKDIR}" eautoreconf
[[ ${CHOST} == *-freebsd* ]] && elibtoolize
epunt_cxx
}
src_configure() {
# Avoid circular depend with dev-util/pkgconfig
if ! has_version dev-util/pkgconfig; then
export DBUS1_CFLAGS="-I/usr/include/dbus-1.0 -I/usr/$(get_libdir)/dbus-1.0/include"
export DBUS1_LIBS="-ldbus-1"
export LIBFFI_CFLAGS="-I$(echo /usr/$(get_libdir)/libffi-*/include)"
export LIBFFI_LIBS="-lffi"
fi
local myconf
# Building with --disable-debug highly unrecommended. It will build glib in
# an unusable form as it disables some commonly used API. Please do not
# convert this to the use_enable form, as it results in a broken build.
# -- compnerd (3/27/06)
use debug && myconf="--enable-debug"
# Always use internal libpcre, bug #254659
econf ${myconf} \
$(use_enable xattr) \
$(use_enable doc man) \
$(use_enable doc gtk-doc) \
$(use_enable fam) \
$(use_enable selinux) \
$(use_enable static-libs static) \
$(use_enable systemtap dtrace) \
$(use_enable systemtap systemtap) \
--enable-regex \
--with-pcre=internal \
--with-threads=posix
}
src_install() {
local f
emake DESTDIR="${D}" install || die "Installation failed"
# Do not install charset.alias even if generated, leave it to libiconv
rm -f "${ED}/usr/lib/charset.alias"
# Don't install gdb python macros, bug 291328
rm -rf "${ED}/usr/share/gdb/" "${ED}/usr/share/glib-2.0/gdb/"
dodoc AUTHORS ChangeLog* NEWS* README || die "dodoc failed"
insinto /usr/share/bash-completion
for f in gdbus gsettings; do
newins "${ED}/etc/bash_completion.d/${f}-bash-completion.sh" ${f} || die
done
rm -rf "${ED}/etc"
# Completely useless with or without USE static-libs, people need to use
# pkg-config
find "${ED}" -name '*.la' -exec rm -f {} +
}
src_test() {
unset DBUS_SESSION_BUS_ADDRESS
export XDG_CONFIG_DIRS=/etc/xdg
export XDG_DATA_DIRS=/usr/local/share:/usr/share
export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp"
export XDG_DATA_HOME="${T}"
unset GSETTINGS_BACKEND # bug 352451
# Related test is a bit nitpicking
mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
# Hardened: gdb needs this, bug #338891
if host-is-pax ; then
pax-mark -mr "${S}"/tests/.libs/assert-msg-test \
|| die "Hardened adjustment failed"
fi
# Need X for dbus-launch session X11 initialization
Xemake check || die "tests failed"
}
pkg_preinst() {
# Only give the introspection message if:
# * The user has gobject-introspection
# * Has glib already installed
# * Previous version was different from new version
if has_version "dev-libs/gobject-introspection" && ! has_version "=${CATEGORY}/${PF}"; then
ewarn "You must rebuild gobject-introspection so that the installed"
ewarn "typelibs and girs are regenerated for the new APIs in glib"
fi
}
pkg_postinst() {
# Inform users about possible breakage when updating glib and not dbus-glib, bug #297483
if has_version dev-libs/dbus-glib; then
ewarn "If you experience a breakage after updating dev-libs/glib try"
ewarn "rebuilding dev-libs/dbus-glib"
fi
if has_version '<x11-libs/gtk+-3.0.12:3'; then
# To have a clear upgrade path for gtk+-3.0.x users, have to resort to
# a warning instead of a blocker
ewarn
ewarn "Using <gtk+-3.0.12:3 with ${P} results in frequent crashes."
ewarn "You should upgrade to a newer version of gtk+:3 immediately."
fi
}

@ -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/dev-libs/glib/glib-2.30.1-r1.ebuild,v 1.1 2011/10/16 21:37:16 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.30.1-r2.ebuild,v 1.1 2011/11/11 17:35:20 ssuominen Exp $
EAPI="4"
PYTHON_DEPEND="utils? 2"
@ -16,8 +16,7 @@ SRC_URI="${SRC_URI}
LICENSE="LGPL-2"
SLOT="2"
IUSE="debug doc fam selinux +static-libs systemtap test utils xattr"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh
~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
RDEPEND="virtual/libiconv
virtual/libffi
@ -37,8 +36,9 @@ DEPEND="${RDEPEND}
sys-devel/gdb
=dev-lang/python-2*
>=dev-util/gdbus-codegen-${PV}
>=sys-apps/dbus-1.2.14 )
!<dev-util/gtk-doc-1.15-r2"
>=sys-apps/dbus-1.4.16-r2 )
!<dev-util/gtk-doc-1.15-r2
!<sys-apps/dbus-1.4.16-r2"
PDEPEND="!<gnome-base/gvfs-1.6.4-r990" # Earlier versions do not work with glib
pkg_setup() {
@ -111,6 +111,9 @@ src_prepare() {
# Handle the G_HOME environment variable to override the passwd entry, upstream bug #142568
epatch "${FILESDIR}/${PN}-2.30.1-homedir-env.patch"
# Fix hardcoded path to machine-id wrt #390143
sed -i -e '/g_file_get_contents/s:/var/lib/dbus/machine-id:/etc/machine-id:' gio/gdbusprivate.c || die
# disable pyc compiling
ln -sfn $(type -P true) py-compile

@ -1,202 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.30.1.ebuild,v 1.1 2011/10/16 16:31:15 ssuominen Exp $
EAPI="4"
inherit autotools gnome.org libtool eutils flag-o-matic multilib pax-utils virtualx
DESCRIPTION="The GLib library of C routines"
HOMEPAGE="http://www.gtk.org/"
SRC_URI="${SRC_URI}
http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz" # pkg.m4 for eautoreconf
LICENSE="LGPL-2"
SLOT="2"
IUSE="debug doc fam selinux +static-libs systemtap test xattr"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh
~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
RDEPEND="virtual/libiconv
virtual/libffi
sys-libs/zlib
xattr? ( sys-apps/attr )
fam? ( virtual/fam )"
DEPEND="${RDEPEND}
>=sys-devel/gettext-0.11
>=dev-util/gtk-doc-am-1.15
doc? (
>=dev-libs/libxslt-1.0
>=dev-util/gtk-doc-1.15
~app-text/docbook-xml-dtd-4.1.2 )
systemtap? ( >=dev-util/systemtap-1.3 )
test? (
>=dev-util/gdbus-codegen-2.30.0
>=sys-apps/dbus-1.2.14 )
!<dev-util/gtk-doc-1.15-r2"
PDEPEND="!<gnome-base/gvfs-1.6.4-r990" # Earlier versions do not work with glib
# XXX: Consider adding test? ( sys-devel/gdb ); assert-msg-test tries to use it
src_prepare() {
mv -vf "${WORKDIR}"/pkg-config-*/pkg.m4 "${WORKDIR}"/ || die
if use ia64 ; then
# Only apply for < 4.1
local major=$(gcc-major-version)
local minor=$(gcc-minor-version)
if (( major < 4 || ( major == 4 && minor == 0 ) )); then
epatch "${FILESDIR}/glib-2.10.3-ia64-atomic-ops.patch"
fi
fi
# Don't fail gio tests when ran without userpriv, upstream bug 552912
# This is only a temporary workaround, remove as soon as possible
epatch "${FILESDIR}/${PN}-2.18.1-workaround-gio-test-failure-without-userpriv.patch"
# Fix gmodule issues on fbsd; bug #184301
epatch "${FILESDIR}"/${PN}-2.12.12-fbsd.patch
# Fix test failure when upgrading from 2.22 to 2.24, upstream bug 621368
epatch "${FILESDIR}"/${PN}-2.24-assert-test-failure.patch
# Do not try to remove files on live filesystem, upstream bug #619274
sed 's:^\(.*"/desktop-app-info/delete".*\):/*\1*/:' \
-i "${S}"/gio/tests/desktop-app-info.c || die "sed failed"
if ! use test; then
# don't waste time building tests
sed 's/^\(.*\SUBDIRS .*\=.*\)tests\(.*\)$/\1\2/' -i $(find . -name Makefile.am -o -name Makefile.in) || die
else
# Disable tests requiring dev-util/desktop-file-utils when not installed, bug #286629
if ! has_version dev-util/desktop-file-utils ; then
ewarn "Some tests will be skipped due dev-util/desktop-file-utils not being present on your system,"
ewarn "think on installing it to get these tests run."
sed -i -e "/appinfo\/associations/d" gio/tests/appinfo.c || die
sed -i -e "/desktop-app-info\/default/d" gio/tests/desktop-app-info.c || die
sed -i -e "/desktop-app-info\/fallback/d" gio/tests/desktop-app-info.c || die
sed -i -e "/desktop-app-info\/lastused/d" gio/tests/desktop-app-info.c || die
fi
fi
# gdbus-codegen is a separate package
epatch "${FILESDIR}/${PN}-2.30.1-external-gdbus-codegen.patch"
# disable pyc compiling
ln -sfn $(type -P true) py-compile
# Needed for the punt-python-check patch, disabling timeout test
# Also needed to prevent croscompile failures, see bug #267603
# Also needed for the no-gdbus-codegen patch
AT_M4DIR="${WORKDIR}" eautoreconf
[[ ${CHOST} == *-freebsd* ]] && elibtoolize
epunt_cxx
}
src_configure() {
# Avoid circular depend with dev-util/pkgconfig
if ! has_version dev-util/pkgconfig; then
if has_version sys-apps/dbus; then
export DBUS1_CFLAGS="-I/usr/include/dbus-1.0 -I/usr/$(get_libdir)/dbus-1.0/include"
export DBUS1_LIBS="-ldbus-1"
fi
export LIBFFI_CFLAGS="-I$(echo /usr/$(get_libdir)/libffi-*/include)"
export LIBFFI_LIBS="-lffi"
fi
local myconf
# Building with --disable-debug highly unrecommended. It will build glib in
# an unusable form as it disables some commonly used API. Please do not
# convert this to the use_enable form, as it results in a broken build.
# -- compnerd (3/27/06)
use debug && myconf="--enable-debug"
# Always use internal libpcre, bug #254659
econf ${myconf} \
$(use_enable xattr) \
$(use_enable doc man) \
$(use_enable doc gtk-doc) \
$(use_enable fam) \
$(use_enable selinux) \
$(use_enable static-libs static) \
$(use_enable systemtap dtrace) \
$(use_enable systemtap systemtap) \
--enable-regex \
--with-pcre=internal \
--with-threads=posix
}
src_install() {
local f
emake DESTDIR="${D}" install || die "Installation failed"
# Do not install charset.alias even if generated, leave it to libiconv
rm -f "${ED}/usr/lib/charset.alias"
# Don't install gdb python macros, bug 291328
rm -rf "${ED}/usr/share/gdb/" "${ED}/usr/share/glib-2.0/gdb/"
dodoc AUTHORS ChangeLog* NEWS* README || die "dodoc failed"
insinto /usr/share/bash-completion
for f in gdbus gsettings; do
newins "${ED}/etc/bash_completion.d/${f}-bash-completion.sh" ${f} || die
done
rm -rf "${ED}/etc"
# Completely useless with or without USE static-libs, people need to use
# pkg-config
find "${ED}" -name '*.la' -exec rm -f {} +
}
src_test() {
unset DBUS_SESSION_BUS_ADDRESS
export XDG_CONFIG_DIRS=/etc/xdg
export XDG_DATA_DIRS=/usr/local/share:/usr/share
export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp"
export XDG_DATA_HOME="${T}"
unset GSETTINGS_BACKEND # bug 352451
# Related test is a bit nitpicking
mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
# Hardened: gdb needs this, bug #338891
if host-is-pax ; then
pax-mark -mr "${S}"/tests/.libs/assert-msg-test \
|| die "Hardened adjustment failed"
fi
# Need X for dbus-launch session X11 initialization
Xemake check || die "tests failed"
}
pkg_preinst() {
# Only give the introspection message if:
# * The user has gobject-introspection
# * Has glib already installed
# * Previous version was different from new version
if has_version "dev-libs/gobject-introspection" && ! has_version "=${CATEGORY}/${PF}"; then
ewarn "You must rebuild gobject-introspection so that the installed"
ewarn "typelibs and girs are regenerated for the new APIs in glib"
fi
}
pkg_postinst() {
# Inform users about possible breakage when updating glib and not dbus-glib, bug #297483
if has_version dev-libs/dbus-glib; then
ewarn "If you experience a breakage after updating dev-libs/glib try"
ewarn "rebuilding dev-libs/dbus-glib"
fi
if has_version '<x11-libs/gtk+-3.0.12:3'; then
# To have a clear upgrade path for gtk+-3.0.x users, have to resort to
# a warning instead of a blocker
ewarn
ewarn "Using <gtk+-3.0.12:3 with ${P} results in frequent crashes."
ewarn "You should upgrade to a newer version of gtk+:3 immediately."
fi
}

@ -0,0 +1,24 @@
--- a/include/pqxx/compiler-internal.hxx
+++ b/include/pqxx/compiler-internal.hxx
@@ -76,7 +76,7 @@
namespace internal
{
/// Wrapper for std::distance; not all platforms have std::distance().
-template<typename T> inline ptrdiff_t distance(T first, T last)
+template<typename T> inline PGSTD::ptrdiff_t distance(T first, T last)
{
#ifdef PQXX_HAVE_DISTANCE
return PGSTD::distance(first, last);
--- a/test/unit/test_escape.cxx
+++ b/test/unit/test_escape.cxx
@@ -54,8 +54,8 @@
PQXX_CHECK_EQUAL(t.quote("x"), "'x'", "Basic quote() fails.");
PQXX_CHECK_EQUAL(t.quote(1), "'1'", "quote() not dealing with int properly.");
PQXX_CHECK_EQUAL(t.quote(0), "'0'", "Quoting zero is a problem.");
- const char *const nullptr = NULL;
- PQXX_CHECK_EQUAL(t.quote(nullptr), "NULL", "Not quoting NULL correctly.");
+ const char *const null_ptr = NULL;
+ PQXX_CHECK_EQUAL(t.quote(null_ptr), "NULL", "Not quoting NULL correctly.");
PQXX_CHECK_EQUAL(t.quote(string("'")), "''''", "Escaping quotes goes wrong.");
PQXX_CHECK_EQUAL(t.quote("x"),

@ -0,0 +1,94 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpqxx/libpqxx-3.1-r3.ebuild,v 1.1 2011/11/12 16:58:37 titanofold Exp $
EAPI="4"
inherit eutils
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
DESCRIPTION="C++ client API for PostgreSQL. The standard front-end for writing C++ programs that use PostgreSQL."
SRC_URI="http://pqxx.org/download/software/${PN}/${P}.tar.gz"
HOMEPAGE="http://pqxx.org/development/libpqxx/"
LICENSE="BSD"
SLOT="0"
IUSE="doc"
DEPEND="dev-db/postgresql-base"
RDEPEND="${DEPEND}"
# src_test is interactive unless PGDATABASE and PGUSER is set either as an
# environment variable or in /etc/libpqxx_test_env
PROPERTIES="interactive"
src_prepare() {
epatch "${FILESDIR}/libpqxx-3.1-gcc46.patch"
}
src_configure() {
econf --enable-shared
}
src_install () {
emake DESTDIR="${D}" install
dodoc AUTHORS ChangeLog NEWS README*
use doc && dohtml -r doc/html/*
}
src_test() {
ewarn "The tests need a running PostgreSQL server version 8.4.x or older"
ewarn "and an existing database."
ewarn "Test requires PGDATABASE and PGUSER to be set at a minimum."
ewarn "Optionally, set PGPORT and PGHOST."
ewarn "Define them at the command line or in:"
ewarn " ${EROOT%/}/etc/libpqxx_test_env"
ewarn "Make sure 'standard_conforming_strings' is set to off in postgresql.conf."
if [[ -z $PGDATABASE || -z $PGUSER ]] ; then
if [[ -f ${EROOT%/}/etc/libpqxx_test_env ]] ; then
source "${EROOT%/}/etc/libpqxx_test_env"
[[ -n $PGDATABASE ]] && export PGDATABASE
[[ -n $PGHOST ]] && export PGHOST
[[ -n $PGPORT ]] && export PGPORT
[[ -n $PGUSER ]] && export PGUSER
fi
# In case the file wasn't written properly or doesn't exist
if [[ -z $PGDATABASE || -z $PGUSER ]] ; then
echo -n "Database (Default: $(whoami)): "
read PGDATABASE
[[ -n $PGDATABASE ]] && export PGDATABASE
echo -n "Host (Default: Unix socket): "
read PGHOST
[[ -n $PGHOST ]] && export PGHOST
echo -n "Port (Default: 5432): "
read PGPORT
[[ -n $PGPORT ]] && export PGPORT
echo -n "User (Default: $(whoami)): "
read PGUSER
[[ -n $PGUSER ]] && export PGUSER
fi
fi
local server_version
server_version=$(psql -Aqwtc 'SELECT version();' 2> /dev/null)
if [[ $? = 0 ]] ; then
server_version=$(echo ${server_version} | cut -d " " -f 2 | cut -d "." -f -2 | tr -d .)
if [[ $server_version < 90 ]] ; then
cd "${S}/test"
emake check
else
eerror "Server version must be 8.4.x or below."
die "Server version isn't 8.4.x or below"
fi
else
eerror "Is the server running?"
eerror "Check that the role and database exist, and authentication method is set to"
eerror "trust for:"
eerror " Role: ${PGUSER}"
eerror " Database: ${PGDATABASE}"
die "Couldn't connect to server."
fi
}

@ -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/dev-libs/msgpack/msgpack-0.4.2.ebuild,v 1.2 2011/05/10 10:55:37 naota Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/msgpack/msgpack-0.4.2.ebuild,v 1.3 2011/11/11 20:12:02 vapier Exp $
EAPI="2"
inherit autotools eutils
@ -14,7 +14,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
IUSE="test"
DEPEND="test? ( dev-util/gtest )"
DEPEND="test? ( dev-cpp/gtest )"
RDEPEND=""
src_prepare() {

@ -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/dev-libs/msgpack/msgpack-0.5.6.ebuild,v 1.1 2011/05/10 14:16:23 matsuu Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/msgpack/msgpack-0.5.6.ebuild,v 1.2 2011/11/11 20:12:02 vapier Exp $
EAPI="3"
@ -13,7 +13,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
IUSE="static-libs test"
DEPEND="test? ( dev-util/gtest )"
DEPEND="test? ( dev-cpp/gtest )"
RDEPEND=""
src_configure() {

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

Loading…
Cancel
Save