rpms/xarchiver/devel xarchiver-0.4.9-xdg-open.patch, 1.1, 1.2 xarchiver.spec, 1.9, 1.10

Christoph Wickert (cwickert) fedora-extras-commits at redhat.com
Fri Mar 14 21:54:56 UTC 2008


Author: cwickert

Update of /cvs/pkgs/rpms/xarchiver/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3093

Modified Files:
	xarchiver-0.4.9-xdg-open.patch xarchiver.spec 
Log Message:
tweak xdg-open.patch to prefer exo-open over htmlview

xarchiver-0.4.9-xdg-open.patch:

Index: xarchiver-0.4.9-xdg-open.patch
===================================================================
RCS file: /cvs/pkgs/rpms/xarchiver/devel/xarchiver-0.4.9-xdg-open.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xarchiver-0.4.9-xdg-open.patch	14 Mar 2008 21:20:49 -0000	1.1
+++ xarchiver-0.4.9-xdg-open.patch	14 Mar 2008 21:54:48 -0000	1.2
@@ -2,20 +2,15 @@
 ===================================================================
 --- src/callbacks.c	(revision 24249)
 +++ src/callbacks.c	(working copy)
-@@ -2163,11 +2163,15 @@
+@@ -2163,7 +2163,10 @@
  	gchar *browser_path;
  
  	//TODO: retrieve the user set browser from prefs and use it
 -	browser_path = g_find_program_in_path ("exo-open");
 +	browser_path = g_find_program_in_path ("xdg-open");
++	if ( browser_path == NULL)
++		browser_path = g_find_program_in_path ("exo-open");
 +
  	if ( browser_path == NULL)
  		browser_path = g_find_program_in_path ("htmlview");
  
- 	if ( browser_path == NULL)
-+		browser_path = g_find_program_in_path ("exo-open");
-+
-+	if ( browser_path == NULL)
- 		browser_path = g_find_program_in_path ("firefox");
- 
- 	if ( browser_path == NULL)


Index: xarchiver.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xarchiver/devel/xarchiver.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- xarchiver.spec	14 Mar 2008 21:22:43 -0000	1.9
+++ xarchiver.spec	14 Mar 2008 21:54:48 -0000	1.10
@@ -11,7 +11,7 @@
 # tar -cjf xarchiver-`date +%G%m%d`svn.tar.bz2 xarchiver
 Source0:        xarchiver-20070103svn.tar.bz2
 #Source0:        http://dl.sf.net/sourceforge/xarchiver/xarchiver-%{version}.tar.bz2
-Patch0:         %{name}-0.4.9-xdg-open.patch
+Patch0:         %{name}-0.4.9-xdg-open.patch2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel, libxml2-devel, gettext, desktop-file-utils




More information about the fedora-extras-commits mailing list