summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-02-18 04:05:20 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-02-18 04:05:20 +0800
commite23c4a5dffb877481557b27be7aeeb22ebfd4533 (patch)
treef894ce47b750e1bb628ca91bbf4c771dbd0507ca /editors
parentda835e20434a7119935f7ad68ce597906cea234a (diff)
downloadmarcuscom-ports-e23c4a5dffb877481557b27be7aeeb22ebfd4533.tar
marcuscom-ports-e23c4a5dffb877481557b27be7aeeb22ebfd4533.tar.gz
marcuscom-ports-e23c4a5dffb877481557b27be7aeeb22ebfd4533.tar.bz2
marcuscom-ports-e23c4a5dffb877481557b27be7aeeb22ebfd4533.tar.lz
marcuscom-ports-e23c4a5dffb877481557b27be7aeeb22ebfd4533.tar.xz
marcuscom-ports-e23c4a5dffb877481557b27be7aeeb22ebfd4533.tar.zst
marcuscom-ports-e23c4a5dffb877481557b27be7aeeb22ebfd4533.zip
Fix build with new libpeas.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15235 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'editors')
-rw-r--r--editors/gedit3/Makefile3
-rw-r--r--editors/gedit3/files/patch-libpeas22
2 files changed, 24 insertions, 1 deletions
diff --git a/editors/gedit3/Makefile b/editors/gedit3/Makefile
index 52745b351..9689d3d29 100644
--- a/editors/gedit3/Makefile
+++ b/editors/gedit3/Makefile
@@ -3,11 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/editors/gedit3/Makefile,v 1.1 2011/01/15 20:58:42 kwm Exp $
+# $MCom: ports/editors/gedit3/Makefile,v 1.2 2011/02/01 23:47:41 kwm Exp $
#
PORTNAME= gedit
PORTVERSION= 2.91.6
+PORTREVISION= 1
CATEGORIES= editors gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
diff --git a/editors/gedit3/files/patch-libpeas b/editors/gedit3/files/patch-libpeas
new file mode 100644
index 000000000..611510612
--- /dev/null
+++ b/editors/gedit3/files/patch-libpeas
@@ -0,0 +1,22 @@
+--- gedit/gedit-plugins-engine.c.orig 2011-02-17 20:58:56.000000000 +0000
++++ gedit/gedit-plugins-engine.c 2011-02-17 20:59:51.000000000 +0000
+@@ -66,6 +66,8 @@ gedit_plugins_engine_init (GeditPluginsE
+ GEDIT_TYPE_PLUGINS_ENGINE,
+ GeditPluginsEnginePrivate);
+
++ peas_engine_enable_loader (PEAS_ENGINE (engine), "python");
++
+ engine->priv->plugin_settings = g_settings_new ("org.gnome.gedit.plugins");
+
+ /* Require gedit's typelib. */
+--- gedit/dialogs/gedit-preferences-dialog.c.orig 2011-02-17 21:00:27.000000000 +0000
++++ gedit/dialogs/gedit-preferences-dialog.c 2011-02-17 21:00:49.000000000 +0000
+@@ -904,7 +904,7 @@ setup_plugins_page (GeditPreferencesDial
+
+ gedit_debug (DEBUG_PREFS);
+
+- page_content = peas_gtk_plugin_manager_new ();
++ page_content = peas_gtk_plugin_manager_new (NULL);
+ g_return_if_fail (page_content != NULL);
+
+ gtk_box_pack_start (GTK_BOX (dlg->priv->plugin_manager_place_holder),