From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id sPJpDP+CPGbCdwEAqHPOHw:P1 (envelope-from ) for ; Thu, 09 May 2024 10:02:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sPJpDP+CPGbCdwEAqHPOHw (envelope-from ) for ; Thu, 09 May 2024 10:02:07 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=EoM14ZFI; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715241727; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ek64CMzugxrp32YB0L8YPUDBVpQXqhRktv6iFYZgQdM=; b=IknuZTrpXmPzFavvrMg1FcHJjywbff1oQRQJB+TSLrutbIao1Gd820MhlwI5y5pOpLqlBN zetConp1M2foDo/mzedCXLOofEkO43ixqEX8/4qDDrGdizS3if1bHTOCqAbbnWvYCWUsPB 1EEdf0iK34wTrAGVqBCupcHoVffQ9PWCOiPD3zjk7xDuOt4MtP5MykFuBUwVqrq5byxdOq okOw4vc+mX23vhkNQtEnNGyHv7x4oZ5G53JSwf9HrkjOtP7W3A1DDdZaKW74EZRDkfdWn+ KgjlB1hElALf6hvIz8EJkytPwi9R6L61r+T9S4RiKJyavKZh7pOOe5HSJ72jwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=EoM14ZFI; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715241727; a=rsa-sha256; cv=none; b=YjT4O/gd27ZoWN7h5ikYsEektK6F2yWZCx762nRypkzCgnMBsrrrNmU1oVglvJnfj26X95 VzkyD29b9s4W/sap8KjrXcJcBZbsDoInPhS2gepY1WMRjdoje6S3v2Tn6ZrGHNPwudpcyb zsdqzIkGP3FhRFk9Xx8+RtnRkFEhg9v/pbWxO2H0kCefZXOpbVsmSct4Kb5ngx2n52rE1W HnNi+7ZHZRmXPEM7SoXPE8LAif1aYiBOA/ZPbNCiKSc0ba68Oaet7r6kZOoerWLPiBywWq 8Iy13mXWjKIk07bH3rW2rnjFogPlr9fKNKK2A3JtZfNIl+rbPubLgKn46QMEVw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B87F38704 for ; Thu, 9 May 2024 10:02:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4yip-000350-TQ; Thu, 09 May 2024 04:01:47 -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 1s4yie-00032o-RF for guix-patches@gnu.org; Thu, 09 May 2024 04:01:45 -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 1s4yie-0004NB-Dk for guix-patches@gnu.org; Thu, 09 May 2024 04:01:36 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s4yj4-0004fj-8a for guix-patches@gnu.org; Thu, 09 May 2024 04:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70460] [PATCH v2 0/3] Update power-profiles-daemon and add a service-type for it. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 May 2024 08:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70460 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70460@debbugs.gnu.org Cc: felix@alternativebit.fr Received: via spool by 70460-submit@debbugs.gnu.org id=B70460.171524167717930 (code B ref 70460); Thu, 09 May 2024 08:02:02 +0000 Received: (at 70460) by debbugs.gnu.org; 9 May 2024 08:01:17 +0000 Received: from localhost ([127.0.0.1]:53844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4yiK-0004f8-NC for submit@debbugs.gnu.org; Thu, 09 May 2024 04:01:17 -0400 Received: from mout02.posteo.de ([185.67.36.66]:54701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4yiH-0004f0-MX for 70460@debbugs.gnu.org; Thu, 09 May 2024 04:01:15 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 56C39240101 for <70460@debbugs.gnu.org>; Thu, 9 May 2024 10:00:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1715241641; bh=tTjbEn0L6zo+aJ/g97krZ4Aj5bGR7lf7vifl6XjXwpw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type: Content-Transfer-Encoding:From; b=EoM14ZFIcfnVNJ372bKQo2AdYQ7yKTpZWUc8kN/AG+AaWogl52H8N/sAfyyzgEBV/ VD/Mz3HIZzPmN8zt20E3FbDE1x4zqxpHmnUf0lpVfH07e8NBVtL9dISrPF/sfl+OWt +ECcPxui+Xwd9wlVpRgqmOVspBWKIuaYR5pBbxGQb1RIjrcmeH64VDtYLUFWrl+YQ4 ET81MXkGx4Mz2+s7LiOKglPrdg3kL8XlcoQie1eXSN0EGX9wOvrZE+9y8s5MMLipzQ /59YIF9GRtbN989kYgd3itJpwzbvYdEhyTfTo2hbQc9tr+66cCtjCEtwMxX1FRVfCV mn45uH76/v2vw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VZkw85zSfz6twj; Thu, 9 May 2024 10:00:40 +0200 (CEST) Message-ID: Date: Thu, 9 May 2024 08:00:38 +0000 MIME-Version: 1.0 References: Content-Language: en-US From: Dariqq In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 2.41 X-Migadu-Queue-Id: B87F38704 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 2.41 X-TUID: 3B1xwA9fABXI On 02.05.24 17:37, Dariqq wrote: > Hi all, > > Here is v2 of the patches. > > I hope the added manual entry is ok as I don't have prior experience writing texinfo. I've added the note not to use tlp and p-p-d together there too. > > Also is there a better way to set the pythonpath to not include the packages in native-inputs? This decreases guix size of the package by 100 MB. > > Changes compared to v1: > > * Added the commit removing inputs to the first commit. > * Added back python and python-pygobject as inputs (previously propagated from python-dbusmock in native-inputs). > * Set GUIX_PYTHONPATH to only refer to nonnative python inputs rather than all. > * Moved gtk-docs to a seperate doc output. > * Added a short entry in the manual for the service-type. > * Added my copyright line in all files. > > Things that could still be improved: > * The generated manpage looks horrible because python-argparse-manpage is outdated. I've tried updating it but ran into test errors. For the manpage I've updated python-argparse-manpage in #70834 which got pushed yesterday which fixes the manpage for me locally. > * Test timeout issues on qa? I am not sure what to do here as it is kind of hard for me to guess what an appropriate timeout window would be that would work. > > It seems to succeeding now. Maybe we just got lucky this time? > Dariqq (3): > gnu: power-profiles-daemon: Update to 0.21. > gnu: power-profiles-daemon: Build gtk-docs. > gnu: services: Add power-profiles-daemon-service-type. > > doc/guix.texi | 40 +++++++++++++++++++++++++ > gnu/packages/freedesktop.scm | 56 +++++++++++++++++++++++------------ > gnu/services/pm.scm | 57 +++++++++++++++++++++++++++++++++++- > 3 files changed, 134 insertions(+), 19 deletions(-) > > > base-commit: 5010a51fc91aeac5a3b87a3eea04f18f3fe8a3a3