From patchwork Sun Mar 16 17:17:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?No=C3=A9_Lopez?= X-Patchwork-Id: 40268 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 05CF527BBE9; Sun, 16 Mar 2025 17:20:28 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3E41027BBE2 for ; Sun, 16 Mar 2025 17:20:25 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ttreg-0005vi-M5; Sun, 16 Mar 2025 13:20:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ttred-0005ss-6P for guix-patches@gnu.org; Sun, 16 Mar 2025 13:20:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ttrec-0000u0-Ra for guix-patches@gnu.org; Sun, 16 Mar 2025 13:20:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=77JU3A4vvwGnyiPExzyOSlAO9mewxt7KgxKrRu2Oz18=; b=LS/C8D+fNqKkfu28YB1hMciaa754iUyq2bQ8Jm88bCJnjJFkNUrPgiKwe7DI1vtxJhSBtVzpvmNnxDzvyBa/kz9DAL+hO1RVnnlsPar75+Fwju8Bzjid52pLjE/oUYHuwQnVxa64SuzvnWjz3DVzV6QO6FjW/Oa28LcbQTYSXdepigU6tGAyiwwyUKn2TuNKm17nbYZQgcnqNEpYAruk3Kq0aG9/aj89JQCce7SDGyq4pUZlE00uGQ0Mse79GNi0vJ32L1V+ta0splD2HoA1SIQxrJPeftLUtz8F21h1Zm8XLGhSYVsOONzDLqiFmn3bnsF1PSycyufkC7QCR8+fgw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ttrec-0004LC-I7 for guix-patches@gnu.org; Sun, 16 Mar 2025 13:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77056] [PATCH 1/1] gnu: gnome-packagekit: Run glib-or-gtk? phases. Resent-From: =?utf-8?q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Mar 2025 17:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77056 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77056@debbugs.gnu.org Cc: =?utf-8?q?No=C3=A9?= Lopez X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174214558216633 (code B ref -1); Sun, 16 Mar 2025 17:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Mar 2025 17:19:42 +0000 Received: from localhost ([127.0.0.1]:50571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ttreI-0004KD-6N for submit@debbugs.gnu.org; Sun, 16 Mar 2025 13:19:42 -0400 Received: from lists.gnu.org ([2001:470:142::17]:42668) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ttreF-0004Jt-Hl for submit@debbugs.gnu.org; Sun, 16 Mar 2025 13:19:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ttreA-0005qF-3y for guix-patches@gnu.org; Sun, 16 Mar 2025 13:19:34 -0400 Received: from smtp.domeneshop.no ([2a01:5b40:0:3006::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ttre8-0000rX-DP for guix-patches@gnu.org; Sun, 16 Mar 2025 13:19:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xn--no-cja.eu; s=ds202502; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=77JU3A4vvwGnyiPExzyOSlAO9mewxt7KgxKrRu2Oz18=; b=R lsL5r/GrrM89jmLD8D+JogyqVW/oytdKX+cTio/v1u54kdXqHCIQg27LmHASbUS9nl4TX+yW62MMn sCtLr2RUXHOPaNqN3GQz0mSBeuUL5eZ0JJdww8SH3v82DgmBpzJKPMuoO6v88ttp+tvifGCGM8pK/ /3M5gtX3Lmh/ibbSGmEg1Ahp+T/54iArIkOK6ktk97Z9QPLTNKgTgaqpyuay7mfG+MzOzBfgc0gkc RAac7D8dexSsE7SjdqkrMEUn6kmF8evuDfedBlYJWsf6K+VvwLI9ipPIuSuMZObKsRF9Qole5cKMh 7QKFCJap+GZtmL5fSoJ1ArfXvurJCkC2g==; Received: from smtp by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) id 1ttre5-00HWpj-7K; Sun, 16 Mar 2025 18:19:29 +0100 Date: Sun, 16 Mar 2025 18:17:39 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=2a01:5b40:0:3006::1; envelope-from=noe@xn--no-cja.eu; helo=smtp.domeneshop.no X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: =?utf-8?q?No=C3=A9?= Lopez X-ACL-Warn: , =?utf-8?q?No=C3=A9_Lopez_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?No=C3=A9_Lopez_via_Guix-patches?= via From: =?utf-8?q?No=C3=A9_Lopez?= Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: NoƩ Lopez 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.")