Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 597446 Details for
Bug 701098
media-gfx/mypaint-2.0.0-beta0 media-libs/libmypaint-2.0.0-beta0 media-gfx/mypaint-brushes-2.0.1 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libmypaint2-0002-build-with-and-require-gegl-0.4.patch
libmypaint2-0002-build-with-and-require-gegl-0.4.patch (text/plain), 3.96 KB, created by
crabbed halo ablution
on 2019-11-24 20:59:24 UTC
(
hide
)
Description:
libmypaint2-0002-build-with-and-require-gegl-0.4.patch
Filename:
MIME Type:
Creator:
crabbed halo ablution
Created:
2019-11-24 20:59:24 UTC
Size:
3.96 KB
patch
obsolete
>From d5c1dddc3d480a40181acc39683c0477134fa034 Mon Sep 17 00:00:00 2001 >From: Nils Philippsen <nils@redhat.com> >Date: Wed, 30 Jan 2019 14:31:35 +0100 >Subject: [PATCH 2/4] build with and require gegl-0.4 > >Fixes: #123 >--- > configure.ac | 4 ++-- > gegl/Makefile.am | 4 ++-- > gegl/libmypaint-gegl.pc.in | 2 +- > gegl/mypaint-gegl-surface.c | 4 ++-- > 4 files changed, 7 insertions(+), 7 deletions(-) > >diff --git a/configure.ac b/configure.ac >index 1e9075d..c7e6806 100644 >--- a/configure.ac >+++ b/configure.ac >@@ -45,7 +45,7 @@ m4_define([libmypaint_api_platform_version], > > ## Dependencies ## > >-m4_define([gegl_required_version], [0.3]) >+m4_define([gegl_required_version], [0.4]) > m4_define([introspection_required_version], [1.32.0]) > > AC_INIT([libmypaint], >@@ -273,7 +273,7 @@ AC_ARG_ENABLE(gegl, > ) > > if eval "test x$enable_gegl = xyes"; then >- PKG_CHECK_MODULES(GEGL, gegl-0.3 >= gegl_required_version) >+ PKG_CHECK_MODULES(GEGL, gegl-0.4 >= gegl_required_version) > fi > AM_CONDITIONAL(ENABLE_GEGL, test "x$enable_gegl" = "xyes") > >diff --git a/gegl/Makefile.am b/gegl/Makefile.am >index 79f66fa..75f8a16 100644 >--- a/gegl/Makefile.am >+++ b/gegl/Makefile.am >@@ -11,7 +11,7 @@ AM_CPPFLAGS = \ > INTROSPECTION_GIRS = > INTROSPECTION_SCANNER_ARGS = \ > --warn-all \ >- --pkg="gegl-0.3" \ >+ --pkg="gegl-0.4" \ > --pkg="glib-2.0" \ > --namespace="MyPaintGegl" \ > --nsversion="$(LIBMYPAINT_MAJOR_VERSION).$(LIBMYPAINT_MINOR_VERSION)" \ >@@ -38,7 +38,7 @@ introspection_sources = \ > mypaint-gegl-surface.c > > MyPaintGegl-@LIBMYPAINT_MAJOR_VERSION@.@LIBMYPAINT_MINOR_VERSION@.gir: libmypaint-gegl-@LIBMYPAINT_API_PLATFORM_VERSION@.la Makefile >-MyPaintGegl_@LIBMYPAINT_MAJOR_VERSION@_@LIBMYPAINT_MINOR_VERSION@_gir_INCLUDES = GObject-2.0 MyPaint-$(LIBMYPAINT_MAJOR_VERSION).$(LIBMYPAINT_MINOR_VERSION) Gegl-0.3 >+MyPaintGegl_@LIBMYPAINT_MAJOR_VERSION@_@LIBMYPAINT_MINOR_VERSION@_gir_INCLUDES = GObject-2.0 MyPaint-$(LIBMYPAINT_MAJOR_VERSION).$(LIBMYPAINT_MINOR_VERSION) Gegl-0.4 > MyPaintGegl_@LIBMYPAINT_MAJOR_VERSION@_@LIBMYPAINT_MINOR_VERSION@_gir_CFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) -I. -I.. > MyPaintGegl_@LIBMYPAINT_MAJOR_VERSION@_@LIBMYPAINT_MINOR_VERSION@_gir_LIBS = libmypaint-gegl-@LIBMYPAINT_API_PLATFORM_VERSION@.la ../libmypaint-@LIBMYPAINT_API_PLATFORM_VERSION@.la > MyPaintGegl_@LIBMYPAINT_MAJOR_VERSION@_@LIBMYPAINT_MINOR_VERSION@_gir_FILES = $(introspection_sources) >diff --git a/gegl/libmypaint-gegl.pc.in b/gegl/libmypaint-gegl.pc.in >index c1f2946..abf2139 100644 >--- a/gegl/libmypaint-gegl.pc.in >+++ b/gegl/libmypaint-gegl.pc.in >@@ -6,6 +6,6 @@ includedir=@includedir@ > Name: libmypaint > Description: MyPaint brush engine library, with GEGL integration. > Version: @LIBMYPAINT_VERSION@ >-Requires: gegl-0.3 libmypaint-@LIBMYPAINT_API_PLATFORM_VERSION@ >+Requires: gegl-0.4 libmypaint-@LIBMYPAINT_API_PLATFORM_VERSION@ > Cflags: -I${includedir}/libmypaint-gegl > Libs: -L${libdir} -lmypaint-gegl >diff --git a/gegl/mypaint-gegl-surface.c b/gegl/mypaint-gegl-surface.c >index 5c86d3c..e4a50c5 100644 >--- a/gegl/mypaint-gegl-surface.c >+++ b/gegl/mypaint-gegl-surface.c >@@ -78,7 +78,7 @@ tile_request_start(MyPaintTiledSurface *tiled_surface, MyPaintTileRequest *reque > > 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, 8); > > // Read out > gboolean completed = gegl_buffer_iterator_next(iterator); >@@ -88,7 +88,7 @@ tile_request_start(MyPaintTiledSurface *tiled_surface, MyPaintTileRequest *reque > 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() >-- >2.21.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 701098
:
597444
| 597446 |
597448
|
627326