From 157c0276a827e0bfcbdc0a5d100653a2fc52a614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 11 Jun 2025 15:52:01 +0200 Subject: [PATCH] gnu: cairo: Ungraft. * gnu/packages/gtk.scm (cairo): Update to 1.18.4. [replacement]: Remove. (cairo-1.18.4): Remove. Change-Id: I44f2b05d813ace209ac49b463fb81699fbb3ba53 --- gnu/packages/gtk.scm | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 45431643aa3a84faa5fa1c872345b83e756fa7a2..d16447c9a0af519cd18e84ddcdef2a341af9b2fa 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Andreas Enge -;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès +;;; Copyright © 2013-2021, 2025 Ludovic Courtès ;;; Copyright © 2014, 2015, 2017, 2018, 2019, 2021 Mark H Weaver ;;; Copyright © 2014 Eric Bavier ;;; Copyright © 2015 Federico Beffa @@ -169,11 +169,10 @@ such as mate-panel and xfce4-panel.") (home-page "https://gitlab.com/vala-panel-project/vala-panel-appmenu") (license (list license:lgpl3)))) -(define cairo +(define-public cairo (package (name "cairo") - (version "1.18.2") - (replacement cairo-1.18.4) + (version "1.18.4") (source (origin (method url-fetch) @@ -181,7 +180,7 @@ such as mate-panel and xfce4-panel.") (string-append "https://cairographics.org/releases/cairo-" version ".tar.xz")) (sha256 - (base32 "0nnli5cghygbl9bvlbjls7nspnrrzx1y1pbd7p649s154js9nax6")))) + (base32 "1jrcqfcna0358aqrk7rnys1hwq6k36ilr9r62bg26j3fi8hdhpj4")))) (build-system meson-build-system) (arguments `(#:tests? #f ; see http://lists.gnu.org/archive/html/bug-guix/2013-06/msg00085.html @@ -240,21 +239,6 @@ output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB.") ;; Hide and have cairo-with-documentation public. (properties '((hidden? . #t))))) -;;; TODO: This newer version resolves an issue when writing PDFs. Remove -;;; after ungrafting cairo. -(define cairo-1.18.4 - (package - (inherit cairo) - (version "1.18.4") - (source - (origin - (method url-fetch) - (uri - (string-append "https://cairographics.org/releases/cairo-" - version ".tar.xz")) - (sha256 - (base32 "1jrcqfcna0358aqrk7rnys1hwq6k36ilr9r62bg26j3fi8hdhpj4")))))) - (define-public cairo-with-documentation ;; cairo's docs must be built in a separate package since it requires ;; gtk-doc, which in turn depends on cairo.