[DebianGIS-dev] r862 - in packages/postgis/trunk: . debian

sfrost at alioth.debian.org sfrost at alioth.debian.org
Tue May 29 02:22:42 UTC 2007


Author: sfrost
Date: 2007-05-29 02:22:42 +0000 (Tue, 29 May 2007)
New Revision: 862

Modified:
   packages/postgis/trunk/GNUmakefile
   packages/postgis/trunk/debian/README.Debian
   packages/postgis/trunk/debian/changelog
   packages/postgis/trunk/debian/control
   packages/postgis/trunk/debian/copyright
   packages/postgis/trunk/debian/rules
Log:
- Update for PG 8.2
- Disable 'templategis' in GNUmakefile (busted)
- Fix 'splitted' -> 'split' spelling in README.Debian
- Update copyright


Modified: packages/postgis/trunk/GNUmakefile
===================================================================
--- packages/postgis/trunk/GNUmakefile	2007-05-29 01:22:17 UTC (rev 861)
+++ packages/postgis/trunk/GNUmakefile	2007-05-29 02:22:42 UTC (rev 862)
@@ -4,13 +4,13 @@
 #
 #-----------------------------------------------------
 
-all: Makefile.config liblwgeom loaderdumper utils templategis
+all: Makefile.config liblwgeom loaderdumper utils
 
-install: all liblwgeom-install loaderdumper-install templategis-install
+install: all liblwgeom-install loaderdumper-install
 
-uninstall: liblwgeom-uninstall loaderdumper-uninstall docs-uninstall templategis-uninstall
+uninstall: liblwgeom-uninstall loaderdumper-uninstall docs-uninstall
 
-clean: Makefile.config liblwgeom-clean loaderdumper-clean docs-clean test-clean templategis-clean
+clean: Makefile.config liblwgeom-clean loaderdumper-clean docs-clean test-clean
 	rm -f lwpostgis.sql lwpostgis_upgrade.sql
 
 distclean: clean

Modified: packages/postgis/trunk/debian/README.Debian
===================================================================
--- packages/postgis/trunk/debian/README.Debian	2007-05-29 01:22:17 UTC (rev 861)
+++ packages/postgis/trunk/debian/README.Debian	2007-05-29 02:22:42 UTC (rev 862)
@@ -1,10 +1,10 @@
 Debian README for Postgis
 =========================
 
-These are the PostGIS packages for Debian. PostGIS is splitted into three
+These are the PostGIS packages for Debian. PostGIS is split into three
 Debian packages:
 
-postgresql-8.1-postgis
+postgresql-8.2-postgis
   This is the PostGIS module for the PostgreSQL server itself.  It contains
   the library which is loaded by the server (liblwgeom.so.1.1), the SQL script
   for creating the SQL functions in a given database (lwpostgis.sql), and an 
@@ -21,7 +21,7 @@
   so it is recommended that the spatial_ref_sys.sql also be run in each
   database you have PostGIS installed in.
 
-  These scripts can be found in the /usr/share/postgresql-8.1/postgis
+  These scripts can be found in the /usr/share/postgresql-8.2/postgis
   directory.
 
 postgis
@@ -59,8 +59,8 @@
   createlang plpgsql -d <databasename>
 
   # Finally, load the functions and reference system tables
-  psql <databasename> -f /usr/share/postgresql-8.1-postgis/lwpostgis.sql
-  psql <databasename> -f /usr/share/postgresql-8.1-postgis/spatial_ref_sys.sql
+  psql <databasename> -f /usr/share/postgresql-8.2-postgis/lwpostgis.sql
+  psql <databasename> -f /usr/share/postgresql-8.2-postgis/spatial_ref_sys.sql
 
   # login in new database (still as superuser postgres)
   psql <databasename>
@@ -104,8 +104,8 @@
   createlang plpgsql -d template_gis
 
   # Finally, load the functions and reference system tables
-  psql template_gis -f /usr/share/postgresql-8.1-postgis/lwpostgis.sql
-  psql template_gis -f /usr/share/postgresql-8.1-postgis/spatial_ref_sys.sql
+  psql template_gis -f /usr/share/postgresql-8.2-postgis/lwpostgis.sql
+  psql template_gis -f /usr/share/postgresql-8.2-postgis/spatial_ref_sys.sql
 
   # login in new database (still as superuser postgres)
   psql template_gis

Modified: packages/postgis/trunk/debian/changelog
===================================================================
--- packages/postgis/trunk/debian/changelog	2007-05-29 01:22:17 UTC (rev 861)
+++ packages/postgis/trunk/debian/changelog	2007-05-29 02:22:42 UTC (rev 862)
@@ -1,8 +1,12 @@
 postgis (1.2.1-1) unstable; urgency=low
 
   * New upstream release.
+  * Migrate to PostgreSQL 8.2-only (Closes: #419297)
+  * Remove busted templategis from the build (new in 1.2.1 anyway).
+    (Currently attempts to install files in /etc/default, doesn't
+     respect $DESTDIR and overall looks like a godawful mess)
 
- -- Fabio Tranchitella <kobold at debian.org>  Fri, 13 Apr 2007 09:19:18 +0200
+ -- Stephen Frost <sfrost at debian.org>  Fri, 13 Apr 2007 09:19:18 +0200
 
 postgis (1.1.6-2) unstable; urgency=low
 

Modified: packages/postgis/trunk/debian/control
===================================================================
--- packages/postgis/trunk/debian/control	2007-05-29 01:22:17 UTC (rev 861)
+++ packages/postgis/trunk/debian/control	2007-05-29 02:22:42 UTC (rev 862)
@@ -3,26 +3,24 @@
 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>
-Build-Depends: debhelper (>= 5.0.0), autotools-dev, flex, bison, postgresql-server-dev-8.1, libgeos-dev, proj, libssl-dev, xsltproc, docbook, docbook-xsl, libpg-java, jikes-classpath, fastjar
+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
 Standards-Version: 3.7.2
 
-Package: postgresql-8.1-postgis
+Package: postgresql-8.2-postgis
 Architecture: any
-Depends: ${shlibs:Depends}, postgis, postgresql-8.1
-Provides: postgresql-postgis, postgresql-postgis1, postgresql-8.1-postgis1
-Conflicts: postgis (<< 1.1.2), libpostgis1-pg8.1, postgresql-8.1-postgis1
-Replaces: libpostgis, libpostgis1-pg8.1, postgresql-8.1-postgis1
-Description: geographic objects support for PostgreSQL 8.1
+Depends: ${shlibs:Depends}, postgis, postgresql-8.2
+Conflicts: postgis (<< 1.2.1)
+Description: geographic objects support for PostgreSQL 8.2
  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.1.
+ This package supports PostgreSQL 8.2.
 
 Package: postgis
-Suggests: postgresql-8.1-postgis | postgresql-7.4-postgis
+Suggests: postgresql-8.2-postgis | postgresql-8.1-postgis | postgresql-7.4-postgis
 Depends: ${shlibs:Depends}
 Architecture: any
 Description: geographic objects support for PostgreSQL -- common files
@@ -39,7 +37,7 @@
 Architecture: all
 Section: science
 Depends: libpg-java
-Suggests: postgresql-8.1-postgis | postgresql-7.4-postgis
+Suggests: postgresql-8.2-postgis | postgresql-8.1-postgis | postgresql-7.4-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/copyright
===================================================================
--- packages/postgis/trunk/debian/copyright	2007-05-29 01:22:17 UTC (rev 861)
+++ packages/postgis/trunk/debian/copyright	2007-05-29 02:22:42 UTC (rev 862)
@@ -4,8 +4,11 @@
 Additional debianization and changes by Stephen Frost <sfrost at debian.org>
 on or about Wed, 31 May 2006
 
-It was downloaded from http://www.postgis.org/download/postgis-1.1.2.tar.gz
+Additional debianization and changes by Stephen Frost <sfrost at debian.org>
+for PostGIS 1.2.1 on or about Mon, 28 May 2007 21:28:24 -0400
 
+It was downloaded from http://www.postgis.org/download/postgis-1.2.1.tar.gz
+
 Copyright Holder: Refractions Research
                   Sandro Santilli, Paul Ramsey, 
                   Jeff Lounsbury and Chris Hodgson

Modified: packages/postgis/trunk/debian/rules
===================================================================
--- packages/postgis/trunk/debian/rules	2007-05-29 01:22:17 UTC (rev 861)
+++ packages/postgis/trunk/debian/rules	2007-05-29 02:22:42 UTC (rev 862)
@@ -76,24 +76,24 @@
 	# 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.1
+	# PostGIS for PostgreSQL 8.2
 	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.1 \
-		--datadir=\$${prefix}/share/postgresql-8.1-postgis \
+		--exec-prefix=\$${prefix}/lib/postgresql/8.2 \
+		--datadir=\$${prefix}/share/postgresql-8.2-postgis \
 		--mandir=\$${prefix}/share/man \
 		--infodir=\$${prefix}/share/info \
-		--with-pgsql=/usr/lib/postgresql/8.1/bin/pg_config \
+		--with-pgsql=/usr/lib/postgresql/8.2/bin/pg_config \
 		--with-geos \
 		--with-proj
 	$(MAKE)
 	$(MAKE) -C doc
-	$(MAKE) install prefix=$(CURDIR)/debian/postgresql-8.1-postgis/usr
+	$(MAKE) install prefix=$(CURDIR)/debian/postgresql-8.2-postgis/usr
 	$(MAKE) -C doc install prefix=$(CURDIR)/debian/postgis/usr
-	mv $(CURDIR)/debian/postgresql-8.1-postgis/usr/lib/postgresql/8.1/bin $(CURDIR)/debian/postgis/usr
+	mv $(CURDIR)/debian/postgresql-8.2-postgis/usr/lib/postgresql/8.2/bin $(CURDIR)/debian/postgis/usr
 	$(MAKE) distclean
 
 	dh_install -s




More information about the Pkg-grass-devel mailing list