Hello community, here is the log from the commit of package libmypaint for openSUSE:Factory checked in at 2019-05-16 22:00:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmypaint (Old) and /work/SRC/openSUSE:Factory/.libmypaint.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmypaint" Thu May 16 22:00:49 2019 rev:2 rq:693740 version:1.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libmypaint/libmypaint.changes 2018-05-03 12:32:13.696608986 +0200 +++ /work/SRC/openSUSE:Factory/.libmypaint.new.5148/libmypaint.changes 2019-05-16 22:00:52.466749601 +0200 @@ -1,0 +2,7 @@ +Tue Apr 9 17:07:39 UTC 2019 - Atri Bhattacharya <[email protected]> + +- Add libmypaint-gegl-0.4.14.patch: Fix compilation against gegl + 0.4.14 (only for openSUSE >= 15); patch from +https://www.gimpusers.com/forums/gimp-developer/21248-libmypaint-needs-patching-for-recent-gegl. + +------------------------------------------------------------------- New: ---- libmypaint-gegl-0.4.14.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmypaint.spec ++++++ --- /var/tmp/diff_new_pack.bcZkVp/_old 2019-05-16 22:00:54.078748686 +0200 +++ /var/tmp/diff_new_pack.bcZkVp/_new 2019-05-16 22:00:54.102748673 +0200 @@ -1,7 +1,7 @@ # # spec file for package libmypaint # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,9 @@ Source: https://github.com/mypaint/libmypaint/releases/download/v%{version}/libmypaint-%{version}.tar.xz # PATCH-FIX-UPSTREAM libmypaint-bump-gegl-version.patch -- Bump minimum gegl version to new stable branch 0.4.0 Patch0: libmypaint-bump-gegl-version.patch +# PATCH-FIX-UPSTREAM libmypaint-gegl-0.4.14.patch [email protected] -- Fix compilation against gegl=0.4.14 +# See https://www.gimpusers.com/forums/gimp-developer/21248-libmypaint-needs-patching-for-recent-gegl +Patch1: libmypaint-gegl-0.4.14.patch BuildRequires: intltool BuildRequires: libtool BuildRequires: pkgconfig @@ -85,7 +88,11 @@ %lang_package %prep -%autosetup -p1 +%setup -q +%patch0 -p1 +%if 0%{?suse_version} >= 1500 +%patch1 -p1 +%endif %build autoreconf -fiv ++++++ libmypaint-gegl-0.4.14.patch ++++++ Index: libmypaint-1.3.0/gegl/mypaint-gegl-surface.c =================================================================== --- libmypaint-1.3.0.orig/gegl/mypaint-gegl-surface.c +++ libmypaint-1.3.0/gegl/mypaint-gegl-surface.c @@ -78,7 +78,7 @@ tile_request_start(MyPaintTiledSurface * if (buffer_is_native(self)) { GeglBufferIterator *iterator = gegl_buffer_iterator_new(self->buffer, &tile_bbox, 0, self->format, - read_write_flags, GEGL_ABYSS_NONE); + read_write_flags, GEGL_ABYSS_NONE, 100); // Read out gboolean completed = gegl_buffer_iterator_next(iterator); @@ -88,7 +88,7 @@ tile_request_start(MyPaintTiledSurface * g_critical("Unable to get tile aligned access to GeglBuffer"); request->buffer = NULL; } else { - request->buffer = (uint16_t *)(iterator->data[0]); + request->buffer = (uint16_t *)(iterator->items[0].data); } // So we can finish the iterator in tile_request_end()
