Author: frankie
Date: 2009-10-16 11:31:24 +0000 (Fri, 16 Oct 2009)
New Revision: 2551

Modified:
   packages/postgis/trunk/debian/README.Debian
   packages/postgis/trunk/debian/changelog
   packages/postgis/trunk/debian/rules
Log:
Another template added and changed a bit doc.


Modified: packages/postgis/trunk/debian/README.Debian
===================================================================
--- packages/postgis/trunk/debian/README.Debian 2009-10-15 08:31:52 UTC (rev 
2550)
+++ packages/postgis/trunk/debian/README.Debian 2009-10-16 11:31:24 UTC (rev 
2551)
@@ -6,12 +6,15 @@
 
 postgresql-8.4-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 
+  the library which is loaded by the server (postgis.so), the SQL script
+  for creating the SQL functions in a given database (postgis.sql), and an 
   SQL script which contains the OpenGIS Spatial References 
   (spatial_ref_sys.sql).
 
-  NOTE: To install PostGIS you must run the lwpostgis.sql script in each
+       psql -d [yourdatabase] -f postgis.sql
+       psql -d [yourdatabase] -f spatial_ref_sys.sql
+
+  NOTE: To install PostGIS you must run the postgis.sql script in each
   PostgreSQL database you want PostGIS in as the PostgreSQL superuser
   (generally the 'postgres' user)!  The Debian utilities do not do
   this automatically as they can't be sure what state your database is in,
@@ -21,6 +24,12 @@
   so it is recommended that the spatial_ref_sys.sql also be run in each
   database you have PostGIS installed in.
 
+  If you wish to add comments to the PostGIS functions, the final step is 
+  to load the postgis_comments.sql into your spatial database. The comments 
+  can be viewed by simply typing \dd [function_name] from a psql terminal 
window.
+
+       psql -d [yourdatabase] -f postgis_comments.sql 
+
   These scripts can be found in the /usr/share/postgresql-8.4/postgis
   directory.
 

Modified: packages/postgis/trunk/debian/changelog
===================================================================
--- packages/postgis/trunk/debian/changelog     2009-10-15 08:31:52 UTC (rev 
2550)
+++ packages/postgis/trunk/debian/changelog     2009-10-16 11:31:24 UTC (rev 
2551)
@@ -2,8 +2,9 @@
 
   * Better parameterized debian/rules against postgis $(VERSION).
   * Added dblatex and libcunit1-dev among build-deps.
+  * Added postgis_comments.sql to contrib/ SQL templates.
 
- -- Francesco Paolo Lovergine <fran...@debian.org>  Thu, 15 Oct 2009 10:23:07 
+0200
+ -- Francesco Paolo Lovergine <fran...@debian.org>  Fri, 16 Oct 2009 00:04:34 
+0200
 
 postgis (1.4.0-1) experimental; urgency=low
 

Modified: packages/postgis/trunk/debian/rules
===================================================================
--- packages/postgis/trunk/debian/rules 2009-10-15 08:31:52 UTC (rev 2550)
+++ packages/postgis/trunk/debian/rules 2009-10-16 11:31:24 UTC (rev 2551)
@@ -102,6 +102,8 @@
                        
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/.
@@ -122,17 +124,19 @@
        $(MAKE)
        $(MAKE) -C doc
        $(MAKE) install DESTDIR=$(CURDIR)/debian/postgresql-8.4-postgis
-       ls -lR $(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
-       $(MAKE) distclean
        
+       # Create custom maint scripts
+       
        sed -e 's/@POSTGIS_VERSION@/$(VERSION)/' \
            -e 's/@POSTGRES_VERSION@/8.3/' \
            -e 's/@SOVERSION@/1.4/' \
@@ -155,6 +159,9 @@
        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.
@@ -184,4 +191,4 @@
        $(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 
+.PHONY: build clean binary-indep binary-arch binary install install-indep 
install-arch check


_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to