[DebianGIS-dev] [SCM] saga branch, master, updated. 8a7b91d845dd326ad8b7c8779b65c40294d67de2

Johan Van de Wauw johan.vandewauw at gmail.com
Sat Feb 27 14:54:59 UTC 2010


The following commit has been merged in the master branch:
commit 8a7b91d845dd326ad8b7c8779b65c40294d67de2
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Sat Feb 27 15:47:59 2010 +0100

    Initial code for saga-dev package

diff --git a/debian/control b/debian/control
index dd17bec..0460b79 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
 Uploaders: Johan Van de Wauw <johan.vandewauw at gmail.com>, Francesco Paolo Lovergine <frankie at debian.org>
 Build-Depends: libwxgtk2.8-dev, wx-common, libgdal-dev, libexpat-dev, libogdi3.2-dev, 
- libproj-dev, cdbs, debhelper(>=7), libgrib2c-dev
+ libproj-dev, libgrib2c-dev, debhelper (>=7), cdbs
 Standards-Version: 3.8.4
 Homepage: http://www.saga-gis.org/
 Vcs-Git: git://git.debian.org/pkg-grass/saga.git
@@ -13,6 +13,7 @@ Vcs-Browser: http://git.debian.org/?p=pkg-grass/saga.git
 Package: saga
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Provides: saga2.0.4
 Description: System for Automatic Geoscientific Analysis
  SAGA GIS (System for Automated Geoscientific Analysis) is a geographic
  information system usable for editing and analysing spatial data. Among
@@ -39,3 +40,15 @@ Description: System for Automatic Geoscientific Analysis
    catchment delineation, solar radiation, channel lines, relative
    altitudes.
  * Vector tools: polygon intersection, contour lines from grid.
+
+Package: saga-dev
+Section: devel
+Architecture: any
+Depends: saga (= ${binary:Version})
+Provides: saga2.0.4-dev
+Description: SAGA GIS development files
+ SAGA GIS (System for Automated Geoscientific Analysis) is a geographic
+ information system usable for editing and analysing spatial data.
+ . 
+ This package contains the header files for developing with SAGA.
+ Install this package if you wish to develop software that uses the SAGA API.
diff --git a/debian/control b/debian/control.in
similarity index 79%
copy from debian/control
copy to debian/control.in
index dd17bec..bc9a3f6 100644
--- a/debian/control
+++ b/debian/control.in
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
 Uploaders: Johan Van de Wauw <johan.vandewauw at gmail.com>, Francesco Paolo Lovergine <frankie at debian.org>
 Build-Depends: libwxgtk2.8-dev, wx-common, libgdal-dev, libexpat-dev, libogdi3.2-dev, 
- libproj-dev, cdbs, debhelper(>=7), libgrib2c-dev
+ libproj-dev, libgrib2c-dev, debhelper (>=7), cdbs
 Standards-Version: 3.8.4
 Homepage: http://www.saga-gis.org/
 Vcs-Git: git://git.debian.org/pkg-grass/saga.git
@@ -13,6 +13,7 @@ Vcs-Browser: http://git.debian.org/?p=pkg-grass/saga.git
 Package: saga
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Provides: saga at VERSION@
 Description: System for Automatic Geoscientific Analysis
  SAGA GIS (System for Automated Geoscientific Analysis) is a geographic
  information system usable for editing and analysing spatial data. Among
@@ -39,3 +40,15 @@ Description: System for Automatic Geoscientific Analysis
    catchment delineation, solar radiation, channel lines, relative
    altitudes.
  * Vector tools: polygon intersection, contour lines from grid.
+
+Package: saga-dev
+Section: devel
+Architecture: any
+Depends: saga (= ${binary:Version})
+Provides: saga at VERSION@-dev
+Description: SAGA GIS development files
+ SAGA GIS (System for Automated Geoscientific Analysis) is a geographic
+ information system usable for editing and analysing spatial data.
+ . 
+ This package contains the header files for developing with SAGA.
+ Install this package if you wish to develop software that uses the SAGA API.
diff --git a/debian/rules b/debian/rules
index 9f95d92..cdef257 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,9 +3,11 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
 
 DEB_CONFIGURE_EXTRA_FLAGS = --enable-unicode
-
 DEB_INSTALL_MANPAGES_saga = saga_cmd.1
 
+VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | \
+   cut -f 2 -d ' ' | cut -f 1 -d '-')
+
 # remove libtool helpers
 binary/saga::
 	find debian/saga/usr/lib ! -type d -a -name "*.la" -delete
@@ -17,3 +19,7 @@ build/saga::
 cleanbuilddir/saga::
 	rm -f saga_cmd.1
 	rm -f saga_gui.1
+
+debian/% :: debian/%.in
+	sed -e 's/@VERSION@/$(VERSION)/' -e 's/@ABI@/$(ABI)/' $< >$@
+
diff --git a/debian/saga-dev.install b/debian/saga-dev.install
new file mode 100644
index 0000000..19f2394
--- /dev/null
+++ b/debian/saga-dev.install
@@ -0,0 +1,4 @@
+src/saga_core/saga_api/saga_api.h /usr/include/saga_api/
+src/saga_core/saga_api/*.h /usr/include/saga_api/
+src/saga_core/saga_gdi/*.h /usr/include/saga_gdi/
+
diff --git a/debian/saga.install b/debian/saga.install
index 1d36cf2..be813ca 100644
--- a/debian/saga.install
+++ b/debian/saga.install
@@ -2,4 +2,5 @@ src/saga_core/saga_gui/res/xpm/saga_icon_32.xpm  /usr/share/pixmaps/
 src/saga_core/saga_gui/res/xpm/saga_icon_16.xpm  /usr/share/pixmaps/
 debian/saga_gui.desktop  /usr/share/applications/
 src/saga_core/saga_gui/res/saga_tip.txt /usr/share/saga/
-src/saga_core/saga_api/saga_api.h /usr/include/saga_api/saga_api.h
+usr/bin
+usr/lib

-- 
Saga GIS



More information about the Pkg-grass-devel mailing list