From 92dd6a8184629da41ce089bd6f165cb6817fd924 Mon Sep 17 00:00:00 2001 From: Torsten Kurbad Date: Wed, 9 Jun 2010 18:15:45 +0000 Subject: [PATCH] Added old subversion (1.5.7) ebuild git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@13504 cbe59ace-07ea-0310-918e-868702b5370d --- dev-util/subversion/Manifest | 2 +- dev-util/subversion/subversion-1.5.7.ebuild | 95 +-------------------- 2 files changed, 5 insertions(+), 92 deletions(-) diff --git a/dev-util/subversion/Manifest b/dev-util/subversion/Manifest index a5b96f7..e965fb6 100644 --- a/dev-util/subversion/Manifest +++ b/dev-util/subversion/Manifest @@ -4,4 +4,4 @@ AUX svnserve.confd2 320 RMD160 dc1e74d06d9bd3eeb1a8dfd20aacebecd8378abb SHA1 557 AUX svnserve.initd 817 RMD160 59f4e8e983d4595b7c27615889a9c0809d015a18 SHA1 483b47512fb444c0f752ad4eb6c3252f659a967e SHA256 6b483e211b5c311079605e246fca9228c7e5762d27a023fa4c4529fdaa766b08 AUX svnserve.xinetd 332 RMD160 c2fc4eb02da7e7405756fce650b8897f0a9da7f7 SHA1 d7d478fc257a40626888f9b12ee218df55dac570 SHA256 267f30c78ef6428aeeb97d3c64c06b9acfba4bc624766fc3c6a6d2c4133799a2 DIST subversion-1.5.7.tar.bz2 4952962 RMD160 eede9db32d516b19d246e6ccba1d6f25222e04de SHA1 1fecff77387a48f0d48fd87c59fe5deb87407f16 SHA256 5a7665508d4fa5875d797cf4294a7ce6dd412e56c104acc39667271651ea3ba0 -EBUILD subversion-1.5.7.ebuild 31023 RMD160 f7dc34fc0f03e27da0b99241b461126270942ed1 SHA1 8f9d2febc47fcc3de9523985330d9a2b5f0f1c2a SHA256 047f73ab369b51e3c2d7d62e26b348f3cf4dd9648acd31d73895f40bf2140a5d +EBUILD subversion-1.5.7.ebuild 27739 RMD160 cdab216ce12b85880d2548140575ed005c3418f3 SHA1 24905beb6065f260cf8d28dc9b1c05f1871a1780 SHA256 55476bff63ce7f074966219419cc8e2589bed8dde4b7730e6a43ba4b9858b084 diff --git a/dev-util/subversion/subversion-1.5.7.ebuild b/dev-util/subversion/subversion-1.5.7.ebuild index eff4e3f..35d0eab 100644 --- a/dev-util/subversion/subversion-1.5.7.ebuild +++ b/dev-util/subversion/subversion-1.5.7.ebuild @@ -17,18 +17,14 @@ RESTRICT="nomirror" LICENSE="Subversion" SLOT="0" KEYWORDS="~amd64 ~x86" -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" +IUSE="apache2 berkdb debug doc +dso emacs extras java 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 +CDEPEND=">=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 ) @@ -38,7 +34,6 @@ CDEPEND=">=dev-db/sqlite-3.4[threadsafe] 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="|| ( @@ -47,11 +42,8 @@ APACHE_TEST_DEPEND="|| ( )" 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* @@ -70,11 +62,6 @@ S="${WORKDIR}/${P/_/-}" : ${SVN_REPOS_LOC:=/var/svn} 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 @@ -98,10 +85,6 @@ 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" @@ -132,12 +115,6 @@ pkg_setup() { elog " SVN_TEST_FSFS_SHARDING=integer - Enable sharding of FSFS repositories and set default shard size for FSFS repositories" elog " SVN_TEST_FSFS_PACKING=1 - Enable packing of FSFS repositories" elog " (SVN_TEST_FSFS_PACKING requires SVN_TEST_FSFS_SHARDING)" -# if use sasl; then -# elog " SVN_TEST_SASL=1 - Enable SASL authentication" -# fi - if use ctypes-python || use java || use perl || use python || use ruby; then - elog " SVN_TEST_BINDINGS=1 - Enable testing of bindings" - fi if use java || use perl || use python || use ruby; then elog " (Testing of bindings requires ${CATEGORY}/${PF})" fi @@ -229,25 +206,20 @@ src_configure() { econf --libdir="/usr/$(get_libdir)" \ $(use_with apache2 apxs "${APXS}") \ $(use_with berkdb berkeley-db "db.h:/usr/include/db${SVN_BDB_VERSION}::db-${SVN_BDB_VERSION}") \ - $(use_with ctypes-python ctypesgen /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-neon neon /usr) \ $(use_with webdav-serf serf /usr) \ ${myconf} \ --with-apr=/usr/bin/apr-1-config \ --with-apr-util=/usr/bin/apu-1-config \ --disable-experimental-libtool \ --without-jikes \ - --enable-local-library-preloading \ --disable-mod-activation \ - --disable-neon-version-check \ - --with-sqlite=/usr + --disable-neon-version-check } src_compile() { @@ -256,23 +228,6 @@ src_compile() { einfo emake local-all || die "Building of core of Subversion failed" - if use ctypes-python; then - einfo - einfo "Building of Subversion Ctypes Python bindings" - einfo - 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 einfo einfo "Building of Subversion SWIG Python bindings" @@ -516,21 +471,6 @@ src_test() { local swig_lingua swig_linguas local -A linguas - if use ctypes-python; then - einfo - einfo "\e[1;34mTesting of Subversion Ctypes Python bindings\e[0m" - einfo - 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 einfo einfo "\e[1;34mTesting of Subversion SWIG Python bindings\e[0m" @@ -580,21 +520,6 @@ src_install() { einfo emake -j1 DESTDIR="${D}" local-install || die "Installation of core of Subversion failed" - if use ctypes-python; then - einfo - einfo "Installation of Subversion Ctypes Python bindings" - einfo - 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 einfo einfo "Installation of Subversion SWIG Python bindings" @@ -615,10 +540,6 @@ src_install() { swig_python_bindings_installation fi - if use ctypes-python || use python; then - python_clean_installation_image -q - fi - if use perl; then einfo einfo "Installation of Subversion SWIG Perl bindings" @@ -774,10 +695,6 @@ 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 @@ -860,10 +777,6 @@ 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