Gentoo Archives: gentoo-commits

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: app-editors/gedit/, app-editors/gedit/files/
Date: Mon, 21 Feb 2011 12:28:24
Message-Id: e0602fdc648a4ec652df26ddeeeac44f6c700f90.nirbheek@gentoo
1 commit: e0602fdc648a4ec652df26ddeeeac44f6c700f90
2 Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 21 12:11:57 2011 +0000
4 Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 21 12:11:57 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=e0602fdc
7
8 app-editors/gedit: 2.91.6 -> 2.91.7
9
10 ---
11 app-editors/gedit/files/gedit-libpeas-compat.patch | 49 --------------------
12 ...{gedit-2.91.6-r1.ebuild => gedit-2.91.7.ebuild} | 10 ++--
13 app-editors/gedit/gedit-9999.ebuild | 10 ++--
14 3 files changed, 8 insertions(+), 61 deletions(-)
15
16 diff --git a/app-editors/gedit/files/gedit-libpeas-compat.patch b/app-editors/gedit/files/gedit-libpeas-compat.patch
17 deleted file mode 100644
18 index 755859c..0000000
19 --- a/app-editors/gedit/files/gedit-libpeas-compat.patch
20 +++ /dev/null
21 @@ -1,49 +0,0 @@
22 -From 9201fe7bfe6ab36830cb0660be449b0a90d6c55e Mon Sep 17 00:00:00 2001
23 -From: Garrett Regier <alias301@×××××.com>
24 -Date: Mon, 14 Feb 2011 13:23:11 +0000
25 -Subject: Update to latest libpeas API changes
26 -
27 ----
28 -diff --git a/configure.ac b/configure.ac
29 -index e7d6563..9e42175 100644
30 ---- a/configure.ac
31 -+++ b/configure.ac
32 -@@ -307,8 +307,8 @@ PKG_CHECK_MODULES(GEDIT, [
33 - gio-2.0 >= 2.25.11
34 - gtk+-3.0 >= 2.99.0
35 - gtksourceview-3.0 >= 2.91.1
36 -- libpeas-1.0 >= 0.7.0
37 -- libpeas-gtk-1.0 >= 0.7.0
38 -+ libpeas-1.0 >= 0.7.2
39 -+ libpeas-gtk-1.0 >= 0.7.2
40 - gsettings-desktop-schemas
41 - ])
42 -
43 -diff --git a/gedit/dialogs/gedit-preferences-dialog.c b/gedit/dialogs/gedit-preferences-dialog.c
44 -index 816f73d..ec1e3f7 100644
45 ---- a/gedit/dialogs/gedit-preferences-dialog.c
46 -+++ b/gedit/dialogs/gedit-preferences-dialog.c
47 -@@ -904,7 +904,7 @@ setup_plugins_page (GeditPreferencesDialog *dlg)
48 -
49 - gedit_debug (DEBUG_PREFS);
50 -
51 -- page_content = peas_gtk_plugin_manager_new ();
52 -+ page_content = peas_gtk_plugin_manager_new (NULL);
53 - g_return_if_fail (page_content != NULL);
54 -
55 - gtk_box_pack_start (GTK_BOX (dlg->priv->plugin_manager_place_holder),
56 -diff --git a/gedit/gedit-plugins-engine.c b/gedit/gedit-plugins-engine.c
57 -index 807bbc2..93596f4 100644
58 ---- a/gedit/gedit-plugins-engine.c
59 -+++ b/gedit/gedit-plugins-engine.c
60 -@@ -66,6 +66,8 @@ gedit_plugins_engine_init (GeditPluginsEngine *engine)
61 - GEDIT_TYPE_PLUGINS_ENGINE,
62 - GeditPluginsEnginePrivate);
63 -
64 -+ peas_engine_enable_loader (PEAS_ENGINE (engine), "python");
65 -+
66 - engine->priv->plugin_settings = g_settings_new ("org.gnome.gedit.plugins");
67 -
68 - /* Require gedit's typelib. */
69 ---
70 -cgit v0.8.3.4
71
72 diff --git a/app-editors/gedit/gedit-2.91.6-r1.ebuild b/app-editors/gedit/gedit-2.91.7.ebuild
73 similarity index 93%
74 rename from app-editors/gedit/gedit-2.91.6-r1.ebuild
75 rename to app-editors/gedit/gedit-2.91.7.ebuild
76 index 80c4ee5..522d324 100644
77 --- a/app-editors/gedit/gedit-2.91.6-r1.ebuild
78 +++ b/app-editors/gedit/gedit-2.91.7.ebuild
79 @@ -27,8 +27,8 @@ fi
80 # X libs are not needed for OSX (aqua)
81 RDEPEND=">=x11-libs/libSM-1.0
82 >=dev-libs/libxml2-2.5.0
83 - >=dev-libs/glib-2.27.92
84 - >=x11-libs/gtk+-2.99.0:3[introspection?]
85 + >=dev-libs/glib-2.26
86 + >=x11-libs/gtk+-3.0:3[introspection?]
87 >=x11-libs/gtksourceview-2.91.1:3.0[introspection?]
88 >=dev-libs/libpeas-0.7.2[gtk]
89
90 @@ -58,7 +58,9 @@ DEPEND="${RDEPEND}
91 DOCS="AUTHORS BUGS ChangeLog MAINTAINERS NEWS README"
92
93 pkg_setup() {
94 + # TODO: Zeitgeist support, if GNOME 3 adds it to moduleset (3.2?)
95 G2CONF="${G2CONF}
96 + --disable-indicator
97 --disable-deprecations
98 --disable-maintainer-mode
99 --disable-schemas-compile
100 @@ -78,7 +80,3 @@ pkg_postrm() {
101 gnome2_pkg_postrm
102 python_mod_cleanup /usr/$(get_libdir)/gedit/plugins
103 }
104 -
105 -src_prepare() {
106 - epatch "${FILESDIR}/${PN}-libpeas-compat.patch"
107 -}
108
109 diff --git a/app-editors/gedit/gedit-9999.ebuild b/app-editors/gedit/gedit-9999.ebuild
110 index 80c4ee5..522d324 100644
111 --- a/app-editors/gedit/gedit-9999.ebuild
112 +++ b/app-editors/gedit/gedit-9999.ebuild
113 @@ -27,8 +27,8 @@ fi
114 # X libs are not needed for OSX (aqua)
115 RDEPEND=">=x11-libs/libSM-1.0
116 >=dev-libs/libxml2-2.5.0
117 - >=dev-libs/glib-2.27.92
118 - >=x11-libs/gtk+-2.99.0:3[introspection?]
119 + >=dev-libs/glib-2.26
120 + >=x11-libs/gtk+-3.0:3[introspection?]
121 >=x11-libs/gtksourceview-2.91.1:3.0[introspection?]
122 >=dev-libs/libpeas-0.7.2[gtk]
123
124 @@ -58,7 +58,9 @@ DEPEND="${RDEPEND}
125 DOCS="AUTHORS BUGS ChangeLog MAINTAINERS NEWS README"
126
127 pkg_setup() {
128 + # TODO: Zeitgeist support, if GNOME 3 adds it to moduleset (3.2?)
129 G2CONF="${G2CONF}
130 + --disable-indicator
131 --disable-deprecations
132 --disable-maintainer-mode
133 --disable-schemas-compile
134 @@ -78,7 +80,3 @@ pkg_postrm() {
135 gnome2_pkg_postrm
136 python_mod_cleanup /usr/$(get_libdir)/gedit/plugins
137 }
138 -
139 -src_prepare() {
140 - epatch "${FILESDIR}/${PN}-libpeas-compat.patch"
141 -}