GNU bug report logs - #65828
[gnome-team 0/1] Update gegl

Previous Next

Package: guix-patches;

Reported by: Vivien Kraus <vivien <at> planete-kraus.eu>

Date: Fri, 8 Sep 2023 17:00:02 UTC

Severity: normal

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 65828 in the body.
You can then email your comments to 65828 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Fri, 08 Sep 2023 17:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vivien Kraus <vivien <at> planete-kraus.eu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 08 Sep 2023 17:00:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: guix-patches <at> gnu.org
Cc: rg <at> raghavgururajan.name, liliana.prikler <at> gmail.com,
 maxim.cournoyer <at> gmail.com
Subject: [gnome-team 0/1] Update gegl
Date: Fri, 8 Sep 2023 18:57:58 +0200
Dear guix,

For now, the gnome-team branch cannot build gimp, because the gegl dependency
does not compile. If updated, however, gegl and gimp compile fine. Should we
proceed with the update?

Vivien

Vivien Kraus (1):
  gnu: gegl: Update to 0.4.46.

 gnu/packages/gimp.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


base-commit: baf5b0745446dabe8166d860996dc54cfa09db3e
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Fri, 08 Sep 2023 17:01:01 GMT) Full text and rfc822 format available.

Message #8 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: 65828 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, liliana.prikler <at> gmail.com,
 maxim.cournoyer <at> gmail.com
Subject: [gnome-team 1/1] gnu: gegl: Update to 0.4.46.
Date: Fri, 8 Sep 2023 18:50:18 +0200
* gnu/packages/gimp.scm (gegl): Update to 0.4.46.
---
 gnu/packages/gimp.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index b1ff08d652..fb279d6880 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -215,7 +215,7 @@ (define-public babl
 (define-public gegl
   (package
     (name "gegl")
-    (version "0.4.42")
+    (version "0.4.46")
     (source
      (origin
        (method url-fetch)
@@ -229,7 +229,7 @@ (define-public gegl
                                  (version-major+minor version)
                                  "/gegl-" version ".tar.xz")))
        (sha256
-        (base32 "0bg0vlmj4n9x1291b9fsjqxsal192zlg48pa57f6xid6p863ma5b"))))
+        (base32 "14p8n6vily0yp6gqafl2xy7d2rh1j48pcj0a7mglqxy83d4b5cyh"))))
     (build-system meson-build-system)
     (arguments
      `(#:configure-flags
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Fri, 08 Sep 2023 18:24:01 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Vivien Kraus <vivien <at> planete-kraus.eu>, guix-patches <at> gnu.org
Cc: rg <at> raghavgururajan.name, maxim.cournoyer <at> gmail.com
Subject: Re: [gnome-team 0/1] Update gegl
Date: Fri, 08 Sep 2023 20:23:22 +0200
Am Freitag, dem 08.09.2023 um 18:57 +0200 schrieb Vivien Kraus:
> Dear guix,
> 
> For now, the gnome-team branch cannot build gimp, because the gegl
> dependency does not compile. If updated, however, gegl and gimp
> compile fine. Should we proceed with the update?
Did you also check whether we can update GIMP to a newer version?  If
we can't and CI builds this, I'd still go for it.

Cheers




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Fri, 08 Sep 2023 18:45:02 GMT) Full text and rfc822 format available.

Message #14 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 65828 <at> debbugs.gnu.org, rg <at> raghavgururajan.name, maxim.cournoyer <at> gmail.com
Subject: [gnome-team v2 0/2] Update gegl and gimp
Date: Fri, 8 Sep 2023 20:40:15 +0200
Le vendredi 08 septembre 2023 à 20:23 +0200, Liliana Marie Prikler a écrit :
>> For now, the gnome-team branch cannot build gimp, because the gegl
>> dependency does not compile. If updated, however, gegl and gimp
>> compile fine. Should we proceed with the update?
> Did you also check whether we can update GIMP to a newer version?  If
> we can't and CI builds this, I'd still go for it.

I did not try, and yes, 2.10.34 is available now. There is also the 2.99
series, but it is work-in-progress as I understand.

Vivien Kraus (2):
  gnu: gegl: Update to 0.4.46.
  gnu: gimp: Update to 2.10.34.

 gnu/packages/gimp.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


base-commit: baf5b0745446dabe8166d860996dc54cfa09db3e
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Fri, 08 Sep 2023 18:45:02 GMT) Full text and rfc822 format available.

Message #17 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 65828 <at> debbugs.gnu.org, rg <at> raghavgururajan.name, maxim.cournoyer <at> gmail.com
Subject: [gnome-team v2 1/2] gnu: gegl: Update to 0.4.46.
Date: Fri, 8 Sep 2023 18:50:18 +0200
* gnu/packages/gimp.scm (gegl): Update to 0.4.46.
---
 gnu/packages/gimp.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index b1ff08d652..fb279d6880 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -215,7 +215,7 @@ (define-public babl
 (define-public gegl
   (package
     (name "gegl")
-    (version "0.4.42")
+    (version "0.4.46")
     (source
      (origin
        (method url-fetch)
@@ -229,7 +229,7 @@ (define-public gegl
                                  (version-major+minor version)
                                  "/gegl-" version ".tar.xz")))
        (sha256
-        (base32 "0bg0vlmj4n9x1291b9fsjqxsal192zlg48pa57f6xid6p863ma5b"))))
+        (base32 "14p8n6vily0yp6gqafl2xy7d2rh1j48pcj0a7mglqxy83d4b5cyh"))))
     (build-system meson-build-system)
     (arguments
      `(#:configure-flags
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Fri, 08 Sep 2023 18:45:03 GMT) Full text and rfc822 format available.

Message #20 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 65828 <at> debbugs.gnu.org, rg <at> raghavgururajan.name, maxim.cournoyer <at> gmail.com
Subject: [gnome-team v2 2/2] gnu: gimp: Update to 2.10.34.
Date: Fri, 8 Sep 2023 20:37:46 +0200
* gnu/packages/gimp.scm (gimp): Update to 2.10.34.
---
 gnu/packages/gimp.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index fb279d6880..3a4819278f 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -288,7 +288,7 @@ (define-public gegl
 (define-public gimp
   (package
     (name "gimp")
-    (version "2.10.32")
+    (version "2.10.34")
     (source
      (origin
        (method url-fetch)
@@ -296,7 +296,7 @@ (define-public gimp
                            (version-major+minor version)
                            "/gimp-" version ".tar.bz2"))
        (sha256
-        (base32 "09csp2d8bzf012n7hvbbwngwr9phv3rnip768qdwqpdgah2wf59z"))))
+        (base32 "18vscmy293q6wq78almv0m7r8jh4j8szvmrw56j9icsisd14c044"))))
     (build-system gnu-build-system)
     (outputs '("out"
                "doc"))                  ; 9 MiB of gtk-doc HTML
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Tue, 12 Sep 2023 17:18:02 GMT) Full text and rfc822 format available.

Message #23 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, guix-patches <at> gnu.org
Cc: rg <at> raghavgururajan.name, maxim.cournoyer <at> gmail.com
Subject: Re: [gnome-team 0/1] Update gegl
Date: Tue, 12 Sep 2023 19:17:05 +0200
Le vendredi 08 septembre 2023 à 20:23 +0200, Liliana Marie Prikler a
écrit :
> Am Freitag, dem 08.09.2023 um 18:57 +0200 schrieb Vivien Kraus:
> > Dear guix,
> > 
> > For now, the gnome-team branch cannot build gimp, because the gegl
> > dependency does not compile. If updated, however, gegl and gimp
> > compile fine. Should we proceed with the update?
> Did you also check whether we can update GIMP to a newer version?  If
> we can't and CI builds this, I'd still go for it.

This does not build on i686: it seems that gegl is requiring too recent
a librsvg.

https://bordeaux.guix.gnu.org/build/06ead8d1-5fdd-4984-b151-9e884285c834/log

../gegl-0.4.46/operations/external/svg-load.c: In function ‘load_svg’:
../gegl-0.4.46/operations/external/svg-load.c:101:5: error: unknown
type name ‘RsvgRectangle’; did you mean ‘GeglRectangle’?
  101 |     RsvgRectangle      svg_rect = {0.0, 0.0, width, height};
      |     ^~~~~~~~~~~~~
      |     GeglRectangle

What should I do? Keep an outdated gegl for i686?

Vivien




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Tue, 12 Sep 2023 18:43:02 GMT) Full text and rfc822 format available.

Message #26 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Vivien Kraus <vivien <at> planete-kraus.eu>, guix-patches <at> gnu.org
Cc: rg <at> raghavgururajan.name, maxim.cournoyer <at> gmail.com
Subject: Re: [gnome-team 0/1] Update gegl
Date: Tue, 12 Sep 2023 20:41:37 +0200
Am Dienstag, dem 12.09.2023 um 19:17 +0200 schrieb Vivien Kraus:
> Le vendredi 08 septembre 2023 à 20:23 +0200, Liliana Marie Prikler a
> écrit :
> > Am Freitag, dem 08.09.2023 um 18:57 +0200 schrieb Vivien Kraus:
> > > Dear guix,
> > > 
> > > For now, the gnome-team branch cannot build gimp, because the
> > > gegl
> > > dependency does not compile. If updated, however, gegl and gimp
> > > compile fine. Should we proceed with the update?
> > Did you also check whether we can update GIMP to a newer version? 
> > If
> > we can't and CI builds this, I'd still go for it.
> 
> This does not build on i686: it seems that gegl is requiring too
> recent
> a librsvg.
> 
> https://bordeaux.guix.gnu.org/build/06ead8d1-5fdd-4984-b151-9e884285c834/log
> 
> ../gegl-0.4.46/operations/external/svg-load.c: In function
> ‘load_svg’:
> ../gegl-0.4.46/operations/external/svg-load.c:101:5: error: unknown
> type name ‘RsvgRectangle’; did you mean ‘GeglRectangle’?
>   101 |     RsvgRectangle      svg_rect = {0.0, 0.0, width, height};
>       |     ^~~~~~~~~~~~~
>       |     GeglRectangle
> 
> What should I do? Keep an outdated gegl for i686?
You could try a local patch; if everything else fails try swapping it
with the current implementation.

Cheers




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Tue, 12 Sep 2023 19:21:01 GMT) Full text and rfc822 format available.

Message #29 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, guix-patches <at> gnu.org
Cc: rg <at> raghavgururajan.name, maxim.cournoyer <at> gmail.com
Subject: Re: [gnome-team 0/1] Update gegl
Date: Tue, 12 Sep 2023 21:20:08 +0200
Le mardi 12 septembre 2023 à 20:41 +0200, Liliana Marie Prikler a
écrit :
> Am Dienstag, dem 12.09.2023 um 19:17 +0200 schrieb Vivien Kraus:
> > Le vendredi 08 septembre 2023 à 20:23 +0200, Liliana Marie Prikler
> > a
> > écrit :
> > > Am Freitag, dem 08.09.2023 um 18:57 +0200 schrieb Vivien Kraus:
> > > > Dear guix,
> > > > 
> > > > For now, the gnome-team branch cannot build gimp, because the
> > > > gegl
> > > > dependency does not compile. If updated, however, gegl and gimp
> > > > compile fine. Should we proceed with the update?
> > > Did you also check whether we can update GIMP to a newer
> > > version? 
> > > If
> > > we can't and CI builds this, I'd still go for it.
> > 
> > This does not build on i686: it seems that gegl is requiring too
> > recent
> > a librsvg.
> > 
> > https://bordeaux.guix.gnu.org/build/06ead8d1-5fdd-4984-b151-9e884285c834/log
> > 
> > ../gegl-0.4.46/operations/external/svg-load.c: In function
> > ‘load_svg’:
> > ../gegl-0.4.46/operations/external/svg-load.c:101:5: error: unknown
> > type name ‘RsvgRectangle’; did you mean ‘GeglRectangle’?
> >   101 |     RsvgRectangle      svg_rect = {0.0, 0.0, width,
> > height};
> >       |     ^~~~~~~~~~~~~
> >       |     GeglRectangle
> > 
> > What should I do? Keep an outdated gegl for i686?
> You could try a local patch; if everything else fails try swapping it
> with the current implementation.

I don’t understand "try a local patch". Should I try to patch gegl so
that it works with the older librsvg API? I’m not sure I can do that.

Vivien





Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Tue, 12 Sep 2023 20:26:01 GMT) Full text and rfc822 format available.

Message #32 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Vivien Kraus <vivien <at> planete-kraus.eu>, guix-patches <at> gnu.org
Cc: rg <at> raghavgururajan.name, maxim.cournoyer <at> gmail.com
Subject: Re: [gnome-team 0/1] Update gegl
Date: Tue, 12 Sep 2023 22:25:15 +0200
Am Dienstag, dem 12.09.2023 um 21:20 +0200 schrieb Vivien Kraus:
> Le mardi 12 septembre 2023 à 20:41 +0200, Liliana Marie Prikler a
> écrit :
> > Am Dienstag, dem 12.09.2023 um 19:17 +0200 schrieb Vivien Kraus:
> > > Le vendredi 08 septembre 2023 à 20:23 +0200, Liliana Marie
> > > Prikler
> > > a
> > > écrit :
> > > > Am Freitag, dem 08.09.2023 um 18:57 +0200 schrieb Vivien Kraus:
> > > > > Dear guix,
> > > > > 
> > > > > For now, the gnome-team branch cannot build gimp, because the
> > > > > gegl
> > > > > dependency does not compile. If updated, however, gegl and
> > > > > gimp
> > > > > compile fine. Should we proceed with the update?
> > > > Did you also check whether we can update GIMP to a newer
> > > > version? 
> > > > If
> > > > we can't and CI builds this, I'd still go for it.
> > > 
> > > This does not build on i686: it seems that gegl is requiring too
> > > recent
> > > a librsvg.
> > > 
> > > https://bordeaux.guix.gnu.org/build/06ead8d1-5fdd-4984-b151-9e884285c834/log
> > > 
> > > ../gegl-0.4.46/operations/external/svg-load.c: In function
> > > ‘load_svg’:
> > > ../gegl-0.4.46/operations/external/svg-load.c:101:5: error:
> > > unknown
> > > type name ‘RsvgRectangle’; did you mean ‘GeglRectangle’?
> > >   101 |     RsvgRectangle      svg_rect = {0.0, 0.0, width,
> > > height};
> > >       |     ^~~~~~~~~~~~~
> > >       |     GeglRectangle
> > > 
> > > What should I do? Keep an outdated gegl for i686?
> > You could try a local patch; if everything else fails try swapping
> > it
> > with the current implementation.
> 
> I don’t understand "try a local patch". Should I try to patch gegl so
> that it works with the older librsvg API? I’m not sure I can do that.
You could try reverting 9beeefcbe14963fd8dca638625b9e397a6ec6bc7 for a
start.

Good luck!




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Tue, 12 Sep 2023 22:21:01 GMT) Full text and rfc822 format available.

Message #35 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: 65828 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, liliana.prikler <at> gmail.com,
 maxim.cournoyer <at> gmail.com
Subject: [gnome-team v3 0/2] Silly me, that was already fixed upstream
Date: Wed, 13 Sep 2023 00:16:56 +0200
I noticed the compatibility with old librsvg was already solved, see
https://gitlab.gnome.org/GNOME/gegl/-/issues/333

Vivien Kraus (2):
  gnu: gegl: Update to 0.4.46.
  gnu: gimp: Update to 2.10.34.

 gnu/local.mk                                  |  1 +
 gnu/packages/gimp.scm                         | 10 ++-
 .../gegl-compatibility-old-librsvg.patch      | 80 +++++++++++++++++++
 3 files changed, 87 insertions(+), 4 deletions(-)
 create mode 100644 gnu/packages/patches/gegl-compatibility-old-librsvg.patch


base-commit: 20e3f3e1151b2f22ae7fb5aa8764148654f35090
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Tue, 12 Sep 2023 22:21:02 GMT) Full text and rfc822 format available.

Message #38 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: 65828 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, liliana.prikler <at> gmail.com,
 maxim.cournoyer <at> gmail.com
Subject: [gnome-team v3 1/2] gnu: gegl: Update to 0.4.46.
Date: Fri, 8 Sep 2023 18:50:18 +0200
* gnu/packages/gimp.scm (gegl): Update to 0.4.46.
---
 gnu/local.mk                                  |  1 +
 gnu/packages/gimp.scm                         |  6 +-
 .../gegl-compatibility-old-librsvg.patch      | 80 +++++++++++++++++++
 3 files changed, 85 insertions(+), 2 deletions(-)
 create mode 100644 gnu/packages/patches/gegl-compatibility-old-librsvg.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 69be1a07c7..c29e99ba38 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1238,6 +1238,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/gdm-remove-hardcoded-xwayland-path.patch	\
   %D%/packages/patches/gdm-wayland-session-wrapper-from-env.patch	\
   %D%/packages/patches/gdm-pass-gdk-pixbuf-loader-env.patch	\
+  %D%/packages/patches/gegl-compatibility-old-librsvg.patch	\
   %D%/packages/patches/gemmi-fix-pegtl-usage.patch		\
   %D%/packages/patches/gemmi-fix-sajson-types.patch		\
   %D%/packages/patches/genimage-mke2fs-test.patch		\
diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index b1ff08d652..167de97ec5 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -215,7 +215,7 @@ (define-public babl
 (define-public gegl
   (package
     (name "gegl")
-    (version "0.4.42")
+    (version "0.4.46")
     (source
      (origin
        (method url-fetch)
@@ -228,8 +228,10 @@ (define-public gegl
                   (string-append "ftp://ftp.gtk.org/pub/gegl/"
                                  (version-major+minor version)
                                  "/gegl-" version ".tar.xz")))
+       (patches
+        (search-patches "gegl-compatibility-old-librsvg.patch"))
        (sha256
-        (base32 "0bg0vlmj4n9x1291b9fsjqxsal192zlg48pa57f6xid6p863ma5b"))))
+        (base32 "14p8n6vily0yp6gqafl2xy7d2rh1j48pcj0a7mglqxy83d4b5cyh"))))
     (build-system meson-build-system)
     (arguments
      `(#:configure-flags
diff --git a/gnu/packages/patches/gegl-compatibility-old-librsvg.patch b/gnu/packages/patches/gegl-compatibility-old-librsvg.patch
new file mode 100644
index 0000000000..3e5733f9fd
--- /dev/null
+++ b/gnu/packages/patches/gegl-compatibility-old-librsvg.patch
@@ -0,0 +1,80 @@
+From a99a93e5c9013bd4101f5058cdee7d0cf30234fe Mon Sep 17 00:00:00 2001
+Message-ID: <a99a93e5c9013bd4101f5058cdee7d0cf30234fe.1694554961.git.vivien <at> planete-kraus.eu>
+From: Jehan <jehan <at> girinstud.io>
+Date: Wed, 5 Jul 2023 21:18:19 +0200
+Subject: [PATCH] Issue #333: continuing to support librsvg 2.40.x (C
+ versions).
+
+Commit 9beeefcbe uses too new functions of librsvg. We could just bump
+the minimum required version but there are issues with Rust not being
+available on every platform yet. So instead, let's add some conditional
+code paths, so that it still builds with librsvg 2.40.x (which was the
+last versions fully in C) while we use newer code and no warnings when
+using newer versions.
+---
+ operations/external/svg-load.c | 25 ++++++++++++++++++++-----
+ 1 file changed, 20 insertions(+), 5 deletions(-)
+
+diff --git a/operations/external/svg-load.c b/operations/external/svg-load.c
+index 3312a0c0a..15c0b30b7 100644
+--- a/operations/external/svg-load.c
++++ b/operations/external/svg-load.c
+@@ -76,16 +76,25 @@ query_svg (GeglOperation *operation)
+ {
+   GeglProperties *o = GEGL_PROPERTIES (operation);
+   Priv *p = (Priv*) o->user_data;
++#if LIBRSVG_CHECK_VERSION(2, 52, 0)
+   gdouble out_width, out_height;
++#else
++  RsvgDimensionData dimensions;
++#endif
+ 
+   g_return_val_if_fail (p->handle != NULL, FALSE);
+ 
+-  rsvg_handle_get_intrinsic_size_in_pixels (p->handle, &out_width, &out_height);
+-
+   p->format = babl_format ("R'G'B'A u8");
+ 
++#if LIBRSVG_CHECK_VERSION(2, 52, 0)
++  rsvg_handle_get_intrinsic_size_in_pixels (p->handle, &out_width, &out_height);
+   p->height = out_height;
+-  p->width = out_width;
++  p->width  = out_width;
++#else
++  rsvg_handle_get_dimensions (p->handle, &dimensions);
++  p->height = dimensions.height;
++  p->width  = dimensions.width;
++#endif
+ 
+   return TRUE;
+ }
+@@ -98,10 +107,12 @@ load_svg (GeglOperation *operation,
+ {
+     GeglProperties    *o = GEGL_PROPERTIES (operation);
+     Priv              *p = (Priv*) o->user_data;
+-    RsvgRectangle      svg_rect = {0.0, 0.0, width, height};
+     cairo_surface_t   *surface;
+     cairo_t           *cr;
+-    GError            *error = NULL;
++#if LIBRSVG_CHECK_VERSION(2, 52, 0)
++    GError            *error    = NULL;
++    RsvgRectangle      svg_rect = {0.0, 0.0, width, height};
++#endif
+ 
+     g_return_val_if_fail (p->handle != NULL, -1);
+ 
+@@ -115,7 +126,11 @@ load_svg (GeglOperation *operation,
+                      (double)height / (double)p->height);
+       }
+ 
++#if LIBRSVG_CHECK_VERSION(2, 52, 0)
+     rsvg_handle_render_document (p->handle, cr, &svg_rect, &error);
++#else
++    rsvg_handle_render_cairo (p->handle, cr);
++#endif
+ 
+     cairo_surface_flush (surface);
+ 
+-- 
+2.41.0
+
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Tue, 12 Sep 2023 22:21:02 GMT) Full text and rfc822 format available.

Message #41 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: 65828 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, liliana.prikler <at> gmail.com,
 maxim.cournoyer <at> gmail.com
Subject: [gnome-team v3 2/2] gnu: gimp: Update to 2.10.34.
Date: Fri, 8 Sep 2023 20:37:46 +0200
* gnu/packages/gimp.scm (gimp): Update to 2.10.34.
---
 gnu/packages/gimp.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index 167de97ec5..0a7a00f0ca 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -290,7 +290,7 @@ (define-public gegl
 (define-public gimp
   (package
     (name "gimp")
-    (version "2.10.32")
+    (version "2.10.34")
     (source
      (origin
        (method url-fetch)
@@ -298,7 +298,7 @@ (define-public gimp
                            (version-major+minor version)
                            "/gimp-" version ".tar.bz2"))
        (sha256
-        (base32 "09csp2d8bzf012n7hvbbwngwr9phv3rnip768qdwqpdgah2wf59z"))))
+        (base32 "18vscmy293q6wq78almv0m7r8jh4j8szvmrw56j9icsisd14c044"))))
     (build-system gnu-build-system)
     (outputs '("out"
                "doc"))                  ; 9 MiB of gtk-doc HTML
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Tue, 12 Sep 2023 23:05:02 GMT) Full text and rfc822 format available.

Message #44 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: 65828 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, liliana.prikler <at> gmail.com,
 maxim.cournoyer <at> gmail.com
Subject: [gnome-team v4 0/3] Gegl 0.4.46 does not work yet with gnome-photos
Date: Wed, 13 Sep 2023 01:01:36 +0200
Dear guix,

gnome-photos does not work with gegl 0.4.46:

https://gitlab.gnome.org/GNOME/gnome-photos/-/issues/214

Since noone published a fix yet, I figured it would be best to use the
previous release of gegl just for gnome-photos, as of now.

What do you think?

Vivien Kraus (3):
  gnu: gegl: Update to 0.4.46.
  gnu: gegl: Add version 0.4.44 for gnome-photos.
  gnu: gimp: Update to 2.10.34.

 gnu/local.mk                                  |  1 +
 gnu/packages/gimp.scm                         | 31 ++++++-
 gnu/packages/gnome.scm                        |  2 +-
 .../gegl-compatibility-old-librsvg.patch      | 80 +++++++++++++++++++
 4 files changed, 109 insertions(+), 5 deletions(-)
 create mode 100644 gnu/packages/patches/gegl-compatibility-old-librsvg.patch


base-commit: 20e3f3e1151b2f22ae7fb5aa8764148654f35090
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Tue, 12 Sep 2023 23:05:02 GMT) Full text and rfc822 format available.

Message #47 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: 65828 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, liliana.prikler <at> gmail.com,
 maxim.cournoyer <at> gmail.com
Subject: [gnome-team v4 1/3] gnu: gegl: Update to 0.4.46.
Date: Fri, 8 Sep 2023 18:50:18 +0200
* gnu/packages/gimp.scm (gegl): Update to 0.4.46.
---
 gnu/local.mk                                  |  1 +
 gnu/packages/gimp.scm                         |  6 +-
 .../gegl-compatibility-old-librsvg.patch      | 80 +++++++++++++++++++
 3 files changed, 85 insertions(+), 2 deletions(-)
 create mode 100644 gnu/packages/patches/gegl-compatibility-old-librsvg.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 69be1a07c7..c29e99ba38 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1238,6 +1238,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/gdm-remove-hardcoded-xwayland-path.patch	\
   %D%/packages/patches/gdm-wayland-session-wrapper-from-env.patch	\
   %D%/packages/patches/gdm-pass-gdk-pixbuf-loader-env.patch	\
+  %D%/packages/patches/gegl-compatibility-old-librsvg.patch	\
   %D%/packages/patches/gemmi-fix-pegtl-usage.patch		\
   %D%/packages/patches/gemmi-fix-sajson-types.patch		\
   %D%/packages/patches/genimage-mke2fs-test.patch		\
diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index b1ff08d652..167de97ec5 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -215,7 +215,7 @@ (define-public babl
 (define-public gegl
   (package
     (name "gegl")
-    (version "0.4.42")
+    (version "0.4.46")
     (source
      (origin
        (method url-fetch)
@@ -228,8 +228,10 @@ (define-public gegl
                   (string-append "ftp://ftp.gtk.org/pub/gegl/"
                                  (version-major+minor version)
                                  "/gegl-" version ".tar.xz")))
+       (patches
+        (search-patches "gegl-compatibility-old-librsvg.patch"))
        (sha256
-        (base32 "0bg0vlmj4n9x1291b9fsjqxsal192zlg48pa57f6xid6p863ma5b"))))
+        (base32 "14p8n6vily0yp6gqafl2xy7d2rh1j48pcj0a7mglqxy83d4b5cyh"))))
     (build-system meson-build-system)
     (arguments
      `(#:configure-flags
diff --git a/gnu/packages/patches/gegl-compatibility-old-librsvg.patch b/gnu/packages/patches/gegl-compatibility-old-librsvg.patch
new file mode 100644
index 0000000000..3e5733f9fd
--- /dev/null
+++ b/gnu/packages/patches/gegl-compatibility-old-librsvg.patch
@@ -0,0 +1,80 @@
+From a99a93e5c9013bd4101f5058cdee7d0cf30234fe Mon Sep 17 00:00:00 2001
+Message-ID: <a99a93e5c9013bd4101f5058cdee7d0cf30234fe.1694554961.git.vivien <at> planete-kraus.eu>
+From: Jehan <jehan <at> girinstud.io>
+Date: Wed, 5 Jul 2023 21:18:19 +0200
+Subject: [PATCH] Issue #333: continuing to support librsvg 2.40.x (C
+ versions).
+
+Commit 9beeefcbe uses too new functions of librsvg. We could just bump
+the minimum required version but there are issues with Rust not being
+available on every platform yet. So instead, let's add some conditional
+code paths, so that it still builds with librsvg 2.40.x (which was the
+last versions fully in C) while we use newer code and no warnings when
+using newer versions.
+---
+ operations/external/svg-load.c | 25 ++++++++++++++++++++-----
+ 1 file changed, 20 insertions(+), 5 deletions(-)
+
+diff --git a/operations/external/svg-load.c b/operations/external/svg-load.c
+index 3312a0c0a..15c0b30b7 100644
+--- a/operations/external/svg-load.c
++++ b/operations/external/svg-load.c
+@@ -76,16 +76,25 @@ query_svg (GeglOperation *operation)
+ {
+   GeglProperties *o = GEGL_PROPERTIES (operation);
+   Priv *p = (Priv*) o->user_data;
++#if LIBRSVG_CHECK_VERSION(2, 52, 0)
+   gdouble out_width, out_height;
++#else
++  RsvgDimensionData dimensions;
++#endif
+ 
+   g_return_val_if_fail (p->handle != NULL, FALSE);
+ 
+-  rsvg_handle_get_intrinsic_size_in_pixels (p->handle, &out_width, &out_height);
+-
+   p->format = babl_format ("R'G'B'A u8");
+ 
++#if LIBRSVG_CHECK_VERSION(2, 52, 0)
++  rsvg_handle_get_intrinsic_size_in_pixels (p->handle, &out_width, &out_height);
+   p->height = out_height;
+-  p->width = out_width;
++  p->width  = out_width;
++#else
++  rsvg_handle_get_dimensions (p->handle, &dimensions);
++  p->height = dimensions.height;
++  p->width  = dimensions.width;
++#endif
+ 
+   return TRUE;
+ }
+@@ -98,10 +107,12 @@ load_svg (GeglOperation *operation,
+ {
+     GeglProperties    *o = GEGL_PROPERTIES (operation);
+     Priv              *p = (Priv*) o->user_data;
+-    RsvgRectangle      svg_rect = {0.0, 0.0, width, height};
+     cairo_surface_t   *surface;
+     cairo_t           *cr;
+-    GError            *error = NULL;
++#if LIBRSVG_CHECK_VERSION(2, 52, 0)
++    GError            *error    = NULL;
++    RsvgRectangle      svg_rect = {0.0, 0.0, width, height};
++#endif
+ 
+     g_return_val_if_fail (p->handle != NULL, -1);
+ 
+@@ -115,7 +126,11 @@ load_svg (GeglOperation *operation,
+                      (double)height / (double)p->height);
+       }
+ 
++#if LIBRSVG_CHECK_VERSION(2, 52, 0)
+     rsvg_handle_render_document (p->handle, cr, &svg_rect, &error);
++#else
++    rsvg_handle_render_cairo (p->handle, cr);
++#endif
+ 
+     cairo_surface_flush (surface);
+ 
+-- 
+2.41.0
+
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Tue, 12 Sep 2023 23:06:02 GMT) Full text and rfc822 format available.

Message #50 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: 65828 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, liliana.prikler <at> gmail.com,
 maxim.cournoyer <at> gmail.com
Subject: [gnome-team v4 2/3] gnu: gegl: Add version 0.4.44 for gnome-photos.
Date: Wed, 13 Sep 2023 00:52:48 +0200
* gnu/packages/gimp.scm (gegl-0.4.44): New variable.
* gnu/packages/gnome.scm (gnome-photos) [inputs]: Use gegl-0.4.44, not gegl.
---
 gnu/packages/gimp.scm  | 21 +++++++++++++++++++++
 gnu/packages/gnome.scm |  2 +-
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index 167de97ec5..0bc58e0ddf 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -287,6 +287,27 @@ (define-public gegl
     ;; application and GUI binary gegl is licensed under GPL.
     (license (list license:lgpl3+ license:gpl3+))))
 
+;; gnome-photos does not build against gegl 0.4.46 yet.
+;; https://gitlab.gnome.org/GNOME/gnome-photos/-/issues/214
+(define-public gegl-0.4.44
+  (package
+    (inherit gegl)
+    (version "0.4.44")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (list (string-append "https://download.gimp.org/pub/gegl/"
+                                 (string-take version 3)
+                                 "/gegl-" version ".tar.xz")
+                  (string-append "https://ftp.gtk.org/pub/gegl/"
+                                 (version-major+minor version)
+                                 "/gegl-" version ".tar.xz")
+                  (string-append "ftp://ftp.gtk.org/pub/gegl/"
+                                 (version-major+minor version)
+                                 "/gegl-" version ".tar.xz")))
+       (sha256
+        (base32 "09k1sn4h0bakgmq2hgd1iamprngpr81ky3fd9446lh2ycd0xnk0a"))))))
+
 (define-public gimp
   (package
     (name "gimp")
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index ad118090eb..0f149e69b5 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -855,7 +855,7 @@ (define-public gnome-photos
     (inputs
      (list babl
            cairo
-           gegl
+           gegl-0.4.44
            geocode-glib
            gexiv2
            gfbgraph
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Tue, 12 Sep 2023 23:06:02 GMT) Full text and rfc822 format available.

Message #53 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: 65828 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, liliana.prikler <at> gmail.com,
 maxim.cournoyer <at> gmail.com
Subject: [gnome-team v4 3/3] gnu: gimp: Update to 2.10.34.
Date: Fri, 8 Sep 2023 20:37:46 +0200
* gnu/packages/gimp.scm (gimp): Update to 2.10.34.
---
 gnu/packages/gimp.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index 0bc58e0ddf..96779b99fe 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -311,7 +311,7 @@ (define-public gegl-0.4.44
 (define-public gimp
   (package
     (name "gimp")
-    (version "2.10.32")
+    (version "2.10.34")
     (source
      (origin
        (method url-fetch)
@@ -319,7 +319,7 @@ (define-public gimp
                            (version-major+minor version)
                            "/gimp-" version ".tar.bz2"))
        (sha256
-        (base32 "09csp2d8bzf012n7hvbbwngwr9phv3rnip768qdwqpdgah2wf59z"))))
+        (base32 "18vscmy293q6wq78almv0m7r8jh4j8szvmrw56j9icsisd14c044"))))
     (build-system gnu-build-system)
     (outputs '("out"
                "doc"))                  ; 9 MiB of gtk-doc HTML
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Wed, 13 Sep 2023 04:19:02 GMT) Full text and rfc822 format available.

Message #56 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Vivien Kraus <vivien <at> planete-kraus.eu>, 65828 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, maxim.cournoyer <at> gmail.com
Subject: Re: [gnome-team v4 2/3] gnu: gegl: Add version 0.4.44 for
 gnome-photos.
Date: Wed, 13 Sep 2023 06:18:07 +0200
Am Mittwoch, dem 13.09.2023 um 00:52 +0200 schrieb Vivien Kraus:
> * gnu/packages/gimp.scm (gegl-0.4.44): New variable.
> * gnu/packages/gnome.scm (gnome-photos) [inputs]: Use gegl-0.4.44,
> not gegl.
> ---
>  gnu/packages/gimp.scm  | 21 +++++++++++++++++++++
>  gnu/packages/gnome.scm |  2 +-
>  2 files changed, 22 insertions(+), 1 deletion(-)
> 
> diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
> index 167de97ec5..0bc58e0ddf 100644
> --- a/gnu/packages/gimp.scm
> +++ b/gnu/packages/gimp.scm
> @@ -287,6 +287,27 @@ (define-public gegl
>      ;; application and GUI binary gegl is licensed under GPL.
>      (license (list license:lgpl3+ license:gpl3+))))
>  
> +;; gnome-photos does not build against gegl 0.4.46 yet.
> +;; https://gitlab.gnome.org/GNOME/gnome-photos/-/issues/214
> +(define-public gegl-0.4.44
> +  (package
> +    (inherit gegl)
> +    (version "0.4.44")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (list (string-append
> "https://download.gimp.org/pub/gegl/"
> +                                 (string-take version 3)
> +                                 "/gegl-" version ".tar.xz")
> +                  (string-append "https://ftp.gtk.org/pub/gegl/"
> +                                 (version-major+minor version)
> +                                 "/gegl-" version ".tar.xz")
> +                  (string-append "ftp://ftp.gtk.org/pub/gegl/"
> +                                 (version-major+minor version)
> +                                 "/gegl-" version ".tar.xz")))
This should be squashed into the previous commit so as to not break
gnome-photos in the meantime.

Cheers

Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Wed, 13 Sep 2023 05:07:02 GMT) Full text and rfc822 format available.

Message #59 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: 65828 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, liliana.prikler <at> gmail.com,
 maxim.cournoyer <at> gmail.com
Subject: [gnome-team v5 0/2] Update and fix gegl in one patch
Date: Wed, 13 Sep 2023 07:01:56 +0200
Le mercredi 13 septembre 2023 à 06:18 +0200, Liliana Marie Prikler a écrit :
> This should be squashed into the previous commit so as to not break
> gnome-photos in the meantime.

True. Let’s do that.

Vivien Kraus (2):
  gnu: gegl: Update to 0.4.46.
  gnu: gimp: Update to 2.10.34.

 gnu/local.mk                                  |  1 +
 gnu/packages/gimp.scm                         | 31 ++++++-
 gnu/packages/gnome.scm                        |  2 +-
 .../gegl-compatibility-old-librsvg.patch      | 80 +++++++++++++++++++
 4 files changed, 109 insertions(+), 5 deletions(-)
 create mode 100644 gnu/packages/patches/gegl-compatibility-old-librsvg.patch


base-commit: 20e3f3e1151b2f22ae7fb5aa8764148654f35090
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Wed, 13 Sep 2023 05:07:02 GMT) Full text and rfc822 format available.

Message #62 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: 65828 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, liliana.prikler <at> gmail.com,
 maxim.cournoyer <at> gmail.com
Subject: [gnome-team v5 1/2] gnu: gegl: Update to 0.4.46.
Date: Fri, 8 Sep 2023 18:50:18 +0200
* gnu/packages/gimp.scm (gegl): Update to 0.4.46.
* gnu/packages/gimp.scm (gegl-0.4.44): New variable.
* gnu/packages/gnome.scm (gnome-photos) [inputs]: Use gegl-0.4.44, not gegl.
---
 gnu/local.mk                                  |  1 +
 gnu/packages/gimp.scm                         | 27 ++++++-
 gnu/packages/gnome.scm                        |  2 +-
 .../gegl-compatibility-old-librsvg.patch      | 80 +++++++++++++++++++
 4 files changed, 107 insertions(+), 3 deletions(-)
 create mode 100644 gnu/packages/patches/gegl-compatibility-old-librsvg.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 69be1a07c7..c29e99ba38 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1238,6 +1238,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/gdm-remove-hardcoded-xwayland-path.patch	\
   %D%/packages/patches/gdm-wayland-session-wrapper-from-env.patch	\
   %D%/packages/patches/gdm-pass-gdk-pixbuf-loader-env.patch	\
+  %D%/packages/patches/gegl-compatibility-old-librsvg.patch	\
   %D%/packages/patches/gemmi-fix-pegtl-usage.patch		\
   %D%/packages/patches/gemmi-fix-sajson-types.patch		\
   %D%/packages/patches/genimage-mke2fs-test.patch		\
diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index b1ff08d652..0bc58e0ddf 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -215,7 +215,7 @@ (define-public babl
 (define-public gegl
   (package
     (name "gegl")
-    (version "0.4.42")
+    (version "0.4.46")
     (source
      (origin
        (method url-fetch)
@@ -228,8 +228,10 @@ (define-public gegl
                   (string-append "ftp://ftp.gtk.org/pub/gegl/"
                                  (version-major+minor version)
                                  "/gegl-" version ".tar.xz")))
+       (patches
+        (search-patches "gegl-compatibility-old-librsvg.patch"))
        (sha256
-        (base32 "0bg0vlmj4n9x1291b9fsjqxsal192zlg48pa57f6xid6p863ma5b"))))
+        (base32 "14p8n6vily0yp6gqafl2xy7d2rh1j48pcj0a7mglqxy83d4b5cyh"))))
     (build-system meson-build-system)
     (arguments
      `(#:configure-flags
@@ -285,6 +287,27 @@ (define-public gegl
     ;; application and GUI binary gegl is licensed under GPL.
     (license (list license:lgpl3+ license:gpl3+))))
 
+;; gnome-photos does not build against gegl 0.4.46 yet.
+;; https://gitlab.gnome.org/GNOME/gnome-photos/-/issues/214
+(define-public gegl-0.4.44
+  (package
+    (inherit gegl)
+    (version "0.4.44")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (list (string-append "https://download.gimp.org/pub/gegl/"
+                                 (string-take version 3)
+                                 "/gegl-" version ".tar.xz")
+                  (string-append "https://ftp.gtk.org/pub/gegl/"
+                                 (version-major+minor version)
+                                 "/gegl-" version ".tar.xz")
+                  (string-append "ftp://ftp.gtk.org/pub/gegl/"
+                                 (version-major+minor version)
+                                 "/gegl-" version ".tar.xz")))
+       (sha256
+        (base32 "09k1sn4h0bakgmq2hgd1iamprngpr81ky3fd9446lh2ycd0xnk0a"))))))
+
 (define-public gimp
   (package
     (name "gimp")
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index ad118090eb..0f149e69b5 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -855,7 +855,7 @@ (define-public gnome-photos
     (inputs
      (list babl
            cairo
-           gegl
+           gegl-0.4.44
            geocode-glib
            gexiv2
            gfbgraph
diff --git a/gnu/packages/patches/gegl-compatibility-old-librsvg.patch b/gnu/packages/patches/gegl-compatibility-old-librsvg.patch
new file mode 100644
index 0000000000..3e5733f9fd
--- /dev/null
+++ b/gnu/packages/patches/gegl-compatibility-old-librsvg.patch
@@ -0,0 +1,80 @@
+From a99a93e5c9013bd4101f5058cdee7d0cf30234fe Mon Sep 17 00:00:00 2001
+Message-ID: <a99a93e5c9013bd4101f5058cdee7d0cf30234fe.1694554961.git.vivien <at> planete-kraus.eu>
+From: Jehan <jehan <at> girinstud.io>
+Date: Wed, 5 Jul 2023 21:18:19 +0200
+Subject: [PATCH] Issue #333: continuing to support librsvg 2.40.x (C
+ versions).
+
+Commit 9beeefcbe uses too new functions of librsvg. We could just bump
+the minimum required version but there are issues with Rust not being
+available on every platform yet. So instead, let's add some conditional
+code paths, so that it still builds with librsvg 2.40.x (which was the
+last versions fully in C) while we use newer code and no warnings when
+using newer versions.
+---
+ operations/external/svg-load.c | 25 ++++++++++++++++++++-----
+ 1 file changed, 20 insertions(+), 5 deletions(-)
+
+diff --git a/operations/external/svg-load.c b/operations/external/svg-load.c
+index 3312a0c0a..15c0b30b7 100644
+--- a/operations/external/svg-load.c
++++ b/operations/external/svg-load.c
+@@ -76,16 +76,25 @@ query_svg (GeglOperation *operation)
+ {
+   GeglProperties *o = GEGL_PROPERTIES (operation);
+   Priv *p = (Priv*) o->user_data;
++#if LIBRSVG_CHECK_VERSION(2, 52, 0)
+   gdouble out_width, out_height;
++#else
++  RsvgDimensionData dimensions;
++#endif
+ 
+   g_return_val_if_fail (p->handle != NULL, FALSE);
+ 
+-  rsvg_handle_get_intrinsic_size_in_pixels (p->handle, &out_width, &out_height);
+-
+   p->format = babl_format ("R'G'B'A u8");
+ 
++#if LIBRSVG_CHECK_VERSION(2, 52, 0)
++  rsvg_handle_get_intrinsic_size_in_pixels (p->handle, &out_width, &out_height);
+   p->height = out_height;
+-  p->width = out_width;
++  p->width  = out_width;
++#else
++  rsvg_handle_get_dimensions (p->handle, &dimensions);
++  p->height = dimensions.height;
++  p->width  = dimensions.width;
++#endif
+ 
+   return TRUE;
+ }
+@@ -98,10 +107,12 @@ load_svg (GeglOperation *operation,
+ {
+     GeglProperties    *o = GEGL_PROPERTIES (operation);
+     Priv              *p = (Priv*) o->user_data;
+-    RsvgRectangle      svg_rect = {0.0, 0.0, width, height};
+     cairo_surface_t   *surface;
+     cairo_t           *cr;
+-    GError            *error = NULL;
++#if LIBRSVG_CHECK_VERSION(2, 52, 0)
++    GError            *error    = NULL;
++    RsvgRectangle      svg_rect = {0.0, 0.0, width, height};
++#endif
+ 
+     g_return_val_if_fail (p->handle != NULL, -1);
+ 
+@@ -115,7 +126,11 @@ load_svg (GeglOperation *operation,
+                      (double)height / (double)p->height);
+       }
+ 
++#if LIBRSVG_CHECK_VERSION(2, 52, 0)
+     rsvg_handle_render_document (p->handle, cr, &svg_rect, &error);
++#else
++    rsvg_handle_render_cairo (p->handle, cr);
++#endif
+ 
+     cairo_surface_flush (surface);
+ 
+-- 
+2.41.0
+
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Wed, 13 Sep 2023 05:07:03 GMT) Full text and rfc822 format available.

Message #65 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: 65828 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, liliana.prikler <at> gmail.com,
 maxim.cournoyer <at> gmail.com
Subject: [gnome-team v5 2/2] gnu: gimp: Update to 2.10.34.
Date: Fri, 8 Sep 2023 20:37:46 +0200
* gnu/packages/gimp.scm (gimp): Update to 2.10.34.
---
 gnu/packages/gimp.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index 0bc58e0ddf..96779b99fe 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -311,7 +311,7 @@ (define-public gegl-0.4.44
 (define-public gimp
   (package
     (name "gimp")
-    (version "2.10.32")
+    (version "2.10.34")
     (source
      (origin
        (method url-fetch)
@@ -319,7 +319,7 @@ (define-public gimp
                            (version-major+minor version)
                            "/gimp-" version ".tar.bz2"))
        (sha256
-        (base32 "09csp2d8bzf012n7hvbbwngwr9phv3rnip768qdwqpdgah2wf59z"))))
+        (base32 "18vscmy293q6wq78almv0m7r8jh4j8szvmrw56j9icsisd14c044"))))
     (build-system gnu-build-system)
     (outputs '("out"
                "doc"))                  ; 9 MiB of gtk-doc HTML
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Thu, 14 Sep 2023 05:03:01 GMT) Full text and rfc822 format available.

Message #68 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, 65828 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, maxim.cournoyer <at> gmail.com
Subject: Re: [gnome-team v4 2/3] gnu: gegl: Add version 0.4.44 for
 gnome-photos.
Date: Thu, 14 Sep 2023 07:02:16 +0200
Hi!

Le mercredi 13 septembre 2023 à 06:18 +0200, Liliana Marie Prikler a
écrit :
> This should be squashed into the previous commit so as to not break
> gnome-photos in the meantime.

QA seems to fail:

https://qa.guix.gnu.org/issue/65828

However, if we look in details, the branch that QA decided to build did
not pick up the commit to fix gnome-photos (the new package failure).
Presumably because I sent the latest series while it was still
evaluating a previous one.

Is there a way to restart it?

Vivien




Information forwarded to guix-patches <at> gnu.org:
bug#65828; Package guix-patches. (Fri, 15 Sep 2023 04:21:02 GMT) Full text and rfc822 format available.

Message #71 received at 65828 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Vivien Kraus <vivien <at> planete-kraus.eu>, 65828 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, maxim.cournoyer <at> gmail.com
Subject: Re: [gnome-team v4 2/3] gnu: gegl: Add version 0.4.44 for
 gnome-photos.
Date: Fri, 15 Sep 2023 06:20:34 +0200
Am Donnerstag, dem 14.09.2023 um 07:02 +0200 schrieb Vivien Kraus:
> Hi!
> 
> Le mercredi 13 septembre 2023 à 06:18 +0200, Liliana Marie Prikler a
> écrit :
> > This should be squashed into the previous commit so as to not break
> > gnome-photos in the meantime.
> 
> QA seems to fail:
> 
> https://qa.guix.gnu.org/issue/65828
> 
> However, if we look in details, the branch that QA decided to build
> did not pick up the commit to fix gnome-photos (the new package
> failure).  Presumably because I sent the latest series while it was
> still evaluating a previous one.
> 
> Is there a way to restart it?
> 
> Vivien
Don't worry about it, I've confirmed that it builds locally.  It will
likely pick up the pace either later or at the very least after I've
pushed it to gnome-team.

Cheers




Reply sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
You have taken responsibility. (Fri, 15 Sep 2023 16:16:01 GMT) Full text and rfc822 format available.

Notification sent to Vivien Kraus <vivien <at> planete-kraus.eu>:
bug acknowledged by developer. (Fri, 15 Sep 2023 16:16:02 GMT) Full text and rfc822 format available.

Message #76 received at 65828-done <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Vivien Kraus <vivien <at> planete-kraus.eu>, 65828-done <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, maxim.cournoyer <at> gmail.com
Subject: Re: [gnome-team v5 2/2] gnu: gimp: Update to 2.10.34.
Date: Fri, 15 Sep 2023 18:15:07 +0200
Am Freitag, dem 08.09.2023 um 20:37 +0200 schrieb Vivien Kraus:
> * gnu/packages/gimp.scm (gimp): Update to 2.10.34.
> ---
Merged and followed up with a style update.

Thanks




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 14 Oct 2023 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 209 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.