debian/0000755000000000000000000000000011745502653007176 5ustar debian/liblog4ada-doc.doc-base0000644000000000000000000000033411745237073013343 0ustar Document: liblog4ada Title: log4Ada Manual Author: Xavier Grave Abstract: This manual is entended as a start help for new users. Section: Programming/Ada Format: PDF Files: /usr/share/doc/liblog4ada-doc/log4Ada.pdf.gz debian/control0000644000000000000000000000445611745502653010612 0ustar Source: liblog4ada Priority: optional Section: libs Maintainer: Xavier Grave DM-Upload-Allowed: yes Build-Depends: debhelper (>= 8.1.3), libxmlezout2-dev, gnat, gnat-4.6 Build-Depends-Indep: texlive-latex-recommended Homepage: http://logging.apache.org/log4j Standards-Version: 3.9.3 Package: liblog4ada2-dev Section: libdevel Architecture: any Depends: liblog4ada1 (= ${binary:Version}), gnat, gnat-4.6, ${misc:Depends}, libxmlezout2-dev Description: Ada library for flexible logging (development) Log4Ada is a library that eases logging in applications written in Ada. It is modelled after, and compatible with, log4j. For more information about the logging scheme developed in this library see the log4j project : http://logging.apache.org/log4j/docs/ . This package contains file needed to develop applications with Log4Ada. Package: liblog4ada1 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Description: Ada library for flexible logging (runtime) Log4Ada is a library that eases logging in applications written in Ada. It is modelled after, and compatible with, log4j. For more information about the logging scheme developed in this library see the log4j project : http://logging.apache.org/log4j/docs/ . This is the runtime library for Log4Ada. Package: liblog4ada-dbg Section: debug Priority: extra Architecture: any Depends: liblog4ada1 (=${binary:Version}), ${misc:Depends} Description: Ada library for flexible logging (debug) Log4Ada is a library that eases logging in applications written in Ada. It is modelled after, and compatible with, log4j. For more information about the logging scheme developed in this library see the log4j project : http://logging.apache.org/log4j/docs/ . This is the library containing debugging symbols for Log4Ada. Package: liblog4ada-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: Ada library for flexible logging (documentation) Log4Ada is a library that eases logging in applications written in Ada. It is modelled after, and compatible with, log4j. For more information about the logging scheme developed in this library see the log4j project : http://logging.apache.org/log4j/docs/ . This package contains a pdf documentation file and some examples. debian/log4Ada_annex_e.gpr0000644000000000000000000000207311745200016012646 0ustar -- Log4Ada library project file for use with GCC 4.4 and annex E -- Copyright (c) 2009 Xavier Grave -- -- 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 -- Log4Ada. Here is an example of how to use this project file: -- -- with "log4Ada_annex_e"; -- project Example is -- for Object_Dir use "obj"; -- for Exec_Dir use "."; -- for Main use ("example"); -- end Example; with "log4Ada"; project Log4Ada_Annex_E is for Source_Dirs use ("/usr/share/ada/adainclude/log4ada/annex_e"); end Log4Ada_Annex_E; debian/log4Ada.gpr0000644000000000000000000000235511745200016011154 0ustar -- Log4Ada library project file for use with GCC 4.4 -- Copyright (c) 2009 Xavier Grave -- -- 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 -- Log4Ada. Here is an example of how to use this project file: -- -- with "log4Ada"; -- project Example is -- for Object_Dir use "obj"; -- for Exec_Dir use "."; -- for Main use ("example"); -- end Example; with "xmlezout"; project Log4Ada is for Library_Name use "log4ada"; for Library_Dir use "/usr/lib/ada/adalib/log4ada"; for Library_Kind use "dynamic"; for Source_Dirs use ("/usr/share/ada/adainclude/log4ada"); for Library_ALI_Dir use "/usr/lib/ada/adalib/log4ada"; for Externally_Built use "true"; end Log4Ada; debian/source/0000755000000000000000000000000011745200016010462 5ustar debian/source/format0000644000000000000000000000001411745200016011670 0ustar 3.0 (quilt) debian/rules0000755000000000000000000001110311745237073010253 0ustar #!/usr/bin/make -f # Debian build script for log4Ada - Copyright (c) 2009 Xavier Grave CLIENT_ADA_SOURCES=$(wildcard client/src/*.ad[sb]) ANNEX_E_ADA_SOURCES=$(wildcard server/src_annex_e/*.ad[sb]) EXAMPLES_ADA_SOURCES=$(wildcard server/src/*.ad[sb] server/demos/*.ad[sb]) aliversion := $(shell sed -n -r 's/^Package: liblog4ada(.*)-dev$$/\1/p' debian/control) soversion := $(shell sed -n -r 's/^Package: liblog4ada([^-]+)$$/\1/p' debian/control) soname := liblog4ada.so.$(soversion) regexp := ^Version: ([^.]+)\.([^.]+)-(.*) major := $(shell dpkg-parsechangelog | grep "^Version: " | sed -r 's/$(regexp)/\1/') minor := $(shell dpkg-parsechangelog | grep "^Version: " | sed -r 's/$(regexp)/\2/') upload := $(shell dpkg-parsechangelog | grep "^Version: " | sed -r 's/$(regexp)/\3/') mtnversion := 5f9230c1de7497ba8aa340b80ea71aaa4d864463 mtnbase := base_debian.db mtn_uri := mtn://www.ada-france.org?org.log4Ada orig_dir := liblog4ada.orig orig_tgz := liblog4ada.orig.tar.gz orig_pkg_dir := liblog4ada-$(major).$(minor).orig orig_pkg_tgz := liblog4ada_$(major).$(minor).orig.tar.gz DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) CPUS := $(shell getconf _NPROCESSORS_ONLN) test_env: @echo $(CLIENT_ADA_SOURCES) @echo $(ANNEX_E_ADA_SOURCES) get-orig-source: if [ ! -e ../$(mtnbase) ]; then \ mtn -d../$(mtnbase) db init; \ fi; \ TMPDIR=$$(mktemp --tmpdir --directory liblog4ada-get-orig-source-XXXXXXXXXX) && \ mtn clone -d ../$(mtnbase) $(mtn_uri) -k "" $$TMPDIR/$(orig_dir) && \ (cd $$TMPDIR && tar --create --gzip --exclude="_MTN" $(orig_dir)) > $(orig_tgz) ; \ rm -rf $$TMPDIR @echo "The file $(orig_tgz) contains the latest Debian snapshot of upstream sources." get-pkg-source: if [ ! -e ../$(mtnbase) ]; then \ mtn -d../$(mtnbase) db init; \ fi; \ TMPDIR=$$(mktemp --tmpdir --directory liblog4ada-get-pkg-source-XXXXXXXXXX) && \ mtn clone -d ../$(mtnbase) $(mtn_uri) -r$(mtnversion) -k "" $$TMPDIR/$(orig_pkg_dir) && \ (cd $$TMPDIR && tar --create --gzip --exclude="_MTN" $(orig_pkg_dir)) > $(orig_pkg_tgz) ; \ rm -rf $$TMPDIR @echo "The file $(orig_pkg_tgz) contains the pkg Debian of upstream sources." build: build-arch build-indep build-arch: build-stamp build-indep: build-doc-stamp build-stamp: static-lib shared-lib touch $@ build-doc-stamp: documentation touch $@ documentation: if [ -e /usr/bin/pdflatex ]; then $(MAKE) -C doc; fi static-lib:liblog4ada.a shared-lib:liblog4ada.so.$(soversion) clean:pre-whatever-checks rm -f build-stamp liblog4ada.a liblog4ada.so.* liblog4ada.so rm -Rf debian/obj-static debian/obj-shared dh_clean -a -i $(MAKE) -C doc clean pre-whatever-checks: dh_testdir dh_testroot liblog4ada-doc: build-doc-stamp pre-whatever-checks dh_installdocs -p$@ doc/*.pdf dh_installexamples -p$@ server/src/*.ad[sb] \ server/demos/*.ad[sb] client/demos/*.ad[sb] liblog4ada$(aliversion)-dev: build-stamp pre-whatever-checks dh_installdirs -p$@ \ usr/lib/$(DEB_HOST_MULTIARCH) \ usr/share/ada/adainclude/log4ada \ usr/share/ada/adainclude/log4ada/annex_e \ usr/lib/ada/adalib/log4ada dh_install -p$@ liblog4ada.a usr/lib/$(DEB_HOST_MULTIARCH) dh_install -p$@ debian/obj-shared/*.ali /usr/lib/ada/adalib/log4ada dh_install -p$@ $(CLIENT_ADA_SOURCES) /usr/share/ada/adainclude/log4ada dh_install -p$@ $(ANNEX_E_ADA_SOURCES) \ /usr/share/ada/adainclude/log4ada/annex_e dh_install -p$@ debian/log4Ada.gpr /usr/share/ada/adainclude/ dh_install -p$@ debian/log4Ada_annex_e.gpr /usr/share/ada/adainclude/ dh_link -p$@ usr/lib/$(DEB_HOST_MULTIARCH)/liblog4ada.so.$(soversion) \ usr/lib/$(DEB_HOST_MULTIARCH)/liblog4ada.so dh_strip -p$@ -X.a liblog4ada$(soversion): build-stamp pre-whatever-checks dh_installdirs -p$@ usr/lib/$(DEB_HOST_MULTIARCH) dh_install -p$@ liblog4ada.so.$(soversion) usr/lib/$(DEB_HOST_MULTIARCH) dh_strip -p$@ --dbg-package=liblog4ada-dbg binary:binary-arch binary-indep binary-arch: liblog4ada$(soversion) liblog4ada$(aliversion)-dev dh_installchangelogs -a dh_installdocs -a dh_compress -a dh_fixperms -a dh_makeshlibs -a dh_installdeb -a dh_shlibdeps -a -Lliblog4ada$(soversion) -ldebian/liblog4ada$(soversion)/usr/lib dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary-indep: liblog4ada-doc dh_installchangelogs -i dh_compress -i dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i liblog4ada.a:$(ADA_SOURCES) gnatmake -p -j$(CPUS) -Pdebian/build_log4ada.gpr \ -XLIBRARY_KIND=static -XOBJ_DIR=obj-static liblog4ada.so.$(soversion):$(ADA_SOURCES) gnatmake -p -j$(CPUS) -Pdebian/build_log4ada.gpr \ -XLIBRARY_KIND=dynamic -XOBJ_DIR=obj-shared -XSONAME=$(soname) debian/copyright0000644000000000000000000000226011745237073011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: Log4Ada Upstream-Contact: Xavier Grave Source:monotone server at www.ada-france.org branch org.log4Ada Files: * Copyright: 2007-2009 CNRS/IN2P3 Xavier Grave License: GPL-2+ Copyright: Copyright (c) 2007-2009 CNRS/IN2P3 This library is free software; you can redistribute it and/or modify it under terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This library is distributed in the hope that they 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 distributed with log4Ada; see file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. The full text of the GNU General Public License version 2 is available in /usr/share/common-licenses/GPL-2 debian/compat0000644000000000000000000000000211745200016010360 0ustar 8 debian/watch0000644000000000000000000000053011745237073010226 0ustar # Upstream does not release source as versioned tarballs, but provides # it in a public Control Version System. You may get the tarball used # to build this package (actually, with different timestamps) with # make -f debian/rules get-orig-source # if you want the same version used to build the package : # make -f debian/rules get-pkg-source debian/changelog0000644000000000000000000000463511745501304011050 0ustar liblog4ada (1.2-3) unstable; urgency=low * change in Build Depends Indep texlive-latex-base to texlive-latex-recommended because of url.sty package change Closes: #669531 -- Xavier Grave Tue, 24 Apr 2012 12:37:16 +0200 liblog4ada (1.2-2) unstable; urgency=low * Add a check against pdflatex, workaround bug #660756 of pbuilder - Closes: #660245. -- Xavier Grave Tue, 21 Feb 2012 16:54:00 +0100 liblog4ada (1.2-1) unstable; urgency=low * New upstream version : 1.2 - add color display in console appender - file appender enhanced : split into multiple files - package renamings per Debian Policy for Ada: liblog4ada1-dev -> liblog4ada2-dev liblog4ada0 -> liblog4ada1 * Take new gcc-multilib scheme into account - put libs in /usr/lib/$(DEB_HOST_MULTIHARCH) - modify control file accordingly * Build with gnat-4.6. Closes: #642645. * Debhelper compatibility level 8. -- Xavier Grave Mon, 12 Sep 2011 16:51:26 +0200 liblog4ada (1.0-5) unstable; urgency=low * add source/format file to use 3.0 version (quilt) - remove lintian warning missing-debian-source-format -- Xavier Grave Tue, 13 Apr 2010 18:35:00 +0200 liblog4ada (1.0-4) unstable; urgency=low * Correct minor copyright issue in debian/copyright libxmlezout file mixed with liblog4ada one -- Xavier Grave Thu, 25 Mar 2010 09:59:00 +0100 liblog4ada (1.0-3) unstable; urgency=low * Fix missing dependency - liblog4ada1-dev depends on libxmlezout1-dev Closes: #571068 -- Xavier Grave Tue, 23 Feb 2010 09:51:21 +0100 liblog4ada (1.0-2) unstable; urgency=low * Lintian cleaning (warnings and some info) I: binary-control-field-duplicates-source W: native-package-with-dash-version W: debhelper-but-no-misc-depends W: quilt-build-dep-but-no-series-file W: patch-system-but-no-source-readme I: description-possibly-contains-homepage * Architecture support changes to any. Closes: #568443. -- Xavier Grave Fri, 5 Feb 2010 15:01:00 +0100 liblog4ada (1.0-1) unstable; urgency=low * First upstream version. Closes: #562942 -- Xavier Grave Mon, 28 Dec 2009 22:24:00 +0100 Local variables: left-margin: 2 End: debian/build_log4ada.gpr0000644000000000000000000000165611745200016012376 0ustar with "xmlezout"; project build_log4ada is for Library_Name use "log4ada"; for Library_Kind use External ("LIBRARY_KIND"); for Library_Dir use ".."; for Library_ALI_Dir use External ("OBJ_DIR") & "/ali"; for Library_Version use External ("SONAME"); for Object_Dir use External ("OBJ_DIR"); for Source_Dirs use ("../client/src"); package Compiler is for Default_Switches ("Ada") use ("-gnat05", -- Ada 2005 mode "-gnati1", -- Full ISO 8859-1 character set allowed in -- source code (for generated CORBA stubs) "-gnatf", -- Full compiler error messages "-gnaty", -- Enable style checks "-gnatwa", -- Enable all warnings "-gnatwe"); -- Warning as errors end Compiler; package Binder is for Default_Switches ("Ada") use ("-E"); end Binder; end build_log4ada;