From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ABxMOJ2Yc2cIWAAAqHPOHw:P1 (envelope-from ) for ; Tue, 31 Dec 2024 07:09:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id ABxMOJ2Yc2cIWAAAqHPOHw (envelope-from ) for ; Tue, 31 Dec 2024 08:09:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="Ry/DrnqL"; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735628956; h=from:from:sender:sender:reply-to: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=IqhLscUyRdyMK6t/Y26Xc/wpc1SaNLJj/6f2q5Yksko=; b=d9MwGKEvfo+QsFs6T/0FDO1XScpYUsFMt/55Ds6tWltkgevIp+Cgg4yUpdQ0o/ZaVMAr2R Y4TTXODDIP6cjiWOXSuSf7dymgT3EKtY8Um2yMOqJuoM7bUuTWBUf326VzsHwYKaNQiToP R7pSyQ2QFkIu1jYI7HArcPWW7YbX/aIQ2pq8V93f5tg7akBAZ0cxDNrOVgn1zsz4dwICEL SO7IbY84/Rit/gLzyAV5fojLmJ7mE1tPnzYjatdwryKXZlXT3lOCt9XP2bMttLy54/8CT0 0lrZyv4/x9QXEcrxlf4/iz0FUHdCGPNW6jdGZIrPloybmRLobXc0OThgTzuEzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="Ry/DrnqL"; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735628956; a=rsa-sha256; cv=none; b=pBTI3HkhPhr2EAU5P0catHxOWhF8hgER5rc/Uuewl43OuJ60Y2W4TCkzYL/D/Qi2VpFInl nd3kpMIQ3ffZQs/m5D+1n/44M1pSciHDT2zJzj1CIuBgF+GmlTAkrnZuG8DCt5ZE0vsxjL nV1Y4uEJLtpuTpEcQrbQ1Lzs+OCDCy1sq0BcGaLUvzNT/MkZDB52i5ID/SqiK35wX1WrvS UQDo4phaqlosHJxFJVtbty4vk8LYbLrI/1ZsIWZRcoiLXaRbWoMu+/cFXB+hDcEqKYiX03 qXqZBHqggzGVZWRG0R71L4W3lBhU7tPaanmcCtXngjdzAliOwm5f6WwPzB7Ruw== 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 AFEAE1EB1D for ; Tue, 31 Dec 2024 08:09:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSVzs-00053s-Ba; Tue, 31 Dec 2024 01:44:56 -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 1tSVzE-0004TH-TH for guix-patches@gnu.org; Tue, 31 Dec 2024 01:44:19 -0500 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 1tSVzE-0005OI-CS for guix-patches@gnu.org; Tue, 31 Dec 2024 01:44:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=IqhLscUyRdyMK6t/Y26Xc/wpc1SaNLJj/6f2q5Yksko=; b=Ry/DrnqLQIEv/igKwGB+l9qQ5YjCrMGc4UaZ8/DXEY2UX5OjAjxdK1311of/kFe3mVyMADhx3zM37yWtMx72GfbJ3aavz71qkmPTecJMgagn0Cnfp5ayuE5NJUGovHW8oYnPWAwJl63skXHvZviV5UA0ldnFX5eYQF+smCsStnMQBQyEw3uYc1LPExe4S7riU4fYTak9edlJl685vA479npK6a2OJ8M5xZ2hU6i4Jb/7XoBUWmpfUm6bejSbTzHyjPIzZl+ELwTBTUXNkbZvjRUkTZxk/W7Hc5IV7cYRguasFn+LDkeQN3hraJEes5khb3Qn3iGvPwqfUKE25kVl4g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSVzB-000110-OF; Tue, 31 Dec 2024 01:44:13 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75146] [PATCH v4 36/68] gnu: xfce4-power-manager: Switch to git source. Resent-From: iyzsong@envs.net Original-Sender: "Debbugs-submit" Resent-CC: all_but_last@163.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Tue, 31 Dec 2024 06:44:13 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75146 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75146@debbugs.gnu.org Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , Zhu Zihao , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-Xcc: Zhu Zihao , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by 75146-submit@debbugs.gnu.org id=B75146.17356274193549 (code B ref 75146); Tue, 31 Dec 2024 06:44:13 +0000 Received: (at 75146) by debbugs.gnu.org; 31 Dec 2024 06:43:39 +0000 Received: from localhost ([127.0.0.1]:32831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSVyc-0000v5-Dy for submit@debbugs.gnu.org; Tue, 31 Dec 2024 01:43:38 -0500 Received: from mail.envs.net ([5.199.136.28]:37762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSVy6-0000pm-Mv for 75146@debbugs.gnu.org; Tue, 31 Dec 2024 01:43:07 -0500 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 4B93838A3E7A; Tue, 31 Dec 2024 06:43:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Wp1QnUHiu_IG; Tue, 31 Dec 2024 06:43:03 +0000 (UTC) Received: from localhost (unknown [112.44.106.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Tue, 31 Dec 2024 06:42:57 +0000 (UTC) Received: from localhost.localdomain (localhost.lan [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 9589bce1; Tue, 31 Dec 2024 06:45:11 +0000 (UTC) Date: Tue, 31 Dec 2024 14:44:06 +0800 Message-ID: X-Mailer: git-send-email 2.47.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: , Reply-to: iyzsong@envs.net X-ACL-Warn: , iyzsong--- via Guix-patches From: iyzsong--- via Guix-patches via 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-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 0.80 X-Spam-Score: 0.80 X-Migadu-Queue-Id: AFEAE1EB1D X-TUID: COCm7vXRnwaa From: 宋文武 * gnu/packages/xfce.scm (xfce4-power-manager)[source]: Switch to git-fetch. [arguments]: Add "--enable-maintainer-mode" to configure-flags. Remove 'patch-configure phase. [native-inputs]: Add xfce4-dev-tools. [inputs]: Add wlr-protocols. [home-page]: Set to docs.xfce.org. Change-Id: Ief7a7b05516ad535f4417aa4f927bca6d039e034 --- gnu/packages/xfce.scm | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 6a2c6c905d..a35ba85661 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -1358,29 +1358,25 @@ (define-public xfce4-power-manager (package (name "xfce4-power-manager") (version "4.20.0") - (source (origin - (method url-fetch) - (uri (string-append "https://archive.xfce.org/src/xfce/" - "xfce4-power-manager/" (version-major+minor version) "/" - "xfce4-power-manager-" version ".tar.bz2")) - (sha256 - (base32 - "0agdsq2d4kr9aw7nqj1x5cgpxqcjffajipwjvlxq6likyv7924wp")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url (string-append "https://gitlab.xfce.org/xfce/" name)) + (commit (string-append name "-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "089qv5704y5dk2jddl3rij4d591q5i2dqlv8gb6vr250pyp1v9d8")))) (build-system gnu-build-system) (arguments - (list #:phases - #~(modify-phases %standard-phases - (add-before 'configure 'patch-configure - (lambda _ - (substitute* "configure" - ;; XDG_CHECK_PACKAGE_BINARY requires an absolute path. - (("\\$PKG_CONFIG --variable=gdbus_codegen gio-2.0") - "type -p gdbus-codegen"))))))) + (list #:configure-flags + #~(list "--enable-maintainer-mode"))) ;for xfpm-dbus-marshal.h, etc. (native-inputs - (list (list glib "bin") pkg-config intltool)) + (list xfce4-dev-tools)) (inputs - (list libxrandr gtk+ upower libnotify libxfce4ui polkit xfce4-panel)) - (home-page "https://www.xfce.org/") + (list libxrandr gtk+ upower libnotify libxfce4ui polkit + wlr-protocols xfce4-panel)) + (home-page "https://docs.xfce.org/xfce/xfce4-power-manager/") (synopsis "Xfce Power Manager") (description "This is a power manager for the Xfce desktop. It manages the power -- 2.46.0