Gentoo Archives: gentoo-commits

From: Sergey Popov <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xmlwrapp/files/, dev-libs/xmlwrapp/
Date: Wed, 27 Jan 2016 06:01:54
Message-Id: 1453874479.b73242653123b7662df3cccf0868d304880aee1d.pinkbyte@gentoo
1 commit: b73242653123b7662df3cccf0868d304880aee1d
2 Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 27 06:01:19 2016 +0000
4 Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 27 06:01:19 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7324265
7
8 dev-libs/xmlwrapp: drop old versions
9
10 Package-Manager: portage-2.2.26
11
12 dev-libs/xmlwrapp/Manifest | 2 -
13 dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-fbsd.patch | 10 ----
14 .../xmlwrapp/files/xmlwrapp-0.5.0-gcc-4.3.patch | 10 ----
15 .../files/xmlwrapp-0.5.0-gcc42_namespace.patch | 20 --------
16 dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-tests.patch | 33 -------------
17 dev-libs/xmlwrapp/files/xmlwrapp-gentoo.diff | 12 -----
18 dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild | 55 ----------------------
19 dev-libs/xmlwrapp/xmlwrapp-0.6.3.ebuild | 41 ----------------
20 8 files changed, 183 deletions(-)
21
22 diff --git a/dev-libs/xmlwrapp/Manifest b/dev-libs/xmlwrapp/Manifest
23 index 11fab96..64f2344 100644
24 --- a/dev-libs/xmlwrapp/Manifest
25 +++ b/dev-libs/xmlwrapp/Manifest
26 @@ -1,3 +1 @@
27 -DIST xmlwrapp-0.5.0.tgz 442550 SHA256 af3b71a6983c5c08e00096f5bb9f8ce61de3147f020aef327624043736d5ac73 SHA512 edc8d524e114a8699befec28f43828127b24c2edfa4f71c66f3d0bbe20fc8a96b273a1f6a028ed5cb7388213c789477c76256c5f9cece73aa581e7823636bdb9 WHIRLPOOL 33504b10fbb436f5767c74fec24e13aaed403bc8709f53846c54299f3c5f4f36dfce48b3ddc14aea64af02b547ff2c958090dd178b1e81fc0c52251b3beaee5b
28 -DIST xmlwrapp-0.6.3.tar.gz 910879 SHA256 1701fa2960cf2afd70b8ebee2740cbe893d4318a3c269319e657e5738d802ab2 SHA512 28a283aaaf4e9e6690f4a720784fd72ca83606e416bafb5343c4160325834772fb7b4d4604269cdb1bbc5dfd95cc03bdb338fdd08a99d113fcf00532df2239bd WHIRLPOOL e60eb6d73362ff2acc647bfb75b5a3b698623e8b7aff7be98f82f52672d771d0fe9464b7f2474edf903a78bb14ca5fb4a8c77c43ec2fad6c17e898a55375ffe7
29 DIST xmlwrapp-0.7.1.tar.gz 1453771 SHA256 3787f05715081257d970ac0c03141f705d9eeb03bd3747c2f4c5a77103b30728 SHA512 73aaa9821f861edaab8e83d97414c9525ae7f6281a4812d8df6239e10ec76dd941cc0a8ed4769469084f694642c2f0c978f6c7477c63f99735a8cc9d98d7b9a0 WHIRLPOOL fba8d428856fc7512b1cf54a3b0f3cee94cf440cbb6f4670d630192a9ee01b94b37797cfc836429d30af9e9b075a885ff1c2844e304b3303f1161f380f7bdb02
30
31 diff --git a/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-fbsd.patch b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-fbsd.patch
32 deleted file mode 100644
33 index 813a431..0000000
34 --- a/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-fbsd.patch
35 +++ /dev/null
36 @@ -1,10 +0,0 @@
37 ---- tools/cxxflags.orig 2006-12-13 22:56:53.000000000 +0100
38 -+++ tools/cxxflags 2006-12-13 22:57:30.000000000 +0100
39 -@@ -286,6 +286,7 @@
40 - if ($^O =~ /freebsd/i) {
41 - $flags{'mtlink'} .= " -pthread";
42 - $flags{'arextra'}.= "ranlib";
43 -+ $flags{'pic'} = '-fpic -shared';
44 - } elsif ($^O =~ /darwin/i) {
45 - $flags{'pic'} = '';
46 - $flags{'shared.ext'} = '.dylib';
47 \ No newline at end of file
48
49 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
50 deleted file mode 100644
51 index dba843f..0000000
52 --- a/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc-4.3.patch
53 +++ /dev/null
54 @@ -1,10 +0,0 @@
55 ---- src/libxml/node.cxx.orig 2008-04-05 02:55:35.804091000 +0200
56 -+++ src/libxml/node.cxx 2008-04-05 03:09:21.170667965 +0200
57 -@@ -51,6 +51,7 @@
58 - #include <algorithm>
59 - #include <stdexcept>
60 - #include <functional>
61 -+#include <cstring>
62 -
63 - // libxml includes
64 - #include <libxml/tree.h>
65
66 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
67 deleted file mode 100644
68 index 6b61bcb..0000000
69 --- a/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc42_namespace.patch
70 +++ /dev/null
71 @@ -1,20 +0,0 @@
72 ---- xmlwrapp-0.5.0/src/libxml/node.cxx.orig 2007-07-06 08:13:31.000000000 +0200
73 -+++ xmlwrapp-0.5.0/src/libxml/node.cxx 2007-07-06 08:13:05.000000000 +0200
74 -@@ -512,10 +512,12 @@
75 - }
76 - }
77 - //####################################################################
78 --std::ostream& xml::operator<< (std::ostream &stream, const xml::node &n) {
79 -- std::string xmldata;
80 -- n.node_to_string(xmldata);
81 -- stream << xmldata;
82 -- return stream;
83 -+namespace xml {
84 -+ std::ostream& operator<< (std::ostream &stream, const xml::node &n) {
85 -+ std::string xmldata;
86 -+ n.node_to_string(xmldata);
87 -+ stream << xmldata;
88 -+ return stream;
89 -+ }
90 - }
91 - //####################################################################
92
93 diff --git a/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-tests.patch b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-tests.patch
94 deleted file mode 100644
95 index 7de7745..0000000
96 --- a/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-tests.patch
97 +++ /dev/null
98 @@ -1,33 +0,0 @@
99 -diff -Naur tests.orig/attributes/data/09.xml tests/attributes/data/09.xml
100 ---- tests.orig/attributes/data/09.xml 2006-10-24 21:45:02.000000000 +0200
101 -+++ tests/attributes/data/09.xml 2006-10-24 21:45:21.000000000 +0200
102 -@@ -1,2 +1,2 @@
103 --<!DOCTYPE root SYSTEM "data/09.dtd">
104 -+<!DOCTYPE root SYSTEM "09.dtd">
105 - <root one="1"/>
106 -diff -Naur tests.orig/attributes/data/10.xml tests/attributes/data/10.xml
107 ---- tests.orig/attributes/data/10.xml 2006-10-24 21:45:02.000000000 +0200
108 -+++ tests/attributes/data/10.xml 2006-10-24 21:45:30.000000000 +0200
109 -@@ -1,3 +1,3 @@
110 - <?xml version="1.0" ?>
111 --<!DOCTYPE example SYSTEM "data/10.dtd">
112 -+<!DOCTYPE example SYSTEM "10.dtd">
113 - <example>See?</example>
114 -diff -Naur tests.orig/document/data/14inc.xml tests/document/data/14inc.xml
115 ---- tests.orig/document/data/14inc.xml 2006-10-24 21:45:02.000000000 +0200
116 -+++ tests/document/data/14inc.xml 2006-10-24 21:45:09.000000000 +0200
117 -@@ -1 +1 @@
118 --<subchild><innerchild self="yes"/></subchild>
119 -+<subchild xml:base="data/14inc.xml"><innerchild self="yes"/></subchild>
120 -diff -Naur tests.orig/xslt/runtest.pl tests/xslt/runtest.pl
121 ---- tests.orig/xslt/runtest.pl 2006-12-13 23:10:49.000000000 +0100
122 -+++ tests/xslt/runtest.pl 2006-12-13 23:11:05.000000000 +0100
123 -@@ -42,7 +42,7 @@
124 - sub runtests
125 - {
126 - ###########################################################################
127 -- foreach (['a', 1], ['b', 0], ['c', 1]) {
128 -+ foreach (['b', 0]) {
129 - $test->run_test_exit_status("constructor (01$_->[0])", "./test_xslt-01 data/01$_->[0].xsl", $_->[1]);
130 - }
131 - ###########################################################################
132
133 diff --git a/dev-libs/xmlwrapp/files/xmlwrapp-gentoo.diff b/dev-libs/xmlwrapp/files/xmlwrapp-gentoo.diff
134 deleted file mode 100644
135 index 31f0315..0000000
136 --- a/dev-libs/xmlwrapp/files/xmlwrapp-gentoo.diff
137 +++ /dev/null
138 @@ -1,12 +0,0 @@
139 -diff -urN ori/configure.pl xmlwrapp-0.4.0/configure.pl
140 ---- ori/configure.pl 2003-02-03 23:47:54.000000000 +0100
141 -+++ xmlwrapp-0.4.0/configure.pl 2003-03-24 12:21:07.000000000 +0100
142 -@@ -277,7 +277,7 @@
143 - $output =~ s/-I//g;
144 - my @include_dirs = split(/\s+/, $output);
145 - my $main_include_dir = undef;
146 -- my $xslt_include_dir = undef;
147 -+ my $xslt_include_dir = "/usr/include/libxml2";
148 -
149 - foreach my $dir (@include_dirs) {
150 - if (-d "$dir${dirsep}libxml") {
151
152 diff --git a/dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild b/dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild
153 deleted file mode 100644
154 index f430914..0000000
155 --- a/dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild
156 +++ /dev/null
157 @@ -1,55 +0,0 @@
158 -# Copyright 1999-2013 Gentoo Foundation
159 -# Distributed under the terms of the GNU General Public License v2
160 -# $Id$
161 -
162 -inherit eutils multilib toolchain-funcs
163 -
164 -DESCRIPTION="modern style C++ library that provides a simple and easy interface to libxml2"
165 -HOMEPAGE="http://sourceforge.net/projects/xmlwrapp/"
166 -SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
167 -
168 -LICENSE="BSD"
169 -SLOT="0"
170 -KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
171 -IUSE="doc test"
172 -
173 -RDEPEND="dev-libs/libxml2
174 - dev-libs/libxslt"
175 -DEPEND="${RDEPEND}
176 - dev-lang/perl"
177 -
178 -src_unpack() {
179 - unpack ${A}
180 - cd "${S}"
181 - epatch "${FILESDIR}/${PN}-gentoo.diff" \
182 - "${FILESDIR}/${P}-tests.patch" \
183 - "${FILESDIR}/${P}-fbsd.patch" \
184 - "${FILESDIR}/${P}-gcc42_namespace.patch" \
185 - "${FILESDIR}/${P}-gcc-4.3.patch"
186 -
187 - sed -i 's/-O2//' tools/cxxflags || die "sed tools/cxxflags failed"
188 -}
189 -
190 -src_compile() {
191 - local myconf="--prefix /usr --libdir /usr/$(get_libdir) --disable-examples"
192 - use test && myconf="${myconf} --enable-tests"
193 -
194 - export CXX="$(tc-getCXX)"
195 - ./configure.pl ${myconf} || die "configure failed"
196 - emake || die "emake failed"
197 -}
198 -
199 -src_install() {
200 - sed -i "s%/usr%${D}/usr%g" Makefile || die "sed Makefile failed"
201 - emake install || die "emake install failed"
202 -
203 - dodoc README docs/{CREDITS,TODO,VERSION}
204 - if use doc ; then
205 - dohtml "${S}"/docs/doxygen/html/*
206 - cd examples
207 - for ex in 0* ; do
208 - docinto examples/${ex}
209 - dodoc ${ex}/*
210 - done
211 - fi
212 -}
213
214 diff --git a/dev-libs/xmlwrapp/xmlwrapp-0.6.3.ebuild b/dev-libs/xmlwrapp/xmlwrapp-0.6.3.ebuild
215 deleted file mode 100644
216 index 348e199..0000000
217 --- a/dev-libs/xmlwrapp/xmlwrapp-0.6.3.ebuild
218 +++ /dev/null
219 @@ -1,41 +0,0 @@
220 -# Copyright 1999-2013 Gentoo Foundation
221 -# Distributed under the terms of the GNU General Public License v2
222 -# $Id$
223 -
224 -EAPI=5
225 -
226 -inherit eutils flag-o-matic
227 -
228 -DESCRIPTION="modern style C++ library that provides a simple and easy interface to libxml2"
229 -HOMEPAGE="http://sourceforge.net/projects/xmlwrapp/"
230 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
231 -
232 -LICENSE="BSD"
233 -SLOT="0"
234 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
235 -IUSE="static-libs"
236 -
237 -RDEPEND="dev-libs/boost:=
238 - dev-libs/libxml2
239 - dev-libs/libxslt"
240 -DEPEND="${RDEPEND}"
241 -
242 -DOCS=( AUTHORS NEWS README )
243 -
244 -src_prepare() {
245 - epatch_user
246 -
247 - # buildsystem forgot about this
248 - append-libs -lboost_system
249 -}
250 -
251 -src_configure() {
252 - econf \
253 - --docdir="/usr/share/doc/${PF}" \
254 - $(use_enable static-libs static)
255 -}
256 -
257 -src_install() {
258 - default
259 - prune_libtool_files
260 -}