From be0fa353c672dc6646163ab57a6c6d6c324d58fc Mon Sep 17 00:00:00 2001 From: groni Date: Mon, 24 Aug 2015 22:55:39 +0200 Subject: [PATCH 1/2] xerces-c need as dependency for libkolab --- programming/misc/xerces-c/actions.py | 23 ++++++ programming/misc/xerces-c/pspec.xml | 85 ++++++++++++++++++++++ programming/misc/xerces-c/translations.xml | 21 ++++++ 3 files changed, 129 insertions(+) create mode 100644 programming/misc/xerces-c/actions.py create mode 100644 programming/misc/xerces-c/pspec.xml create mode 100644 programming/misc/xerces-c/translations.xml diff --git a/programming/misc/xerces-c/actions.py b/programming/misc/xerces-c/actions.py new file mode 100644 index 0000000000..d5dddf5644 --- /dev/null +++ b/programming/misc/xerces-c/actions.py @@ -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") diff --git a/programming/misc/xerces-c/pspec.xml b/programming/misc/xerces-c/pspec.xml new file mode 100644 index 0000000000..6cbc2a2ee3 --- /dev/null +++ b/programming/misc/xerces-c/pspec.xml @@ -0,0 +1,85 @@ + + + + + xerces-c + http://xml.apache.org/xerces-c + + PisiLinux Community + admins@pisilinux.org + + Apache-2.0 + library + Xerces-C++ is a validating XML parser written in a portable subset of C++ + Xerces-C++ is a validating XML parser written in a portable subset of C++. + http://mirror.metrocast.net/apache//xerces/c/3/sources/xerces-c-3.1.2.tar.gz + + icu4c-devel + + + + + xerces-c + + icu4c + + + /usr/bin + /usr/lib + + + + + xerces-c-devel + Development files for xerces-c + + xerces-c + + + /usr/include + /usr/lib/pkgconfig + + + + xerces-c-docs + Document files for xerces-c + + xerces-c + + + /usr/share/doc + + + + + + + 2014-12-30 + 3.1.1 + Rebuild. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-05-20 + 3.1.1 + Rebuild. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-01-18 + 3.1.1 + Rebuild for 1.0 + Richard de Bruin + richdb@pisilinux.org + + + 2010-10-21 + 3.1.1 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/programming/misc/xerces-c/translations.xml b/programming/misc/xerces-c/translations.xml new file mode 100644 index 0000000000..204a94e38c --- /dev/null +++ b/programming/misc/xerces-c/translations.xml @@ -0,0 +1,21 @@ + + + + xerces-c + C++ dilinin taşınabilir bir altkümesi ile yazılmış, XML sentaks doğrulaması yapabilen bir ayrıştırıcı + Xerces-C++, C++ dilinin taşınabilir bir altkümesi ile yazılmış, XML sentaks doğrulaması yapabilen bir ayrıştırıcıdır. + Xerces-C++ est un analyseur XML validant écrit dans un sous-ensemble portable du C++. + Xerces-C++ es un analizador XML con validación, escrito con un subconjunto portable de C++ + + + + xerces-c-devel + xerces-c için geliştirme dosyaları + + + + xerces-c-docs + xerces-c için yardım dosyaları ve API belgeleri + + + From 55062774eec61df9d9bba2016e6f27e6c55aafa9 Mon Sep 17 00:00:00 2001 From: groni Date: Mon, 24 Aug 2015 22:57:18 +0200 Subject: [PATCH 2/2] xsd need as dependency for libkolab --- programming/misc/xsd/actions.py | 20 ++++ programming/misc/xsd/files/xsdcxx.patch | 127 ++++++++++++++++++++++++ programming/misc/xsd/pspec.xml | 97 ++++++++++++++++++ programming/misc/xsd/translations.xml | 14 +++ 4 files changed, 258 insertions(+) create mode 100644 programming/misc/xsd/actions.py create mode 100644 programming/misc/xsd/files/xsdcxx.patch create mode 100644 programming/misc/xsd/pspec.xml create mode 100644 programming/misc/xsd/translations.xml diff --git a/programming/misc/xsd/actions.py b/programming/misc/xsd/actions.py new file mode 100644 index 0000000000..cb3ae62f9f --- /dev/null +++ b/programming/misc/xsd/actions.py @@ -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") diff --git a/programming/misc/xsd/files/xsdcxx.patch b/programming/misc/xsd/files/xsdcxx.patch new file mode 100644 index 0000000000..6a411c6d16 --- /dev/null +++ b/programming/misc/xsd/files/xsdcxx.patch @@ -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 @@ + +

NAME

+ +-

xsd - W3C XML Schema to C++ Compiler

++

xsdcxx - W3C XML Schema to C++ Compiler

+ +

SYNOPSIS

+ +
+-
xsd command [options] file [file ...]
+-
xsd help [command]
+-
xsd version
++
xsdcxx command [options] file [file ...]
++
xsdcxx help [command]
++
xsdcxx version
+
+ +

DESCRIPTION

+ +-

xsd generates vocabulary-specific, statically-typed ++

xsdcxx generates vocabulary-specific, statically-typed + C++ mapping from W3C XML Schema definitions. Particular mapping to + produce is selected by a command. Each mapping has + a number of mapping-specific options that should +@@ -104,7 +104,7 @@ + +

help
+
Print usage information and exit. Use +-

xsd help command

++

xsdcxx help command

+ for command-specific help. +
+ +@@ -219,7 +219,7 @@ + +

For example, if you have file hello.xsd with + namespace http://example.com/hello and you run +- xsd on this file, then the string in question will ++ xsdcxx on this file, then the string in question will + be:

+ +

hello.xsd. http://example.com/hello

+@@ -1530,7 +1530,7 @@ +

DIAGNOSTICS

+ +

If the input file is not a valid W3C XML Schema definition, +- xsd will issue diagnostic messages to STDERR ++ xsdcxx will issue diagnostic messages to STDERR + and exit with non-zero exit code.

+ +

BUGS

+ diff --git a/programming/misc/xsd/pspec.xml b/programming/misc/xsd/pspec.xml new file mode 100644 index 0000000000..a6da6fb57b --- /dev/null +++ b/programming/misc/xsd/pspec.xml @@ -0,0 +1,97 @@ + + + + + xsd + http://www.codesynthesis.com/products/xsd + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + library + An open-source, cross-platform W3C XML Schema to C++ data binding compiler + 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. + http://codesynthesis.com/download/xsd/4.0/xsd-4.0.0+dep.tar.bz2 + + xerces-c-devel + boost-devel + + + xsdcxx.patch + + + + + xsd + + xerces-c + boost + + + /usr/bin + /usr/share/man + + + + + xsd-devel + Development files for xsd + + xsd + + + /usr/include + /usr/lib/pkgconfig + + + + + xsd-docs + Document files for xsd + + xsd + + + /usr/share/doc + + + + + + 2014-12-24 + 4.0.0 + Rebuild for boost. + Osman Erkan + osman.erkan@pisilinux.org + + + 2014-05-20 + 3.3.0 + Rebuild for boost. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-11-09 + 3.3.0 + Rebuild. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-10-14 + 3.3.0 + Rebuild for icu4c + Marcin Bojara + marcin@pisilinux.org + + + 2013-01-07 + 3.3.0 + First release + Marcin Bojara + marcin@pisilinux.org + + + \ No newline at end of file diff --git a/programming/misc/xsd/translations.xml b/programming/misc/xsd/translations.xml new file mode 100644 index 0000000000..4f49eb62d3 --- /dev/null +++ b/programming/misc/xsd/translations.xml @@ -0,0 +1,14 @@ + + + + xsd + Kompilator schematów W3C XML do wiązań danych C++ + 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. + + + + xsd-devel + Pliki nagłówkowe xsd + xsd için geliştirme dosyaları + +