[pluma] 12/13: debian/patches: Add 2000_disable_python_plugins.patch.

Martin Wimpress flexiondotorg-guest at moszumanska.debian.org
Fri May 6 13:56:43 UTC 2016


This is an automated email from the git hooks/post-receive script.

flexiondotorg-guest pushed a commit to branch master
in repository pluma.

commit 10c817796829a6cf161ebfcd93de4d92288ea901
Author: Martin Wimpress <code at flexion.org>
Date:   Fri May 6 14:42:26 2016 +0100

    debian/patches: Add 2000_disable_python_plugins.patch.
---
 debian/patches/2000_disable_python_plugins.patch | 70 ++++++++++++++++++++++++
 debian/patches/series                            |  1 +
 2 files changed, 71 insertions(+)

diff --git a/debian/patches/2000_disable_python_plugins.patch b/debian/patches/2000_disable_python_plugins.patch
new file mode 100644
index 0000000..1bba317
--- /dev/null
+++ b/debian/patches/2000_disable_python_plugins.patch
@@ -0,0 +1,70 @@
+Description: Completely disable all Python plugins.
+Author: Martin Wimpress <code at flexion.org>
+Abstract:
+ GTK2 Python plugins are not supported in a GTK3 build of Pluma. This
+ patch prevents all GTK2 Python plugins from being built so that they
+ do not appear in the Pluma Preferences. Attempting to enable a GTK2
+ Python plugin in GTK3 Pluma will cause Pluma to crash.
+
+diff --git a/configure.ac b/configure.ac
+index 21a22b1..81f5ee9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -407,21 +407,9 @@ plugin-loaders/python/bindings/Makefile
+ plugins/Makefile
+ plugins/changecase/Makefile
+ plugins/docinfo/Makefile
+-plugins/externaltools/data/Makefile
+-plugins/externaltools/Makefile
+-plugins/externaltools/scripts/Makefile
+-plugins/externaltools/tools/Makefile
+ plugins/filebrowser/Makefile
+ plugins/filebrowser/org.mate.pluma.plugins.filebrowser.gschema.xml
+ plugins/modelines/Makefile
+-plugins/pythonconsole/Makefile
+-plugins/pythonconsole/pythonconsole/Makefile
+-plugins/quickopen/Makefile
+-plugins/quickopen/quickopen/Makefile
+-plugins/snippets/data/lang/Makefile
+-plugins/snippets/data/Makefile
+-plugins/snippets/Makefile
+-plugins/snippets/snippets/Makefile
+ plugins/sort/Makefile
+ plugins/spell/Makefile
+ plugins/spell/org.mate.pluma.plugins.spell.gschema.xml
+diff --git a/plugins/Makefile.am b/plugins/Makefile.am
+index f8df8e4..c80139c 100644
+--- a/plugins/Makefile.am
++++ b/plugins/Makefile.am
+@@ -1,12 +1,8 @@
+ DIST_SUBDIRS =		\
+ 	changecase 	\
+ 	docinfo 	\
+-	externaltools	\
+ 	filebrowser 	\
+ 	modelines	\
+-	pythonconsole	\
+-	quickopen	\
+-	snippets	\
+ 	sort 		\
+ 	spell 		\
+ 	taglist 	\
+@@ -16,7 +12,6 @@ DIST_SUBDIRS =		\
+ SUBDIRS = 		\
+ 	changecase	\
+ 	docinfo		\
+-	externaltools \
+ 	filebrowser	\
+ 	modelines	\
+ 	sort		\
+@@ -24,10 +19,6 @@ SUBDIRS = 		\
+ 	time		\
+ 	trailsave
+ 
+-if ENABLE_PYTHON
+-SUBDIRS      += pythonconsole snippets quickopen
+-endif
+-
+ if ENABLE_ENCHANT
+ SUBDIRS      += spell
+ endif
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8fa1ea7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+2000_disable_python_plugins.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/pluma.git



More information about the pkg-mate-commits mailing list