[arch-commits] Commit in xsd/trunk (PKGBUILD xsdcxx.patch)
Andrea Scarpino
andrea at archlinux.org
Sun Sep 14 12:37:42 UTC 2014
Date: Sunday, September 14, 2014 @ 14:37:42
Author: andrea
Revision: 221648
upgpkg: xsd 4.0.0-1
Upstream release
Modified:
xsd/trunk/PKGBUILD
xsd/trunk/xsdcxx.patch
--------------+
PKGBUILD | 23 +++++++++++------------
xsdcxx.patch | 50 ++++++++++++++++++++++++--------------------------
2 files changed, 35 insertions(+), 38 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-09-14 08:03:11 UTC (rev 221647)
+++ PKGBUILD 2014-09-14 12:37:42 UTC (rev 221648)
@@ -3,33 +3,32 @@
# Contributor: kevku <kevku at gmx.com>
pkgname=xsd
-pkgver=3.3.0
-_pkgver=3.3.0-2+dep
-pkgrel=11
+pkgver=4.0.0
+_pkgver=4.0.0+dep
+pkgrel=1
pkgdesc="An open-source, cross-platform W3C XML Schema to C++ data binding compiler"
arch=('i686' 'x86_64')
url="http://www.codesynthesis.com/products/xsd"
license=('GPL2')
-depends=('boost-libs' 'xerces-c')
-makedepends=('boost')
-source=("http://www.codesynthesis.com/download/${pkgname}/3.3/${pkgname}-${_pkgver}.tar.bz2"
+depends=('xerces-c')
+source=("http://www.codesynthesis.com/download/${pkgname}/4.0/${pkgname}-${_pkgver}.tar.bz2"
"xsdcxx.patch")
-sha1sums=('1c9de9271f589b8ecf2be18f2e9ac87330fc8281'
- '8f7ca8bf0440b30d8f5823e0f528db19810706f2')
+sha1sums=('ad3de699eb140e747a0a214462d95fc81a21b494'
+ 'afeb30904eb36efe6751f46cf1dd1ef4cfe45e9f')
prepare() {
- cd "${pkgname}-${_pkgver}"
- patch -p0 -i "${srcdir}/xsdcxx.patch"
+ cd ${pkgname}-${_pkgver}
+ patch -p1 -i "${srcdir}/xsdcxx.patch"
}
build() {
- cd "${pkgname}-${_pkgver}"
+ cd ${pkgname}-${_pkgver}
make CXXFLAGS="${CXXFLAGS}"
}
package() {
cd ${pkgname}-${_pkgver}
- make install_prefix="$pkgdir/usr" install
+ make install_prefix="${pkgdir}/usr" install
# Fix conflicts with mono
mv "${pkgdir}"/usr/bin/xsd{,cxx}
Modified: xsdcxx.patch
===================================================================
--- xsdcxx.patch 2014-09-14 08:03:11 UTC (rev 221647)
+++ xsdcxx.patch 2014-09-14 12:37:42 UTC (rev 221648)
@@ -1,12 +1,11 @@
-diff -up xsd/documentation/xsd.1.rename xsd/documentation/xsd.1
---- xsd/documentation/xsd.1.rename 2010-06-20 15:45:31.000000000 +0300
-+++ xsd/documentation/xsd.1 2010-06-20 15:46:24.000000000 +0300
+--- xsd-4.0.0+dep/xsd/doc/xsd.1~ 2014-09-14 12:25:36.862267587 +0000
++++ xsd-4.0.0+dep/xsd/doc/xsd.1 2014-09-14 12:28:25.728229892 +0000
@@ -1,16 +1,16 @@
.\" Process this file with
-.\" groff -man -Tascii xsd.1
+.\" groff -man -Tascii xsdcxx.1
.\"
- .TH XSD 1 "April 2010" "XSD 3.3.0"
+ .TH XSD 1 "July 2014" "XSD 4.0.0"
.SH NAME
-xsd \- W3C XML Schema to C++ Compiler
+xsdcxx \- W3C XML Schema to C++ Compiler
@@ -21,7 +20,7 @@
.I command
.B [
.I options
-@@ -20,19 +20,19 @@ xsd \- W3C XML Schema to C++ Compiler
+@@ -20,19 +20,19 @@
.I file
.B ...]
.in
@@ -44,7 +43,7 @@
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
+@@ -96,7 +96,7 @@
.PP
.RS
.RS 3
@@ -53,16 +52,16 @@
.I command
.RE
.PP
-@@ -203,7 +203,7 @@ For example, if you have file
- with namespace
- .B http://example.com/hello
- and you run
--.B xsd
-+.B xsdcxx
- on this file, then the string in question will be:
+@@ -206,7 +206,7 @@
+ \fIfilename\fP \fInamespace\fP
- .B hello.xsd. http://example.com/hello
-@@ -1877,7 +1877,7 @@ option. With this approach you don't nee
+ For example, if you have file \fBhello\.xsd\fP with namespace
+-\fBhttp://example\.com/hello\fP and you run \fBxsd\fP on this file, then the
++\fBhttp://example\.com/hello\fP and you run \fBxsdcxx\fP on this file, then the
+ string in question will be:
+
+ \fBhello\.xsd\. http://example\.com/hello\fP
+@@ -1632,7 +1632,7 @@
.\"
.SH DIAGNOSTICS
If the input file is not a valid W3C XML Schema definition,
@@ -71,9 +70,8 @@
will issue diagnostic messages to
.B STDERR
and exit with non-zero exit code.
-diff -up xsd/documentation/xsd.xhtml.rename xsd/documentation/xsd.xhtml
---- xsd/documentation/xsd.xhtml.rename 2010-06-20 15:47:29.000000000 +0300
-+++ xsd/documentation/xsd.xhtml 2010-06-20 15:47:30.000000000 +0300
+--- xsd-4.0.0+dep/xsd/doc/xsd.xhtml~ 2014-09-14 12:28:37.731513138 +0000
++++ xsd-4.0.0+dep/xsd/doc/xsd.xhtml 2014-09-14 12:30:11.277789610 +0000
@@ -50,19 +50,19 @@
<h1>NAME</h1>
@@ -108,16 +106,16 @@
for command-specific help.
</dd>
-@@ -174,7 +174,7 @@
+@@ -219,7 +219,7 @@
- <p>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
- will be:</p>
+ <p>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 will
++ <code><b>xsdcxx</b></code> on this file, then the string in question will
+ be:</p>
- <p><code><b>hello.xsd. http://example.com/hello</b></code></p>
-@@ -1575,7 +1575,7 @@ namespace .*
+ <p><code><b>hello.xsd. http://example.com/hello</b></code></p>
+@@ -1530,7 +1530,7 @@
<h1>DIAGNOSTICS</h1>
<p>If the input file is not a valid W3C XML Schema definition,
More information about the arch-commits
mailing list