Author: frankie Date: 2008-06-10 21:33:45 +0000 (Tue, 10 Jun 2008) New Revision: 1618
Added: packages/gdal-ecw/trunk/debian/ packages/gdal-ecw/trunk/debian/README.Debian packages/gdal-ecw/trunk/debian/README.source packages/gdal-ecw/trunk/debian/changelog packages/gdal-ecw/trunk/debian/compat packages/gdal-ecw/trunk/debian/control packages/gdal-ecw/trunk/debian/copyright packages/gdal-ecw/trunk/debian/dirs packages/gdal-ecw/trunk/debian/gdal-ecw-src.install.in packages/gdal-ecw/trunk/debian/rules Log: [svn-inject] Applying Debian modifications to trunk Added: packages/gdal-ecw/trunk/debian/README.Debian =================================================================== --- packages/gdal-ecw/trunk/debian/README.Debian (rev 0) +++ packages/gdal-ecw/trunk/debian/README.Debian 2008-06-10 21:33:45 UTC (rev 1618) @@ -0,0 +1,21 @@ +GDAL ECW Plugin for Debian +-------------------------- + +This is a source only package which can be used to build the non-free plugin +for GDAL in order to manage Ermapper/Leica ECW raster files. +You need to download the official SDK 3.3 from Ermapper, after having accepted +its EULA and use limitations, and build (and install) the SDK binary. + +If you installed the SDK in /opt/ecw-3.3, you will need to + + * add /opt/ecw-3.3/lib under /etc/ld.so.conf and run ldconfig as root + (or equivalently add that path LD_LIBRARY_PATH evironment variable + before using the plugin). + + * run the GDAL ECW building script /usr/bin/gdal-ecw-build provided with + this package in order to compile and install the plugin under + /usr/lib/gdal15plugins. + +After that, gdalinfo --formats should show a couple of new ECW formats +available. + Added: packages/gdal-ecw/trunk/debian/README.source =================================================================== --- packages/gdal-ecw/trunk/debian/README.source (rev 0) +++ packages/gdal-ecw/trunk/debian/README.source 2008-06-10 21:33:45 UTC (rev 1618) @@ -0,0 +1,21 @@ +Creation of the upstream tarball for GDAL-ECW plugin +---------------------------------------------------- + +You need to use a couple of patches under patches directory. The first +patch is requird in order to add plugin support for GDAL 1.5.1 and 1.5.2 +to the ECW formats. + +The second patch allows loading of both ECW and JPEG2K-ECW formats at +loading time. + +You need to apply both patches in order to upstream tree and +then run from there the following commands: + +debian/rules configure +ln -s GDALmake.opt-2.5 GDALmake.opt +make -C frmts/ecw dist +rm -f GDALmake.opt + +You will find the gdal-ecw tarball in the frmts/ecw directory. + +-- Francesco P. Lovergine <[EMAIL PROTECTED]> Added: packages/gdal-ecw/trunk/debian/changelog =================================================================== --- packages/gdal-ecw/trunk/debian/changelog (rev 0) +++ packages/gdal-ecw/trunk/debian/changelog 2008-06-10 21:33:45 UTC (rev 1618) @@ -0,0 +1,6 @@ +gdal-ecw (1.5.2-1) unstable; urgency=low + + * Initial release. + + -- Francesco Paolo Lovergine <[EMAIL PROTECTED]> Tue, 10 Jun 2008 17:43:20 +0200 + Added: packages/gdal-ecw/trunk/debian/compat =================================================================== --- packages/gdal-ecw/trunk/debian/compat (rev 0) +++ packages/gdal-ecw/trunk/debian/compat 2008-06-10 21:33:45 UTC (rev 1618) @@ -0,0 +1 @@ +5 Added: packages/gdal-ecw/trunk/debian/control =================================================================== --- packages/gdal-ecw/trunk/debian/control (rev 0) +++ packages/gdal-ecw/trunk/debian/control 2008-06-10 21:33:45 UTC (rev 1618) @@ -0,0 +1,24 @@ +Source: gdal-ecw +Section: contrib/science +Priority: extra +Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org> +Uploaders: Francesco Paolo Lovergine <[EMAIL PROTECTED]> +Build-Depends: debhelper (>>5.0.0), libgdal1-dev (>=1.5.0) +Standards-Version: 3.7.3 +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-grass/packages/gdal-ecw/trunk +Vcs-Svn: svn://svn.debian.org/svn/pkg-grass/packages/gdal-ecw/trunk +Homepage: http://www.gdal.org/ + +Package: gdal-ecw-src +Section: libs +Architecture: all +Depends: libgdal1-dev (>=1.5.0), build-essential +Recommends: gdal-bin +Description: ECW extension for the Geospatial Data Abstraction 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 ECW raster data via GDAL. + . + This is a source-only package, you need building and installing + the ECW SDK 3.3+ before building this plugin. Added: packages/gdal-ecw/trunk/debian/copyright =================================================================== --- packages/gdal-ecw/trunk/debian/copyright (rev 0) +++ packages/gdal-ecw/trunk/debian/copyright 2008-06-10 21:33:45 UTC (rev 1618) @@ -0,0 +1,31 @@ +This package was downloaded from ftp://ftp.remotesensing.org/pub/gdal/ + +The gdal-ecw tarball is created from the main gdal tarball as +stated in the included README.source. + +Debian Maintainer: Francesco P. Lovergine <[EMAIL PROTECTED]> for DebianGis. + +Upstream Maintainers: Frank Warmerdam <[EMAIL PROTECTED]> + +Copyright: + + Copyright (c) 2000, 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. + Added: packages/gdal-ecw/trunk/debian/dirs =================================================================== --- packages/gdal-ecw/trunk/debian/dirs (rev 0) +++ packages/gdal-ecw/trunk/debian/dirs 2008-06-10 21:33:45 UTC (rev 1618) @@ -0,0 +1,2 @@ +usr/src +usr/bin Added: packages/gdal-ecw/trunk/debian/gdal-ecw-src.install.in =================================================================== --- packages/gdal-ecw/trunk/debian/gdal-ecw-src.install.in (rev 0) +++ packages/gdal-ecw/trunk/debian/gdal-ecw-src.install.in 2008-06-10 21:33:45 UTC (rev 1618) @@ -0,0 +1,2 @@ +usr/src/[EMAIL PROTECTED]@.tar.gz +usr/bin/gdal-ecw-build Added: packages/gdal-ecw/trunk/debian/rules =================================================================== --- packages/gdal-ecw/trunk/debian/rules (rev 0) +++ packages/gdal-ecw/trunk/debian/rules 2008-06-10 21:33:45 UTC (rev 1618) @@ -0,0 +1,62 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +VERSION=$(shell ls gdal-ecw-*.tar.gz|cut -d- -f3|cut -d. -f1,2,3) + +untar: untar-stamp +untar-stamp: + dh_testdir + + mkdir $(CURDIR)/tmp || true + tar xzf $(CURDIR)/gdal-ecw-$(VERSION).tar.gz -C $(CURDIR)/tmp + + touch untar-stamp + +tar: untar-stamp patch-stamp + mkdir -p $(CURDIR)/debian/tmp/usr/src $(CURDIR)/debian/tmp/usr/bin + tar czf $(CURDIR)/debian/tmp/usr/src/gdal-ecw-$(VERSION).tar.gz -C $(CURDIR)/tmp gdal-ecw-$(VERSION) + sed -e 's/@VERSION@/$(VERSION)/' $(CURDIR)/debian/gdal-ecw-src.install.in >$(CURDIR)/debian/gdal-ecw-src.install + sed -e 's/@VERSION@/$(VERSION)/' $(CURDIR)/gdal-ecw-build.in >$(CURDIR)/debian/tmp/usr/bin/gdal-ecw-build + chmod a+x $(CURDIR)/debian/tmp/usr/bin/gdal-ecw-build + +clean: unpatch + dh_testdir + dh_testroot + dh_clean + rm -rf $(CURDIR)/tmp untar-stamp $(CURDIR)/debian/tmp + +patch: patch-stamp +patch-stamp: + # Applies optional patches to original sources. + touch patch-stamp + +unpatch: + # Revert optional patches. + rm -f patch-stamp + +build: + +binary-indep: tar + dh_testdir + dh_testroot + dh_install --sourcedir=$(CURDIR)/debian/tmp + rm -f $(CURDIR)/debian/gdal-ecw-src.install + dh_installdocs + dh_installchangelogs + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: +# Do nothing + +binary: binary-arch binary-indep +.PHONY: clean build binary-arch binary-indep binary install untar Property changes on: packages/gdal-ecw/trunk/debian/rules ___________________________________________________________________ Name: svn:executable + * _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel