From patchwork Wed Apr 26 00:11:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kiasoc5 X-Patchwork-Id: 49516 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 69A8B27BBE2; Wed, 26 Apr 2023 01:13:16 +0100 (BST) 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,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 660FB175BB for ; Wed, 26 Apr 2023 01:13:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prSmN-000249-P8; Tue, 25 Apr 2023 20:13:03 -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 1prSmM-00023x-7d for guix-patches@gnu.org; Tue, 25 Apr 2023 20:13:02 -0400 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 1prSmM-0000qh-04 for guix-patches@gnu.org; Tue, 25 Apr 2023 20:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1prSmL-00005f-Oo for guix-patches@gnu.org; Tue, 25 Apr 2023 20:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63080] [PATCH] gnu: stalonetray: Update to 0.8.5. Resent-From: kiasoc5 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 Apr 2023 00:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63080 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63080@debbugs.gnu.org Cc: kiasoc5 , Raimon Grau , Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1682467973326 (code B ref -1); Wed, 26 Apr 2023 00:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Apr 2023 00:12:53 +0000 Received: from localhost ([127.0.0.1]:53802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prSmC-00005B-Jh for submit@debbugs.gnu.org; Tue, 25 Apr 2023 20:12:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:49880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prSmA-000053-5r for submit@debbugs.gnu.org; Tue, 25 Apr 2023 20:12:50 -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 1prSm8-00023C-D1 for guix-patches@gnu.org; Tue, 25 Apr 2023 20:12:50 -0400 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prSm5-0000oC-ML for guix-patches@gnu.org; Tue, 25 Apr 2023 20:12:48 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BCDB0402D3; Wed, 26 Apr 2023 02:12:41 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XaNX79pLLvKB; Wed, 26 Apr 2023 02:12:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1682467960; bh=XnJP2Km6L7d/fIeM04FtPpjPPvDKSxOcwZ18BF8hkeY=; h=From:To:Cc:Subject:Date; b=DX36N4QNVFbhpIwXGzAYsGROxe2l4RJ8oZKnhyoqgzy2E9IUALtGZTbbhMOoUP7xp n1+kO+/FOFC4XiCAuJtJSWovardzRAU9YxZuS79M1s4gMkZewKtCjEokQYgWFTByc/ vB3jjcWHITpDdJjxQDaKt1Bk0VdlQguULMMkthyJGh11SuNk6yueghHGfh2ccGnNtU 2WiS47o6r3gQs8GZSwg/41BQhcqhG+4jXLHZ3wellwJyg+U3x8jywvOzagz7tVfBMt H2+vIpGTRH2ko1bo0QDeR4mWL0AZ3otcMHReot4xOlypBIWEJ4PlN6BeVf7WNPlT7x I1HacZDP5sk6w== Date: Tue, 25 Apr 2023 20:11:52 -0400 Message-Id: <20230426001152.71300-1-kiasoc5@disroot.org> MIME-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=kiasoc5@disroot.org; helo=knopi.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: kiasoc5 X-ACL-Warn: , kiasoc5 via Guix-patches X-Patchwork-Original-From: kiasoc5 via Guix-patches via From: kiasoc5 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 The last update for stalonetray.scm was in 2016, and it only contains stalonetray. Could it be moved to xdisorg.scm? * (stalonetray): Update to 0.8.5. [source]: Switch to git reference from GitHub. [arguments](phases): add phase to fix docbook root. [inputs]: Add libxpm. [native-inputs]: Add autoconf, autoconf, automake, libxslt, docbook-xsl. [homepage]: Update. --- gnu/packages/stalonetray.scm | 38 +++++++++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 9 deletions(-) base-commit: 8093c6ba21c51efe901ba98ce698c545bf13dcd0 diff --git a/gnu/packages/stalonetray.scm b/gnu/packages/stalonetray.scm index 65732313fe..37b5cdaae3 100644 --- a/gnu/packages/stalonetray.scm +++ b/gnu/packages/stalonetray.scm @@ -18,28 +18,48 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages stalonetray) + #:use-module (guix gexp) #:use-module (guix packages) - #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module ((guix licenses) #:select (gpl2+)) + #:use-module (gnu packages autotools) + #:use-module (gnu packages docbook) + #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) (define-public stalonetray (package (name "stalonetray") - (version "0.8.3") + (version "0.8.5") (source (origin - (method url-fetch) + (method git-fetch) (uri - (string-append "mirror://sourceforge/stalonetray/stalonetray/stalonetray-" - version "/stalonetray-" version ".tar.bz2")) + (git-reference + (url "https://github.com/kolbusa/stalonetray") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "0k7xnpdb6dvx25d67v0crlr32cdnzykdsi9j889njiididc8lm1n")))) - (inputs (list libx11)) + (base32 + "074wy1xppfycillbxq6fwrq87ik9glc95083df5vgm20mhzni7pz")))) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-docbook-root + (lambda _ + (substitute* "configure.ac" + (("AC_SUBST\\(DOCBOOK_ROOT\\)" all) + (string-append "DOCBOOK_ROOT=" + #$(this-package-native-input "docbook-xsl") + "/xml/xsl/docbook-xsl-" + #$(package-version (this-package-native-input "docbook-xsl")) + "; " all)))))))) + (inputs (list libx11 libxpm)) + (native-inputs (list autoconf automake libxslt docbook-xsl)) (build-system gnu-build-system) - (home-page "https://stalonetray.sourceforge.net") + (home-page "https://kolbusa.github.io/stalonetray") (synopsis "Standalone freedesktop.org and KDE systray implementation") (description "Stalonetray is a stand-alone freedesktop.org and KDE system