debian/0000755000000000000000000000000011755410460007171 5ustar debian/python-gpiv.install0000644000000000000000000000003311737753431013051 0ustar debian/tmp/usr/lib/python* debian/patches/0000755000000000000000000000000011737753544010635 5ustar debian/patches/01_python2.6.patch0000644000000000000000000000074611737753544013734 0ustar From: Subject: No description. diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pygpiv-2.0.0~/pygpiv.i pygpiv-2.0.0/pygpiv.i --- pygpiv-2.0.0~/pygpiv.i 2009-11-03 19:44:41.000000000 +0100 +++ pygpiv-2.0.0/pygpiv.i 2010-03-02 15:50:22.000000000 +0100 @@ -34,6 +34,7 @@ %pragma make_default %{ +#define PNG_SKIP_SETJMP_CHECK #include #include %} debian/patches/02_fix_multiarch_include.patch0000644000000000000000000000242411737753544016522 0ustar From: Michael Terry Subject: Use pkg-config to find library needed for glib-2.0 diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pygpiv~/setup.py pygpiv/setup.py --- pygpiv~/setup.py 2011-07-05 11:19:59.000000000 -0400 +++ pygpiv/setup.py 2011-07-05 11:20:43.348848694 -0400 @@ -1,7 +1,11 @@ #!/usr/bin/env python +import commands from distutils.core import setup, Extension +# Use pkg-config to find library needed for glib-2.0 +GLIB_LIB = commands.getoutput('pkg-config --cflags glib-2.0').split()[1][2:] + setup(name='pygpiv', version='2.0.0', description='Particle Image Velocimetry module', @@ -32,7 +36,8 @@ ext_modules=[Extension('_pygpiv', ['pygpiv.i'], include_dirs=['/usr/local/include', '/usr/include/glib-2.0', - '/usr/lib/glib-2.0/include'], + '/usr/lib/glib-2.0/include', + GLIB_LIB], swig_opts=['-modern', '-cpperraswarn', '-I/usr/include', debian/patches/series0000644000000000000000000000006211737753562012050 0ustar 01_python2.6.patch 02_fix_multiarch_include.patch debian/compat0000644000000000000000000000000211737753454010404 0ustar 9 debian/control0000644000000000000000000000167611755407706010617 0ustar Source: pygpiv Section: python Priority: extra Maintainer: Gerber van der Graaf X-Python-Version: >=2.7 Standards-Version: 3.9.3.1 Homepage: http://libgpiv.sourceforge.net/pygpiv.html Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1), python-all-dev (>= 2.6.6-3~), swig, libglib2.0-dev, libfftw3-dev, libgsl0-dev, libhdf5-dev (>= 1.8.8), libnetpbm10-dev, libpng-dev, libgpiv3-dev Package: python-gpiv Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} Description: wrapper of libgpiv This module allows the functionality of libgpiv3 in Python scripts to develop programs for Particle Image Velocimetry (PIV). In this way you can extend the functionality of the PIV processing as provided by the programs of the gpivtools package and by Gpiv. An example script is provided in usr/docs, including a double-frame image for cross-correlation that can be interrogated by the script. debian/changelog0000644000000000000000000000347311755410445011055 0ustar pygpiv (2.0.0-4.1) unstable; urgency=low * Non-maintainer upload. * Upgrade to packaging format "3.0 quilt". * Convert dpatch format *.diff files into DEP3, README.source not needed. * Update to Standards-Version to 3.9.3.1 and debhelper to 9. * Use hardened build flags and dh_prep in rules file (Closes: #667862). http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags -- Jari Aalto Fri, 18 May 2012 12:06:45 +0300 pygpiv (2.0.0-4) unstable; urgency=low * Repairs python dependency on hdf5. * Converted dpatch to quilt -- Gerber van der Graaf Fri, 10 Feb 2012 18:32:00 +0100 pygpiv (2.0.0-3.1) unstable; urgency=low * Non-maintainer upload. * Fix "/usr/include/glib-2.0/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory": apply patch from Ubuntu / Daniel Polehn, Michael Terry: - debian/patches/02_fix_multiarch_include.dpatch: Fix build failure due to changes to libglib2.0-dev (LP: #755955) (Closes: #650598) -- gregor herrmann Wed, 28 Dec 2011 16:59:58 +0100 pygpiv (2.0.0-3) unstable; urgency=low * Repairs python dependency. Closes: #586109 -- Gerber van der Graaf Thu, 17 June 2010 10:48:00 +0100 pygpiv (2.0.0-2) unstable; urgency=low * Repairs FTBFS when using python 2.6. Closes: #563228 -- Gerber van der Graaf Tue, 2 Mar 2010 15:38:00 +0100 pygpiv (2.0.0-1) unstable; urgency=low * New upstream release -- Gerber van der Graaf Thu, 5 Nov 2009 18:17:00 +0100 pygpiv (1.0.0-1) unstable; urgency=low * Initial release (Closes: #507894) -- Gerber van der Graaf Mon, 30 March 2009 15:47:00 +0100 debian/watch0000644000000000000000000000010411737753431010225 0ustar version=3 http://sf.net/libgpiv/pygpiv-(.*)\.tar\.gz debian uupdate debian/rules0000755000000000000000000000342011755407650010257 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PREFIX := debian/python-gpiv/usr # NOTE: Sources won't compile with all hardening enabled: # export DEB_BUILD_MAINT_OPTIONS= hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk CFLAGS += -Wall LDFLAGS += -Wl,--as-needed clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. -rm -r debian/python-gpiv -rm -r build pygpiv.py pygpiv_wrap.c dh_clean build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: dh_testdir # Add here commands to compile the package. CFLAGS="$(CFLAGS) $(CPPFLAGS)" \ LDFLAGS="$(LDFLAGS)" \ python ./setup.py build -b debian/python-gpiv touch $@ install: build dh_testdir dh_testroot dh_prep # Add here commands to install the package into debian/pygpiv. python ./setup.py install --root=debian/python-gpiv # 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_installchangelogs dh_installdocs dh_installexamples dh_python2 dh_installman dh_link dh_strip dh_compress dh_fixperms 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/docs0000644000000000000000000000001711737753431010052 0ustar README example debian/copyright0000644000000000000000000000217611737753454011147 0ustar This package was debianized by Gerber van der Graaf on Wed, 14 May 2008 20:24:14 +0200. It was downloaded from Copyright Holder: Gerber van der Graaf Copyright: 2008, 2009 Gerber van der Graaf License: Pygpiv 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, 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 St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL file. debian/source/0000755000000000000000000000000011737753431010501 5ustar debian/source/format0000644000000000000000000000001411737754252011711 0ustar 3.0 (quilt)