From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uFAVBTHY0WP/+gAAbAwnHQ (envelope-from ) for ; Thu, 26 Jan 2023 02:32:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uKg2BDHY0WMZYAAAG6o9tA (envelope-from ) for ; Thu, 26 Jan 2023 02:32:33 +0100 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 7FC6F135AA for ; Thu, 26 Jan 2023 02:32:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKr7f-0005yh-21; Wed, 25 Jan 2023 20:32:15 -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 1pKr7Z-0005yV-TF for guix-patches@gnu.org; Wed, 25 Jan 2023 20:32:10 -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 1pKr7S-0006jK-Fc for guix-patches@gnu.org; Wed, 25 Jan 2023 20:32:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pKr7R-000413-SB for guix-patches@gnu.org; Wed, 25 Jan 2023 20:32:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61068] [PATCH] gnu: sawfish: Update to 1.13.0. Resent-From: tumashu@163.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 26 Jan 2023 01:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61068 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61068@debbugs.gnu.org Cc: Feng Shu X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167469671115418 (code B ref -1); Thu, 26 Jan 2023 01:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jan 2023 01:31:51 +0000 Received: from localhost ([127.0.0.1]:60267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKr7G-00040c-TE for submit@debbugs.gnu.org; Wed, 25 Jan 2023 20:31:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:41330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKr7D-00040T-N8 for submit@debbugs.gnu.org; Wed, 25 Jan 2023 20:31:50 -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 1pKr7D-0005w7-15 for guix-patches@gnu.org; Wed, 25 Jan 2023 20:31:47 -0500 Received: from m12.mail.163.com ([123.126.96.234]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKr71-0006gN-M3 for guix-patches@gnu.org; Wed, 25 Jan 2023 20:31:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=g6NAX mt28J0FrwcmGZW8yDVsEtihNUeGMUSKoYohY8g=; b=SzChd2MffedFP2Av3RCtn HWprJn8k84hC9AlRygD41RgvLtUpDvymh0Ns6/VECmX1mztg4MPpwGWHgS+0xkDq vIlFGagmQXm9QW1cylbeTTjPKSc8TBeeWLLMiw44yQpuTITc7QahfH3XK0bqoedU jpp8x/AK8Xw3RmtvnC9a1Q= Received: from localhost.localdomain (unknown [180.105.241.146]) by smtp19 (Coremail) with SMTP id R9xpCgDHvqLt19FjGBvjBg--.56868S2; Thu, 26 Jan 2023 09:31:29 +0800 (CST) From: tumashu@163.com Date: Thu, 26 Jan 2023 09:31:24 +0800 Message-Id: <20230126013124.2436-1-tumashu@163.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: R9xpCgDHvqLt19FjGBvjBg--.56868S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxCry8WryrGFW3tr1fWr13XFb_yoW5KFWDpF s5t3Z3C398CFyvq3yxWF4IgryFgFyIqrWYyws7u3srtw45trW8Wr12ka9xJFy2y3WkJayU Cr1UJayUGr90grJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0JUTmh5UUUUU= X-Originating-IP: [180.105.241.146] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/xtbB0xID1FXlxydMwwAAsJ Received-SPF: pass client-ip=123.126.96.234; envelope-from=tumashu@163.com; helo=m12.mail.163.com 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, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674696752; a=rsa-sha256; cv=none; b=dc6NuWfjE8iF00okT4Ve8UWjrvloufeeVKmxf2C4tPgZuw3cnPQZJxt7NfdOiIec35cred APLzyRQweXELbiLEP+NtAQq1SH1u5VUG3axo6U9/3nJJehOw4V48ACGOrdPBApN4MscQsH u4r4Fqj0nzBG5wQbECi08Ev8Q4cGcS3gzLNkl1qyy5t+zDgpivtXTLmJtD9qIzT2zr6p/E IwZpLU93WDrBfU2lhTSgSak56GkPnWJIUOvKnby5JxyQgPTp02IR+2fUins0DbM8cWYJq0 gx9+N9L7mJVeEk/i+Skn6J1hO4LtHWgcFzYsuEO902Jn+HPrR7u6TgZxQG5ciw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674696752; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=g6NAXmt28J0FrwcmGZW8yDVsEtihNUeGMUSKoYohY8g=; b=N8DE/Q6V53VzGghgZV7DBf9rKsKYEgRG+W+GSUQI0ppKmuAYi2TawUj1ma1+g91ZRbbPM7 mDix9GjZ6JP7XnoQ/tl986E+ULUqY1Q3jhxFvq0b5hcM3bTR3qI56w2sE7HCEg8iBfaBlj Zpf8M/hCKBpjjfpUpVdilnypbw2ah/+76tfF4LWLx2LE1T3rIymvvrqwOXnMUtI0rddfl3 OWGsUSCVN0SOsomdiT20VGxcpSE1KKeYOCCfWb0q2fgVY/VEgJhYAJsOLZfTj1CeQtcqa1 L1BP5RImwF+o8MtFGXxLqpnQqOyuSdkYS5BC/2agaUkXHUBfqhZWf2qNf6xM+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=SzChd2Mf; 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 (relaxed)" header.from=163.com (policy=none) X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: 5.82 X-Spam-Score: 5.82 X-Migadu-Queue-Id: 7FC6F135AA Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=SzChd2Mf; 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 (relaxed)" header.from=163.com (policy=none) X-TUID: aAQlBMcvob06 From: Feng Shu * gnu/packages/sawfish.scm (sawfish): Update to 1.13.0. --- gnu/packages/sawfish.scm | 73 ++++++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/gnu/packages/sawfish.scm b/gnu/packages/sawfish.scm index ab715b4a7d..1870a2950c 100644 --- a/gnu/packages/sawfish.scm +++ b/gnu/packages/sawfish.scm @@ -21,6 +21,7 @@ (define-module (gnu packages sawfish) #:use-module ((guix licenses) #:select (gpl2+)) + #:use-module (guix gexp) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) @@ -113,14 +114,14 @@ (define-public rep-gtk (define-public sawfish (package (name "sawfish") - (version "1.12.0") + (version "1.13.0") (source (origin (method url-fetch) (uri (string-append "https://download.tuxfamily.org/sawfish/" name "_" version ".tar.xz")) (sha256 (base32 - "1z7awzgw8d15aw17kpbj460pcxq8l2rhkaxk47w7yg9qrmg0xja4")) + "0pdgf9w5vrn3kfqxwggikj4yqg82rpy8ji613zdhidacz9dkqsw1")) (modules '((guix build utils))) (snippet '(begin @@ -131,44 +132,44 @@ (define-public sawfish "REP_DL_LOAD_PATH=$(REP_DL_LOAD_PATH):")) (substitute* "src/Makefile.in" ;; Install libraries for librep to $out/lib/rep. - (("\\$\\(repexecdir\\)") "$(libdir)/rep")) - #t)))) + (("\\$\\(repexecdir\\)") "$(libdir)/rep")))))) (build-system gnu-build-system) (arguments - '(#:tests? #f ; no tests - #:phases - (modify-phases %standard-phases - (add-before 'configure 'patch-exec-rep - (lambda _ - (substitute* '("lisp/sawfish/cfg/main.jl.in" - "scripts/sawfish-about.jl.in" - "scripts/sawfish-client.jl" - "scripts/sawfish-menu.jl") - (("exec rep") (string-append "exec " (which "rep")))) - #t)) - (add-after 'install 'wrap-scripts - ;; Wrap scripts with REP_DL_LOAD_PATH for finding rep-gtk - ;; and sawfish.client. - (lambda* (#:key outputs #:allow-other-keys) - (define (wrap-script script) - (let ((out (assoc-ref outputs "out"))) - (wrap-program (string-append out script) - `("REP_DL_LOAD_PATH" = - ,(list (getenv "REP_DL_LOAD_PATH") - (string-append out "/lib/rep")))))) - (for-each wrap-script - (list "/bin/sawfish-about" - "/bin/sawfish-client" - "/bin/sawfish-config" - "/lib/sawfish/sawfish-menu")) - #t))))) + (list + #:tests? #f ; no tests + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'patch-exec-rep + (lambda _ + (substitute* '("lisp/sawfish/cfg/main.jl.in" + "scripts/sawfish-about.jl.in" + "scripts/sawfish-client.jl" + "scripts/sawfish-menu.jl") + (("exec rep") (string-append "exec " (which "rep")))))) + (add-after 'install 'wrap-scripts + ;; Wrap scripts with REP_DL_LOAD_PATH for finding rep-gtk + ;; and sawfish.client. + (lambda* (#:key outputs #:allow-other-keys) + (define (wrap-script script) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out script) + `("REP_DL_LOAD_PATH" = + ,(list (getenv "REP_DL_LOAD_PATH") + (string-append out "/lib/rep")))))) + (for-each wrap-script + (list "/bin/sawfish-about" + "/bin/sawfish-client" + "/bin/sawfish-config" + "/lib/sawfish/sawfish-menu"))))))) (native-inputs - `(("gettext" ,gettext-minimal) - ("makeinfo" ,texinfo) - ("pkg-config" ,pkg-config) - ("which" ,which))) + (list gettext-minimal + texinfo + pkg-config + which)) (inputs - (list libsm + (list gdk-pixbuf-xlib + gmp + libsm libxft libxinerama libxrandr -- 2.39.1