From patchwork Sun Dec 22 21:01:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Wiktor_=C5=BBelazny?= X-Patchwork-Id: 35195 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 A31ED27BBEA; Sun, 22 Dec 2024 21:04:32 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 2B06227BBE2 for ; Sun, 22 Dec 2024 21:04:31 +0000 (GMT) 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 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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(-) base-commit: 1ca065fe68d68a2fa9c3d747f23fd11c8ecfd85b 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.