diff -Nru pluma-1.20.1/debian/changelog pluma-1.20.1/debian/changelog --- pluma-1.20.1/debian/changelog 2018-04-09 08:23:20.000000000 +0000 +++ pluma-1.20.1/debian/changelog 2018-04-25 10:51:50.000000000 +0000 @@ -1,3 +1,12 @@ +pluma (1.20.1-3ubuntu1) bionic; urgency=medium + + * debian/patches: + + Add 0001_disable_python_plugins.patch. Disable Python plugins because + libpeas only supports Python3 and the Python plugins in Pluma only + support Python2. (LP: #1743133) (LP: #1743137) + + -- Martin Wimpress Wed, 25 Apr 2018 11:51:50 +0100 + pluma (1.20.1-2ubuntu1) bionic; urgency=medium * debian/control: diff -Nru pluma-1.20.1/debian/patches/0001_disable_python_plugins.patch pluma-1.20.1/debian/patches/0001_disable_python_plugins.patch --- pluma-1.20.1/debian/patches/0001_disable_python_plugins.patch 1970-01-01 00:00:00.000000000 +0000 +++ pluma-1.20.1/debian/patches/0001_disable_python_plugins.patch 2018-04-25 10:50:26.000000000 +0000 @@ -0,0 +1,68 @@ +Author: Wolfgang Ulbrich +Description: Disable Python plugins because libpeas only supports Python3 and the Python plugins in Pluma only support Python2. + +diff --git a/configure.ac b/configure.ac +index 8ccb37d..177d305 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -181,8 +181,6 @@ else + have_introspection=no + fi + +-AM_PATH_PYTHON([2.7]) +- + dnl ================================================================ + dnl GSettings related settings + dnl ================================================================ +@@ -233,21 +231,9 @@ pixmaps/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 28ae891..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,12 +12,8 @@ DIST_SUBDIRS = \ + SUBDIRS = \ + changecase \ + docinfo \ +- externaltools \ + filebrowser \ + modelines \ +- pythonconsole \ +- quickopen \ +- snippets \ + sort \ + taglist \ + time \ diff -Nru pluma-1.20.1/debian/patches/series pluma-1.20.1/debian/patches/series --- pluma-1.20.1/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ pluma-1.20.1/debian/patches/series 2018-04-25 10:46:14.000000000 +0000 @@ -0,0 +1 @@ +0001_disable_python_plugins.patch