diff --git a/blam-fix-THEME_DIR-path.patch b/blam-fix-THEME_DIR-path.patch new file mode 100644 index 0000000..c7d3e7e --- /dev/null +++ b/blam-fix-THEME_DIR-path.patch @@ -0,0 +1,11 @@ +--- src/Defines.cs.in.old 2007-05-30 22:04:49.000000000 -0700 ++++ src/Defines.cs.in 2007-05-30 22:05:23.000000000 -0700 +@@ -20,7 +20,7 @@ + public static string THEME_DIR = APP_DATADIR + "/themes"; + public static string PERSONAL_THEME_DIR = APP_HOMEDIR + "/themes"; + // search for installed themes in APP_HOMEDIR/html ... (mo) +- public static string DEFAULT_THEME = THEME_DIR + "blam"; ++ public static string DEFAULT_THEME = THEME_DIR + "/blam"; + + public static string THEME_INDEX_NAME = "theme.html"; + } diff --git a/blam.spec b/blam.spec index 37a89a3..908db98 100644 --- a/blam.spec +++ b/blam.spec @@ -1,10 +1,10 @@ ## Hopefully Mono and multilib will play nicely soon, but until then... %define _libdir %{_prefix}/lib -%define dbus_sharp_min_version 0.60 +%define dbus_sharp_min_version 0.60 Name: blam Version: 1.8.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: An RSS/RDF feed reader Group: Applications/Internet @@ -14,6 +14,7 @@ URL: http://www.cmartin.tk/blam.html Source0: http://www.cmartin.tk/blam/%{name}-%{version}.tar.bz2 Patch0: %{name}-fix-PrintJob-ambiguous-reference.patch Patch1: %{name}-fedora-people-in-default-collection.patch +Patch2: %{name}-fix-THEME_DIR-path.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -53,6 +54,7 @@ use and clean interface to stay up to date %setup -q %patch0 -p0 -b .fix-PrintJob-ambiguous-reference-compile-error %patch1 -p0 -b .add-fedora-people-feed-to-default-collection.xml +%patch2 -p0 -b .fix-THEME_DIR-path %build @@ -116,6 +118,11 @@ update-desktop-database &> /dev/null ||: %{_mandir}/man?/%{name}.1* %changelog +* Wed May 30 2007 Peter Gordon - 1.8.3-4 +- Add a patch to fix the default theme directory search path to prevent crashes + at startup (fixes bug 241465): + + fix-THEME_DIR-path.patch + * Fri Apr 06 2007 Peter Gordon - 1.8.3-3 - Add hard dependency on dbus-sharp, since it's not automatically picked up by RPM at build-time from the dbus-sharp-devel BuildRequires. (Thanks to