From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kNbKMt5+aGcKEwEA62LTzQ:P1 (envelope-from ) for ; Sun, 22 Dec 2024 21:04:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kNbKMt5+aGcKEwEA62LTzQ (envelope-from ) for ; Sun, 22 Dec 2024 22:04:30 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=KVxNTYiL; 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), DKIM not aligned (relaxed)" header.from=freeshell.de (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734901470; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=3UsI//SjjYXD6xIzPLrhcpODNrO3lJ6qSAfPimF1oOk=; b=g66svcDKSGpmXDluFKkiNt9ukenRd0euUmsdAUiVpdLifdGQkodQavxjPcU3b3uhmuTg+F cqwdE20IjT15ah7CzDXP/iIvavxgwRYLWlRu1a1Jktssap7aQa0EoeBTKrti2S6z00dz6q fZCciion2u516p4C07kIfKa9C1whv2ackp7S8WZgMYIoFbX/xBqQix2OHhAeRyNuGRqsN8 cG0D6AKErFDEkCrFGILn+J7bD3A/N/uGMIggJ+SLkuZTsL4yUJsmqwFwtnz5cM9DCGuXKs 6WUpR+LYYVx8/ybjUdWIAJRoQQUlYYZmI/SyLzRQ3MlnrU+h2xzD5IAzdtGITg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=KVxNTYiL; 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), DKIM not aligned (relaxed)" header.from=freeshell.de (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734901470; a=rsa-sha256; cv=none; b=AltCJW1dYCI07ldra5f5/nvlplvBPDbaz72cGbfP/npbNxt8I+P6vTAMjY5pqn+wMqQMLz lALc5rZaPeCNXsmsJe98MB6AzRNlwOKAE9AtjhmIKNCHqEE6kvsauPu39KX6DqvhK0ZH5x +epjEEb56QKfFCm97K5aZhXRRdfCbCGH04cckIroLWRbEgSQ8xdhtiHvrum4VNcEubMLG0 0Hfik5wK6QXh5PdTYZHMA6CQlnzptUa79eUO4023GZQm1HL6xbZT1Y98hbWsqpCXkIv6Xq nSDPFdoRYD1lzBoZrAsu6XBY7Rwap2DbzL9s/4DjCdfe54oY4EKfNXXK90l9Jg== 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 231CD1ED5A for ; Sun, 22 Dec 2024 22:04:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPT7O-0004ym-8h; Sun, 22 Dec 2024 16:04:06 -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 1tPT7L-0004yI-Cd for guix-patches@gnu.org; Sun, 22 Dec 2024 16:04:03 -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 1tPT7L-00039C-4I for guix-patches@gnu.org; Sun, 22 Dec 2024 16:04:03 -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:Date:From:To:Subject; bh=3UsI//SjjYXD6xIzPLrhcpODNrO3lJ6qSAfPimF1oOk=; b=KVxNTYiLCY+xj0O/81/ihe6K2BcKCjXiiwx2acWJMitcsFL3j4/T3uMZneUtPZC8/IfRrPFn+MLgioZW6BbIR0twaEBxtn0qpvXo5GTOlGgaH/e2Shy3tdRPC6goixU1TLFynNraWm2bkL1wIN6bKsOtFdL7pd+I1d9xKqfe+wfJCanTWcGjv5J/TwOO59F90rqazk0cwmY5Wm7GcBsLTPr4K2l1SktBr//emS/ti1tuhYspP0wxSoyCh0XgXGxsdllufigot7JF7/ncnR93woKTZnQT7V4dUpE8R5czOfR1oZStFZmoNfKreIIktl7z0tyLsQL+oluoGeg0MZ24PA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPT7J-0001Gn-VX for guix-patches@gnu.org; Sun, 22 Dec 2024 16:04:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75035] [PATCH] gnu: spectrwm: Update to 3.6.0. Resent-From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 22 Dec 2024 21:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75035 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75035@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17349014124834 (code B ref -1); Sun, 22 Dec 2024 21:04:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Dec 2024 21:03:32 +0000 Received: from localhost ([127.0.0.1]:52139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPT6p-0001Fu-Lj for submit@debbugs.gnu.org; Sun, 22 Dec 2024 16:03:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:58888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPT6o-0001Fm-6N for submit@debbugs.gnu.org; Sun, 22 Dec 2024 16:03:30 -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 1tPT6n-0004vK-TM for guix-patches@gnu.org; Sun, 22 Dec 2024 16:03:29 -0500 Received: from freeshell.de ([2a01:4f8:231:482b::2]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPT6m-00036j-34 for guix-patches@gnu.org; Sun, 22 Dec 2024 16:03:29 -0500 Received: from localhost.localdomain (cst-prg-18-223.cust.vodafone.cz [46.135.18.223]) (Authenticated sender: wz) by freeshell.de (Postfix) with ESMTPSA id 91DC0B4B34E5 for ; Sun, 22 Dec 2024 22:03:23 +0100 (CET) From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Date: Sun, 22 Dec 2024 22:01:13 +0100 Message-ID: <0567e2e80afb6cf1384fc5d3dc76245608987f05.1734897631.git.wz@freeshell.de> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a01:4f8:231:482b::2; envelope-from=wz@freeshell.de; helo=freeshell.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-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 X-Migadu-Spam-Score: -2.48 X-Spam-Score: -2.48 X-Migadu-Queue-Id: 231CD1ED5A X-Migadu-Scanner: mx10.migadu.com X-TUID: dk8UOhtd+S94 * gnu/packages/wm.scm (spectrwm): Update to 3.6.0. [arguments]: Update make-flags. [inputs]: Add libxcb. [native-inputs]: Add libbsd. Change-Id: Ib7912c43b9e80be2a24cae46d44e039e5b84e6df --- gnu/packages/wm.scm | 73 +++++++++++++++++++++++---------------------- 1 file changed, 38 insertions(+), 35 deletions(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 580b33f4be..f2c80c04b5 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -146,6 +146,7 @@ (define-module (gnu packages wm) #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) + #:use-module (gnu packages libbsd) #:use-module (gnu packages libevent) #:use-module (gnu packages libffi) #:use-module (gnu packages linux) @@ -1568,7 +1569,7 @@ (define-public sandbar (define-public spectrwm (package (name "spectrwm") - (version "3.2.0") + (version "3.6.0") (source (origin (method git-fetch) @@ -1579,42 +1580,44 @@ (define-public spectrwm (string-join (string-split version #\.) "_"))))) (file-name (git-file-name name version)) (sha256 - (base32 "1dfqy5f0s1nv6rqkz9lj006vypmp4rwxd5vczfk3ndzqgnh19kw6")))) + (base32 "1fh2r870djrxm3my2z6wigp0gswgh5gvfa9vxcyh7q488k7b0ljn")))) (build-system gnu-build-system) (arguments - `(#:make-flags (let ((pkg-config (lambda (flag) - (string-append - "$(shell pkg-config " flag " " - "xft fontconfig x11 libpng)")))) - (list - "CC=gcc" - (string-append "PREFIX=" %output) - (string-append "INCS=-I. " (pkg-config "--cflags")) - (string-append "LIBS=" (pkg-config "--libs") " -lm"))) - #:tests? #f ;no test suite - #:phases - (modify-phases %standard-phases - (add-before 'build 'change-dir - (lambda _ - (chdir "linux") #t)) - (add-after 'change-dir 'patch-makefile - (lambda _ - (substitute* "Makefile" - (("-g") "")))) - (delete 'configure)))) ;no 'configure' exists - (inputs - `(("freetype" ,freetype) - ("fontconfig" ,fontconfig) - ("libx11" ,libx11) - ("libxcursor" ,libxcursor) - ("libxrandr" ,libxrandr) - ("libxtst" ,libxtst) - ("libxft" ,libxft) - ("xcb-util" ,xcb-util) - ("xcb-util-wm" ,xcb-util-wm) - ("xcb-util-keysyms" ,xcb-util-keysyms))) - (native-inputs - (list libxt pkg-config)) + (list + #:make-flags #~(let ((pkg-config (lambda (flag) + (string-append "$(shell pkg-config " + flag " " + "freetype2 xft fontconfig x11 libpng)")))) + (list (string-append "CC=" + #$(cc-for-target)) + (string-append "PREFIX=" %output) + (string-append "INCS=-I. " + (pkg-config "--cflags")) + (string-append "LIBS=" + (pkg-config "--libs") " -lm"))) + #:tests? #f ;no test suite + #:phases #~(modify-phases %standard-phases + (add-before 'build 'change-dir + (lambda _ + (chdir "linux") #t)) + (add-after 'change-dir 'patch-makefile + (lambda _ + (substitute* "Makefile" + (("-g") + "")))) + (delete 'configure)))) ;no 'configure' exists + (inputs (list freetype + fontconfig + libx11 + libxcb + libxcursor + libxrandr + libxtst + libxft + xcb-util + xcb-util-wm + xcb-util-keysyms)) + (native-inputs (list libbsd libxt pkg-config)) (synopsis "Minimalistic automatic tiling window manager") (description "Spectrwm is a small dynamic tiling and reparenting window manager for X11. base-commit: 1ca065fe68d68a2fa9c3d747f23fd11c8ecfd85b -- 2.46.0