Merge pull request #323 from groni/master

xerces-c and xsd need as dependency for libkolab and libkolabxml
This commit is contained in:
Ertuğrul Erata
2015-08-25 08:21:39 +03:00
7 changed files with 387 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/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 setup():
autotools.autoreconf("-fi")
autotools.configure("--disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s install" % get.installDIR())
pisitools.dohtml("doc/html/*")
pisitools.dodoc("CREDITS", "KEYS", "LICENSE*", "NOTICE", "README", "version.incl")
+85
View File
@@ -0,0 +1,85 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>xerces-c</Name>
<Homepage>http://xml.apache.org/xerces-c</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>Apache-2.0</License>
<IsA>library</IsA>
<Summary>Xerces-C++ is a validating XML parser written in a portable subset of C++</Summary>
<Description>Xerces-C++ is a validating XML parser written in a portable subset of C++.</Description>
<Archive sha1sum="3f9ecc4956df069c1d95b885fc687eb4e474a4ad" type="targz">http://mirror.metrocast.net/apache//xerces/c/3/sources/xerces-c-3.1.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>icu4c-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>xerces-c</Name>
<RuntimeDependencies>
<Dependency>icu4c</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
<Package>
<Name>xerces-c-devel</Name>
<Summary>Development files for xerces-c</Summary>
<RuntimeDependencies>
<Dependency release="current">xerces-c</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<Package>
<Name>xerces-c-docs</Name>
<Summary>Document files for xerces-c</Summary>
<RuntimeDependencies>
<Dependency release="current">xerces-c</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-12-30</Date>
<Version>3.1.1</Version>
<Comment>Rebuild.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-05-20</Date>
<Version>3.1.1</Version>
<Comment>Rebuild.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-18</Date>
<Version>3.1.1</Version>
<Comment>Rebuild for 1.0</Comment>
<Name>Richard de Bruin</Name>
<Email>richdb@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2010-10-21</Date>
<Version>3.1.1</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,21 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>xerces-c</Name>
<Summary xml:lang="tr">C++ dilinin taşınabilir bir altkümesi ile yazılmış, XML sentaks doğrulaması yapabilen bir ayrıştırıcı</Summary>
<Description xml:lang="tr">Xerces-C++, C++ dilinin taşınabilir bir altkümesi ile yazılmış, XML sentaks doğrulaması yapabilen bir ayrıştırıcıdır.</Description>
<Description xml:lang="fr">Xerces-C++ est un analyseur XML validant écrit dans un sous-ensemble portable du C++.</Description>
<Description xml:lang="es">Xerces-C++ es un analizador XML con validación, escrito con un subconjunto portable de C++</Description>
</Source>
<Package>
<Name>xerces-c-devel</Name>
<Summary xml:lang="tr">xerces-c için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>xerces-c-docs</Name>
<Summary xml:lang="tr">xerces-c için yardım dosyaları ve API belgeleri </Summary>
</Package>
</PISI>
+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>