From patchwork Tue Jan 10 12:06:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 46015 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 E091027BBE9; Tue, 10 Jan 2023 12:08:04 +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,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 CBA7A27BBEB for ; Tue, 10 Jan 2023 12:08:03 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFDPG-0002pW-L7; Tue, 10 Jan 2023 07:07:06 -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 1pFDPD-0002o7-TT for guix-patches@gnu.org; Tue, 10 Jan 2023 07:07:04 -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 1pFDPD-00035N-Ko for guix-patches@gnu.org; Tue, 10 Jan 2023 07:07:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pFDPC-0000zi-RE for guix-patches@gnu.org; Tue, 10 Jan 2023 07:07:02 -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 12:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60699 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jelle Licht Cc: Ludovic =?utf-8?q?Court=C3=A8s?= , 60699@debbugs.gnu.org Received: via spool by 60699-submit@debbugs.gnu.org id=B60699.16733523973777 (code B ref 60699); Tue, 10 Jan 2023 12:07:02 +0000 Received: (at 60699) by debbugs.gnu.org; 10 Jan 2023 12:06:37 +0000 Received: from localhost ([127.0.0.1]:39022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFDOm-0000yr-T6 for submit@debbugs.gnu.org; Tue, 10 Jan 2023 07:06:37 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:34707) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFDOk-0000yb-GU for 60699@debbugs.gnu.org; Tue, 10 Jan 2023 07:06:35 -0500 Date: Tue, 10 Jan 2023 12:06:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1673352388; x=1673611588; bh=stkBmNBc5wrkcK6ABfcgweHRTjxr8d8v06xlWDtvmO4=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=UMWQtoHWnxusrURZ6ijs8ALpixQ1go0E41+ap6hWnDteWvMN2gERzUtLO3kRR9SgR I3UA0V1GCtWN8cQEyBRFzS6g5mycdWfPMI88KkLtaXJc3wJ63418PrPA2UtdCx+dac ZMq2dDab2+YdzAVRPuKwVE9BlaOMPrK6rJ3BBGvVSIRpFiP16/o8WTmYpEcDohrlEG wRXXZ1pEqEL0zNucw8qzESUiyX7iiTuP+OvnYrfjF+zEMJma+w5NsOQocBObXPMZUt /vsHBPCQGSxX35Zm8x2Z0jck/cgGq4S+cAzkphcvNRwTl/d87OOa/hlLdbGMXXr/DI JyLY/Kluax5dw== Message-ID: <2QY4qmI1HEY8z5nFzdmKy4dh65q6GHmMaOl1KXu0u3tL3EnVVuwL3IkCHjAjI6P9axsRfEsEU33HcRARJLDj4u_-uw6-GwokEtNMkok9HF4=@protonmail.com> In-Reply-To: <87a62qbsg2.fsf@fsfe.org> References: <4jVXzFcbk7yONwfqid6qqilCgTRGy444TSoquZ-JyjNWsQ7wBLNZmrr221In95YehmkIVQGRFWaJSPIOHUx8jpr1V3JeXDuOQZ3WeRI-B6o=@protonmail.com> <87a62qbsg2.fsf@fsfe.org> Feedback-ID: 14143818:user:proton 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: 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 Hi Jelle, I've tested the fwupd on my Asus Zenbook machine - see the attached screenshot. Without the service running the gnome-firmware or fwupdtool didn't work. With the service running I get some information about the firmware, EFI... It hasn't been battle tested by updating anything as the firmware there is the latest. I've also tried adding polkit extension but it seems to run without it in my case. Could you please test the patch if it works also for you, if not we can add it :-) Check the rewritten synposis for gnome-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 "Update, reinstall and downgrade firmware on devices supported +by fwupd") + (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