summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/xsd/Manifest3
-rw-r--r--dev-cpp/xsd/files/3.2.0-xsdcxx-rename.patch143
-rw-r--r--dev-cpp/xsd/xsd-3.2.0-r1.ebuild (renamed from dev-cpp/xsd/xsd-3.2.0.ebuild)5
3 files changed, 148 insertions, 3 deletions
diff --git a/dev-cpp/xsd/Manifest b/dev-cpp/xsd/Manifest
index eda76bf..bfb3aa8 100644
--- a/dev-cpp/xsd/Manifest
+++ b/dev-cpp/xsd/Manifest
@@ -1,4 +1,5 @@
AUX 3.2.0-disable_examples_and_tests.patch 1047 RMD160 9bf33f4b41b30d28a84f004c972c816dbf32c6b4 SHA1 030bfef56a9c9a70637ec822394aad1d04e31474 SHA256 49d378a9758d9051a695740652b85c5e149e96ffa2582b876a985cb2ede23df4
+AUX 3.2.0-xsdcxx-rename.patch 4868 RMD160 f3b6ec792ca5abff266856832a0eededf2239e37 SHA1 49bf4232cf9f912dedc025f36a546c2941d1ba7d SHA256 535e0cad13305e2ad6c1378f262c6ea465fbff71f4b2912c92b6b2c99c452db7
DIST xsd-3.2.0.tar.bz2 885392 RMD160 6ff21596706b57b56c59135a1420918a798ba395 SHA1 cbf104bdb158d68416d1e7184930f2f06e0df151 SHA256 97e7c07632197623a676ed6c852959d72fec0ccee7cd57d46c171e28b63584ce
-EBUILD xsd-3.2.0.ebuild 3064 RMD160 d4301587a30b4f6dabee6b3de5b7298720478615 SHA1 f94bb5864635b02cb3d96270236d370a845d0310 SHA256 a01c9f22a322d8fd18d247fc2493db4fb665396392f8bcc9573439f9311c6a42
+EBUILD xsd-3.2.0-r1.ebuild 3112 RMD160 be15983845850a2376cb309f8a5452c6c3fbfe94 SHA1 cc43401786635aa48b8ce326683e2e03c94dd68d SHA256 603b4f4c30bc8953fd7af2ff55ab51a25eab1a2132d0e5c33f6fdbb260af0e30
MISC metadata.xml 460 RMD160 3c7ae6033d1a697f2416b2abc7b850f6557170e4 SHA1 cf8795d5c904fecb2c2f62868c25b9615d872f9f SHA256 a4908a7a88e71e2ed8d8e110ddb459db961965e264fe89da5b0b77f38e115829
diff --git a/dev-cpp/xsd/files/3.2.0-xsdcxx-rename.patch b/dev-cpp/xsd/files/3.2.0-xsdcxx-rename.patch
new file mode 100644
index 0000000..529abcb
--- /dev/null
+++ b/dev-cpp/xsd/files/3.2.0-xsdcxx-rename.patch
@@ -0,0 +1,143 @@
+diff -up xsd-3.2.0-2/documentation/xsd.1.xsdcxx-rename xsd-3.2.0-2/documentation/xsd.1
+--- xsd-3.2.0-2/documentation/xsd.1.xsdcxx-rename 2008-09-23 13:36:25.000000000 +0300
++++ xsd-3.2.0-2/documentation/xsd.1 2009-05-20 23:10:39.000000000 +0300
+@@ -3,14 +3,14 @@
+ .\"
+ .TH XSD 1 "September 2008" "XSD 3.2.0"
+ .SH NAME
+-xsd \- W3C XML Schema to C++ Compiler
++xsdcxx \- W3C XML Schema to C++ Compiler
+ .\"
+ .\"
+ .\"
+ .\"--------------------------------------------------------------------
+ .SH SYNOPSIS
+ .\"--------------------------------------------------------------------
+-.B xsd
++.B xsdcxx
+ .I command
+ .B [
+ .I options
+@@ -20,19 +20,19 @@ xsd \- W3C XML Schema to C++ Compiler
+ .I file
+ .B ...]
+ .in
+-.B xsd help
++.B xsdcxx help
+ .B [
+ .I command
+ .B ]
+ .in
+-.B xsd version
++.B xsdcxx version
+ .\"
+ .\"
+ .\"
+ .\"--------------------------------------------------------------------
+ .SH DESCRIPTION
+ .\"--------------------------------------------------------------------
+-.B xsd
++.B xsdcxx
+ generates vocabulary-specific, statically-typed C++ mapping from W3C XML
+ Schema definitions. Particular mapping to produce is selected by a
+ .IR command .
+@@ -96,7 +96,7 @@ Print usage information and exit. Use
+ .PP
+ .RS
+ .RS 3
+-.B xsd help
++.B xsdcxx help
+ .I command
+ .RE
+ .PP
+@@ -181,7 +181,7 @@ for the current translation unit is empt
+ with namespace
+ .B http://example.com/hello
+ and you run
+-.B xsd
++.B xsdcxx
+ on this file, then the string in question would be:
+
+ .B \ http://example.com/hello
+@@ -550,7 +550,7 @@ for the current translation unit is empt
+ with namespace
+ .B http://example.com/hello
+ and you run
+-.B xsd
++.B xsdcxx
+ on this file, then the string in question would be:
+
+ .B \ http://example.com/hello element
+@@ -1691,7 +1691,7 @@ option. With this approach you don't nee
+ .\"
+ .SH DIAGNOSTICS
+ If the input file is not a valid W3C XML Schema definition,
+-.B xsd
++.B xsdcxx
+ will issue diagnostic messages to
+ .B STDERR
+ and exit with non-zero exit code.
+diff -up xsd-3.2.0-2/documentation/xsd.xhtml.xsdcxx-rename xsd-3.2.0-2/documentation/xsd.xhtml
+--- xsd-3.2.0-2/documentation/xsd.xhtml.xsdcxx-rename 2008-08-07 14:54:35.000000000 +0300
++++ xsd-3.2.0-2/documentation/xsd.xhtml 2009-05-20 23:10:39.000000000 +0300
+@@ -50,19 +50,19 @@
+
+ <h1>NAME</h1>
+
+- <p>xsd - W3C XML Schema to C++ Compiler</p>
++ <p>xsdcxx - W3C XML Schema to C++ Compiler</p>
+
+ <h1>SYNOPSIS</h1>
+
+ <dl id="synopsis">
+- <dt><code><b>xsd</b> <i>command</i> [<i>options</i>] <i>file</i> [<i>file</i> ...]</code></dt>
+- <dt><code><b>xsd help</b> [<i>command</i>]</code></dt>
+- <dt><code><b>xsd version</b></code></dt>
++ <dt><code><b>xsdcxx</b> <i>command</i> [<i>options</i>] <i>file</i> [<i>file</i> ...]</code></dt>
++ <dt><code><b>xsdcxx help</b> [<i>command</i>]</code></dt>
++ <dt><code><b>xsdcxx version</b></code></dt>
+ </dl>
+
+ <h1>DESCRIPTION</h1>
+
+- <p><code><b>xsd</b></code> generates vocabulary-specific, statically-typed
++ <p><code><b>xsdcxx</b></code> generates vocabulary-specific, statically-typed
+ C++ mapping from W3C XML Schema definitions. Particular mapping to
+ produce is selected by a <code><i>command</i></code>. Each mapping has
+ a number of mapping-specific <code><i>options</i></code> that should
+@@ -104,7 +104,7 @@
+
+ <dt><code><b>help</b></code></dt>
+ <dd>Print usage information and exit. Use
+- <p><code><b>xsd help</b> <i>command</i></code></p>
++ <p><code><b>xsdcxx help</b> <i>command</i></code></p>
+ for command-specific help.
+ </dd>
+
+@@ -164,7 +164,7 @@
+ <p>The <code><i>filename</i></code> for the current translation unit
+ is empty. For example, if you have file <code><b>hello.xsd</b></code>
+ with namespace <code><b>http://example.com/hello</b></code> and you run
+- <code><b>xsd</b></code> on this file, then the string in question
++ <code><b>xsdcxx</b></code> on this file, then the string in question
+ would be:</p>
+
+ <p><code>&nbsp;<b>http://example.com/hello</b></code></p>
+@@ -493,7 +493,7 @@
+ <p>The <code><i>filename</i></code> for the current translation unit
+ is empty. For example, if you have file <code><b>hello.xsd</b></code>
+ with namespace <code><b>http://example.com/hello</b></code> and you run
+- <code><b>xsd</b></code> on this file, then the string in question
++ <code><b>xsdcxx</b></code> on this file, then the string in question
+ would be:</p>
+
+ <p><code>&nbsp;<b>http://example.com/hello element</b></code></p>
+@@ -1447,7 +1447,7 @@ namespace .*
+ <h1>DIAGNOSTICS</h1>
+
+ <p>If the input file is not a valid W3C XML Schema definition,
+- <code><b>xsd</b></code> will issue diagnostic messages to STDERR
++ <code><b>xsdcxx</b></code> will issue diagnostic messages to STDERR
+ and exit with non-zero exit code.</p>
+
+ <h1>BUGS</h1>
diff --git a/dev-cpp/xsd/xsd-3.2.0.ebuild b/dev-cpp/xsd/xsd-3.2.0-r1.ebuild
index c2da72a..75af900 100644
--- a/dev-cpp/xsd/xsd-3.2.0.ebuild
+++ b/dev-cpp/xsd/xsd-3.2.0-r1.ebuild
@@ -27,6 +27,7 @@ DEPEND="${RDEPEND}
src_prepare() {
epatch "${FILESDIR}/${PV}-disable_examples_and_tests.patch"
+ epatch "${FILESDIR}/${PV}-xsdcxx-rename.patch"
sed -i \
-e '/GPLv2/d' \
@@ -110,8 +111,8 @@ 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{,gen}
- mv "${D}"/usr/share/man/man1/xsd{,gen}.1
+ mv "${D}"/usr/bin/xsd{,cxx}
+ mv "${D}"/usr/share/man/man1/xsd{,cxx}.1
dodoc NEWS README