GNU bug report logs - #69428
[PATCH 0/4] fix sxhkd and bspwm cross-compilation.

Previous Next

Package: guix-patches;

Reported by: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Date: Tue, 27 Feb 2024 15:46:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69428 in the body.
You can then email your comments to 69428 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#69428; Package guix-patches. (Tue, 27 Feb 2024 15:46:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 27 Feb 2024 15:46:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/4] fix sxhkd and bspwm cross-compilation.
Date: Tue, 27 Feb 2024 23:12:26 +0800
fix sxhkd and bspwm cross-compilation

Zheng Junjie (4):
  gnu: sxhkd: Use Gexps.
  gnu: sxhkd: Remove asciidoc input.
  gnu: bspwm: Use Gexps.
  gnu: bspwm: fix cross-compilation.

 gnu/packages/wm.scm      | 16 ++++++++--------
 gnu/packages/xdisorg.scm | 20 ++++++++++----------
 2 files changed, 18 insertions(+), 18 deletions(-)


base-commit: 75bad75367fcf2c289fae3b40dbcc850f92177be
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#69428; Package guix-patches. (Tue, 27 Feb 2024 15:52:02 GMT) Full text and rfc822 format available.

Message #8 received at 69428 <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: 69428 <at> debbugs.gnu.org
Subject: [PATCH 1/4] gnu: sxhkd: Use Gexps.
Date: Tue, 27 Feb 2024 23:50:33 +0800
* gnu/packages/xdisorg.scm(sxhkd)[arguments]: Use Gexps.

Change-Id: Ib2379193014fdfe21de161691dac46d6e9feb758
---
 gnu/packages/xdisorg.scm | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 86e5086867..c8f78a9fb8 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -41,7 +41,7 @@
 ;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared <at> gmail.com>
 ;;; Copyright © 2020 James Smith <jsubuntuxp <at> disroot.org>
 ;;; Copyright © 2020 B. Wilson <elaexuotee <at> wilsonb.com>
-;;; Copyright © 2020, 2021, 2023 Zheng Junjie <873216071 <at> qq.com>
+;;; Copyright © 2020, 2021, 2023, 2024 Zheng Junjie <873216071 <at> qq.com>
 ;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;;; Copyright © 2021, 2022 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
 ;;; Copyright © 2021 Xinglu Chen <public <at> yoctocell.xyz>
@@ -1343,14 +1343,14 @@ (define-public sxhkd
     (inputs
      (list asciidoc libxcb xcb-util xcb-util-keysyms xcb-util-wm))
     (arguments
-     `(#:phases (modify-phases %standard-phases (delete 'configure))
-       #:tests? #f  ; no check target
-       #:make-flags
-       (list ,(string-append "CC=" (cc-for-target))
-             (string-append "PREFIX=" %output)
-             ;; Keep the documentation where the build system installs LICENSE.
-             (string-append "DOCPREFIX=" %output
-                            "/share/doc/" ,name "-" ,version))))
+     (list #:phases #~(modify-phases %standard-phases (delete 'configure))
+           #:tests? #f  ; no check target
+           #:make-flags
+           #~(list (string-append "CC=" #$(cc-for-target))
+                   (string-append "PREFIX=" #$output)
+                   ;; Keep the documentation where the build system installs LICENSE.
+                   (string-append "DOCPREFIX=" #$output
+                                  "/share/doc/" #$name "-" #$version))))
     (home-page "https://github.com/baskerville/sxhkd")
     (synopsis "Simple X hotkey daemon")
     (description "sxhkd is a simple X hotkey daemon with a powerful and
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#69428; Package guix-patches. (Tue, 27 Feb 2024 15:57:01 GMT) Full text and rfc822 format available.

Message #11 received at 69428 <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: 69428 <at> debbugs.gnu.org
Subject: [PATCH 2/4] gnu: sxhkd: Remove asciidoc input.
Date: Tue, 27 Feb 2024 23:50:34 +0800
asciidoc is a developing-time dependency.

* gnu/packages/xdisorg.scm(sxhkd)[inputs]: Remove asciidoc input.

Change-Id: Ib2379193014fdfe21de161691dac46d6e9feb758
---
 gnu/packages/xdisorg.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index c8f78a9fb8..eb990c1c98 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -1341,7 +1341,7 @@ (define-public sxhkd
         (base32 "1winwzdy9yxvxnrv8gqpigl9y0c2px27mnms62bdilp4x6llrs9r"))))
     (build-system gnu-build-system)
     (inputs
-     (list asciidoc libxcb xcb-util xcb-util-keysyms xcb-util-wm))
+     (list libxcb xcb-util xcb-util-keysyms xcb-util-wm))
     (arguments
      (list #:phases #~(modify-phases %standard-phases (delete 'configure))
            #:tests? #f  ; no check target
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#69428; Package guix-patches. (Tue, 27 Feb 2024 15:57:02 GMT) Full text and rfc822 format available.

Message #14 received at 69428 <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: 69428 <at> debbugs.gnu.org
Subject: [PATCH 3/4] gnu: bspwm: Use Gexps.
Date: Tue, 27 Feb 2024 23:50:35 +0800
* gnu/packages/wm.scm(bspwm)[arguments]: Use Gexps.

Change-Id: I47399c52c8ba9adb8ea95c2a05cc8ba4762bbca3
---
 gnu/packages/wm.scm | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index ae8213ddae..68b381fa90 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -41,7 +41,7 @@
 ;;; Copyright © 2020 B. Wilson <elaexuotee <at> wilsonb.com>
 ;;; Copyright © 2020 Niklas Eklund <niklas.eklund <at> posteo.net>
 ;;; Copyright © 2020 Robert Smith <robertsmith <at> posteo.net>
-;;; Copyright © 2021, 2023 Zheng Junjie <873216071 <at> qq.com>
+;;; Copyright © 2021, 2023, 2024 Zheng Junjie <873216071 <at> qq.com>
 ;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus <at> gmail.com>
 ;;; Copyright © 2021 qblade <qblade <at> protonmail.com>
 ;;; Copyright © 2021 lasnesne <lasnesne <at> lagunposprasihopre.org>
@@ -184,13 +184,13 @@ (define-public bspwm
            xcb-util-keysyms
            xcb-util-wm))
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (delete 'configure))           ; no configure script
-       #:tests? #f                      ; no check target
-       #:make-flags
-       (list "CC=gcc"
-             (string-append "PREFIX=" %output))))
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (delete 'configure))           ; no configure script
+           #:tests? #f                      ; no check target
+           #:make-flags
+           #~(list "CC=gcc"
+                   (string-append "PREFIX=" #$output))))
     (home-page "https://github.com/baskerville/bspwm")
     (synopsis "Tiling window manager based on binary space partitioning")
     (description "bspwm is a tiling window manager that represents windows as
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#69428; Package guix-patches. (Tue, 27 Feb 2024 15:57:02 GMT) Full text and rfc822 format available.

Message #17 received at 69428 <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: 69428 <at> debbugs.gnu.org
Subject: [PATCH 4/4] gnu: bspwm: fix cross-compilation.
Date: Tue, 27 Feb 2024 23:50:36 +0800
* gnu/packages/wm.scm(bspwm)[arguments]<#:make-flags>: Use CC-FOR-TARGET.

Change-Id: I47399c52c8ba9adb8ea95c2a05cc8ba4762bbca3
---
 gnu/packages/wm.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 68b381fa90..e0ce94d8cb 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -189,7 +189,7 @@ (define-public bspwm
                (delete 'configure))           ; no configure script
            #:tests? #f                      ; no check target
            #:make-flags
-           #~(list "CC=gcc"
+           #~(list (string-append "CC=" #$(cc-for-target))
                    (string-append "PREFIX=" #$output))))
     (home-page "https://github.com/baskerville/bspwm")
     (synopsis "Tiling window manager based on binary space partitioning")
-- 
2.41.0





Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Tue, 19 Mar 2024 11:19:02 GMT) Full text and rfc822 format available.

Notification sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
bug acknowledged by developer. (Tue, 19 Mar 2024 11:19:03 GMT) Full text and rfc822 format available.

Message #22 received at 69428-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Cc: 69428-done <at> debbugs.gnu.org
Subject: Re: [bug#69428] [PATCH 0/4] fix sxhkd and bspwm cross-compilation.
Date: Tue, 19 Mar 2024 19:18:47 +0800
Zheng Junjie <zhengjunjie <at> iscas.ac.cn> writes:

> fix sxhkd and bspwm cross-compilation
>
> Zheng Junjie (4):
>   gnu: sxhkd: Use Gexps.
>   gnu: sxhkd: Remove asciidoc input.
>   gnu: bspwm: Use Gexps.
>   gnu: bspwm: fix cross-compilation.
>
>  gnu/packages/wm.scm      | 16 ++++++++--------
>  gnu/packages/xdisorg.scm | 20 ++++++++++----------
>  2 files changed, 18 insertions(+), 18 deletions(-)
>
>
> base-commit: 75bad75367fcf2c289fae3b40dbcc850f92177be

Pushed as a356eb7b94..a9495366f3, thank you!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 16 Apr 2024 11:24:18 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 116 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.