[svn-inject] Applying Debian modifications to trunk
Francesco Paolo Lovergine
16 years ago
0 | libgeotiff for Debian | |
1 | --------------------- | |
2 | ||
3 | ** IMPORTANT ** IMPORTANT ** IMPORTANT ** IMPORTANT ** | |
4 | ||
5 | This version of the GeoTIFF library lacks the EPSG data files which are distributed | |
6 | in a separate non-free package libgeotiff-epsg due to license limitations. | |
7 | The library is anyway working and usable also without those files. If you need | |
8 | to have reference information for standard projections, you have to install | |
9 | that additional package. | |
10 | ||
11 | -- Francesco Paolo Lovergine <frankie@debian.org> Wed, 19 Sep 2007 10:51:31 +0200 | |
12 |
0 | libgeotiff-dfsg (1.2.4-1) UNRELEASED; urgency=low | |
1 | ||
2 | * Initial release (closes: #418184) | |
3 | ||
4 | -- Francesco Paolo Lovergine <frankie@debian.org> Wed, 4 Apr 2007 20:45:27 +0200 | |
5 |
0 | 5 |
0 | Source: libgeotiff-dfsg | |
1 | Priority: extra | |
2 | Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org> | |
3 | Uploaders: Francesco Paolo Lovergine <frankie@debian.org> | |
4 | Build-Depends: debhelper (>= 5), autotools-dev, proj, zlib1g-dev, libjpeg62-dev, libtiff4-dev, dpatch | |
5 | Standards-Version: 3.7.2 | |
6 | Section: science | |
7 | ||
8 | Package: libgeotiff-dev | |
9 | Section: libdevel | |
10 | Architecture: any | |
11 | Depends: libgeotiff1.2 (= ${Source-Version}) | |
12 | Suggests: libgeotiff-epsg | |
13 | Description: the GeoTIFF library -- development files | |
14 | This C library supports TIFF 6.0 based interchange format for georeferenced | |
15 | raster imagery. The GeoTIFF standard has been developed for reading, and writing | |
16 | geographic meta-information tags on top of TIFF raster. | |
17 | . | |
18 | Home page: http://geotiff.maptools.org/ | |
19 | . | |
20 | This package contains stuff to be used to develop programs based | |
21 | on the GeoTIFF library. | |
22 | ||
23 | Package: libgeotiff1.2 | |
24 | Section: libs | |
25 | Architecture: any | |
26 | Suggests: geotiff-bin, gdal-bin, libgeotiff-epsg | |
27 | Depends: ${shlibs:Depends}, ${misc:Depends} | |
28 | Description: the GeoTIFF library -- run-time files | |
29 | This C library supports TIFF 6.0 based interchange format for georeferenced | |
30 | raster imagery. The GeoTIFF standard has been developed for reading, and writing | |
31 | geographic meta-information tags on top of TIFF raster. | |
32 | . | |
33 | Home page: http://geotiff.maptools.org/ | |
34 | . | |
35 | This package contains the shared library only. | |
36 | ||
37 | Package: geotiff-bin | |
38 | Section: science | |
39 | Architecture: any | |
40 | Depends: ${shlibs:Depends}, ${misc:Depends} | |
41 | Suggests: gdal-bin, libgeotiff-epsg | |
42 | Description: the GeoTIFF library -- tools | |
43 | This C library supports TIFF 6.0 based interchange format for georeferenced | |
44 | raster imagery. The GeoTIFF standard has been developed for reading, and writing | |
45 | geographic meta-information tags on top of TIFF raster. | |
46 | . | |
47 | The GeoTIFF library comes with two utility programs here included: | |
48 | . | |
49 | listgeo - dumps the metadata of a GeoTIFF file. | |
50 | geotifcp - applies metadata to a TIFF file, making it a GeoTIFF file. | |
51 | . | |
52 | Home page: http://geotiff.maptools.org/ |
0 | This package was debianized by Francesco Paolo Lovergine <frankie@debian.org> on | |
1 | Wed, 4 Apr 2007 20:45:27 +0200. | |
2 | ||
3 | It was downloaded from http://remotesensing.org/geotiff/geotiff.html | |
4 | ||
5 | Upstream Author: Frank Warmerdam et al <warmerdam@pobox.com> | |
6 | ||
7 | Copyright: Copyright (c) 1999, Frank Warmerdam | |
8 | Copyright (c) 1995, Niles D. Ritter | |
9 | ||
10 | License: | |
11 | ||
12 | All the source code in this toolkit are either in the public domain, or under | |
13 | an X style license. In any event it is all considered to be free to use | |
14 | for any purpose (including commercial software). No credit is required | |
15 | though some of the code requires that the specific source code modules | |
16 | retain their existing copyright statements. The CSV files, and other tables | |
17 | derived from the EPSG coordinate system database are also free to use. In | |
18 | particular, no part of this code is "copyleft", nor does it imply any | |
19 | requirement for users to disclose this or their own source code. | |
20 | ||
21 | All components not carrying their own copyright message, but distributed | |
22 | with libgeotiff should be considered to be under the same license as | |
23 | Niles' code. | |
24 | ||
25 | --------- | |
26 | ||
27 | Code by Frank Warmerdam has this copyright notice (directly copied from | |
28 | X Consortium licence): | |
29 | ||
30 | * Copyright (c) 1999, Frank Warmerdam | |
31 | * | |
32 | * Permission is hereby granted, free of charge, to any person obtaining a | |
33 | * copy of this software and associated documentation files (the "Software"), | |
34 | * to deal in the Software without restriction, including without limitation | |
35 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
36 | * and/or sell copies of the Software, and to permit persons to whom the | |
37 | * Software is furnished to do so, subject to the following conditions: | |
38 | * | |
39 | * The above copyright notice and this permission notice shall be included | |
40 | * in all copies or substantial portions of the Software. | |
41 | * | |
42 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |
43 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
44 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
45 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
46 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
47 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
48 | * DEALINGS IN THE SOFTWARE. | |
49 | ||
50 | ----------- | |
51 | ||
52 | Code by Niles Ritter is under this licence: | |
53 | ||
54 | * Written By: Niles D. Ritter. | |
55 | * | |
56 | * copyright (c) 1995 Niles D. Ritter | |
57 | * | |
58 | * Permission granted to use this software, so long as this copyright | |
59 | * notice accompanies any products derived therefrom. | |
60 | ||
61 | ----------- | |
62 | ||
63 | The Debian packaging is (C) 2007, Francesco Paolo Lovergine <frankie@debian.org> and | |
64 | is licensed under the GPL, see `/usr/share/common-licenses/GPL'. | |
65 |
0 | usr/bin |
0 | usr/bin/* |
0 | usr/lib/lib*.so.* |
0 | #! /bin/sh /usr/share/dpatch/dpatch-run | |
1 | ## Makefile.in.dpatch by Francesco Paolo Lovergine <frankie@debian.org> | |
2 | ## | |
3 | ## All lines beginning with `## DP:' are a description of the patch. | |
4 | ## DP: No description. | |
5 | ||
6 | @DPATCH@ | |
7 | diff -urNad libgeotiff-1.2.4~/Makefile.in libgeotiff-1.2.4/Makefile.in | |
8 | --- libgeotiff-1.2.4~/Makefile.in 2007-09-19 11:23:28.000000000 +0200 | |
9 | +++ libgeotiff-1.2.4/Makefile.in 2007-09-19 11:24:01.000000000 +0200 | |
10 | @@ -191,8 +191,8 @@ | |
11 | $(INSTALL) libgeotiff.a $(GEOTIFF_IMP) $(DESTDIR)${libdir} | |
12 | $(INSTALL) -d $(DESTDIR)$(includedir) | |
13 | $(INSTALL) $(GT_INCLUDE_FILES) $(DESTDIR)$(includedir) | |
14 | - $(INSTALL) -d $(DESTDIR)$(datadir) | |
15 | - $(INSTALL) csv/*.csv $(DESTDIR)$(datadir) | |
16 | +# $(INSTALL) -d $(DESTDIR)$(datadir) | |
17 | +# $(INSTALL) csv/*.csv $(DESTDIR)$(datadir) | |
18 | $(INSTALL) -d $(DESTDIR)$(bindir) | |
19 | $(INSTALL) bin/listgeo$(EXEEXT) bin/geotifcp$(EXEEXT) $(DESTDIR)$(bindir) | |
20 | if test ! -z "$(GEOTIFF_SO)" ; then \ |
0 | #! /bin/sh /usr/share/dpatch/dpatch-run | |
1 | ## soname.dpatch by Francesco Paolo Lovergine <frankie@debian.org> | |
2 | ## | |
3 | ## All lines beginning with `## DP:' are a description of the patch. | |
4 | ## DP: Add soname for this version of the library | |
5 | ||
6 | @DPATCH@ | |
7 | diff -urNad libgeotiff-1.2.3~/Makefile.in libgeotiff-1.2.3/Makefile.in | |
8 | --- libgeotiff-1.2.3~/Makefile.in 2005-08-16 17:21:20.000000000 +0200 | |
9 | +++ libgeotiff-1.2.3/Makefile.in 2007-04-05 13:47:19.000000000 +0200 | |
10 | @@ -38,7 +38,7 @@ | |
11 | GEOTIFF_SO=@GEOTIFF_SO@ | |
12 | GEOTIFF_DLL=@GEOTIFF_DLL@ | |
13 | GEOTIFF_IMP=@GEOTIFF_IMP@ | |
14 | -LD_SHARED=@LD_SHARED@ | |
15 | +LD_SHARED=@LD_SHARED@ -soname=libgeotiff.@SO_EXT@.@VERSION_MAJOR@.@VERSION_MINOR@ | |
16 | SO_EXT=@SO_EXT@ | |
17 | ||
18 | GT_INCLUDE_FILES = xtiffio.h geotiff.h geotiffio.h geovalues.h \ |
0 | #!/usr/bin/make -f | |
1 | # -*- makefile -*- | |
2 | ||
3 | # Uncomment this to turn on verbose mode. | |
4 | #export DH_VERBOSE=1 | |
5 | ||
6 | include /usr/share/dpatch/dpatch.make | |
7 | ||
8 | # These are used for cross-compiling and for saving the configure script | |
9 | # from having to guess our platform (since we know it already) | |
10 | DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) | |
11 | DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) | |
12 | ||
13 | ||
14 | CFLAGS = -Wall -g | |
15 | ||
16 | ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) | |
17 | CFLAGS += -O0 | |
18 | else | |
19 | CFLAGS += -O2 | |
20 | endif | |
21 | ||
22 | # shared library versions, option 1 | |
23 | version=1.2.4 | |
24 | major=1.2 | |
25 | ||
26 | config.status: patch-stamp | |
27 | dh_testdir | |
28 | # Add here commands to configure the package. | |
29 | CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ | |
30 | --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info | |
31 | ||
32 | build: build-stamp | |
33 | build-stamp: config.status | |
34 | ||
35 | dh_testdir | |
36 | ||
37 | # Add here commands to compile the package. | |
38 | $(MAKE) | |
39 | ||
40 | touch $@ | |
41 | ||
42 | clean: true-clean unpatch | |
43 | true-clean: | |
44 | dh_testdir | |
45 | dh_testroot | |
46 | rm -f build-stamp | |
47 | ||
48 | # Add here commands to clean up after the build process. | |
49 | -$(MAKE) dist-clean | |
50 | ifneq "$(wildcard /usr/share/misc/config.sub)" "" | |
51 | cp -f /usr/share/misc/config.sub config.sub | |
52 | endif | |
53 | ifneq "$(wildcard /usr/share/misc/config.guess)" "" | |
54 | cp -f /usr/share/misc/config.guess config.guess | |
55 | endif | |
56 | rm -f config.status | |
57 | rm -f libgeotiff.* xtiffio.h newgeo.tif | |
58 | ||
59 | dh_clean | |
60 | ||
61 | install: build | |
62 | dh_testdir | |
63 | dh_testroot | |
64 | dh_clean -k | |
65 | dh_installdirs | |
66 | ||
67 | # Add here commands to install the package into debian/tmp | |
68 | $(MAKE) prefix=$(CURDIR)/debian/tmp/usr install | |
69 | ||
70 | ||
71 | # Build architecture-independent files here. | |
72 | binary-indep: build install | |
73 | # We have nothing to do by default. | |
74 | ||
75 | # Build architecture-dependent files here. | |
76 | binary-arch: build install | |
77 | dh_testdir | |
78 | dh_testroot | |
79 | dh_installchangelogs ChangeLog | |
80 | dh_installdocs | |
81 | dh_installexamples | |
82 | dh_install --sourcedir=$(CURDIR)/debian/tmp | |
83 | dh_link | |
84 | dh_strip | |
85 | dh_compress | |
86 | dh_fixperms | |
87 | dh_makeshlibs | |
88 | dh_installdeb | |
89 | dh_shlibdeps | |
90 | dh_gencontrol | |
91 | dh_md5sums | |
92 | dh_builddeb | |
93 | ||
94 | binary: binary-indep binary-arch | |
95 | .PHONY: build clean binary-indep binary-arch binary install patch unpatch true-clean |