GNU bug report logs - #59451
[PATCH] gnu: cura: Make it work on wayland.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Demis Balbach <db@HIDDEN>; Keywords: moreinfo patch; dated Mon, 21 Nov 2022 17:15:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 59451 <at> debbugs.gnu.org:


Received: (at 59451) by debbugs.gnu.org; 28 Nov 2022 22:35:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 28 17:35:09 2022
Received: from localhost ([127.0.0.1]:51342 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ozmiS-0005aa-OU
	for submit <at> debbugs.gnu.org; Mon, 28 Nov 2022 17:35:09 -0500
Received: from mout-p-102.mailbox.org ([80.241.56.152]:36806)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <db@HIDDEN>) id 1ozmiQ-0005a6-Tx
 for 59451 <at> debbugs.gnu.org; Mon, 28 Nov 2022 17:35:07 -0500
Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4NLgJf5lJTz9sSg;
 Mon, 28 Nov 2022 23:34:58 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=minikn.xyz; s=MBO0001; 
 t=1669674898;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=7hf4V6enSganYW2jjrjHQ/ZmZ/90OAO4xFJGIgU+lBo=;
 b=BwZqhcIp7utRVUY+e3gFvM/lgJ9SwA8iwYCf2LY0EqE5LnnlygG6pc4lkOpiXtiXzcrtlc
 s2kRY4VbynvBcP2oPcUg004sIcN1QHfAI8eNqj/vhtvNRjNm1Jdw5jqOHRJ3Ning1WeyGR
 aycDZOY09dK+MEuj6iCfsSb8+jU0sV8VvITN0Pyutc5H5g3PyB/Od9SAHtrj5nczwr//mp
 FrwvqKlKCuNzKpHaIi5qMoMbcwzowqyMwaf0px1jc8NSU6HIFNR4c9pYNaE/G1dzhal3/4
 qeKHt0ChmJS2SJ2JxQZaMyqsXFowyHkjgBSda0sXkrcMvoI3S+1ix3RxR900kA==
From: Demis Balbach <db@HIDDEN>
To: Christopher Baines <mail@HIDDEN>
Subject: Re: [bug#59451] [PATCH] gnu: cura: Make it work on wayland.
In-Reply-To: <874juqrpoo.fsf@HIDDEN>
References: <20221121171403.30222-1-db@HIDDEN> <874juqrpoo.fsf@HIDDEN>
Date: Mon, 28 Nov 2022 23:34:56 +0100
Message-ID: <87fse23dyn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  On 2022-11-23 09:20, Christopher Baines wrote: > Setting this
 environment variable here seems quite unusual. What's it > doing, and would
 anyone want to set a different value? > > Thanks, > > Chris Hello Chris, 
 Content analysis details:   (1.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: minikn.xyz (xyz)]
 0.0 SPF_NONE               SPF: sender does not publish an SPF Record
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [80.241.56.152 listed in list.dnswl.org]
 0.0 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-Debbugs-Envelope-To: 59451
Cc: 59451 <at> debbugs.gnu.org, guix-patches@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  On 2022-11-23 09:20, Christopher Baines wrote: > Setting this
    environment variable here seems quite unusual. What's it > doing, and would
    anyone want to set a different value? > > Thanks, > > Chris Hello Chris, 
 
 Content analysis details:   (1.3 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
                             low trust
                             [80.241.56.152 listed in list.dnswl.org]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: minikn.xyz (xyz)]
  0.0 SPF_NONE               SPF: sender does not publish an SPF Record
  1.0 BULK_RE_SUSP_NTLD      Precedence bulk and RE: from a suspicious TLD
  0.0 FROM_SUSPICIOUS_NTLD   From abused NTLD
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2022-11-23 09:20, Christopher Baines wrote:

> Setting this environment variable here seems quite unusual. What's it
> doing, and would anyone want to set a different value?
>
> Thanks,
>
> Chris

Hello Chris,

unfortunately I can't help much with this. Cura is currently not running
under Wayland (XWayland). After doing a bit of research, I found
https://github.com/Ultimaker/Cura/issues/10815, and setting
`QT_QPA_PLATFORM` to `xcb` was the suggested workaround until wayland is
officially supported.

My QT knowledge is very limited, but the QT_QPA_PLATFORM env var seems
to allow for defining platform-specific features for the application
(https://doc.qt.io/qt-6/embedded-linux.html#specifying-additional-settings).

Setting it to `xcb` enables the XCB plugin
(https://doc.qt.io/qt-6/embedded-linux.html#xcb), which seems to be the
default X11 plugin.

Setting the env var to `wayland` doesn't work unfortunately. As an
alternative, I could create a package derivation `cura-wayland` and only
apply the patch there? Would that be more suitable?

=2D-=20
Best regards / Mit freundlichen Gr=C3=BC=C3=9Fen,
Demis Balbach

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEz9zHmXzCRksxyCGU8X3bmMw8QFwFAmOFN5AACgkQ8X3bmMw8
QFySdxAAtJzBWube0WsPxGKD2WFdsR7UOPhecimo8td2pj2AlX9vIh26QGpdSacx
NuzZQDUGOrhboyz0l9mHDmI63tuEFa1p/huYJN8nBDoNsbqKVJLoDeeTgWkxFSDz
HYpOwV7qzIy0hk42PGgf4HkS2dIWkG8+wKQytcZkNaIF7OtnxJOpwt3tTjYOv5em
+pLfV33jxIl7mDapO8cpfxbSLTOP/da9Y8O1cTWm5Vb1mxFg8X7Jq5biqyLrFK8s
SFkbZHHzpYDwXzw2CFxGXVWg3ys6DcRODnkmtsu/bcg2yCbKLUaiEmM4Yp8/ODJp
bQIlw1ylIKGbhj4fW3BxiYcQzwsPFSxN9rt6DGK5YzmTJzMEDDldylkitMR1CeFI
s58cFX+zk79WFbACmsfZmcgR6yaxa+wXb3zb04MT6rRC5t+IPBLaeIiqFKwMBtZS
085QGa/OgN1Hm63Fs/jz5sekcXMB+zfe6YF8K9XnmfuCT+wwcZ39VMNtqinxv75/
RK0sLhCrZmxzj7uX3/W6ri2QeDteodzOAPB4xB/IHiptm1z4/AaVVYajLqS1MF/E
7mVfrXAOLiud07d/6bwmvLO2uNzitKwr5aVijF+JyC/kTsndxEco1070fsVSpJQw
dZfEidI4JRFjPu6JXLB+h04C1/THOqc4aS2ibtYA2Jvt7jqVZZs=
=Cq0J
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#59451; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Nov 2022 22:35:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 28 17:35:16 2022
Received: from localhost ([127.0.0.1]:51346 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ozmia-0005au-28
	for submit <at> debbugs.gnu.org; Mon, 28 Nov 2022 17:35:16 -0500
Received: from lists.gnu.org ([209.51.188.17]:59570)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <db@HIDDEN>) id 1ozmiT-0005ah-Ez
 for submit <at> debbugs.gnu.org; Mon, 28 Nov 2022 17:35:09 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <db@HIDDEN>) id 1ozmiS-000532-TM
 for guix-patches@HIDDEN; Mon, 28 Nov 2022 17:35:09 -0500
Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <db@HIDDEN>) id 1ozmiP-00078O-ER
 for guix-patches@HIDDEN; Mon, 28 Nov 2022 17:35:07 -0500
Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4NLgJf5lJTz9sSg;
 Mon, 28 Nov 2022 23:34:58 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=minikn.xyz; s=MBO0001; 
 t=1669674898;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=7hf4V6enSganYW2jjrjHQ/ZmZ/90OAO4xFJGIgU+lBo=;
 b=BwZqhcIp7utRVUY+e3gFvM/lgJ9SwA8iwYCf2LY0EqE5LnnlygG6pc4lkOpiXtiXzcrtlc
 s2kRY4VbynvBcP2oPcUg004sIcN1QHfAI8eNqj/vhtvNRjNm1Jdw5jqOHRJ3Ning1WeyGR
 aycDZOY09dK+MEuj6iCfsSb8+jU0sV8VvITN0Pyutc5H5g3PyB/Od9SAHtrj5nczwr//mp
 FrwvqKlKCuNzKpHaIi5qMoMbcwzowqyMwaf0px1jc8NSU6HIFNR4c9pYNaE/G1dzhal3/4
 qeKHt0ChmJS2SJ2JxQZaMyqsXFowyHkjgBSda0sXkrcMvoI3S+1ix3RxR900kA==
From: Demis Balbach <db@HIDDEN>
To: Christopher Baines <mail@HIDDEN>
Subject: Re: [bug#59451] [PATCH] gnu: cura: Make it work on wayland.
In-Reply-To: <874juqrpoo.fsf@HIDDEN>
References: <20221121171403.30222-1-db@HIDDEN> <874juqrpoo.fsf@HIDDEN>
Date: Mon, 28 Nov 2022 23:34:56 +0100
Message-ID: <87fse23dyn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: none client-ip=2001:67c:2050:0:465::102;
 envelope-from=db@HIDDEN; helo=mout-p-102.mailbox.org
X-Spam_score_int: -7
X-Spam_score: -0.8
X-Spam_bar: /
X-Spam_report: (-0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FROM_SUSPICIOUS_NTLD=0.001, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_LOW=-0.7,
 SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.3 (/)
X-Debbugs-Envelope-To: submit
Cc: 59451 <at> debbugs.gnu.org, guix-patches@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2022-11-23 09:20, Christopher Baines wrote:

> Setting this environment variable here seems quite unusual. What's it
> doing, and would anyone want to set a different value?
>
> Thanks,
>
> Chris

Hello Chris,

unfortunately I can't help much with this. Cura is currently not running
under Wayland (XWayland). After doing a bit of research, I found
https://github.com/Ultimaker/Cura/issues/10815, and setting
`QT_QPA_PLATFORM` to `xcb` was the suggested workaround until wayland is
officially supported.

My QT knowledge is very limited, but the QT_QPA_PLATFORM env var seems
to allow for defining platform-specific features for the application
(https://doc.qt.io/qt-6/embedded-linux.html#specifying-additional-settings).

Setting it to `xcb` enables the XCB plugin
(https://doc.qt.io/qt-6/embedded-linux.html#xcb), which seems to be the
default X11 plugin.

Setting the env var to `wayland` doesn't work unfortunately. As an
alternative, I could create a package derivation `cura-wayland` and only
apply the patch there? Would that be more suitable?

=2D-=20
Best regards / Mit freundlichen Gr=C3=BC=C3=9Fen,
Demis Balbach

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEz9zHmXzCRksxyCGU8X3bmMw8QFwFAmOFN5AACgkQ8X3bmMw8
QFySdxAAtJzBWube0WsPxGKD2WFdsR7UOPhecimo8td2pj2AlX9vIh26QGpdSacx
NuzZQDUGOrhboyz0l9mHDmI63tuEFa1p/huYJN8nBDoNsbqKVJLoDeeTgWkxFSDz
HYpOwV7qzIy0hk42PGgf4HkS2dIWkG8+wKQytcZkNaIF7OtnxJOpwt3tTjYOv5em
+pLfV33jxIl7mDapO8cpfxbSLTOP/da9Y8O1cTWm5Vb1mxFg8X7Jq5biqyLrFK8s
SFkbZHHzpYDwXzw2CFxGXVWg3ys6DcRODnkmtsu/bcg2yCbKLUaiEmM4Yp8/ODJp
bQIlw1ylIKGbhj4fW3BxiYcQzwsPFSxN9rt6DGK5YzmTJzMEDDldylkitMR1CeFI
s58cFX+zk79WFbACmsfZmcgR6yaxa+wXb3zb04MT6rRC5t+IPBLaeIiqFKwMBtZS
085QGa/OgN1Hm63Fs/jz5sekcXMB+zfe6YF8K9XnmfuCT+wwcZ39VMNtqinxv75/
RK0sLhCrZmxzj7uX3/W6ri2QeDteodzOAPB4xB/IHiptm1z4/AaVVYajLqS1MF/E
7mVfrXAOLiud07d/6bwmvLO2uNzitKwr5aVijF+JyC/kTsndxEco1070fsVSpJQw
dZfEidI4JRFjPu6JXLB+h04C1/THOqc4aS2ibtYA2Jvt7jqVZZs=
=Cq0J
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#59451; Package guix-patches. Full text available.
Added tag(s) moreinfo. Request was from Christopher Baines <mail@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 59451 <at> debbugs.gnu.org:


Received: (at 59451) by debbugs.gnu.org; 23 Nov 2022 09:22:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 23 04:22:04 2022
Received: from localhost ([127.0.0.1]:53642 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oxlxE-0002fr-Ea
	for submit <at> debbugs.gnu.org; Wed, 23 Nov 2022 04:22:04 -0500
Received: from mira.cbaines.net ([212.71.252.8]:41956)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1oxlxC-0002fj-PI
 for 59451 <at> debbugs.gnu.org; Wed, 23 Nov 2022 04:22:03 -0500
Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699])
 by mira.cbaines.net (Postfix) with ESMTPSA id 0DB4027BBE9;
 Wed, 23 Nov 2022 09:22:02 +0000 (GMT)
Received: from felis (localhost [127.0.0.1])
 by localhost (OpenSMTPD) with ESMTP id 18358421;
 Wed, 23 Nov 2022 09:22:01 +0000 (UTC)
References: <20221121171403.30222-1-db@HIDDEN>
User-agent: mu4e 1.8.11; emacs 28.2
From: Christopher Baines <mail@HIDDEN>
To: Demis Balbach <db@HIDDEN>
Subject: Re: [bug#59451] [PATCH] gnu: cura: Make it work on wayland.
Date: Wed, 23 Nov 2022 09:20:10 +0000
In-reply-to: <20221121171403.30222-1-db@HIDDEN>
Message-ID: <874juqrpoo.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: Demis Balbach <db@HIDDEN> writes: > *
 gnu/packages/engineering.scm
 (cura): Make it work on wayland. > --- > gnu/packages/engineering.scm | 1
 + > 1 file changed,
 1 insertion(+) > > diff --git a/gnu/packages/engineering.scm
 b/gnu/packag [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: minikn.xyz (xyz)]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -0.0 SPF_PASS               SPF: sender matches SPF record
X-Debbugs-Envelope-To: 59451
Cc: 59451 <at> debbugs.gnu.org, guix-patches@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

--=-=-=
Content-Type: text/plain


Demis Balbach <db@HIDDEN> writes:

> * gnu/packages/engineering.scm (cura): Make it work on wayland.
> ---
>  gnu/packages/engineering.scm | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
> index 43e23e30a8..42537364e6 100644
> --- a/gnu/packages/engineering.scm
> +++ b/gnu/packages/engineering.scm
> @@ -3780,6 +3780,7 @@ (define-public cura
>             (lambda* (#:key outputs #:allow-other-keys)
>               (let ((out (assoc-ref outputs "out")))
>                 (wrap-program (string-append out "/bin/cura")
> +                 '("QT_QPA_PLATFORM" = ("xcb"))
>                   (list "GUIX_PYTHONPATH"
>                         'prefix (list (string-append out
>                                                      "/lib/python"

Setting this environment variable here seems quite unusual. What's it
doing, and would anyone want to set a different value?

Thanks,

Chris

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmN95jdfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XcHbxAAmtL1SKHi0v1hrAw8uw+P6+hjAfPN3BJO
GPyteRZIjvT/HpL7hQWSBCnxUtJHlkVvJe7LjV/6Sp6pbx+V7csrhMEa0mELgYL5
PWifOmPhaUAUj/6ucnmdiK6bnztemE5SwvW/P/dsvw/M5KlZ2Mjmjzb0bsS4Rm2L
WTq03YjOqBQAOkMv7aP9ZVhviGiQ/dOKWko6VqZDqbmj2ui49uTP/lU76vW2C9Ez
esnI3/MgcQOdTmExCYCaao0YH3wji0tH7Cwd1fxtkcrEfPDbAvKchgDAKNmyvrv0
q68T/9u3OX9oUwMdKCYK1zWpSniCk/yWBltn9fbnkgqE/AZ/5p/xWl14auRQ58gQ
OgpWs0UvDQlsPPL+sMlt41mkUkYxMmhv0hm8L7W2/SHW5Jib0XKAdFUBembOnw16
J0zStlcqy+bxAJ6kNG4YjmozXJNP9Lh9TR+EfooB/vL9QAmbMxWRIr82uRogPF9f
BiQbdsK4KoEOSRzBSpFDa16dFv3s1kpuW387Jd4oKzU0vj7Ct73UsEN771uPrr2Y
nlL4Y3sAapGfLXf79gQLWyOg9lE/rRazhzgBSMKc7bombyltrwD39Akt+JzZIYHM
y1E0M3Yo0c4ZbwgVT4DWUAxJJUTzv6sXfIAEUfi3mlDMxN/UnHfJGp9ErmnfPjdZ
VscYLUC1NqM=
=d3Tu
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#59451; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 23 Nov 2022 09:22:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 23 04:22:10 2022
Received: from localhost ([127.0.0.1]:53645 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oxlxJ-0002g9-OG
	for submit <at> debbugs.gnu.org; Wed, 23 Nov 2022 04:22:10 -0500
Received: from lists.gnu.org ([209.51.188.17]:40302)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1oxlxG-0002g0-N7
 for submit <at> debbugs.gnu.org; Wed, 23 Nov 2022 04:22:08 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1oxlxG-00067W-CX
 for guix-patches@HIDDEN; Wed, 23 Nov 2022 04:22:06 -0500
Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <mail@HIDDEN>) id 1oxlxE-0001e1-S4
 for guix-patches@HIDDEN; Wed, 23 Nov 2022 04:22:06 -0500
Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699])
 by mira.cbaines.net (Postfix) with ESMTPSA id 0DB4027BBE9;
 Wed, 23 Nov 2022 09:22:02 +0000 (GMT)
Received: from felis (localhost [127.0.0.1])
 by localhost (OpenSMTPD) with ESMTP id 18358421;
 Wed, 23 Nov 2022 09:22:01 +0000 (UTC)
References: <20221121171403.30222-1-db@HIDDEN>
User-agent: mu4e 1.8.11; emacs 28.2
From: Christopher Baines <mail@HIDDEN>
To: Demis Balbach <db@HIDDEN>
Subject: Re: [bug#59451] [PATCH] gnu: cura: Make it work on wayland.
Date: Wed, 23 Nov 2022 09:20:10 +0000
In-reply-to: <20221121171403.30222-1-db@HIDDEN>
Message-ID: <874juqrpoo.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27;
 envelope-from=mail@HIDDEN; helo=mira.cbaines.net
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.6 (/)
X-Debbugs-Envelope-To: submit
Cc: 59451 <at> debbugs.gnu.org, guix-patches@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.4 (/)

--=-=-=
Content-Type: text/plain


Demis Balbach <db@HIDDEN> writes:

> * gnu/packages/engineering.scm (cura): Make it work on wayland.
> ---
>  gnu/packages/engineering.scm | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
> index 43e23e30a8..42537364e6 100644
> --- a/gnu/packages/engineering.scm
> +++ b/gnu/packages/engineering.scm
> @@ -3780,6 +3780,7 @@ (define-public cura
>             (lambda* (#:key outputs #:allow-other-keys)
>               (let ((out (assoc-ref outputs "out")))
>                 (wrap-program (string-append out "/bin/cura")
> +                 '("QT_QPA_PLATFORM" = ("xcb"))
>                   (list "GUIX_PYTHONPATH"
>                         'prefix (list (string-append out
>                                                      "/lib/python"

Setting this environment variable here seems quite unusual. What's it
doing, and would anyone want to set a different value?

Thanks,

Chris

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmN95jdfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XcHbxAAmtL1SKHi0v1hrAw8uw+P6+hjAfPN3BJO
GPyteRZIjvT/HpL7hQWSBCnxUtJHlkVvJe7LjV/6Sp6pbx+V7csrhMEa0mELgYL5
PWifOmPhaUAUj/6ucnmdiK6bnztemE5SwvW/P/dsvw/M5KlZ2Mjmjzb0bsS4Rm2L
WTq03YjOqBQAOkMv7aP9ZVhviGiQ/dOKWko6VqZDqbmj2ui49uTP/lU76vW2C9Ez
esnI3/MgcQOdTmExCYCaao0YH3wji0tH7Cwd1fxtkcrEfPDbAvKchgDAKNmyvrv0
q68T/9u3OX9oUwMdKCYK1zWpSniCk/yWBltn9fbnkgqE/AZ/5p/xWl14auRQ58gQ
OgpWs0UvDQlsPPL+sMlt41mkUkYxMmhv0hm8L7W2/SHW5Jib0XKAdFUBembOnw16
J0zStlcqy+bxAJ6kNG4YjmozXJNP9Lh9TR+EfooB/vL9QAmbMxWRIr82uRogPF9f
BiQbdsK4KoEOSRzBSpFDa16dFv3s1kpuW387Jd4oKzU0vj7Ct73UsEN771uPrr2Y
nlL4Y3sAapGfLXf79gQLWyOg9lE/rRazhzgBSMKc7bombyltrwD39Akt+JzZIYHM
y1E0M3Yo0c4ZbwgVT4DWUAxJJUTzv6sXfIAEUfi3mlDMxN/UnHfJGp9ErmnfPjdZ
VscYLUC1NqM=
=d3Tu
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#59451; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Nov 2022 17:14:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 21 12:14:28 2022
Received: from localhost ([127.0.0.1]:48675 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oxANI-00060H-1j
	for submit <at> debbugs.gnu.org; Mon, 21 Nov 2022 12:14:28 -0500
Received: from lists.gnu.org ([209.51.188.17]:33440)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <db@HIDDEN>) id 1oxANF-000609-E8
 for submit <at> debbugs.gnu.org; Mon, 21 Nov 2022 12:14:26 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <db@HIDDEN>) id 1oxANF-0004in-9M
 for guix-patches@HIDDEN; Mon, 21 Nov 2022 12:14:25 -0500
Received: from mout-p-103.mailbox.org ([80.241.56.161])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <db@HIDDEN>) id 1oxAND-0001V1-DW
 for guix-patches@HIDDEN; Mon, 21 Nov 2022 12:14:25 -0500
Received: from smtp102.mailbox.org (smtp102.mailbox.org
 [IPv6:2001:67c:2050:b231:465::102])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4NGDWk4NJmz9sW1;
 Mon, 21 Nov 2022 18:14:10 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=minikn.xyz; s=MBO0001; 
 t=1669050850;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding;
 bh=Z5BvDYNVLW5mLuUolQgWBqvFCOB8HsdG7MqQY0GX6qc=;
 b=k5ciBBpS+0qE9mjamiSylBMiekqdQfBx82xFiKjRNZ6TzOospggwBD/OQrEzkdqQ2Mv7gQ
 RasnAF4Zono8MWSRWPnNVc4YF312kZzjxC1TiNe2Mzn/hWh+CPAtvw4fErIgRK/r7YaWiB
 prQA+lOUiLBV0GRD9xK655pAp2yxrwrtSy/z5wQE4OQ2pDPPGp7B/nQglxAqoDXmqul6u1
 JCo4EOiAMM1dEFIG8xty4jeuMATIIfUPBf6WrrhVqfFqgUvnQkBy+YxNf2cbraf16FX0Ci
 W/0ZckUzacrVP3dnESqtMsBGbrUnm1IAxP9NCgp33AxOne0a+/w3+eeaJYM0xw==
From: Demis Balbach <db@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: cura: Make it work on wayland.
Date: Mon, 21 Nov 2022 18:14:03 +0100
Message-Id: <20221121171403.30222-1-db@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Rspamd-Queue-Id: 4NGDWk4NJmz9sW1
Received-SPF: none client-ip=80.241.56.161; envelope-from=db@HIDDEN;
 helo=mout-p-103.mailbox.org
X-Spam_score_int: 3
X-Spam_score: 0.3
X-Spam_bar: /
X-Spam_report: (0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.001,
 FROM_SUSPICIOUS_NTLD_FP=1.138, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_LOW=-0.7,
 SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.7 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: * gnu/packages/engineering.scm (cura): Make it work on
 wayland.
 --- gnu/packages/engineering.scm | 1 + 1 file changed, 1 insertion(+) diff
 --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index
 43e23e30a8..42537364e6 100644 --- a/gnu/packages/engineering.scm +++
 b/gnu/packages/engineering.scm @@ -3780,6 +3780,7 @@ [...] 
 Content analysis details:   (1.7 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: minikn.xyz (xyz)]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 SPF_NONE               SPF: sender does not publish an SPF Record
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [209.51.188.17 listed in wl.mailspike.net]
 -2.3 RCVD_IN_DNSWL_MED      RBL: Sender listed at https://www.dnswl.org/,
 medium trust [209.51.188.17 listed in list.dnswl.org]
 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD
 0.0 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-Debbugs-Envelope-To: submit
Cc: Demis Balbach <db@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.3 (-)

* gnu/packages/engineering.scm (cura): Make it work on wayland.
---
 gnu/packages/engineering.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 43e23e30a8..42537364e6 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -3780,6 +3780,7 @@ (define-public cura
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out")))
                (wrap-program (string-append out "/bin/cura")
+                 '("QT_QPA_PLATFORM" = ("xcb"))
                  (list "GUIX_PYTHONPATH"
                        'prefix (list (string-append out
                                                     "/lib/python"
-- 
2.38.1





Acknowledgement sent to Demis Balbach <db@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#59451; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 28 Nov 2022 22:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.