GNU bug report logs - #69886
[PATCH] gnu: gtk: Update cairo to 1.18.0.

Previous Next

Package: guix-patches;

Reported by: Daniel Ziltener <dziltener <at> lyrion.ch>

Date: Mon, 18 Mar 2024 23:07:03 UTC

Severity: normal

Tags: patch

Done: Daniel Ziltener <dziltener <at> lyrion.ch>

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 69886 in the body.
You can then email your comments to 69886 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#69886; Package guix-patches. (Mon, 18 Mar 2024 23:07:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Ziltener <dziltener <at> lyrion.ch>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 18 Mar 2024 23:07:04 GMT) Full text and rfc822 format available.

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

From: Daniel Ziltener <dziltener <at> lyrion.ch>
To: guix-patches <at> gnu.org
Cc: dziltener <at> lyrion.ch
Subject: [PATCH] gnu: gtk: Update cairo to 1.18.0.
Date: Mon, 18 Mar 2024 23:38:47 +0100
---
 gnu/packages/gtk.scm | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 2dcfa0edc1..9afc692e8d 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -157,12 +157,11 @@ (define-public appmenu-gtk-module
      "This package provides a global menu applet for use with desktop panels
 such as mate-panel and xfce4-panel.")
     (home-page "https://gitlab.com/vala-panel-project/vala-panel-appmenu")
-    (license (list license:lgpl3))))
 
 (define-public cairo
   (package
     (name "cairo")
-    (version "1.16.0")
+    (version "1.18.0")
     (source
      (origin
        (method url-fetch)
@@ -170,17 +169,16 @@ (define-public cairo
         (string-append "https://cairographics.org/releases/cairo-"
                        version ".tar.xz"))
        (sha256
-        (base32 "0c930mk5xr2bshbdljv005j3j8zr47gqmkry3q6qgvqky6rjjysy"))
-       (patches (search-patches
-		 "cairo-CVE-2018-19876.patch"
-		 "cairo-CVE-2020-35492.patch"))))
-    (build-system glib-or-gtk-build-system)
-    (outputs '("out" "doc"))
+        (base32
+         "0r0by563s75xyzz0d0j1nmjqmdrk2x9agk7r57p3v8vqp4v0ffi4"))))
+    (build-system meson-build-system)
     (arguments
      `(#:tests? #f ; see http://lists.gnu.org/archive/html/bug-guix/2013-06/msg00085.html
        #:configure-flags
        (list
-        "--disable-static"
+        "-Dgtk_doc=true"
+        "-Dsymbol-lookup=disabled"
+        "-Dspectre=disabled"
         ;; XXX: To be enabled.
         ;; "--enable-gallium=yes"
         ;; "--enable-gl=yes"
@@ -189,15 +187,14 @@ (define-public cairo
         ;; "--enable-cogl=yes"
         ;; "--enable-directfb=yes"
         ;; "--enable-vg=yes"
-        "--enable-tee=yes"              ;needed for GNU IceCat
-        "--enable-xml=yes"              ;for cairo-xml support
-        (string-append "--with-html-dir="
-                       (assoc-ref %outputs "doc")
-                       "/share/gtk-doc/html"))))
+         )))
     (native-inputs
      `(,@(if (target-hurd?)
              '()
              `(("gobject-introspection" ,gobject-introspection)))
+       ("gcc-13" ,gcc-13)
+       ("gtk-doc" ,gtk-doc)
+       ("docbook-xsl" ,docbook-xsl)
        ("pkg-config" ,pkg-config)
        ("python" ,python-wrapper)))
     (inputs
@@ -236,6 +233,7 @@ (define-public cairo
      (list
       license:lgpl2.1+
       license:mpl1.1))))
+   (license (list license:lgpl3))))
 
 (define-public cairo-sans-poppler
   ;; Variant used to break the dependency cycle between Poppler and Cairo.
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#69886; Package guix-patches. (Tue, 19 Mar 2024 01:34:01 GMT) Full text and rfc822 format available.

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

From: John Kehayias <john.kehayias <at> protonmail.com>
To: Daniel Ziltener <dziltener <at> lyrion.ch>
Cc: 69886 <at> debbugs.gnu.org
Subject: Re: [bug#69886] [PATCH] gnu: gtk: Update cairo to 1.18.0.
Date: Tue, 19 Mar 2024 01:32:24 +0000
Hello,

Thanks for the submission!

On Mon, Mar 18, 2024 at 11:38 PM, Daniel Ziltener wrote:

>      (native-inputs
>       `(,@(if (target-hurd?)
>               '()
>               `(("gobject-introspection" ,gobject-introspection)))
> +       ("gcc-13" ,gcc-13)
> +       ("gtk-doc" ,gtk-doc)

Note that this is a circular dependency as, gtk-doc depends on cairo currently:

--8<---------------cut here---------------start------------->8---
$ guix graph --path gtk-doc cairo
gtk-doc <at> 1.33.2
dblatex <at> 0.3.12
imagemagick <at> 6.9.12-4
pango <at> 1.50.10
cairo <at> 1.16.0
--8<---------------cut here---------------end--------------->8---

Please see <https://issues.guix.gnu.org/69495> for my submission as
well. Since it has been a couple of weeks, I'll likely push that version
on mesa-updates for testing soon, but comments welcome.

John





Information forwarded to guix-patches <at> gnu.org:
bug#69886; Package guix-patches. (Tue, 19 Mar 2024 22:25:02 GMT) Full text and rfc822 format available.

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

From: Daniel Ziltener <dziltener <at> lyrion.ch>
To: John Kehayias <john.kehayias <at> protonmail.com>, 69886 <at> debbugs.gnu.org,
 control <at> debbugs.gnu.org
Subject: Re: [bug#69886] [PATCH] gnu: gtk: Update cairo to 1.18.0.
Date: Tue, 19 Mar 2024 23:23:21 +0100
Oh, nice, I will close this here then.

close 69886
thanks





bug closed, send any further explanations to 69886 <at> debbugs.gnu.org and Daniel Ziltener <dziltener <at> lyrion.ch> Request was from Daniel Ziltener <dziltener <at> lyrion.ch> to control <at> debbugs.gnu.org. (Tue, 19 Mar 2024 22:25:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 17 Apr 2024 11:24:17 GMT) Full text and rfc822 format available.

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

Previous Next


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