[Pkg-xfce-commits] r2450 - in desktop/trunk/xfce4-session/debian: . patches

corsac at alioth.debian.org corsac at alioth.debian.org
Sat Oct 25 23:17:34 UTC 2008


Author: corsac
Date: 2008-10-25 23:17:34 +0000 (Sat, 25 Oct 2008)
New Revision: 2450

Added:
   desktop/trunk/xfce4-session/debian/patches/08_fix-fortune-path.patch
Modified:
   desktop/trunk/xfce4-session/debian/changelog
   desktop/trunk/xfce4-session/debian/patches/series
Log:
08_fix-fortune-path added, use absolute path when calling fortune.
closes: #497199 

Modified: desktop/trunk/xfce4-session/debian/changelog
===================================================================
--- desktop/trunk/xfce4-session/debian/changelog	2008-10-22 21:09:43 UTC (rev 2449)
+++ desktop/trunk/xfce4-session/debian/changelog	2008-10-25 23:17:34 UTC (rev 2450)
@@ -3,8 +3,10 @@
   * debian/patches:
     - 07_startup-speed added, speed up startup by not waiting for forks().
     - series edited to correctly include 06_rephrase-tip.
+    - 08_fix-fortune-path added, use absolute path when calling fortune.
+                                                                closes: #497199 
 
- -- Yves-Alexis Perez <corsac at debian.org>  Wed, 20 Aug 2008 09:26:13 +0200
+ -- Yves-Alexis Perez <corsac at debian.org>  Sun, 26 Oct 2008 01:13:58 +0200
 
 xfce4-session (4.4.2-6) unstable; urgency=low
 

Added: desktop/trunk/xfce4-session/debian/patches/08_fix-fortune-path.patch
===================================================================
--- desktop/trunk/xfce4-session/debian/patches/08_fix-fortune-path.patch	                        (rev 0)
+++ desktop/trunk/xfce4-session/debian/patches/08_fix-fortune-path.patch	2008-10-25 23:17:34 UTC (rev 2450)
@@ -0,0 +1,18 @@
+diff --git a/xfce4-tips/main.c b/xfce4-tips/main.c
+index 0961879..4f88935 100644
+--- a/xfce4-tips/main.c
++++ b/xfce4-tips/main.c
+@@ -115,11 +115,11 @@ next_cb(GtkWidget *btn, GtkTextBuffer *textbuf)
+ 
+   switch (option) {
+   case OPTION_TIPS:
+-    strcpy(buffer, "fortune " TIPSDIR "/tips");
++    strcpy(buffer, "/usr/games/fortune " TIPSDIR "/tips");
+     break;
+ 
+   case OPTION_FORTUNES:
+-    strcpy(buffer, "fortune");
++    strcpy(buffer, "/usr/games/fortune");
+     break;
+   }
+ 

Modified: desktop/trunk/xfce4-session/debian/patches/series
===================================================================
--- desktop/trunk/xfce4-session/debian/patches/series	2008-10-22 21:09:43 UTC (rev 2449)
+++ desktop/trunk/xfce4-session/debian/patches/series	2008-10-25 23:17:34 UTC (rev 2450)
@@ -5,3 +5,4 @@
 05_fix-resize-simple-splash-engine.patch
 06_rephrase-tip.patch
 07_startup-speed.patch
+08_fix-fortune-path.patch




More information about the Pkg-xfce-commits mailing list