From: Zheng Junjie <zhengjunjie@iscas.ac.cn>
To: 68102@debbugs.gnu.org
Subject: [bug#68102] [PATCH] gnu: swaylock: Fix cross-compiling.
Date: Fri, 29 Dec 2023 20:31:41 +0800 [thread overview]
Message-ID: <8e34a85422d535bf3acb4dfac643ed559661ddd4.1703853088.git.zhengjunjie@iscas.ac.cn> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 1986 bytes --]
* gnu/packages/wm.scm (swaylock)
[native-inputs]: When cross-compiling, add pkg-config-for-build wayland.
[inputs]: When cross-compiling, add wayland-protocols.
Change-Id: I24274502375f51411576642d87496b8be2e42c45
---
gnu/packages/wm.scm | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 82ef67a2e4..4e9a7d0137 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -41,7 +41,7 @@
;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
;;; Copyright © 2020 Niklas Eklund <niklas.eklund@posteo.net>
;;; Copyright © 2020 Robert Smith <robertsmith@posteo.net>
-;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2021,2023 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2021 qblade <qblade@protonmail.com>
;;; Copyright © 2021 lasnesne <lasnesne@lagunposprasihopre.org>
@@ -1845,8 +1845,14 @@ (define-public swaylock
(sha256
(base32 "03jrjwlwxkcyd6m9a1bbwapasnz7b7aws7h0y6jigjm4m478phv6"))))
(build-system meson-build-system)
- (inputs (list cairo gdk-pixbuf libxkbcommon linux-pam wayland))
- (native-inputs (list pango pkg-config scdoc wayland-protocols))
+ (inputs (append (if (%current-target-system)
+ (list wayland-protocols)
+ '())
+ (list cairo gdk-pixbuf libxkbcommon linux-pam wayland)))
+ (native-inputs (append (if (%current-target-system)
+ (list pkg-config-for-build wayland)
+ '())
+ (list pango pkg-config scdoc wayland-protocols)))
(home-page "https://github.com/swaywm/sway")
(synopsis "Screen locking utility for Wayland compositors")
(description "Swaylock is a screen locking utility for Wayland compositors.")
base-commit: f90d6adec787187f7929159e3327c73245d3bbe3
--
2.41.0
next reply other threads:[~2023-12-29 12:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-29 12:31 Zheng Junjie [this message]
2023-12-29 18:50 ` bug#68102: [PATCH] gnu: swaylock: Fix cross-compiling Mathieu Othacehe
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8e34a85422d535bf3acb4dfac643ed559661ddd4.1703853088.git.zhengjunjie@iscas.ac.cn \
--to=zhengjunjie@iscas.ac.cn \
--cc=68102@debbugs.gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).