GNU bug report logs -
#77056
[PATCH 0/1] gnu: gnome-packagekit: Run glib-or-gtk? phases.
Previous Next
To reply to this bug, email your comments to 77056 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#77056
; Package
guix-patches
.
(Sun, 16 Mar 2025 17:19:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Noé Lopez <noe <at> xn--no-cja.eu>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 16 Mar 2025 17:19:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Noé Lopez <noelopez <at> free.fr>
Hi,
This patch improves the gnome-packagekit package by running the glib-or-gtk?
phases, minifying dependencies, and using mirrors for the source.
I think it should also be moved to gnu/packages/gnome.scm to put it under
gnome-team’s umbrella.
Have a nice day,
Noé
Noé Lopez (1):
gnu: gnome-packagekit: Run glib-or-gtk? phases.
gnu/packages/package-management.scm | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
base-commit: f9726d5498e63a433fdd3398a4439089072482d5
--
2.48.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#77056
; Package
guix-patches
.
(Sun, 16 Mar 2025 17:20:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Noé Lopez <noelopez <at> free.fr>
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
---
gnu/packages/package-management.scm | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index a4a96878f7..733b74d378 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -2409,14 +2409,14 @@ (define-public gnome-packagekit
(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
@@ -2430,13 +2430,14 @@ (define-public gnome-packagekit
(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.")
--
2.48.1
This bug report was last modified 29 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.