[DebianGIS-dev] r1646 - packages/gmt/trunk/debian

frankie at alioth.debian.org frankie at alioth.debian.org
Mon Jun 16 15:26:07 UTC 2008


Author: frankie
Date: 2008-06-16 15:26:06 +0000 (Mon, 16 Jun 2008)
New Revision: 1646

Added:
   packages/gmt/trunk/debian/watch
Modified:
   packages/gmt/trunk/debian/README.Debian
   packages/gmt/trunk/debian/changelog
   packages/gmt/trunk/debian/gmt-examples.examples
   packages/gmt/trunk/debian/rules
Log:
Preparing for experimental upload


Modified: packages/gmt/trunk/debian/README.Debian
===================================================================
--- packages/gmt/trunk/debian/README.Debian	2008-06-16 09:19:55 UTC (rev 1645)
+++ packages/gmt/trunk/debian/README.Debian	2008-06-16 15:26:06 UTC (rev 1646)
@@ -5,17 +5,23 @@
 time. To get GMT up and running, you should download the coastline data
 files
 
-	GMT4.1_coast.tar.bz2
-	GMT4.1_high.tar.bz2
-	GMT4.1_full.tar.bz2
+	GMT_coast.tar.bz2
+	GMT_high.tar.bz2
+	GMT_full.tar.bz2
 
-and untar them at a place you like. Then you need to edit
-/etc/gmt/coastline.conf and add the path to the files ending with .cfg 
-that you just extracted. Afterwards, GMT should be fully functional. 
+from ftp://ibis.grdl.noaa.gov/pub/gmt and untar them at a place you     
+like. Then you need to edit /etc/gmt/coastline.conf and add the path    
+to the files ending with .cfg that you just extracted. Afterwards, GMT  
+should be fully functional.                                             
 
 NOTE: By default, the gmt utilities are not included in $PATH, so you 
 either need to add /usr/lib/gmt/bin to your PATH or use the GMT wrapper, 
-see GMT(1gmt).
+see GMT(1gmt). Therefore, you also need to run do_examples.sh as
 
+./do_examples.sh /usr/lib/gmt/bin 
+
+if you would use gmt-examples to recreate GMT examples.
+
  -- Torsten Landschoff <torsten at debian.org>  Fri, 26 May 2006 22:56:49 +0200
+ -- Francesco Paolo Lovergine <frankie at debian.org>  Sat, 14 Jun 2008 11:48:20 +0200
 

Modified: packages/gmt/trunk/debian/changelog
===================================================================
--- packages/gmt/trunk/debian/changelog	2008-06-16 09:19:55 UTC (rev 1645)
+++ packages/gmt/trunk/debian/changelog	2008-06-16 15:26:06 UTC (rev 1646)
@@ -1,4 +1,4 @@
-gmt (4.3.1-1) UNRELEASED; urgency=low
+gmt (4.3.1-1) experimental; urgency=low
 
   * New upstream release
     (closes: #480931)
@@ -24,8 +24,13 @@
   * Long description revised.
   * CC_OPT is not more used in building, uses CFLAGS instead. 
   * Added symlink to all *.conf files in /etc within /usr/share/gmt.
+  * Fixed debian/gmt-examples.examples to install examples for true.
+  * Now avoids compression of examples/ stuff in debian/rules.
+  * A note has been added to README.Debian to explain how to run examples
+    scripts. 
+  * Added debian/watch file.
 
- -- Francesco Paolo Lovergine <frankie at debian.org>  Sat, 14 Jun 2008 00:03:01 +0200
+ -- Francesco Paolo Lovergine <frankie at debian.org>  Mon, 16 Jun 2008 14:16:11 +0200
 
 gmt (4.2.1-1) unstable; urgency=low
 

Modified: packages/gmt/trunk/debian/gmt-examples.examples
===================================================================
--- packages/gmt/trunk/debian/gmt-examples.examples	2008-06-16 09:19:55 UTC (rev 1645)
+++ packages/gmt/trunk/debian/gmt-examples.examples	2008-06-16 15:26:06 UTC (rev 1646)
@@ -1 +1 @@
-GMT4.2.0/examples/*
+GMT/examples/*

Modified: packages/gmt/trunk/debian/rules
===================================================================
--- packages/gmt/trunk/debian/rules	2008-06-16 09:19:55 UTC (rev 1645)
+++ packages/gmt/trunk/debian/rules	2008-06-16 15:26:06 UTC (rev 1646)
@@ -104,7 +104,9 @@
 	# Configuration files are still at the wrong place, let's fix this
 	mv $(DESTDIR)/usr/share/gmt/conf/*.conf $(DESTDIR)/etc/gmt/
 	install -m644 debian/coastline.conf $(DESTDIR)/etc/gmt/
-	ln -fs /etc/gmt/*.conf $(DESTDIR)/usr/share/gmt/
+	for file in $(DESTDIR)/etc/gmt/*.conf; do \
+		ln -fs /etc/gmt/`basename $$file` $(DESTDIR)/usr/share/gmt/`basename $$file`; \
+	done
 
 	# GMT wrapper does not help in /usr/lib/gmt/bin (not in path by default)
 	# So: Move it to /usr/bin and patch it a bit locally to alter the PATH var
@@ -158,6 +160,8 @@
 	dh_strip -i
 	dh_link -i
 	dh_compress -i -X.pdf
+	# Uncompress examples stuff 
+	find  $(CURDIR)/debian/gmt-examples/usr/share/doc/gmt-examples/examples -name "*.gz" -exec gunzip {} \;
 	dh_fixperms -i
 	dh_installdeb -i
 	dh_gencontrol -i

Added: packages/gmt/trunk/debian/watch
===================================================================
--- packages/gmt/trunk/debian/watch	                        (rev 0)
+++ packages/gmt/trunk/debian/watch	2008-06-16 15:26:06 UTC (rev 1646)
@@ -0,0 +1,2 @@
+version=3
+ftp://ibis.grdl.noaa.gov/pub/gmt/GMT([0-9.]+)\_src\.tar\.bz2	debian	uupdate




More information about the Pkg-grass-devel mailing list