From: Z572 via Guix-patches via <guix-patches@gnu.org>
To: 61865@debbugs.gnu.org
Subject: [bug#61865] [PATCH 1/8] gnu: xcb-util-wm: fix riscv64 cross-compile.
Date: Tue, 28 Feb 2023 16:33:33 +0800 [thread overview]
Message-ID: <tencent_6EA2DCBF84AB367D1323D53CEBE82F530705@qq.com> (raw)
In-Reply-To: <cover.1677572540.git.873216071@qq.com>
* gnu/packages/xorg.scm (xcb-util-wm): fix riscv64 cross-compile.
[arguments]: add update-config-scripts phases when target is riscv64.
[native-inputs]: add CONFIG when target is riscv64.
---
gnu/packages/xorg.scm | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index a43809e3cb..32be732eef 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5792,11 +5792,27 @@ (define-public xcb-util-wm
"0gra7hfyxajic4mjd63cpqvd20si53j1q3rbdlkqkahfciwq3gr8"))))
(build-system gnu-build-system)
(arguments
- '(#:configure-flags '("--disable-static")))
+ `(#:configure-flags '("--disable-static")
+ ,@(if (target-riscv64?)
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'update-config-scripts
+ (lambda* (#:key inputs native-inputs #:allow-other-keys)
+ ;; Replace outdated config.guess and config.sub.
+ (for-each (lambda (file)
+ (install-file
+ (search-input-file
+ (or native-inputs inputs)
+ (string-append "/bin/" file)) "."))
+ '("config.guess" "config.sub"))))))
+ '())))
(propagated-inputs
(list libxcb))
(native-inputs
- (list m4 pkg-config))
+ (append (if (target-riscv64?)
+ (list config)
+ '())
+ (list m4 pkg-config)))
(home-page "https://cgit.freedesktop.org/xcb/util-wm/")
(synopsis "Client and window-manager helpers for ICCCM and EWMH")
(description
--
2.39.1
next parent reply other threads:[~2023-02-28 8:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1677572540.git.873216071@qq.com>
2023-02-28 8:33 ` Z572 via Guix-patches via [this message]
2023-02-28 8:33 ` [bug#61865] [PATCH 2/8] gnu: libxv: fix riscv64 cross-compile Z572 via Guix-patches via
2023-06-04 12:19 ` Efraim Flashner
2023-02-28 8:33 ` [bug#61865] [PATCH 3/8] gnu: libxtst: " Z572 via Guix-patches via
2023-02-28 8:33 ` [bug#61865] [PATCH 4/8] gnu: mtdev: " Z572 via Guix-patches via
2023-02-28 8:33 ` [bug#61865] [PATCH 5/8] gnu: gobject-introspection: " Z572 via Guix-patches via
2023-02-28 8:33 ` [bug#61865] [PATCH 6/8] gnu: gsettings-desktop-schemas: fix cross-compile Z572 via Guix-patches via
2023-02-28 8:33 ` [bug#61865] [PATCH 7/8] gnu: libotf: " Z572 via Guix-patches via
2023-06-04 12:19 ` Efraim Flashner
2023-02-28 8:33 ` [bug#61865] [PATCH 8/8] gnu: librsvg-2.40: " Z572 via Guix-patches via
2023-06-04 12:20 ` Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_6EA2DCBF84AB367D1323D53CEBE82F530705@qq.com \
--to=guix-patches@gnu.org \
--cc=61865@debbugs.gnu.org \
--cc=873216071@qq.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.