[gdal] 04/08: Move libgdal-perl documentation to separate arch:all package.

Bas Couwenberg sebastic at debian.org
Tue Jan 30 09:24:38 UTC 2018


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository gdal.

commit 99b403d0521a799b2b1cafa447e868fa0262288f
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Jan 29 22:43:47 2018 +0100

    Move libgdal-perl documentation to separate arch:all package.
---
 debian/changelog                                   |  1 +
 debian/control                                     | 26 ++++++++++++++++++++++
 ...dal-perl.doc-base => libgdal-perl-doc.doc-base} |  4 ++--
 .../{libgdal-perl.docs => libgdal-perl-doc.docs}   |  0
 debian/rules                                       |  2 +-
 5 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 454a517..b666de0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,7 @@ gdal (2.2.3+dfsg-2) UNRELEASED; urgency=medium
   * Add upstream patch to avoid potential issue with CPL circular buffers.
   * Bump Standards-Version to 4.1.3, no changes.
   * Update symbols for powerpcspe.
+  * Move libgdal-perl documentation to separate arch:all package.
 
  -- Francesco Paolo Lovergine <frankie at debian.org>  Tue, 02 Jan 2018 12:27:12 +0100
 
diff --git a/debian/control b/debian/control
index c6d5429..994ea7e 100644
--- a/debian/control
+++ b/debian/control
@@ -292,6 +292,7 @@ Section: perl
 Depends: ${perl:Depends},
          ${shlibs:Depends},
          ${misc:Depends}
+Suggests: libgdal-perl-doc
 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
@@ -311,6 +312,31 @@ Description: Perl bindings to the Geospatial Data Abstraction Library
  .
  This package contains Perl bindings for GDAL/OGR library.
 
+Package: libgdal-perl-doc
+Architecture: all
+Depends: ${misc:Depends}
+Breaks: libgdal-perl (<< 2.2.3+dfsg-2~exp1)
+Replaces: libgdal-perl (<< 2.2.3+dfsg-2~exp1)
+Section: doc
+Description: Documentation for GDAL Perl bindings
+ 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 the documentation of the Perl bindings for
+ GDAL/OGR library.
+
 Package: libgdal-java
 Architecture: any
 Section: java
diff --git a/debian/libgdal-perl.doc-base b/debian/libgdal-perl-doc.doc-base
similarity index 58%
rename from debian/libgdal-perl.doc-base
rename to debian/libgdal-perl-doc.doc-base
index 940510a..e16f8bd 100644
--- a/debian/libgdal-perl.doc-base
+++ b/debian/libgdal-perl-doc.doc-base
@@ -4,5 +4,5 @@ Abstract: This manual describes the GDAL Perl API.
 Section: Science/Geoscience
 
 Format: HTML
-Index: /usr/share/doc/libgdal-perl/html/index.html
-Files: /usr/share/doc/libgdal-perl/html/*.html
+Index: /usr/share/doc/libgdal-perl-doc/html/index.html
+Files: /usr/share/doc/libgdal-perl-doc/html/*.html
diff --git a/debian/libgdal-perl.docs b/debian/libgdal-perl-doc.docs
similarity index 100%
rename from debian/libgdal-perl.docs
rename to debian/libgdal-perl-doc.docs
diff --git a/debian/rules b/debian/rules
index 70e16bc..9e1f9b6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -205,7 +205,7 @@ override_dh_installdocs:
 	dh_installdocs
 
 	# Remove autogenerated Doxygen files
-	rm -f $(CURDIR)/debian/*/usr/share/doc/libgdal-perl/*/*.md5
+	rm -f $(CURDIR)/debian/*/usr/share/doc/libgdal-perl-doc/*/*.md5
 
 override_dh_python2:
 	dh_python2 -X.info -ppython-gdal

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/gdal.git



More information about the Pkg-grass-devel mailing list