debian/0000755000000000000000000000000012256775540007203 5ustar debian/dirs0000644000000000000000000000001012256775540010056 0ustar usr/lib debian/control0000644000000000000000000000165212256775540010612 0ustar Source: libgdal-grass Section: science Priority: extra Maintainer: Debian GIS Project Uploaders: Francesco Paolo Lovergine Build-Depends: debhelper (>= 9), d-shlibs, libgdal-dev (>= 1.9.0), pkg-config, grass-dev (>= 6.4.0~rc5), grass (>= 6.4.0~rc5), libproj-dev Standards-Version: 3.9.5 Homepage: http://www.gdal.org/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-grass/gdal-grass.git Vcs-Git: git://anonscm.debian.org/pkg-grass/gdal-grass.git Package: libgdal1-1.10.1-grass Section: libs Architecture: any Depends: ${shlibs:Depends}, grass643, ${misc:Depends} Recommends: gdal-bin Description: GRASS extension for the GDAL library GDAL is a translator library for raster geospatial data formats. As a library, it presents a single abstract data model to the calling application for all supported formats. This extension provides access to GRASS data via GDAL. debian/rules0000755000000000000000000000464712256775540010276 0ustar #!/usr/bin/make -f # -*- makefile -*- # # Debian package by Alessandro Amici 2002-2003. # Maintained by DebianGis team since 2005. # Based on: GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PKGNAME=$(shell grep Package: debian/control.in|cut -d' ' -f2) GRASS=grass$(subst .,,$(shell pkg-config --modversion grass|cut -d. -f1,2)) GRASS_ABI=grass$(subst .,,$(shell pkg-config --modversion grass|cut -d. -f1,2,3|sed -e 's/RC/-/')) GDAL=$(shell cat VERSION|cut -d. -f1,2) # Abort if source and gdal have not the same versions. ifneq ($(shell gdal-config --version),$(shell cat VERSION)) $(error GDAL version and GDAL GRASS plugin version are not aligned. Please, upload a proper plugin source version.) endif debian/control: debian/control.in sed -e 's/@GRASS_ABI@/$(GRASS_ABI)/' $< >$@ lintian-overrides: debian/$(PKGNAME).lintian-overrides debian/$(PKGNAME).lintian-overrides: debian/lintian-overrides.in sed -e 's/@GDAL@/$(GDAL)/' -e 's/@GRASS@/$(GRASS)/' -e 's/@PKGNAME@/$(PKGNAME)/' $< >$@ config.status: debian/control lintian-overrides dh_testdir @echo "Depending on $(GRASS)" if [ `grep "$(GRASS_ABI)" debian/control|wc -l` -eq 0 ]; then \ sed -e 's/@GRASS_ABI@/$(GRASS_ABI)/' debian/control.in >debian/control; \ fi ./configure --prefix=/usr --with-grass=/usr/lib/$(GRASS) --with-autoload=/usr/lib/gdalplugins/$(GDAL) build-indep: build build-arch: build build: build-stamp build-stamp: config.status dh_testdir $(MAKE) touch build-stamp clean: dh_testdir dh_testroot [ ! -f $(CURDIR)/Makefile ] || $(MAKE) distclean dh_clean config.status install: build dh_testdir dh_testroot dh_prep dh_installdirs mkdir -p $(CURDIR)/debian/$(PKGNAME)/usr/lib/$(GDAL)/grass $(MAKE) install AUTOLOAD_DIR=$(CURDIR)/debian/$(PKGNAME)/usr/lib/gdalplugins/$(GDAL) \ GRASSTABLES_DIR=$(CURDIR)/debian/$(PKGNAME)/usr/lib/$(GDAL)/grass # removes redundant stuff already installed by grass rm -rf $(CURDIR)/debian/$(PKGNAME)/usr/lib/$(GDAL) binary-indep: build install # Do nothing binary-arch: build install dh_testdir dh_testroot dh_installdocs dh_installchangelogs dh_lintian dh_link dh_strip dh_compress dh_fixperms dh_makeshlibs dh_installdeb dh_shlibdeps -l.:/usr/lib/$(GRASS)/lib dh_gencontrol dh_md5sums dh_builddeb binary: binary-arch binary-indep .PHONY: build clean binary-arch binary-indep binary install lintian-overrides build-arch build-indep debian/watch0000644000000000000000000000010212256775540010225 0ustar version=3 http://download.osgeo.org/gdal gdal-([0-9].*)\.tar\.gz debian/README.source0000644000000000000000000000113512256775540011362 0ustar How to create an upstream tarball for the gdal-grass plugin ----------------------------------------------------------- The gdal-grass source tarball can be generated starting from the gdal debianized source as follows: apt-get source gdal dpkg-source -x gdal_*-*.dsc cd gdal-* debian/rules gdal-grass It will generate a gdal-grass upstream tarball in the directory where you unpack the Debian sources. The gdal source provides the gdal-grass stanza since 1.5.2-1, with previous versions you need to create the tarball by configuring the package and run `make dist' within the frmts/grass directory. debian/changelog0000644000000000000000000001765612256775540011074 0ustar libgdal-grass (1.10.1-1) unstable; urgency=low * New upstream release. * Policy bumped to 3.9.5, no changes. * Debhelper level set to 9. * Added standard build-* target in debian/rules. * Fixed Vcs-* field to canonical one. * Revised patch rpath to add header. -- Francesco Paolo Lovergine Tue, 24 Dec 2013 18:59:58 +0100 libgdal-grass (1.9.1-1) unstable; urgency=low * Updated to 1.9.1 Upstream release -- Jerome Villeneuve Larouche Thu, 07 Jun 2012 15:53:16 +0000 libgdal-grass (1.9.0-1) unstable; urgency=low * New upstream release. -- Jerome Villeneuve Larouche Tue, 15 May 2012 17:04:53 +0000 libgdal-grass (1.7.3-2) unstable; urgency=low * Introduced a strict build-dep on libgdal1-dev to use the new path for plugins and avoid problems in building. The same strict dependency should be present in libgdal1-1.7.0, but the -1 version never landed in testing so it is pointless. * Fixed debian/rules to use the new path for plugins. -- Francesco Paolo Lovergine Fri, 25 Feb 2011 11:55:10 +0100 libgdal-grass (1.7.3-1) unstable; urgency=low * New upstream release. * Uploaded to unstable. * Policy bumped to 3.9.1, no changes required. * Moved to source format 3.0 and quilt. * Fixed debhelper-but-no-misc-depends lintian warning. * Added a watch file taken from gdal source package. -- Francesco Paolo Lovergine Thu, 24 Feb 2011 16:38:10 +0100 libgdal-grass (1.7.2-1) experimental; urgency=low * New upstream release. * Removed now obsolete path.dpatch patch. -- Francesco Paolo Lovergine Wed, 12 May 2010 11:21:42 +0200 libgdal-grass (1.6.3-3) unstable; urgency=low * Previous change for regenerating from template was not effective. -- Francesco Paolo Lovergine Tue, 23 Mar 2010 22:07:25 +0100 libgdal-grass (1.6.3-2) unstable; urgency=low * Now forces regenerating from templates at clean time. That shall allow binNMUs whenever Grass versions changes. * Policy bumped to 3.8.4 without changes. -- Francesco Paolo Lovergine Fri, 12 Mar 2010 09:41:50 +0100 libgdal-grass (1.6.3-1) unstable; urgency=low * New upstream release. * Added a lintian override due to use of an explicit rpath. It uses a new template. -- Francesco Paolo Lovergine Wed, 23 Dec 2009 13:04:06 +0100 libgdal-grass (1.6.2-3) unstable; urgency=low * Rebuilt to be in sync with current grass snapshot. * Modified debian/rules to auto-resync with grass at build time, that should allow binNMUs when Grass version changes. -- Francesco Paolo Lovergine Mon, 12 Oct 2009 14:19:03 +0200 libgdal-grass (1.6.2-2) unstable; urgency=low * Now strictly depends on the full grass ABI version. This is useful because it can change even in release candidates and minor versions. So, better being defensive to avoid unnoticed breakages. * Depends on gdal >= 1.6.2 to be nice with backports. -- Francesco Paolo Lovergine Fri, 18 Sep 2009 17:06:53 +0200 libgdal-grass (1.6.2-1) unstable; urgency=low * Now it fails if current gdal-dev is misaligned with source version. This at least allows failing with FTBS instead of creating invalid packages when a binNMU is issued while GDAL is transitioning to a new major version. (closes: #544978) * Now depends at least on incoming 1.6.2-1 gdal-dev version that provides a suitable support patch for the previous trick. -- Francesco Paolo Lovergine Tue, 08 Sep 2009 14:58:47 +0200 libgdal-grass (1.6.0-3) unstable; urgency=low * Uploading to unstable to complete migration to 1.6 series in main. * Policy bumped to 3.8.3, without changes. -- Francesco Paolo Lovergine Wed, 02 Sep 2009 14:34:13 +0200 libgdal-grass (1.6.0-2) experimental; urgency=low * Introduced automagically dependency on the grass version used for building. IA t prevents breakages at major upgrading times. Note that debian/control should be generated at run-time. * Fixed typo in build-dep. (closes: #518767) * Policy bumped to 3.8.1 * Minor changes to descriptions. * Added build-dep on libproj-dev. -- Francesco Paolo Lovergine Sat, 09 May 2009 20:03:55 +0200 libgdal-grass (1.6.0-1) experimental; urgency=low * New upstream release * Merged rpath.dpatch from 1.5 branch. * Parameterized debian/rules with respect to gdal and grass versions. -- Francesco Paolo Lovergine Tue, 03 Mar 2009 18:06:02 +0100 libgdal-grass (1.5.4-1) unstable; urgency=low * New upstream release. * Debhelper level moved to 7. Now using dh_prep. * Minimal grass version is now 6.4.0~rc3 due to changed paths. * Added homepage field in debian/control. -- Francesco Paolo Lovergine Mon, 23 Feb 2009 15:13:23 +0100 libgdal-grass (1.5.2-1) unstable; urgency=low * New upstream release. * Added a debian/README.source file to explain how to generate an upstream tarball from the GDAL debinized source. * Policy bumped to 3.8.0. * Build-dep on compatible version of libgdal1-dev. -- Francesco Paolo Lovergine Tue, 10 Jun 2008 16:23:40 +0200 libgdal-grass (1.5.1-1) unstable; urgency=low * New upstream release. * Added Vcs-* fields to debian/control * Policy bumped to 3.7.3 * [Lintian] Do a make distclean on clean only when Makefile exists. * Do not install files already installed by grass. * Now using /usr/lib/gdal15plugins for shared libs. * Added dpatch support. * Added patch path.dpatch to fix embedded Grass GISBASE path. * Fixed targets in debian/rules. * Added grass libs path to dh_shlibs call in debian/rules. * Fixed debian/copyright adding Radim as main contributor, thanks Joerg. -- Francesco Paolo Lovergine Thu, 03 Apr 2008 20:47:37 +0200 libgdal-grass (1.4.4-1) unstable; urgency=low * New upstream version. -- Francesco Paolo Lovergine Wed, 05 Dec 2007 10:29:18 +0100 libgdal-grass (1.4.3-1) unstable; urgency=low * New upstream version. -- Francesco Paolo Lovergine Fri, 16 Nov 2007 11:34:08 +0100 libgdal-grass (1.4.1-1) unstable; urgency=low * New upstream version. * Removed too strict build-dependency from gdal (useful for backports). -- Francesco Paolo Lovergine Tue, 17 Apr 2007 11:56:26 +0200 libgdal-grass (1.4.0-2) unstable; urgency=low * Releasing in unstable -- Francesco Paolo Lovergine Tue, 10 Apr 2007 14:01:43 +0200 libgdal-grass (1.4.0-1) experimental; urgency=low * New upstream release. * Added a binary-indep target to debian/rules (closes: #395706) * Versioned debhelper for version 5. * Uploaders list updated. -- Francesco Paolo Lovergine Mon, 12 Mar 2007 14:55:47 +0100 libgdal-grass (1.3.2-1) unstable; urgency=low * New upstream release. * Policy bumped to 3.7.2. * Updated version dependecies for grass. * Rules file revised to manage a now missing DESTDIR proper use in autoconfiscated Makefile :-/ * Moved to compatibility level 5 for debhelper and using compat file. -- Francesco Paolo Lovergine Wed, 23 Aug 2006 15:58:46 +0200 libgdal-grass (1.3.1-1) unstable; urgency=high * New upstream release, syncing with libgdal1-1.3.1. Package name changed as consequence. (closes: #348865) * Added me among Uploaders. * Policy bumped to 3.6.2 (no changes) * Changed a bit Makefile.in and reconfingured in place in order to honor DESTDIR. * It needs grass build-dep in order to have available the grass etc dir. -- Francesco Paolo Lovergine Wed, 1 Feb 2006 22:57:38 +0100 libgdal-grass (1.2.6-1) unstable; urgency=low * Initial release (Closes: #248832) -- Steve Halasz Mon, 13 Jun 2005 13:00:27 -0400 debian/compat0000644000000000000000000000000212256775540010401 0ustar 9 debian/control.in0000644000000000000000000000165512256775540011222 0ustar Source: libgdal-grass Section: science Priority: extra Maintainer: Debian GIS Project Uploaders: Francesco Paolo Lovergine Build-Depends: debhelper (>= 9), d-shlibs, libgdal-dev (>= 1.9.0), pkg-config, grass-dev (>= 6.4.0~rc5), grass (>= 6.4.0~rc5), libproj-dev Standards-Version: 3.9.5 Homepage: http://www.gdal.org/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-grass/gdal-grass.git Vcs-Git: git://anonscm.debian.org/pkg-grass/gdal-grass.git Package: libgdal1-1.10.1-grass Section: libs Architecture: any Depends: ${shlibs:Depends}, @GRASS_ABI@, ${misc:Depends} Recommends: gdal-bin Description: GRASS extension for the GDAL library GDAL is a translator library for raster geospatial data formats. As a library, it presents a single abstract data model to the calling application for all supported formats. This extension provides access to GRASS data via GDAL. debian/source/0000755000000000000000000000000012256775540010503 5ustar debian/source/format0000644000000000000000000000001412256775540011711 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012256775540010632 5ustar debian/patches/rpath0000644000000000000000000000166412256775540011702 0ustar From: Francesco Paolo Lovergine Subject: Add rpath in solib to allow using the internal path of grass stuff. Forwarded: not-needed Last-Update: 2013-12-24 Index: gdal-grass/Makefile.in =================================================================== --- gdal-grass.orig/Makefile.in 2011-02-24 15:15:21.000000000 +0100 +++ gdal-grass/Makefile.in 2011-02-24 16:25:47.000000000 +0100 @@ -42,10 +42,10 @@ $(GLIBNAME): grass57dataset.o - $(LD_SHARED) grass57dataset.o $(LIBS) -o $(GLIBNAME) + $(LD_SHARED) grass57dataset.o $(LIBS) -o $(GLIBNAME) -Wl,-rpath,/usr/lib/grass64/lib $(OLIBNAME): ogrgrassdriver.o ogrgrassdatasource.o ogrgrasslayer.o - $(LD_SHARED) ogrgrassdriver.o ogrgrassdatasource.o ogrgrasslayer.o $(LIBS) -o $(OLIBNAME) + $(LD_SHARED) ogrgrassdriver.o ogrgrassdatasource.o ogrgrasslayer.o $(LIBS) -o $(OLIBNAME) -Wl,-rpath,/usr/lib/grass64/lib %.o: %.cpp $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $< debian/patches/series0000644000000000000000000000000712256775540012044 0ustar rpath debian/copyright0000644000000000000000000000263312256775540011142 0ustar This package was downloaded from ftp://ftp.remotesensing.org/pub/gdal/ The gdal-grass tarball is created from the main gdal tarball by doing: cd gdal-$(VERSION) ./configure cd frmts/grass make dist Upstream Maintainers: Frank Warmerdam Radim Blazek Copyright: Copyright (c) 2000, Frank Warmerdam Copyright (c) 2005, Radim Blazek 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. debian/libgdal1-1.10.1-grass.lintian-overrides0000644000000000000000000000043512256775540016075 0ustar # The run path has been added to get Grass internal library libgdal1-1.10.1-grass: binary-or-shlib-defines-rpath usr/lib/gdalplugins/1.10/gdal_GRASS.so /usr/lib/grass64/lib libgdal1-1.10.1-grass: binary-or-shlib-defines-rpath usr/lib/gdalplugins/1.10/ogr_GRASS.so /usr/lib/grass64/lib debian/lintian-overrides.in0000644000000000000000000000041112256775540013165 0ustar # The run path has been added to get Grass internal library @PKGNAME@: binary-or-shlib-defines-rpath usr/lib/gdalplugins/@GDAL@/gdal_GRASS.so /usr/lib/@GRASS@/lib @PKGNAME@: binary-or-shlib-defines-rpath usr/lib/gdalplugins/@GDAL@/ogr_GRASS.so /usr/lib/@GRASS@/lib