diff options
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | debian/README.Debian | 7 | ||||
| -rw-r--r-- | debian/changelog | 179 | ||||
| -rw-r--r-- | debian/compat | 1 | ||||
| -rw-r--r-- | debian/control | 32 | ||||
| -rw-r--r-- | debian/copyright | 236 | ||||
| -rw-r--r-- | debian/dirs | 1 | ||||
| -rw-r--r-- | debian/doc-base | 14 | ||||
| -rw-r--r-- | debian/docs | 1 | ||||
| -rw-r--r-- | debian/patches/0001-xsd_xsdcxx-rename.patch | 159 | ||||
| -rw-r--r-- | debian/patches/series | 1 | ||||
| -rwxr-xr-x | debian/rules | 42 | ||||
| -rw-r--r-- | debian/source/format | 1 | ||||
| -rw-r--r-- | debian/source/options | 2 | ||||
| -rw-r--r-- | debian/ubuntu/apport-hook.py | 12 | ||||
| -rw-r--r-- | debian/watch | 6 | ||||
| -rw-r--r-- | debian/xsdcxx.lintian-overrides | 1 | 
17 files changed, 697 insertions, 0 deletions
| diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c6795b5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.bzr +.bzrignore diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..13c7c4a --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,7 @@ +XSD for Debian +------------------ + +Due to name conflicts with mono-1.0-devel the `xsd` application was renamed +to `xsdcxx`. The output of `xsdcxx` is the same, including the directories. + + -- Raphael Bossek <bossekr@debian.org>  Sat, 16 Feb 2008 19:26:38 +0100 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..bc19a6c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,179 @@ +xsd (4.0.0-1) unstable; urgency=medium + +  * New upstream release. +  * debian/watch +    - change regex. +  * refresh patches. +  * remove debian/patch/0002-bigendian.patch. +  * rewrite debian/rules. +  * debian/control +    - Build-Depends +      - remove hardenning-wrapper. +  * remove debian/bigendian + + -- Jörg Frings-Fürst <debian@jff-webhosting.net>  Mon, 21 Jul 2014 22:19:27 +0200 + +xsd (3.3.0.2-3) unstable; urgency=medium + +  * debian/rules +    - add --with autotools-dev  +      to prevent build errors on ppc64el & arm64  +      thanks to Dimitri John Ledkov +    - add ubuntu apport hook +    - change hardening to debhelper >= 9  +  * debian/source +    - add options +      compression xz +  * debian/ubuntu +    -add apport-hook.py + + -- Jörg Frings-Fürst <debian@jff-webhosting.net>  Sat, 24 May 2014 19:12:08 +0200 + +xsd (3.3.0.2-2) unstable; urgency=medium + +  * add patch to prevent builderrors on big-endian systems +    - new patch 0002-bigendian.patch +    - based on patches for bug #604256 +  * debian/rules +    - use debhelper vars +    - replacement of 2 test.std files +  * debian/control +    - add dpkg-dev (>= 1.15.4) to Build-Depends + + -- Jörg Frings-Fürst <debian@jff-webhosting.net>  Sun, 18 May 2014 12:24:50 +0200 + +xsd (3.3.0.2-1) unstable; urgency=low + +  * rewrite debian/copyright +  * replace old tarball-in-tarball to the Upstream-tarball +  * remove  +    - patches included in tarball +    - debian/README.source +  * add hardenning-wrapper to Build-Depends +  * rewrite debian/rules +  * rename debian/patches/xsd_xsdcxx-rename.patch to  +      0001-xsd_xsdcxx-rename.patch +  * add file xsdcxx.lintian-overrides +    - duplicate-files +  * change debian/compat to 9 +  * change Standards-Version to 3.9.5 +  * change debhelper to >= 9 +  * add debian/doc-base +  * move Homepage to debian/control source section +  * rename xsdcxx.watch to watch +  * change to upstream 3.3.0.2 +  * New Maintainer (Closes: #741475) + + -- Jörg Frings-Fürst <debian@jff-webhosting.net>  Sun, 20 Apr 2014 16:26:04 +0200 + +xsd (3.3.0.1-1.4) unstable; urgency=medium + +  * Non-maintainer upload. +  * Stop trying to apply binary git diffs with quilt (closes: #711950). + + -- Julien Cristau <jcristau@debian.org>  Sun, 01 Dec 2013 14:09:10 +0100 + +xsd (3.3.0.1-1.3) unstable; urgency=low + +  * Non maintainer upload +  * Fix build failure with GCC 4.7. + + -- Matthias Klose <doko@debian.org>  Tue, 22 May 2012 16:38:15 +0000 + +xsd (3.3.0.1-1.2) unstable; urgency=medium + +  * Non-maintainer upload. + +  [  Konstantinos Margaritis ] +  * debian/patches/boost1.46.patch: +    - Fix FTBFS against boost1.46 (Closes: #624942). + + -- Luca Falavigna <dktrkranz@debian.org>  Tue, 23 Aug 2011 22:06:28 +0200 + +xsd (3.3.0.1-1.1) unstable; urgency=low + +  * Non-maintainer upload. +  * Fix build fail on Renesas sh4 (Closes: #606057). +    Update debian/rules. +    When architecture of host is sh4, CXXFLAGS was added -mieee option. + + -- Nobuhiro Iwamatsu <iwamatsu@nigauri.org>  Fri, 11 Mar 2011 09:45:12 +0900 + +xsd (3.3.0.1-1) unstable; urgency=low + +  * Use ASCII encoding instead of UCS-4LE to work around Xerces-C++ bug. +    Closes: #604256 + + -- Raphael Bossek <bossekr@debian.org>  Mon, 22 Nov 2010 21:57:58 +0100 + +xsd (3.3.0-2) unstable; urgency=low + +  * Added autotools-dev build dependency. Closes: #604086 + + -- Raphael Bossek <bossekr@debian.org>  Sat, 20 Nov 2010 22:28:47 +0100 + +xsd (3.3.0-1) unstable; urgency=low + +  * New upstream release. Closes: #556724 +  * Update Automake files at build time. Closes: #536423 + + -- Raphael Bossek <bossekr@debian.org>  Thu, 18 Nov 2010 21:27:00 +0100 + +xsd (3.2.0.1-1.1) unstable; urgency=medium + +  * Non-maintainer upload. +  * Fix FTBFS with new boost (>= 1.37.0) by using the “-mt” suffix for +    boost libraries since starting with this version, only this variant +    is available (Closes: #530484): +     + debian/patches: Add xsd_fix-boost-ftbfs.patch +     + debian/rules: Apply that patch. +  * Set urgency to “medium” since this bug affects testing too. + + -- Cyril Brulebois <kibi@debian.org>  Sat, 18 Jul 2009 10:51:36 +0200 + +xsd (3.2.0.1-1) unstable; urgency=low + +  * New upstream version. This version depends on Xerces-C 3.0.0 which +    is in experimental right now. (Closes: #505837) + + -- Raphael Bossek <bossekr@debian.org>  Sat, 06 Dec 2008 13:44:38 +0100 + +xsd (3.1.0.1-2) unstable; urgency=low + +  * Added build dependency on libboost-date-time-dev. + + -- Raphael Bossek <bossekr@debian.org>  Wed, 18 Jun 2008 06:57:20 +0200 + +xsd (3.1.0.1-1) unstable; urgency=low + +  * Update libcult to 1.4.1 to support GCC 4.3 (build errors). +  * Added m4 as build dependency. +  * Added README.source to confirm with standards version 3.8.0. + + -- Raphael Bossek <bossekr@debian.org>  Tue, 17 Jun 2008 07:04:15 +0200 + +xsd (3.1.0-4) unstable; urgency=low + +  * Try to suppress compilation errors by disable not obsolate implementation +    (as mentioned in error report #482569) (Closes: #485843) + + -- Raphael Bossek <bossekr@debian.org>  Sun, 15 Jun 2008 21:46:20 +0200 + +xsd (3.1.0-3) unstable; urgency=low + +  * Removed old build dependency on libxerces25-dev. (Closes: #483965) + + -- Raphael Bossek <bossekr@debian.org>  Mon, 02 Jun 2008 21:00:43 +0200 + +xsd (3.1.0-2) unstable; urgency=low + +  * Fixed bulid problem. (Closes: #482569) + + -- Raphael Bossek <bossekr@debian.org>  Mon, 26 May 2008 12:14:37 +0200 + +xsd (3.1.0-1) unstable; urgency=low + +  * Initial release (Closes: #479523) + + -- Raphael Bossek <bossekr@debian.org>  Sat, 16 Feb 2008 19:26:38 +0100 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..285c7cf --- /dev/null +++ b/debian/control @@ -0,0 +1,32 @@ +Source: xsd +Section: devel +Priority: extra +Maintainer: Jörg Frings-Fürst <debian@jff-webhosting.net> +Build-Depends:  + autotools-dev, + debhelper (>= 9), + dpkg-dev (>= 1.15.4), + libboost-date-time-dev,  + libboost-filesystem-dev,  + libboost-regex-dev,  + libxerces-c-dev (>= 3),  + m4 +Standards-Version: 3.9.5 +Homepage: http://codesynthesis.com +Vcs-Git: git://anonscm.debian.org/collab-maint/xsd.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/xsd.git + +Package: xsdcxx +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: XML Data Binding for C++ + 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. + + + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..357b0fc --- /dev/null +++ b/debian/copyright @@ -0,0 +1,236 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: xsd +Upstream-Contact: xsd-user Maillist <xsd-users@codesynthesis.com> +Source: <http://www.codesynthesis.com/download/xsd/3.2/xsd-3.2.0.2+dep.tar.bz2> + +Files: * +Copyright: Copyright (©) 2005-2014  CODE SYNTHESIS TOOLS CC +License: GPL-2+ and FLOSS + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version. + . + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE.  See the GNU General Public License for more + details. + . + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA  02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + . + Free/Libre and Open Source Software ("FLOSS") + °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° +    1. Intent + . +    We want specified Free/Libre and Open Source Software ("FLOSS") +    to be able to use the specified GPL-licensed xsd runtime library +    and xsd generated code (collectively called the "Program") despite +    the fact that not all FLOSS licenses are compatible with version 2 +    of the GNU General Public License (the "GPL"). + . +    It is our intent to allow distribution of the entire Derivative +    Work (including the Program) under one or more of the FLOSS licenses +    listed in section 3 (section 2.a). It is also our intent to disallow +    simple relicensing of the Program for the sole purpose of using it in +    proprietary applications (section 2.b and 2.c). As an example, consider +    two hypothetical scenarios: + . +     a) You created a program that uses the xsd generated code and the xsd +        runtime library to access information in XML instance documents. +        Your program performs useful computations based on this information +        (sections 2.b and 2.c are satisfied). You distribute your program, +        including the xsd generated code and the xsd runtime library under +        the BSD license and make it available at no charge to all third +        parties (section 2.a is satisfied). Later you (or someone else) may +        choose to base their proprietary application on your code since the +        BSD license does not prohibit it. + . +        This scenario falls under this FLOSS Exception. + . +     b) You created a library that uses the xsd generated code and the xsd +        runtime library to access information in XML instance documents. You +        did not add to the library any other useful code that uses the xsd +        generated code or the xsd runtime library (neither section 2.b nor +        2.c is satisfied). You distribute your library, including the xsd +        generated code and the xsd runtime library under the BSD license and +        make it available at no charge to all third parties (section 2.a +        is satisfied). Later you base your proprietary application on this +        library since the BSD license does not prohibit it. + . +        This scenario does not fall under this FLOSS Exception (neither +        section 2.b nor 2.c is satisfied). You created the library for the +        sole purpose of making the xsd generated code and the xsd runtime +        library available to your proprietary application. + . +    2. Legal Terms and Conditions + . +    As a special exception to the terms and conditions of version 2 of +    the GPL you are free to distribute a verbatim copy of the Program +    as part of the Derivative Work that is formed from the Program or +    any part thereof and one or more works (each, a "FLOSS Work") as +    long as you also meet all of these conditions: + . +      a) You must cause the Derivative Work that in whole or in part +         contains or is derived from the Program or any part thereof, +         to be licensed as a whole at no charge to all third parties +         under the terms of one or more of the licenses listed in +         section 3. + . +      b) The Derivative Work should contain one or more FLOSS Work that +         can be reasonably considered as derived from the Program or some +         part thereof. + . +      c) The Derivative Work should not contain any part of the Program +         that cannot be reasonably considered as a base of one or more +         FLOSS Work. + . +    3. FLOSS License List + . +      a) Any license listed in the "GPL-Compatible Free Software Licenses" +         and the "GPL-Incompatible Free Software Licenses" sections of the +         License List as published by the Free Software Foundation (FSF): + . +         http://www.gnu.org/licenses/license-list.html + . +    4. Definitions + . +    Terms used, but not defined, herein shall have the meaning +    provided in the GPL. + . +    Derivative Work means a derivative work under copyright law. + . +    5. Applicability + . +    You may choose to redistribute a copy of the Program exclusively under +    the terms of the GPL by removing the FLOSS Exception notice from that +    copy of the Program. + +Files: xsd/documentation/cxx/tree/dbxml/library.xsd +       xsd/documentation/cxx/tree/dbxml/driver.cxx +       xsd/documentation/custom-literals.xsd +       xsd/examples/cxx/*/driver.cxx +       xsd/examples/cxx/parser/generated/library.* +       xsd/examples/cxx/parser/hello/hello.* +       xsd/examples/cxx/parser/library/library*.* +       xsd/examples/cxx/parser/mixed/anchor.hxx +       xsd/examples/cxx/parser/mixed/text.* +       xsd/examples/cxx/parser/mixin/types.hxx +       xsd/examples/cxx/parser/mixin/instance.xml +       xsd/examples/cxx/parser/mixin/schema.* +       xsd/examples/cxx/parser/multiroot/balance.xml +       xsd/examples/cxx/parser/multiroot/deposit.xml +       xsd/examples/cxx/parser/multiroot/protocol*.* +       xsd/examples/cxx/parser/multiroot/withdraw.xml +       xsd/examples/cxx/parser/performance/test.xsd +       xsd/examples/cxx/parser/performance/time.* +       xsd/examples/cxx/parser/polymorphism/supermen*.* +       xsd/examples/cxx/parser/polyroot/*.xml +       xsd/examples/cxx/parser/polyroot/supermen*.* +       xsd/examples/cxx/parser/wildcard/email.* +       xsd/examples/cxx/tree/binary/boost/boost*.* +       xsd/examples/cxx/tree/binary/boost/library.* +       xsd/examples/cxx/tree/binary/cdr/library.*   +       xsd/examples/cxx/tree/binary/xdr/library.*   +       xsd/examples/cxx/tree/caching/library.*   +       xsd/examples/cxx/tree/compression/library.*  +       xsd/examples/cxx/tree/compression/compressed*.* +       xsd/examples/cxx/tree/custom/calendar/calendar.* +       xsd/examples/cxx/tree/custom/calendar/xml-schema-custom.* +       xsd/examples/cxx/tree/custom/comments/dom-parse.*         +       xsd/examples/cxx/tree/custom/comments/people.* +       xsd/examples/cxx/tree/custom/comments/xml-schema-custom.* +       xsd/examples/cxx/tree/custom/contacts/contacts*.* +       xsd/examples/cxx/tree/custom/double/double-custom.* +       xsd/examples/cxx/tree/custom/double/order.xsd +       xsd/examples/cxx/tree/custom/mixed/people*.* +       xsd/examples/cxx/tree/custom/taxonomy/people*.* +       xsd/examples/cxx/tree/custom/wildcard/wildcard*.* +       xsd/examples/cxx/tree/dbxml/library.xsd  +       xsd/examples/cxx/tree/embedded/library.* +       xsd/examples/cxx/tree/embedded/grammar-input-stream.* +       xsd/examples/cxx/tree/embedded/xsdbin.cxx +       xsd/examples/cxx/tree/hello/hello.* +       xsd/examples/cxx/tree/library/library.* +       xsd/examples/cxx/tree/messaging/*.xml   +       xsd/examples/cxx/tree/messaging/*.cxx +       xsd/examples/cxx/tree/messaging/*.hxx +       xsd/examples/cxx/tree/messaging/protocol.xsd +       xsd/examples/cxx/tree/mixed/text.* +       xsd/examples/cxx/tree/multiroot/*.xml +       xsd/examples/cxx/tree/multiroot/dom-parse.* +       xsd/examples/cxx/tree/multiroot/protocol.xsd  +       xsd/examples/cxx/tree/performance/parsing.cxx  +       xsd/examples/cxx/tree/performance/serialization.cxx +       xsd/examples/cxx/tree/performance/test.xsd +       xsd/examples/cxx/tree/performance/time.* +       xsd/examples/cxx/tree/polymorphism/supermen.* +       xsd/examples/cxx/tree/streaming/parser.*      +       xsd/examples/cxx/tree/streaming/position.* +       xsd/examples/cxx/tree/streaming/serializer.* +       xsd/examples/cxx/tree/wildcard/email.* +       xsd/examples/cxx/tree/xpath/dom-parse.* +       xsd/examples/cxx/tree/xpath/driver-2.cxx +       xsd/examples/cxx/tree/xpath/people.* +Copyright: Boris Kolpackov <boris@codesynthesis.com> +License: public-domain +  In xsd/LICENSE all files are published under GPL-2 +  +Files: xsd/documentation/cxx/tree/dbxml/index.xhtml +       xsd/documentation/cxx/tree/guide/cxx-tree-guide.* +       xsd/documentation/cxx/tree/guide/index.xhtml +       xsd/documentation/cxx/tree/guide/guide.html2ps +       xsd/documentation/cxx/tree/manual/cxx-tree-manual.* +       xsd/documentation/cxx/tree/manual/index.xhtml +       xsd/documentation/cxx/tree/manual/manual.html2ps +       xsd/documentation/cxx/praser/guide/cxx-praser-guide.* +       xsd/documentation/cxx/praser/guide/index.xhtml +       xsd/documentation/cxx/praser/guide/guide.html2ps +       xsd/documentation/future.xhtml +       xsd/documentation/schema-authoring-guide.xhtml +       xsd/documentation/xsd.* +       libbackend-elements/documentation/index.xhtml +       libcult/documentation/*/index.xhtml +       libfrontend-elements/documentation/index.xhtml +Copyright: 2005-2014 CODE SYNTHESIS TOOLS CC +License: GFDL-1.2 + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.2 + as published by the Free Software Foundation; with no Invariant Sections, no + Front-Cover Texts, and no Back-Cover Texts. + . + On Debian systems, the complete text of the GNU Free Documentation License + version 1.2 can be found in "/usr/share/common-licenses/GFDL-1.2". + +Files: debian/* +Copyright: 2008, Raphael Bossek <bossekr@debian.org>  +           2014, Jörg Frings-Fürst <debian@jff-webhosting.net>  +License: GPL-1+ + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 1 of the License, or (at your option) any later + version. + . + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE.  See the GNU General Public License for more + details. + . + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA  02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 1 can be found in the file + `/usr/share/common-licenses/GPL-1'. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..e772481 --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +usr/bin diff --git a/debian/doc-base b/debian/doc-base new file mode 100644 index 0000000..eb746ae --- /dev/null +++ b/debian/doc-base @@ -0,0 +1,14 @@ +Document: xsdcxx +Title: xsd Documentation +Section: Programming/C++ + +Format: PDF +Files: /usr/share/doc/xsdcxx/cxx/tree/manual/cxx-tree-manual.pdf.gz + /usr/share/doc/xsdcxx/cxx/tree/guide/cxx-tree-guide.pdf.gz + /usr/share/doc/xsdcxx/cxx/parser/guide/cxx-parser-guide.pdf.gz + +Format: PostScript +Files: /usr/share/doc/xsdcxx/cxx/tree/manual/cxx-tree-manual.ps.gz + /usr/share/doc/xsdcxx/cxx/tree/guide/cxx-tree-guide.ps.gz + /usr/share/doc/xsdcxx/cxx/parser/guide/cxx-parser-guide.ps.gz + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README diff --git a/debian/patches/0001-xsd_xsdcxx-rename.patch b/debian/patches/0001-xsd_xsdcxx-rename.patch new file mode 100644 index 0000000..c810ec9 --- /dev/null +++ b/debian/patches/0001-xsd_xsdcxx-rename.patch @@ -0,0 +1,159 @@ +Description: change docu from xsd to xsdcxx +Author: Jörg Frings-Fürst <debian@jff-webhosting.net> +Reviewed-by:  +Last-Update: 2014-07-22 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/xsd/doc/xsd.1 +=================================================================== +--- trunk.orig/xsd/doc/xsd.1	2014-07-21 08:38:41.000000000 +0200 ++++ trunk/xsd/doc/xsd.1	2014-07-21 23:27:00.928980158 +0200 +@@ -1,16 +1,16 @@ + .\" Process this file with + .\" groff -man -Tascii xsd.1 + .\" +-.TH XSD 1 "July 2014" "XSD 4.0.0" ++.TH XSDCXX 1 "July 2014" "XSDCXX 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 +@@ -133,9 +133,9 @@ +  + When the C++11 mode is selected, you normally don't need to perform any + extra steps other than enable C++11 in your C++ compiler, if required\. The +-XSD compiler will automatically add the necessary macro defines to the +-generated header files that will switch the header-only XSD runtime library +-(\fBlibxsd\fP) to the C++11 mode\. However, if you include any of the XSD ++XSDCXX compiler will automatically add the necessary macro defines to the ++generated header files that will switch the header-only XSDCXX runtime library ++(\fBlibxsd\fP) to the C++11 mode\. However, if you include any of the XSDCXX + runtime headers directly in your application (normally you just include the + generated headers), then you will need to define the \fBXSD_CXX11\fP macro + for your entire project\. +@@ -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. +Index: trunk/xsd/doc/xsd.xhtml +=================================================================== +--- trunk.orig/xsd/doc/xsd.xhtml	2014-07-21 08:38:41.000000000 +0200 ++++ trunk/xsd/doc/xsd.xhtml	2014-07-21 23:29:32.796093697 +0200 +@@ -3,11 +3,11 @@ + <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> +  + <head> +-  <title>XSD 4.0.0 Compiler Command Line Manual</title> ++  <title>XSDCXX 4.0.0 Compiler Command Line Manual</title> +  +   <meta name="copyright" content="© 2005-2014 Code Synthesis Tools CC"/> +   <meta name="keywords" content="xsd,xml,schema,c++,mapping,data,binding,code,generator,manual,man,page"/> +-  <meta name="description" content="XSD Compiler Command Line Manual"/> ++  <meta name="description" content="XSDCXX Compiler Command Line Manual"/> +  +   <link rel="stylesheet" type="text/css" href="default.css" /> +  +@@ -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 +@@ -138,10 +138,10 @@ +  +   <p>When the C++11 mode is selected, you normally don't need to perform any +   extra steps other than enable C++11 in your C++ compiler, if required. The +-  XSD compiler will automatically add the necessary macro defines to the +-  generated header files that will switch the header-only XSD runtime library ++  XSDCXX compiler will automatically add the necessary macro defines to the ++  generated header files that will switch the header-only XSDCXX runtime library +   (<code><b>libxsd</b></code>) to the C++11 mode. However, if you include any +-  of the XSD runtime headers directly in your application (normally you just ++  of the XSDCXX runtime headers directly in your application (normally you just +   include the generated headers), then you will need to define the +   <code><b>XSD_CXX11</b></code> macro for your entire project.</p></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> diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..8ac7078 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-xsd_xsdcxx-rename.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..7c5d89a --- /dev/null +++ b/debian/rules @@ -0,0 +1,42 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +export DH_OPTIONS + +derives_from_ubuntu := $(shell (dpkg-vendor --derives-from Ubuntu && echo "yes") || echo "no") + +# +# Hardening +# +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + + +%: +	dh $@ --with autotools-dev + +override_dh_clean: +	rm -f $(CURDIR)/libcult/build/system/configuration-dynamic.make +	dh_clean + +override_dh_auto_install: +	MAKEFLAGS="$$MAKEFLAGS install_prefix=$(CURDIR)/debian/xsdcxx/usr" $(MAKE) -C $(CURDIR)/ -f makefile install +	mv $(CURDIR)/debian/xsdcxx/usr/share/doc/xsd $(CURDIR)/debian/xsdcxx/usr/share/doc/xsdcxx +	mv $(CURDIR)/debian/xsdcxx/usr/bin/xsd $(CURDIR)/debian/xsdcxx/usr/bin/xsdcxx +	mv $(CURDIR)/debian/xsdcxx/usr/share/man/man1/xsd.1 $(CURDIR)/debian/xsdcxx/usr/share/man/man1/xsdcxx.1 +	rm -rf $(CURDIR)/debian/xsdcxx/usr/share/doc/libxsd +	find $(CURDIR)/debian/xsdcxx \( -name "COPYRIGHT*" -o -name "FLOSSE*" -o -name "LICENSE*" -o -name "GPL*" \) -exec rm -v {} \; + + +override_dh_install: +	dh_install +ifeq ($(derives_from_ubuntu),yes) +	install -D -m 644 debian/ubuntu/apport-hook.py $(CURDIR)/debian/xsdcxx/usr/share/apport/package-hooks/source_xsdcxx.py +endif + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..22a4de9 --- /dev/null +++ b/debian/source/options @@ -0,0 +1,2 @@ +compression = xz +compression-level = 9 diff --git a/debian/ubuntu/apport-hook.py b/debian/ubuntu/apport-hook.py new file mode 100644 index 0000000..200718b --- /dev/null +++ b/debian/ubuntu/apport-hook.py @@ -0,0 +1,12 @@ +'''apport package hook for xsdcxx + +Author: Jörg Frings-Fürst <ubuntu@jff-webhosting.net> +''' + +from apport.hookutils import * + +def add_info(report): +    attach_dmesg(report) +    attach_hardware(report) +    attach_related_packages(report, packages) +     diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..6d2edd6 --- /dev/null +++ b/debian/watch @@ -0,0 +1,6 @@ +# Compulsory line, this is a version 3 file +version=3 +opts=dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$// \ +http://codesynthesis.com/download/xsd/(\d+)\.(\d+)/xsd-(\d+)\.(\d+)\.(\d+)[-(\d+)]?\+dep\.tar\.bz2 + + diff --git a/debian/xsdcxx.lintian-overrides b/debian/xsdcxx.lintian-overrides new file mode 100644 index 0000000..ceee049 --- /dev/null +++ b/debian/xsdcxx.lintian-overrides @@ -0,0 +1 @@ +duplicate-files | 
