summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/xmlwrapp
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-libs/xmlwrapp')
-rw-r--r--dev-libs/xmlwrapp/Manifest3
-rw-r--r--dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-fbsd.patch10
-rw-r--r--dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc-4.3.patch10
-rw-r--r--dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc42_namespace.patch20
-rw-r--r--dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-tests.patch33
-rw-r--r--dev-libs/xmlwrapp/files/xmlwrapp-gentoo.diff12
-rw-r--r--dev-libs/xmlwrapp/metadata.xml9
-rw-r--r--dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild55
-rw-r--r--dev-libs/xmlwrapp/xmlwrapp-0.6.3.ebuild41
-rw-r--r--dev-libs/xmlwrapp/xmlwrapp-0.7.1.ebuild39
10 files changed, 232 insertions, 0 deletions
diff --git a/dev-libs/xmlwrapp/Manifest b/dev-libs/xmlwrapp/Manifest
new file mode 100644
index 000000000000..11fab96102cb
--- /dev/null
+++ b/dev-libs/xmlwrapp/Manifest
@@ -0,0 +1,3 @@
+DIST xmlwrapp-0.5.0.tgz 442550 SHA256 af3b71a6983c5c08e00096f5bb9f8ce61de3147f020aef327624043736d5ac73 SHA512 edc8d524e114a8699befec28f43828127b24c2edfa4f71c66f3d0bbe20fc8a96b273a1f6a028ed5cb7388213c789477c76256c5f9cece73aa581e7823636bdb9 WHIRLPOOL 33504b10fbb436f5767c74fec24e13aaed403bc8709f53846c54299f3c5f4f36dfce48b3ddc14aea64af02b547ff2c958090dd178b1e81fc0c52251b3beaee5b
+DIST xmlwrapp-0.6.3.tar.gz 910879 SHA256 1701fa2960cf2afd70b8ebee2740cbe893d4318a3c269319e657e5738d802ab2 SHA512 28a283aaaf4e9e6690f4a720784fd72ca83606e416bafb5343c4160325834772fb7b4d4604269cdb1bbc5dfd95cc03bdb338fdd08a99d113fcf00532df2239bd WHIRLPOOL e60eb6d73362ff2acc647bfb75b5a3b698623e8b7aff7be98f82f52672d771d0fe9464b7f2474edf903a78bb14ca5fb4a8c77c43ec2fad6c17e898a55375ffe7
+DIST xmlwrapp-0.7.1.tar.gz 1453771 SHA256 3787f05715081257d970ac0c03141f705d9eeb03bd3747c2f4c5a77103b30728 SHA512 73aaa9821f861edaab8e83d97414c9525ae7f6281a4812d8df6239e10ec76dd941cc0a8ed4769469084f694642c2f0c978f6c7477c63f99735a8cc9d98d7b9a0 WHIRLPOOL fba8d428856fc7512b1cf54a3b0f3cee94cf440cbb6f4670d630192a9ee01b94b37797cfc836429d30af9e9b075a885ff1c2844e304b3303f1161f380f7bdb02
diff --git a/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-fbsd.patch b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-fbsd.patch
new file mode 100644
index 000000000000..813a43185939
--- /dev/null
+++ b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-fbsd.patch
@@ -0,0 +1,10 @@
+--- tools/cxxflags.orig 2006-12-13 22:56:53.000000000 +0100
++++ tools/cxxflags 2006-12-13 22:57:30.000000000 +0100
+@@ -286,6 +286,7 @@
+ if ($^O =~ /freebsd/i) {
+ $flags{'mtlink'} .= " -pthread";
+ $flags{'arextra'}.= "ranlib";
++ $flags{'pic'} = '-fpic -shared';
+ } elsif ($^O =~ /darwin/i) {
+ $flags{'pic'} = '';
+ $flags{'shared.ext'} = '.dylib'; \ No newline at end of file
diff --git a/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc-4.3.patch b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc-4.3.patch
new file mode 100644
index 000000000000..dba843f520d2
--- /dev/null
+++ b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc-4.3.patch
@@ -0,0 +1,10 @@
+--- src/libxml/node.cxx.orig 2008-04-05 02:55:35.804091000 +0200
++++ src/libxml/node.cxx 2008-04-05 03:09:21.170667965 +0200
+@@ -51,6 +51,7 @@
+ #include <algorithm>
+ #include <stdexcept>
+ #include <functional>
++#include <cstring>
+
+ // libxml includes
+ #include <libxml/tree.h>
diff --git a/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc42_namespace.patch b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc42_namespace.patch
new file mode 100644
index 000000000000..6b61bcb60641
--- /dev/null
+++ b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc42_namespace.patch
@@ -0,0 +1,20 @@
+--- xmlwrapp-0.5.0/src/libxml/node.cxx.orig 2007-07-06 08:13:31.000000000 +0200
++++ xmlwrapp-0.5.0/src/libxml/node.cxx 2007-07-06 08:13:05.000000000 +0200
+@@ -512,10 +512,12 @@
+ }
+ }
+ //####################################################################
+-std::ostream& xml::operator<< (std::ostream &stream, const xml::node &n) {
+- std::string xmldata;
+- n.node_to_string(xmldata);
+- stream << xmldata;
+- return stream;
++namespace xml {
++ std::ostream& operator<< (std::ostream &stream, const xml::node &n) {
++ std::string xmldata;
++ n.node_to_string(xmldata);
++ stream << xmldata;
++ return stream;
++ }
+ }
+ //####################################################################
diff --git a/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-tests.patch b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-tests.patch
new file mode 100644
index 000000000000..7de77450c474
--- /dev/null
+++ b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-tests.patch
@@ -0,0 +1,33 @@
+diff -Naur tests.orig/attributes/data/09.xml tests/attributes/data/09.xml
+--- tests.orig/attributes/data/09.xml 2006-10-24 21:45:02.000000000 +0200
++++ tests/attributes/data/09.xml 2006-10-24 21:45:21.000000000 +0200
+@@ -1,2 +1,2 @@
+-<!DOCTYPE root SYSTEM "data/09.dtd">
++<!DOCTYPE root SYSTEM "09.dtd">
+ <root one="1"/>
+diff -Naur tests.orig/attributes/data/10.xml tests/attributes/data/10.xml
+--- tests.orig/attributes/data/10.xml 2006-10-24 21:45:02.000000000 +0200
++++ tests/attributes/data/10.xml 2006-10-24 21:45:30.000000000 +0200
+@@ -1,3 +1,3 @@
+ <?xml version="1.0" ?>
+-<!DOCTYPE example SYSTEM "data/10.dtd">
++<!DOCTYPE example SYSTEM "10.dtd">
+ <example>See?</example>
+diff -Naur tests.orig/document/data/14inc.xml tests/document/data/14inc.xml
+--- tests.orig/document/data/14inc.xml 2006-10-24 21:45:02.000000000 +0200
++++ tests/document/data/14inc.xml 2006-10-24 21:45:09.000000000 +0200
+@@ -1 +1 @@
+-<subchild><innerchild self="yes"/></subchild>
++<subchild xml:base="data/14inc.xml"><innerchild self="yes"/></subchild>
+diff -Naur tests.orig/xslt/runtest.pl tests/xslt/runtest.pl
+--- tests.orig/xslt/runtest.pl 2006-12-13 23:10:49.000000000 +0100
++++ tests/xslt/runtest.pl 2006-12-13 23:11:05.000000000 +0100
+@@ -42,7 +42,7 @@
+ sub runtests
+ {
+ ###########################################################################
+- foreach (['a', 1], ['b', 0], ['c', 1]) {
++ foreach (['b', 0]) {
+ $test->run_test_exit_status("constructor (01$_->[0])", "./test_xslt-01 data/01$_->[0].xsl", $_->[1]);
+ }
+ ###########################################################################
diff --git a/dev-libs/xmlwrapp/files/xmlwrapp-gentoo.diff b/dev-libs/xmlwrapp/files/xmlwrapp-gentoo.diff
new file mode 100644
index 000000000000..31f0315eef0f
--- /dev/null
+++ b/dev-libs/xmlwrapp/files/xmlwrapp-gentoo.diff
@@ -0,0 +1,12 @@
+diff -urN ori/configure.pl xmlwrapp-0.4.0/configure.pl
+--- ori/configure.pl 2003-02-03 23:47:54.000000000 +0100
++++ xmlwrapp-0.4.0/configure.pl 2003-03-24 12:21:07.000000000 +0100
+@@ -277,7 +277,7 @@
+ $output =~ s/-I//g;
+ my @include_dirs = split(/\s+/, $output);
+ my $main_include_dir = undef;
+- my $xslt_include_dir = undef;
++ my $xslt_include_dir = "/usr/include/libxml2";
+
+ foreach my $dir (@include_dirs) {
+ if (-d "$dir${dirsep}libxml") {
diff --git a/dev-libs/xmlwrapp/metadata.xml b/dev-libs/xmlwrapp/metadata.xml
new file mode 100644
index 000000000000..ce776a3f57ef
--- /dev/null
+++ b/dev-libs/xmlwrapp/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>cpp</herd>
+ <upstream>
+ <bugs-to>https://github.com/vslavik/xmlwrapp/issues</bugs-to>
+ <remote-id type='github'>vslavik/xmlwrapp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild b/dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..f4309140f2bd
--- /dev/null
+++ b/dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="modern style C++ library that provides a simple and easy interface to libxml2"
+HOMEPAGE="http://sourceforge.net/projects/xmlwrapp/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
+IUSE="doc test"
+
+RDEPEND="dev-libs/libxml2
+ dev-libs/libxslt"
+DEPEND="${RDEPEND}
+ dev-lang/perl"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-gentoo.diff" \
+ "${FILESDIR}/${P}-tests.patch" \
+ "${FILESDIR}/${P}-fbsd.patch" \
+ "${FILESDIR}/${P}-gcc42_namespace.patch" \
+ "${FILESDIR}/${P}-gcc-4.3.patch"
+
+ sed -i 's/-O2//' tools/cxxflags || die "sed tools/cxxflags failed"
+}
+
+src_compile() {
+ local myconf="--prefix /usr --libdir /usr/$(get_libdir) --disable-examples"
+ use test && myconf="${myconf} --enable-tests"
+
+ export CXX="$(tc-getCXX)"
+ ./configure.pl ${myconf} || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ sed -i "s%/usr%${D}/usr%g" Makefile || die "sed Makefile failed"
+ emake install || die "emake install failed"
+
+ dodoc README docs/{CREDITS,TODO,VERSION}
+ if use doc ; then
+ dohtml "${S}"/docs/doxygen/html/*
+ cd examples
+ for ex in 0* ; do
+ docinto examples/${ex}
+ dodoc ${ex}/*
+ done
+ fi
+}
diff --git a/dev-libs/xmlwrapp/xmlwrapp-0.6.3.ebuild b/dev-libs/xmlwrapp/xmlwrapp-0.6.3.ebuild
new file mode 100644
index 000000000000..348e19933a80
--- /dev/null
+++ b/dev-libs/xmlwrapp/xmlwrapp-0.6.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="modern style C++ library that provides a simple and easy interface to libxml2"
+HOMEPAGE="http://sourceforge.net/projects/xmlwrapp/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="static-libs"
+
+RDEPEND="dev-libs/boost:=
+ dev-libs/libxml2
+ dev-libs/libxslt"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS NEWS README )
+
+src_prepare() {
+ epatch_user
+
+ # buildsystem forgot about this
+ append-libs -lboost_system
+}
+
+src_configure() {
+ econf \
+ --docdir="/usr/share/doc/${PF}" \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}
diff --git a/dev-libs/xmlwrapp/xmlwrapp-0.7.1.ebuild b/dev-libs/xmlwrapp/xmlwrapp-0.7.1.ebuild
new file mode 100644
index 000000000000..35da67293c43
--- /dev/null
+++ b/dev-libs/xmlwrapp/xmlwrapp-0.7.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="modern style C++ library that provides a simple and easy interface to libxml2"
+HOMEPAGE="http://vslavik.github.io/xmlwrapp/"
+SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
+IUSE="static-libs"
+
+RDEPEND="dev-libs/boost:=
+ dev-libs/libxml2
+ dev-libs/libxslt"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS NEWS README )
+
+src_prepare() {
+ epatch_user
+}
+
+src_configure() {
+ econf \
+ --docdir="/usr/share/doc/${PF}" \
+ --htmldir="/usr/share/doc/${PF}/html" \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}