fix build

This commit is contained in:
Matthias Clasen 2010-06-30 04:37:32 +00:00
parent f6c4902e6c
commit 0e84bd9809
2 changed files with 15 additions and 0 deletions

12
yelp-keyfile.patch Normal file
View File

@ -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);

View File

@ -33,6 +33,8 @@ BuildRequires: gnome-common
BuildRequires: intltool BuildRequires: intltool
BuildRequires: automake autoconf libtool BuildRequires: automake autoconf libtool
Patch0: yelp-keyfile.patch
%description %description
Yelp is the help browser for the GNOME desktop. It is designed Yelp is the help browser for the GNOME desktop. It is designed
to help you browse all the documentation on your system in to help you browse all the documentation on your system in
@ -59,6 +61,7 @@ the libraries in the yelp-libs package.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .keyfile
%build %build
%configure %configure