Index: xarchiver-0.4.9-xdg-open.patch =================================================================== RCS file: xarchiver-0.4.9-xdg-open.patch diff -N xarchiver-0.4.9-xdg-open.patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ xarchiver-0.4.9-xdg-open.patch 1 Oct 2007 18:14:08 -0000 @@ -0,0 +1,21 @@ +Index: src/callbacks.c +=================================================================== +--- src/callbacks.c (revision 24249) ++++ src/callbacks.c (working copy) +@@ -2163,11 +2163,15 @@ + 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 ("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.6 diff -u -r1.6 xarchiver.spec --- xarchiver.spec 28 Aug 2007 21:15:52 -0000 1.6 +++ xarchiver.spec 1 Oct 2007 18:14:08 -0000 @@ -11,11 +11,12 @@ # 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtk2-devel, libxml2-devel, gettext, desktop-file-utils BuildRequires: xfce4-dev-tools >= 4.3.90.2 -Requires: arj, binutils, bzip2, cpio, gzip, htmlview, tar, unzip, zip +Requires: arj, binutils, bzip2, cpio, gzip, xdg-utils, tar, unzip, zip %description Xarchiver is a lightweight GTK2 only frontend for manipulating 7z, arj, bzip2, @@ -26,10 +27,11 @@ %prep %setup -qn xarchiver +%patch0 -p0 +./autogen.sh %build -./autogen.sh %configure make %{?_smp_mflags}