all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Daniel Ziltener via Guix-patches via <guix-patches@gnu.org>
To: 69886@debbugs.gnu.org
Cc: dziltener@lyrion.ch
Subject: [bug#69886] [PATCH] gnu: gtk: Update cairo to 1.18.0.
Date: Mon, 18 Mar 2024 23:38:47 +0100	[thread overview]
Message-ID: <6b76c31e120fda491be8ee8126cc5ae5@lyrion.ch> (raw)

---
 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





             reply	other threads:[~2024-03-18 23:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-18 22:38 Daniel Ziltener via Guix-patches via [this message]
2024-03-19  1:32 ` [bug#69886] [PATCH] gnu: gtk: Update cairo to 1.18.0 John Kehayias via Guix-patches via
2024-03-19 22:23   ` Daniel Ziltener via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6b76c31e120fda491be8ee8126cc5ae5@lyrion.ch \
    --to=guix-patches@gnu.org \
    --cc=69886@debbugs.gnu.org \
    --cc=dziltener@lyrion.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.