[DebianGIS-dev] r690 - in packages/grass/trunk/debian: . patches

Francesco Lovergine frankie at alioth.debian.org
Mon Apr 2 21:43:01 UTC 2007


Author: frankie
Date: 2007-04-02 21:43:01 +0000 (Mon, 02 Apr 2007)
New Revision: 690

Added:
   packages/grass/trunk/debian/patches/pager.dpatch
Modified:
   packages/grass/trunk/debian/changelog
   packages/grass/trunk/debian/patches/00list
Log:
Added pager patch


Modified: packages/grass/trunk/debian/changelog
===================================================================
--- packages/grass/trunk/debian/changelog	2007-04-02 21:21:34 UTC (rev 689)
+++ packages/grass/trunk/debian/changelog	2007-04-02 21:43:01 UTC (rev 690)
@@ -2,9 +2,11 @@
 
   * Fixed watch and grass.links files for grass62
   * Install grass.pc file for pkg-config
-  * New patch: www-browser -- Use www-browser as default browser
+  * New patches:
+  	www-browser -- Use www-browser as default browser
+  	pager -- User pager as default text pager
 
- -- Francesco Paolo Lovergine <frankie at debian.org>  Fri, 30 Mar 2007 15:56:08 +0200
+ -- Francesco Paolo Lovergine <frankie at debian.org>  Mon,  2 Apr 2007 23:42:03 +0200
 
 grass (6.2.1-1) experimental; urgency=low
 

Modified: packages/grass/trunk/debian/patches/00list
===================================================================
--- packages/grass/trunk/debian/patches/00list	2007-04-02 21:21:34 UTC (rev 689)
+++ packages/grass/trunk/debian/patches/00list	2007-04-02 21:43:01 UTC (rev 690)
@@ -1,2 +1,3 @@
 htmlgen-fakeroot
 www-browser
+pager

Added: packages/grass/trunk/debian/patches/pager.dpatch
===================================================================
--- packages/grass/trunk/debian/patches/pager.dpatch	2007-04-02 21:21:34 UTC (rev 689)
+++ packages/grass/trunk/debian/patches/pager.dpatch	2007-04-02 21:43:01 UTC (rev 690)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## pager.dpatch by Francesco Paolo Lovergine <frankie at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad grass-6.2.1~/lib/init/init.sh grass-6.2.1/lib/init/init.sh
+--- grass-6.2.1~/lib/init/init.sh	2007-04-02 23:39:53.000000000 +0200
++++ grass-6.2.1/lib/init/init.sh	2007-04-02 23:41:37.000000000 +0200
+@@ -173,6 +173,9 @@
+ 
+ # Set some environment variables if they are not set
+ if [ ! "$GRASS_PAGER" ] ; then
++    if [ -x /usr/bin/pager ] ; then
++    	GRASS_PAGER=pager
++    elif
+     if [ -x /bin/more ] || [ -x /usr/bin/more ] ; then
+         GRASS_PAGER=more
+     elif [ -x /bin/less ] || [ -x /usr/bin/less ] ; then


Property changes on: packages/grass/trunk/debian/patches/pager.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-grass-devel mailing list