1 |
commit: df073c94fd6be3ffefaa2965d93eb1fe1bdc12f5 |
2 |
Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 22 00:48:22 2011 +0000 |
4 |
Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 22 00:48:49 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=df073c94 |
7 |
|
8 |
gnome-extra/yelp: fix typo in calling schema |
9 |
|
10 |
--- |
11 |
.../yelp/files/yelp-2.91.90-fix-schema-typo.patch | 12 ++++++++++++ |
12 |
...{yelp-2.91.90.ebuild => yelp-2.91.90-r1.ebuild} | 6 ++++-- |
13 |
2 files changed, 16 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/gnome-extra/yelp/files/yelp-2.91.90-fix-schema-typo.patch b/gnome-extra/yelp/files/yelp-2.91.90-fix-schema-typo.patch |
16 |
new file mode 100644 |
17 |
index 0000000..96dfe8e |
18 |
--- /dev/null |
19 |
+++ b/gnome-extra/yelp/files/yelp-2.91.90-fix-schema-typo.patch |
20 |
@@ -0,0 +1,12 @@ |
21 |
+diff -Naur yelp-2.91.90/src/yelp-application.c yelp-2.91.90.new/src/yelp-application.c |
22 |
+--- yelp-2.91.90/src/yelp-application.c 2011-02-22 02:37:18.000000000 +0530 |
23 |
++++ yelp-2.91.90.new/src/yelp-application.c 2011-02-22 06:15:33.135000075 +0530 |
24 |
+@@ -582,7 +582,7 @@ |
25 |
+ priv->backend, |
26 |
+ settings_path); |
27 |
+ else |
28 |
+- settings = g_settings_new_with_path ("org.gnome.yelp.document", |
29 |
++ settings = g_settings_new_with_path ("org.gnome.yelp.documents", |
30 |
+ settings_path); |
31 |
+ key = g_strdup (doc_uri); |
32 |
+ g_hash_table_insert (priv->docsettings, key, settings); |
33 |
|
34 |
diff --git a/gnome-extra/yelp/yelp-2.91.90.ebuild b/gnome-extra/yelp/yelp-2.91.90-r1.ebuild |
35 |
similarity index 92% |
36 |
rename from gnome-extra/yelp/yelp-2.91.90.ebuild |
37 |
rename to gnome-extra/yelp/yelp-2.91.90-r1.ebuild |
38 |
index 1496ff9..76e9cc6 100644 |
39 |
--- a/gnome-extra/yelp/yelp-2.91.90.ebuild |
40 |
+++ b/gnome-extra/yelp/yelp-2.91.90-r1.ebuild |
41 |
@@ -5,7 +5,7 @@ |
42 |
EAPI="2" |
43 |
GNOME2_LA_PUNT="yes" |
44 |
|
45 |
-inherit gnome2 |
46 |
+inherit eutils gnome2 |
47 |
|
48 |
DESCRIPTION="Help browser for GNOME" |
49 |
HOMEPAGE="http://www.gnome.org/" |
50 |
@@ -36,9 +36,11 @@ DEPEND="${RDEPEND} |
51 |
|
52 |
DOCS="AUTHORS ChangeLog NEWS README TODO" |
53 |
|
54 |
-pkg_setup() { |
55 |
+src_prepare() { |
56 |
G2CONF="${G2CONF} |
57 |
--disable-schemas-compile |
58 |
--enable-bz2 |
59 |
$(use_enable lzma)" |
60 |
+ |
61 |
+ epatch "${FILESDIR}/${P}-fix-schema-typo.patch" |
62 |
} |