fix build
This commit is contained in:
parent
f6c4902e6c
commit
0e84bd9809
12
yelp-keyfile.patch
Normal file
12
yelp-keyfile.patch
Normal 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);
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user