From 3d579f6a778f92db432b9de4065295cd510f712d Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Tue, 30 Nov 2021 00:03:07 +0100 Subject: [PATCH 1/2] gnu: devhelp: Add a libsoup 2 variant. * gnu/packages/gnome.scm (devhelp-with-libsoup2): New variable. --- gnu/packages/gnome.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 8e0e750180..ccb99ca8ec 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5854,6 +5854,22 @@ (define-public devhelp throughout GNOME for API documentation).") (license license:gpl2+))) +(define-public devhelp-with-libsoup2 + (package/inherit devhelp + (arguments + (substitute-keyword-arguments (package-arguments devhelp) + ((#:phases phases '%standard-phases) + `(modify-phases %standard-phases + (add-after 'unpack 'skip-gtk-update-icon-cache + ;; Don't create 'icon-theme.cache'. + (lambda _ + (substitute* "build-aux/meson/meson_post_install.py" + (("gtk-update-icon-cache") "true")))))))) + (inputs + `(("amtk" ,amtk) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + ("webkitgtk" ,webkitgtk-with-libsoup2))))) + (define-public cogl (package (name "cogl") -- 2.34.0