all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Sergey Trofimov <sarg@sarg.org.ru>, 48997@debbugs.gnu.org
Subject: [bug#48997] [PATCH] gnu: Add ausweisapp2.
Date: Tue, 15 Jun 2021 15:02:39 +0200	[thread overview]
Message-ID: <694b0156fe5becf86e967eaf20a4df2c746f5190.camel@telenet.be> (raw)
In-Reply-To: <20210613071837.12152-1-sarg@sarg.org.ru>

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

Hi,

> +               (wrap-program (string-append out "/bin/AusweisApp2")
> +                 `("QT_PLUGIN_PATH" ":" prefix
> +                   ,(map (lambda (label)
> +                           (string-append (assoc-ref inputs label)
> +                                          "/lib/qt5/plugins"))
> +                         '("qtbase" "qtdeclarative"
> +                           "qtsvg" "qtwebsockets")))
> +                 `("QML2_IMPORT_PATH" ":" prefix
> +                   ,(map (lambda (label)
> +                           (string-append (assoc-ref inputs label)
> +                                          "/lib/qt5/qml"))
> +                         '("qtdeclarative" "qtgraphicaleffects"
> +                           "qtquickcontrols2" "qtsvg"))))

There is procedure 'wrap-qt-program' in (guix build qt-utils).
It should set QML2_IMPORT_PATH, QT_PLUGIN_PATH, XDG_DATA_DIRS and
XDG_CONFIG_DIRS appropriately. (Actually, wrap-qt-program's usage
of 'getenv' when cross-compiling looks incorrect to me, but that's a
separate issue.)

Perhaps you could use 'wrap-qt-program' instead of 'wrap-program'?
See, e.g., the package definition of qbittorrent.

Greetings,
Maxime.

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

  reply	other threads:[~2021-06-15 13:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-13  7:18 [bug#48997] [PATCH] gnu: Add ausweisapp2 Sergey Trofimov
2021-06-15 13:02 ` Maxime Devos [this message]
2021-06-15 15:37 ` Sergey Trofimov
2021-06-24 21:38   ` bug#48997: " 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=694b0156fe5becf86e967eaf20a4df2c746f5190.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=48997@debbugs.gnu.org \
    --cc=sarg@sarg.org.ru \
    /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.