From patchwork Tue Jan 10 01:19:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 46005 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 B0DAE27BBE9; Tue, 10 Jan 2023 01:20:26 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,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 ADE3127BBEB for ; Tue, 10 Jan 2023 01:20:23 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pF3J6-0008Kq-Cd; Mon, 09 Jan 2023 20:20:04 -0500 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 1pF3J4-0008Ke-PX for guix-patches@gnu.org; Mon, 09 Jan 2023 20:20:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pF3J4-0001Qr-ER for guix-patches@gnu.org; Mon, 09 Jan 2023 20:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pF3J3-0008GC-NE for guix-patches@gnu.org; Mon, 09 Jan 2023 20:20:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60699] [PATCH 1/2] gnu: Add fwupd service. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 10 Jan 2023 01:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60699 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60699@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.167331356031698 (code B ref -1); Tue, 10 Jan 2023 01:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jan 2023 01:19:20 +0000 Received: from localhost ([127.0.0.1]:38405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pF3IO-0008FC-Mi for submit@debbugs.gnu.org; Mon, 09 Jan 2023 20:19:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:55964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pF3IM-0008F4-NF for submit@debbugs.gnu.org; Mon, 09 Jan 2023 20:19:18 -0500 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 1pF3IL-0008HH-Bg for guix-patches@gnu.org; Mon, 09 Jan 2023 20:19:17 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pF3II-0001Mp-6Q for guix-patches@gnu.org; Mon, 09 Jan 2023 20:19:16 -0500 Date: Tue, 10 Jan 2023 01:19:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1673313548; x=1673572748; bh=0/UakuTpTlVnTxIlsZ/4Q+7JocP7dfzqYSqJenMRD0E=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=e6DgECfig2jyLJkQ7lknJHPK2GSbEnUIFx3knz6j7v1y7OeMJyM46FUAvI5upqJkA Ard8UlAdumKHClSvxFATmTFShy5RTNnY54mD2gbFHLl/mYbI75kBShbdzw/IK0K6yl F3YI6kCVh+JhQjtCyuGCzm859sLpG0q2sFoQzjvUb0uJ/QS5gtrlhH8z+oFMFnB+yk Twwmr4K7Zsw6jgfGbAXohoFbj4YYpcXJ7HzWmTe30lhdlVlWxrOAG4n2KEuuzwotwa TYDYdW+eaIA0mq9pH3ZPOr6jOnc5qAWtPjvThRRNwiuwDWICyF/fqJR+6gyDpdWUE1 YNcQywei2N2FQ== Message-ID: <4jVXzFcbk7yONwfqid6qqilCgTRGy444TSoquZ-JyjNWsQ7wBLNZmrr221In95YehmkIVQGRFWaJSPIOHUx8jpr1V3JeXDuOQZ3WeRI-B6o=@protonmail.com> Feedback-ID: 14143818:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.22; envelope-from=phodina@protonmail.com; helo=mail-4322.protonmail.ch 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable 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: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina 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 Hello, this patch adds the service for the fwupd package (commit 23152ff70f0ed4966d8207846f54c793d7cb4f86). Also the Gnome Shell provides nice GUI integration as shown in the attached screenshot. The package in the service configuration is there so users can choose the fwupd they want to use as the one in Guix upstream does not support non-libre firmware. ---- Petr From 108b4e57aa1682359195205e8b5679eae81445dd Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Tue, 6 Sep 2022 06:06:26 +0200 Subject: [PATCH 2/2] gnu: Add gnome-firmware. * gnu/packages/gnome.scm (gnome-firmware): New variable. diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 78e65d7400..f9c627b56a 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -123,6 +123,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) @@ -2330,6 +2331,41 @@ (define-public gnome-disk-utility (description "Disk management utility for GNOME.") (license license:gpl2+))) +(define-public gnome-firmware + (package + (name "gnome-firmware") + (version "42.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.gnome.org/World/gnome-firmware") + (commit version))) + (sha256 + (base32 + "0p9fyqy3d5x6ap2ixw0wabmpdpzh7sdspaxl4f6qxx1sfnapci1g")))) + (build-system meson-build-system) + (arguments + (list #:glib-or-gtk? #t + #:configure-flags #~(list "-Dsystemd=false" "-Delogind=true"))) + (native-inputs (list desktop-file-utils + gettext-minimal + `(,glib "bin") + `(,gtk "bin") + help2man + pkg-config)) + (inputs (list gtk fwupd libadwaita libxmlb elogind)) + (synopsis "Manage firmware on devices") + (description + "This package provides integration of firmware manager: + @itemize +@item Upgrade, Downgrade, & Reinstall firmware on devices supported by fwupd. +@item Unlock locked fwupd devices +@item Verify firmware on supported devices +@item Display all releases for a fwupd device +@end itemize") + (home-page "https://gitlab.gnome.org/World/gnome-firmware") + (license license:gpl2+))) + (define-public gnome-font-viewer (package (name "gnome-font-viewer") -- 2.38.1