diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2014-02-24 19:43:48 +0000 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2014-02-24 19:43:48 +0000 |
commit | d85a1501a590ebe8d57807b4ac4230c54158deed (patch) | |
tree | 0f2505b4239e9b3d4257af367a1fa7f5e5f8e244 /dev-cpp/xsd | |
parent | Warn against debug USE flag mismatch with llvm, bug #459306. Add REQUIRED_USE... (diff) | |
download | gentoo-2-d85a1501a590ebe8d57807b4ac4230c54158deed.tar.gz gentoo-2-d85a1501a590ebe8d57807b4ac4230c54158deed.tar.bz2 gentoo-2-d85a1501a590ebe8d57807b4ac4230c54158deed.zip |
Drop old.
(Portage version: 2.2.7/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0xC42EB5D6)
Diffstat (limited to 'dev-cpp/xsd')
-rw-r--r-- | dev-cpp/xsd/ChangeLog | 6 | ||||
-rw-r--r-- | dev-cpp/xsd/xsd-3.3.0-r1.ebuild | 142 | ||||
-rw-r--r-- | dev-cpp/xsd/xsd-3.3.0.ebuild | 152 |
3 files changed, 5 insertions, 295 deletions
diff --git a/dev-cpp/xsd/ChangeLog b/dev-cpp/xsd/ChangeLog index a1dc4dd1740c..002a238e3e65 100644 --- a/dev-cpp/xsd/ChangeLog +++ b/dev-cpp/xsd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-cpp/xsd # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/xsd/ChangeLog,v 1.14 2014/02/24 19:41:57 zlogene Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/xsd/ChangeLog,v 1.15 2014/02/24 19:43:47 zlogene Exp $ + + 24 Feb 2014; Mikle Kolyada <zlogene@gentoo.org> -xsd-3.3.0-r1.ebuild, + -xsd-3.3.0.ebuild: + Drop old. 24 Feb 2014; Mikle Kolyada <zlogene@gentoo.org> xsd-3.3.0-r3.ebuild: straight stable for ppc/ppc64 (bug #496784) diff --git a/dev-cpp/xsd/xsd-3.3.0-r1.ebuild b/dev-cpp/xsd/xsd-3.3.0-r1.ebuild deleted file mode 100644 index fee5928a08b0..000000000000 --- a/dev-cpp/xsd/xsd-3.3.0-r1.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/xsd/xsd-3.3.0-r1.ebuild,v 1.2 2013/02/23 15:51:59 ago Exp $ - -EAPI=4 - -inherit toolchain-funcs eutils versionator - -DESCRIPTION="An open-source, cross-platform W3C XML Schema to C++ data binding compiler." -HOMEPAGE="http://www.codesynthesis.com/products/xsd/" -SRC_URI="http://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc64 ~x86" -IUSE="ace doc examples zlib" - -RDEPEND=">=dev-libs/xerces-c-3 - >=dev-libs/boost-1.52.0-r1[threads] - >=dev-cpp/libcult-1.4.6-r1 - >=dev-cpp/libxsd-frontend-1.18.0-r1 - >=dev-cpp/libbackend-elements-1.7.2 - ace? ( dev-libs/ace ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - dev-util/build - doc? ( app-doc/doxygen )" - -src_prepare() { - epatch \ - "${FILESDIR}/${PV}-disable_examples_and_tests.patch" \ - "${FILESDIR}/${PV}-xsdcxx-rename.patch" \ - "${FILESDIR}/${PV}-fix_include.patch" \ - "${FILESDIR}/${PV}-fix_tests.patch" \ - "${FILESDIR}/${PV}-boost-filesystem-v2-deprecation.patch" -} - -src_configure() { - # Maintainer notes: - # * xqilla is not required, this is only whether or not to include the xpath - # examples which require xqilla - mkdir -p \ - build/cxx/gnu \ - build/import/lib{ace,boost,cult,backend-elements,xerces-c,xqilla,xsd-frontend,z} - - cat >> build/configuration-dynamic.make <<- EOF -xsd_with_zlib := $(usex zlib y n) -xsd_with_ace := $(usex ace y n) -xsd_with_xdr := y -xsd_with_dbxml := n -xsd_with_xqilla := y -xsd_with_boost_date_time := y -xsd_with_boost_serialization := y - EOF - - cat >> build/cxx/configuration-dynamic.make <<- EOF -cxx_id := gnu -cxx_optimize := n -cxx_debug := n -cxx_rpath := n -cxx_pp_extra_options := -cxx_extra_options := ${CXXFLAGS} -cxx_ld_extra_options := ${LDFLAGS} -cxx_extra_libs := -cxx_extra_lib_paths := - EOF - - cat >> build/cxx/gnu/configuration-dynamic.make <<- EOF -cxx_gnu := $(tc-getCXX) -cxx_gnu_libraries := -cxx_gnu_optimization_options := - EOF - - cat >> build/import/libace/configuration-dynamic.make <<- EOF -libace_installed := y - EOF - - cat >> build/import/libbackend-elements/configuration-dynamic.make <<- EOF -libbackend_elements_installed := y - EOF - - cat >> build/import/libboost/configuration-dynamic.make <<- EOF -libboost_installed := y -libboost_system := n - EOF - - cat >> build/import/libcult/configuration-dynamic.make <<- EOF -libcult_installed := y - EOF - - cat >> build/import/libxerces-c/configuration-dynamic.make <<- EOF -libxerces_c_installed := y - EOF - - cat >> build/import/libxqilla/configuration-dynamic.make <<- EOF -libxqilla_installed := y - EOF - - cat >> build/import/libxsd-frontend/configuration-dynamic.make <<- EOF -libxsd_frontend_installed := y - EOF - - cat >> build/import/libz/configuration-dynamic.make <<- EOF -libz_installed := y - EOF - - MAKEOPTS+=" verbose=1" -} - -src_compile() { - default - if use doc ; then - emake -C "${S}/documentation/cxx/tree/reference" || die "generating reference docs failed" - fi - if use test ; then - XERCESC_NLS_HOME="${ROOT}usr/share/xerces-c/msg" emake -C "${S}/tests" || die "building tests failed" - fi -} - -src_install() { - emake install_prefix="${D}/usr" install || die "emake install failed" - - # Renaming binary/manpage to avoid collision with mono-2.0's xsd/xsd2 - mv "${D}"/usr/bin/xsd{,cxx} - mv "${D}"/usr/share/man/man1/xsd{,cxx}.1 - - rm -rf "${D}/usr/share/doc" - - dohtml -r -A xhtml -A pdf documentation/* - - dodoc NEWS README FLOSSE documentation/custom-literals.xsd - newdoc libxsd/README README.libxsd - newdoc libxsd/FLOSSE FLOSSE.libxsd - - if use examples; then - insinto /usr/share/doc/${PF} - doins -r examples - fi -} - -src_test() { - XERCESC_NLS_HOME="${ROOT}usr/share/xerces-c/msg" emake -C "${S}/tests" test || die "tests failed" -} diff --git a/dev-cpp/xsd/xsd-3.3.0.ebuild b/dev-cpp/xsd/xsd-3.3.0.ebuild deleted file mode 100644 index 2819f2ed7fd3..000000000000 --- a/dev-cpp/xsd/xsd-3.3.0.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/xsd/xsd-3.3.0.ebuild,v 1.9 2013/04/02 20:56:02 ago Exp $ - -EAPI="2" - -inherit toolchain-funcs eutils versionator - -DESCRIPTION="An open-source, cross-platform W3C XML Schema to C++ data binding compiler." -HOMEPAGE="http://www.codesynthesis.com/products/xsd/" -SRC_URI="http://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ppc ppc64 x86" -IUSE="ace doc examples zlib" - -RDEPEND=">=dev-libs/xerces-c-3 - >=dev-libs/boost-1.40.0 - >=dev-cpp/libcult-1.4.6-r1 - >=dev-cpp/libxsd-frontend-1.17.0 - >=dev-cpp/libbackend-elements-1.7.2 - ace? ( dev-libs/ace ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - dev-util/build - doc? ( app-doc/doxygen )" - -src_prepare() { - epatch \ - "${FILESDIR}/${PV}-disable_examples_and_tests.patch" \ - "${FILESDIR}/${PV}-xsdcxx-rename.patch" \ - "${FILESDIR}/${PV}-fix_include.patch" \ - "${FILESDIR}/${PV}-fix_tests.patch" \ - "${FILESDIR}/${PV}-boost-filesystem-v2-deprecation.patch" -} - -use_yesno() { - use $1 && echo "y" || echo "n" -} - -src_configure() { - BOOST_PKG="$(best_version ">=dev-libs/boost-1.40.0")" - BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" - BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" - BOOST_INC="/usr/include/boost-${BOOST_VER}" - - # Maintainer notes: - # * xqilla is not required, this is only whether or not to include the xpath - # examples which require xqilla - mkdir -p \ - build/cxx/gnu \ - build/import/lib{ace,boost,cult,backend-elements,xerces-c,xqilla,xsd-frontend,z} - - cat >> build/configuration-dynamic.make <<- EOF -xsd_with_zlib := $(use_yesno zlib) -xsd_with_ace := $(use_yesno ace) -xsd_with_xdr := y -xsd_with_dbxml := n -xsd_with_xqilla := y -xsd_with_boost_date_time := y -xsd_with_boost_serialization := y - EOF - - cat >> build/cxx/configuration-dynamic.make <<- EOF -cxx_id := gnu -cxx_optimize := n -cxx_debug := n -cxx_rpath := n -cxx_pp_extra_options := -cxx_extra_options := ${CXXFLAGS} -I${BOOST_INC} -cxx_ld_extra_options := ${LDFLAGS} -cxx_extra_libs := -cxx_extra_lib_paths := - EOF - - cat >> build/cxx/gnu/configuration-dynamic.make <<- EOF -cxx_gnu := $(tc-getCXX) -cxx_gnu_libraries := -cxx_gnu_optimization_options := - EOF - - cat >> build/import/libace/configuration-dynamic.make <<- EOF -libace_installed := y - EOF - - cat >> build/import/libbackend-elements/configuration-dynamic.make <<- EOF -libbackend_elements_installed := y - EOF - - cat >> build/import/libboost/configuration-dynamic.make <<- EOF -libboost_installed := y -libboost_suffix := -mt-${BOOST_VER} -libboost_system := n - EOF - - cat >> build/import/libcult/configuration-dynamic.make <<- EOF -libcult_installed := y - EOF - - cat >> build/import/libxerces-c/configuration-dynamic.make <<- EOF -libxerces_c_installed := y - EOF - - cat >> build/import/libxqilla/configuration-dynamic.make <<- EOF -libxqilla_installed := y - EOF - - cat >> build/import/libxsd-frontend/configuration-dynamic.make <<- EOF -libxsd_frontend_installed := y - EOF - - cat >> build/import/libz/configuration-dynamic.make <<- EOF -libz_installed := y - EOF - - MAKEOPTS+=" verbose=1" -} - -src_compile() { - default - if use doc ; then - emake -C "${S}/documentation/cxx/tree/reference" || die "generating reference docs failed" - fi - if use test ; then - XERCESC_NLS_HOME="${ROOT}usr/share/xerces-c/msg" emake -C "${S}/tests" || die "building tests failed" - fi -} - -src_install() { - emake install_prefix="${D}/usr" install || die "emake install failed" - - # Renaming binary/manpage to avoid collision with mono-2.0's xsd/xsd2 - mv "${D}"/usr/bin/xsd{,cxx} - mv "${D}"/usr/share/man/man1/xsd{,cxx}.1 - - rm -rf "${D}/usr/share/doc" - - dohtml -r -A xhtml -A pdf documentation/* - - dodoc NEWS README FLOSSE documentation/custom-literals.xsd - newdoc libxsd/README README.libxsd - newdoc libxsd/FLOSSE FLOSSE.libxsd - - if use examples; then - insinto /usr/share/doc/${PF} - doins -r examples - fi -} - -src_test() { - XERCESC_NLS_HOME="${ROOT}usr/share/xerces-c/msg" emake -C "${S}/tests" test || die "tests failed" -} |