From patchwork Wed Mar 19 14:36:44 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: 40431 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 93D1827BBEA; Wed, 19 Mar 2025 14:38:41 +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=ham 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 D1DEB27BBE2 for ; Wed, 19 Mar 2025 14:38:40 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tuuYu-0002io-Qh; Wed, 19 Mar 2025 10:38:29 -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 1tuuYn-0002fW-7X for guix-patches@gnu.org; Wed, 19 Mar 2025 10:38:21 -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 1tuuYb-0008Uo-BY; Wed, 19 Mar 2025 10:38:20 -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:Date:From:To:In-Reply-To:References:Subject; bh=zteLTJm6z1SPcMK4HaagqO//LSo7NP5su77MxP/kM28=; b=SgBZk7QCq28ePzW6an8JVQjuW/gvx/yAAgc0OmFfA+EEsQnf2+MHHf2gu/gSog7GRomNuDYA7Is+9MBNYxXB9GjV9g9/9TWhLxU2TY1AIV+rDQ/b73csua0mlsSdh3M40o7mo4w858W1yn4CENwXL8b3BNUkcwVn0TjVF1gtQb9PO3kM2BJra6AbmntcEpKYyOX5tZiybbCOA0wbgU9AkkEi3lmlQIdbznw8IF2dKA3rlorExHrrbc7DyNOmb9HRvAlR3Wx2qorDgwMMiGloHbNGBWA+26O1AFAs23pLwOu98PzI9pXA18KBExAvIOPuH+iS86cQyqFo4GKt73b9OA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tuuYX-0007zd-0p; Wed, 19 Mar 2025 10:38:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#68228] [PATCH v4] gnu: Add gnome-software. References: <87edez3p4h.fsf@cock.li> In-Reply-To: <87edez3p4h.fsf@cock.li> Resent-From: =?utf-8?q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: terramorpha@cock.li, othacehe@gnu.org, noe@xn--no-cja.eu, liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu, guix-patches@gnu.org Resent-Date: Wed, 19 Mar 2025 14:38:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68228 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68228@debbugs.gnu.org Cc: terramorpha , Justin Veilleux , Mathieu Othacehe , =?utf-8?q?No=C3=A9?= Lopez , Liliana Marie Prikler , Maxim Cournoyer , Vivien Kraus X-Debbugs-Original-Xcc: Justin Veilleux , Mathieu Othacehe , =?utf-8?q?No=C3=A9?= Lopez , Liliana Marie Prikler , Maxim Cournoyer , Vivien Kraus Received: via spool by 68228-submit@debbugs.gnu.org id=B68228.174239505130432 (code B ref 68228); Wed, 19 Mar 2025 14:38:04 +0000 Received: (at 68228) by debbugs.gnu.org; 19 Mar 2025 14:37:31 +0000 Received: from localhost ([127.0.0.1]:52000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuuXw-0007uP-HB for submit@debbugs.gnu.org; Wed, 19 Mar 2025 10:37:30 -0400 Received: from smtp.domeneshop.no ([2a01:5b40:0:3006::1]:39984) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tuuXr-0007si-1F for 68228@debbugs.gnu.org; Wed, 19 Mar 2025 10:37:26 -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: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=zteLTJm6z1SPcMK4HaagqO//LSo7NP5su77MxP/kM28=; b=Lbu/nWENALWURemqDej5eTcsnL YL5h8RO8CCMDcEWst1mrPmacj8tK/9iRbxFq7qZy3qliad6ky0LZiKu7VCE5E3+3tWiPKprd5l17d jWgU+T99iNDiFNbEPTxf35XOjCd++qIbPv4jwQ3gIFDOiXcRDmAyAeGf4bW/A53+H8WNmacNHWluw sS/NpQ1WpZMq0vwk9ASBqIRnQyGY0lE0iqNqVb+xwRtVqc6EkBJSSQwTho2H9XCBwmrCuCWoT62QR Brxv4QouJ+nphJpYgSzy3XGSaxc1cSg3rrIBr/4BO3EY6psrtsZvsT5lnn9ybrwVzwO5v9T3RTVA6 K9qFlfJg==; Received: from smtp by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) id 1tuuXk-005glR-O7; Wed, 19 Mar 2025 15:37:16 +0100 Date: Wed, 19 Mar 2025 15:36:44 +0100 Message-ID: MIME-Version: 1.0 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: terramorpha * gnu/packages/gnome.scm (gnome-software): New variable. Change-Id: I5838a581d8612eed0697c801fff0e241256ce558 --- gnu/packages/gnome.scm | 69 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) base-commit: 8a565a8ff1c2150b778b5fdf8aa3a5f59a3fce9d diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 7705ba0513..221137473d 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -79,6 +79,8 @@ ;;; Copyright © 2023 Zhu Zihao ;;; Copyright © 2024 Dariqq ;;; Copyright © 2024 James Smith +;;; Copyright © 2024 Justin Veilleux +;;; Copyright © 2025 Noé Lopez ;;; ;;; This file is part of GNU Guix. ;;; @@ -135,6 +137,7 @@ (define-module (gnu packages gnome) #:use-module (gnu packages flex) #:use-module (gnu packages fonts) #:use-module (gnu packages file-systems) + #:use-module (gnu packages firmware) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages game-development) @@ -14594,3 +14597,69 @@ (define-public lock (description "This package provides a graphical frontend for GNU Privacy Guard built with libadwaita.") (license license:expat))) + +(define-public gnome-software + (package + (name "gnome-software") + (version "46.5") + (source + (origin + (method url-fetch) + (uri + (string-append "mirror://gnome/sources/" + name "/" + (version-major version) "/" + name "-" version ".tar.xz")) + (sha256 (base32 "0b5y9z64582aarw3v92wjm63yib2q85ylny1k7k4d2y48jivirb9")))) + (build-system meson-build-system) + (arguments + (list + #:test-options #~(list "--no-suite=plugins") ;needs a dbus-system + #:glib-or-gtk? #t + #:configure-flags + #~(list "-Dsoup2=true" + "-Dman=false" ;tries to access the internet + "-Dhardcoded_proprietary_webapps=false") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-iso-codes + (lambda _ + (with-directory-excursion "src" + (substitute* "./gs-language.c" + (("DATADIR") + (format #f "\"~a/share\"" #$iso-codes)))))) + (add-before 'install 'disable-gtk-update-icon-cache + (lambda _ + (setenv "DESTDIR" "/") + ;; Needed for complete RUNPATHs, but not actually needed at runtime. + (copy-file + "../build/lib/libgnomesoftware.so.20" + (string-append #$output "/lib/libgnomesoftware.so.20"))))))) + (native-inputs + (list `(,glib "bin") + gettext-minimal + gtk-doc + pkg-config)) + (inputs + (list appstream + flatpak + fwupd + gdk-pixbuf + gtk + json-glib + libadwaita + libglib-testing + libgudev + libostree + libsoup-minimal-2 + libxmlb + malcontent + packagekit + polkit + sysprof + valgrind)) + (synopsis "Graphical software manager for gnome") + (description "Software allows you to find and install new apps and system +extensions and remove existing installed apps.") + (license license:gpl2+) + (home-page "https://apps.gnome.org/en/Software/")))