Blame gedit-2.25.5-fix-python-path.patch
|
|
119111c |
diff -urp gedit-2.29.3.orig/plugin-loaders/python/gedit-plugin-loader-python.c gedit-2.29.3/plugin-loaders/python/gedit-plugin-loader-python.c
|
|
|
119111c |
--- gedit-2.29.3.orig/plugin-loaders/python/gedit-plugin-loader-python.c 2009-11-28 13:47:48.000000000 -0500
|
|
|
119111c |
+++ gedit-2.29.3/plugin-loaders/python/gedit-plugin-loader-python.c 2009-12-01 11:33:02.635871946 -0500
|
|
|
119111c |
@@ -486,7 +486,7 @@ gedit_python_init (GeditPluginLoaderPyth
|
|
|
119111c |
PyObject *mdict, *tuple;
|
|
|
119111c |
PyObject *gedit, *geditutils, *geditcommands, *geditplugins;
|
|
|
e10eb48 |
PyObject *gettext, *install, *gettext_args;
|
|
|
e10eb48 |
- char *argv[] = { "gedit", NULL };
|
|
|
e10eb48 |
+ char *argv[] = { GEDIT_PLUGINS_LIBS_DIR, NULL };
|
|
|
119111c |
#ifdef HAVE_SIGACTION
|
|
|
119111c |
gint res;
|
|
|
119111c |
struct sigaction old_sigint;
|
|
|
119111c |
diff -urp gedit-2.29.3.orig/plugin-loaders/python/Makefile.am gedit-2.29.3/plugin-loaders/python/Makefile.am
|
|
|
119111c |
--- gedit-2.29.3.orig/plugin-loaders/python/Makefile.am 2009-09-20 13:43:50.000000000 -0400
|
|
|
119111c |
+++ gedit-2.29.3/plugin-loaders/python/Makefile.am 2009-12-01 11:33:44.012872511 -0500
|
|
|
e10eb48 |
@@ -13,6 +13,7 @@ INCLUDES = \
|
|
|
e10eb48 |
$(DISABLE_DEPRECATED_CFLAGS) \
|
|
|
e10eb48 |
$(PYGTK_CFLAGS) \
|
|
|
e10eb48 |
$(PYTHON_CFLAGS) \
|
|
|
e10eb48 |
+ -DGEDIT_PLUGINS_LIBS_DIR=\"$(GEDIT_PLUGINS_LIBS_DIR)\" \
|
|
|
e10eb48 |
-DGEDIT_LOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\"
|
|
|
e10eb48 |
|
|
|
e10eb48 |
loader_LTLIBRARIES = libpythonloader.la
|