debian/0000755000000000000000000000000011753531214007170 5ustar debian/libautounit-dev.dirs0000644000000000000000000000002411722645166013172 0ustar usr/lib usr/include debian/patches/0000755000000000000000000000000011722652544010625 5ustar debian/patches/01_AM_PATH_GLIB.patch0000644000000000000000000000062111722645306014051 0ustar From: Masami Ichikawa Subject: build against glib2. diff -urNad autounit~/configure.in autounit/configure.in --- autounit~/configure.in 2009-04-15 07:11:17.000000000 +0900 +++ autounit/configure.in 2009-04-15 07:35:27.000000000 +0900 @@ -12,7 +12,7 @@ AC_PROG_LIBTOOL # Checks for libraries. -AM_PATH_GLIB() +AM_PATH_GLIB_2_0() # Checks for header files. AC_HEADER_STDC debian/patches/22_linguas.patch0000644000000000000000000000031211722646261013606 0ustar po/LINGUAS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 0000000..c9f5587 --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1 @@ +sv debian/patches/10_netstring.patch0000644000000000000000000000105511722645704014164 0ustar c-unit/au-netstring.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/c-unit/au-netstring.c b/c-unit/au-netstring.c index db538e2..5ee8f94 100644 --- a/c-unit/au-netstring.c +++ b/c-unit/au-netstring.c @@ -50,7 +50,7 @@ au_netstring_to_gstring(GString *ns) char *tnbuf; char *tbuf; str = g_string_new(""); - sscanf(ns->str,"%d:",&ns_len); + sscanf(ns->str,"%ld:",&ns_len); tnbuf = strchr(ns->str,(int)':')+1; tbuf = g_strndup(tnbuf,ns_len); /* strndup is a GNU extention, this is just for prototyping. */ debian/patches/20_sv.po.patch0000644000000000000000000000526011722646024013213 0ustar po/sv.po | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 103 insertions(+), 0 deletions(-) diff --git a/po/sv.po b/po/sv.po new file mode 100644 index 0000000..597e6ce --- /dev/null +++ b/po/sv.po @@ -0,0 +1,103 @@ +# Swedish translation of autounit. +# Copyright (C) 2006 Free Software Foundation, Inc. +# Daniel Nylander , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: autounit 0.15.2-5\n" +"POT-Creation-Date: 2002-04-21 19:35-0400\n" +"PO-Revision-Date: 2006-02-02 18:34+0100\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: c-unit/assert.c:59 +msgid "FAIL" +msgstr "MISSLYCKAD" + +#: c-unit/assert.c:65 +msgid "SUCCEED" +msgstr "LYCKADES" + +#: c-unit/assert.c:154 +#, c-format +msgid "%s: `%s' not %s `%s'" +msgstr "%s: \"%s\" inte %s \"%s\"" + +#: c-unit/assert.c:199 +#, c-format +msgid "%s: `%llu' not %s `%llu'" +msgstr "%s: \"%llu\" inte %s \"%llu\"" + +#: c-unit/assert.c:230 +#, c-format +msgid "%s: `%lld' not %s `%lld'" +msgstr "%s: \"%lld\" inte %s \"%lld\"" + +#: c-unit/assert.c:257 +#, c-format +msgid "%s: `%c' not == `%c'" +msgstr "%s: \"%c\" inte == \"%c\"" + +#: c-unit/assert.c:291 +#: c-unit/assert.c:294 +msgid "(nostrfunc)" +msgstr "(nostrfunc)" + +#: c-unit/au-netstring.c:208 +#, c-format +msgid "fatal: %s\n" +msgstr "ödesdiger: %s\n" + +#. Warn user/programmer that a test has been disabled. +#: c-unit/suite.c:98 +#, c-format +msgid "?! '%s' test disabled\n" +msgstr "?! \"%s\" test avstängd\n" + +#: c-unit/suite.c:198 +#, c-format +msgid "FAIL %d of %d %s %f s (%ld us) total elapsed time\n" +msgstr "MISSLYCKADES %d av %d %s %f s (%ld us) totalt använd tid\n" + +#: c-unit/suite.c:206 +#, c-format +msgid "%s: elapsed time %f s (%ld us):failed assertions (%d of %d):\n" +msgstr "%s: använd tid %f s (%ld us):misslyckade påståenden (%d av %d):\n" + +#: c-unit/suite.c:222 +#, c-format +msgid "OK %d succeeded %f s (%ld us) total elapsed time\n" +msgstr "OK %d lyckades %f s (%ld us) totalt använd tid\n" + +#: c-unit/suite.c:263 +#, c-format +msgid "%s (%d iterations)\n" +msgstr "%s (%d iterationer)\n" + +#: c-unit/test.c:305 +msgid "pipe failed" +msgstr "rör misslyckades" + +#: c-unit/test.c:311 +msgid "fork failed" +msgstr "grening misslyckades" + +#: c-unit/test.c:349 +msgid "test failed with signal" +msgstr "test misslyckades med signal" + +#: c-unit/test.c:354 +msgid "test failed with core dump" +msgstr "test misslyckades med kärndump" + +#: c-unit/test.c:366 +msgid "!" +msgstr "!" + +#: c-unit/test.c:369 +msgid "." +msgstr "." + debian/patches/series0000644000000000000000000000011111722652502012025 0ustar 01_AM_PATH_GLIB.patch 10_netstring.patch 20_sv.po.patch 22_linguas.patch debian/compat0000644000000000000000000000000211737774346010407 0ustar 9 debian/libautounit-dev.examples0000644000000000000000000000002111722645166014044 0ustar c-unit/TEST/*.c debian/control0000644000000000000000000000163711753530651010606 0ustar Source: autounit Priority: optional Section: libs Maintainer: Debian QA Group Build-Depends: debhelper (>= 9), libglib2.0-dev, autoconf, automake, libtool, autotools-dev Standards-Version: 3.9.3.1 Homepage: http://www.recursism.com/pub/software/testing/gnu-autounit Package: libautounit-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libautounit2 (= ${binary:Version}), libc6-dev, libglib2.0-dev Suggests: pkg-config Description: Development files for C unit testing framework This package provides the development environment to write unit tests in the C Programming Language. Package: libautounit2 Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: C unit testing framework interfacing well with autotools This package provides the libraries to run programs that have c unit tests in them. It will rarely be useful without the development package. debian/libautounit-dev.docs0000644000000000000000000000003111722645166013157 0ustar README AUTHORS NEWS TODO debian/libautounit2.dirs0000644000000000000000000000001011722645166012473 0ustar usr/lib debian/changelog0000644000000000000000000001210511753530246011045 0ustar autounit (0.20.1-4) unstable; urgency=low * QA upload. * Remove dpatch and upgrade to packaging format "3.0 quilt" (Closes: #667877) - Convert in-line changes to individual debian/patches: 10, 20, 22. - Restore files to their original states from *.orig.tar.gz - Delete source.lintian-overrides; not needed with format 3.0. * debian/control - Update to Standards-Version to 3.9.3.1 and debhelper to 9. - Add autotools-dev to always use updated config.* files. - Set maintainer to QA Group, see #585423. * debian/rules - Save/Restore original files due to autoreconf to keep diff clean. - Delete patch targets; not needed with format 3.0. * Lintian fixes: - binary-control-field-duplicates-source - copyright-refers-to-symlink-license - copyright-with-old-dh-make-debian-copyright -- Jari Aalto Sat, 12 May 2012 21:49:10 +0300 autounit (0.20.1-3.1) unstable; urgency=low * Non-maintainer upload. * Don't ship .la files (Closes: #621190). -- Luk Claes Sat, 11 Jun 2011 17:41:05 +0200 autounit (0.20.1-3) unstable; urgency=low * Build on libglib2.0-dev (Closes: #523563). * Added dpatch for build against libglib2.0. added debian/source.lintian-override * Update Standards-Version to 3.8.1. added debian/compat -- Masami Ichikawa Tue, 14 Apr 2009 21:45:09 +0900 autounit (0.20.1-2) unstable; urgency=low * Depend on libglib1.2-dev instead of libglib-dev (Closes: #391257). * Only install ChangeLog once (Closes: #386428). * thanks for Luk Claes reporting this (Closes: #393225). -- Masami Ichikawa Thu, 9 Nov 2006 21:32:47 +0900 autounit (0.20.1-1.1) unstable; urgency=medium * Non-maintainer upload. * Depend on libglib1.2-dev instead of libglib-dev (Closes: #391257). * Only install ChangeLog once (Closes: #386428). -- Luk Claes Sun, 15 Oct 2006 18:00:39 +0200 autounit (0.20.1-1) unstable; urgency=low * New maintainer (Closes: #374124) * New upstream release * Added libautounit2.lintian to override package-name-doesnt-match-sonames * Added upstream homepage url to debian/copyright * remove libautounit-guile. see changelog.gz -- Masami Ichikawa Tue, 22 Aug 2006 00:41:20 +0900 autounit (0.15.2-6) unstable; urgency=low * QA upload. * Set QA as maintainer. * Set Standards-Version to 3.7.2. * Set DH_COMPAT to 5. * Fixed linda error "missing a Section header". * Fixed "FTBFS (ppc64): 'size_t ns_len; sscanf(str,"%d",&ns_len)'", closes: #360753. Patch by Andreas Jochens . * New Swedish PO translation. Closes: #351086. Patch by Daniel Nylander . -- Anibal Monsalve Salazar Sun, 23 Jul 2006 12:15:52 +1000 autounit (0.15.2-5) unstable; urgency=low * Move libautounit-dev to libdevel * Make slib depend guile1.6-slib | guile1.4-slib and remove guile build-depend (Closes: #146529) * Remove dh_dhelp call. (Closes: #189744) * Remove dh_make template in copyright file. (lintian) * Up build depends on debhelper to 4. (lintian) -- James LewisMoss Sun, 20 Apr 2003 09:50:57 -0400 autounit (0.15.2-4) unstable; urgency=low * Add slib build-depends (Closes: #146529) -- James LewisMoss Sat, 19 Apr 2003 10:29:17 -0400 autounit (0.15.2-3) unstable; urgency=low * Add texinfo build depend (Closes: #147308) -- James LewisMoss Fri, 17 May 2002 19:13:42 -0400 autounit (0.15.2-2) unstable; urgency=low * Add guile1.4-slib to build depends. * Change libautounit-guile depend to guile1.4-slib. -- James LewisMoss Fri, 17 May 2002 11:08:58 -0400 autounit (0.15.2-1) unstable; urgency=low * New upstream. -- James LewisMoss Thu, 2 May 2002 21:44:24 -0400 autounit (0.15.1-1) unstable; urgency=low * New upstream. -- James LewisMoss Mon, 22 Apr 2002 11:06:10 -0400 autounit (0.15.0-1) unstable; urgency=low * New upstream. * Add libautounit-guile package. -- James LewisMoss Sun, 21 Apr 2002 17:46:45 -0400 autounit (0.14.0-1) unstable; urgency=low * New upstream. * Add suggests pkg-config and depends libglib-dev to -dev package * Add libglib-dev to build depends -- James LewisMoss Wed, 10 Apr 2002 03:32:36 -0400 autounit (0.13.0-1) unstable; urgency=low * New upstream. Up package to 2. -- James LewisMoss Tue, 2 Apr 2002 13:50:02 -0500 autounit (0.12.1-1) unstable; urgency=low * New upstream. * Up package name to 1 from 0. -- James LewisMoss Thu, 28 Mar 2002 14:57:33 -0500 autounit (0.12.0-1) unstable; urgency=low * New upstream -- James LewisMoss Mon, 25 Mar 2002 21:56:28 -0500 autounit (0.10.2-2) unstable; urgency=low * Updates to docs, etc. -- James LewisMoss Thu, 21 Mar 2002 01:41:41 -0500 autounit (0.10.2-1) unstable; urgency=low * Initial Release. -- James LewisMoss Wed, 6 Mar 2002 23:04:57 -0500 debian/libautounit2.lintian0000644000000000000000000000007711722645166013205 0ustar libautounit2: package-name-doesnt-match-sonames libau-c-unit2 debian/rules0000755000000000000000000000624511737777634010303 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) KEEP_FILES = \ Makefile.in \ aclocal.m4 \ c-unit/Makefile.in \ c-unit/TEST/Makefile.in \ config.h.in \ configure \ depcomp \ install-sh \ ltmain.sh \ missing \ config.guess \ config.sub ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -g endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif # shared library versions, option 1 version=2.0.5 major=2 # option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so #version=`ls src/.libs/lib*.so.* | \ # awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` #major=`ls src/.libs/lib*.so.* | \ # awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` configure: configure-stamp configure-stamp: dh_testdir # Save original files for f in $(KEEP_FILES); do [ -f $$f.orig ] || cp -a $$f $$f.orig ; done autoreconf -i -v -f cp -f /usr/share/misc/config.sub config.sub cp -f /usr/share/misc/config.guess config.guess ./configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info touch configure-stamp build-arch: build build-indep: build build: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) check touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # Restore original files for f in $(KEEP_FILES); do [ ! -f $$f.orig ] || mv $$f.orig $$f; done # Add here commands to clean up after the build process. # Don't use: would cause --run autoconf # [ ! -f Makefile ] || $(MAKE) distclean rm -f c-unit/*.o c-unit/*.l[ao] c-unit/TEST/*.o \ Makefile \ c-unit/Makefile \ c-unit/TEST/Makefile \ c-unit/TEST/test-au-netstring \ c-unit/TEST/test-suite \ c-unit/TEST/test-test \ config.h \ config.log \ config.status \ libtool \ stamp-h1 find -type d -name .libs -o -name .deps | xargs -r rm -rf dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/tmp $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp \ docdir=/usr/share/doc/libautounit-dev install -p -D -m644 debian/libautounit2.lintian \ debian/libautounit2/usr/share/lintian/overrides/libautounit2 # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_movefiles dh_installdocs dh_installexamples dh_installchangelogs ChangeLog dh_link dh_strip dh_compress dh_fixperms 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 debian/copyright0000644000000000000000000000270611737775003011140 0ustar This package was debianized by James LewisMoss on Wed, 6 Mar 2002 23:04:57 -0500. The current Debian maintainer is Masami Ichikawa It was downloaded from http://www.recursism.com/pub/software/testing/gnu-autounit Upstream Authors: Simon Janes James LewisMoss Petter Reinholdtsen Jon Schutz Wesley Hosking Copyright: Copyright (C) 2001 Simon Janes 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA GNU Lesser General Public License. You can find a copy on a Debian system at /usr/share/common-licenses/LGPL-2. The Debian packaging is Copyright (C) 2006-2009, Masami Ichikawa and is licensed under the GPL-2+, see above. debian/source/0000755000000000000000000000000011722645320010470 5ustar debian/source/format0000644000000000000000000000001411722645320011676 0ustar 3.0 (quilt) debian/libautounit-dev.info0000644000000000000000000000002211722645166013162 0ustar doc/autounit.info debian/libautounit2.files0000644000000000000000000000002211722645166012637 0ustar usr/lib/lib*.so.* debian/libautounit-dev.files0000644000000000000000000000015111722645166013334 0ustar usr/include/* usr/lib/lib*.a usr/lib/lib*.so usr/share/info/* usr/share/aclocal/* usr/lib/pkgconfig/*.pc