all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: "Paul A. Patience" <paul@apatience.com>, 48892@debbugs.gnu.org
Subject: [bug#48892] [PATCH] gnu: Add xkbset.
Date: Mon, 07 Jun 2021 12:04:29 +0200	[thread overview]
Message-ID: <12d1dd5236c1e122df7df3416f6acd3a7893878d.camel@telenet.be> (raw)
In-Reply-To: <8bHcC11E1nCm3IcYXyjT8kdLXscTRtadOPwnuABvrLCbarM8i42900GRRYpvewZFMVbPibP_oNC8iFRm8i3hF6h6UncuC6D8ohS5oaIKJvA=@apatience.com>

[-- Attachment #1: Type: text/plain, Size: 715 bytes --]

Paul A. Patience schreef op ma 07-06-2021 om 00:37 [+0000]:
> +       (let ((out (assoc-ref %outputs "out")))
> +         `("CC=gcc"
> +           ,(string-append "X11PREFIX=" out)
> +           ,(string-append "X11BASE=" (assoc-ref %build-inputs "libX11"))
> +           ,(string-append "INSTALL_MAN1=" out "/share/man/man1")))

You should do

  `(,,(string-append "CC=" (cc-for-target))
    ,(string-append "X11PREFIX=" ...) ...)

to make sure cross-compilation will work.
(Try ./pre-inst-env guix build xkbset --target=aarch64-linux-gnu.)

Also, libx11 is usualy named "libx11" (no capital letters)
in package inputs, and very infrequently "libX11". I would use "libx11".

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  reply	other threads:[~2021-06-07 10:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-07  0:37 [bug#48892] [PATCH] gnu: Add xkbset Paul A. Patience
2021-06-07 10:04 ` Maxime Devos [this message]
2021-06-07 12:40   ` Paul A. Patience
2021-06-08 21:23     ` Ludovic Courtès
2021-06-09 12:18       ` Paul A. Patience
2021-06-11 22:42         ` bug#48892: " Ludovic Courtès

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=12d1dd5236c1e122df7df3416f6acd3a7893878d.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=48892@debbugs.gnu.org \
    --cc=paul@apatience.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.