diff -Nru mu-editor-1.0.2+dfsg/debian/changelog mu-editor-1.0.2+dfsg/debian/changelog --- mu-editor-1.0.2+dfsg/debian/changelog 2019-02-28 02:43:16.000000000 +0000 +++ mu-editor-1.0.2+dfsg/debian/changelog 2019-07-04 07:06:55.000000000 +0100 @@ -1,3 +1,12 @@ +mu-editor (1.0.2+dfsg-2ubuntu0.1) disco; urgency=medium + + [Nick Morrott] + * d/patches: add update-rtp-for-mu-debug (Closes: #930270) (LP: #1835320) + - adapted from patch from Peter Green + - fixes debugger function in python3 mode. + + -- Peter Michael Green Thu, 04 Jul 2019 06:06:55 +0000 + mu-editor (1.0.2+dfsg-2) unstable; urgency=medium * d/gbp.conf: use pristine-tar diff -Nru mu-editor-1.0.2+dfsg/debian/control mu-editor-1.0.2+dfsg/debian/control --- mu-editor-1.0.2+dfsg/debian/control 2019-02-28 02:43:16.000000000 +0000 +++ mu-editor-1.0.2+dfsg/debian/control 2019-07-04 00:35:42.000000000 +0100 @@ -1,7 +1,8 @@ Source: mu-editor Section: python Priority: optional -Maintainer: Python Applications Packaging Team +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Python Applications Packaging Team Uploaders: Nick Morrott Build-Depends: debhelper (>= 12), diff -Nru mu-editor-1.0.2+dfsg/debian/patches/series mu-editor-1.0.2+dfsg/debian/patches/series --- mu-editor-1.0.2+dfsg/debian/patches/series 2019-02-28 02:43:16.000000000 +0000 +++ mu-editor-1.0.2+dfsg/debian/patches/series 2019-06-18 01:34:00.000000000 +0100 @@ -8,3 +8,4 @@ remove-non-dfsg-images-from-docs remove-non-dfsg-resources test_app_icon_as_string +update-rtp-for-mu-debug diff -Nru mu-editor-1.0.2+dfsg/debian/patches/update-rtp-for-mu-debug mu-editor-1.0.2+dfsg/debian/patches/update-rtp-for-mu-debug --- mu-editor-1.0.2+dfsg/debian/patches/update-rtp-for-mu-debug 1970-01-01 01:00:00.000000000 +0100 +++ mu-editor-1.0.2+dfsg/debian/patches/update-rtp-for-mu-debug 2019-06-18 01:34:00.000000000 +0100 @@ -0,0 +1,23 @@ +Description: Update module search path for mu/mu-debug + When launched, mu-debug is unable to find the mu modules it depends + on because it is launched from a subdirectory of the mu module directory + structure. This patch updates the module search path to include the + root directory of the mu module structure. +Author: Nick Morrott +Forwarded: not-needed +Reviewed-by: Nick Morrott +Last-Update: 2019-06-17 +--- +--- a/mu/mu-debug.py ++++ b/mu/mu-debug.py +@@ -1,6 +1,10 @@ + #!/usr/bin/env python3 + import os + import sys ++ ++import os.path ++sys.path.insert(0, os.path.dirname(sys.path[0])) ++ + from mu.app import debug + +