[DebianGIS-dev] r2623 - packages/postgis/trunk/debian
frankie at alioth.debian.org
frankie at alioth.debian.org
Thu Dec 10 17:13:52 UTC 2009
Author: frankie
Date: 2009-12-10 17:13:52 +0000 (Thu, 10 Dec 2009)
New Revision: 2623
Added:
packages/postgis/trunk/debian/control_lenny
packages/postgis/trunk/debian/rules_lenny
Modified:
packages/postgis/trunk/debian/changelog
packages/postgis/trunk/debian/control
packages/postgis/trunk/debian/rules
Log:
Now supporting pgsql 8.4 only, old scripts mantained for backports.
Modified: packages/postgis/trunk/debian/changelog
===================================================================
--- packages/postgis/trunk/debian/changelog 2009-12-10 16:47:37 UTC (rev 2622)
+++ packages/postgis/trunk/debian/changelog 2009-12-10 17:13:52 UTC (rev 2623)
@@ -1,10 +1,13 @@
-postgis (1.4.0-2) experimental; urgency=low
+postgis (1.4.0-2) unstable; urgency=low
+ * Upload to unstable.
* Better parameterized debian/rules against postgis $(VERSION).
* Added dblatex and libcunit1-dev among build-deps.
* Added postgis_comments.sql to contrib/ SQL templates.
+ * Dropping 8.3 support, no more supported for squeeze.
+ (closes: #559587)
- -- Francesco Paolo Lovergine <frankie at debian.org> Fri, 16 Oct 2009 00:04:34 +0200
+ -- Francesco Paolo Lovergine <frankie at debian.org> Thu, 10 Dec 2009 18:07:13 +0100
postgis (1.4.0-1) experimental; urgency=low
Modified: packages/postgis/trunk/debian/control
===================================================================
--- packages/postgis/trunk/debian/control 2009-12-10 16:47:37 UTC (rev 2622)
+++ packages/postgis/trunk/debian/control 2009-12-10 17:13:52 UTC (rev 2623)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
Uploaders: Stephen Frost <sfrost at debian.org>, Francesco Paolo Lovergine <frankie at debian.org>
-Build-Depends: debhelper (>= 7), autotools-dev, flex, bison, postgresql-server-dev-8.3, postgresql-server-dev-8.4,
+Build-Depends: debhelper (>= 7), autotools-dev, flex, bison, postgresql-server-dev-8.4,
libgeos-dev (>= 3.0.0), libproj-dev (>= 4.5.0), libssl-dev, xsltproc, docbook, docbook-xsl, libpg-java,
default-jdk, fastjar, libjts-java (>= 1.7), dpatch, imagemagick, libcunit1-dev, dblatex
Standards-Version: 3.8.3
@@ -24,21 +24,8 @@
.
This package supports PostgreSQL 8.4.
-Package: postgresql-8.3-postgis
-Architecture: any
-Depends: ${shlibs:Depends}, postgis, postgresql-8.3, ${misc:Depends}
-Conflicts: postgis (<< 1.2.1)
-Description: geographic objects support for PostgreSQL 8.3
- PostGIS adds support for geographic objects to the PostgreSQL object-relational
- database. In effect, PostGIS "spatially enables" the PostgreSQL server,
- allowing it to be used as a backend spatial database for geographic information
- systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS
- follows the OpenGIS "Simple Features Specification for SQL".
- .
- This package supports PostgreSQL 8.3.
-
Package: postgis
-Suggests: postgresql-8.3-postgis | postgresql-8.4-postgis
+Suggests: postgresql-8.4-postgis
Depends: ${shlibs:Depends}, ${misc:Depends}
Architecture: any
Description: geographic objects support for PostgreSQL -- common files
@@ -55,7 +42,7 @@
Architecture: all
Section: science
Depends: libpg-java
-Suggests: postgresql-8.3-postgis | postgresql-8.4-postgis, ${misc:Depends}
+Suggests: postgresql-8.4-postgis, ${misc:Depends}
Conflicts: libpostgis-jdbc, libpostgisjava, postgresql-postgis-java
Replaces: libpostgis-jdbc, libpostgisjava, postgresql-postgis-java
Description: geographic objects support for PostgreSQL -- JDBC support
Added: packages/postgis/trunk/debian/control_lenny
===================================================================
--- packages/postgis/trunk/debian/control_lenny (rev 0)
+++ packages/postgis/trunk/debian/control_lenny 2009-12-10 17:13:52 UTC (rev 2623)
@@ -0,0 +1,68 @@
+Source: postgis
+Section: misc
+Priority: optional
+Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
+Uploaders: Stephen Frost <sfrost at debian.org>, Francesco Paolo Lovergine <frankie at debian.org>
+Build-Depends: debhelper (>= 7), autotools-dev, flex, bison, postgresql-server-dev-8.3, postgresql-server-dev-8.4,
+ libgeos-dev (>= 3.0.0), libproj-dev (>= 4.5.0), libssl-dev, xsltproc, docbook, docbook-xsl, libpg-java,
+ default-jdk, fastjar, libjts-java (>= 1.7), dpatch, imagemagick, libcunit1-dev, dblatex
+Standards-Version: 3.8.3
+Homepage: http://postgis.refractions.net/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-grass/packages/postgis/
+Vcs-Svn: svn://svn.debian.org/pkg-grass/packages/postgis/
+
+Package: postgresql-8.4-postgis
+Architecture: any
+Depends: ${shlibs:Depends}, postgis, postgresql-8.4, ${misc:Depends}
+Conflicts: postgis (<< 1.2.1)
+Description: geographic objects support for PostgreSQL 8.4
+ PostGIS adds support for geographic objects to the PostgreSQL object-relational
+ database. In effect, PostGIS "spatially enables" the PostgreSQL server,
+ allowing it to be used as a backend spatial database for geographic information
+ systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS
+ follows the OpenGIS "Simple Features Specification for SQL".
+ .
+ This package supports PostgreSQL 8.4.
+
+Package: postgresql-8.3-postgis
+Architecture: any
+Depends: ${shlibs:Depends}, postgis, postgresql-8.3, ${misc:Depends}
+Conflicts: postgis (<< 1.2.1)
+Description: geographic objects support for PostgreSQL 8.3
+ PostGIS adds support for geographic objects to the PostgreSQL object-relational
+ database. In effect, PostGIS "spatially enables" the PostgreSQL server,
+ allowing it to be used as a backend spatial database for geographic information
+ systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS
+ follows the OpenGIS "Simple Features Specification for SQL".
+ .
+ This package supports PostgreSQL 8.3.
+
+Package: postgis
+Suggests: postgresql-8.3-postgis | postgresql-8.4-postgis
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Architecture: any
+Description: geographic objects support for PostgreSQL -- common files
+ PostGIS adds support for geographic objects to the PostgreSQL object-relational
+ database. In effect, PostGIS "spatially enables" the PostgreSQL server,
+ allowing it to be used as a backend spatial database for geographic information
+ systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS
+ follows the OpenGIS "Simple Features Specification for SQL".
+ .
+ This package contains the PostGIS userland binaries, common files and
+ documentation.
+
+Package: libpostgis-java
+Architecture: all
+Section: science
+Depends: libpg-java
+Suggests: postgresql-8.3-postgis | postgresql-8.4-postgis, ${misc:Depends}
+Conflicts: libpostgis-jdbc, libpostgisjava, postgresql-postgis-java
+Replaces: libpostgis-jdbc, libpostgisjava, postgresql-postgis-java
+Description: geographic objects support for PostgreSQL -- JDBC support
+ PostGIS adds support for geographic objects to the PostgreSQL object-relational
+ database. In effect, PostGIS "spatially enables" the PostgreSQL server,
+ allowing it to be used as a backend spatial database for geographic information
+ systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS
+ follows the OpenGIS "Simple Features Specification for SQL".
+ .
+ This package contains JDBC support for PostGIS.
Modified: packages/postgis/trunk/debian/rules
===================================================================
--- packages/postgis/trunk/debian/rules 2009-12-10 16:47:37 UTC (rev 2622)
+++ packages/postgis/trunk/debian/rules 2009-12-10 17:13:52 UTC (rev 2623)
@@ -84,32 +84,6 @@
# Documentation and common files for PostGIS
[ ! -f doc/html/postgis.html.prev ] && cp doc/html/postgis.html doc/html/postgis.html.prev || true
- # PostGIS for PostgreSQL 8.3
- CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure \
- --host=$(DEB_HOST_GNU_TYPE) \
- --build=$(DEB_BUILD_GNU_TYPE) \
- --prefix=/usr \
- --docdir=$(CURDIR)/debian/postgis/usr/share/doc \
- --exec-prefix=\$${prefix}/lib/postgresql/8.3 \
- --datadir=\$${prefix}/share/postgresql-8.3-postgis \
- --mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info \
- --with-pgconfig=/usr/lib/postgresql/8.3/bin/pg_config
- $(MAKE)
- $(MAKE) -C doc
- $(MAKE) install DESTDIR=$(CURDIR)/debian/postgresql-8.3-postgis
- $(MAKE) -C doc install \
- PGSQL_DOCDIR=$(CURDIR)/debian/postgis/usr/share/doc/postgis \
- PGSQL_MANDIR=$(CURDIR)/debian/postgis/usr/share/man \
- PGSQL_SHAREDIR=$(CURDIR)/debian/postgis/usr/share/postgresql/8.3
- install -o root -g root doc/postgis_comments.sql \
- $(CURDIR)/debian/postgresql-8.3-postgis/usr/share/postgresql/8.3/contrib/.
- install -o root -g root -d $(CURDIR)/debian/postgresql-8.3-postgis/usr/lib/postgis/$(VERSION)/postgres/8.3/lib
- mv $(CURDIR)/debian/postgresql-8.3-postgis/usr/lib/postgresql/8.3/lib/postgis-$(MAJOR_VERSION).$(MINOR_VERSION).so \
- $(CURDIR)/debian/postgresql-8.3-postgis/usr/lib/postgis/$(VERSION)/postgres/8.3/lib/.
- rm -rf $(CURDIR)/debian/postgresql-8.3-postgis/usr/lib/postgresql/8.3/bin
- $(MAKE) distclean
-
# PostGIS for PostgreSQL 8.4
CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure \
--host=$(DEB_HOST_GNU_TYPE) \
@@ -138,24 +112,17 @@
# Create custom maint scripts
sed -e 's/@POSTGIS_VERSION@/$(VERSION)/' \
- -e 's/@POSTGRES_VERSION@/8.3/' \
- -e 's/@SOVERSION@/1.4/' \
- $(CURDIR)/debian/postgis-postgresql-generic.postinst.in >$(CURDIR)/debian/postgresql-8.3-postgis.postinst
-
- sed -e 's/@POSTGIS_VERSION@/$(VERSION)/' \
-e 's/@POSTGRES_VERSION@/8.4/' \
-e 's/@SOVERSION@/1.4/' \
$(CURDIR)/debian/postgis-postgresql-generic.postinst.in >$(CURDIR)/debian/postgresql-8.4-postgis.postinst
- sed -e 's/@POSTGRES_VERSIONS@/8.3 8.4/' \
+ sed -e 's/@POSTGRES_VERSIONS@/8.4/' \
-e 's/@SOVERSION@/1.4/' \
$(CURDIR)/debian/postgis-generic.postrm.in >$(CURDIR)/debian/postgis.postrm
dh_install -s
# copy utils
- mkdir -p $(CURDIR)/debian/postgresql-8.3-postgis/usr/share/postgresql-8.3-postgis/utils
- cp utils/*.pl utils/README $(CURDIR)/debian/postgresql-8.3-postgis/usr/share/postgresql-8.3-postgis/utils
mkdir -p $(CURDIR)/debian/postgresql-8.4-postgis/usr/share/postgresql-8.4-postgis/utils
cp utils/*.pl utils/README $(CURDIR)/debian/postgresql-8.4-postgis/usr/share/postgresql-8.4-postgis/utils
Added: packages/postgis/trunk/debian/rules_lenny
===================================================================
--- packages/postgis/trunk/debian/rules_lenny (rev 0)
+++ packages/postgis/trunk/debian/rules_lenny 2009-12-10 17:13:52 UTC (rev 2623)
@@ -0,0 +1,194 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+#
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+MAJOR_VERSION = $(shell grep POSTGIS_MAJOR_VERSION Version.config|cut -d= -f2)
+MINOR_VERSION = $(shell grep POSTGIS_MINOR_VERSION Version.config|cut -d= -f2)
+MICRO_VERSION = $(shell grep POSTGIS_MICRO_VERSION Version.config|cut -d= -f2)
+VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION)
+ifeq ($(VERSION),..)
+$(error Cannot detect Postgis version, fix debian/rules)
+endif
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+build: build-arch build-indep
+
+build-arch: patch-stamp build-arch-stamp
+build-arch-stamp:
+ touch $@
+
+build-indep: patch-stamp build-indep-stamp
+build-indep-stamp:
+ touch $@
+
+clean: clean-patched unpatch
+clean-patched:
+ dh_testdir
+ dh_testroot
+ [ -f doc/html/postgis.html.prev ] && mv doc/html/postgis.html.prev doc/html/postgis.html || true
+ [ ! -f GNUmakefile ] || $(MAKE) distclean || true
+ [ ! -f java/jdbc/Makefile ] || $(MAKE) -C java/jdbc clean
+ rm -f $(CURDIR)/debian/*.postinst $(CURDIR)/debian/*.postrm
+ dh_clean
+
+install: install-indep install-arch
+install-indep: build-indep
+ dh_testdir
+ dh_testroot
+ dh_prep -i
+ dh_installdirs -i
+ CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure \
+ --docdir=\$${prefix}/share/doc/postgis \
+ --mandir=\$${prefix}/share/man \
+ --infodir=\$${prefix}/share/info
+ # PostGIS JDBC (with debug support)
+ $(MAKE) -C java/jdbc clean
+ DEBUGJAR=postgis_debug.fastjar JAR=fastjar JAVAC=javac $(MAKE) -C java/jdbc jar
+ DEBUGJAR=postgis_debug.fastjar JAR=fastjar JAVAC=javac $(MAKE) -C java/jdbc install DESTDIR=$(CURDIR)/debian/libpostgis-java/usr/share/java/$(JAVA_PATH)
+ # regress target uses pushd/popd
+ $(MAKE) SHELL=/bin/bash distclean
+ dh_install -i
+
+install-arch: build-arch
+ dh_testdir
+ dh_testroot
+ dh_prep -s
+ dh_installdirs -s
+ # Documentation and common files for PostGIS
+ [ ! -f doc/html/postgis.html.prev ] && cp doc/html/postgis.html doc/html/postgis.html.prev || true
+
+ # PostGIS for PostgreSQL 8.3
+ CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure \
+ --host=$(DEB_HOST_GNU_TYPE) \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --prefix=/usr \
+ --docdir=$(CURDIR)/debian/postgis/usr/share/doc \
+ --exec-prefix=\$${prefix}/lib/postgresql/8.3 \
+ --datadir=\$${prefix}/share/postgresql-8.3-postgis \
+ --mandir=\$${prefix}/share/man \
+ --infodir=\$${prefix}/share/info \
+ --with-pgconfig=/usr/lib/postgresql/8.3/bin/pg_config
+ $(MAKE)
+ $(MAKE) -C doc
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/postgresql-8.3-postgis
+ $(MAKE) -C doc install \
+ PGSQL_DOCDIR=$(CURDIR)/debian/postgis/usr/share/doc/postgis \
+ PGSQL_MANDIR=$(CURDIR)/debian/postgis/usr/share/man \
+ PGSQL_SHAREDIR=$(CURDIR)/debian/postgis/usr/share/postgresql/8.3
+ install -o root -g root doc/postgis_comments.sql \
+ $(CURDIR)/debian/postgresql-8.3-postgis/usr/share/postgresql/8.3/contrib/.
+ install -o root -g root -d $(CURDIR)/debian/postgresql-8.3-postgis/usr/lib/postgis/$(VERSION)/postgres/8.3/lib
+ mv $(CURDIR)/debian/postgresql-8.3-postgis/usr/lib/postgresql/8.3/lib/postgis-$(MAJOR_VERSION).$(MINOR_VERSION).so \
+ $(CURDIR)/debian/postgresql-8.3-postgis/usr/lib/postgis/$(VERSION)/postgres/8.3/lib/.
+ rm -rf $(CURDIR)/debian/postgresql-8.3-postgis/usr/lib/postgresql/8.3/bin
+ $(MAKE) distclean
+
+ # PostGIS for PostgreSQL 8.4
+ CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure \
+ --host=$(DEB_HOST_GNU_TYPE) \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --prefix=/usr \
+ --with-docdir=$(CURDIR)/debian/postgis/usr/share/doc \
+ --exec-prefix=\$${prefix}/lib/postgresql/8.4 \
+ --datadir=\$${prefix}/share/postgresql-8.4-postgis \
+ --mandir=\$${prefix}/share/man \
+ --infodir=\$${prefix}/share/info \
+ --with-pgconfig=/usr/lib/postgresql/8.4/bin/pg_config
+ $(MAKE)
+ $(MAKE) -C doc
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/postgresql-8.4-postgis
+ $(MAKE) -C doc install \
+ PGSQL_DOCDIR=$(CURDIR)/debian/postgis/usr/share/doc/postgis \
+ PGSQL_MANDIR=$(CURDIR)/debian/postgis/usr/share/man \
+ PGSQL_SHAREDIR=$(CURDIR)/debian/postgis/usr/share/postgresql/8.4
+ install -o root -g root doc/postgis_comments.sql \
+ $(CURDIR)/debian/postgresql-8.4-postgis/usr/share/postgresql/8.4/contrib/.
+ install -o root -g root -d $(CURDIR)/debian/postgresql-8.4-postgis/usr/lib/postgis/$(VERSION)/postgres/8.4/lib
+ mv $(CURDIR)/debian/postgresql-8.4-postgis/usr/lib/postgresql/8.4/lib/postgis-$(MAJOR_VERSION).$(MINOR_VERSION).so \
+ $(CURDIR)/debian/postgresql-8.4-postgis/usr/lib/postgis/$(VERSION)/postgres/8.4/lib/.
+ mv $(CURDIR)/debian/postgresql-8.4-postgis/usr/lib/postgresql/8.4/bin $(CURDIR)/debian/postgis/usr
+
+ # Create custom maint scripts
+
+ sed -e 's/@POSTGIS_VERSION@/$(VERSION)/' \
+ -e 's/@POSTGRES_VERSION@/8.3/' \
+ -e 's/@SOVERSION@/1.4/' \
+ $(CURDIR)/debian/postgis-postgresql-generic.postinst.in >$(CURDIR)/debian/postgresql-8.3-postgis.postinst
+
+ sed -e 's/@POSTGIS_VERSION@/$(VERSION)/' \
+ -e 's/@POSTGRES_VERSION@/8.4/' \
+ -e 's/@SOVERSION@/1.4/' \
+ $(CURDIR)/debian/postgis-postgresql-generic.postinst.in >$(CURDIR)/debian/postgresql-8.4-postgis.postinst
+
+ sed -e 's/@POSTGRES_VERSIONS@/8.3 8.4/' \
+ -e 's/@SOVERSION@/1.4/' \
+ $(CURDIR)/debian/postgis-generic.postrm.in >$(CURDIR)/debian/postgis.postrm
+
+ dh_install -s
+
+ # copy utils
+ mkdir -p $(CURDIR)/debian/postgresql-8.3-postgis/usr/share/postgresql-8.3-postgis/utils
+ cp utils/*.pl utils/README $(CURDIR)/debian/postgresql-8.3-postgis/usr/share/postgresql-8.3-postgis/utils
+ mkdir -p $(CURDIR)/debian/postgresql-8.4-postgis/usr/share/postgresql-8.4-postgis/utils
+ cp utils/*.pl utils/README $(CURDIR)/debian/postgresql-8.4-postgis/usr/share/postgresql-8.4-postgis/utils
+
+check: install-arch
+ $(MAKE) check
+
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installexamples
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+# Build architecture independant packages using the common target.
+binary-indep: install-indep
+ $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: install-arch
+ $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch check
Property changes on: packages/postgis/trunk/debian/rules_lenny
___________________________________________________________________
Added: svn:executable
+ *
More information about the Pkg-grass-devel
mailing list