[pktools] 07/19: Split binaries and libraries into separate packages.

Bas Couwenberg sebastic at xs4all.nl
Fri Nov 14 22:43:02 UTC 2014


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

sebastic-guest pushed a commit to branch master
in repository pktools.

commit 0638d17b0e91e27662a907d4f553f165be587949
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Nov 8 21:04:25 2014 +0100

    Split binaries and libraries into separate packages.
---
 debian/changelog                |   1 +
 debian/control                  | 133 +++++++++++++++++++++++++++++++++++++---
 debian/libalgorithms1.install   |   1 +
 debian/libbase1.install         |   1 +
 debian/libfileclasses1.install  |   1 +
 debian/libimageclasses1.install |   1 +
 debian/liblasclasses1.install   |   1 +
 debian/pktools-dev.install      |   6 +-
 debian/pktools.install          |  44 +------------
 9 files changed, 134 insertions(+), 55 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 274c268..2a120a6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ pktools (2.5.4-1) UNRELEASED; urgency=medium
   * Add myself to Uploaders.
   * Drop fann-va_list.patch, applied upstream.
   * Update copyright file, add autotools files.
+  * Split binaries and libraries into separate packages.
 
  -- Bas Couwenberg <sebastic at xs4all.nl>  Sat, 08 Nov 2014 19:57:34 +0100
 
diff --git a/debian/control b/debian/control
index b6fdcb1..be50478 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Priority: optional
 Build-Depends: debhelper (>= 9),
                dh-autoreconf,
                autotools-dev,
-               libgdal-dev (>=1.10.0-0~),
+               libgdal-dev (>= 1.10.0-0~),
                libgsl0-dev,
                libboost-dev,
                libarmadillo-dev,
@@ -41,18 +41,22 @@ Description: GDAL add-on tools to perform useful raster processing
 Package: pktools-dev
 Architecture: any
 Section: libdevel
-Depends: pktools (= ${binary:Version}),
+Depends: libalgorithms1 (= ${binary:Version}),
+         libbase1 (= ${binary:Version}),
+         libfileclasses1 (= ${binary:Version}),
+         libimageclasses1 (= ${binary:Version}),
+         liblasclasses1 (= ${binary:Version}),
          ${misc:Depends},
          libgdal-dev,
          libarmadillo-dev,
          liblas-c-dev,
          libgsl0-dev
 Description: GDAL add-on tools to perform useful raster processing - development files
- A collection of programs to perform operations, mostly on raster images. 
- It heavily relies on the Geospatial Data Abstraction Library (GDAL) and OGR. 
- The programs are similar to the GDAL tools (gdalinfo, gdal_translate, 
- gdal_merge,...) and some of the functionalities provided in pktools 
- already exist in the GDAL tools. 
+ Pktools is a collection of programs to perform operations, mostly on 
+ raster geolocated  images. It  heavily relies  on the  Geospatial Data 
+ Abstraction Library (GDAL) and OGR.  The programs are similar to the 
+ GDAL tools (gdalinfo, gdal_translate,  gdal_merge, ...) and some of the 
+ functionalities provided in pktools already exist in the GDAL tools. 
  .
  All utilities in pktools use command line options and have a built 
  in help, and include more than thirty binaries to edit, change, crop,
@@ -63,3 +67,118 @@ Description: GDAL add-on tools to perform useful raster processing - development
  This package contains the files needed to develop a software that
  uses the pktools libraries.
 
+Package: libalgorithms1
+Architecture: any
+Section: libs
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Breaks: pktools (<< 2.5.4)
+Replaces: pktools (<< 2.5.4)
+Description: GDAL add-on tools to perform useful raster processing - libalgorithms
+ Pktools is a collection of programs to perform operations, mostly on 
+ raster geolocated  images. It  heavily relies  on the  Geospatial Data 
+ Abstraction Library (GDAL) and OGR.  The programs are similar to the 
+ GDAL tools (gdalinfo, gdal_translate,  gdal_merge, ...) and some of the 
+ functionalities provided in pktools already exist in the GDAL tools. 
+ .
+ All utilities in pktools use command line options and have a built 
+ in help, and include more than thirty binaries to edit, change, crop,
+ classify, compare, dump, fill, enhance images and many other 
+ common operations useful in the remote sensing field of image 
+ analysis.
+ .
+ This package contains the libalgorithms shared library.
+
+Package: libbase1
+Architecture: any
+Section: libs
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Breaks: pktools (<< 2.5.4)
+Replaces: pktools (<< 2.5.4)
+Description: GDAL add-on tools to perform useful raster processing - libbase
+ Pktools is a collection of programs to perform operations, mostly on 
+ raster geolocated  images. It  heavily relies  on the  Geospatial Data 
+ Abstraction Library (GDAL) and OGR.  The programs are similar to the 
+ GDAL tools (gdalinfo, gdal_translate,  gdal_merge, ...) and some of the 
+ functionalities provided in pktools already exist in the GDAL tools. 
+ .
+ All utilities in pktools use command line options and have a built 
+ in help, and include more than thirty binaries to edit, change, crop,
+ classify, compare, dump, fill, enhance images and many other 
+ common operations useful in the remote sensing field of image 
+ analysis.
+ .
+ This package contains the libbase shared library.
+
+Package: libfileclasses1
+Architecture: any
+Section: libs
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Breaks: pktools (<< 2.5.4)
+Replaces: pktools (<< 2.5.4)
+Description: GDAL add-on tools to perform useful raster processing - libfileClasses
+ Pktools is a collection of programs to perform operations, mostly on 
+ raster geolocated  images. It  heavily relies  on the  Geospatial Data 
+ Abstraction Library (GDAL) and OGR.  The programs are similar to the 
+ GDAL tools (gdalinfo, gdal_translate,  gdal_merge, ...) and some of the 
+ functionalities provided in pktools already exist in the GDAL tools. 
+ .
+ All utilities in pktools use command line options and have a built 
+ in help, and include more than thirty binaries to edit, change, crop,
+ classify, compare, dump, fill, enhance images and many other 
+ common operations useful in the remote sensing field of image 
+ analysis.
+ .
+ This package contains the libfileClasses shared library.
+
+Package: libimageclasses1
+Architecture: any
+Section: libs
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Breaks: pktools (<< 2.5.4)
+Replaces: pktools (<< 2.5.4)
+Description: GDAL add-on tools to perform useful raster processing - libimageClasses
+ Pktools is a collection of programs to perform operations, mostly on 
+ raster geolocated  images. It  heavily relies  on the  Geospatial Data 
+ Abstraction Library (GDAL) and OGR.  The programs are similar to the 
+ GDAL tools (gdalinfo, gdal_translate,  gdal_merge, ...) and some of the 
+ functionalities provided in pktools already exist in the GDAL tools. 
+ .
+ All utilities in pktools use command line options and have a built 
+ in help, and include more than thirty binaries to edit, change, crop,
+ classify, compare, dump, fill, enhance images and many other 
+ common operations useful in the remote sensing field of image 
+ analysis.
+ .
+ This package contains the libimageClasses shared library.
+
+Package: liblasclasses1
+Architecture: any
+Section: libs
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Breaks: pktools (<< 2.5.4)
+Replaces: pktools (<< 2.5.4)
+Description: GDAL add-on tools to perform useful raster processing - liblasClasses
+ Pktools is a collection of programs to perform operations, mostly on 
+ raster geolocated  images. It  heavily relies  on the  Geospatial Data 
+ Abstraction Library (GDAL) and OGR.  The programs are similar to the 
+ GDAL tools (gdalinfo, gdal_translate,  gdal_merge, ...) and some of the 
+ functionalities provided in pktools already exist in the GDAL tools. 
+ .
+ All utilities in pktools use command line options and have a built 
+ in help, and include more than thirty binaries to edit, change, crop,
+ classify, compare, dump, fill, enhance images and many other 
+ common operations useful in the remote sensing field of image 
+ analysis.
+ .
+ This package contains the liblasClasses shared library.
+
diff --git a/debian/libalgorithms1.install b/debian/libalgorithms1.install
new file mode 100644
index 0000000..f50bd30
--- /dev/null
+++ b/debian/libalgorithms1.install
@@ -0,0 +1 @@
+usr/lib/*/libalgorithms.so.*
diff --git a/debian/libbase1.install b/debian/libbase1.install
new file mode 100644
index 0000000..95ce68e
--- /dev/null
+++ b/debian/libbase1.install
@@ -0,0 +1 @@
+usr/lib/*/libbase.so.*
diff --git a/debian/libfileclasses1.install b/debian/libfileclasses1.install
new file mode 100644
index 0000000..4c0debc
--- /dev/null
+++ b/debian/libfileclasses1.install
@@ -0,0 +1 @@
+usr/lib/*/libfileClasses.so.*
diff --git a/debian/libimageclasses1.install b/debian/libimageclasses1.install
new file mode 100644
index 0000000..320f4d8
--- /dev/null
+++ b/debian/libimageclasses1.install
@@ -0,0 +1 @@
+usr/lib/*/libimageClasses.so.*
diff --git a/debian/liblasclasses1.install b/debian/liblasclasses1.install
new file mode 100644
index 0000000..d1df488
--- /dev/null
+++ b/debian/liblasclasses1.install
@@ -0,0 +1 @@
+usr/lib/*/liblasClasses.so.*
diff --git a/debian/pktools-dev.install b/debian/pktools-dev.install
index 457cc42..8ab581a 100644
--- a/debian/pktools-dev.install
+++ b/debian/pktools-dev.install
@@ -1,7 +1,3 @@
 usr/include/pktools
-usr/lib/*/libalgorithms.so
-usr/lib/*/libbase.so
-usr/lib/*/libfileClasses.so
-usr/lib/*/libimageClasses.so
-usr/lib/*/liblasClasses.so
+usr/lib/*/*.so
 usr/lib/*/*.a
diff --git a/debian/pktools.install b/debian/pktools.install
index a6007b6..c703cf8 100644
--- a/debian/pktools.install
+++ b/debian/pktools.install
@@ -1,43 +1 @@
-usr/lib/*/libalgorithms.so.1
-usr/lib/*/libalgorithms.so.1.0.0
-usr/lib/*/libbase.so.1
-usr/lib/*/libbase.so.1.0.0
-usr/lib/*/libfileClasses.so.1
-usr/lib/*/libfileClasses.so.1.0.0 
-usr/lib/*/libimageClasses.so.1 
-usr/lib/*/libimageClasses.so.1.0.0 
-usr/lib/*/liblasClasses.so.1
-usr/lib/*/liblasClasses.so.1.0.0 
-usr/bin/pkann
-usr/bin/pkascii2img
-usr/bin/pkascii2ogr
-usr/bin/pkcomposite
-usr/bin/pkcreatect
-usr/bin/pkcrop
-usr/bin/pkdiff
-usr/bin/pkdsm2shadow
-usr/bin/pkdumpimg
-usr/bin/pkdumpogr
-usr/bin/pkeditogr
-usr/bin/pkegcs
-usr/bin/pkenhance
-usr/bin/pkextract
-usr/bin/pkfillnodata
-usr/bin/pkfilter
-usr/bin/pkfilterascii
-usr/bin/pkfilterdem
-usr/bin/pkfsann
-usr/bin/pkfssvm
-usr/bin/pkgetmask
-usr/bin/pkinfo
-usr/bin/pklas2img
-usr/bin/pkndvi
-usr/bin/pkoptsvm
-usr/bin/pkpolygonize
-usr/bin/pkreclass
-usr/bin/pkregann
-usr/bin/pksetmask
-usr/bin/pksieve
-usr/bin/pkstatascii
-usr/bin/pkstatogr
-usr/bin/pksvm
+usr/bin/

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



More information about the Pkg-grass-devel mailing list