From 24af540026d86457ebdacfd67991a8c77bcfb89e Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Sun, 29 Jan 2023 08:34:05 +0300 Subject: [PATCH] gegl. --- multimedia/graphics/gegl/actions.py | 17 ++++------- .../gegl/files/Libraw_0_21_compatible.patch | 30 +++++++++++++++++++ multimedia/graphics/gegl/pspec.xml | 16 +++++++--- multimedia/graphics/gegl/translations.xml | 2 +- 4 files changed, 49 insertions(+), 16 deletions(-) create mode 100644 multimedia/graphics/gegl/files/Libraw_0_21_compatible.patch diff --git a/multimedia/graphics/gegl/actions.py b/multimedia/graphics/gegl/actions.py index d9c28b38a8..89eb259596 100644 --- a/multimedia/graphics/gegl/actions.py +++ b/multimedia/graphics/gegl/actions.py @@ -2,22 +2,17 @@ # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licenses/gpl.txt +# See the file https://www.gnu.org/licenses/gpl-3.0.txt - -from pisi.actionsapi import get -from pisi.actionsapi import mesontools -from pisi.actionsapi import pisitools +from pisi.actionsapi import mesontools, pisitools def setup(): - mesontools.configure("-Ddocs=false \ - -Dexiv2=enabled \ - -Dgdk-pixbuf=enabled") + mesontools.configure("-Dexiv2=enabled -Dgdk-pixbuf=enabled -Ddocs=false") def build(): mesontools.build() - + def install(): mesontools.install() - - pisitools.dodoc("AUTHORS", "COPYING", "COPYING.LESSER") \ No newline at end of file + + pisitools.dodoc("AUTHORS", "COPYING", "COPYING.LESSER", "NEWS") diff --git a/multimedia/graphics/gegl/files/Libraw_0_21_compatible.patch b/multimedia/graphics/gegl/files/Libraw_0_21_compatible.patch new file mode 100644 index 0000000000..ebdb3b9208 --- /dev/null +++ b/multimedia/graphics/gegl/files/Libraw_0_21_compatible.patch @@ -0,0 +1,30 @@ +From e2bc7a1fe46c0dcee708584555d445c9e066b6a1 Mon Sep 17 00:00:00 2001 +From: Chris Mayo +Date: Wed, 21 Dec 2022 19:32:02 +0000 +Subject: [PATCH] raw-load: make compatible with LibRaw 0.21.0 + +imgdata.params.shot_select moved to imgdata.rawparams.shot_select +https://github.com/LibRaw/LibRaw/blob/979160ff13/Changelog.txt#L182 +--- + operations/external/raw-load.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/operations/external/raw-load.c b/operations/external/raw-load.c +index 13eb661c2..7de2e232d 100644 +--- a/operations/external/raw-load.c ++++ b/operations/external/raw-load.c +@@ -114,7 +114,11 @@ prepare (GeglOperation *operation) + g_warning ("raw-load: Error Initializing raw library"); + else + { ++#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21) ++ p->LibRaw->rawparams.shot_select = o->image_num; ++#else + p->LibRaw->params.shot_select = o->image_num; ++#endif + + p->LibRaw->params.aber[0] = 1.0; + p->LibRaw->params.aber[2] = 1.0; +-- +GitLab + diff --git a/multimedia/graphics/gegl/pspec.xml b/multimedia/graphics/gegl/pspec.xml index 8dbbe7a505..da63bedec2 100644 --- a/multimedia/graphics/gegl/pspec.xml +++ b/multimedia/graphics/gegl/pspec.xml @@ -1,9 +1,9 @@ - + gegl - http://gegl.org + https://gegl.org/ PisiLinux Community admins@pisilinux.org @@ -15,7 +15,7 @@ app:console A graph based image processing framework gegl (Generic Graphics Library) provides infrastructure to do demand based cached non destructive image editing on larger than RAM buffers. Through babl it provides support for a wide range of color models and pixel storage formats for input and output. - https://download.gimp.org/pub/gegl/0.4/gegl-0.4.36.tar.xz + https://download.gimp.org/pub/gegl/0.4/gegl-0.4.40.tar.xz ruby meson @@ -47,7 +47,7 @@ poppler-glib-devel libjpeg-turbo-devel gobject-introspection-devel - babl-devel + babl-devel @@ -57,6 +57,7 @@ + Libraw_0_21_compatible.patch @@ -111,6 +112,13 @@ + + 2023-01-28 + 0.4.40 + Version bump. + fury + uglyside@yandex.ru + 2022-03-22 0.4.36 diff --git a/multimedia/graphics/gegl/translations.xml b/multimedia/graphics/gegl/translations.xml index 86972a496a..02b12ea9e8 100644 --- a/multimedia/graphics/gegl/translations.xml +++ b/multimedia/graphics/gegl/translations.xml @@ -11,4 +11,4 @@ gegl için geliştirme dosyaları gegl-devel, gegl için geliştirme dosyalarını içerir. - \ No newline at end of file +