--- armadillo-1.1.92+dfsg.orig/debian/copyright +++ armadillo-1.1.92+dfsg/debian/copyright @@ -0,0 +1,76 @@ +This package was debianized by Kumar Appaiah on +Wed, 25 Mar 2009 15:02:42 -0500. + +It was downloaded from + +Upstream Author: + + Conrad Sanderson (Change first `!' to `@', second one to `.') + +Contributors: + Justin Bedo + Ian Cullinan + Charles Gretton + Oka Kurniawan + Adam Piątyszek + Ola Rinta-Koski + Laurianne Sitbon + Yong Kang Wong + +Copyright: + + Copyright © 2008 - 2011 NICTA + +This program is licensed under the GNU Lesser General Public License +(LGPL), and you may use and redistribute the software under the LGPL +version 3, or (at your option) any later version. + +LGPL: + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 3 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Library General +Public License can be found in `/usr/share/common-licenses/LGPL'. + +Files in build_aux/cmake/Modules: + Copyright (c) 2006, Alexander Neundorf, + Redistribution and use is allowed according to the terms of the BSD license. + + 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 copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + +The Debian packaging is © 2009-2011, Kumar Appaiah +and is licensed under the GNU General Public License version 2. On +Debian systems, the complete text of the GNU General Public License +can be found in `/usr/share/common-licenses/GPL-2'. --- armadillo-1.1.92+dfsg.orig/debian/watch +++ armadillo-1.1.92+dfsg/debian/watch @@ -0,0 +1,5 @@ +version=3 +#http://sf.net/arma/armadillo-(.*)\.tar\.gz +opts=filenamemangle=s/.*armadillo-(.*)\.tar\.gz\/download/armadillo-$1.tar.gz/,\ +dversionmangle=s/\.dfsg\.\d+// \ +http://sourceforge.net/projects/arma/files armadillo-(.*)\.tar\.gz/download debian bash debian/dfsg-repack.sh --- armadillo-1.1.92+dfsg.orig/debian/libarmadillo1.docs +++ armadillo-1.1.92+dfsg/debian/libarmadillo1.docs @@ -0,0 +1 @@ +README.txt --- armadillo-1.1.92+dfsg.orig/debian/rules +++ armadillo-1.1.92+dfsg/debian/rules @@ -0,0 +1,66 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else +CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + +config.status: configure + dh_testdir + ./configure + +build: build-stamp + +build-stamp: config.status + dh_testdir + cmake -D INSTALL_LIB_DIR=lib -D CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT:BOOL=ON . # specified to install to the debian/tmp directory. + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + rm -rf debian/doc_gen + [ ! -f Makefile ] || $(MAKE) clean + rm -f config.guess config.sub Makefile + rm -f CMakeCache.txt cmake_install.cmake + rm -rf CMakeFiles + rm -f install_manifest.txt + dh_clean --exclude ./src/include/armadillo_bits/dgemm_proto.hpp.orig + +install: build + dh_testdir + dh_testroot + dh_clean --exclude ./src/include/armadillo_bits/dgemm_proto.hpp.orig + dh_installdirs + $(MAKE) prefix=$(CURDIR)/debian/tmp/usr install DESTDIR=debian/tmp + +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs -a + dh_installdocs -a + dh_installexamples -a + dh_install -a --sourcedir=debian/tmp + dh_installman -a + dh_link -a + dh_strip -a + dh_compress -a -X.cpp + dh_fixperms -a + dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary-indep: build install +# Currently no arch-independent packages + +binary: binary-indep binary-arch +.PHONY: build clean binary-arch binary install --- armadillo-1.1.92+dfsg.orig/debian/changelog +++ armadillo-1.1.92+dfsg/debian/changelog @@ -0,0 +1,129 @@ +armadillo (1.1.92+dfsg-1) unstable; urgency=low + + * New upstream release + * Remove patches/no_lib64.diff; include definition in rules file for lib + directory. + * Add binary-indep to the rules file. + + -- Kumar Appaiah Wed, 06 Apr 2011 01:35:19 -0500 + +armadillo (1.1.90+dfsg-1) unstable; urgency=low + + * New upstream release + + -- Kumar Appaiah Wed, 23 Mar 2011 16:17:03 -0500 + +armadillo (1.1.4+dfsg-1) unstable; urgency=low + + * New upstream release + * Don't generate Doxygen docs anymore (Build-Depend on doxygen removed) + * Add missing copyright information + * Repack to be DFSG compliant + * Preserve config.hpp during clean operation + * Remove doc package; documentation now in dev package + + -- Kumar Appaiah Sun, 20 Feb 2011 18:00:25 -0600 + +armadillo (1.1.2-1) unstable; urgency=low + + * New upstream release + * Bump soname to 1 + * Don't compress C++ example files + + -- Kumar Appaiah Tue, 15 Feb 2011 23:34:00 -0600 + +armadillo (1.0.0-1) experimental; urgency=low + + * New upstream release. + * Fix cleanup routine in debian/rules. + * Standards version is now 3.9.1 (no changes needed) + + -- Kumar Appaiah Thu, 25 Nov 2010 08:17:45 -0600 + +armadillo (0.9.52-1) unstable; urgency=low + + * New upstream release. + * Update Standards Version to 3.9.0 (No changes needed) + + -- Kumar Appaiah Sun, 25 Jul 2010 09:24:52 -0500 + +armadillo (0.9.8-1) unstable; urgency=low + + * New upstream release. + + -- Kumar Appaiah Mon, 17 May 2010 14:33:25 -0500 + +armadillo (0.9.4-1) unstable; urgency=low + + * New Upstream Release. + + -- Kumar Appaiah Sat, 20 Mar 2010 08:53:13 -0500 + +armadillo (0.9.2-1) unstable; urgency=low + + * New upstream release. + + -- Kumar Appaiah Thu, 04 Mar 2010 22:16:57 -0600 + +armadillo (0.9.0-1) unstable; urgency=low + + * New upstream release. + + -- Kumar Appaiah Wed, 17 Feb 2010 10:09:34 -0600 + +armadillo (0.8.2-1) unstable; urgency=low + + * New upstream release. + * Standards Version is now 3.8.4 (No changes needed) + * Add {$misc:Depends} to all packages. + + -- Kumar Appaiah Wed, 03 Feb 2010 06:04:11 -0600 + +armadillo (0.8.0-1) unstable; urgency=low + + * New upstream release. + * Standards Version is now 3.8.3 (no changes needed) + * Update watch file. + + -- Kumar Appaiah Sat, 19 Dec 2009 01:41:31 -0600 + +armadillo (0.6.12-2) unstable; urgency=low + + * Add boost dependency. Thanks to Dirk Eddelbuettel for bringing this to + my notice. In particular, use libboost-math-dev and + libboost-date-time-dev. + * Fix echo -e bashism. Thanks to Raphael Geissert for pointing + this out. (Closes: #535371) + + -- Kumar Appaiah Mon, 27 Jul 2009 09:17:46 -0500 + +armadillo (0.6.12-1) UNRELEASED; urgency=low + + * New upstream release. + * Standards version is now 3.8.2 (no changes). + + -- Kumar Appaiah Mon, 06 Jul 2009 06:30:45 -0400 + +armadillo (0.6.10-2) unstable; urgency=low + + * debian/control: Add quilt to Build-Depends. + * debian/patches: no_lib64.diff + + Patch to use lib64 always. + + -- Kumar Appaiah Sat, 09 May 2009 18:14:29 -0500 + +armadillo (0.6.10-1) unstable; urgency=low + + * New Upstream Version + * Update copyright: correct to mention that package is licensed under + LGPL v3 or later. + * Place library in /usr/lib64. + + -- Kumar Appaiah Sat, 09 May 2009 16:54:18 -0500 + +armadillo (0.6.2-1) unstable; urgency=low + + * Initial release (Closes: #521978) + + -- Kumar Appaiah Wed, 25 Mar 2009 15:02:42 -0500 + --- armadillo-1.1.92+dfsg.orig/debian/libarmadillo-dev.examples +++ armadillo-1.1.92+dfsg/debian/libarmadillo-dev.examples @@ -0,0 +1 @@ +examples/* --- armadillo-1.1.92+dfsg.orig/debian/README.source +++ armadillo-1.1.92+dfsg/debian/README.source @@ -0,0 +1,22 @@ +Patch system for armadillo +========================== + +This package uses quilt to maintain local changes to the speech-tools +distribution. The Debian-specific patches are maintained in the debian/patches/ +directory. + +To apply all the patches, preparing the source for building, use: + debian/rules patch + +To revert the patches, preparing to build a source package, use: + debian/rules unpatch + +You do not need to manually execute these targets when building the package; +they are part of the debian/rules target chain. + +For more information on the quilt integration with Debian packages, as well as +editing, adding or removing patches, please see the quilt documentation; in +recent versions of the Debian package of quilt, See: + /usr/share/doc/quilt/README.source + + -- Kumar Appaiah , Sat, 19 Dec 2009 01:45:05 -0600 --- armadillo-1.1.92+dfsg.orig/debian/compat +++ armadillo-1.1.92+dfsg/debian/compat @@ -0,0 +1 @@ +7 --- armadillo-1.1.92+dfsg.orig/debian/control +++ armadillo-1.1.92+dfsg/debian/control @@ -0,0 +1,37 @@ +Source: armadillo +Priority: optional +Maintainer: Debian Science Maintainers +Uploaders: Kumar Appaiah +Build-Depends: debhelper (>= 7), libblas-dev, liblapack-dev, cmake, libboost-math-dev (>= 1.3.4), libboost-date-time-dev (>= 1.3.4) +Standards-Version: 3.9.1 +Section: libs +Homepage: http://arma.sourceforge.net/ +Vcs-Git: git://git.debian.org/git/debian-science/packages/armadillo.git +Vcs-Browser: http://git.debian.org/?p=debian-science/packages/armadillo.git + +Package: libarmadillo-dev +Section: libdevel +Architecture: any +Suggests: libitpp-dev +Depends: libarmadillo1 (= ${binary:Version}), ${misc:Depends} +Replaces: libarmadillo-doc (<= 1.1.2-1) +Conflicts: libarmadillo-doc +Description: streamlined C++ linear algebra library - Headers + Armadillo is a streamlined C++ linear algebra library (matrix maths) + aiming towards a good balance between speed and ease of use. Integer, + floating point and complex numbers are supported, as well as a subset + of trigonometric and statistics functions. Optional integration with + LAPACK and ATLAS libraries is also provided. + . + This package has the development libraries and headers for Armadillo. + +Package: libarmadillo1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: streamlined C++ linear algebra library + Armadillo is a streamlined C++ linear algebra library (matrix maths) + aiming towards a good balance between speed and ease of use. Integer, + floating point and complex numbers are supported, as well as a subset + of trigonometric and statistics functions. Optional integration with + LAPACK and ATLAS libraries is also provided. --- armadillo-1.1.92+dfsg.orig/debian/libarmadillo1.install +++ armadillo-1.1.92+dfsg/debian/libarmadillo1.install @@ -0,0 +1 @@ +usr/lib/*.so.* usr/lib --- armadillo-1.1.92+dfsg.orig/debian/dfsg-repack.sh +++ armadillo-1.1.92+dfsg/debian/dfsg-repack.sh @@ -0,0 +1,29 @@ +#!/bin/bash +# Borrowed from Raphael Geissert's Debian PHP repack script. + +set -e + +if [ ! -f "$3" ] && [ ! -f "$1" ]; then + echo "This script must be run via uscan or by manually specifying the tarball" >&2 + exit 1 +fi + +tarball= + +[ -f "$3" ] && tarball="$3" +[ -z "$tarball" -a -f "$1" ] && tarball="$1" + +fname="$(basename "$tarball")" +tarball="$(readlink -f "$tarball")" + +tdir="$(mktemp -d)" +trap '[ ! -d "$tdir" ] || rm -r "$tdir"' EXIT + +zcat "$tarball" | tar --wildcards --delete '*/examples/lib_win32' --delete '*/examples*_win32' --delete '*/docs/*pdf' > "$tdir/${fname/.gz}" +#touch -m -r "$tarball" "$tdir/${fname/.gz}" +gzip -9 "$tdir/${fname/.gz}" + +mv "$tarball" "$tarball.bkp" +tarballdfsg=$(echo $3|sed 's/\.orig\.tar\.gz/+dfsg.orig.tar.gz/') +echo Writing $tarballdfsg +mv "$tdir/$fname" "$tarballdfsg" --- armadillo-1.1.92+dfsg.orig/debian/libarmadillo-dev.install +++ armadillo-1.1.92+dfsg/debian/libarmadillo-dev.install @@ -0,0 +1,2 @@ +usr/include/* usr/include +usr/lib/lib*.so usr/lib --- armadillo-1.1.92+dfsg.orig/debian/libarmadillo-dev.doc-base +++ armadillo-1.1.92+dfsg/debian/libarmadillo-dev.doc-base @@ -0,0 +1,12 @@ +Document: armadillo +Title: Armadillo Manual +Author: Conrad Sanderson +Abstract: This manual contains the Armadillo technical documentation + which documents the various features and methods provided in + the Armadillo library for vector and matrix based mathematical + computations. +Section: Science/Mathematics + +Format: HTML +Index: /usr/share/doc/libarmadillo-dev/index.html +Files: /usr/share/doc/libarmadillo-dev/*.html --- armadillo-1.1.92+dfsg.orig/debian/libarmadillo-dev.docs +++ armadillo-1.1.92+dfsg/debian/libarmadillo-dev.docs @@ -0,0 +1 @@ +docs/*