parent
5b6db3961a
commit
1d0839edb5
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/equo/equo-1.0_rc87.ebuild,v 1.1 2012/02/12 07:24:16 lxnay Exp $
|
||||
|
||||
EAPI=3
|
||||
PYTHON_DEPEND="2"
|
||||
inherit eutils python bash-completion-r1
|
||||
|
||||
DESCRIPTION="Entropy Package Manager text-based client"
|
||||
HOMEPAGE="http://www.sabayon.org"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
||||
|
||||
S="${WORKDIR}/entropy-${PV}"
|
||||
|
||||
DEPEND="~sys-apps/entropy-${PV}"
|
||||
RDEPEND="${DEPEND} sys-apps/file[python]"
|
||||
|
||||
src_compile() {
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="usr/lib" equo-install || die "make install failed"
|
||||
newbashcomp "${S}/misc/equo-completion.bash" equo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize "/usr/lib/entropy/client"
|
||||
echo
|
||||
elog "If you would like to allow users in the 'entropy' group"
|
||||
elog "to update available package repositories, please consider"
|
||||
elog "to install sys-apps/entropy-client-services"
|
||||
echo
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup "/usr/lib/entropy/client"
|
||||
}
|
@ -1,6 +1,5 @@
|
||||
DIST haskell-updater-0.9.1.0.tar.gz 20643 RMD160 03b0c14394828a101fb4114f5e1bf8669ef74ee7 SHA1 cefa26f0ecba6e6cbed22752eb33e13b81165570 SHA256 6c545ebf2a8cefbc93a6cafa65e139b3d73aa6561f40905364daccc43c559461
|
||||
DIST haskell-updater-1.1.0.0.tar.gz 22691 RMD160 8db8459cdb5fbbc87920b42900c6b078897be883 SHA1 c1cbad81d25cc76ee8acac257ecf50f6b6cd542f SHA256 c22e8adca980f9f91a2b28771e830165ceef2f43cc9036c8ffe9f5c3f505f3fc
|
||||
DIST haskell-updater-1.1.3.0.tar.gz 22981 RMD160 07f18a193ae11c069f11d10408fd4cb81af6a5a6 SHA1 4ef474a9460917348bb2fff02b52540f50206ee6 SHA256 5bd2f931c490c114f655204d671feb677a9abdc472bbfe554cbf448cc216fd3a
|
||||
DIST haskell-updater-1.2.0.0.tar.gz 22813 RMD160 2967cf410a37124501f26ea9efdd580678dfb9fd SHA1 d9ff5a8ee38004d84ec76e40ac69fa0a1b79741d SHA256 18da33a9de5f424a557d513dd2888773a55cdea578526428906897a96bb77a08
|
||||
DIST haskell-updater-1.2.0.1.tar.gz 22974 RMD160 2a416e517e917cc23b3e52a2f4d83a6e419e7308 SHA1 511fa8f9fe94599eb05703e1313efd42ea670f78 SHA256 aa7f5e2965db2f6f2464650289bcd9bd0f72e1762bcc6e2e90d53fe517dfd0e5
|
||||
DIST haskell-updater-1.2.0.3.tar.gz 23338 RMD160 455630ce4068e9a95b89fa099038440c0e559d2a SHA1 b58ed0d4f2a9ce72a37cb339924b3ca3454a7fc2 SHA256 9142daaf1e8dff5ff060f95abe0f82189e04c8ee94753afb9fa00102391dc244
|
||||
DIST haskell-updater-1.2.0.5.tar.gz 23026 RMD160 8c53cd820b47388fa18a7f2b453c5611e6c93024 SHA1 4065743cbe4a4d76a4d0dc5034a618a9220407ba SHA256 360ce9e37286e090d635d0ccae7b25238be24c61e5eec3787988b1fc9762e024
|
||||
|
@ -1,44 +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/haskell-updater/haskell-updater-1.2.0.0.ebuild,v 1.2 2011/04/15 08:24:01 grobian Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
CABAL_FEATURES="bin nocabaldep"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Rebuild Haskell dependencies in Gentoo"
|
||||
HOMEPAGE="http://haskell.org/haskellwiki/Gentoo#haskell-updater"
|
||||
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" # Add keywords as those archs have a binpkg
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.12.1"
|
||||
|
||||
# Need a lower version for portage to get --keep-going
|
||||
RDEPEND="|| ( >=sys-apps/portage-2.1.6
|
||||
sys-apps/pkgcore
|
||||
sys-apps/paludis )"
|
||||
|
||||
src_prepare() {
|
||||
if use prefix; then
|
||||
sed -i -e "s,/var/db/pkg,${EPREFIX}&,g" \
|
||||
"${S}/Distribution/Gentoo/Packages.hs" || die
|
||||
|
||||
sed -i -e 's,"/","'"${EPREFIX}"'/",g' \
|
||||
"${S}/Distribution/Gentoo/GHC.hs" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cabal_src_configure --bindir="${EPREFIX}/usr/sbin"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cabal_src_install
|
||||
|
||||
dodoc TODO
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/haskell-updater/haskell-updater-1.2.0.1.ebuild,v 1.1 2011/07/30 17:42:43 slyfox Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/haskell-updater/haskell-updater-1.2.0.5.ebuild,v 1.1 2012/02/11 20:17:36 slyfox Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sulfur/sulfur-1.0_rc87.ebuild,v 1.1 2012/02/12 07:25:11 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
inherit eutils gnome2-utils fdo-mime python
|
||||
|
||||
DESCRIPTION="Sulfur, the Entropy Package Manager Store"
|
||||
HOMEPAGE="http://www.sabayon.org"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
||||
S="${WORKDIR}/entropy-${PV}/sulfur"
|
||||
|
||||
RDEPEND="dev-python/pygtk:2
|
||||
~sys-apps/entropy-${PV}
|
||||
sys-apps/file[python]
|
||||
sys-devel/gettext
|
||||
x11-libs/vte:0[python]
|
||||
x11-misc/xdg-utils"
|
||||
DEPEND="sys-devel/gettext"
|
||||
|
||||
src_compile() {
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="usr/lib" install || die "make install failed"
|
||||
dodir /etc/gconf/schemas
|
||||
insinto /etc/gconf/schemas
|
||||
doins "${S}/misc/entropy-handler.schemas"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_mime_database_update
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_gconf_savelist
|
||||
gnome2_gconf_install
|
||||
python_mod_optimize "/usr/lib/entropy/${PN}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup "/usr/lib/entropy/${PN}"
|
||||
gnome2_gconf_savelist
|
||||
gnome2_gconf_uninstall
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-4.2.9917_beta.ebuild,v 1.1 2012/02/09 19:35:25 blueness Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-4.3.9917.ebuild,v 1.1 2012/02/11 20:32:07 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST tarsnap-autoconf-1.0.28.tgz 583652 RMD160 daf56345961be6abb743688f741b05e587bccc83 SHA1 b5950e9a5d8767fe6e3aacb796d33bb87395754a SHA256 4e36b57496a0682ec896aac753e028d9d6a34efbb23fbe2032c0e04d1be51675
|
||||
DIST tarsnap-autoconf-1.0.29.tgz 595483 RMD160 7170d00a07e36213def3fcd87cb6b0a262506ff0 SHA1 c93cf8302461793345cb0baeda6d325a8469ffb6 SHA256 747510459e4af0ebbb6e267c159aa019f9337d1e07bd9a94f1aa1498081b7598
|
||||
DIST tarsnap-autoconf-1.0.30.tgz 567693 RMD160 25e9a2d3f04f3796d0f0b00ad89e73f033d564ce SHA1 6e10f3f076457c28f17e5dddabe80b9964b6b2c6 SHA256 ad663922064a98bce9c085a53ecd83eb839457b49d7cd22cff7c069e9b7e522e
|
||||
DIST tarsnap-autoconf-1.0.31.tgz 563896 RMD160 fd25889c9487b5d447343ebc7b6c63d814b7e2a5 SHA1 41b8340f9ca279bf71f09d302f8f936fa3050082 SHA256 3b461e1e76b92c1538a6322d8dbaa8e5285dae2029b4470357cb57e321625d95
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/tarsnap/tarsnap-1.0.31.ebuild,v 1.1 2012/02/11 19:31:11 rafaelmartins Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="Online backups for the truly paranoid"
|
||||
HOMEPAGE="http://www.tarsnap.com/"
|
||||
SRC_URI="https://www.tarsnap.com/download/tarsnap-autoconf-${PV}.tgz"
|
||||
|
||||
LICENSE="tarsnap"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="sys-libs/zlib dev-libs/openssl sys-libs/e2fsprogs-libs"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/tarsnap-autoconf-${PV}"
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/spice-0.8.2.ebuild,v 1.2 2011/07/26 13:09:16 dev-zero Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="SPICE server and client."
|
||||
HOMEPAGE="http://spice-space.org/"
|
||||
SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+gui sasl static-libs"
|
||||
|
||||
RDEPEND=">=app-emulation/spice-protocol-0.8.1
|
||||
>=x11-libs/pixman-0.17.7
|
||||
media-libs/alsa-lib
|
||||
media-libs/celt:0.5.1
|
||||
dev-libs/openssl
|
||||
>=x11-libs/libXrandr-1.2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXfixes
|
||||
virtual/jpeg
|
||||
sys-libs/zlib
|
||||
gui? ( =dev-games/cegui-0.6* )
|
||||
sasl? ( dev-libs/cyrus-sasl )"
|
||||
DEPEND="dev-util/pkgconfig
|
||||
${RDEPEND}"
|
||||
|
||||
# maintainer notes:
|
||||
# * opengl support is currently broken
|
||||
# * add slirp for tunnel-support
|
||||
# * add libcacard for smartcard support
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
use gui && myconf+="--enable-gui "
|
||||
econf ${myconf} \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with sasl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || rm "${D}"/usr/lib*/*.la
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST virtinst-0.500.6.tar.gz 549365 RMD160 3f2d5865216208326c9ad8b5f6777a6317d189ee SHA1 50a55d34e5f46777e7446254262b30904eb0adc3 SHA256 ed824870f7ec8be1c499065a04c9de04977ef62a2e527db0151fc7a13bf1ce7b
|
||||
DIST virtinst-0.600.0-bp-2.tar.bz2 12398 RMD160 38bcfc6574b28c43a3c0ecf328728cd82330db4f SHA1 f06d789b71d2682dbd648bb258a54c5cdad89a4e SHA256 ff682503c2258de9c2e5b285bca6e2cb42acded7fa2bc7da76a12793fcbf89af
|
||||
DIST virtinst-0.600.0.tar.gz 576764 RMD160 6efb6ce5ad6d6c4d5ffbc95e1695ac125d1ee249 SHA1 c7b14287927969e20ce60e3726bfe7e3dc57a4fe SHA256 92dc8f14d31ffb0e79479fab982203027c45c83d25e73af7627f589f92ca797a
|
||||
DIST virtinst-0.600.1.tar.gz 8122159 RMD160 002b1fd005fba8f4fa822866d51a97fd3789d229 SHA1 2c9a998ac62ebe8c60fac59757106b7f6cda90de SHA256 db342cf93aae1f23df02001bdb0b0cc2c5bf675dca37b4417f5a79bf5a374716
|
||||
|
@ -1,20 +1,31 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtinst/virtinst-0.500.6.ebuild,v 1.3 2011/06/29 19:19:30 maekke Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtinst/virtinst-0.600.1.ebuild,v 1.1 2012/02/12 03:02:53 cardoe Exp $
|
||||
|
||||
#BACKPORTS=1
|
||||
#BACKPORTS=2
|
||||
|
||||
EAPI=3
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="http://git.fedorahosted.org/git/python-virtinst.git"
|
||||
GIT_ECLASS="git-2"
|
||||
fi
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils eutils ${HG_ECLASS}
|
||||
|
||||
SRC_URI="http://virt-manager.et.redhat.com/download/sources/${PN}/${P}.tar.gz
|
||||
${BACKPORTS:+mirror://gentoo/${P}-backports-${BACKPORTS}.tar.bz2}"
|
||||
KEYWORDS="amd64 x86"
|
||||
inherit distutils eutils ${GIT_ECLASS}
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://virt-manager.et.redhat.com/download/sources/${PN}/${P}.tar.gz
|
||||
${BACKPORTS:+mirror://gentoo/${P}-bp-${BACKPORTS}.tar.bz2
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.bz2}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Python modules for starting virtualized guest installations"
|
||||
HOMEPAGE="http://virt-manager.et.redhat.com/"
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/magneto-loader/magneto-loader-1.0_rc87.ebuild,v 1.1 2012/02/12 07:28:54 lxnay Exp $
|
||||
|
||||
EAPI="2"
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Official Sabayon Linux Entropy Notification Applet Loader"
|
||||
HOMEPAGE="http://www.sabayon.org"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
||||
S="${WORKDIR}/entropy-${PV}/magneto"
|
||||
|
||||
DEPEND="~sys-apps/magneto-core-${PV}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
einfo "nothing to compile"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="usr/lib" magneto-loader-install || die "make install failed"
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST calibre-0.8.37.tar.xz 23614740 RMD160 c0434de7f0d3bf8cb092993bc17fcc9f21fb238c SHA1 c0f0885ec10a99e680d8f7b44cd7133352bcd435 SHA256 eedde8124f0e688d826de0013dabf2f16ff5fa0621df89f0897fd3848bc8d59d
|
||||
DIST calibre-0.8.38.tar.xz 23680916 RMD160 bec45e16d92d26e98dd736ac0a1544d8cb29f10d SHA1 2bdc8327b257535317049d24344af19bd2032a8c SHA256 63176dc5cb14fb2f5a2c45196904b9788106d6b0c6d9976d45b4a7fec10e3b99
|
||||
DIST calibre-0.8.39.tar.xz 23788948 RMD160 3d8ed5ae5073329dea7952422cf06691f8ce1803 SHA1 842baff5f98c579ee4b7b28e4b8240f15e7de5e7 SHA256 e6d936c4c1d57b6a702c24a14e57e2fa3d1847ce4a0065e31bac58f695a4507c
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.37.ebuild,v 1.1 2012/01/28 04:32:27 zmedico Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.39.ebuild,v 1.1 2012/02/11 22:06:46 zmedico Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND=2:2.7
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/resin-servlet-api/resin-servlet-api-4.0.25.ebuild,v 1.1 2012/02/11 18:45:40 nelchael Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Resin Servlet API 3.0/JSP API 2.1 implementation"
|
||||
HOMEPAGE="http://www.caucho.com/"
|
||||
SRC_URI="http://www.caucho.com/download/resin-${PV}-src.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="3.0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/resin-${PV}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
cd "${S}"
|
||||
rm -f modules/ext/*.jar project-jars/*.jar webapp-jars/*.jar
|
||||
java-ant_bsfix_files build-common.xml || die
|
||||
}
|
||||
|
||||
EANT_BUILD_TARGET="servlet16"
|
||||
EANT_DOC_TARGET=""
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "modules/servlet16/dist/servlet-16.jar"
|
||||
use source && java-pkg_dosrc "${S}"/modules/servlet16/src/*
|
||||
|
||||
dosym "${PN}.jar" "/usr/share/${PN}-${SLOT}/lib/servlet-api.jar"
|
||||
java-pkg_regjar "${D}/usr/share/${PN}-${SLOT}/lib/servlet-api.jar"
|
||||
dosym "${PN}.jar" "/usr/share/${PN}-${SLOT}/lib/jsp-api.jar"
|
||||
java-pkg_regjar "${D}/usr/share/${PN}-${SLOT}/lib/jsp-api.jar"
|
||||
}
|
@ -0,0 +1,129 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.9.4.ebuild,v 1.1 2012/02/11 21:44:50 floppym Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
|
||||
inherit eutils multilib pax-utils python toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="Google's open source JavaScript engine"
|
||||
HOMEPAGE="http://code.google.com/p/v8"
|
||||
SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
pkg_pretend() {
|
||||
local gccver=$(gcc-fullversion)
|
||||
if [[ ${gccver} = 4.5.2 ]]; then
|
||||
eerror "The currently selected version of gcc is known to segfault when building this"
|
||||
eerror "version of V8. Please use at least gcc-4.5.3."
|
||||
die "gcc-${gccver} detected."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CC CXX RANLIB
|
||||
export LINK="${CXX}"
|
||||
|
||||
# Use target arch detection logic from bug #354601.
|
||||
case ${CHOST} in
|
||||
i?86-*) myarch=ia32 ;;
|
||||
x86_64-*)
|
||||
if [[ $ABI = x86 ]] ; then
|
||||
myarch=ia32
|
||||
else
|
||||
myarch=x64
|
||||
fi ;;
|
||||
arm*-*) myarch=arm ;;
|
||||
*) die "Unrecognized CHOST: ${CHOST}"
|
||||
esac
|
||||
mytarget=${myarch}.release
|
||||
|
||||
soname_version="$(get_version_component_range 1-3)"
|
||||
|
||||
local snapshot=on
|
||||
host-is-pax && snapshot=off
|
||||
|
||||
# TODO: Add console=readline option once implemented upstream
|
||||
# http://code.google.com/p/v8/issues/detail?id=1781
|
||||
|
||||
emake V=1 \
|
||||
library=shared \
|
||||
werror=no \
|
||||
soname_version=${soname_version} \
|
||||
snapshot=${snapshot} \
|
||||
${mytarget} || die
|
||||
|
||||
pax-mark m out/${mytarget}/{cctest,d8,shell} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local arg testjobs
|
||||
for arg in ${MAKEOPTS}; do
|
||||
case ${arg} in
|
||||
-j*) testjobs=${arg#-j} ;;
|
||||
--jobs=*) testjobs=${arg#--jobs=} ;;
|
||||
esac
|
||||
done
|
||||
|
||||
tools/test-wrapper-gypbuild.py \
|
||||
-j${testjobs:-1} \
|
||||
--arch-and-mode=${mytarget} \
|
||||
--no-presubmit \
|
||||
--progress=dots || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr
|
||||
doins -r include || die
|
||||
|
||||
dobin out/${mytarget}/d8 || die
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname).${soname_version} \
|
||||
out/${mytarget}/lib.target/libv8$(get_libname).${soname_version} || die
|
||||
fi
|
||||
|
||||
dolib out/${mytarget}/lib.target/libv8$(get_libname).${soname_version} || die
|
||||
dosym libv8$(get_libname).${soname_version} /usr/$(get_libdir)/libv8$(get_libname) || die
|
||||
|
||||
dodoc AUTHORS ChangeLog || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserved_libs=()
|
||||
local baselib candidate
|
||||
|
||||
eshopts_push -s nullglob
|
||||
|
||||
for candidate in "${EROOT}usr/$(get_libdir)"/libv8-*$(get_libname) \
|
||||
"${EROOT}usr/$(get_libdir)"/libv8$(get_libname).*; do
|
||||
baselib=${candidate##*/}
|
||||
if [[ ! -e "${ED}usr/$(get_libdir)/${baselib}" ]]; then
|
||||
preserved_libs+=( "${EPREFIX}/usr/$(get_libdir)/${baselib}" )
|
||||
fi
|
||||
done
|
||||
|
||||
eshopts_pop
|
||||
|
||||
if [[ ${#preserved_libs[@]} -gt 0 ]]; then
|
||||
preserve_old_lib "${preserved_libs[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${#preserved_libs[@]} -gt 0 ]]; then
|
||||
preserve_old_lib_notify "${preserved_libs[@]}"
|
||||
fi
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.0.17.ebuild,v 1.1 2012/02/11 17:24:37 jer Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
MY_P="${P}-stable"
|
||||
|
||||
DESCRIPTION="A library to execute a function when a specific event occurs on a file descriptor"
|
||||
HOMEPAGE="http://monkey.org/~provos/libevent/"
|
||||
SRC_URI="mirror://sourceforge/levent/files/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+ssl static-libs test"
|
||||
|
||||
DEPEND="ssl? ( dev-libs/openssl )"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
!<=dev-libs/9libs-1.0
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
elibtoolize
|
||||
|
||||
# don't waste time building tests/samples
|
||||
sed -i \
|
||||
-e 's|^\(SUBDIRS =.*\)sample test\(.*\)$|\1\2|' \
|
||||
Makefile.in || die "sed Makefile.in failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable ssl openssl)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -C test check | tee "${T}"/tests
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc README ChangeLog
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"/usr/lib*/libevent*.la
|
||||
fi
|
||||
}
|
@ -0,0 +1,182 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.9.1.ebuild,v 1.1 2012/02/12 11:02:13 hwoarang Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="*"
|
||||
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython *-pypy-*"
|
||||
|
||||
inherit python qt4-r2 toolchain-funcs
|
||||
|
||||
MY_P="PyQt-x11-gpl-${PV/_pre/-snapshot-}"
|
||||
|
||||
# Minimal supported version of Qt.
|
||||
QT_VER="4.6.2"
|
||||
|
||||
DESCRIPTION="Python bindings for the Qt toolkit"
|
||||
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/ http://pypi.python.org/pypi/PyQt"
|
||||
SRC_URI="http://www.riverbankcomputing.com/static/Downloads/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="X assistant +dbus debug declarative doc examples kde multimedia opengl phonon sql svg webkit xmlpatterns"
|
||||
|
||||
DEPEND=">=dev-python/sip-4.13.1
|
||||
>=x11-libs/qt-core-${QT_VER}:4
|
||||
>=x11-libs/qt-script-${QT_VER}:4
|
||||
>=x11-libs/qt-test-${QT_VER}:4
|
||||
X? ( >=x11-libs/qt-gui-${QT_VER}:4[dbus?] )
|
||||
assistant? ( >=x11-libs/qt-assistant-${QT_VER}:4 )
|
||||
dbus? (
|
||||
>=dev-python/dbus-python-0.80
|
||||
>=x11-libs/qt-dbus-${QT_VER}:4
|
||||
)
|
||||
declarative? ( >=x11-libs/qt-declarative-${QT_VER}:4 )
|
||||
multimedia? ( >=x11-libs/qt-multimedia-${QT_VER}:4 )
|
||||
opengl? ( >=x11-libs/qt-opengl-${QT_VER}:4 || ( >=x11-libs/qt-opengl-4.8.0:4 >=x11-libs/qt-opengl-4.7.0:4[-egl] <x11-libs/qt-opengl-4.7.0:4 ) )
|
||||
phonon? (
|
||||
!kde? ( || ( >=x11-libs/qt-phonon-${QT_VER}:4 media-libs/phonon ) )
|
||||
kde? ( media-libs/phonon )
|
||||
)
|
||||
sql? ( >=x11-libs/qt-sql-${QT_VER}:4 )
|
||||
svg? ( >=x11-libs/qt-svg-${QT_VER}:4 )
|
||||
webkit? ( >=x11-libs/qt-webkit-${QT_VER}:4 )
|
||||
xmlpatterns? ( >=x11-libs/qt-xmlpatterns-${QT_VER}:4 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.7.2-configure.py.patch"
|
||||
)
|
||||
|
||||
PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/pyuic4")
|
||||
|
||||
src_prepare() {
|
||||
if ! use dbus; then
|
||||
sed -e "s/^\([[:blank:]]\+\)check_dbus()/\1pass/" -i configure.py || die "sed configure.py failed"
|
||||
fi
|
||||
|
||||
# Support qreal for arm architecture (bug #322349).
|
||||
use arm && epatch "${FILESDIR}/${PN}-4.7.3-qreal_float_support.patch"
|
||||
|
||||
qt4-r2_src_prepare
|
||||
|
||||
# Use proper include directory.
|
||||
sed -e "s:/usr/include:${EPREFIX}/usr/include:g" -i configure.py || die "sed configure.py failed"
|
||||
|
||||
python_copy_sources
|
||||
|
||||
preparation() {
|
||||
if [[ "$(python_get_version -l --major)" == "3" ]]; then
|
||||
rm -fr pyuic/uic/port_v2
|
||||
else
|
||||
rm -fr pyuic/uic/port_v3
|
||||
fi
|
||||
}
|
||||
python_execute_function -s preparation
|
||||
}
|
||||
|
||||
pyqt4_use_enable() {
|
||||
use $1 && echo "--enable=${2:-$1}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local myconf=("$(PYTHON)"
|
||||
configure.py
|
||||
--confirm-license
|
||||
--bindir="${EPREFIX}/usr/bin"
|
||||
--destdir="${EPREFIX}$(python_get_sitedir)"
|
||||
--sipdir="${EPREFIX}/usr/share/sip"
|
||||
--qsci-api
|
||||
$(use debug && echo --debug)
|
||||
--enable=QtCore
|
||||
--enable=QtNetwork
|
||||
--enable=QtScript
|
||||
--enable=QtTest
|
||||
--enable=QtXml
|
||||
$(pyqt4_use_enable X QtDesigner)
|
||||
$(pyqt4_use_enable X QtGui)
|
||||
$(pyqt4_use_enable X QtScriptTools)
|
||||
# QtAssistant module is not available with Qt >=4.7.0.
|
||||
$(pyqt4_use_enable assistant QtAssistant)
|
||||
$(pyqt4_use_enable assistant QtHelp)
|
||||
$(pyqt4_use_enable dbus QtDBus)
|
||||
$(pyqt4_use_enable declarative QtDeclarative)
|
||||
$(pyqt4_use_enable multimedia QtMultimedia)
|
||||
$(pyqt4_use_enable opengl QtOpenGL)
|
||||
$(pyqt4_use_enable phonon)
|
||||
$(pyqt4_use_enable sql QtSql)
|
||||
$(pyqt4_use_enable svg QtSvg)
|
||||
$(pyqt4_use_enable webkit QtWebKit)
|
||||
$(pyqt4_use_enable xmlpatterns QtXmlPatterns)
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
LINK="$(tc-getCXX)"
|
||||
LINK_SHLIB="$(tc-getCXX)"
|
||||
CFLAGS="${CFLAGS}"
|
||||
CXXFLAGS="${CXXFLAGS}"
|
||||
LFLAGS="${LDFLAGS}")
|
||||
echo "${myconf[@]}"
|
||||
"${myconf[@]}" || return 1
|
||||
|
||||
local mod
|
||||
for mod in QtCore $(use X && echo QtDesigner QtGui) $(use dbus && echo QtDBus) $(use declarative && echo QtDeclarative) $(use opengl && echo QtOpenGL); do
|
||||
# Run eqmake4 inside the qpy subdirectories to respect CC, CXX, CFLAGS, CXXFLAGS and LDFLAGS and avoid stripping.
|
||||
pushd qpy/${mod} > /dev/null || return 1
|
||||
eqmake4 $(ls w_qpy*.pro)
|
||||
popd > /dev/null || return 1
|
||||
|
||||
# Fix insecure runpaths.
|
||||
sed -e "/^LFLAGS[[:space:]]*=/s:-Wl,-rpath,${BUILDDIR}/qpy/${mod}::" -i ${mod}/Makefile || die "Fixing of runpaths failed"
|
||||
done
|
||||
|
||||
# Avoid stripping of libpythonplugin.so.
|
||||
if use X; then
|
||||
pushd designer > /dev/null || return 1
|
||||
eqmake4 python.pro
|
||||
popd > /dev/null || return 1
|
||||
fi
|
||||
}
|
||||
python_execute_function -s configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
# INSTALL_ROOT is used by designer/Makefile, other Makefiles use DESTDIR.
|
||||
emake DESTDIR="${T}/images/${PYTHON_ABI}" INSTALL_ROOT="${T}/images/${PYTHON_ABI}" install
|
||||
}
|
||||
python_execute_function -s installation
|
||||
python_merge_intermediate_installation_images "${T}/images"
|
||||
|
||||
dodoc NEWS THANKS || die "dodoc failed"
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/html/* || die "dohtml failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples || die "doins failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize PyQt4
|
||||
|
||||
ewarn "When updating dev-python/PyQt4, you usually need to rebuild packages, which depend on"
|
||||
ewarn "dev-python/PyQt4, such as dev-python/qscintilla-python. If you have app-portage/gentoolkit"
|
||||
ewarn "installed, you can find these packages with \`equery d dev-python/PyQt4\`."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup PyQt4
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST apsw-3.7.10-r1.zip 619967 RMD160 d198353402f9ac7757b98308cef49657fadac1f5 SHA1 948f28897e20168a0db159ca2ba4d993df43f831 SHA256 5a2be6baeb3dc58df53169979a5c27cea8a1db24ca9b174f8e18b81a46bd2406
|
||||
DIST apsw-3.7.6.2-r1.zip 597673 RMD160 7a7e50432bd6cf5785e6f98f1edeec20a0c0a0ae SHA1 fa4aec08e59fa5964197f59ba42408d64031675b SHA256 cb121b2bce052609570a2f6def914c0aa526ede07b7096dddb78624d77f013eb
|
||||
DIST apsw-3.7.8-r1.zip 607540 RMD160 c82aa6f2fcec8faa5364321ccb5e51e8a3af204b SHA1 3acea15e77f7b8fda6f7b67e80a6bec541480260 SHA256 818bb96680829c8dedb7db5453596e4f02dd7ad6e5b58e9e3b5f00e5c74a7ea4
|
||||
DIST apsw-3.7.9-r1.zip 607810 RMD160 c41832685581d1737e1ee28bf2bb0aababba28f7 SHA1 09bf186388571bebede533bc648f38920b6981ba SHA256 71fd3d14ef342bc696f0051a15041620ffd95767914519b2096de285150b43a0
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/apsw-3.7.10.1.ebuild,v 1.1 2012/02/11 23:55:13 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython"
|
||||
|
||||
inherit distutils eutils versionator
|
||||
|
||||
MY_PV="$(replace_version_separator 3 -r)"
|
||||
|
||||
DESCRIPTION="APSW - Another Python SQLite Wrapper"
|
||||
HOMEPAGE="http://code.google.com/p/apsw/"
|
||||
SRC_URI="http://apsw.googlecode.com/files/${PN}-${MY_PV}.zip"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-db/sqlite-$(get_version_component_range 1-3)[extensions]"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
epatch "${FILESDIR}/${PN}-3.6.20.1-fix_tests.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile --enable=load_extension
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo "$(PYTHON -f)" setup.py build_test_extension
|
||||
"$(PYTHON -f)" setup.py build_test_extension || die "Building of test loadable extension failed"
|
||||
|
||||
testing() {
|
||||
PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" tests.py -v
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
if use doc ; then
|
||||
dohtml -r doc/*
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST autopep8-0.5.tar.gz 9123 RMD160 d0946f57dabf182d5025c1dc702d95315d003ca4 SHA1 b1544a168d95a5b858c9a431d38b5ab1d06a4065 SHA256 2e724c71b67639695fcc1dc8ef5cb941856a729fcea0b09442be65dbd68af8a6
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/autopep8-0.5.ebuild,v 1.1 2012/02/11 17:34:55 xarthisius Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="*"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide"
|
||||
HOMEPAGE="https://github.com/hhatto/autopep8 http://pypi.python.org/pypi/autopep8"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND=""
|
||||
|
||||
PYTHON_MODNAME="${PN}.py"
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>xarthisius@gentoo.org</email>
|
||||
<name>Kacper Kowalik</name>
|
||||
</maintainer>
|
||||
<longdescription>autopep8 formats Python code based on the output of the pep8 utility</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,155 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/wxpython-2.9.3.1.ebuild,v 1.1 2012/02/12 08:54:07 dirtyepic Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
WX_GTK_VER="2.9"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45] 3.* *-jython"
|
||||
|
||||
inherit alternatives distutils eutils fdo-mime wxwidgets
|
||||
|
||||
MY_P="${P/wxpython-/wxPython-src-}"
|
||||
|
||||
DESCRIPTION="A blending of the wxWindows C++ class library with Python"
|
||||
HOMEPAGE="http://www.wxpython.org/"
|
||||
SRC_URI="mirror://sourceforge/wxpython/${MY_P}.tar.bz2
|
||||
examples? ( mirror://sourceforge/wxpython/wxPython-demo-${PV}.tar.bz2 )"
|
||||
|
||||
LICENSE="wxWinLL-3"
|
||||
SLOT="2.9"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="cairo examples opengl"
|
||||
|
||||
RDEPEND="
|
||||
>=x11-libs/wxGTK-${PV}:${WX_GTK_VER}[opengl?,tiff,X]
|
||||
dev-libs/glib:2
|
||||
dev-python/setuptools
|
||||
media-libs/libpng:0
|
||||
media-libs/tiff:0
|
||||
virtual/jpeg
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/pango[X]
|
||||
cairo? ( >=dev-python/pycairo-1.8.4 )
|
||||
opengl? ( dev-python/pyopengl )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/wxPython"
|
||||
DOC_S="${WORKDIR}/wxPython-${PV}"
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
PYTHON_CXXFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
PYTHON_MODNAME="wx-${PV%.*}-gtk2 wxversion.py"
|
||||
|
||||
src_prepare() {
|
||||
sed -i "s:cflags.append('-O3'):pass:" config.py || die "sed failed"
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-${SLOT}-wxversion-scripts.patch
|
||||
# drop editra - we have it as a separate package now
|
||||
epatch "${FILESDIR}"/${PN}-2.8.11-drop-editra.patch
|
||||
|
||||
if use examples; then
|
||||
cd "${DOC_S}"
|
||||
epatch "${FILESDIR}"/${PN}-${SLOT}-wxversion-demo.patch
|
||||
fi
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
need-wxwidgets unicode
|
||||
|
||||
DISTUTILS_GLOBAL_OPTIONS=(
|
||||
"* WX_CONFIG=${WX_CONFIG}"
|
||||
"* WXPORT=gtk2"
|
||||
"* UNICODE=1"
|
||||
"* BUILD_GLCANVAS=$(use opengl && echo 1 || echo 0)"
|
||||
)
|
||||
}
|
||||
|
||||
distutils_src_install_post_hook() {
|
||||
# Collision protection.
|
||||
local file
|
||||
for file in "$(distutils_get_intermediate_installation_image)${EPREFIX}/usr/bin/"*; do
|
||||
mv "${file}" "${file}-${SLOT}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local file x
|
||||
|
||||
distutils_src_install
|
||||
|
||||
# this should be temporary
|
||||
dobin "${S}"/scripts/pyslices || die
|
||||
dobin "${S}"/scripts/pysliceshell || die
|
||||
|
||||
# Collision protection.
|
||||
rename_files() {
|
||||
for file in "${D}$(python_get_sitedir)/"wx{version.*,.pth}; do
|
||||
mv "${file}" "${file}-${SLOT}" || return 1
|
||||
done
|
||||
}
|
||||
python_execute_function -q rename_files
|
||||
|
||||
dodoc "${S}"/docs/{CHANGES,PyManual,README,wxPackage,wxPythonManual}.txt
|
||||
|
||||
insinto /usr/share/applications
|
||||
for x in {Py{AlaMode,Crust,Shell,Slices{,Shell}},XRCed}; do
|
||||
newins "${S}"/distrib/${x}.desktop ${x}-${SLOT}.desktop
|
||||
done
|
||||
insinto /usr/share/pixmaps
|
||||
newins "${S}"/wx/py/PyCrust_32.png PyCrust-${SLOT}.png
|
||||
newins "${S}"/wx/py/PySlices_32.png PySlices-${SLOT}.png
|
||||
newins "${S}"/wx/tools/XRCed/XRCed_32.png XRCed-${SLOT}.png
|
||||
|
||||
if use examples; then
|
||||
dodir /usr/share/doc/${PF}/demo
|
||||
dodir /usr/share/doc/${PF}/samples
|
||||
cp -R "${DOC_S}"/demo/* "${D}"/usr/share/doc/${PF}/demo/ || die
|
||||
cp -R "${DOC_S}"/samples/* "${D}"/usr/share/doc/${PF}/samples/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
create_symlinks() {
|
||||
alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]"
|
||||
alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]"
|
||||
}
|
||||
python_execute_function -q create_symlinks
|
||||
|
||||
distutils_pkg_postinst
|
||||
|
||||
echo
|
||||
elog "Gentoo uses the Multi-version method for SLOT'ing."
|
||||
elog "Developers, see this site for instructions on using"
|
||||
elog "2.8 or 2.9 with your apps:"
|
||||
elog "http://wiki.wxpython.org/index.cgi/MultiVersionInstalls"
|
||||
elog
|
||||
if use examples; then
|
||||
elog "The demo.py app which contains demo modules with"
|
||||
elog "documentation and source code has been installed at"
|
||||
elog "/usr/share/doc/${PF}/demo/demo.py"
|
||||
elog
|
||||
elog "More example apps and modules can be found in"
|
||||
elog "/usr/share/doc/${PF}/samples/"
|
||||
fi
|
||||
echo
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
distutils_pkg_postrm
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
create_symlinks() {
|
||||
alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]"
|
||||
alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]"
|
||||
}
|
||||
python_execute_function -q create_symlinks
|
||||
}
|
@ -1,483 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.6.17-r6.ebuild,v 1.1 2011/08/31 18:31:04 darkside Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
WANT_AUTOMAKE="none"
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
inherit autotools base bash-completion db-use depend.apache elisp-common flag-o-matic java-pkg-opt-2 libtool multilib perl-module python
|
||||
|
||||
DESCRIPTION="Advanced version control system"
|
||||
HOMEPAGE="http://subversion.apache.org/"
|
||||
SRC_URI="http://subversion.tigris.org/downloads/${MY_P}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="Subversion"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="apache2 berkdb ctypes-python debug doc +dso emacs extras gnome-keyring java kde nls perl python ruby sasl vim-syntax +webdav-neon webdav-serf"
|
||||
|
||||
CDEPEND=">=dev-db/sqlite-3.4
|
||||
>=dev-libs/apr-1.3:1
|
||||
>=dev-libs/apr-util-1.3:1
|
||||
dev-libs/expat
|
||||
sys-libs/zlib
|
||||
berkdb? ( >=sys-libs/db-4.0.14 )
|
||||
ctypes-python? ( =dev-lang/python-2* )
|
||||
emacs? ( virtual/emacs )
|
||||
gnome-keyring? ( dev-libs/glib:2 sys-apps/dbus gnome-base/gnome-keyring )
|
||||
kde? ( sys-apps/dbus x11-libs/qt-core x11-libs/qt-dbus x11-libs/qt-gui >=kde-base/kdelibs-4 )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( =dev-lang/python-2* )
|
||||
ruby? ( >=dev-lang/ruby-1.8.2 )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
webdav-neon? ( >=net-libs/neon-0.28 )
|
||||
webdav-serf? ( >=net-libs/serf-0.3.0 )"
|
||||
RDEPEND="${CDEPEND}
|
||||
apache2? ( www-servers/apache[apache2_modules_dav] )
|
||||
java? ( >=virtual/jre-1.5 )
|
||||
kde? ( kde-base/kwalletd )
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-perl/URI )"
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-1.6
|
||||
ctypes-python? ( dev-python/ctypesgen )
|
||||
doc? ( app-doc/doxygen )
|
||||
gnome-keyring? ( dev-util/pkgconfig )
|
||||
java? ( >=virtual/jdk-1.5 )
|
||||
kde? ( dev-util/pkgconfig )
|
||||
nls? ( sys-devel/gettext )
|
||||
webdav-neon? ( dev-util/pkgconfig )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.6.0-disable_linking_against_unneeded_libraries.patch"
|
||||
"${FILESDIR}/${PN}-1.6.2-local_library_preloading.patch"
|
||||
"${FILESDIR}/${PN}-1.6.3-kwallet_window.patch"
|
||||
"${FILESDIR}/${PN}-1.5.4-interix.patch"
|
||||
"${FILESDIR}/${PN}-1.5.6-aix-dso.patch"
|
||||
"${FILESDIR}/${PN}-1.6.3-hpux-dso.patch"
|
||||
)
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
if use berkdb; then
|
||||
local apu_bdb_version="$(${EPREFIX}/usr/bin/apu-1-config --includes \
|
||||
| grep -Eoe '-I${EPREFIX}/usr/include/db[[:digit:]]\.[[:digit:]]' \
|
||||
| sed 's:.*b::')"
|
||||
einfo
|
||||
if [[ -z "${SVN_BDB_VERSION}" ]]; then
|
||||
if [[ -n "${apu_bdb_version}" ]]; then
|
||||
SVN_BDB_VERSION="${apu_bdb_version}"
|
||||
einfo "Matching db version to apr-util"
|
||||
else
|
||||
SVN_BDB_VERSION="$(db_ver_to_slot "$(db_findver sys-libs/db 2>/dev/null)")"
|
||||
einfo "SVN_BDB_VERSION variable isn't set. You can set it to enforce using of specific version of Berkeley DB."
|
||||
fi
|
||||
fi
|
||||
einfo "Using: Berkeley DB ${SVN_BDB_VERSION}"
|
||||
einfo
|
||||
|
||||
if [[ -n "${apu_bdb_version}" && "${SVN_BDB_VERSION}" != "${apu_bdb_version}" ]]; then
|
||||
eerror "APR-Util is linked against Berkeley DB ${apu_bdb_version}, but you are trying"
|
||||
eerror "to build Subversion with support for Berkeley DB ${SVN_BDB_VERSION}."
|
||||
eerror "Rebuild dev-libs/apr-util or set SVN_BDB_VERSION=\"${apu_bdb_version}\"."
|
||||
eerror "Aborting to avoid possible run-time crashes."
|
||||
die "Berkeley DB version mismatch"
|
||||
fi
|
||||
fi
|
||||
|
||||
depend.apache_pkg_setup
|
||||
|
||||
java-pkg-opt-2_pkg_setup
|
||||
|
||||
if use ctypes-python || use python; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
|
||||
if ! use webdav-neon && ! use webdav-serf; then
|
||||
ewarn "WebDAV support is disabled. You need WebDAV to"
|
||||
ewarn "access repositories through the HTTP protocol."
|
||||
ewarn "Consider enabling one of the following USE-flags:"
|
||||
ewarn " webdav-neon webdav-serf"
|
||||
echo -ne "\a"
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
append-cppflags -DSVN_DEBUG -DAP_DEBUG
|
||||
fi
|
||||
|
||||
# Allow for custom repository locations.
|
||||
SVN_REPOS_LOC="${SVN_REPOS_LOC:-${EPREFIX}/var/svn}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
fperms +x build/transform_libtool_scripts.sh
|
||||
|
||||
sed -i \
|
||||
-e "s/\(BUILD_RULES=.*\) bdb-test\(.*\)/\1\2/g" \
|
||||
-e "s/\(BUILD_RULES=.*\) test\(.*\)/\1\2/g" configure.ac
|
||||
|
||||
sed -e "/SWIG_PY_INCLUDES=/s/\$ac_cv_python_includes/\\\\\$(PYTHON_INCLUDES)/" -i build/ac-macros/swig.m4 || die "sed failed"
|
||||
|
||||
# this bites us in particular on Solaris
|
||||
sed -i -e '1c\#!/usr/bin/env sh' build/transform_libtool_scripts.sh || \
|
||||
die "/bin/sh is not POSIX shell!"
|
||||
|
||||
eautoconf
|
||||
elibtoolize
|
||||
|
||||
sed -e "s/libsvn_swig_py-1\.la/libsvn_swig_py-\$(PYTHON_VERSION)-1.la/" -i build-outputs.mk || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use python || use perl || use ruby; then
|
||||
myconf+=" --with-swig"
|
||||
else
|
||||
myconf+=" --without-swig"
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
myconf+=" --without-junit"
|
||||
fi
|
||||
|
||||
if use kde || use nls; then
|
||||
myconf+=" --enable-nls"
|
||||
else
|
||||
myconf+=" --disable-nls"
|
||||
fi
|
||||
|
||||
case ${CHOST} in
|
||||
*-solaris*)
|
||||
# -lintl isn't added for some reason (makes Neon check fail)
|
||||
use nls && append-libs -lintl
|
||||
;;
|
||||
*-aix*)
|
||||
# avoid recording immediate path to sharedlibs into executables
|
||||
append-ldflags -Wl,-bnoipath
|
||||
;;
|
||||
*-interix*)
|
||||
# loader crashes on the LD_PRELOADs...
|
||||
myconf="${myconf} --disable-local-library-preloading"
|
||||
;;
|
||||
esac
|
||||
|
||||
econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
$(use_with apache2 apxs "${APXS}") \
|
||||
$(use_with berkdb berkeley-db "db.h:${EPREFIX}/usr/include/db${SVN_BDB_VERSION}::db-${SVN_BDB_VERSION}") \
|
||||
$(use_with ctypes-python ctypesgen "${EPREFIX}/usr") \
|
||||
$(use_enable dso runtime-module-search) \
|
||||
$(use_with gnome-keyring) \
|
||||
$(use_enable java javahl) \
|
||||
$(use_with java jdk "${JAVA_HOME}") \
|
||||
$(use_with kde kwallet) \
|
||||
$(use_with sasl) \
|
||||
$(use_with webdav-neon neon) \
|
||||
$(use_with webdav-serf serf "${EPREFIX}/usr") \
|
||||
${myconf} \
|
||||
--with-apr="${EPREFIX}/usr/bin/apr-1-config" \
|
||||
--with-apr-util="${EPREFIX}/usr/bin/apu-1-config" \
|
||||
--disable-experimental-libtool \
|
||||
--without-jikes \
|
||||
--enable-local-library-preloading \
|
||||
--disable-mod-activation \
|
||||
--disable-neon-version-check \
|
||||
--disable-static \
|
||||
--with-sqlite="${EPREFIX}/usr"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake local-all || die "Building of core of Subversion failed"
|
||||
|
||||
if use ctypes-python; then
|
||||
python_copy_sources subversion/bindings/ctypes-python
|
||||
rm -fr subversion/bindings/ctypes-python
|
||||
ctypes_python_bindings_building() {
|
||||
rm -f subversion/bindings/ctypes-python
|
||||
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
|
||||
emake ctypes-python
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Building of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Building of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
ctypes_python_bindings_building
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_copy_sources subversion/bindings/swig/python
|
||||
rm -fr subversion/bindings/swig/python
|
||||
swig_python_bindings_building() {
|
||||
rm -f subversion/bindings/swig/python
|
||||
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
|
||||
emake \
|
||||
PYTHON_INCLUDES="-I${EPREFIX}$(python_get_includedir)" \
|
||||
PYTHON_VERSION="$(python_get_version)" \
|
||||
swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \
|
||||
swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \
|
||||
swig-py
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Building of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Building of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
swig_python_bindings_building
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
emake swig-pl || die "Building of Subversion SWIG Perl bindings failed"
|
||||
fi
|
||||
|
||||
if use ruby; then
|
||||
emake swig-rb || die "Building of Subversion SWIG Ruby bindings failed"
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl || die "Building of Subversion JavaHL library failed"
|
||||
fi
|
||||
|
||||
if use emacs; then
|
||||
elisp-compile contrib/client-side/emacs/{dsvn,psvn,vc-svn}.el doc/svn-doc.el doc/tools/svnbook.el || die "Compilation of Emacs modules failed"
|
||||
fi
|
||||
|
||||
if use extras; then
|
||||
emake contrib || die "Building of contrib failed"
|
||||
emake tools || die "Building of tools failed"
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
doxygen doc/doxygen.conf || die "Building of Subversion HTML documentation failed"
|
||||
|
||||
if use java; then
|
||||
emake doc-javahl || die "Building of Subversion JavaHL library HTML documentation failed"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" local-install || die "Installation of core of Subversion failed"
|
||||
|
||||
if use ctypes-python; then
|
||||
ctypes_python_bindings_installation() {
|
||||
rm -f subversion/bindings/ctypes-python
|
||||
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
|
||||
emake DESTDIR="${D}" install-ctypes-python
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Installation of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Installation of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
ctypes_python_bindings_installation
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
swig_python_bindings_installation() {
|
||||
rm -f subversion/bindings/swig/python
|
||||
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PYTHON_VERSION="$(python_get_version)" \
|
||||
swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \
|
||||
swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \
|
||||
install-swig-py
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Installation of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Installation of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
swig_python_bindings_installation
|
||||
fi
|
||||
|
||||
if use ctypes-python || use python; then
|
||||
python_clean_installation_image -q
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
emake DESTDIR="${D}" INSTALLDIRS="vendor" install-swig-pl || die "Installation of Subversion SWIG Perl bindings failed"
|
||||
fixlocalpod
|
||||
find "${ED}" "(" -name .packlist -o -name "*.bs" ")" -print0 | xargs -0 rm -fr
|
||||
fi
|
||||
|
||||
if use ruby; then
|
||||
emake DESTDIR="${D}" install-swig-rb || die "Installation of Subversion SWIG Ruby bindings failed"
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
emake DESTDIR="${D}" install-javahl || die "Installation of Subversion JavaHL library failed"
|
||||
java-pkg_regso "${ED}"usr/$(get_libdir)/libsvnjavahl*.so
|
||||
java-pkg_dojar "${ED}"usr/$(get_libdir)/svn-javahl/svn-javahl.jar
|
||||
rm -fr "${ED}"usr/$(get_libdir)/svn-javahl/*.jar
|
||||
fi
|
||||
|
||||
# Install Apache module configuration.
|
||||
if use apache2; then
|
||||
keepdir "${APACHE_MODULES_CONFDIR}"
|
||||
insinto "${APACHE_MODULES_CONFDIR}"
|
||||
doins "${FILESDIR}/47_mod_dav_svn.conf"
|
||||
fi
|
||||
|
||||
# Install Bash Completion, bug 43179.
|
||||
dobashcompletion tools/client-side/bash_completion subversion
|
||||
rm -f tools/client-side/bash_completion
|
||||
|
||||
# Install hot backup script, bug 54304.
|
||||
newbin tools/backup/hot-backup.py svn-hot-backup
|
||||
rm -fr tools/backup
|
||||
|
||||
# Install svn_load_dirs.pl.
|
||||
if use perl; then
|
||||
dobin contrib/client-side/svn_load_dirs/svn_load_dirs.pl
|
||||
fi
|
||||
rm -f contrib/client-side/svn_load_dirs/svn_load_dirs.pl
|
||||
|
||||
# Install svnserve init-script and xinet.d snippet, bug 43245.
|
||||
newinitd "${FILESDIR}"/svnserve.initd2 svnserve
|
||||
newconfd "${FILESDIR}"/svnserve.confd svnserve
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}"/svnserve.xinetd svnserve
|
||||
|
||||
# Install documentation.
|
||||
dodoc CHANGES COMMITTERS README
|
||||
dodoc tools/xslt/svnindex.{css,xsl}
|
||||
rm -fr tools/xslt
|
||||
|
||||
# Install Vim syntax files.
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins contrib/client-side/vim/svn.vim
|
||||
fi
|
||||
rm -f contrib/client-side/vim/svn.vim
|
||||
|
||||
# Install Emacs Lisps.
|
||||
if use emacs; then
|
||||
elisp-install ${PN} contrib/client-side/emacs/{dsvn,psvn}.{el,elc} doc/svn-doc.{el,elc} doc/tools/svnbook.{el,elc} || die "Installation of Emacs modules failed"
|
||||
elisp-install ${PN}/compat contrib/client-side/emacs/vc-svn.{el,elc} || die "Installation of Emacs modules failed"
|
||||
touch "${ED}${SITELISP}/${PN}/compat/.nosearch"
|
||||
elisp-site-file-install "${FILESDIR}/70svn-gentoo.el" || die "Installation of Emacs site-init file failed"
|
||||
fi
|
||||
rm -fr contrib/client-side/emacs
|
||||
|
||||
# Install extra files.
|
||||
if use extras; then
|
||||
cat << EOF > 80subversion-extras
|
||||
PATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
|
||||
ROOTPATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
|
||||
EOF
|
||||
doenvd 80subversion-extras
|
||||
|
||||
emake DESTDIR="${D}" contribdir="/usr/$(get_libdir)/subversion/bin" install-contrib || die "Installation of contrib failed"
|
||||
emake DESTDIR="${D}" toolsdir="/usr/$(get_libdir)/subversion/bin" install-tools || die "Installation of tools failed"
|
||||
|
||||
find contrib tools "(" -name "*.bat" -o -name "*.in" -o -name ".libs" ")" -print0 | xargs -0 rm -fr
|
||||
rm -fr contrib/client-side/svn-push
|
||||
rm -fr contrib/server-side/svnstsw
|
||||
rm -fr tools/client-side/svnmucc
|
||||
rm -fr tools/server-side/{svn-populate-node-origins-index,svnauthz-validate}*
|
||||
rm -fr tools/{buildbot,dev,diff,po}
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r contrib tools
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/doxygen/html/* || die "Installation of Subversion HTML documentation failed"
|
||||
|
||||
dodoc -r notes
|
||||
|
||||
if use java; then
|
||||
java-pkg_dojavadoc doc/javadoc
|
||||
fi
|
||||
fi
|
||||
|
||||
find "${D}" '(' -name '*.la' ')' -print0 | xargs -0 rm -f
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Compare versions of Berkeley DB, bug 122877.
|
||||
if use berkdb && [[ -f "${EROOT}usr/bin/svn" ]]; then
|
||||
OLD_BDB_VERSION="$(scanelf -nq "${EROOT}usr/$(get_libdir)/libsvn_subr-1.so.0" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
|
||||
NEW_BDB_VERSION="$(scanelf -nq "${ED}usr/$(get_libdir)/libsvn_subr-1.so.0" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
|
||||
if [[ "${OLD_BDB_VERSION}" != "${NEW_BDB_VERSION}" ]]; then
|
||||
CHANGED_BDB_VERSION="1"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
use perl && perl-module_pkg_postinst
|
||||
|
||||
if use ctypes-python; then
|
||||
python_mod_optimize csvn
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_mod_optimize libsvn svn
|
||||
fi
|
||||
|
||||
if use apache2; then
|
||||
elog " - http-based server:"
|
||||
elog " 1. Edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\""
|
||||
elog " 2. Create an htpasswd file:"
|
||||
elog " htpasswd2 -m -c ${SVN_REPOS_LOC}/conf/svnusers USERNAME"
|
||||
elog " 3. Fix the repository permissions (see \"Fixing the repository permissions\")"
|
||||
elog " 4. Restart Apache: /etc/init.d/apache2 restart"
|
||||
elog
|
||||
fi
|
||||
|
||||
if [[ -n "${CHANGED_BDB_VERSION}" ]]; then
|
||||
ewarn "You upgraded from an older version of Berkeley DB and may experience"
|
||||
ewarn "problems with your repository. Run the following commands as root to fix it:"
|
||||
ewarn " db4_recover -h ${SVN_REPOS_LOC}/repos"
|
||||
ewarn " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
|
||||
fi
|
||||
|
||||
ewarn "If you run subversion as a daemon, you will need to restart it to avoid module mismatches."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
use perl && perl-module_pkg_postrm
|
||||
|
||||
if use ctypes-python; then
|
||||
python_mod_cleanup csvn
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_mod_cleanup libsvn svn
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
# Remember: Don't use ${EROOT}${SVN_REPOS_LOC} since ${SVN_REPOS_LOC}
|
||||
# already has EPREFIX in it
|
||||
einfo "Initializing the database in ${ROOT}${SVN_REPOS_LOC}..."
|
||||
if [[ -e "${ROOT}${SVN_REPOS_LOC}/repos" ]]; then
|
||||
echo "A Subversion repository already exists and I will not overwrite it."
|
||||
echo "Delete \"${ROOT}${SVN_REPOS_LOC}/repos\" first if you're sure you want to have a clean version."
|
||||
else
|
||||
mkdir -p "${ROOT}${SVN_REPOS_LOC}/conf"
|
||||
|
||||
einfo "Populating repository directory..."
|
||||
# Create initial repository.
|
||||
"${EROOT}usr/bin/svnadmin" create "${ROOT}${SVN_REPOS_LOC}/repos"
|
||||
|
||||
einfo "Setting repository permissions..."
|
||||
SVNSERVE_USER="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_USER}")"
|
||||
SVNSERVE_GROUP="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_GROUP}")"
|
||||
if use apache2; then
|
||||
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="apache"
|
||||
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="apache"
|
||||
else
|
||||
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="svn"
|
||||
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="svnusers"
|
||||
enewgroup "${SVNSERVE_GROUP}"
|
||||
enewuser "${SVNSERVE_USER}" -1 -1 "${SVN_REPOS_LOC}" "${SVNSERVE_GROUP}"
|
||||
fi
|
||||
chown -Rf "${SVNSERVE_USER}:${SVNSERVE_GROUP}" "${ROOT}${SVN_REPOS_LOC}/repos"
|
||||
chmod -Rf go-rwx "${ROOT}${SVN_REPOS_LOC}/conf"
|
||||
chmod -Rf o-rwx "${ROOT}${SVN_REPOS_LOC}/repos"
|
||||
fi
|
||||
}
|
@ -1,938 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.6.17.ebuild,v 1.7 2011/08/27 11:19:28 armin76 Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools base bash-completion db-use depend.apache elisp-common flag-o-matic java-pkg-opt-2 libtool multilib perl-module python
|
||||
|
||||
DESCRIPTION="Advanced version control system"
|
||||
HOMEPAGE="http://subversion.apache.org/"
|
||||
SRC_URI="http://subversion.tigris.org/downloads/${P/_/-}.tar.bz2"
|
||||
|
||||
LICENSE="Subversion"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="apache2 berkdb ctypes-python debug doc +dso emacs extras gnome-keyring java kde nls perl python ruby sasl test vim-syntax +webdav-neon webdav-serf"
|
||||
|
||||
CDEPEND=">=dev-db/sqlite-3.4[threadsafe]
|
||||
>=dev-libs/apr-1.3:1
|
||||
>=dev-libs/apr-util-1.3:1
|
||||
dev-libs/expat
|
||||
sys-libs/zlib
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
ctypes-python? ( =dev-lang/python-2* )
|
||||
emacs? ( virtual/emacs )
|
||||
gnome-keyring? ( dev-libs/glib:2 sys-apps/dbus gnome-base/gnome-keyring )
|
||||
kde? ( sys-apps/dbus x11-libs/qt-core x11-libs/qt-dbus x11-libs/qt-gui >=kde-base/kdelibs-4 )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( =dev-lang/python-2* )
|
||||
ruby? ( >=dev-lang/ruby-1.8.2 )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
webdav-neon? ( >=net-libs/neon-0.28 )
|
||||
webdav-serf? ( >=net-libs/serf-0.3.0 )"
|
||||
RDEPEND="${CDEPEND}
|
||||
apache2? ( www-servers/apache[apache2_modules_dav] )
|
||||
java? ( >=virtual/jre-1.5 )
|
||||
kde? ( kde-base/kwalletd )
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-perl/URI )"
|
||||
APACHE_TEST_DEPEND="|| (
|
||||
=www-servers/apache-2.4*[apache2_modules_auth_basic,apache2_modules_authn_core,apache2_modules_authn_file,apache2_modules_authz_core,apache2_modules_authz_user,apache2_modules_dav,apache2_modules_log_config,apache2_modules_unixd]
|
||||
=www-servers/apache-2.2*[apache2_modules_auth_basic,apache2_modules_authn_file,apache2_modules_dav,apache2_modules_log_config]
|
||||
)"
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-1.6
|
||||
ctypes-python? ( dev-python/ctypesgen )
|
||||
doc? ( app-doc/doxygen )
|
||||
gnome-keyring? ( dev-util/pkgconfig )
|
||||
java? ( >=virtual/jdk-1.5 )
|
||||
kde? ( dev-util/pkgconfig )
|
||||
nls? ( sys-devel/gettext )
|
||||
test? (
|
||||
=dev-lang/python-2*
|
||||
webdav-neon? ( ${APACHE_TEST_DEPEND} )
|
||||
webdav-serf? ( ${APACHE_TEST_DEPEND} )
|
||||
)
|
||||
webdav-neon? ( dev-util/pkgconfig )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.6.0-disable_linking_against_unneeded_libraries.patch"
|
||||
"${FILESDIR}/${PN}-1.6.2-local_library_preloading.patch"
|
||||
"${FILESDIR}/${PN}-1.6.3-kwallet_window.patch"
|
||||
)
|
||||
|
||||
want_apache
|
||||
|
||||
S="${WORKDIR}/${P/_/-}"
|
||||
|
||||
print() {
|
||||
local blue color green normal red
|
||||
|
||||
if [[ "${NOCOLOR:-false}" =~ ^(false|no)$ ]]; then
|
||||
red=$'\e[1;31m'
|
||||
green=$'\e[1;32m'
|
||||
blue=$'\e[1;34m'
|
||||
normal=$'\e[0m'
|
||||
fi
|
||||
|
||||
while (($#)); do
|
||||
case "$1" in
|
||||
--red)
|
||||
color="${red}"
|
||||
;;
|
||||
--green)
|
||||
color="${green}"
|
||||
;;
|
||||
--blue)
|
||||
color="${blue}"
|
||||
;;
|
||||
--)
|
||||
shift
|
||||
break
|
||||
;;
|
||||
-*)
|
||||
die "${FUNCNAME}(): Unrecognized option '$1'"
|
||||
;;
|
||||
*)
|
||||
break
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
echo " ${green}*${normal} ${color}$@${normal}"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use kde && ! use nls; then
|
||||
eerror "Support for KWallet (KDE) requires Native Language Support (NLS)."
|
||||
die "Enable \"nls\" USE flag"
|
||||
fi
|
||||
|
||||
if use berkdb; then
|
||||
einfo
|
||||
if [[ -z "${SVN_BDB_VERSION}" ]]; then
|
||||
SVN_BDB_VERSION="$(db_ver_to_slot "$(db_findver sys-libs/db 2>/dev/null)")"
|
||||
einfo "SVN_BDB_VERSION variable isn't set. You can set it to enforce using of specific version of Berkeley DB."
|
||||
fi
|
||||
einfo "Using: Berkeley DB ${SVN_BDB_VERSION}"
|
||||
einfo
|
||||
|
||||
local apu_bdb_version="$(scanelf -nq "${EROOT}usr/$(get_libdir)/libaprutil-1.so.0" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
|
||||
if [[ -n "${apu_bdb_version}" && "${SVN_BDB_VERSION}" != "${apu_bdb_version}" ]]; then
|
||||
eerror "APR-Util is linked against Berkeley DB ${apu_bdb_version}, but you are trying"
|
||||
eerror "to build Subversion with support for Berkeley DB ${SVN_BDB_VERSION}."
|
||||
eerror "Rebuild dev-libs/apr-util or set SVN_BDB_VERSION=\"${apu_bdb_version}\"."
|
||||
eerror "Aborting to avoid possible run-time crashes."
|
||||
die "Berkeley DB version mismatch"
|
||||
fi
|
||||
fi
|
||||
|
||||
depend.apache_pkg_setup
|
||||
|
||||
java-pkg-opt-2_pkg_setup
|
||||
|
||||
if use ctypes-python || use python || use test; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
|
||||
if ! use webdav-neon && ! use webdav-serf; then
|
||||
ewarn
|
||||
ewarn "WebDAV support is disabled. You need WebDAV to"
|
||||
ewarn "access repositories through the HTTP protocol."
|
||||
ewarn
|
||||
ewarn "WebDAV support needs one of the following USE flags enabled:"
|
||||
ewarn " webdav-neon webdav-serf"
|
||||
ewarn
|
||||
ewarn "You can do this by enabling one of these flags in /etc/portage/package.use:"
|
||||
ewarn " ${CATEGORY}/${PN} webdav-neon webdav-serf"
|
||||
ewarn
|
||||
echo -ne "\a"
|
||||
fi
|
||||
|
||||
if use test; then
|
||||
print
|
||||
print --red "************************************************************************************************"
|
||||
print
|
||||
print "NOTES ABOUT TESTS"
|
||||
print
|
||||
print "You can set the following variables to enable testing of some features and configure testing:"
|
||||
if use webdav-neon || use webdav-serf; then
|
||||
print " SVN_TEST_APACHE_PORT=integer - Set Apache port number (Default value: 62208)"
|
||||
fi
|
||||
print " SVN_TEST_SVNSERVE_PORT=integer - Set svnserve port number (Default value: 62209)"
|
||||
print " SVN_TEST_FSFS_MEMCACHED=1 - Enable using of Memcached for FSFS repositories"
|
||||
print " SVN_TEST_FSFS_MEMCACHED_PORT=integer - Set Memcached port number (Default value: 62210)"
|
||||
print " SVN_TEST_FSFS_SHARDING=integer - Enable sharding of FSFS repositories and set default shard size for FSFS repositories"
|
||||
print " SVN_TEST_FSFS_PACKING=1 - Enable packing of FSFS repositories"
|
||||
print " (SVN_TEST_FSFS_PACKING requires SVN_TEST_FSFS_SHARDING)"
|
||||
if use ctypes-python || use java || use perl || use python || use ruby; then
|
||||
print " SVN_TEST_BINDINGS=1 - Enable testing of bindings"
|
||||
fi
|
||||
if use java || use perl || use python || use ruby; then
|
||||
print " (Testing of bindings requires ${CATEGORY}/${PF})"
|
||||
fi
|
||||
if use java; then
|
||||
print " (Testing of JavaHL library requires dev-java/junit:4)"
|
||||
fi
|
||||
print
|
||||
print --red "************************************************************************************************"
|
||||
print
|
||||
|
||||
if ! use apache2 && { use webdav-neon || use webdav-serf; }; then
|
||||
eerror "Testing of libsvn_ra_neon / libsvn_ra_serf requires support for Apache."
|
||||
die "Enable \"apache2\" USE flag."
|
||||
fi
|
||||
|
||||
if [[ -n "${SVN_TEST_APACHE_PORT}" ]] && ! ([[ "$((${SVN_TEST_APACHE_PORT}))" == "${SVN_TEST_APACHE_PORT}" ]]) &>/dev/null; then
|
||||
die "Value of SVN_TEST_APACHE_PORT must be an integer"
|
||||
fi
|
||||
|
||||
if [[ -n "${SVN_TEST_SVNSERVE_PORT}" ]] && ! ([[ "$((${SVN_TEST_SVNSERVE_PORT}))" == "${SVN_TEST_SVNSERVE_PORT}" ]]) &>/dev/null; then
|
||||
die "Value of SVN_TEST_SVNSERVE_PORT must be an integer"
|
||||
fi
|
||||
|
||||
if [[ -n "${SVN_TEST_FSFS_MEMCACHED}" ]] && ! has_version net-misc/memcached; then
|
||||
die "net-misc/memcached must be installed"
|
||||
fi
|
||||
if [[ -n "${SVN_TEST_FSFS_MEMCACHED_PORT}" ]] && ! ([[ "$((${SVN_TEST_FSFS_MEMCACHED_PORT}))" == "${SVN_TEST_FSFS_MEMCACHED_PORT}" ]]) &>/dev/null; then
|
||||
die "Value of SVN_TEST_FSFS_MEMCACHED_PORT must be an integer"
|
||||
fi
|
||||
if [[ -n "${SVN_TEST_FSFS_SHARDING}" ]] && ! ([[ "$((${SVN_TEST_FSFS_SHARDING}))" == "${SVN_TEST_FSFS_SHARDING}" ]]) &>/dev/null; then
|
||||
die "Value of SVN_TEST_FSFS_SHARDING must be an integer"
|
||||
fi
|
||||
if [[ -n "${SVN_TEST_FSFS_PACKING}" && -z "${SVN_TEST_FSFS_SHARDING}" ]]; then
|
||||
die "SVN_TEST_FSFS_PACKING requires SVN_TEST_FSFS_SHARDING"
|
||||
fi
|
||||
|
||||
if [[ -n "${SVN_TEST_BINDINGS}" ]]; then
|
||||
if { use java || use perl || use python || use ruby; } && ! has_version "=${CATEGORY}/${PF}"; then
|
||||
die "${CATEGORY}/${PF} must be installed"
|
||||
fi
|
||||
if use java && ! has_version dev-java/junit:4; then
|
||||
die "dev-java/junit:4 must be installed"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
append-cppflags -DSVN_DEBUG -DAP_DEBUG
|
||||
fi
|
||||
|
||||
# Allow for custom repository locations.
|
||||
SVN_REPOS_LOC="${SVN_REPOS_LOC:-${EPREFIX}/var/svn}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
fperms +x build/transform_libtool_scripts.sh
|
||||
|
||||
if ! use test; then
|
||||
sed -i \
|
||||
-e "s/\(BUILD_RULES=.*\) bdb-test\(.*\)/\1\2/g" \
|
||||
-e "s/\(BUILD_RULES=.*\) test\(.*\)/\1\2/g" configure.ac
|
||||
fi
|
||||
|
||||
sed -e "/SWIG_PY_INCLUDES=/s/\$ac_cv_python_includes/\\\\\$(PYTHON_INCLUDES)/" -i build/ac-macros/swig.m4 || die "sed failed"
|
||||
|
||||
eautoconf
|
||||
elibtoolize
|
||||
|
||||
sed -e "s/libsvn_swig_py-1\.la/libsvn_swig_py-\$(PYTHON_VERSION)-1.la/" -i build-outputs.mk || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use python || use perl || use ruby; then
|
||||
myconf+=" --with-swig"
|
||||
else
|
||||
myconf+=" --without-swig"
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
if use test && [[ -n "${SVN_TEST_BINDINGS}" ]]; then
|
||||
myconf+=" --with-junit=${EPREFIX}/usr/share/junit-4/lib/junit.jar"
|
||||
else
|
||||
myconf+=" --without-junit"
|
||||
fi
|
||||
fi
|
||||
|
||||
econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
$(use_with apache2 apxs "${APXS}") \
|
||||
$(use_with berkdb berkeley-db "db.h:${EPREFIX}/usr/include/db${SVN_BDB_VERSION}::db-${SVN_BDB_VERSION}") \
|
||||
$(use_with ctypes-python ctypesgen "${EPREFIX}/usr") \
|
||||
$(use_enable dso runtime-module-search) \
|
||||
$(use_with gnome-keyring) \
|
||||
$(use_enable java javahl) \
|
||||
$(use_with java jdk "${JAVA_HOME}") \
|
||||
$(use_with kde kwallet) \
|
||||
$(use_enable nls) \
|
||||
$(use_with sasl) \
|
||||
$(use_with webdav-neon neon) \
|
||||
$(use_with webdav-serf serf "${EPREFIX}/usr") \
|
||||
${myconf} \
|
||||
--with-apr="${EPREFIX}/usr/bin/apr-1-config" \
|
||||
--with-apr-util="${EPREFIX}/usr/bin/apu-1-config" \
|
||||
--disable-experimental-libtool \
|
||||
--without-jikes \
|
||||
--enable-local-library-preloading \
|
||||
--disable-mod-activation \
|
||||
--disable-neon-version-check \
|
||||
--with-sqlite="${EPREFIX}/usr"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
print
|
||||
print "Building of core of Subversion"
|
||||
print
|
||||
emake local-all || die "Building of core of Subversion failed"
|
||||
|
||||
if use ctypes-python; then
|
||||
print
|
||||
print "Building of Subversion Ctypes Python bindings"
|
||||
print
|
||||
python_copy_sources subversion/bindings/ctypes-python
|
||||
rm -fr subversion/bindings/ctypes-python
|
||||
ctypes_python_bindings_building() {
|
||||
rm -f subversion/bindings/ctypes-python
|
||||
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
|
||||
emake ctypes-python
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Building of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Building of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
ctypes_python_bindings_building
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
print
|
||||
print "Building of Subversion SWIG Python bindings"
|
||||
print
|
||||
python_copy_sources subversion/bindings/swig/python
|
||||
rm -fr subversion/bindings/swig/python
|
||||
swig_python_bindings_building() {
|
||||
rm -f subversion/bindings/swig/python
|
||||
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
|
||||
emake \
|
||||
PYTHON_INCLUDES="-I${EPREFIX}$(python_get_includedir)" \
|
||||
PYTHON_VERSION="$(python_get_version)" \
|
||||
swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \
|
||||
swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \
|
||||
swig-py
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Building of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Building of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
swig_python_bindings_building
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
print
|
||||
print "Building of Subversion SWIG Perl bindings"
|
||||
print
|
||||
emake -j1 swig-pl || die "Building of Subversion SWIG Perl bindings failed"
|
||||
fi
|
||||
|
||||
if use ruby; then
|
||||
print
|
||||
print "Building of Subversion SWIG Ruby bindings"
|
||||
print
|
||||
emake swig-rb || die "Building of Subversion SWIG Ruby bindings failed"
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
print
|
||||
print "Building of Subversion JavaHL library"
|
||||
print
|
||||
emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl || die "Building of Subversion JavaHL library failed"
|
||||
fi
|
||||
|
||||
if use emacs; then
|
||||
print
|
||||
print "Compilation of Emacs modules"
|
||||
print
|
||||
elisp-compile contrib/client-side/emacs/{dsvn,psvn,vc-svn}.el doc/svn-doc.el doc/tools/svnbook.el || die "Compilation of Emacs modules failed"
|
||||
fi
|
||||
|
||||
if use extras; then
|
||||
print
|
||||
print "Building of contrib and tools"
|
||||
print
|
||||
emake contrib || die "Building of contrib failed"
|
||||
emake tools || die "Building of tools failed"
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
print
|
||||
print "Building of Subversion HTML documentation"
|
||||
print
|
||||
doxygen doc/doxygen.conf || die "Building of Subversion HTML documentation failed"
|
||||
|
||||
if use java; then
|
||||
print
|
||||
print "Building of Subversion JavaHL library HTML documentation"
|
||||
print
|
||||
emake doc-javahl || die "Building of Subversion JavaHL library HTML documentation failed"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
create_apache_tests_configuration() {
|
||||
get_loadmodule_directive() {
|
||||
if [[ "$("${APACHE_BIN}" -l)" != *"mod_$1.c"* ]]; then
|
||||
echo "LoadModule $1_module \"${APACHE_MODULESDIR}/mod_$1.so\""
|
||||
fi
|
||||
}
|
||||
get_loadmodule_directives() {
|
||||
if has_version "=www-servers/apache-2.4*"; then
|
||||
get_loadmodule_directive auth_basic
|
||||
get_loadmodule_directive authn_core
|
||||
get_loadmodule_directive authn_file
|
||||
get_loadmodule_directive authz_core
|
||||
get_loadmodule_directive authz_user
|
||||
get_loadmodule_directive dav
|
||||
get_loadmodule_directive log_config
|
||||
get_loadmodule_directive unixd
|
||||
else
|
||||
get_loadmodule_directive auth_basic
|
||||
get_loadmodule_directive authn_file
|
||||
get_loadmodule_directive dav
|
||||
get_loadmodule_directive log_config
|
||||
fi
|
||||
}
|
||||
|
||||
mkdir -p "${T}/apache"
|
||||
cat << EOF > "${T}/apache/apache.conf"
|
||||
$(get_loadmodule_directives)
|
||||
LoadModule dav_svn_module "${S}/subversion/mod_dav_svn/.libs/mod_dav_svn.so"
|
||||
LoadModule authz_svn_module "${S}/subversion/mod_authz_svn/.libs/mod_authz_svn.so"
|
||||
|
||||
User $(id -un)
|
||||
Group $(id -gn)
|
||||
Listen localhost:${SVN_TEST_APACHE_PORT}
|
||||
ServerName localhost
|
||||
ServerRoot "${T}"
|
||||
DocumentRoot "${T}"
|
||||
CoreDumpDirectory "${T}"
|
||||
PidFile "${T}/apache.pid"
|
||||
CustomLog "${T}/apache/access_log" "%h %l %u %{%Y-%m-%dT%H:%M:%S}t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
|
||||
CustomLog "${T}/apache/svn_log" "%{%Y-%m-%dT%H:%M:%S}t %u %{SVN-REPOS-NAME}e %{SVN-ACTION}e" env=SVN-ACTION
|
||||
ErrorLog "${T}/apache/error_log"
|
||||
LogLevel Debug
|
||||
MaxRequestsPerChild 0
|
||||
|
||||
<Directory />
|
||||
AllowOverride None
|
||||
</Directory>
|
||||
|
||||
<Location /svn-test-work/repositories>
|
||||
DAV svn
|
||||
SVNParentPath "${S}/subversion/tests/cmdline/svn-test-work/repositories"
|
||||
AuthzSVNAccessFile "${S}/subversion/tests/cmdline/svn-test-work/authz"
|
||||
AuthType Basic
|
||||
AuthName "Subversion Repository"
|
||||
AuthUserFile "${T}/apache/users"
|
||||
Require valid-user
|
||||
</Location>
|
||||
|
||||
<Location /svn-test-work/local_tmp/repos>
|
||||
DAV svn
|
||||
SVNPath "${S}/subversion/tests/cmdline/svn-test-work/local_tmp/repos"
|
||||
AuthzSVNAccessFile "${S}/subversion/tests/cmdline/svn-test-work/authz"
|
||||
AuthType Basic
|
||||
AuthName "Subversion Repository"
|
||||
AuthUserFile "${T}/apache/users"
|
||||
Require valid-user
|
||||
</Location>
|
||||
EOF
|
||||
|
||||
cat << EOF > "${T}/apache/users"
|
||||
jrandom:xCGl35kV9oWCY
|
||||
jconstant:xCGl35kV9oWCY
|
||||
EOF
|
||||
}
|
||||
|
||||
set_tests_variables() {
|
||||
if [[ "$1" == "local" ]]; then
|
||||
base_url="file://${S}/subversion/tests/cmdline"
|
||||
http_library=""
|
||||
fi
|
||||
if [[ "$1" == "svn" ]]; then
|
||||
base_url="svn://127.0.0.1:${SVN_TEST_SVNSERVE_PORT}"
|
||||
http_library=""
|
||||
fi
|
||||
if [[ "$1" == "neon" || "$1" == "serf" ]]; then
|
||||
base_url="http://127.0.0.1:${SVN_TEST_APACHE_PORT}"
|
||||
http_library="$1"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if ! use test; then
|
||||
die "Invalid configuration"
|
||||
fi
|
||||
|
||||
local fs_type fs_types ra_type ra_types options failed_tests
|
||||
|
||||
fs_types="fsfs"
|
||||
use berkdb && fs_types+=" bdb"
|
||||
|
||||
ra_types="local svn"
|
||||
use webdav-neon && ra_types+=" neon"
|
||||
use webdav-serf && ra_types+=" serf"
|
||||
|
||||
local pid_file
|
||||
for pid_file in svnserve.pid apache.pid memcached.pid; do
|
||||
rm -f "${T}/${pid_file}"
|
||||
done
|
||||
|
||||
termination() {
|
||||
local die="$1" pid_file
|
||||
if [[ -n "${die}" ]]; then
|
||||
echo -e "\n\e[1;31mKilling of child processes...\e[0m\a" > /dev/tty
|
||||
fi
|
||||
for pid_file in svnserve.pid apache.pid memcached.pid; do
|
||||
if [[ -f "${T}/${pid_file}" ]]; then
|
||||
kill "$(<"${T}/${pid_file}")"
|
||||
fi
|
||||
done
|
||||
if [[ -n "${die}" ]]; then
|
||||
sleep 6
|
||||
die "Termination"
|
||||
fi
|
||||
}
|
||||
|
||||
trap 'termination 1 &' SIGINT SIGTERM
|
||||
|
||||
SVN_TEST_SVNSERVE_PORT="${SVN_TEST_SVNSERVE_PORT:-62209}"
|
||||
LC_ALL="C" subversion/svnserve/svnserve -dr "subversion/tests/cmdline" --listen-port "${SVN_TEST_SVNSERVE_PORT}" --log-file "${T}/svnserve.log" --pid-file "${T}/svnserve.pid"
|
||||
if use webdav-neon || use webdav-serf; then
|
||||
SVN_TEST_APACHE_PORT="${SVN_TEST_APACHE_PORT:-62208}"
|
||||
create_apache_tests_configuration
|
||||
"${APACHE_BIN}" -f "${T}/apache/apache.conf"
|
||||
fi
|
||||
if [[ -n "${SVN_TEST_FSFS_MEMCACHED}" ]]; then
|
||||
SVN_TEST_FSFS_MEMCACHED_PORT="${SVN_TEST_FSFS_MEMCACHED_PORT:-62210}"
|
||||
sed -e "/\[memcached-servers\]/akey = 127.0.0.1:${SVN_TEST_FSFS_MEMCACHED_PORT}" -i subversion/tests/tests.conf
|
||||
memcached -dp "${SVN_TEST_FSFS_MEMCACHED_PORT}" -P "${T}/memcached.pid"
|
||||
fi
|
||||
if [[ -n "${SVN_TEST_FSFS_SHARDING}" ]]; then
|
||||
options+=" FSFS_SHARDING=${SVN_TEST_FSFS_SHARDING}"
|
||||
fi
|
||||
if [[ -n "${SVN_TEST_FSFS_PACKING}" ]]; then
|
||||
options+=" FSFS_PACKING=1"
|
||||
fi
|
||||
# if [[ -n "${SVN_TEST_SASL}" ]]; then
|
||||
# options+=" ENABLE_SASL=1"
|
||||
# fi
|
||||
|
||||
sleep 6
|
||||
|
||||
for ra_type in ${ra_types}; do
|
||||
for fs_type in ${fs_types}; do
|
||||
[[ "${ra_type}" == "local" && "${fs_type}" == "bdb" ]] && continue
|
||||
print
|
||||
print --blue "Testing of ra_${ra_type} + $(echo ${fs_type} | tr '[:lower:]' '[:upper:]')"
|
||||
print
|
||||
set_tests_variables ${ra_type}
|
||||
time emake check FS_TYPE="${fs_type}" BASE_URL="${base_url}" HTTP_LIBRARY="${http_library}" CLEANUP="1" ${options} || failed_tests="1"
|
||||
mv tests.log "${T}/tests-ra_${ra_type}-${fs_type}.log"
|
||||
done
|
||||
done
|
||||
unset base_url http_library
|
||||
termination
|
||||
trap - SIGINT SIGTERM
|
||||
|
||||
if [[ -n "${SVN_TEST_BINDINGS}" ]]; then
|
||||
local swig_lingua swig_linguas
|
||||
local -A linguas
|
||||
|
||||
if use ctypes-python; then
|
||||
print
|
||||
print --blue "Testing of Subversion Ctypes Python bindings"
|
||||
print
|
||||
ctypes_python_bindings_testing() {
|
||||
rm -f subversion/bindings/ctypes-python
|
||||
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
|
||||
time emake check-ctypes-python || failed_tests="1"
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Testing of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Testing of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
ctypes_python_bindings_testing
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
print
|
||||
print --blue "Testing of Subversion SWIG Python bindings"
|
||||
print
|
||||
swig_python_bindings_testing() {
|
||||
rm -f subversion/bindings/swig/python
|
||||
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
|
||||
time emake PYTHON_VERSION="$(python_get_version)" check-swig-py || failed_tests="1"
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Testing of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Testing of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
swig_python_bindings_testing
|
||||
fi
|
||||
|
||||
use perl && swig_linguas+=" pl"
|
||||
use ruby && swig_linguas+=" rb"
|
||||
|
||||
linguas[pl]="Perl"
|
||||
linguas[rb]="Ruby"
|
||||
|
||||
for swig_lingua in ${swig_linguas}; do
|
||||
print
|
||||
print --blue "Testing of Subversion SWIG ${linguas[${swig_lingua}]} bindings"
|
||||
print
|
||||
time emake check-swig-${swig_lingua} || failed_tests="1"
|
||||
done
|
||||
|
||||
if use java; then
|
||||
print
|
||||
print --blue "Testing of Subversion JavaHL library"
|
||||
print
|
||||
time emake check-javahl || failed_tests="1"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -n "${failed_tests}" ]]; then
|
||||
ewarn
|
||||
ewarn "\e[1;31mTests failed\e[0m"
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
print
|
||||
print "Installation of core of Subversion"
|
||||
print
|
||||
emake -j1 DESTDIR="${D}" local-install || die "Installation of core of Subversion failed"
|
||||
|
||||
if use ctypes-python; then
|
||||
print
|
||||
print "Installation of Subversion Ctypes Python bindings"
|
||||
print
|
||||
ctypes_python_bindings_installation() {
|
||||
rm -f subversion/bindings/ctypes-python
|
||||
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
|
||||
emake DESTDIR="${D}" install-ctypes-python
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Installation of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Installation of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
ctypes_python_bindings_installation
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
print
|
||||
print "Installation of Subversion SWIG Python bindings"
|
||||
print
|
||||
swig_python_bindings_installation() {
|
||||
rm -f subversion/bindings/swig/python
|
||||
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
|
||||
emake -j1 \
|
||||
DESTDIR="${D}" \
|
||||
PYTHON_VERSION="$(python_get_version)" \
|
||||
swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \
|
||||
swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \
|
||||
install-swig-py
|
||||
}
|
||||
python_execute_function \
|
||||
--action-message 'Installation of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
|
||||
--failure-message 'Installation of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
|
||||
swig_python_bindings_installation
|
||||
|
||||
delete_static_libraries() {
|
||||
find "${ED}$(python_get_sitedir)" -name "*.a" -print0 | xargs -0 rm -f
|
||||
}
|
||||
python_execute_function -q delete_static_libraries
|
||||
fi
|
||||
|
||||
if use ctypes-python || use python; then
|
||||
python_clean_installation_image -q
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
print
|
||||
print "Installation of Subversion SWIG Perl bindings"
|
||||
print
|
||||
emake -j1 DESTDIR="${D}" INSTALLDIRS="vendor" install-swig-pl || die "Installation of Subversion SWIG Perl bindings failed"
|
||||
fixlocalpod
|
||||
find "${ED}" "(" -name .packlist -o -name "*.bs" ")" -print0 | xargs -0 rm -fr
|
||||
fi
|
||||
|
||||
if use ruby; then
|
||||
print
|
||||
print "Installation of Subversion SWIG Ruby bindings"
|
||||
print
|
||||
emake -j1 DESTDIR="${D}" install-swig-rb || die "Installation of Subversion SWIG Ruby bindings failed"
|
||||
find "${ED}usr/$(get_libdir)/ruby" "(" -name "*.a" -o -name "*.la" ")" -print0 | xargs -0 rm -f
|
||||
fi
|
||||
|
||||
if use java; then
|
||||
print
|
||||
print "Installation of Subversion JavaHL library"
|
||||
print
|
||||
emake -j1 DESTDIR="${D}" install-javahl || die "Installation of Subversion JavaHL library failed"
|
||||
java-pkg_regso "${ED}"usr/$(get_libdir)/libsvnjavahl*.so
|
||||
java-pkg_dojar "${ED}"usr/$(get_libdir)/svn-javahl/svn-javahl.jar
|
||||
rm -fr "${ED}"usr/$(get_libdir)/svn-javahl/*.jar
|
||||
fi
|
||||
|
||||
# Install Apache module configuration.
|
||||
if use apache2; then
|
||||
mkdir -p "${D}${APACHE_MODULES_CONFDIR}"
|
||||
cat << EOF > "${D}${APACHE_MODULES_CONFDIR}"/47_mod_dav_svn.conf
|
||||
<IfDefine SVN>
|
||||
LoadModule dav_svn_module modules/mod_dav_svn.so
|
||||
<IfDefine SVN_AUTHZ>
|
||||
LoadModule authz_svn_module modules/mod_authz_svn.so
|
||||
</IfDefine>
|
||||
|
||||
# Example configuration:
|
||||
#<Location /svn/repos>
|
||||
# DAV svn
|
||||
# SVNPath ${SVN_REPOS_LOC}/repos
|
||||
# AuthType Basic
|
||||
# AuthName "Subversion repository"
|
||||
# AuthUserFile ${SVN_REPOS_LOC}/conf/svnusers
|
||||
# Require valid-user
|
||||
#</Location>
|
||||
</IfDefine>
|
||||
EOF
|
||||
fi
|
||||
|
||||
# Install Bash Completion, bug 43179.
|
||||
dobashcompletion tools/client-side/bash_completion subversion
|
||||
rm -f tools/client-side/bash_completion
|
||||
|
||||
# Install hot backup script, bug 54304.
|
||||
newbin tools/backup/hot-backup.py svn-hot-backup
|
||||
rm -fr tools/backup
|
||||
|
||||
# Install svn_load_dirs.pl.
|
||||
if use perl; then
|
||||
dobin contrib/client-side/svn_load_dirs/svn_load_dirs.pl
|
||||
fi
|
||||
rm -f contrib/client-side/svn_load_dirs/svn_load_dirs.pl
|
||||
|
||||
# Install svnserve init-script and xinet.d snippet, bug 43245.
|
||||
newinitd "${FILESDIR}"/svnserve.initd svnserve
|
||||
newconfd "${FILESDIR}"/svnserve.confd svnserve
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}"/svnserve.xinetd svnserve
|
||||
|
||||
# Install documentation.
|
||||
dodoc CHANGES COMMITTERS README
|
||||
dodoc tools/xslt/svnindex.{css,xsl}
|
||||
rm -fr tools/xslt
|
||||
|
||||
# Install Vim syntax files.
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins contrib/client-side/vim/svn.vim
|
||||
fi
|
||||
rm -f contrib/client-side/vim/svn.vim
|
||||
|
||||
# Install Emacs Lisps.
|
||||
if use emacs; then
|
||||
elisp-install ${PN} contrib/client-side/emacs/{dsvn,psvn}.{el,elc} doc/svn-doc.{el,elc} doc/tools/svnbook.{el,elc} || die "Installation of Emacs modules failed"
|
||||
elisp-install ${PN}/compat contrib/client-side/emacs/vc-svn.{el,elc} || die "Installation of Emacs modules failed"
|
||||
touch "${ED}${SITELISP}/${PN}/compat/.nosearch"
|
||||
elisp-site-file-install "${FILESDIR}/70svn-gentoo.el" || die "Installation of Emacs site-init file failed"
|
||||
fi
|
||||
rm -fr contrib/client-side/emacs
|
||||
|
||||
# Install extra files.
|
||||
if use extras; then
|
||||
print
|
||||
print "Installation of contrib and tools"
|
||||
print
|
||||
|
||||
cat << EOF > 80subversion-extras
|
||||
PATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
|
||||
ROOTPATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
|
||||
EOF
|
||||
doenvd 80subversion-extras
|
||||
|
||||
emake DESTDIR="${D}" contribdir="/usr/$(get_libdir)/subversion/bin" install-contrib || die "Installation of contrib failed"
|
||||
emake DESTDIR="${D}" toolsdir="/usr/$(get_libdir)/subversion/bin" install-tools || die "Installation of tools failed"
|
||||
|
||||
find contrib tools "(" -name "*.bat" -o -name "*.in" -o -name ".libs" ")" -print0 | xargs -0 rm -fr
|
||||
rm -fr contrib/client-side/svn-push
|
||||
rm -fr contrib/server-side/svnstsw
|
||||
rm -fr tools/client-side/svnmucc
|
||||
rm -fr tools/server-side/{svn-populate-node-origins-index,svnauthz-validate}*
|
||||
rm -fr tools/{buildbot,dev,diff,po}
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r contrib tools
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
print
|
||||
print "Installation of Subversion HTML documentation"
|
||||
print
|
||||
dohtml -r doc/doxygen/html/* || die "Installation of Subversion HTML documentation failed"
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r notes
|
||||
ecompressdir /usr/share/doc/${PF}/notes
|
||||
|
||||
# if use ruby; then
|
||||
# emake DESTDIR="${D}" install-swig-rb-doc
|
||||
# fi
|
||||
|
||||
if use java; then
|
||||
java-pkg_dojavadoc doc/javadoc
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Compare versions of Berkeley DB, bug 122877.
|
||||
if use berkdb && [[ -f "${EROOT}usr/bin/svn" ]]; then
|
||||
OLD_BDB_VERSION="$(scanelf -nq "${EROOT}usr/$(get_libdir)/libsvn_subr-1.so.0" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
|
||||
NEW_BDB_VERSION="$(scanelf -nq "${ED}usr/$(get_libdir)/libsvn_subr-1.so.0" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
|
||||
if [[ "${OLD_BDB_VERSION}" != "${NEW_BDB_VERSION}" ]]; then
|
||||
CHANGED_BDB_VERSION="1"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
use perl && perl-module_pkg_postinst
|
||||
|
||||
if use ctypes-python; then
|
||||
python_mod_optimize csvn
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_mod_optimize libsvn svn
|
||||
fi
|
||||
|
||||
elog "Subversion Server Notes"
|
||||
elog "-----------------------"
|
||||
elog
|
||||
elog "If you intend to run a server, a repository needs to be created using"
|
||||
elog "svnadmin (see man svnadmin) or the following command to create it in"
|
||||
elog "${SVN_REPOS_LOC}:"
|
||||
elog
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
elog
|
||||
elog "Subversion has multiple server types, take your pick:"
|
||||
elog
|
||||
elog " - svnserve daemon: "
|
||||
elog " 1. Edit /etc/conf.d/svnserve"
|
||||
elog " 2. Fix the repository permissions (see \"Fixing the repository permissions\")"
|
||||
elog " 3. Start daemon: /etc/init.d/svnserve start"
|
||||
elog " 4. Make persistent: rc-update add svnserve default"
|
||||
elog
|
||||
elog " - svnserve via xinetd:"
|
||||
elog " 1. Edit /etc/xinetd.d/svnserve (remove disable line)"
|
||||
elog " 2. Fix the repository permissions (see \"Fixing the repository permissions\")"
|
||||
elog " 3. Restart xinetd.d: /etc/init.d/xinetd restart"
|
||||
elog
|
||||
elog " - svn over ssh:"
|
||||
elog " 1. Fix the repository permissions (see \"Fixing the repository permissions\")"
|
||||
elog " Additionally run:"
|
||||
elog " groupadd svnusers"
|
||||
elog " chown -R root:svnusers ${SVN_REPOS_LOC}/repos"
|
||||
elog " 2. Create an svnserve wrapper in /usr/local/bin to set the umask you"
|
||||
elog " want, for example:"
|
||||
elog " #!/bin/bash"
|
||||
elog " . /etc/conf.d/svnserve"
|
||||
elog " umask 007"
|
||||
elog " exec /usr/bin/svnserve \${SVNSERVE_OPTS} \"\$@\""
|
||||
elog
|
||||
|
||||
if use apache2; then
|
||||
elog " - http-based server:"
|
||||
elog " 1. Edit /etc/conf.d/apache2 to include both \"-D DAV\" and \"-D SVN\""
|
||||
elog " 2. Create an htpasswd file:"
|
||||
elog " htpasswd2 -m -c ${SVN_REPOS_LOC}/conf/svnusers USERNAME"
|
||||
elog " 3. Fix the repository permissions (see \"Fixing the repository permissions\")"
|
||||
elog " 4. Restart Apache: /etc/init.d/apache2 restart"
|
||||
elog
|
||||
fi
|
||||
|
||||
elog " Fixing the repository permissions:"
|
||||
elog " chmod -Rf go-rwx ${SVN_REPOS_LOC}/conf"
|
||||
elog " chmod -Rf g-w,o-rwx ${SVN_REPOS_LOC}/repos"
|
||||
elog " chmod -Rf g+rw ${SVN_REPOS_LOC}/repos/db"
|
||||
elog " chmod -Rf g+rw ${SVN_REPOS_LOC}/repos/locks"
|
||||
elog
|
||||
|
||||
elog "If you intend to use svn-hot-backup, you can specify the number of"
|
||||
elog "backups to keep per repository by specifying an environment variable."
|
||||
elog "If you want to keep e.g. 2 backups, do the following:"
|
||||
elog "echo '# hot-backup: Keep that many repository backups around' > /etc/env.d/80subversion"
|
||||
elog "echo 'SVN_HOTBACKUP_BACKUPS_NUMBER=2' >> /etc/env.d/80subversion"
|
||||
elog
|
||||
|
||||
elog "Subversion contains support for the use of Memcached"
|
||||
elog "to cache data of FSFS repositories."
|
||||
elog "You should install \"net-misc/memcached\", start memcached"
|
||||
elog "and configure your FSFS repositories, if you want to use this feature."
|
||||
elog "See the documentation for details."
|
||||
elog
|
||||
|
||||
if [[ -n "${CHANGED_BDB_VERSION}" ]]; then
|
||||
ewarn "You upgraded from an older version of Berkeley DB and may experience"
|
||||
ewarn "problems with your repository. Run the following commands as root to fix it:"
|
||||
ewarn " db4_recover -h ${SVN_REPOS_LOC}/repos"
|
||||
ewarn " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
use perl && perl-module_pkg_postrm
|
||||
|
||||
if use ctypes-python; then
|
||||
python_mod_cleanup csvn
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_mod_cleanup libsvn svn
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
einfo "Initializing the database in ${EROOT}${SVN_REPOS_LOC}..."
|
||||
if [[ -e "${EROOT}${SVN_REPOS_LOC}/repos" ]]; then
|
||||
echo "A Subversion repository already exists and I will not overwrite it."
|
||||
echo "Delete \"${EROOT}${SVN_REPOS_LOC}/repos\" first if you're sure you want to have a clean version."
|
||||
else
|
||||
mkdir -p "${EROOT}${SVN_REPOS_LOC}/conf"
|
||||
|
||||
einfo "Populating repository directory..."
|
||||
# Create initial repository.
|
||||
"${EROOT}usr/bin/svnadmin" create "${EROOT}${SVN_REPOS_LOC}/repos"
|
||||
|
||||
einfo "Setting repository permissions..."
|
||||
SVNSERVE_USER="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_USER}")"
|
||||
SVNSERVE_GROUP="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_GROUP}")"
|
||||
if use apache2; then
|
||||
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="apache"
|
||||
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="apache"
|
||||
else
|
||||
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="svn"
|
||||
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="svnusers"
|
||||
enewgroup "${SVNSERVE_GROUP}"
|
||||
enewuser "${SVNSERVE_USER}" -1 -1 "${SVN_REPOS_LOC}" "${SVNSERVE_GROUP}"
|
||||
fi
|
||||
chown -Rf "${SVNSERVE_USER}:${SVNSERVE_GROUP}" "${EROOT}${SVN_REPOS_LOC}/repos"
|
||||
chmod -Rf go-rwx "${EROOT}${SVN_REPOS_LOC}/conf"
|
||||
chmod -Rf o-rwx "${EROOT}${SVN_REPOS_LOC}/repos"
|
||||
fi
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
# HG changeset patch
|
||||
# User Yuya Nishihara <yuya@tcha.org>
|
||||
# Date 1319557903 -32400
|
||||
# Node ID f3817a7abb17cb14bdbb428b63345fb2d17f0853
|
||||
# Parent 08559b0a658f824b99294ac12cd2e472f4cd5129
|
||||
hgversion: carry minor digit to major like 1.9 to 2.0
|
||||
|
||||
diff --git a/tortoisehg/util/hgversion.py b/tortoisehg/util/hgversion.py
|
||||
--- a/tortoisehg/util/hgversion.py
|
||||
+++ b/tortoisehg/util/hgversion.py
|
||||
@@ -26,8 +26,7 @@
|
||||
vers = re.split(r'\.|-', v)[:2]
|
||||
if vers == reqver or len(vers) < 2:
|
||||
return
|
||||
- nextver = list(reqver)
|
||||
- nextver[1] = str(int(reqver[1])+1)
|
||||
+ nextver = map(str, divmod(int(reqver[0]) * 10 + int(reqver[1]) + 1, 10))
|
||||
if vers == nextver:
|
||||
return
|
||||
return (('This version of TortoiseHg requires Mercurial '
|
@ -0,0 +1,19 @@
|
||||
# HG changeset patch
|
||||
# User Yuya Nishihara <yuya@tcha.org>
|
||||
# Date 1327248119 -32400
|
||||
# Node ID d5dc83c7fc47f6692887f5af6bb7b1c819e7ad8e
|
||||
# Parent 54c988c2eb8442d3cb121b8ba73973bcdcbac467
|
||||
hgversion: bump required Mercurial version to 2.0
|
||||
|
||||
diff --git a/tortoisehg/util/hgversion.py b/tortoisehg/util/hgversion.py
|
||||
--- a/tortoisehg/util/hgversion.py
|
||||
+++ b/tortoisehg/util/hgversion.py
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
def checkhgversion(v):
|
||||
"""range check the Mercurial version"""
|
||||
- reqver = ['1', '9']
|
||||
+ reqver = ['2', '0']
|
||||
v = v.split('+')[0]
|
||||
if not v or v == 'unknown' or len(v) >= 12:
|
||||
# can't make any intelligent decisions about unknown or hashes
|
@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/tortoisehg/tortoisehg-2.2.ebuild,v 1.1 2011/11/07 20:39:34 floppym Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
RESTRICT_PYTHON_ABIS="2.4 3.*"
|
||||
|
||||
inherit distutils eutils multilib
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="http://bitbucket.org/${PN}/targz/downloads/${P}.tar.gz"
|
||||
else
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://bitbucket.org/tortoisehg/thg"
|
||||
KEYWORDS=""
|
||||
SRC_URI=""
|
||||
fi
|
||||
|
||||
DESCRIPTION="Set of graphical tools for Mercurial"
|
||||
HOMEPAGE="http://tortoisehg.bitbucket.org"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="doc nautilus"
|
||||
|
||||
RDEPEND="dev-python/iniparse
|
||||
dev-python/pygments
|
||||
dev-python/PyQt4
|
||||
dev-python/qscintilla-python
|
||||
>=dev-vcs/mercurial-1.9
|
||||
nautilus? ( dev-python/nautilus-python )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( >=dev-python/sphinx-1.0.3 )"
|
||||
|
||||
src_prepare() {
|
||||
# make the install respect multilib.
|
||||
sed -i -e "s:lib/nautilus:$(get_libdir)/nautilus:" setup.py || die
|
||||
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use doc ; then
|
||||
emake -C doc html
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
dodoc doc/ReadMe*.txt doc/TODO
|
||||
|
||||
if use doc ; then
|
||||
dohtml -r doc/build/html || die
|
||||
fi
|
||||
|
||||
insinto /usr/share/icons/hicolor/scalable/apps
|
||||
newins icons/scalable/apps/thg-logo.svg tortoisehg_logo.svg
|
||||
domenu contrib/${PN}.desktop
|
||||
|
||||
if ! use nautilus; then
|
||||
rm -r "${ED}usr/$(get_libdir)/nautilus" || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-misc/entropy-kioslaves/entropy-kioslaves-1.0_rc87.ebuild,v 1.1 2012/02/12 07:27:22 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
KDE_MINIMAL="4.2"
|
||||
inherit eutils kde4-base
|
||||
|
||||
DESCRIPTION="Entropy Package Manager KDE kioslaves support"
|
||||
HOMEPAGE="http://www.sabayon.org"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
||||
|
||||
S="${WORKDIR}/entropy-${PV}"
|
||||
|
||||
RDEPEND=">=app-admin/sulfur-${PV}"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
einfo "nothing to prepare"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
einfo "nothing to configure"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "nothing to compile"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir "/${KDEDIR}/share/kde4/services/"
|
||||
insinto "/${KDEDIR}/share/kde4/services/"
|
||||
doins "${S}/sulfur/misc/entropy.protocol"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
kde4-base_pkg_postrm
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-misc/magneto-kde/magneto-kde-1.0_rc87.ebuild,v 1.1 2012/02/12 07:29:48 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="Entropy Package Manager notification applet KDE frontend"
|
||||
HOMEPAGE="http://www.sabayon.org"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
|
||||
S="${WORKDIR}/entropy-${PV}/magneto"
|
||||
|
||||
RDEPEND="~app-misc/magneto-loader-${PV}
|
||||
kde-base/pykde4
|
||||
dev-python/PyQt4[dbus]"
|
||||
DEPEND=""
|
||||
|
||||
src_compile() {
|
||||
einfo "nothing to compile"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="usr/lib" magneto-kde-install || die "make install failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize "/usr/lib/entropy/magneto/magneto/kde"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup "/usr/lib/entropy/magneto/magneto/kde"
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
diff -Npur blender-2.61.orig/build_files/scons/tools/Blender.py blender-2.61/build_files/scons/tools/Blender.py
|
||||
--- blender-2.61.orig/build_files/scons/tools/Blender.py 2012-02-08 22:33:29.133700566 +0100
|
||||
+++ blender-2.61/build_files/scons/tools/Blender.py 2012-02-08 22:35:13.459698722 +0100
|
||||
@@ -276,10 +276,7 @@ def setup_syslibs(lenv):
|
||||
syslibs += Split(lenv['BF_PTHREADS_LIB'])
|
||||
if lenv['WITH_BF_COLLADA']:
|
||||
syslibs.append(lenv['BF_PCRE_LIB'])
|
||||
- if lenv['BF_DEBUG']:
|
||||
- syslibs += [colladalib+'_d' for colladalib in Split(lenv['BF_OPENCOLLADA_LIB'])]
|
||||
- else:
|
||||
- syslibs += Split(lenv['BF_OPENCOLLADA_LIB'])
|
||||
+ syslibs += Split(lenv['BF_OPENCOLLADA_LIB'])
|
||||
syslibs.append(lenv['BF_EXPAT_LIB'])
|
||||
if lenv['WITH_BF_COLAMD']:
|
||||
syslibs += Split(lenv['BF_COLAMD_LIB'])
|
@ -1,4 +1,4 @@
|
||||
DIST libjpeg-turbo-1.1.1.tar.gz 1444529 RMD160 d70979dabe05b8eb74cddaaf0ffbd4b9fbaba41a SHA1 131cef514c34e0b3f6952000968796d5a87a59e9 SHA256 553b1f5a968fb9efc089623ed99be2aa6bc21586be92eb04848489c91a63f1e2
|
||||
DIST libjpeg-turbo-1.1.90_p20120210.tar.xz 898568 RMD160 0b6f462cdfff4c32c8195cbd6ab7fa7146761c44 SHA1 302154276c2d5c39d856c71dfcfe2cfde1a1a9ed SHA256 733067b3f53c27776a29b5aa75c1b7822a1b0fddde41be59e17de905a689b0e8
|
||||
DIST libjpeg-turbo-1.2.0.tar.gz 1752925 RMD160 d60a7de07c3164aeb1800ba21a86782e195f00f8 SHA1 4ab00afc9a8d54cd2e7a67aacb9c49e01a8bccac SHA256 629db2a9b1295a1b0e5fa8dddda36c5da61a90536bef8295e0b209cbcd50f98e
|
||||
DIST libjpeg8_8c-1.debian.tar.gz 13756 RMD160 7ceb995b47678bc841e217deaa32f05d70f8d80e SHA1 0c95ebe091e3d535d9d6d8c128ec8bd07e0542fb SHA256 2d45eb7302d2c9a5b6cf12784629ec1bdbbb271a10d600532e5fbde3c19ea765
|
||||
DIST libjpeg8_8c-2.debian.tar.gz 13762 RMD160 b7667ccf6d15381d21a08ea359ce88040689c160 SHA1 da0bdf4310454d32a4e3749eb0ff9e0548bb57dd SHA256 079cd7dccdeede2115415b87fb7e8bbd7ace4e96ef9abb30a2aed5e26ac3d1bb
|
||||
DIST libjpeg8_8d-1.debian.tar.gz 13676 RMD160 9a60fe29a866b76935f8e26c7bf90324e1dc0ce6 SHA1 00b45ec61555c86da250f3a73823c7d46cfd81aa SHA256 70ec6689b0ad85739802cf3ebbdcc12ea01e21edd8f931c614b25b44cf199057
|
||||
|
@ -0,0 +1,13 @@
|
||||
--- dvdarchive-2.3-beta.sh 2009-10-06 16:23:20.000000000 +0200
|
||||
+++ dvdarchive-2.3-beta.sh 2009-10-06 17:32:43.000000000 +0200
|
||||
@@ -118,6 +118,10 @@
|
||||
DEBUGLOG="/tmp/dvdarchive.sh-debug.log"
|
||||
|
||||
#</Configuration>
|
||||
+
|
||||
+# read config file
|
||||
+. /etc/vdr/dvdarchive.conf
|
||||
+
|
||||
#
|
||||
# No changes needed after this mark
|
||||
|
@ -1 +1,2 @@
|
||||
DIST qsstv_7.1.6.tgz 2116435 RMD160 c574ab69a6b5887c895897bd9d955903fe46da66 SHA1 8e9906f84fb69b73d10ff2118dde8701af377f58 SHA256 5c7b8c4f9ee979591fb202f0c7fa7cd60261a010bb31f9f1c965f895ddb9a397
|
||||
DIST qsstv_7.1.7.tgz 2116410 RMD160 6c0bf61b04b50272ab2be560ea6c9fab46e0b09a SHA1 3b3080cc6fd1ba1821868db2569f288872c29c09 SHA256 ae713985af1072ab267c280dcb81c830a9a026545cf402444e1f72a3e7f25f00
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-radio/qsstv/qsstv-7.1.7.ebuild,v 1.1 2012/02/12 09:13:46 tomjbe Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib qt4-r2
|
||||
|
||||
MY_P=${P/-/_}
|
||||
|
||||
DESCRIPTION="Amateur radio SSTV software"
|
||||
HOMEPAGE="http://users.telenet.be/on4qz/"
|
||||
SRC_URI="http://users.telenet.be/on4qz/qsstv/downloads/${MY_P}.tgz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="x11-libs/qt-core[qt3support]
|
||||
media-libs/hamlib
|
||||
media-libs/alsa-lib
|
||||
sci-libs/fftw:3.0"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# fix docdirectory, install path and hamlib search path
|
||||
sed -i -e "s:/doc/\$\$TARGET:/doc/${PF}:" \
|
||||
-e "s:local/bin:/bin:" \
|
||||
-e "s:target.extra:#target.extra:" \
|
||||
-e "s:-lhamlib:-L/usr/$(get_libdir)/hamlib -lhamlib:g" src/src.pro
|
||||
sed -i -e "s:doc/qsstv:doc/${PF}:" src/configdialog.cpp
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
~sys-apps/entropy-1.0_rc87 >=app-admin/eselect-python-20091230 =dev-lang/python-2*
|
||||
~sys-apps/entropy-1.0_rc87 sys-apps/file[python] >=app-admin/eselect-python-20091230 =dev-lang/python-2*
|
||||
0
|
||||
mirror://sabayon/sys-apps/entropy-1.0_rc87.tar.bz2
|
||||
|
||||
http://www.sabayon.org
|
||||
GPL-2
|
||||
Entropy Package Manager text-based client
|
||||
~amd64 ~arm ~x86
|
||||
bash-completion-r1 eutils multilib portability python toolchain-funcs user
|
||||
|
||||
|
||||
|
||||
|
||||
3
|
||||
|
||||
compile install postinst postrm
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
>=dev-lang/ghc-6.12.1
|
||||
|| ( >=sys-apps/portage-2.1.6 sys-apps/pkgcore sys-apps/paludis )
|
||||
0
|
||||
http://hackage.haskell.org/packages/archive/haskell-updater/1.2.0.1/haskell-updater-1.2.0.1.tar.gz
|
||||
|
||||
http://haskell.org/haskellwiki/Gentoo#haskell-updater
|
||||
GPL-2
|
||||
Rebuild Haskell dependencies in Gentoo
|
||||
~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris
|
||||
eutils ghc-package haskell-cabal multilib portability toolchain-funcs user versionator
|
||||
|
||||
|
||||
|
||||
|
||||
3
|
||||
|
||||
compile configure install postinst prepare prerm setup test
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
>=dev-lang/ghc-6.12.1
|
||||
|| ( >=sys-apps/portage-2.1.6 sys-apps/pkgcore sys-apps/paludis )
|
||||
0
|
||||
http://hackage.haskell.org/packages/archive/haskell-updater/1.2.0.0/haskell-updater-1.2.0.0.tar.gz
|
||||
http://hackage.haskell.org/packages/archive/haskell-updater/1.2.0.5/haskell-updater-1.2.0.5.tar.gz
|
||||
|
||||
http://haskell.org/haskellwiki/Gentoo#haskell-updater
|
||||
GPL-2
|
@ -0,0 +1,22 @@
|
||||
sys-devel/gettext >=sys-apps/sed-4 >=app-admin/eselect-python-20091230 =dev-lang/python-2*
|
||||
dev-python/pygtk:2 ~sys-apps/entropy-1.0_rc87 sys-apps/file[python] sys-devel/gettext x11-libs/vte:0[python] x11-misc/xdg-utils >=app-admin/eselect-python-20091230 =dev-lang/python-2*
|
||||
0
|
||||
mirror://sabayon/sys-apps/entropy-1.0_rc87.tar.bz2
|
||||
|
||||
http://www.sabayon.org
|
||||
GPL-2
|
||||
Sulfur, the Entropy Package Manager Store
|
||||
~amd64 ~arm ~x86
|
||||
eutils fdo-mime gnome2-utils multilib portability python toolchain-funcs user
|
||||
|
||||
|
||||
|
||||
|
||||
3
|
||||
|
||||
compile install postinst postrm
|
||||
|
||||
|
||||
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue