debian/0000755000000000000000000000000012241654245007173 5ustar debian/patches/0000755000000000000000000000000012241654266010625 5ustar debian/patches/series0000644000000000000000000000006412241654266012042 0ustar no-more-tcl84 Makefile-fix fix-link-as-needed.patch debian/patches/Makefile-fix0000644000000000000000000000246312224571700013046 0ustar Description: Makefile fix Makefile dos not refer to a specific TK version anymore and uses LDFLAGS . gpsmanshp (1.2.3-3) unstable; urgency=low . * Do not depend of Tk8.4 anymore (Closes: #725367) Author: Rogerio Reis Bug-Debian: http://bugs.debian.org/725367 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- gpsmanshp-1.2.3.orig/Makefile +++ gpsmanshp-1.2.3/Makefile @@ -24,7 +24,7 @@ VERSION = 1.2.3 -TCLVERSION = 8.5 +TCLVERSION = INSTALLDIR = /usr/lib/tcl$(TCLVERSION) @@ -32,7 +32,7 @@ CFLAGS = -Wall -fPIC -c -I/usr/include/t LINKOPT = -lshp -ltcl$(TCLVERSION) gpsmanshp.so: gpsmanshp.o - $(CC) -shared -o gpsmanshp.so $(LINKOPT) gpsmanshp.o + $(CC) $(LDFLAGS) -shared -o gpsmanshp.so $(LINKOPT) gpsmanshp.o gpsmanshp.o: gpsmanshp.c $(CC) $(CFLAGS) gpsmanshp.c debian/patches/fix-link-as-needed.patch0000644000000000000000000000151612241654513015210 0ustar Description: Reorder linker command options to build with --as-needed, it causes wrong dependencies, making the package uninstallable and unusable. (LP: #995445) . When building with --as-needed, the order of the options is important, in this case, the gpsmanshp.so shared object was missing the link with shp and tcl. See the Ubuntu Bug for a more detailed explanation. Author: Andreas Moog Bug-Ubuntu: https://bugs.launchpad.net/bugs/995445 --- gpsmanshp-1.2.3.orig/Makefile +++ gpsmanshp-1.2.3/Makefile @@ -32,7 +32,7 @@ CFLAGS = -Wall -fPIC -c -I/usr/include/t LINKOPT = -lshp -ltcl$(TCLVERSION) gpsmanshp.so: gpsmanshp.o - $(CC) $(LDFLAGS) -shared -o gpsmanshp.so $(LINKOPT) gpsmanshp.o + $(CC) $(LDFLAGS) -shared -o gpsmanshp.so gpsmanshp.o $(LINKOPT) gpsmanshp.o: gpsmanshp.c $(CC) $(CFLAGS) gpsmanshp.c debian/patches/no-more-tcl840000644000000000000000000000164112224554612013055 0ustar Description: Removing TCL8.4 dependency Removing TCL8.4 dependency . gpsmanshp (1.2.3-1) unstable; urgency=low . * New upstream release Author: Rogerio Reis --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- gpsmanshp-1.2.3.orig/Makefile +++ gpsmanshp-1.2.3/Makefile @@ -24,7 +24,7 @@ VERSION = 1.2.3 -TCLVERSION = 8.4 +TCLVERSION = 8.5 INSTALLDIR = /usr/lib/tcl$(TCLVERSION) debian/watch.ex0000644000000000000000000000155012224554176010643 0ustar # Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 # Uncomment to examine a Webpage # #http://www.example.com/downloads.php gpsmanshp-(.*)\.tar\.gz https://sourceforge.net/projects/gpsmanshp/files/distr/gpsmanshp-(.*)\.tar\.gz # Uncomment to examine a Webserver directory #http://www.example.com/pub/gpsmanshp-(.*)\.tar\.gz # Uncommment to examine a FTP server #ftp://ftp.example.com/pub/gpsmanshp-(.*)\.tar\.gz debian uupdate # Uncomment to find new files on sourceforge, for devscripts >= 2.9 # http://sf.net/gpsmanshp/gpsmanshp-(.*)\.tar\.gz # Uncomment to find new files on GooglePages # http://example.googlepages.com/foo.html gpsmanshp-(.*)\.tar\.gz debian/prerm0000644000000000000000000000034512224557424010247 0ustar #!/bin/sh set -e TCLVERSION= PKGIDX="/usr/lib/tcl"$TCLVERSION"/pkgIndex.tcl" cd /usr/lib/tcl$TCLVERSION if [ `sed /gpsmanshp/d $PKGIDX | sed /^#/d | wc -w` = 0 ] then rm $PKGIDX ; else sed -i /gpsmanshp/d $PKGIDX ; fi debian/gpsmanshp-dev.dirs0000644000000000000000000000002412224553135012623 0ustar usr/lib usr/include debian/README.Debian0000644000000000000000000000026312224553135011232 0ustar gpsmanshp for Debian -------------------- -- Rogerio Reis , Sat, 5 Jun 2004 01:23:59 +0100 debian/control0000644000000000000000000000107612241655753010607 0ustar Source: gpsmanshp Section: interpreters Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Rogerio Reis Build-Depends: debhelper (>= 8.0.0), libshp-dev, tcl, tcl-dev Standards-Version: 3.9.4 Package: gpsmanshp Section: interpreters Priority: optional Architecture: any Depends: tcllib, ${shlibs:Depends}, Description: Tcl interface to shapelib A Tcl package that provides the means of creating and reading files in the ESRI Shapefile for keeping 2 or 3 dimensional points and polylines. . debian/source/0000755000000000000000000000000012224547516010476 5ustar debian/source/format0000644000000000000000000000001412224547516011704 0ustar 3.0 (quilt) debian/gpsmanshp1.files0000644000000000000000000000002212224553135012267 0ustar usr/lib/lib*.so.* debian/gpsmanshp-dev.files0000644000000000000000000000011712224553135012767 0ustar usr/include/* usr/lib/lib*.a usr/lib/lib*.so usr/lib/pkgconfig/* /usr/lib/*.la debian/docs0000644000000000000000000000001012224553135010032 0ustar GPL.txt debian/gpsmanshp1.dirs0000644000000000000000000000001012224553135012123 0ustar usr/lib debian/rules0000755000000000000000000000347112225723113010251 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. CFLAGS = -fpic -g TMPROOT = debian/tmp DOCDIR = $(TMPROOT)/usr/share/doc/gpsmanshp HTMLDOCS = doc/GPSManSHP.pdf TCLVERSION = INSTALLDIR = $(TMPROOT)/usr/lib/tcl$(TCLVERSION) LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) build: $(MAKE) -f Makefile TCLVERSION=$(TCLVERSION) LDFLAGS=$(LDFLAGS) build-indep: build build-arch: build clean: $(MAKE) -f Makefile clean rm -rf debian/tmp debian/files rm -f debian/*~ rm -f debian/substvars install: build rm -rf $(TMPROOT) debian/files mkdir -p $(INSTALLDIR) mkdir -p $(DOCDIR)/html install -m 644 gpsmanshp.so $(INSTALLDIR) # echo "pkg_mkIndex -lazy -verbose . gpsmanshp.so" | tclsh$(TCLVERSION) # $(MAKE) install INSTALLDIR=$(INSTALLDIR) # Build architecture-dependent files here. binary-arch: install cp $(HTMLDOCS) $(DOCDIR)/html ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) strip --remove-section=.note --remove-section=.comment $(INSTALLDIR)/gpsmanshp.so endif cp debian/copyright $(DOCDIR) cp debian/changelog $(DOCDIR)/changelog.Debian gzip -9 $(DOCDIR)/changelog.Debian chown -R root.root $(INSTALLDIR) chown -R root.root $(DOCDIR) chmod 644 $(DOCDIR)/* $(DOCDIR)/html/* chmod 755 $(DOCDIR)/html mkdir $(TMPROOT)/DEBIAN cp debian/postinst $(TMPROOT)/DEBIAN/postinst chmod 755 $(TMPROOT)/DEBIAN/postinst cp debian/prerm $(TMPROOT)/DEBIAN/prerm chmod 755 $(TMPROOT)/DEBIAN/prerm dpkg-shlibdeps $(INSTALLDIR)/gpsmanshp.so dpkg-gencontrol -isp (cd $(TMPROOT) ; md5sum usr/lib/tcl$(TCLVERSION)/gpsmanshp.so > DEBIAN/md5sums ; md5sum usr/share/doc/gpsmanshp/* >> DEBIAN/md5sums ; md5sum usr/share/doc/gpsmanshp/html/* >> DEBIAN/md5sums ; chmod 644 DEBIAN/md5sums) dpkg-deb --build $(TMPROOT) .. binary: binary-arch binary-indep: build install .PHONY: build clean binary-arch binary install debian/postinst0000644000000000000000000000022012224557414010774 0ustar #!/bin/sh set -e TCLVERSION= cd /usr/lib/tcl$TCLVERSION echo "pkg_mkIndex -lazy -verbose . gpsmanshp.so" | tclsh$TCLVERSION 2>&1 > /dev/null debian/compat0000644000000000000000000000000212224547516010374 0ustar 8 debian/changelog0000644000000000000000000000505012241654245011045 0ustar gpsmanshp (1.2.3-4ubuntu1) trusty; urgency=low * Merge from debian/unstable, remaining change: - Reorder linker command options to build with --as-needed, it causes wrong dependencies, making the package uninstallable and unusable. (LP: #995445) -- Andreas Moog Sat, 16 Nov 2013 12:35:19 +0100 gpsmanshp (1.2.3-4) unstable; urgency=low * Fixed permissions of some control files -- Rogerio Reis Fri, 11 Oct 2013 08:06:04 +0100 gpsmanshp (1.2.3-3) unstable; urgency=low * Do not depend of Tk8.4 anymore (Closes: #725367) -- Rogerio Reis Mon, 07 Oct 2013 18:39:46 +0100 gpsmanshp (1.2.3-2) unstable; urgency=low * Bug in installation solved -- Rogerio Reis Mon, 07 Oct 2013 17:20:02 +0100 gpsmanshp (1.2.3-1) unstable; urgency=low * New upstream release -- Rogerio Reis Mon, 07 Oct 2013 16:43:22 +0100 gpsmanshp (1.2-4) unstable; urgency=low * Bug fix: "debian/watch fails to report upstream's version", thanks to Raphael Geissert (Closes: #450169). -- Rogerio Reis Fri, 09 Jan 2009 13:16:11 +0000 gpsmanshp (1.2-3) unstable; urgency=low * binary-indep tag added to debian/rules (closes: #395693) -- Rogerio Reis Wed, 1 Nov 2006 11:23:15 +0000 gpsmanshp (1.2-2) unstable; urgency=low * Bug fix: remotion of the package now cleans back pkgIndex.tcl (Closes: #328495). -- Rogerio Reis Wed, 5 Oct 2005 15:31:44 +0100 gpsmanshp (1.2-1) unstable; urgency=low * New upstream release -- Rogerio Reis Thu, 9 Sep 2004 18:23:52 +0100 gpsmanshp (1.1-1) unstable; urgency=low * New upstream release * Architecture corrected. (Closes: 252890) -- Rogerio Reis Sat, 5 Jun 2004 22:31:15 +0100 gpsmanshp (1.0.3-1) unstable; urgency=low * New upstream release. * Now for tcl8.4 * Bug fix: "gpsmanshp: fails to install on m68k", thanks to Christian T. Steigies (Closes: #195247). -- Rogerio Reis Fri, 4 Jun 2004 23:54:36 +0100 gpsmanshp (1.0.1-3) unstable; urgency=low * package needs to depend on tcl for postinst pkg_mkIndex call (closes: #195247) -- Rogerio Reis Tue, 10 Jun 2003 14:35:20 +0100 gpsmanshp (1.0.1-2) unstable; urgency=low * pkgInst generation corrected. -- Rogerio Reis Thu, 6 Mar 2003 12:59:15 +0000 gpsmanshp (1.0.1-1) unstable; urgency=low * Initial Release. (closes: #183128) -- Rogerio Reis Tue, 4 Mar 2003 12:43:24 +0000 debian/watch0000644000000000000000000000044012224553135010217 0ustar # Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 http://www.ncc.up.pt/gpsmanshp/src/gpsmanshp-(.*).tgz debian/copyright0000644000000000000000000000076512224553477011144 0ustar This package was debianized by Rogerio Reis on Mon, 11 Feb 2002 15:32:46 +0000. It was downloaded from https://sourceforge.net/projects/gpsmanshp/files/distrib/ Miguel Filgueiras This software is copyright (c) (1998-2013) Miguel Filgueiras. You are free to distribute this software under the terms of the GNU General Public License. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL file.