From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EChmKhClyGCEEAEAgWs5BA (envelope-from ) for ; Tue, 15 Jun 2021 15:03:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UPDQJRClyGDYPQAA1q6Kng (envelope-from ) for ; Tue, 15 Jun 2021 13:03:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6415426667 for ; Tue, 15 Jun 2021 15:03:12 +0200 (CEST) Received: from localhost ([::1]:40800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt8il-0005IB-3w for larch@yhetil.org; Tue, 15 Jun 2021 09:03:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt8ic-0005Hk-T5 for guix-patches@gnu.org; Tue, 15 Jun 2021 09:03:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt8ic-0005so-LD for guix-patches@gnu.org; Tue, 15 Jun 2021 09:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lt8ic-00073p-J2 for guix-patches@gnu.org; Tue, 15 Jun 2021 09:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48997] [PATCH] gnu: Add ausweisapp2. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 13:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48997 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Sergey Trofimov , 48997@debbugs.gnu.org Received: via spool by 48997-submit@debbugs.gnu.org id=B48997.162376217927132 (code B ref 48997); Tue, 15 Jun 2021 13:03:02 +0000 Received: (at 48997) by debbugs.gnu.org; 15 Jun 2021 13:02:59 +0000 Received: from localhost ([127.0.0.1]:48684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt8iY-00073Y-Vn for submit@debbugs.gnu.org; Tue, 15 Jun 2021 09:02:59 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:34274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lt8iW-00073N-5y for 48997@debbugs.gnu.org; Tue, 15 Jun 2021 09:02:57 -0400 Received: from butterfly.local ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by baptiste.telenet-ops.be with bizsmtp id HR2u2500B0mfAB401R2uUG; Tue, 15 Jun 2021 15:02:54 +0200 Message-ID: <694b0156fe5becf86e967eaf20a4df2c746f5190.camel@telenet.be> From: Maxime Devos Date: Tue, 15 Jun 2021 15:02:39 +0200 In-Reply-To: <20210613071837.12152-1-sarg@sarg.org.ru> References: <20210613071837.12152-1-sarg@sarg.org.ru> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-LPRGvu56N3+Mjb79RUZf" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1623762174; bh=OF6qwGUIFmPe5VjRwTx3gKCWzRRm6Ob63p4fw7r4mdI=; h=Subject:From:To:Date:In-Reply-To:References; b=PZqHwhjN+rYhqLZZZsYVo3re/nFVqN8VeESt+lA6GUoByVoTYUXLkNXDlvneeVq4I 5G8MGf4MKWmvu7Y0BLWUMXRlA81GWReiWyiDm1GAL3u3VGxOC+SlQ0/ZcABDTjNLWw kxzZpHCtxsjdZSj+Ai2CtMlBMwpzlo5zjfKul3Hsfd8zeoyfPFa6WuDyG2RPJm0cjY F8kndN0CfDAFl5Gy5Nr+RY6c4kDvd7ffVy0c3hGsiRgPuWdwDu6dNzZtMMgOuNRhdS FdsENBZxspGv7/1EiKgtmMTE0A5FivlWLsem+lXBvql/90Rk29i+YeylpOxsrJiWtm L1820mVj+9SJg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623762192; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=OF6qwGUIFmPe5VjRwTx3gKCWzRRm6Ob63p4fw7r4mdI=; b=ggWdNnQfsy8QcRyIg9trKRx58nd4ttw+cQmZtOnUH5IutGi37KNprlXM1OjkaN0TGUShsm NaA+JYfEe8/PwqEA5v18Cjn/htd99nzX9PKQT/1luLO/RqKZDQT4RQR6K57B1rhGKNoaRV XtBG6G0kL2jy0xcV8CWCvCtqFp7Ig1FbD2otFCImuSgTQ6DRuTz9F4gFNup4KQYz2BMy0q oJa/eJyP5iiKbJghOxbctE0I4SBEbp78fN6mMz5on1ls5qhp+Z2QZBRaD9tydape04NWyb 3YP1FzgVOsffGzmeZgg3/csmnwxXaUb8UUxQwlCGx3Sf6XhFNy8QZBxDuKlT0Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623762192; a=rsa-sha256; cv=none; b=Zb+dKklqHGCRNb5ia2+cLi9sdZ7Ghk81Lm50TAWRqOjvWYS9U68WMdKZTrR5EFotWoj5Ja fnrnk8JeCNmmqW9TZT21Z1+eh/AZGZI7+zSZCayh0CJygvN2BM7IZv217zj0gz6XAepT/x NelWlvFYaOCLAuLjBzWFbesxwVCgm0UVHJfHoMmB6gQdQiySkaVwKVRqL1UO2U46CPWBvo wuIG+lw4FUXmN6ibFfVFYfgaRVM3zXZijDiN4yhpG7kJq4GKl7wq9bVnl3yXGMyBuU1twI oz57XvUSC+Lj1sxVH/N4FsroaYmdkRfw3o3Qr6GFrS/iV+TdeFmIUSI46RmTjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=PZqHwhjN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=PZqHwhjN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 6415426667 X-Spam-Score: -3.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: 37dUo8tTtjY+ --=-LPRGvu56N3+Mjb79RUZf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. --=-LPRGvu56N3+Mjb79RUZf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYMik7xccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7noQAQChfuNsf1R/gwW9Fmzr5Gmz+PAn 7gcqTlB53KvEuMWvJgEApoVR2z+Jd/RsqCOlfv4nRzacdoIELu9A5c8MyZ3XiAA= =zZT1 -----END PGP SIGNATURE----- --=-LPRGvu56N3+Mjb79RUZf--