GNU bug report logs -
#48997
[PATCH] gnu: Add ausweisapp2.
Previous Next
Reported by: Sergey Trofimov <sarg <at> sarg.org.ru>
Date: Sun, 13 Jun 2021 07:19:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 48997 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 332 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.