[gimp] Issue #2543: gimp doesn't open on debian stretch (libmypaint crash).



commit 5da252ca18418bf349354db0baf4987d3a30a68c
Author: Jehan <jehan girinstud io>
Date:   Tue Nov 12 17:13:05 2019 +0100

    Issue #2543: gimp doesn't open on debian stretch (libmypaint crash).
    
    Known bug in libmypaint dependency. It has been fixed in libmypaint
    1.4.0, which we cannot hard require unfortunately (Debian testing still
    at 1.3.0).
    
    Still let's make add a warning so that packagers are aware of the issue
    and update when possible.

 configure.ac | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7c70eafad8..f288d8ea0c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1909,8 +1909,14 @@ fi
 # Check for libmypaint
 ######################
 
-PKG_CHECK_MODULES(LIBMYPAINT, libmypaint >= libmypaint_required_version,,
-                  [add_deps_error([libmypaint >= libmypaint_required_version])])
+PKG_CHECK_MODULES(LIBMYPAINT, libmypaint >= 1.4.0,,
+  [
+    PKG_CHECK_MODULES(LIBMYPAINT, libmypaint >= libmypaint_required_version,,
+                      [add_deps_error([libmypaint >= libmypaint_required_version])])
+    warning_libmypaint="
+WARNING: libmypaint lower than version 1.4.0 is known to crash when
+         parsing MyPaint 2 brushes. Please update."
+  ])
 
 PKG_CHECK_MODULES(MYPAINT_BRUSHES, mypaint-brushes-1.0,,
                   [add_deps_error([mypaint-brushes-1.0])])
@@ -3175,7 +3181,7 @@ Tests:
   Test desktop file          $have_desktop_file_validate
 
 Bug report URL: $with_bug_report_url
-$override_bug_report_url$warning_vector_icons_windows$warning_glib_networking$warning_gcc$warning_python$warning_javascript$warning_lua$warning_libheif"
+$override_bug_report_url$warning_vector_icons_windows$warning_glib_networking$warning_gcc$warning_python$warning_javascript$warning_lua$warning_libheif$warning_libmypaint"
 
 if test "x$required_deps" = "x"; then
   AC_OUTPUT


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]