--- unittest++-1.4.0.orig/debian/changelog +++ unittest++-1.4.0/debian/changelog @@ -0,0 +1,113 @@ +unittest++ (1.4.0-3) unstable; urgency=low + + * Add missing 20_test_runner_bad_virtual_method_arg.dpatch to patches/00list + + -- Johan Euphrosine (proppy) Sat, 11 Jul 2009 15:18:30 +0200 + +unittest++ (1.4.0-2) unstable; urgency=low + + * Fix FTBFS on non-x86 arches (Closes: #525709) + + -- Johan Euphrosine (proppy) Tue, 09 Jun 2009 02:24:58 +0200 + +unittest++ (1.4.0-1) unstable; urgency=low + + * New upstream version + * Drop 20_gcc-4.3.dpatch, fixed upstream + * Remove empty libunittest++0 transitional package (Closes: #489122) + * Bump standards-version to 3.8.1 + * Add get-orig-source target + * Repackage upstream tarball using get-orig-source target + * Add libunittest++-dev.docs + * Fix debhelper-but-no-misc-depends + * Fix dev-package-should-be-section-libdevel + * Fix dpatch-missing-description + + -- Johan Euphrosine (proppy) Sat, 25 Apr 2009 01:20:17 +0200 + +unittest++ (1.3.0-4) unstable; urgency=low + + * Apply Cyril Brulebois patch to fix FTBFS with GCC 4.3 (Closes: #455316) + + -- Johan Euphrosine (proppy) Thu, 13 Mar 2008 13:53:11 +0000 + +unittest++ (1.3.0-3) unstable; urgency=low + + * add watch file + * fix install rules + + -- Johan Euphrosine (proppy) Mon, 29 Oct 2007 01:39:20 +0000 + +unittest++ (1.3.0-2) unstable; urgency=low + + * fix libunittest++0 override and section missmatch + + -- Johan Euphrosine (proppy) Sun, 28 Oct 2007 13:43:42 +0000 + +unittest++ (1.3.0-1) unstable; urgency=low + + * 1.3 release (upstream sync) + * remove autotools support, use upstream provided makefile instead + * empty libunittest++0 transition package + * rename library to libUnitTest++.a, provide simlink for backward compatibility + * switch to dpatch + * new 10_pkgconfig.dpatch with updated version and paths + + -- Johan Euphrosine (proppy) Wed, 26 Sep 2007 12:18:24 +0000 + +unittest++ (1.2.1-1) unstable; urgency=low + + * upstream patch for autotools and packaging fixes + + -- Johan Euphrosine (proppy) Wed, 6 Dec 2006 04:08:15 +0100 + +unittest++ (1.2.0-5) unstable; urgency=low + + * update debhelper version (closes: #397810) + + -- Johan Euphrosine (proppy) Thu, 30 Nov 2006 22:48:00 +0100 + +unittest++ (1.2.0-4) unstable; urgency=low + + * bump closes + + -- Johan Euphrosine (proppy) Thu, 30 Nov 2006 15:13:51 +0100 + +unittest++ (1.2.0-3) unstable; urgency=low + + * packaging fix + + -- Johan Euphrosine (proppy) Wed, 22 Nov 2006 18:03:28 +0100 + +unittest++ (1.2.0-2) unstable; urgency=low + + * copyright fixes + + -- Johan Euphrosine (proppy) Wed, 22 Nov 2006 15:42:53 +0100 + +unittest++ (1.2.0-1) unstable; urgency=low + + * 1.2 release (upstream sync) + + -- Johan Euphrosine (proppy) Mon, 30 Oct 2006 17:13:00 +0200 + +unittest++ (1.1.1-1) unstable; urgency=low + + * g++ depends + + * upstream sync + + -- Loic Dachary (OuoU) Mon, 30 Oct 2006 11:31:52 +0100 + +unittest++ (1.1.0-1) unstable; urgency=low + + * 1.1 release + + -- Johan Euphrosine (proppy) Wed, 12 May 2006 16:08:00 +0200 + +unittest++ (1.0.0-1) unstable; urgency=low + + * initial package + + -- Johan Euphrosine (proppy) Wed, 29 Mar 2006 15:58:02 +0200 + --- unittest++-1.4.0.orig/debian/compat +++ unittest++-1.4.0/debian/compat @@ -0,0 +1 @@ +5 --- unittest++-1.4.0.orig/debian/control +++ unittest++-1.4.0/debian/control @@ -0,0 +1,17 @@ +Source: unittest++ +Section: libdevel +Priority: optional +Maintainer: Johan Euphrosine (proppy) +Uploaders: Loic Dachary (OuoU) +Build-Depends: g++ (>= 3.3), debhelper (>= 5.0.0), cdbs, dpatch +Standards-Version: 3.8.1 + +Package: libunittest++-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends} +Description: unit testing framework for c++, static library and headers + unittest++ is a unit testing framework designed for simplicity + and portability. Features include no explicit test registration, + good crash handling, fixtures, rich condition-checking functionality, + minimal footprint for embedded environments. --- unittest++-1.4.0.orig/debian/copyright +++ unittest++-1.4.0/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Johan Euphrosine (proppy) on +Wed Mar 29 16:10:41 CEST 2006 + +The current Debian maintainer is Johan Euphrosine (proppy) + +It was downloaded from http://sourceforge.net/projects/unittest-cpp/ + +Upstream tarball was repackaged from zip to gzipped tar, using +get-orig-source target. + +Upstream Authors: Noel Llopis (llopis@convexhull.com) + Charles Nicholson (cn@cnicholson.net) + +Copyright: 2006 Noel Llopis and Charles Nicholson + + This package is free software. You may copy, distribute, and modify it under + the terms of the License contained in the file COPYING distributed + with this package. This license is the same as the MIT/X Consortium + license. + + 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. --- unittest++-1.4.0.orig/debian/libunittest++-dev.docs +++ unittest++-1.4.0/debian/libunittest++-dev.docs @@ -0,0 +1,2 @@ +README +docs/UnitTest++.html --- unittest++-1.4.0.orig/debian/watch +++ unittest++-1.4.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +opts="uversionmangle=s/$/.0/" http://sf.net/unittest-cpp/unittest-cpp-(.*)\.zip --- unittest++-1.4.0.orig/debian/rules +++ unittest++-1.4.0/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/dpatch.mk + +get-orig-source: + uscan --force-download --repack + +install/libunittest++-dev:: + mkdir -p debian/libunittest++-dev/usr/include/unittest++/Posix/ + mkdir -p debian/libunittest++-dev/usr/lib/ + mkdir -p debian/libunittest++-dev/usr/lib/pkgconfig/ + cp src/*.h debian/libunittest++-dev/usr/include/unittest++/ + cp src/Posix/*.h debian/libunittest++-dev/usr/include/unittest++/Posix/ + cp *.a debian/libunittest++-dev/usr/lib/ + cd debian/libunittest++-dev/usr/lib && ln -s libUnitTest++.a libunittest++.a + cp unittest++.pc debian/libunittest++-dev/usr/lib/pkgconfig/ --- unittest++-1.4.0.orig/debian/patches/20_test_runner_bad_virtual_method_arg.dpatch +++ unittest++-1.4.0/debian/patches/20_test_runner_bad_virtual_method_arg.dpatch @@ -0,0 +1,27 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 20_test_runner_bad_virtual_method_arg.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad unittest++-1.4.0~/src/tests/TestTestRunner.cpp unittest++-1.4.0/src/tests/TestTestRunner.cpp +--- unittest++-1.4.0~/src/tests/TestTestRunner.cpp 2008-10-30 15:27:42.000000000 +0100 ++++ unittest++-1.4.0/src/tests/TestTestRunner.cpp 2009-07-10 23:25:53.000000000 +0200 +@@ -20,14 +20,14 @@ + { + } + +- virtual void RunImpl(TestResults& testResults_) const ++ virtual void RunImpl() const + { + for (int i=0; i < count; ++i) + { + if (asserted) + ReportAssert("desc", "file", 0); + else if (!success) +- testResults_.OnTestFailure(m_details, "message"); ++ CurrentTest::Results()->OnTestFailure(m_details, "message"); + } + } + --- unittest++-1.4.0.orig/debian/patches/00list +++ unittest++-1.4.0/debian/patches/00list @@ -0,0 +1,2 @@ +10_pkgconfig.dpatch +20_test_runner_bad_virtual_method_arg.dpatch --- unittest++-1.4.0.orig/debian/patches/10_pkgconfig.dpatch +++ unittest++-1.4.0/debian/patches/10_pkgconfig.dpatch @@ -0,0 +1,25 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_pkgconfig.dpatch by Johan Euphrosine (proppy) +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: add pkgconfig support. + +@DPATCH@ +diff -urNad UnitTest++~/unittest++.pc UnitTest++/unittest++.pc +--- UnitTest++~/unittest++.pc 1970-01-01 00:00:00.000000000 +0000 ++++ UnitTest++/unittest++.pc 2007-10-27 10:34:11.273081787 +0000 +@@ -0,0 +1,14 @@ ++# pkg-config source file ++ ++prefix=/usr ++exec_prefix=${prefix} ++libdir=${exec_prefix}/lib ++includedir=${prefix}/include ++ ++Name: unittest++ ++Description: unittest++ is a unit testing framework for C++ ++Version: 1.3.0 ++Requires: ++Conflicts: ++Libs: -L${libdir} -lUnitTest++ ++Cflags: -I${includedir}/unittest++