diff --git a/files/inking-tool.patch b/files/inking-tool.patch new file mode 100644 --- /dev/null +++ b/files/inking-tool.patch @@ -0,0 +1,15 @@ +Fix github issue 1038: https://github.com/mypaint/mypaint/issues/1038 + +diff --git a/gui/inktool.py b/gui/inktool.py +index b60fb3a..99588bd 100644 +--- a/gui/inktool.py ++++ b/gui/inktool.py +@@ -1076,7 +1076,7 @@ class OptionsPresenter (object): + def _ensure_ui_populated(self): + if self._options_grid is not None: + return +- builder_xml = os.path.splitext(__file__)[0] + ".glade" ++ builder_xml = os.path.join(self._app.datapath, "gui/inktool.glade") + builder = Gtk.Builder() + builder.set_translation_domain("mypaint") + builder.add_from_file(builder_xml) diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,7 +1,6 @@ name : mypaint -homepage : http://mypaint.org/ version : 1.2.1 -release : 11 +release : 12 source : - https://github.com/mypaint/mypaint/releases/download/v1.2.1/mypaint-1.2.1.tar.xz : ed2349382f6a0c583d7defae06427e97ac7d14acb77b9e2c0fc7171ddd96d3c7 license : GPL-2.0-or-later @@ -10,6 +9,7 @@ Wacom-style graphics tablets description: | MyPaint is a simple drawing and painting program that works well with Wacom-style graphics tablets. +homepage : http://mypaint.org/ builddeps : - pkgconfig(gtk+-3.0) - pkgconfig(json-c) @@ -26,6 +26,7 @@ - python-protobuf setup : | %patch -p1 < $pkgfiles/swig4.patch + %patch -p1 < $pkgfiles/inking-tool.patch build : | scons install : | diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -3,8 +3,8 @@ mypaint http://mypaint.org/ - Pierre-Yves - pyu@riseup.net + Longwu Ou + xulongwu4@gmail.com GPL-2.0-or-later multimedia.graphics @@ -899,12 +899,12 @@ - - 2020-02-20 + + 2020-02-21 1.2.1 Packaging update - Pierre-Yves - pyu@riseup.net + Longwu Ou + xulongwu4@gmail.com \ No newline at end of file