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,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,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,5 +1,2 @@
|
||||
|
||||
;;; df-mode site-lisp configuration
|
||||
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'df-mode "df-mode" nil t)
|
||||
|
@ -1,6 +1,3 @@
|
||||
|
||||
;;; mldonkey site-lisp configuration
|
||||
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'mldonkey "mldonkey" "Run the MlDonkey interface." t)
|
||||
|
@ -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 +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}
|
||||
}
|
@ -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
|
||||
}
|
@ -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 @@
|
||||
<?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 +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
|
||||
}
|
@ -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,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,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,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
|
||||
}
|
@ -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,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,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,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
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue