SOURCES: galeon-home_etc.patch - corrections in global history to ...

zboczuch zboczuch at pld-linux.org
Mon Dec 12 14:37:42 CET 2005


Author: zboczuch                     Date: Mon Dec 12 13:37:42 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- corrections in global history to build against version 2.0.0

---- Files affected:
SOURCES:
   galeon-home_etc.patch (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SOURCES/galeon-home_etc.patch
diff -u SOURCES/galeon-home_etc.patch:1.7 SOURCES/galeon-home_etc.patch:1.8
--- SOURCES/galeon-home_etc.patch:1.7	Sat Feb 26 15:46:03 2005
+++ SOURCES/galeon-home_etc.patch	Mon Dec 12 14:37:37 2005
@@ -172,23 +172,32 @@
 diff -urN aa/galeon-1.3.17/embed/global-history.c galeon-1.3.17/embed/global-history.c
 --- aa/galeon-1.3.17/embed/global-history.c	2004-06-22 07:00:57.000000000 +0200
 +++ galeon-1.3.17/embed/global-history.c	2004-08-10 15:05:12.756970376 +0200
-@@ -355,7 +355,7 @@
-         gchar *histfile;
+@@ -398,7 +398,7 @@
+ {
+ 	char *histfile;
  
- 	/* build the filename */
 -	histfile = g_build_filename (g_get_home_dir (), GALEON_DIR, 
-+	histfile = g_build_filename (getenv("HOME_ETC") ? getenv("HOME_ETC") : g_get_home_dir (), GALEON_DIR, 
++    histfile = g_build_filename (getenv("HOME_ETC") ? getenv("HOME_ETC") : g_get_home_dir (), GALEON_DIR,
+ 				     "history2.xml", NULL);
+ 	if (access (histfile, F_OK) == 0)
+ 	{
+@@ -406,7 +406,7 @@
+ 	}
+ 	g_free (histfile);
+ 
+-	histfile = g_build_filename (g_get_home_dir (), GALEON_DIR, 
++    histfile = g_build_filename (getenv("HOME_ETC") ? getenv("HOME_ETC") : g_get_home_dir (), GALEON_DIR,
  				     "history.xml", NULL);
- 	
- 	/* build the initial history hash table */
-@@ -505,7 +505,7 @@
+ 	if (access (histfile, F_OK) == 0)
+ 	{
+@@ -608,7 +608,7 @@
  		return;
  	}
  
 -	histfile = g_build_filename (g_get_home_dir (),
 +	histfile = g_build_filename (getenv("HOME_ETC") ? getenv("HOME_ETC") : g_get_home_dir (),
  				     GALEON_DIR,
- 				     "history.xml",
+ 				     "history2.xml",
  				     NULL);
 diff -urN aa/galeon-1.3.17/galeon-config-tool.in galeon-1.3.17/galeon-config-tool.in
 --- aa/galeon-1.3.17/galeon-config-tool.in	2002-03-14 08:40:24.000000000 +0100
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/galeon-home_etc.patch?r1=1.7&r2=1.8&f=u




More information about the pld-cvs-commit mailing list