summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-07-18 09:18:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-07-18 09:18:25 +0200
commite97eef73e90994d2245ebf722ce8e27027bef410 (patch)
treef526a8e980f58a3f8ce0b7b1358a79860de5b51e
parentc832963ebe7939393f1108d31aa569723190177c (diff)
Add Debian packaging files
-rw-r--r--debian/README.Debian5
-rw-r--r--debian/changelog162
-rw-r--r--debian/compat1
-rw-r--r--debian/control16
-rw-r--r--debian/copyright130
-rwxr-xr-xdebian/rules99
6 files changed, 413 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..e633e5d
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,5 @@
+CodeSynthesis XSD for Debian
+--------------
+
+
+ -- Boris Kolpackov <boris@codesynthesis.com>, Mon, 18 Jul 2005 19:56:52 -0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3c693d2
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,162 @@
+xsd (4.0.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Fri, 18 Jul 2014 08:27:47 -0200
+
+xsd (3.3.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Tue, 27 Apr 2010 10:23:58 -0200
+
+xsd (3.2.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Tue, 30 Feb 2008 08:34:36 -0200
+
+xsd (3.1.0-2) unstable; urgency=low
+
+ * Bug fixes from the upcoming release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Wed, 26 Mar 2008 16:51:09 -0200
+
+xsd (3.1.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Wed, 6 Feb 2008 20:40:57 -0200
+
+ xsd (3.0.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Tue, 31 Jul 2007 16:11:27 -0200
+
+xsd (2.3.1-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Tue, 23 Jan 2007 07:48:52 -0200
+
+xsd (2.3.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Mon, 18 Sep 2006 19:04:35 -0200
+
+xsd (2.2.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Mon, 10 Jul 2006 22:49:54 -0200
+
+xsd (2.1.1-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Mon, 01 May 2006 20:41:39 -0200
+
+xsd (2.1.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Mon, 18 Apr 2006 08:19:30 -0200
+
+xsd (2.0.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Mon, 13 Mar 2006 09:37:57 -0200
+
+xsd (1.9.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Sun, 5 Feb 2006 11:24:22 -0200
+
+xsd (1.8.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Mon, 16 Jan 2006 13:01:43 -0200
+
+xsd (1.7.0-2) unstable; urgency=low
+
+ * Development version snapshot.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Mon, 15 Dec 2005 12:34:56 -0200
+
+xsd (1.7.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Mon, 05 Dec 2005 09:26:15 -0200
+
+xsd (1.6.0-2) unstable; urgency=low
+
+ * Backported important features/bugfixes from the development version.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Tue, 15 Nov 2005 08:47:23 -0200
+
+xsd (1.6.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Tue, 08 Nov 2005 23:53:11 -0200
+
+xsd (1.5.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Thu, 20 Oct 2005 12:42:34 -0200
+
+xsd (1.4.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Mon, 03 Oct 2005 10:14:23 -0200
+
+xsd (1.3.0-2) unstable; urgency=low
+
+ * Backported important features/bugfixes from the development version.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Thu, 26 Sep 2005 15:46:05 -0200
+
+xsd (1.3.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Fri, 16 Sep 2005 10:04:14 -0200
+
+xsd (1.2.0-2) unstable; urgency=low
+
+ * Backported important bugfixes from the development version.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Thu, 08 Sep 2005 10:05:12 -0200
+
+xsd (1.2.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Thu, 01 Sep 2005 17:21:06 -0200
+
+xsd (1.1.1-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Thu, 25 Aug 2005 18:19:23 -0200
+
+xsd (1.1.0-1) unstable; urgency=low
+
+ * New mainstream release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Sat, 06 Aug 2005 19:56:52 -0200
+
+xsd (1.0.1-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Boris Kolpackov <boris@codesynthesis.com> Mon, 18 Jul 2005 19:56:52 -0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..949fcb7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,16 @@
+Source: xsd
+Section: devel
+Priority: optional
+Maintainer: Boris Kolpackov <boris@codesynthesis.com>
+Build-Depends: debhelper (>= 4.0.0)
+Standards-Version: 3.6.1
+
+Package: xsd
+Architecture: any
+Depends: libc6 (>= 2.2.5)
+Recommends: libxerces-c-dev (>= 3.0.0), libexpat1-dev (>= 1.95.8), g++ (>= 4.2.0)
+Description: XML Schema to C++ data binding compiler
+ CodeSynthesis XSD is an 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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6f1f7f7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,130 @@
+This package was debianized by Boris Kolpackov <boris@codesynthesis.com> on
+Mon, 18 Jul 2005 19:56:52 -0200.
+
+It was downloaded from http://www.codesynthesis.com/projects/xsd/
+
+Copyright Holder: Code Synthesis Tools CC <info@codesynthesis.com>
+
+License:
+
+ 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 program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA.
+
+ On Debian systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL'.
+
+ In addition, as a special exception, Code Synthesis Tools CC gives
+ permission to link this program with the Xerces-C++ library (or with
+ modified versions of Xerces-C++ that use the same license as Xerces-C++),
+ and distribute linked combinations including the two. You must obey
+ the GNU General Public License version 2 in all respects for all of
+ the code used other than Xerces-C++. If you modify this copy of the
+ program, you may extend this exception to your version of the program,
+ but you are not obligated to do so. If you do not wish to do so, delete
+ this exception statement from your version.
+
+ In addition, Code Synthesis Tools CC makes a special exception for
+ the Free/Libre and Open Source Software (FLOSS) which is described
+ below.
+
+ 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.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c2ab5af
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,99 @@
+#! /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
+
+ARCH_CPU := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
+
+ifeq ($(ARCH_CPU),amd64)
+ARCH_CPU := x86_64
+endif
+
+ifeq ($(ARCH_CPU),i386)
+ARCH_CPU := i686
+endif
+
+ARCH_KERNEL_OS := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
+
+ARCH := $(ARCH_CPU)-$(ARCH_KERNEL_OS)
+
+$(warning building for host system: $(ARCH))
+
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+ # Add here commands to compile the package.
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ # Add here commands to clean up after the build process.
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ # Add here commands to install the package into debian/xsd.
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs NEWS
+ dh_installdocs README
+ dh_installdocs doc/default.css doc/xsd.xhtml
+ dh_installdocs doc/cxx/tree/
+ dh_installdocs doc/cxx/parser/
+ dh_installman doc/xsd.1
+ cp -rL bin $(CURDIR)/debian/xsd/usr/
+ mkdir -p $(CURDIR)/debian/xsd/usr/include/
+ cp -rL libxsd/xsd $(CURDIR)/debian/xsd/usr/include/
+ cp -rL examples $(CURDIR)/debian/xsd/usr/share/doc/xsd/
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+## dh_installman
+## dh_link
+## dh_strip # no stripping at the moment
+ dh_compress -X.hxx -X.ixx -X.txx -X.cxx -Xmakefile -X.xsd -X.xml -X.xhtml -X.pdf -X.doxygen
+ dh_fixperms
+# dh_perl
+# dh_python
+# dh_makeshlibs
+ dh_installdeb
+## dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure