diff --git a/yelp-keyfile.patch b/yelp-keyfile.patch new file mode 100644 index 0000000..862144d --- /dev/null +++ b/yelp-keyfile.patch @@ -0,0 +1,12 @@ +diff -up yelp-2.31.6/src/yelp-application.c.keyfile yelp-2.31.6/src/yelp-application.c +--- yelp-2.31.6/src/yelp-application.c.keyfile 2010-06-30 00:33:20.746211407 -0400 ++++ yelp-2.31.6/src/yelp-application.c 2010-06-30 00:34:19.608212315 -0400 +@@ -224,7 +224,7 @@ application_setup (YelpApplication *app) + gchar *keyfile = g_build_filename (g_get_user_config_dir (), + "yelp", "yelp.cfg", + NULL); +- priv->backend = g_keyfile_settings_backend_new (keyfile); ++ priv->backend = g_keyfile_settings_backend_new (keyfile, "/org/gnome/yelp", NULL); + priv->gsettings = g_settings_new_with_backend ("org.gnome.yelp", + priv->backend); + g_free (keyfile); diff --git a/yelp.spec b/yelp.spec index fc1e4fa..e0666a5 100644 --- a/yelp.spec +++ b/yelp.spec @@ -33,6 +33,8 @@ BuildRequires: gnome-common BuildRequires: intltool BuildRequires: automake autoconf libtool +Patch0: yelp-keyfile.patch + %description Yelp is the help browser for the GNOME desktop. It is designed to help you browse all the documentation on your system in @@ -59,6 +61,7 @@ the libraries in the yelp-libs package. %prep %setup -q +%patch0 -p1 -b .keyfile %build %configure