From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 6KD0Dj+0M2b40QAA62LTzQ:P1 (envelope-from ) for ; Thu, 02 May 2024 17:41:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 6KD0Dj+0M2b40QAA62LTzQ (envelope-from ) for ; Thu, 02 May 2024 17:41:51 +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=kctdMzKl; 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=1714664511; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=iOVrel3oc6qpfBenKnHB5Z6pplgQZ7I40Y716BqUJtg=; b=h7kKXf698nE/ZCvFSJRGKKuPj1o3p18lW7cJsULKCkQ7yhKCzYnd06fO2suPMTTtvR9ofx wC5dTxdlyW8cmQdf5mVz/uj8WtBFCdwDYRwroGsQeKTNw/MOf7c4V9p0Lq8EdJMhW3Pyxg NRY8VExvMmagAcprZg4yc2dueK8NwJLW5uy8m1a4RgfE2VM7cavDOn3u4dQeOG1ol2CNBq he8MqIB1zAZQo0kSRcLzpV60aNt4Uv9RsU8SAHwP/6Kay3/0DtB+0rDW+M8YuHrhEbodCP gKjex0nJpNVMETU/73Hhg3TNjD2usVzfGQIOEzSv6YqP/hS6Yy7VtLTu/L+uow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=kctdMzKl; 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=1714664511; a=rsa-sha256; cv=none; b=iWTTYCMJ0Im/mGcVWu3fTPx+KNVMsLaCsObQ4BjItuTdpwFuRZPuZFNTSsMxQLsZPg2IJa 3Ih38I0ClVLIl5oAGLdtR2rLRpwc8soEvTYGFcAAzTyrN1LauzsSJz0oUiWmdpQgLPfnLJ l8TrFZDgmpktv7YJDk5eB3RZ4gAzx4HJhA/7YXy+5PKH4B058UnJ/n5esH3m12Bucj227P WUhgb6AcxVHEXpSIyMUkt1aoAjNDr/eGEGVT6AeNIkhniGZ2rLuS97YGd1ziix8S4UEjKp ekw6riMumpxuaTMC8dsowl31ckcP/K/98ZghnHno0+ANP5GyZYeeDaPY4wOpFQ== 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 16F30688AD for ; Thu, 2 May 2024 17:41:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2YZ5-0004aM-Ei; Thu, 02 May 2024 11:41:43 -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 1s2YZ2-0004Ze-Da for guix-patches@gnu.org; Thu, 02 May 2024 11:41:40 -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 1s2YZ2-0000LD-29 for guix-patches@gnu.org; Thu, 02 May 2024 11:41:40 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s2YZN-0007St-Sh for guix-patches@gnu.org; Thu, 02 May 2024 11:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70460] [PATCH v2 2/3] gnu: power-profiles-daemon: Build gtk-docs. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 02 May 2024 15:42:01 +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: Dariqq , felix@alternativebit.fr Received: via spool by 70460-submit@debbugs.gnu.org id=B70460.171466451228658 (code B ref 70460); Thu, 02 May 2024 15:42:01 +0000 Received: (at 70460) by debbugs.gnu.org; 2 May 2024 15:41:52 +0000 Received: from localhost ([127.0.0.1]:44515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2YZD-0007S5-P8 for submit@debbugs.gnu.org; Thu, 02 May 2024 11:41:52 -0400 Received: from mout01.posteo.de ([185.67.36.65]:36799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2YZC-0007Rp-EY for 70460@debbugs.gnu.org; Thu, 02 May 2024 11:41:51 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id AF792240028 for <70460@debbugs.gnu.org>; Thu, 2 May 2024 17:41:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714664482; bh=inRhE3mAljJuATuffZeeXA08/W0ho+so1RyLUWjGxaY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=kctdMzKlnRnragvP6JJf/D+UzjhhJxDp794RJaB6oJ7K4J3xRYnmhvVRyM9JFaDga kq/PDLDc8FEsQpDXxKf2zZgUXFs0HSfd72ebokmg4MLRya7Lmhhn1GQ7vjMEirMcdw Jaxtgx/ARC2Ba5pkgzb2Rl2LHGQzarZay6Tx3p/V/i3vao1DW/GPo6nDm1mT6u7Ep8 iA3rmpuKV/DDHaoHsCWhbBf2StvQvgzLbJshLPmGP9dS8l1QxbO9zOftYuNJPQDpTC HDinQRRLSlaY4My3d49Q4obRinPX+YbWC16l12N/b0+RL/htcrHZUs75Ms4Dks/B9r c7KCmRlcKX44Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VVdSy1gF9z6tlh; Thu, 2 May 2024 17:41:22 +0200 (CEST) From: Dariqq Date: Thu, 2 May 2024 15:37:55 +0000 Message-ID: <96f7ba672aea10b1c259bba52d0536b3ce87aa38.1714662236.git.dariqq@posteo.net> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 3.91 X-Spam-Score: 3.91 X-Migadu-Queue-Id: 16F30688AD X-Migadu-Scanner: mx13.migadu.com X-TUID: a9uM8FNsE1wl * gnu/packages/freedesktop.scm (power-profiles-daemon): [outputs]: Add docs output. [#:configure-flags]: Enable building gtk-docs. [#:phases]: Add a phase to move gtk-docs to docs output. [inputs]: Add gtk-doc/stable, libxslt for docs. Change-Id: I1bc6047858d2b5188e714f39da8b760bc6a71078 --- gnu/packages/freedesktop.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 53cae544aa..a77dab5794 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -1169,9 +1169,11 @@ (define-public power-profiles-daemon (base32 "0dn3ygv49q7mzs52ch3yphxf4hbry698r1ajj52f6jgw7mpwr5p4")))) (build-system meson-build-system) + (outputs '("out" "doc")) (arguments (list #:configure-flags #~(list "-Dsystemdsystemunitdir=" "-Dpylint=disabled" + "-Dgtk_doc=true" (string-append "-Dzshcomp=" #$output "/share/zsh/site-functions/")) #:phases @@ -1189,9 +1191,17 @@ (define-public power-profiles-daemon "/lib/python" #$(version-major+minor (package-version (this-package-input "python"))) - "/site-packages"))))))))) + "/site-packages")))))) + (add-after 'install 'move-docs + (lambda _ + (mkdir-p (string-append #$output:doc "/share")) + (rename-file + (string-append #$output "/share/gtk-doc") + (string-append #$output:doc "/share/gtk-doc"))))))) (native-inputs (list `(,glib "bin") + gtk-doc/stable + libxslt pkg-config python python-argparse-manpage -- 2.41.0