xsd need as dependency for libkolab

This commit is contained in:
groni
2015-08-24 22:57:18 +02:00
parent be0fa353c6
commit 55062774ee
4 changed files with 258 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def build():
autotools.make('verbose=1 CXXFLAGS="%s"' % get.CXXFLAGS())
def install():
autotools.rawInstall("install_prefix=%s/usr" % get.installDIR())
# Fix conflicts with mono
pisitools.rename("/usr/bin/xsd", "xsdcxx")
pisitools.rename("/usr/share/man/man1/xsd.1", "xsdcxx.1")
+127
View File
@@ -0,0 +1,127 @@
--- 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 "July 2014" "XSD 4.0.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 @@
.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 @@
.PP
.RS
.RS 3
-.B xsd help
+.B xsdcxx help
.I command
.RE
.PP
@@ -206,7 +206,7 @@
\fIfilename\fP \fInamespace\fP
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,
-.B xsd
+.B xsdcxx
will issue diagnostic messages to
.B STDERR
and exit with non-zero exit code.
--- 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>
- <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>
@@ -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 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>
@@ -1530,7 +1530,7 @@
<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>
+97
View File
@@ -0,0 +1,97 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>xsd</Name>
<Homepage>http://www.codesynthesis.com/products/xsd</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>An open-source, cross-platform W3C XML Schema to C++ data binding compiler</Summary>
<Description>CodeSynthesis XSD is an open-source, cross-platform W3C XML Schema to C++ data binding compiler. Provided with an XML instance specification (XML Schema), it generates C++ classes that represent the given vocabulary as well as parsing and serialization code. You can then access the data stored in XML using types and functions that semantically correspond to your application domain rather than dealing with intricacies of reading and writing XML.</Description>
<Archive sha1sum="ad3de699eb140e747a0a214462d95fc81a21b494" type="tarbz2">http://codesynthesis.com/download/xsd/4.0/xsd-4.0.0+dep.tar.bz2</Archive>
<BuildDependencies>
<Dependency>xerces-c-devel</Dependency>
<Dependency>boost-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">xsdcxx.patch</Patch>
</Patches>
</Source>
<Package>
<Name>xsd</Name>
<RuntimeDependencies>
<Dependency>xerces-c</Dependency>
<Dependency>boost</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>xsd-devel</Name>
<Summary>Development files for xsd</Summary>
<RuntimeDependencies>
<Dependency release="current">xsd</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<Package>
<Name>xsd-docs</Name>
<Summary>Document files for xsd</Summary>
<RuntimeDependencies>
<Dependency release="current">xsd</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2014-12-24</Date>
<Version>4.0.0</Version>
<Comment>Rebuild for boost.</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-05-20</Date>
<Version>3.3.0</Version>
<Comment>Rebuild for boost.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-11-09</Date>
<Version>3.3.0</Version>
<Comment>Rebuild.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-10-14</Date>
<Version>3.3.0</Version>
<Comment>Rebuild for icu4c</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2013-01-07</Date>
<Version>3.3.0</Version>
<Comment>First release</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>xsd</Name>
<Summary xml:lang="pl">Kompilator schematów W3C XML do wiązań danych C++</Summary>
<Description xml:lang="pl">CodeSynthesis XSD to mający otwarte źródła wieloplatformowy kompilator schematów W3C XML do wiązań danych C++. Na podstawie specyfikacji instancji XML (schematu XML) generuje klasy C++ reprezentujące podany słownik, a także kod analizujący i serializujący. Następnie można odwoływać się do danych zapisanych w XML-u przy użyciu typów i funkcji semantycznie odpowiadających działaniu aplikacji, bez zajmowania się skomplikowaniem odczytu i zapisu XML-a.</Description>
</Source>
<Package>
<Name>xsd-devel</Name>
<Summary xml:lang="pl">Pliki nagłówkowe xsd</Summary>
<Summary xml:lang="tr">xsd için geliştirme dosyaları</Summary>
</Package>
</PISI>