--- libgeotiff-dfsg-1.2.4.orig/debian/control +++ libgeotiff-dfsg-1.2.4/debian/control @@ -0,0 +1,53 @@ +Source: libgeotiff-dfsg +Priority: extra +Maintainer: Debian GIS Project +Uploaders: Francesco Paolo Lovergine +Build-Depends: debhelper (>= 5), autotools-dev, proj, zlib1g-dev, libjpeg62-dev, libtiff4-dev, dpatch +Standards-Version: 3.7.2 +Section: science + +Package: libgeotiff-dev +Section: libdevel +Architecture: any +Depends: libgeotiff1.2 (= ${Source-Version}) +Suggests: libgeotiff-epsg +Description: the GeoTIFF library -- development files + This C library supports TIFF 6.0 based interchange format for georeferenced + raster imagery. The GeoTIFF standard has been developed for reading, and writing + geographic meta-information tags on top of TIFF raster. + . + Home page: http://geotiff.maptools.org/ + . + This package contains stuff to be used to develop programs based + on the GeoTIFF library. + +Package: libgeotiff1.2 +Section: libs +Architecture: any +Suggests: geotiff-bin, gdal-bin, libgeotiff-epsg +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: the GeoTIFF library -- run-time files + This C library supports TIFF 6.0 based interchange format for georeferenced + raster imagery. The GeoTIFF standard has been developed for reading, and writing + geographic meta-information tags on top of TIFF raster. + . + Home page: http://geotiff.maptools.org/ + . + This package contains the shared library only. + +Package: geotiff-bin +Section: science +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: gdal-bin, libgeotiff-epsg +Description: the GeoTIFF library -- tools + This C library supports TIFF 6.0 based interchange format for georeferenced + raster imagery. The GeoTIFF standard has been developed for reading, and writing + geographic meta-information tags on top of TIFF raster. + . + The GeoTIFF library comes with two utility programs here included: + . + listgeo - dumps the metadata of a GeoTIFF file. + geotifcp - applies metadata to a TIFF file, making it a GeoTIFF file. + . + Home page: http://geotiff.maptools.org/ --- libgeotiff-dfsg-1.2.4.orig/debian/libgeotiff-dev.dirs +++ libgeotiff-dfsg-1.2.4/debian/libgeotiff-dev.dirs @@ -0,0 +1,3 @@ +usr/lib +usr/include/geotiff +usr/share/doc/libgeotiff-dev --- libgeotiff-dfsg-1.2.4.orig/debian/libgeotiff-dev.docs +++ libgeotiff-dfsg-1.2.4/debian/libgeotiff-dev.docs @@ -0,0 +1,3 @@ +README +docs/index.dox +docs/manual.txt --- libgeotiff-dfsg-1.2.4.orig/debian/rules +++ libgeotiff-dfsg-1.2.4/debian/rules @@ -0,0 +1,96 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +# 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) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +# shared library versions, option 1 +version=1.2.4 +major=1.2 + +config.status: patch-stamp + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + +build: build-stamp +build-stamp: config.status + + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch $@ + +clean: true-clean unpatch +true-clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) dist-clean +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + rm -f config.status + rm -f libgeotiff.* xtiffio.h newgeo.tif + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) prefix=$(CURDIR)/debian/tmp/usr install + + +# 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 ChangeLog + dh_installdocs + dh_installexamples + dh_install --sourcedir=$(CURDIR)/debian/tmp + 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 patch unpatch true-clean --- libgeotiff-dfsg-1.2.4.orig/debian/watch +++ libgeotiff-dfsg-1.2.4/debian/watch @@ -0,0 +1,4 @@ +# Compulsory line, this is a version 3 file +version=3 +ftp://ftp.remotesensing.org/pub/geotiff/libgeotiff/libgeotiff-([\d\.]+)\.tar\.gz debian uupdate + --- libgeotiff-dfsg-1.2.4.orig/debian/changelog +++ libgeotiff-dfsg-1.2.4/debian/changelog @@ -0,0 +1,13 @@ +libgeotiff-dfsg (1.2.4-2) unstable; urgency=high + + * Missing *.inc files added to /usr/include/geotiff. + (closes: #447234) + + -- Francesco Paolo Lovergine Wed, 14 Nov 2007 17:53:29 +0100 + +libgeotiff-dfsg (1.2.4-1) unstable; urgency=low + + * Initial release (closes: #418184) + + -- Francesco Paolo Lovergine Wed, 4 Apr 2007 20:45:27 +0200 + --- libgeotiff-dfsg-1.2.4.orig/debian/geotiff-bin.install +++ libgeotiff-dfsg-1.2.4/debian/geotiff-bin.install @@ -0,0 +1 @@ +usr/bin/* --- libgeotiff-dfsg-1.2.4.orig/debian/libgeotiff1.2.dirs +++ libgeotiff-dfsg-1.2.4/debian/libgeotiff1.2.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/share/doc/libgeotiff1.2 --- libgeotiff-dfsg-1.2.4.orig/debian/libgeotiff1.2.docs +++ libgeotiff-dfsg-1.2.4/debian/libgeotiff1.2.docs @@ -0,0 +1,2 @@ +README +README_BIN --- libgeotiff-dfsg-1.2.4.orig/debian/geotiff-bin.dirs +++ libgeotiff-dfsg-1.2.4/debian/geotiff-bin.dirs @@ -0,0 +1 @@ +usr/bin --- libgeotiff-dfsg-1.2.4.orig/debian/geotiff-bin.docs +++ libgeotiff-dfsg-1.2.4/debian/geotiff-bin.docs @@ -0,0 +1,3 @@ +README +docs/geotifcp.html +docs/listgeo.html --- libgeotiff-dfsg-1.2.4.orig/debian/compat +++ libgeotiff-dfsg-1.2.4/debian/compat @@ -0,0 +1 @@ +5 --- libgeotiff-dfsg-1.2.4.orig/debian/README.Debian +++ libgeotiff-dfsg-1.2.4/debian/README.Debian @@ -0,0 +1,13 @@ +libgeotiff for Debian +--------------------- + +** IMPORTANT ** IMPORTANT ** IMPORTANT ** IMPORTANT ** + +This version of the GeoTIFF library lacks the EPSG data files which are distributed +in a separate non-free package libgeotiff-epsg due to license limitations. +The library is anyway working and usable also without those files. If you need +to have reference information for standard projections, you have to install +that additional package. + + -- Francesco Paolo Lovergine Wed, 19 Sep 2007 10:51:31 +0200 + --- libgeotiff-dfsg-1.2.4.orig/debian/libgeotiff1.2.install +++ libgeotiff-dfsg-1.2.4/debian/libgeotiff1.2.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- libgeotiff-dfsg-1.2.4.orig/debian/patches/Makefile.in.dpatch +++ libgeotiff-dfsg-1.2.4/debian/patches/Makefile.in.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## Makefile.in.dpatch by Francesco Paolo Lovergine +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad libgeotiff-1.2.4~/Makefile.in libgeotiff-1.2.4/Makefile.in +--- libgeotiff-1.2.4~/Makefile.in 2007-09-19 11:23:28.000000000 +0200 ++++ libgeotiff-1.2.4/Makefile.in 2007-09-19 11:24:01.000000000 +0200 +@@ -191,8 +191,8 @@ + $(INSTALL) libgeotiff.a $(GEOTIFF_IMP) $(DESTDIR)${libdir} + $(INSTALL) -d $(DESTDIR)$(includedir) + $(INSTALL) $(GT_INCLUDE_FILES) $(DESTDIR)$(includedir) +- $(INSTALL) -d $(DESTDIR)$(datadir) +- $(INSTALL) csv/*.csv $(DESTDIR)$(datadir) ++# $(INSTALL) -d $(DESTDIR)$(datadir) ++# $(INSTALL) csv/*.csv $(DESTDIR)$(datadir) + $(INSTALL) -d $(DESTDIR)$(bindir) + $(INSTALL) bin/listgeo$(EXEEXT) bin/geotifcp$(EXEEXT) $(DESTDIR)$(bindir) + if test ! -z "$(GEOTIFF_SO)" ; then \ --- libgeotiff-dfsg-1.2.4.orig/debian/patches/soname.dpatch +++ libgeotiff-dfsg-1.2.4/debian/patches/soname.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## soname.dpatch by Francesco Paolo Lovergine +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Add soname for this version of the library + +@DPATCH@ +diff -urNad libgeotiff-1.2.3~/Makefile.in libgeotiff-1.2.3/Makefile.in +--- libgeotiff-1.2.3~/Makefile.in 2005-08-16 17:21:20.000000000 +0200 ++++ libgeotiff-1.2.3/Makefile.in 2007-04-05 13:47:19.000000000 +0200 +@@ -38,7 +38,7 @@ + GEOTIFF_SO=@GEOTIFF_SO@ + GEOTIFF_DLL=@GEOTIFF_DLL@ + GEOTIFF_IMP=@GEOTIFF_IMP@ +-LD_SHARED=@LD_SHARED@ ++LD_SHARED=@LD_SHARED@ -soname=libgeotiff.@SO_EXT@.@VERSION_MAJOR@.@VERSION_MINOR@ + SO_EXT=@SO_EXT@ + + GT_INCLUDE_FILES = xtiffio.h geotiff.h geotiffio.h geovalues.h \ --- libgeotiff-dfsg-1.2.4.orig/debian/patches/00list +++ libgeotiff-dfsg-1.2.4/debian/patches/00list @@ -0,0 +1,2 @@ +soname +Makefile.in --- libgeotiff-dfsg-1.2.4.orig/debian/libgeotiff-dev.install +++ libgeotiff-dfsg-1.2.4/debian/libgeotiff-dev.install @@ -0,0 +1,3 @@ +usr/include/*.h usr/include/geotiff +usr/include/*.inc usr/include/geotiff +usr/lib/lib*.a --- libgeotiff-dfsg-1.2.4.orig/debian/copyright +++ libgeotiff-dfsg-1.2.4/debian/copyright @@ -0,0 +1,66 @@ +This package was debianized by Francesco Paolo Lovergine on +Wed, 4 Apr 2007 20:45:27 +0200. + +It was downloaded from http://remotesensing.org/geotiff/geotiff.html + +Upstream Author: Frank Warmerdam et al + +Copyright: Copyright (c) 1999, Frank Warmerdam + Copyright (c) 1995, Niles D. Ritter + +License: + +All the source code in this toolkit are either in the public domain, or under +an X style license. In any event it is all considered to be free to use +for any purpose (including commercial software). No credit is required +though some of the code requires that the specific source code modules +retain their existing copyright statements. The CSV files, and other tables +derived from the EPSG coordinate system database are also free to use. In +particular, no part of this code is "copyleft", nor does it imply any +requirement for users to disclose this or their own source code. + +All components not carrying their own copyright message, but distributed +with libgeotiff should be considered to be under the same license as +Niles' code. + +--------- + +Code by Frank Warmerdam has this copyright notice (directly copied from +X Consortium licence): + + * Copyright (c) 1999, Frank Warmerdam + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * 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. + +----------- + +Code by Niles Ritter is under this licence: + + * Written By: Niles D. Ritter. + * + * copyright (c) 1995 Niles D. Ritter + * + * Permission granted to use this software, so long as this copyright + * notice accompanies any products derived therefrom. + +----------- + +The Debian packaging is (C) 2007, Francesco Paolo Lovergine and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. +