[DebianGIS-dev] r1167 - packages/gdal/trunk/debian

frankie at alioth.debian.org frankie at alioth.debian.org
Fri Oct 5 11:29:01 UTC 2007


Author: frankie
Date: 2007-10-05 11:29:01 +0000 (Fri, 05 Oct 2007)
New Revision: 1167

Added:
   packages/gdal/trunk/debian/libgdal-perl.files
   packages/gdal/trunk/debian/libgdal-ruby1.8.files
Modified:
   packages/gdal/trunk/debian/changelog
   packages/gdal/trunk/debian/control
   packages/gdal/trunk/debian/gdal-bin.files
   packages/gdal/trunk/debian/python-gdal.files
   packages/gdal/trunk/debian/rules
Log:
Adding perl/ruby binding mainly


Modified: packages/gdal/trunk/debian/changelog
===================================================================
--- packages/gdal/trunk/debian/changelog	2007-10-04 21:34:24 UTC (rev 1166)
+++ packages/gdal/trunk/debian/changelog	2007-10-05 11:29:01 UTC (rev 1167)
@@ -4,9 +4,14 @@
   * Switch to new Homepage field
 
   [ Francesco Paolo Lovergine ]
-  * Migrated obsolete ${Source-Version} to ${binary:Version} in debian/control 
+  * Migrated obsolete ${Source-Version} to ${binary:Version} in debian/control
+  * Added perl and ruby binding and a couple of new binary packages for that.
+    At current time both php and java bindings are unmaintained, so skipped.
+    (closes: #393167)
+  * Build-deps updated.
+  * Missing gdal_rasterize binary and python tools added to gdal-bin.files
 
- -- Francesco Paolo Lovergine <frankie at debian.org>  Tue, 02 Oct 2007 00:00:02 +0200
+ -- Francesco Paolo Lovergine <frankie at debian.org>  Thu, 04 Oct 2007 15:23:58 +0200
 
 gdal (1.4.2-1) unstable; urgency=low
 

Modified: packages/gdal/trunk/debian/control
===================================================================
--- packages/gdal/trunk/debian/control	2007-10-04 21:34:24 UTC (rev 1166)
+++ packages/gdal/trunk/debian/control	2007-10-05 11:29:01 UTC (rev 1167)
@@ -7,7 +7,8 @@
  libtiff4-dev, libjasper-dev|libjasper-1.701-dev, libpng12-dev, libjpeg62-dev, libungif4-dev,
  libhdf4g-dev, libhdf5-serial-dev, libpq-dev, libxerces27-dev, unixodbc-dev (>=2.2.11), 
  python-dev, python-numeric, doxygen, d-shlibs, libgeos-dev, dpatch, libmysqlclient15-dev, python-all-dev (>= 2.3.5-11), 
- python-central (>=0.5), libcurl4-dev|libcurl-dev, libsqlite3-dev, libogdi3.2-dev
+ python-central (>=0.5), libcurl4-dev|libcurl-dev, libsqlite3-dev, libogdi3.2-dev,
+ ruby, ruby1.8-dev
 Standards-Version: 3.7.2
 XS-Python-Version: all
 Homepage: http://www.gdal.org/
@@ -124,6 +125,7 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${python:Depends}, python-numeric
 Provides: ${python:Provides}
+Homepage: http://trac.osgeo.org/gdal/wiki/GdalOgrInPython
 XB-Python-Version: ${python:Versions}
 Description: Python bindings to the Geospatial Data Abstraction Library
  GDAL is a translator library for raster geospatial data formats.
@@ -143,3 +145,58 @@
  TIGER data, S57, MapInfo File, DGN, GML and more.
  .
  This package contains Python bindings for GDAL/OGR library.
+
+Package: libgdal-perl
+Section: perl
+Architecture: any
+Depends: ${shlibs:Depends}, ${perl:Depends}
+Homepage: http://map.hut.fi/doc/Geo-GDAL/html/
+Description: Perl bindings to 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. The related OGR
+ library (which lives within the GDAL source tree) provides
+ a similar capability for simple features vector data.
+ .
+ GDAL supports 40+ popular data formats, including commonly used
+ ones (GeoTIFF, JPEG, PNG and more) as well as the ones used in
+ GIS and remote sensing software packages (ERDAS Imagine,
+ ESRI Arc/Info, ENVI, PCI Geomatics). Also supported many remote
+ sensing and scientific data distribution formats such as HDF,
+ EOS FAST, NOAA L1B, NetCDF, FITS.
+ .
+ OGR library supports popular vector formats like ESRI Shapefile,
+ TIGER data, S57, MapInfo File, DGN, GML and more.
+ .
+ This package contains Perl bindings for GDAL/OGR library.
+
+Package: libgdal-ruby1.8
+Section: interpreters
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Ruby 1.8 bindings to 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. The related OGR
+ library (which lives within the GDAL source tree) provides
+ a similar capability for simple features vector data.
+ .
+ GDAL supports 40+ popular data formats, including commonly used
+ ones (GeoTIFF, JPEG, PNG and more) as well as the ones used in
+ GIS and remote sensing software packages (ERDAS Imagine,
+ ESRI Arc/Info, ENVI, PCI Geomatics). Also supported many remote
+ sensing and scientific data distribution formats such as HDF,
+ EOS FAST, NOAA L1B, NetCDF, FITS.
+ .
+ OGR library supports popular vector formats like ESRI Shapefile,
+ TIGER data, S57, MapInfo File, DGN, GML and more.
+ .
+ This package contains ruby 1.8 bindings for GDAL/OGR library.
+
+Package: libgdal-ruby
+Section: interpreters
+Architecture: any
+Depends: libgdal-ruby1.8
+Description: Ruby bindings to the Geospatial Data Abstraction Library
+ This is a dummy package which depends on current ruby version
+ to support GDAL/OGR library binding upgrades.

Modified: packages/gdal/trunk/debian/gdal-bin.files
===================================================================
--- packages/gdal/trunk/debian/gdal-bin.files	2007-10-04 21:34:24 UTC (rev 1166)
+++ packages/gdal/trunk/debian/gdal-bin.files	2007-10-05 11:29:01 UTC (rev 1167)
@@ -1,4 +1,5 @@
 usr/bin/gdal_translate
+usr/bin/gdal_rasterize
 usr/bin/gdalinfo
 usr/bin/gdaladdo
 usr/bin/gdalwarp

Added: packages/gdal/trunk/debian/libgdal-perl.files
===================================================================
--- packages/gdal/trunk/debian/libgdal-perl.files	                        (rev 0)
+++ packages/gdal/trunk/debian/libgdal-perl.files	2007-10-05 11:29:01 UTC (rev 1167)
@@ -0,0 +1 @@
+usr/lib/perl5

Added: packages/gdal/trunk/debian/libgdal-ruby1.8.files
===================================================================
--- packages/gdal/trunk/debian/libgdal-ruby1.8.files	                        (rev 0)
+++ packages/gdal/trunk/debian/libgdal-ruby1.8.files	2007-10-05 11:29:01 UTC (rev 1167)
@@ -0,0 +1 @@
+usr/lib/ruby/*

Modified: packages/gdal/trunk/debian/python-gdal.files
===================================================================
--- packages/gdal/trunk/debian/python-gdal.files	2007-10-04 21:34:24 UTC (rev 1166)
+++ packages/gdal/trunk/debian/python-gdal.files	2007-10-05 11:29:01 UTC (rev 1167)
@@ -1,5 +1,4 @@
 usr/lib/python*
-usr/bin/gdal_merge.py
-usr/bin/pct2rgb.py
+usr/bin/*.py
 usr/share/man/man1/gdal_merge.1
 usr/share/man/man1/pct2rgb.1

Modified: packages/gdal/trunk/debian/rules
===================================================================
--- packages/gdal/trunk/debian/rules	2007-10-04 21:34:24 UTC (rev 1166)
+++ packages/gdal/trunk/debian/rules	2007-10-05 11:29:01 UTC (rev 1167)
@@ -12,6 +12,8 @@
 
 PYVERS=$(shell pyversions -v -r debian/control)
 PYDEF=$(shell pyversions -dv)
+RUBYDEF=$(shell ruby --version|cut -d' ' -f2|cut -d. -f1,2)
+PERLDEF=$(shell perl -V:version|cut -d\' -f2)
 
 configure: configure-stamp
 configure-stamp: patch-stamp
@@ -33,6 +35,8 @@
 			--with-pg \
 			--with-ogdi \
 			--with-mysql \
+			--with-perl \
+			--with-ruby \
 			--with-cfitsio=no; \
 		mv GDALmake.opt GDALmake.opt-$$V; \
 	done
@@ -90,6 +94,13 @@
 	$(MAKE) install-docs DESTDIR=$(CURDIR)/debian/tmp \
 		"INST_DOCS=\$$(prefix)/share/doc/libgdal-doc"\
 		"INST_MAN=\$$(prefix)/share/man"
+	
+	# moves ruby/perl stuff the right dirs
+	install -o root -g root -d $(CURDIR)/debian/tmp/usr/lib/perl5/auto
+	install -o root -g root -d $(CURDIR)/debian/tmp/usr/lib/ruby/$(RUBYDEF)
+	mv $(CURDIR)/debian/tmp/usr/local/lib/perl/$(PERLDEF)/auto/* $(CURDIR)/debian/tmp/usr/lib/perl5/auto/.
+	mv $(CURDIR)/debian/tmp/usr/local/lib/perl/$(PERLDEF)/Geo $(CURDIR)/debian/tmp/usr/lib/perl5/.
+	mv $(CURDIR)/debian/tmp/usr/local/lib/site_ruby/$(RUBYDEF)/* $(CURDIR)/debian/tmp/usr/lib/ruby/$(RUBYDEF)/.
 
 binary-common: 
 	dh_testdir




More information about the Pkg-grass-devel mailing list