[DebianGIS-dev] r1429 - packages/postgis/trunk/debian

kobold at alioth.debian.org kobold at alioth.debian.org
Wed Mar 19 18:28:57 UTC 2008


Author: kobold
Date: 2008-03-19 18:28:57 +0000 (Wed, 19 Mar 2008)
New Revision: 1429

Modified:
   packages/postgis/trunk/debian/changelog
   packages/postgis/trunk/debian/control
   packages/postgis/trunk/debian/rules
Log:
* Add support for postgresql-8.3. (Closes: #466417, #471689)

Modified: packages/postgis/trunk/debian/changelog
===================================================================
--- packages/postgis/trunk/debian/changelog	2008-03-19 18:18:57 UTC (rev 1428)
+++ packages/postgis/trunk/debian/changelog	2008-03-19 18:28:57 UTC (rev 1429)
@@ -1,3 +1,9 @@
+postgis (1.3.2-2) unstable; urgency=low
+
+  * Add support for postgresql-8.3. (Closes: #466417, #471689)
+
+ -- Fabio Tranchitella <kobold at debian.org>  Wed, 19 Mar 2008 19:23:00 +0100
+
 postgis (1.3.2-1) unstable; urgency=low
 
   [ Francesco Paolo Lovergine ]

Modified: packages/postgis/trunk/debian/control
===================================================================
--- packages/postgis/trunk/debian/control	2008-03-19 18:18:57 UTC (rev 1428)
+++ packages/postgis/trunk/debian/control	2008-03-19 18:28:57 UTC (rev 1429)
@@ -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>, Fabio Tranchitella <kobold at debian.org>, Francesco Paolo Lovergine <frankie at debian.org>
-Build-Depends: debhelper (>= 5.0.0), autotools-dev, flex, bison, postgresql-server-dev-8.2, libgeos-dev, proj, libssl-dev, xsltproc, docbook, docbook-xsl, libpg-java, jikes-classpath, fastjar, libjts-java (>=1.7)
+Build-Depends: debhelper (>= 5.0.0), autotools-dev, flex, bison, postgresql-server-dev-8.2, postgresql-server-dev-8.3, libgeos-dev, proj, libssl-dev, xsltproc, docbook, docbook-xsl, libpg-java, jikes-classpath, fastjar, libjts-java (>=1.7)
 Standards-Version: 3.7.3
 Homepage: http://postgis.refractions.net/
 
@@ -20,8 +20,21 @@
  .
  This package supports PostgreSQL 8.2.
 
+Package: postgresql-8.3-postgis
+Architecture: any
+Depends: ${shlibs:Depends}, postgis, postgresql-8.3
+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.2-postgis | postgresql-8.1-postgis | postgresql-7.4-postgis
+Suggests: postgresql-8.3-postgis | postgresql-8.2-postgis
 Depends: ${shlibs:Depends}
 Architecture: any
 Description: geographic objects support for PostgreSQL -- common files
@@ -38,7 +51,7 @@
 Architecture: all
 Section: science
 Depends: libpg-java
-Suggests: postgresql-8.2-postgis | postgresql-8.1-postgis | postgresql-7.4-postgis
+Suggests: postgresql-8.3-postgis | postgresql-8.2-postgis
 Conflicts: libpostgis-jdbc, libpostgisjava, postgresql-postgis-java
 Replaces: libpostgis-jdbc, libpostgisjava, postgresql-postgis-java
 Description: geographic objects support for PostgreSQL -- JDBC support

Modified: packages/postgis/trunk/debian/rules
===================================================================
--- packages/postgis/trunk/debian/rules	2008-03-19 18:18:57 UTC (rev 1428)
+++ packages/postgis/trunk/debian/rules	2008-03-19 18:28:57 UTC (rev 1429)
@@ -96,6 +96,26 @@
 	mv $(CURDIR)/debian/postgresql-8.2-postgis/usr/lib/postgresql/8.2/bin $(CURDIR)/debian/postgis/usr
 	$(MAKE) distclean
 
+	# PostGIS for PostgreSQL 8.3
+	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.3 \
+		--datadir=\$${prefix}/share/postgresql-8.3-postgis \
+		--mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info \
+		--with-pgsql=/usr/lib/postgresql/8.3/bin/pg_config \
+		--with-geos \
+		--with-proj
+	$(MAKE)
+	$(MAKE) -C doc
+	$(MAKE) install prefix=$(CURDIR)/debian/postgresql-8.3-postgis/usr
+	$(MAKE) -C doc install prefix=$(CURDIR)/debian/postgis/usr
+	mv $(CURDIR)/debian/postgresql-8.3-postgis/usr/lib/postgresql/8.3/bin $(CURDIR)/debian/postgis/usr
+	$(MAKE) distclean
+
 	dh_install -s
 
 # Must not depend on anything. This is to be called by




More information about the Pkg-grass-devel mailing list