diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-02-13 10:06:29 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-02-13 15:02:58 +0100 |
commit | c904b10cc60e1faed57c909ff77fe418b79a10dc (patch) | |
tree | 275709eca8972b764e848b88efd8a78643222c65 /gnu | |
parent | ffca429baa30ad0fb9db3e2db956cc8a8dbf4887 (diff) |
gnu: sugar: Update to 0.121.
* gnu/packages/sugar.scm (sugar): Update to 0.121.
[arguments]: Patch LINGUAS file to fix build; remove now obsolete patch to
spawn_command_line_sync.
[propagated-inputs]: Replace libsoup-minimal-2 with libsoup-minimal; replace
webkitgtk-with-libsoup2 with webkitgtk-for-gtk3.
Change-Id: I03be3a414515001851125ae92c51269aa441cf1a
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/sugar.scm | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm index a1fb76c82b..0a262b5a25 100644 --- a/gnu/packages/sugar.scm +++ b/gnu/packages/sugar.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2023 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2023, 2024 Ricardo Wurmus <rekado@elephly.net> ;;; ;;; This file is part of GNU Guix. ;;; @@ -53,7 +53,7 @@ (define-public sugar (package (name "sugar") - (version "0.120") + (version "0.121") (source (origin (method git-fetch) (uri (git-reference @@ -62,7 +62,7 @@ (file-name (git-file-name name version)) (sha256 (base32 - "0imhaj49n7ain33kmrqk19rzlfr50m84fbc011vgg1010ddp3vdw")))) + "1s31sz1j7x82vynd233k7jqqp881bpz7486r78wfz2i84f2n4n06")))) (build-system glib-or-gtk-build-system) (arguments (list @@ -79,7 +79,10 @@ (lambda _ (substitute* "autogen.sh" (("^\"\\$srcdir/configure" m) - (string-append "#" m))))) + (string-append "#" m))) + ;; This .po file does not exist + (substitute* "po/LINGUAS" + (("^ig") "")))) (add-after 'unpack 'fix-references (lambda* (#:key inputs #:allow-other-keys) (substitute* "bin/sugar.in" @@ -106,12 +109,6 @@ (dirname (search-input-file inputs "/share/mobile-broadband-provider-info/serviceproviders.xml")))) - ;; XXX: spawn_command_line_sync is not used correctly here, so - ;; we need to patch invocations. - (substitute* '("extensions/cpsection/aboutcomputer/model.py" - "src/jarabe/model/brightness.py") - (("spawn_command_line_sync\\(cmd\\)") - "spawn_command_line_sync(cmd, 0)")) (substitute* "extensions/cpsection/aboutcomputer/model.py" (("ethtool") (search-input-file inputs "/sbin/ethtool"))) @@ -161,7 +158,7 @@ gstreamer gtk+ gtksourceview-3 - libsoup-minimal-2 + libsoup-minimal libwnck libxklavier network-manager @@ -175,7 +172,7 @@ telepathy-salut ;for XMPP neighborhood ;; This is for the UPowerGlib namespace upower - webkitgtk-with-libsoup2)) + webkitgtk-for-gtk3)) (native-inputs (list autoconf automake gettext-minimal |