public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-libs/dbxml/files/, dev-libs/dbxml/
@ 2016-10-31 16:24 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2016-10-31 16:24 UTC (permalink / raw
  To: gentoo-commits

commit:     da253eac667e11739983080fbeb18a08766435cd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 31 16:19:50 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct 31 16:24:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da253eac

dev-libs/dbxml: Remove last-rited pkg, #594236

 dev-libs/dbxml/Manifest                            |   1 -
 dev-libs/dbxml/dbxml-2.5.16-r2.ebuild              | 197 ---------------------
 .../files/2.5.16-respect-ldflags-no-rpath.patch    |  18 --
 dev-libs/dbxml/metadata.xml                        |   8 -
 profiles/package.mask                              |   8 -
 5 files changed, 232 deletions(-)

diff --git a/dev-libs/dbxml/Manifest b/dev-libs/dbxml/Manifest
deleted file mode 100644
index 80a294d..00000000
--- a/dev-libs/dbxml/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST dbxml-2.5.16.tar.gz 52819154 SHA256 f2423be3805811a9cca71d6877c0b1bdc1941cd76c3f26d6eb011a5724a3edd2 SHA512 71c7db8dccd8dda64aafc2c8399129f94cb2c5b0b75176b96e3f6c57b5cd9d040418de2fdce9322f0b7f00bcd88a21aca1e2b886cf18aba942c582236d7bdc7b WHIRLPOOL 85a67e577948aebba7dcfb833aa90ab14c0d04a66e003bf878bd5655c62a26e54e7f90279d29f29c77726cb37452e9cbe13b82fe06ce92cb061fdbb119aa7670

diff --git a/dev-libs/dbxml/dbxml-2.5.16-r2.ebuild b/dev-libs/dbxml/dbxml-2.5.16-r2.ebuild
deleted file mode 100644
index a816963..00000000
--- a/dev-libs/dbxml/dbxml-2.5.16-r2.ebuild
+++ /dev/null
@@ -1,197 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-PYTHON_DEPEND="python? 2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython"
-
-inherit autotools distutils flag-o-matic perl-app eutils versionator libtool multilib java-pkg-opt-2
-
-MY_PV="$(get_version_component_range 1-3)"
-MY_P="${PN}-${MY_PV}"
-PATCH_V="$(get_version_component_range 4)"
-PATCH_V="${PATCH_V:-0}"
-DB_VER="4.8"
-
-DESCRIPTION="BerkeleyDB XML, a native XML database from the BerkeleyDB team"
-HOMEPAGE="http://www.oracle.com/technetwork/database/berkeleydb/index-083851.html
-	http://download.oracle.com/otndocs/products/berkeleydb/html/$(get_version_component_range 1-2).html"
-SRC_URI="http://download-east.oracle.com/berkeley-db/${MY_P}.tar.gz
-	http://download-west.oracle.com/berkeley-db/${MY_P}.tar.gz
-	http://download-uk.oracle.com/berkeley-db/${MY_P}.tar.gz"
-
-LICENSE="Sleepycat Apache-1.1 BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc examples java perl python tcl"
-
-RDEPEND="sys-libs/db:${DB_VER}[cxx,java?]
-	>=dev-libs/xerces-c-3
-	=dev-libs/xqilla-2.2*
-	sys-libs/zlib
-	perl? ( dev-lang/perl )
-	python? (
-		>=dev-python/bsddb3-4.8.0 )
-	tcl? ( dev-lang/tcl:0= )
-	java? ( >=virtual/jre-1.5 )"
-DEPEND="${RDEPEND}
-	sys-devel/libtool
-	java? ( >=virtual/jdk-1.5 )"
-
-# return a list of patches calculated using the micro-version
-get_patches() {
-	local patches=""
-	for (( patch_v=1 ; patch_v <= ${PATCH_V} ; patch_v++ )) ; do
-		patches="${patches} patch.${MY_PV}.${patch_v}"
-	done
-	echo ${patches}
-}
-MYPATCHES="$(get_patches)"
-
-for patch in ${MYPATCHES} ; do
-	SRC_URI="${SRC_URI} http://www.oracle.com/technology/products/berkeley-db/xml/update/${MY_PV}/${patch}"
-done
-
-S="${WORKDIR}/${MY_P}/dbxml"
-
-src_unpack() {
-	tar xzpf "${DISTDIR}/${MY_P}.tar.gz" ${MY_P}/dbxml || die "unpacking package failed"
-	for patch in ${MYPATCHES} ; do
-		cp "${DISTDIR}/${patch}" "${WORKDIR}" || die "copying patch ${patch} failed"
-	done
-}
-
-src_prepare() {
-	for patch in ${MYPATCHES} ; do
-		edos2unix "${WORKDIR}/${patch}"
-		epatch "${WORKDIR}/${patch}"
-	done
-
-	epatch "${FILESDIR}/${PV}-respect-ldflags-no-rpath.patch"
-
-	# sys-libs/db is slotted on Gentoo
-	sed -i \
-		-e "s:db_version=.*:db_version=${DB_VER}:" \
-		dist/aclocal/options.ac configure || die "sed failed"
-
-	if use java ; then
-		sed -i \
-			-e "s|\$with_berkeleydb/lib/db.jar|$(java-pkg_getjars db-${DB_VER})|" \
-			dist/aclocal/options.ac configure || die "sed failed"
-	fi
-
-	# * Fix libraries to link
-	# * Strip "../../build_unix/.libs" from LIBPATH or it'll
-	#   show up in the RPATH entry
-	sed -i \
-		-e "s|dbxml-2|dbxml-$(get_version_component_range 1-2)|" \
-		-e "s|db-4|db-${DB_VER}|" \
-		-e 's|dbxml_home = .*|dbxml_home = "../.."|' \
-		-e 's|"../../build_unix/.libs",||' \
-		src/python/setup.py.in || die "sed failed"
-
-	sed -i \
-		-e "s|dbxml-2|dbxml-$(get_version_component_range 1-2)|" \
-		-e "s|db_cxx-4|db_cxx-${DB_VER}|" \
-		-e "s|@DB_DIR@/lib|/usr/$(get_libdir)|" \
-		-e "s|@DB_DIR@/include|/usr/include/db${DB_VER}|" \
-		-e "s|@XERCES_DIR@/lib|/usr/$(get_libdir)|" \
-		-e "s|@XQILLA_DIR@/lib|/usr/$(get_libdir)|" \
-		src/perl/config.in || die "sed failed"
-
-	# avoid the automake/autoconf run in src_{configure,compile}
-	eautoreconf
-}
-
-src_configure() {
-	cd "${S}/build_unix"
-
-	#Needed despite db_version stuff above
-	append-flags -I"${EPREFIX}"/usr/include/db${DB_VER}
-
-	local myconf=""
-
-	# use_enable doesn't work here due to a different syntax
-	use java && myconf="${myconf} --enable-java"
-	use tcl && myconf="${myconf} --enable-tcl --with-tcl=${EPREFIX}/usr/$(get_libdir)"
-
-	export ac_cv_prog_path_strip="missing_strip"
-	ECONF_SOURCE="../" \
-	JAVAPREFIX="${JAVA_HOME}" \
-		econf \
-			--with-berkeleydb="${EPREFIX}"/usr \
-			--with-xqilla="${EPREFIX}"/usr \
-			--with-xerces="${EPREFIX}"/usr \
-			${myconf}
-}
-
-src_compile() {
-	cd "${S}/build_unix"
-
-	default
-
-	if use python ; then
-		einfo "Compiling python extension"
-		cd "${S}/src/python"
-		append-cflags "-I../../include"
-		append-ldflags "-L../../build_unix/.libs"
-		distutils_src_compile
-	fi
-
-	if use perl ; then
-		cd "${S}/src/perl"
-		perl-app_src_prep
-		perl-app_src_compile
-	fi
-}
-
-src_install() {
-	cd "${S}/build_unix"
-
-	# somewhat broken build system
-	emake DESTDIR="${D}" install || die "emake install failed"
-
-	use doc && dohtml -A pdf -r "${ED}"/usr/docs/*
-	rm -rf "${ED}/usr/docs"
-
-	if use java ; then
-		java-pkg_dojar "${ED}/usr/$(get_libdir)/dbxml.jar"
-		rm "${ED}/usr/$(get_libdir)/dbxml.jar"
-	fi
-
-	if use python ; then
-		cd "${S}/src/python"
-		distutils_src_install
-	fi
-
-	if use perl ; then
-		cd "${S}/src/perl"
-		emake DESTDIR="${D}" install || die "emake install perl module failed"
-		perl_delete_localpod
-	fi
-
-	if use examples ; then
-		insinto /usr/share/doc/${PF}
-		doins -r "${S}/examples"
-	fi
-
-}
-
-pkg_preinst() {
-	perl_set_version
-	java-pkg-opt-2_pkg_preinst
-}
-
-pkg_postinst() {
-	if use python ; then
-		python_mod_optimize dbxml.py
-	fi
-}
-
-pkg_postrm() {
-	if use python ; then
-		python_mod_cleanup dbxml.py
-	fi
-}

diff --git a/dev-libs/dbxml/files/2.5.16-respect-ldflags-no-rpath.patch b/dev-libs/dbxml/files/2.5.16-respect-ldflags-no-rpath.patch
deleted file mode 100644
index d752941..00000000
--- a/dev-libs/dbxml/files/2.5.16-respect-ldflags-no-rpath.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/Makefile.am b/Makefile.am
-index 567aaf9..281c782 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -60,10 +60,10 @@ endif
- # Global flags
- ##################################################
- 
--CPPFLAGS = -I$(top_srcdir)/include/ -I$(top_srcdir)/src/dbxml -I$(top_srcdir)/src/common \
-+CPPFLAGS += -I$(top_srcdir)/include/ -I$(top_srcdir)/src/dbxml -I$(top_srcdir)/src/common \
-   $(berkeleydb_include) $(xqilla_include) $(xerces_include) $(zlib_include)
--LDFLAGS = -L$(berkeleydb_lib) -R$(berkeleydb_lib) -L$(xqilla_lib) -R$(xqilla_lib) \
--  -L$(xerces_lib) -R$(xerces_lib) $(zlib_lib) -l$(berkeleydb_library) -lxqilla -lxerces-c $(zlib_library)
-+LDFLAGS += -L$(berkeleydb_lib) -L$(xqilla_lib) \
-+  -L$(xerces_lib) $(zlib_lib) -l$(berkeleydb_library) -lxqilla -lxerces-c $(zlib_library)
- LDADD = libdbxml.la
- 
- ##################################################

diff --git a/dev-libs/dbxml/metadata.xml b/dev-libs/dbxml/metadata.xml
deleted file mode 100644
index 82f6562..00000000
--- a/dev-libs/dbxml/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
-  <email>dev-zero@gentoo.org</email>
-  <name>Tiziano Müller</name>
-</maintainer>
-</pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index 0fbb174..6f814e9 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -515,14 +515,6 @@ net-libs/socket++
 >=x11-themes/gnome-themes-standard-3.21
 >=x11-wm/mutter-3.21
 
-# David Seifert <soap@gentoo.org> (18 Sep 2016)
-# Masked for failing to build with GCC 6, still using ancient
-# distutils.eclass, tightly coupled to dev-libs/xqilla-2.2*.
-# Purged by Debian and Fedora more than 5 years ago.
-# Mask for removal in 30 days.
-# Bug #594236
-dev-libs/dbxml
-
 # Michael Palimaka <kensington@gentoo.org> (15 Sep 2016)
 # KDE PIM 5 masked for wider testing.
 =kde-apps/akonadi-16.08*


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-31 16:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-31 16:24 [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-libs/dbxml/files/, dev-libs/dbxml/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox