--- libxmlada-4.1.orig/debian/build_xmlada.gpr +++ libxmlada-4.1/debian/build_xmlada.gpr @@ -0,0 +1,15 @@ +project Build_XMLAda is + for Source_Dirs use ("../dom", "../input_sources", "../sax", "../schema", "../unicode"); + for Library_Name use "xmlada"; + for Library_Dir use ".."; + for Library_Kind use External ("kind"); + for Library_Version use External ("soname"); + for Object_Dir use "../" & External ("obj"); + for Library_ALI_Dir use "../ali-" & External ("obj"); + package Compiler is + for Default_Switches ("Ada") use ("-g", "-O2", "-gnatafno", "-gnatVa", "-gnatwa"); + -- Work around a compiler bug triggered on ia64 + for Switches ("sax-readers.adb") use ("-g", "-O1", "-gnatafno", "-gnatVa", "-gnatwa"); + end Compiler; +end Build_XMLAda; + --- libxmlada-4.1.orig/debian/copyright +++ libxmlada-4.1/debian/copyright @@ -0,0 +1,60 @@ +This package was debianized by Ludovic Brenta on +Sat, 20 Dec 2003 20:07:23 +0100. + +It was downloaded from http://libre.act-europe.fr/xmlada + +Upstream Author: Emmanuel Briot + +Copyright (c) 2001-2008 AdaCore + +This library 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 library 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 library; 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 Public License is +available in the file /usr/share/common-licenses/GPL. + + + +License change +-------------- + +XML/Ada 2.2 has switched to the pure GNU GPL license. As a result, if +you use XML/Ada 2.2 in your program, you have four options: + +- do not distribute your program at all (you can always use it for + yourself). + +- distribute your program under the terms of the GPL, i.e. with full + sources and the four freedoms: inspection, redistribution, + modification, and distribution of modified copies. + +- distribute your program in source form only, under licensing terms + of your choosing (perhaps under non-disclosure, non-redistribution + terms), and ask your licensees to recompile your program for + themselves. + +- contact AdaCore (sales@adacore.com) and purchase a GNAT-Modified + GPL which will allow you to distribute your program in binary-only + form without disclosing your sources. + +If you obtain XML/Ada 2.2 or later from AdaCore's CVS or web server, +you may notice that the source files still contain the GNAT-Modified +license boilerplate. This boilerplate has no legal force; you must +ask AdaCore for clarification. The license is really the pure GPL. +In order to reduce the risk for confusion, I have removed this license +boilerplate from the sources in the Debian package. + +-- +Ludovic Brenta, 2006-07-13 --- libxmlada-4.1.orig/debian/source.lintian-overrides +++ libxmlada-4.1/debian/source.lintian-overrides @@ -0,0 +1,6 @@ +# We do not use upstream's configury (in fact, I hate the autotools +# with a vengeance). So, please lintian, don't report an error +# because config.guess is too old. +libxmlada source: ancient-autotools-helper-file config.guess 2003-07-02 +libxmlada source: ancient-autotools-helper-file config.sub 2003-07-04 +libxmlada source: patch-system-but-no-source-readme --- libxmlada-4.1.orig/debian/xmlada-config.1 +++ libxmlada-4.1/debian/xmlada-config.1 @@ -0,0 +1,31 @@ +.TH XMLADA-CONFIG 1 +.SH NAME +xmlada-config \- script to get information about the installed version of xmlada +.SH SYNOPSYS +.B xmlada-config +[\-\-prefix] [\-\-version|\-v] [\-\-libs] [\-\-cflags] [\-\-sax] [\-\-static] +.SH DESCRIPTION +.PP +\fIxmlada-config\fP is a tool that is used to configure, determine compiler +and linker flags that should be used produce an executable with XML/Ada +support. +. +.SH OPTIONS +\fIxmlada-config\fP accepts the following options: +.IP \fB\-\-prefix\fR +Output the directory in which XML/Ada is installed +.IP \fB\-\-version|\-v\fR +Output the version of XML/Ada +.IP \fB\-\-libs\fR +Output the linker flags to use for XML/Ada +.IP \fB\-\-cflags\fR +Output the compiler flags to use for XML/Ada +.IP \fB\-\-sax\fR +Output all the flags to usr for XML/Ada, provided +you are not using the DOM module +.IP \fB\-\-static\fR +Output all the flags (compiler and linker) required to +compile a static version of your program +.SH AUTHOR +This manual page was written by Xavier Grave , for +the Debian GNU/Linux system (but may be used by others). --- libxmlada-4.1.orig/debian/xmlada.gpr +++ libxmlada-4.1/debian/xmlada.gpr @@ -0,0 +1,31 @@ +-- XML/Ada library project file for use with GCC 4.3 +-- Copyright (c) 2003, 2006, 2008, 2009 Ludovic Brenta +-- +-- 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 3 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. +-- +-- This project file is designed to help build applications that use +-- XML/Ada. Here is an example of how to use this project file: +-- +-- with "xmlada"; +-- project Example is +-- for Object_Dir use "obj"; +-- for Exec_Dir use "."; +-- for Main use ("example"); +-- end Example; + +project XmlAda is + for Library_Name use "xmlada"; + for Library_Dir use "/usr/lib"; + for Library_Kind use "dynamic"; + for Source_Dirs use ("/usr/share/ada/adainclude/xmlada"); + for Library_ALI_Dir use "/usr/lib/ada/adalib/xmlada"; + for Externally_Built use "true"; +end XmlAda; --- libxmlada-4.1.orig/debian/compat +++ libxmlada-4.1/debian/compat @@ -0,0 +1 @@ +8 --- libxmlada-4.1.orig/debian/rules +++ libxmlada-4.1/debian/rules @@ -0,0 +1,157 @@ +#!/usr/bin/make -f +# Build script for XML/Ada in Debian. +# Copyright (c) 2003-2009 Ludovic Brenta + +# This build script 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 3 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 +# USA + +# On Debian systems, the full text of the GPL is in the file +# /usr/share/common-licenses/GPL. + +# gnatmake can do parallel builds; we don't want make to interfere. +.NOTPARALLEL: + +include /usr/share/quilt/quilt.make + +ALIVERSION := $(shell sed -n -r 's/^Package: libxmlada(.*)-dev$$/\1/p' debian/control) +SOVERSION := $(shell sed -n -r 's/^Package: libxmlada([^-]+)$$/\1/p' debian/control) +CPUS := $(shell getconf _NPROCESSORS_ONLN) +mtnbase := base_debian.db +mtnversion := bc73f0c0f1fe677f059a57ef1ccad9e2ca5160a9 +branch := com.adacore.xmlada.debian +orig_dir := libxmlada_$(ALIVERSION).orig +orig_tgz := libxmlada_$(ALIVERSION).orig.tar.gz +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +MODULES = unicode input_sources sax dom schema + +file_to_spec := -e 's!.*/(.+)\.ads!\1!' -e 's!-!.!g' + +get-orig-source: + if [ ! -e ../$(mtnbase) ]; then \ + mtn -d../$(mtnbase) db init; \ + fi; \ + mtn -d../$(mtnbase) -k "" pull www.ada-france.org '$(branch)'; \ + cd .. && \ + mtn -d$(mtnbase) co -r$(mtnversion) -b$(branch) $(orig_dir) && \ + rm -rf $(orig_dir)/_MTN $(orig_dir)/.*ignore&& \ + tar czf $(orig_tgz) $(orig_dir) && \ + rm -r $(orig_dir) + +build-arch: checks patch build-stamp +build-indep: patch doc + +build-stamp: libxmlada.a libxmlada.so.$(SOVERSION) xmlada-config + touch build-stamp + +libxmlada.a: + : # Build the static library + gnatmake -j$(CPUS) -p -Pdebian/build_xmlada -Xobj=obj-static -Xkind=static -Xsoname= + +libxmlada.so.$(SOVERSION): + : # Build the shared library + gnatmake -j$(CPUS) -p -Pdebian/build_xmlada -Xobj=obj-shared -Xkind=dynamic -Xsoname=$@ + +FORMATS := html info pdf txt +doc: $(foreach f,$(FORMATS),docs/xmlada.$(f)) +.PHONY: doc + +docs/xmlada.html: docs/xml.texi + cd docs; makeinfo --html --no-split $(notdir $<) -o $(notdir $@) + +docs/xmlada.info: docs/xml.texi + cd docs; makeinfo --no-split $(notdir $<$) -o $(notdir $@) + +docs/xmlada.pdf: docs/xml.texi + cd docs; texi2pdf $(notdir $<) -o $(notdir $@) + +docs/xmlada.txt: docs/xml.texi + cd docs; makeinfo --plaintext --no-split $(notdir $<) -o $(notdir $@) + +checks: + dh_testdir + dh_prep + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp libxmlada* + rm -f $(foreach f,$(FORMATS),docs/xmlada.$(f)) + rm -f $(foreach extension,aux cp cps pg ky tp vr fn log pdf toc,docs/xml.$(extension)) + rm -rf *obj-static *obj-shared debian/files + dh_clean + + +binary-indep: build-indep libxmlada-doc + dh_installchangelogs -i + dh_compress -i -X.pdf + dh_fixperms -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build-arch binary-checks libxmlada$(SOVERSION) libxmlada$(ALIVERSION)-dev + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary-checks: + dh_testdir + dh_testroot + dh_installchangelogs -a + dh_installdocs -a + +libxmlada$(SOVERSION): libxmlada.so.$(SOVERSION) + : # The library package + dh_installdirs -p$@ usr/lib/$(DEB_HOST_MULTIARCH) + dh_install -p$@ libxmlada.so.$(SOVERSION) usr/lib/$(DEB_HOST_MULTIARCH) + dh_strip -p$@ --dbg-package=$@-dbg + dh_makeshlibs -p$@ + +libxmlada$(ALIVERSION)-dev: libxmlada.a + : # The -dev package + dh_installdirs -p$@ \ + usr/lib/$(DEB_HOST_MULTIARCH) \ + usr/share/ada/adainclude/xmlada \ + usr/lib/ada/adalib/xmlada + dh_install -p$@ libxmlada.a usr/lib/$(DEB_HOST_MULTIARCH) + dh_install -p$@ xmlada-config usr/bin + chmod u+x debian/$@/usr/bin/xmlada-config + dh_installman -p$@ debian/xmlada-config.1 + dh_link -p$@ usr/lib/$(DEB_HOST_MULTIARCH)/libxmlada.so.$(SOVERSION) \ + usr/lib/$(DEB_HOST_MULTIARCH)/libxmlada.so + dh_install -p$@ obj-shared/*.ali usr/lib/ada/adalib/xmlada + dh_install -p$@ \ + $(foreach module,$(MODULES),$(module)/*.adb) \ + $(foreach module,$(MODULES),$(module)/*.ads) \ + usr/share/ada/adainclude/xmlada + dh_install -p$@ debian/xmlada.gpr usr/share/ada/adainclude + +libxmlada-doc: + dh_installinfo -p$@ docs/xmlada.info + dh_installdocs -p$@ \ + $(foreach f,$(filter-out info,$(FORMATS)),docs/*.$(f)) \ + known-problems* README features* + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install +.PHONY: binary-checks libxmlada$(SOVERSION) --- libxmlada-4.1.orig/debian/changelog +++ libxmlada-4.1/debian/changelog @@ -0,0 +1,266 @@ +libxmlada (4.1-2) unstable; urgency=low + + * debian/patches/xmlada-config.patch: bump version number. + Closes: #661593. + * debian/control: remove references to ada-compiler. + + -- Ludovic Brenta Tue, 28 Feb 2012 19:59:42 +0100 + +libxmlada (4.1-1) unstable; urgency=low + + [Xavier Grave] + * New upstream version 4.1 + * add get-orig-source in debian/rules + * Package renamings pursuant to Debian Policy for Ada: + libxmlada3.2 -> libxmlada4.1 + libxmlada3.2-dev -> libxmlada4.1-dev + libxmlada3.2-dbg -> libxmlada4.1-dbg + + [Ludovic Brenta] + * debian/control (Architecture): any. + (Uploaders): add Xavier. + (DM-Upload-Allowed): yes. + (Standards-Version): move to 3.9.2 with no changes required. + (Multi-Arch): same. + (Build-Depends): debhelper (>= 8.1.3). + * debian/rules: install the shared and static libs in the multiarch + directory. + * debian/compat: bump to 8. + + -- Ludovic Brenta Tue, 6 Sep 2011 11:30:15 +0200 + +libxmlada (3.2-5) unstable; urgency=low + + * debian/control (*-dev): depend on gnat, ada-compiler. + (*-doc, *-dbg): suggest gnat, gnat-4.4, ada-compiler. + (Standards-Version): bump to 3.8.4 with no changes required. + (VCS-Browser, VCS-Mtn): new. + (Architecture): add armel Closes: #568447. + * debian/rules: extract the aliversion and soversion from + debian/changelog. + * Add support for building architecture-dependent and + architecture-independent packages separately (i.e. dpkg-buildpackage + -A, -B). + debian/rules (binary): split into binary-arch and binary-indep. + debian/control (Build-Depend-Indep): new, move some dependencies + from Build-Depend. + + [Nicolas Boulenguez] + * debian/rules (libxmlada$(ALIVERSION)-dev): Removed obsolete and empty + doc directory. + + -- Ludovic Brenta Wed, 16 Jun 2010 20:51:18 +0200 + +libxmlada (3.2-4) unstable; urgency=medium + + * debian/build_xmlada.gpr: work around a ia64-only compiler bug. + Allows the package to build on ia64. + * debian/rules (binary-indep): do not compress PDF files, they are + already compressed internally. + + -- Ludovic Brenta Sun, 13 Dec 2009 15:37:21 +0100 + +libxmlada (3.2-3) unstable; urgency=low + + [Xavier Grave] + * debian/rules (libxmlada$(ALIVERSION)-dev): s/SONAME/SOVERSION/; + fixes a bug. + + -- Ludovic Brenta Tue, 1 Dec 2009 22:04:15 +0100 + +libxmlada (3.2-2) unstable; urgency=low + + * debian/control (libxmlada-doc): conflict with old versions of + the -dev package, they used to contain the documentation. + Closes: #557497. + * debian/rules (libxmlada-doc): also install the changelog. + + -- Ludovic Brenta Tue, 24 Nov 2009 00:37:12 +0100 + +libxmlada (3.2-1) unstable; urgency=low + + * New upstream version taken from Subversion revision 150712. + * debian/control (Build-Depends, Depends): transition to gnat-4.4. + (Architectures): remove alpha due to http://gcc.gnu.org/PR42073. + (libxmlada-doc): new package, Architecture: all. + Package renamings: + - libxmlada-dev to libxmlada3.2-dev + with Conflicts: and Replaces:, per Debian Policy for Ada + [http://people.debian.org/~lbrenta/debian-ada-policy.html]. + - libxmlada3{,-dbg} to libxmlada3.2{,-dbg} + * build_xmlada.gpr, xmlada-config.gpr: move to debian/. + * debian/README.Debian: remove, outdated. + + -- Ludovic Brenta Thu, 19 Nov 2009 23:06:09 +0100 + +libxmlada (3.0-6) unstable; urgency=low + + * debian/control (Architecture): add kfreebsd-amd64. Closes: #542416. + (Standards-Version): bump to 3.8.3. + (Depends): s/source:Version/binary:Version/g. + * debian/rules, debian/control (libxmlada3-dbg): introduce a new + package containing the detached debugging symbols. + * build_xmlada.gpr: always build with -g. + * patches: move to debian/patches. Make the patches compliant with + "quilt refresh -p ab". Closes: #485098. + * debian/rules: become compliant with source format 3.0 (quilt). + (clean): s/dh_clean -k/dh_prep/. + (libxmlada.so.3): gatmake knows about -fPIC when Library_Kind is + "dynamic", so do not pass it explicitly. + * debian/compat: bump to 7. + * debian/xmlada.gpr: turn into a proper library project file. + Closes: #522031. + + -- Ludovic Brenta Sat, 12 Sep 2009 12:54:47 +0200 + +libxmlada (3.0-5) unstable; urgency=low + + * Tighten build-dependency on gnat-4.3 due to bug fixes in libgnat that + affect the .ali files. + * Add Support for ppc64 in debian/control. + * xmlada-config.1: correct a syntax error detected by lintian; simplify. + + -- Ludovic Brenta Sun, 1 Jun 2008 15:41:26 +0200 + +libxmlada (3.0-4) unstable; urgency=low + + [Andreas Metzler] + * Add texlive-latex-base to build-depends. Closes: #479926 + + -- Ludovic Brenta Tue, 13 May 2008 22:09:06 +0200 + +libxmlada (3.0-3) unstable; urgency=low + + * debian/source.lintian-overrides: new. + * debian/compat: new. + * debian/control: use ${source:Version} instead of ${Source-Version}. + Update Standards-Version to 2.7.3 with no changes. Add a section + in the source section. + * patches/GPL.patch: everything downloaded from libre.adacore.com + is GPL, no matter what the files themselves say; so, change the + license of the documentation to the GPL. + + [Xavier Grave] + * debian/xmlada-config.1: new. + * debian/xmlada.gpr: revert to a regular project file; library project + files cause strange problems in very complex scenarios. + + -- Ludovic Brenta Thu, 1 May 2008 15:30:31 +0200 + +libxmlada (3.0-2) unstable; urgency=low + + * debian/rules (clean): really remove all generated files. + * Revert to the upstream version of texinfo.tex. + * debian/control (libxmlada-dev): fix the dependency on libxmlada3. + + -- Ludovic Brenta Sun, 20 Apr 2008 23:44:39 +0200 + +libxmlada (3.0-1) unstable; urgency=low + + [Ludovic Brenta] + * New upstream release taken from the Subversion repository (rev 120472). + * Rename the source package to libxmlada since I don't maintain multiple + versions in parallel. + * Change the soname to libxmlada.so.3. + * Migrate to GCC 4.3. Use a library project file to build the libraries. + * Add support for mips and mipsel. + * Rename xmlada2.gpr to xmlada.gpr and turn it into a library project + file. + * Migrate to texlive-generic-recommended and texlive-fonts-recommended. + * Update the patches. + + [Xavier Grave] + * Provide /usr/bin/xmlada-config. + + -- Ludovic Brenta Sat, 19 Apr 2008 16:24:46 +0200 + +libxmlada2 (2.2-7) unstable; urgency=low + + * debian/control (Architecture): add alpha and s390. + + -- Ludovic Brenta Wed, 11 Oct 2006 21:38:38 +0200 + +libxmlada2 (2.2-6) unstable; urgency=low + + * Reupload with the pristing source package. D'oh. I need vacation. + + -- Ludovic Brenta Wed, 26 Jul 2006 19:18:34 +0200 + +libxmlada2 (2.2-5) unstable; urgency=low + + * debian/control (libxmlada2): remove mips, mipsel and s390, because + libgnat is disabled on these architechures. Closes: #378372. + + -- Ludovic Brenta Tue, 25 Jul 2006 19:20:59 +0200 + +libxmlada2 (2.2-4) unstable; urgency=low + + * debian/control: remove mips mipsel s390, because libgnat is disabled on + these architechures. Closes: #378372. + + -- Ludovic Brenta Fri, 21 Jul 2006 21:06:54 +0200 + +libxmlada2 (2.2-3) unstable; urgency=low + + * debian/control: build-depend on tetex-extra. Closes: #378432. + + -- Ludovic Brenta Tue, 18 Jul 2006 07:18:01 +0200 + +libxmlada2 (2.2-2) unstable; urgency=low + + * debian/control: build-depend on tetex-bin. Closes: #378432. Thanks, + Julien Danjou. Fix the dependency of libxmlada2-dev. + + -- Ludovic Brenta Sun, 16 Jul 2006 15:33:32 +0200 + +libxmlada2 (2.2-1) unstable; urgency=low + + * debian/control: + - add support for amd64 hppa ia64 mips mipsel s390 + - change libxmlada1{-dev,} to libxmlada2{-dev,}. + - change my email address: now a full Debian Developer! + - build-depend on gnat (>= 4.1) and quilt. + - update Standards-Version to 3.7.2 with no changes. + * debian/rules: + - change libxmlada.a to libxmlada2.a, + xmlada.gpr to xmlada2.gpr, + xmlada.info to xmlada2.info + - change the soname of libxmlada.so.1 to libxmlada.so.2. + - bypass upstream's configure and make passes. Just use one + makefile (debian/rules itself) and one project file. + - do not install xmlada-config anymore. + * debian/build_xmlada.gpr: new. + * debian/xmlada-config.1: remove. + * debian/copyright: switch to pure GPL, as per upstream. Explain. + * libxmlada2-dev can coexist with libxmlada1-dev. + * patches/series: new, use quilt. + * patches/info-dir-section.patch, patches/GPL.patch: new. + + -- Ludovic Brenta Fri, 14 Jul 2006 18:06:30 +0200 + +libxmlada1 (1.0-3) unstable; urgency=low + + * debian/control: Add support for GNU/kFreeBSD, per request from Aurélien + Jarno. Build-depend on gnat (>= 3.15p-19). Closes: #345065. + * debian/control: Bump standards-version to 3.6.2 with no changes. + * debian/control: Update maintainer's email address. + * debian/libxmlada1-dev.postinst: remove, not necessary anymore. + + -- Ludovic Brenta Wed, 8 Feb 2006 18:22:48 +0100 + +libxmlada1 (1.0-2) unstable; urgency=low + + * Added a postinst script to make the .ali files read-only. + Closes: #230260. + + -- Ludovic Brenta Thu, 29 Jan 2004 16:29:01 +0100 + +libxmlada1 (1.0-1) unstable; urgency=low + + * Initial Release. Closes: #224763. + + -- Ludovic Brenta Sat, 20 Dec 2003 20:07:23 +0100 + +Local variables: +left-margin: 2 +End: --- libxmlada-4.1.orig/debian/control +++ libxmlada-4.1/debian/control @@ -0,0 +1,85 @@ +Source: libxmlada +Priority: optional +Section: libdevel +Maintainer: Ludovic Brenta +Uploaders: Xavier Grave +DM-Upload-Allowed: yes +Build-Depends: debhelper (>= 8.1.3), gnat, gnat-4.6, quilt +Build-Depends-Indep: texinfo, texlive-generic-recommended, + texlive-fonts-recommended, texlive-latex-base +Standards-Version: 3.9.2 +Vcs-Browser: http://www.ada-france.org:8081/branch/changes/org.debian.libxmlada +Vcs-Mtn: www.ada-france.org org.debian.libxmlada + +Package: libxmlada4.1-dev +Section: libdevel +Architecture: any +Depends: libxmlada4.1 (= ${binary:Version}), gnat, gnat-4.6, ${misc:Depends} +Conflicts: libxmlada-dev +Replaces: libxmlada-dev +Recommends: libxmlada-doc +Description: XML/Ada, a full XML suite for Ada programmers + XML/Ada is a set of modules that provide a simple manipulation of XML + streams. It supports the whole XML 1.0 specifications, and can parse + any file that follows this standard (including the contents of the + DTD). It also provides support for a number of other standard + associated with XML, like SAX, DOM, and XML Schemas. In addition, it + includes a module to manipulate Unicode streams, since this is required + by the XML standard. + . + This package contains the static libraries, documentation, and Ada + specification files. Install it if you want to develop XML + applications in Ada. + +Package: libxmlada-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Conflicts: libxmlada-dev +Suggests: gnat, gnat-4.6 +Description: XML/Ada, a full XML suite for Ada programmers (documentation) + XML/Ada is a set of modules that provide a simple manipulation of XML + streams. It supports the whole XML 1.0 specifications, and can parse + any file that follows this standard (including the contents of the + DTD). It also provides support for a number of other standard + associated with XML, like SAX, DOM, and XML Schemas. In addition, it + includes a module to manipulate Unicode streams, since this is required + by the XML standard. + . + This package contains the documentation in text, PDF, info and HTML. + +Package: libxmlada4.1 +Section: libs +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: same +Description: XML/Ada, a full XML suite for Ada programmers (runtime) + XML/Ada is a set of modules that provide a simple manipulation of XML + streams. It supports the whole XML 1.0 specifications, and can parse + any file that follows this standard (including the contents of the + DTD). It also provides support for a number of other standard + associated with XML, like SAX, DOM, and XML Schemas. In addition, it + includes a module to manipulate Unicode streams, since this is required + by the XML standard. + . + This package contains the runtime shared library. + +Package: libxmlada4.1-dbg +Section: debug +Priority: extra +Architecture: any +Depends: libxmlada4.1 (=${binary:Version}), ${misc:Depends} +Recommends: libxmlada-dev (=${binary:Version}) +Suggests: gnat, gnat-4.6 +Description: XML/Ada, a full XML suite for Ada programmers (debugging symbols) + XML/Ada is a set of modules that provide a simple manipulation of XML + streams. It supports the whole XML 1.0 specifications, and can parse + any file that follows this standard (including the contents of the + DTD). It also provides support for a number of other standard + associated with XML, like SAX, DOM, and XML Schemas. In addition, it + includes a module to manipulate Unicode streams, since this is required + by the XML standard. + . + This package contains the detached debugging symbols for the runtime + shared library. --- libxmlada-4.1.orig/debian/patches/GPL.patch +++ libxmlada-4.1/debian/patches/GPL.patch @@ -0,0 +1,24 @@ +Index: docs/xml.texi +=================================================================== +--- a/docs/xml.texi ++++ b/docs/xml.texi +@@ -48,10 +48,15 @@ + + Copyright @copyright{} 2003-2006, AdaCore + +-This document may be copied, in whole or in part, in any form or by any +-means, as is or with alterations, provided that (1) alterations are clearly +-marked as alterations and (2) this copyright notice is included +-unmodified in any copy. ++This document is free: 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 document 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. + + @end titlepage + --- libxmlada-4.1.orig/debian/patches/info-dir-section.patch +++ libxmlada-4.1/debian/patches/info-dir-section.patch @@ -0,0 +1,16 @@ +Index: docs/xml.texi +=================================================================== +--- a/docs/xml.texi ++++ b/docs/xml.texi +@@ -33,6 +33,11 @@ + @c ----------------------------------------- END MACRO + + ++@dircategory GNU Ada tools ++@direntry ++* XMLAda: (xmlada). XML/Ada version @value{XMLVersion}. ++@end direntry ++ + @titlepage + + @title The Ada95 Unicode and XML Library --- libxmlada-4.1.orig/debian/patches/series +++ libxmlada-4.1/debian/patches/series @@ -0,0 +1,3 @@ +GPL.patch +info-dir-section.patch +xmlada-config.patch --- libxmlada-4.1.orig/debian/patches/xmlada-config.patch +++ libxmlada-4.1/debian/patches/xmlada-config.patch @@ -0,0 +1,104 @@ +Index: xmlada-config +=================================================================== +--- /dev/null ++++ b/xmlada-config +@@ -0,0 +1,99 @@ ++#!/bin/sh ++# xmlada-config. Generated from xmlada-config.in by configure modified by hand for debian purpose ++ ++cflags="-aI/usr/share/ada/adainclude/xmlada -aO/usr/lib/ada/adalib/xmlada" ++libs="-L/usr/lib -lxmlada" ++static_libs="/usr/lib/libxmlada.a" ++full_libs="-lxmlada" ++static_full_libs="/usr/lib/libxmlada.a" ++ ++MAJOR=4 ++MINOR=1 ++ ++usage() ++{ ++ cat <&2 ++ exit 1 ++ ;; ++ --prefix) ++ echo $prefix ++ output_type=none ++ ;; ++ --version|-v) ++ echo XmlAda ${MAJOR}.${MINOR} ++ exit 0 ++ ;; ++ --libs) ++ output_type=libs ++ ;; ++ --sax) ++ output_type=sax ++ ;; ++ --cflags) ++ output_type=cflags ++ ;; ++ --static) ++ output_type=static ++ ;; ++ --static-sax) ++ output_type=static_sax ++ ;; ++ *) ++ usage 1>&2 ++ exit 1 ++ ;; ++ esac ++ shift ++done ++ ++case $output_type in ++ cflags) echo $cflags ;; ++ libs) echo $libs $full_libs;; ++ sax) echo $cflags -largs $libs ;; ++ full) echo $cflags -largs $libs $full_libs;; ++ static) echo $cflags -largs $static_libs $static_full_libs;; ++ static_sax) echo $cflags -largs $static_libs ;; ++esac