[gimp/gimp-2-10] Issue #2543: gimp doesn't open on debian stretch (libmypaint crash).
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] Issue #2543: gimp doesn't open on debian stretch (libmypaint crash).
- Date: Tue, 12 Nov 2019 16:17:47 +0000 (UTC)
commit c0c0e9afc66edd3f5da800551106538b0b63b8a3
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.
(cherry picked from commit 5da252ca18418bf349354db0baf4987d3a30a68c)
configure.ac | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 267913d732..c79c324f26 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1919,8 +1919,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])])
@@ -3086,7 +3092,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_libheif"
+$override_bug_report_url$warning_vector_icons_windows$warning_glib_networking$warning_gcc$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]