This commit is contained in:
4fury-c3440d8
2023-01-29 08:34:05 +03:00
parent 018a28d752
commit 24af540026
4 changed files with 49 additions and 16 deletions
+6 -11
View File
@@ -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")
pisitools.dodoc("AUTHORS", "COPYING", "COPYING.LESSER", "NEWS")
@@ -0,0 +1,30 @@
From e2bc7a1fe46c0dcee708584555d445c9e066b6a1 Mon Sep 17 00:00:00 2001
From: Chris Mayo <aklhfex@gmail.com>
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
+12 -4
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gegl</Name>
<Homepage>http://gegl.org</Homepage>
<Homepage>https://gegl.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
@@ -15,7 +15,7 @@
<IsA>app:console</IsA>
<Summary>A graph based image processing framework</Summary>
<Description>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.</Description>
<Archive sha1sum="5939715eec112311fda560c294d5b1de1280182c" type="tarxz">https://download.gimp.org/pub/gegl/0.4/gegl-0.4.36.tar.xz</Archive>
<Archive sha1sum="f47fbd43a88ae08d58e28e78c39cea00a3b3a26a" type="tarxz">https://download.gimp.org/pub/gegl/0.4/gegl-0.4.40.tar.xz</Archive>
<BuildDependencies>
<Dependency>ruby</Dependency>
<Dependency>meson</Dependency>
@@ -47,7 +47,7 @@
<Dependency>poppler-glib-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency versionFrom="0.1.90">babl-devel</Dependency>
<Dependency versionFrom="0.1.98">babl-devel</Dependency>
<!--< Dependency>enscript</Dependency> -->
<!-- <Dependency>graphviz</Dependency> -->
<!-- <Dependency>libopenraw-devel</Dependency> -->
@@ -57,6 +57,7 @@
<!--<Patch level="1">gegl-0.2.0-cve-2012-4433-1e92e523.patch</Patch> -->
<!--<Patch level="1">gegl-0.2.0-cve-2012-4433-4757cdf7.patch</Patch> -->
<!--<Patch level="0">gegl-0.2.0-ffmpeg-0.11.patch</Patch> -->
<Patch level="1">Libraw_0_21_compatible.patch</Patch>
</Patches>
</Source>
@@ -111,6 +112,13 @@
</Package>
<History>
<Update release="19">
<Date>2023-01-28</Date>
<Version>0.4.40</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="18">
<Date>2022-03-22</Date>
<Version>0.4.36</Version>
+1 -1
View File
@@ -11,4 +11,4 @@
<Summary xml:lang="tr">gegl için geliştirme dosyaları</Summary>
<Description xml:lang="tr">gegl-devel, gegl için geliştirme dosyalarını içerir.</Description>
</Package>
</PISI>
</PISI>