debian/0000755000000000000000000000000012102244565007167 5ustar debian/patches/0000755000000000000000000000000011730625465010626 5ustar debian/patches/series0000644000000000000000000000003311652231026012024 0ustar library-kind-support.patch debian/patches/library-kind-support.patch0000644000000000000000000000617011730624463015751 0ustar Author: Reto Buerki Description: Add static/dynamic library kind support. --- a/Makefile +++ b/Makefile @@ -18,6 +18,8 @@ INSTALL=install OS_VERSION?=unix LIBDIR?=$(PREFIX)/lib +LIBTYPE=static +VERSION=21 SOURCES=src/ahven-framework.adb src/ahven-framework.ads \ src/ahven-listeners-basic.adb src/ahven-listeners-basic.ads \ @@ -35,22 +37,23 @@ src/${OS_VERSION}/ahven_compat.adb src/${OS_VERSION}/ahven_compat.ads \ src/ahven-slist.adb src/ahven-slist.ads -ALI_FILES=lib/ahven.ali \ - lib/ahven_compat.ali \ - lib/ahven-framework.ali \ - lib/ahven-listeners-basic.ali \ - lib/ahven-listeners.ali \ - lib/ahven-results.ali \ - lib/ahven-runner.ali \ - lib/ahven-slist.ali \ - lib/ahven-tap_runner.ali \ - lib/ahven-parameters.ali \ - lib/ahven-temporary_output.ali \ - lib/ahven-text_runner.ali \ - lib/ahven-astrings.ali \ - lib/ahven-xml_runner.ali +ALI_FILES=lib/dynamic/ahven.ali \ + lib/dynamic/ahven_compat.ali \ + lib/dynamic/ahven-framework.ali \ + lib/dynamic/ahven-listeners-basic.ali \ + lib/dynamic/ahven-listeners.ali \ + lib/dynamic/ahven-results.ali \ + lib/dynamic/ahven-runner.ali \ + lib/dynamic/ahven-slist.ali \ + lib/dynamic/ahven-tap_runner.ali \ + lib/dynamic/ahven-parameters.ali \ + lib/dynamic/ahven-temporary_output.ali \ + lib/dynamic/ahven-text_runner.ali \ + lib/dynamic/ahven-astrings.ali \ + lib/dynamic/ahven-xml_runner.ali STATIC_LIBRARY=libahven.a +SO_LIBRARY=libahven.so.$(VERSION).0 GPR_FILE=gnat/ahven.gpr default: build_all @@ -67,10 +70,11 @@ build_all: objects test_objects build_lib build_tests build_lib: objects lib - OS_VERSION=$(OS_VERSION) gnatmake -Pgnat/ahven_lib + OS_VERSION=$(OS_VERSION) gnatmake -p -Pgnat/ahven_lib \ + -XLIBTYPE="$(LIBTYPE)" -XVERSION="$(VERSION)" build_tests: test_objects build_lib - OS_VERSION=$(OS_VERSION) gnatmake -Pgnat/ahven_tests + OS_VERSION=$(OS_VERSION) gnatmake -p -Pgnat/ahven_tests clean: clean_lib clean_tests clean_docs @@ -94,7 +98,9 @@ mkdir -p $(PREFIX)/lib/gnat $(INSTALL) -m 644 $(SOURCES) $(PREFIX)/include/ahven $(INSTALL) -m 444 $(ALI_FILES) $(LIBDIR)/ahven - $(INSTALL) -m 644 lib/$(STATIC_LIBRARY) $(LIBDIR)/ahven + $(INSTALL) -m 644 lib/static/$(STATIC_LIBRARY) $(LIBDIR) + $(INSTALL) -m 644 lib/dynamic/$(SO_LIBRARY) $(LIBDIR) + cd $(LIBDIR) && ln -sf $(SO_LIBRARY) libahven.so $(INSTALL) -m 644 $(GPR_FILE) $(PREFIX)/lib/gnat install_docs: --- a/gnat/ahven_lib.gpr +++ b/gnat/ahven_lib.gpr @@ -18,14 +18,18 @@ type OS_Type is ("unix", "windows"); OS_Version : OS_Type := external ("OS_VERSION", "windows"); - Version := "18"; + type Lib_Type is ("static", "dynamic"); + Libtype : Lib_Type := external ("LIBTYPE", "static"); + + Version := external ("VERSION", "unknown"); for Languages use ("Ada"); - for Object_Dir use "../objects"; + for Object_Dir use "../objects/" & Libtype; for Source_List_File use "ahven.lgpr"; for Library_Name use "ahven"; - for Library_Dir use "../lib"; - for Library_Kind use "static"; + for Library_Dir use "../lib/" & Libtype; + for Library_Kind use Libtype; + for Library_Version use "libahven.so." & Version & ".0"; case OS_Version is when "unix" => debian/libahven3-dev.install0000644000000000000000000000010211652231026013174 0ustar /usr/lib/*.a /usr/lib/*.so /usr/lib/ada /usr/share/ada/adainclude debian/changelog0000644000000000000000000001352412102244565011046 0ustar ahven (2.1-4) unstable; urgency=low * Update copyright information * Declare conflict with libahven1-dev (Closes: #699193) -- Reto Buerki Wed, 30 Jan 2013 10:04:08 +0100 ahven (2.1-3) unstable; urgency=low * Update comment header in GNAT project file * Install dynamic/static libs directly to usr/lib * Set Architecture to 'any' * Also depend on gnat package (Closes: #663670) * Build dynamic/static lib in separate Obj/Lib dirs * Update to Standards-Version 3.9.3 (no changes) -- Reto Buerki Fri, 16 Mar 2012 13:15:49 +0100 ahven (2.1-2) unstable; urgency=low * Add conflict with libahven2-dev (Closes: #646927) * Enable DM upload * Update Vcs-Git URL -- Reto Buerki Mon, 21 Nov 2011 17:27:08 +0100 ahven (2.1-1) unstable; urgency=low * Imported Upstream version 2.1 * Bump dev package aliversion to 3. * Rename libahven19.0 package to libahven21.0. * Unapply patches from source. * Override shlib-with-executable-stack lintian warning. -- Reto Buerki Thu, 27 Oct 2011 13:02:02 +0200 ahven (1.9-1) unstable; urgency=low * Merging upstream version 1.9. * Update library-kind-support.patch. * Rename libahven17.0 package to libahven19.0. * Bump dev package aliversion to 2. * Remove adabrowse from Build-Depends. - Not needed anymore because upstream now uses python-sphinx to generate docs. * Update to Standards-Version 3.9.2 (no changes). * Drop unneeded ahven-dbg.lintian-overrides. * Migrate to gnat-4.6. * Update to debhelper 8. * Switch to minimal debian/rules syntax. * Update debian/copyright file. * Exclude doc/manual from libahven2 docs. - The Sphinx Ada domain required to build the manual is not yet available in Debian. -- Reto Buerki Mon, 29 Aug 2011 14:30:21 +0200 ahven (1.7-2) unstable; urgency=low * Declare conflict with libahven-dev (Closes: #563629). * Fix debhelper-but-no-misc-depends lintian warning. -- Reto Buerki Mon, 11 Jan 2010 20:44:49 +0100 ahven (1.7-1) unstable; urgency=low * Add kfreebsd-amd64 to Architecture (Closes: #542407). * Merging upstream version 1.7. * Drop obsolete vstrings patch. * Bump soname from 16 to 17. * Update to Standards-Version 3.8.3 (no changes). * Add docbook-testreport to libahven-dev examples. * Install upstream changelog. * Add static/dynamic library kind support. * Migrate to gnat-4.4 (Closes: #533152, #555095). * Add aliversion to dev package. * Switch to 3.0 (quilt) source package format. * Remove alpha from Architecture. * Update upstream homepage. * Update adabrowse specific architecture list. * Update debian/copyright file. -- Reto Buerki Wed, 23 Dec 2009 18:51:28 +0100 ahven (1.6-2) unstable; urgency=low * Fix wrong-section-according-to-package-name warning. - ahven-dbg: devel -> debug. * Add patch to fix vstring truncation bug. * Update to Standards-Version 3.8.1 (no changes). -- Reto Buerki Sun, 10 May 2009 19:30:58 +0200 ahven (1.6-1) unstable; urgency=low * Update upstream homepage location. * Add Vcs-Browser setting to control file. * Remove "section" field from binary package. * Expand extended package description. * Merging upstream version 1.6. * Bump soname from 14 to 16 (new upstream release). * Update clean target in debian/rules. * Point the watch file to the new Sourceforge location. * Update the download location in debian/copyright. * Add Vcs-Git setting to control file. -- Reto Buerki Wed, 04 Mar 2009 11:55:29 +0100 ahven (1.4-2) unstable; urgency=low * Don't generate docs on mips (Closes: #486861, #513745). * Use dh_prep instead of deprecated dh_clean -k. -- Reto Buerki Wed, 04 Feb 2009 21:54:06 +0100 ahven (1.4-1) unstable; urgency=low * Update maintainer and uploader e-mail address. * Merging upstream version 1.4. * Run ahven unit tests in build target. * Add Debian specific ahven project file. -- Reto Buerki Wed, 28 Jan 2009 01:07:43 +0100 ahven (1.3-2) unstable; urgency=low * Removed CFLAGS from rules (deprecated with new dpkg). * Don't build ahven docs for armel architecture, adabrowse is not available there. * Added fail-missing to dh_install. * Corrected architecture fields in control file. -- Reto Buerki Tue, 02 Sep 2008 10:36:04 +0200 ahven (1.3-1) unstable; urgency=low * New upstream release: - Bumps soname from 12 to 13 - no other packages need to be transitioned. * Updated ahven sources to version 1.3. * Removed dpatch from Build-Depends. - No need to patch documentation generation any more. * Updated to Standards-Version: 3.8.0 (no changes). * Updated supported architectures. - Added kfreebsd-i386, mips, mipsel, ppc64 to list. -- Reto Buerki Mon, 25 Aug 2008 23:24:01 +0200 ahven (1.2-1) unstable; urgency=low * New upstream release: - Bumps soname 11 to 12 - no other packages need to be transitioned. * API-documentation is built with adabrowse now. * Added adabrowse to Build-Depends. * Added patch to build docs for ahven-xml_runner.ads and ahven-compat.ads as well. -- Reto Buerki Sun, 18 May 2008 21:02:37 +0200 ahven (1.1-3) unstable; urgency=low * Added missing docs in libahven-dev package. -- Reto Buerki Sun, 11 May 2008 08:59:23 +0000 ahven (1.1-2) unstable; urgency=low * Only building ahven on architectures supported by gnat (alpha amd64 hppa i386 ia64 powerpc s390 sparc). * Further excluding mips, mipsel (not ported yet). -- Reto Buerki Thu, 08 May 2008 10:16:06 +0200 ahven (1.1-1) unstable; urgency=low * Initial release. -- Reto Buerki Fri, 11 Apr 2008 11:20:14 +0200 debian/libahven3-dev.docs0000644000000000000000000000001511652231026012461 0ustar doc/tutorial debian/libahven3-dev.examples0000644000000000000000000000004611652231026013353 0ustar examples/* contrib/docbook-testreport debian/copyright0000644000000000000000000001275512102244565011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Ahven Upstream-Contact: Tero Koskinen Source: http://ahven.stronglytyped.org/index.html#download Files: * Copyright: (C) 2007-2010 Tero Koskinen License: other-BSD Files: contrib/docbook-testreport/* Copyright: (C) 2009 Reto Buerki License: other-BSD License: other-BSD Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: doc/manual/en/build/html/_static/jquery.js Copyright: (C) 2010 John Resig (C) 2010 The Dojo Foundation License: MIT or GPL-2+ License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: GPL-2+ 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, see . . 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. Files: doc/manual/en/build/html/_static/*.js Copyright: (C) 2007-2011 The Sphinx team License: BSD Files: doc/manual/en/build/html/_static/*.css Copyright: (C) 2007-2011 The Sphinx team License: BSD License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: (C) 2008-2012 Reto Buerki License: GPL-3+ 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. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file /usr/share/common-licenses/GPL-3. debian/compat0000644000000000000000000000000211652231026010362 0ustar 8 debian/libahven21.0.docs0000644000000000000000000000001011652237157012131 0ustar ROADMAP debian/libahven21.0.install0000644000000000000000000000002011652233350012637 0ustar /usr/lib/*.so.* debian/source/0000755000000000000000000000000011652235033010466 5ustar debian/source/format0000644000000000000000000000001411652231026011672 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000154011730611016010242 0ustar #!/usr/bin/make -f %: dh ${@} override_dh_auto_build: dh_auto_build -- LIBTYPE=dynamic dh_auto_build -- LIBTYPE=static override_dh_auto_test: dh_auto_test -- LD_LIBRARY_PATH=./lib override_dh_auto_install: $(MAKE) PREFIX=$(CURDIR)/debian/tmp/usr install_lib mkdir -p debian/tmp/usr/share/ada/adainclude mv debian/tmp/usr/include/ahven debian/tmp/usr/share/ada/adainclude mkdir -p debian/tmp/usr/lib/ada/adalib mv debian/tmp/usr/lib/ahven debian/tmp/usr/lib/ada/adalib mv debian/tmp/usr/lib/gnat/* debian/tmp/usr/share/ada/adainclude rmdir debian/tmp/usr/lib/gnat cp debian/addon/*.gpr debian/tmp/usr/share/ada/adainclude override_dh_install: dh_install --fail-missing override_dh_installchangelogs: dh_installchangelogs NEWS override_dh_compress: dh_compress -X.ads -X.adb -XMakefile override_dh_strip: dh_strip --dbg-package=ahven-dbg debian/control0000644000000000000000000000347712102244565010605 0ustar Source: ahven Section: libs Priority: optional Maintainer: Reto Buerki Uploaders: Adrian-Ken Rueegsegger DM-Upload-Allowed: yes Build-Depends: debhelper (>= 8), gnat, gnat-4.6 Standards-Version: 3.9.3 Homepage: http://ahven.stronglytyped.org/ Vcs-Browser: http://git.codelabs.ch/?p=debian/ahven.git Vcs-Git: http://git.codelabs.ch/git/debian/ahven.git Package: libahven21.0 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Unit test library for Ada Ahven is a simple unit test library for the Ada 95 programming language. It is loosely modeled after JUnit, and some ideas are taken from AUnit. Ahven is free software distributed under permissive ISC license and should work with any Ada 95 compiler. Package: libahven3-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libahven21.0 (= ${binary:Version}), gnat, gnat-4.6 Conflicts: libahven1-dev, libahven2-dev Replaces: libahven1-dev, libahven2-dev Description: Unit test library for Ada (development) Ahven is a simple unit test library for the Ada 95 programming language. It is loosely modeled after JUnit, and some ideas are taken from AUnit. Ahven is free software distributed under permissive ISC license and should work with any Ada 95 compiler. . This package contains the development files. Package: ahven-dbg Section: debug Priority: extra Architecture: any Depends: ${misc:Depends}, libahven21.0 (= ${binary:Version}), libahven3-dev (= ${binary:Version}) Description: Unit test library for Ada (debug) Ahven is a simple unit test library for the Ada 95 programming language. It is loosely modeled after JUnit, and some ideas are taken from AUnit. Ahven is free software distributed under permissive ISC license and should work with any Ada 95 compiler. . This package contains the debug symbols. debian/libahven21.0.lintian-overrides0000644000000000000000000000010311652235037014635 0ustar libahven21.0: shlib-with-executable-stack usr/lib/libahven.so.21.0 debian/addon/0000755000000000000000000000000011665725311010262 5ustar debian/addon/ahven.gpr0000644000000000000000000000222311665717705012104 0ustar -- Ahven project file -- Copyright (c) 2008-2011 Reto Buerki -- -- 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. -- -- This project file is designed to help build applications that use -- Ahven. Here is an example of how to use this project file: -- -- with "ahven"; -- project Example is -- for Object_Dir use "obj"; -- for Exec_Dir use "."; -- for Main use ("example"); -- end Example; project Ahven is for Source_Dirs use ("/usr/share/ada/adainclude/ahven"); for Library_Name use "ahven"; for Library_Dir use "/usr/lib"; for Library_ALI_Dir use "/usr/lib/ada/adalib/ahven"; for Library_Kind use "dynamic"; for Externally_Built use "true"; end Ahven; debian/watch0000644000000000000000000000006211652231026010213 0ustar version=3 http://sf.net/ahven/ahven-(.+)\.tar\.gz