summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoƩ Lopez <noelopez@free.fr>2025-03-16 18:17:39 +0100
committerChristopher Baines <mail@cbaines.net>2025-06-11 13:32:17 +0100
commitc9bd437cdc5a3ccc09cd08f024c459cd3f7dbeb0 (patch)
tree1b9092c3a65317ede502ba2a51a2d60d53a874db
parentb602d9c9231c0f4abfb387c31dd8322891d612bb (diff)
gnu: gnome-packagekit: Run glib-or-gtk? phases.
I am not sure relying on profile hooks works, since gnome-packagekit would not start from guix shell. Using glib-or-gtk does make it start, which is better to not rely on the profile. * gnu/packages/package-management.scm (gnome-packagekit) [source]: Use gnome mirrors. [native-inputs]: Change gnu-gettext to gettext-minimal. [inputs]: Remove polkit. [arguments]: Use glib-or-gtk? phases. Change-Id: I11c80d7470bd7f25888235afb4cadc9f1313ba31 Signed-off-by: Christopher Baines <mail@cbaines.net>
-rw-r--r--gnu/packages/package-management.scm23
1 files changed, 12 insertions, 11 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 39abd18bd7..5dbf62f519 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -2474,14 +2474,14 @@ to specific versions of applications.")
(name "gnome-packagekit")
(version "43.0")
(source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://gitlab.gnome.org/GNOME/gnome-packagekit.git")
- (commit version)))
- (file-name (git-file-name name version))
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/" name "/"
+ (version-major version) "/"
+ name "-" version ".tar.xz"))
(sha256
(base32
- "1fnspk8wfh3v663qpqq3m1fgp21nskgisidihx41wgcsbzbvp1a5"))))
+ "15giqmk8w375kkyzmwzfc9xnyafqzp86ncbh5zmb48x9aak5b96d"))))
(build-system meson-build-system)
(arguments
(list #:configure-flags
@@ -2495,13 +2495,14 @@ to specific versions of applications.")
(add-before 'install 'setenv
(lambda _
;; Prevent gtk-update-icon-cache, glib-compile-schemas,
- ;; update-desktop-database
- ;; (since we are doing it ourselves with a profile hook).
- (setenv "DESTDIR" "/"))))))
+ ;; update-desktop-database (since we are doing it ourselves with
+ ;; glib-or-gtk phases).
+ (setenv "DESTDIR" "/"))))
+ #:glib-or-gtk? #t))
(native-inputs
- (list gnu-gettext pkg-config (list glib "bin") xorg-server-for-tests))
+ (list gettext-minimal pkg-config (list glib "bin") xorg-server-for-tests))
(inputs
- (list glib gtk+ packagekit polkit))
+ (list glib gtk+ packagekit))
(synopsis "GNOME frontend for PackageKit")
(description "This package provides a PackageKit frontend for GNOME.
PackageKit is a common unified interface for package managers.")