[med-svn] r1157 - in trunk/packages/emboss/trunk/debian: . patches

charles-guest at alioth.debian.org charles-guest at alioth.debian.org
Fri Jan 18 06:59:46 UTC 2008


Author: charles-guest
Date: 2008-01-18 06:59:46 +0000 (Fri, 18 Jan 2008)
New Revision: 1157

Added:
   trunk/packages/emboss/trunk/debian/patches/using-pager-in-tfm.patch
Modified:
   trunk/packages/emboss/trunk/debian/changelog
   trunk/packages/emboss/trunk/debian/patches/series
Log:
Patching tfm so that it uses the alternatives system /usr/bin/pager if the PAGER environment variable is not defined

Modified: trunk/packages/emboss/trunk/debian/changelog
===================================================================
--- trunk/packages/emboss/trunk/debian/changelog	2008-01-17 23:03:51 UTC (rev 1156)
+++ trunk/packages/emboss/trunk/debian/changelog	2008-01-18 06:59:46 UTC (rev 1157)
@@ -1,5 +1,11 @@
-emboss (5.0.0-3) unstable; urgency=low
+emboss (5.0.0-4) UNRELEASED; urgency=low
 
+  * debian/patches/using-pager-in-tfm.patch:
+    Patching tfm so that it uses the alternatives system `/usr/bin/pager' if
+    the `PAGER' environment variable is not defined.
+
+ -- Charles Plessy <charles-debian-nospam at plessy.org>  Fri, 18 Jan 2008 15:54:09 +0900
+
   [ Nelson A. de Oliveira ]
   * Using bzip2 compression for packages. This saves about 832KB of space.
 

Modified: trunk/packages/emboss/trunk/debian/patches/series
===================================================================
--- trunk/packages/emboss/trunk/debian/patches/series	2008-01-17 23:03:51 UTC (rev 1156)
+++ trunk/packages/emboss/trunk/debian/patches/series	2008-01-18 06:59:46 UTC (rev 1157)
@@ -1,2 +1,3 @@
+using-pager-in-tfm.patch
 psiphi-fix-2007-07-27.patch
 ajindex-fix-2008-01-09.patch

Added: trunk/packages/emboss/trunk/debian/patches/using-pager-in-tfm.patch
===================================================================
--- trunk/packages/emboss/trunk/debian/patches/using-pager-in-tfm.patch	                        (rev 0)
+++ trunk/packages/emboss/trunk/debian/patches/using-pager-in-tfm.patch	2008-01-18 06:59:46 UTC (rev 1157)
@@ -0,0 +1,13 @@
+By default, use /usr/bin/pager, which always exist in Debian and is managed
+through the alternatives system.
+--- a/emboss/tfm.c
++++ b/emboss/tfm.c
+@@ -87,7 +87,7 @@
+ 	    if(shellpager)
+ 		ajStrAssignC(&pager,shellpager);
+ 	    if(!ajStrGetLen(pager))
+-		ajStrAssignC(&pager,"more");
++		ajStrAssignC(&pager,"pager");
+ 	}
+ 	ajFmtPrintS(&cmd,"%S %S",pager,path);
+ 	system(ajStrGetPtr(cmd));




More information about the debian-med-commit mailing list