From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AB7151582EF for ; Thu, 20 Feb 2025 13:29:01 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 95EC734316E for ; Thu, 20 Feb 2025 13:29:01 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 94047110478; Thu, 20 Feb 2025 13:28:19 +0000 (UTC) Received: from mail-10630.protonmail.ch (mail-10630.protonmail.ch [79.135.106.30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id B52A61102A2 for ; Thu, 20 Feb 2025 13:28:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1740058094; x=1740317294; bh=aa6bk9w0Hx/eHE3IbGGJYamoKGuldAjbHfQnCo6JdIA=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=T56phVsAyJXE5GA0k5fe9izLUbNhweQLwVCGJBAKw4IaMe7GKrrsrg0NlcRW5Q3xK 7nEEudZHLLXQ0DQ3+R0Av7Y5RP0yWwifIPxSOR7cgW662tRqMbncs+NC9wQedN58Eo scelGQYypIG1sRg2MniG9Q1YASb+rrdoB+C5UH0JZ3t17WGtVhZZVyz39dqHHohz6t 4TnfTJJPX80mEVm1A2VbCuhwPpCMIpmR3af0Wis1sAeT4Q/inpEZOzoAZVzITYKsGK Fh0lqim38rZs+acw56H5wRTjDhtJq5BjZS5NF37d5flhWHKpoPeqJ9T0Q3vUbO7Gkm ha82b3JaDtowg== Date: Thu, 20 Feb 2025 13:28:08 +0000 To: gentoo-dev@lists.gentoo.org From: Filip Kobierski Subject: Re: [gentoo-dev] USE flag: gui or X? Message-ID: <4yneEilMmR-BdAWfl5bB6fN1xQQRG39RL-9SQ6eSZHoeJUQIHrcozLOQAOLYT3rROLIM-EpSp2E-tc2VhS2GNwUPI3Ypc6IyFDC6BQX_bJg=@pm.me> In-Reply-To: <4102d3da-a1d6-04bd-2a37-d30209e536c1@gentoo.org> References: <4102d3da-a1d6-04bd-2a37-d30209e536c1@gentoo.org> Feedback-ID: 115236665:user:proton X-Pm-Message-ID: 734737a6ed4cee72b726c4712d82870368c34788 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: deb7b4b3-dce1-489d-83a3-6cc0cd6644a1 X-Archives-Hash: 9c7b335937b0029b130944062c46103b On Thursday, February 20th, 2025 at 14:15, Andrey Grozin wrote: > Hello *, >=20 > I have a trivial question. I'm now working on the asymptote ebuild. > asymptote has an optional gui - a separate python program xasy using pyqt= 5 > and interacting with asy. From time immemorable, the USE flag controlling > it was called X. Should I rename it to gui? >=20 > Can a pyqt5 program (like xasy) run on wayland? I never used wayland, and > have no idea (though I heard that qt programs can run on wayland). If xas= y > can run on wayland, then the USE flag name X is misleading, and should be > replaced by gui. >=20 > Opinions, please. >=20 > Andrey Hi Andrey, PyQt are Python bindings for the Qt GUI toolkit. That means that the question you're asking is "Should a QT app have USE=3Dgui or USE=3DX for enabling the graphical user interface?". In that case I think the answer is obvious: it should be USE=3Dgui. > I heard that qt programs can run on wayland Plasma 6 runs on wayland by default and it's apps are using Qt so yeah, Qt can run on wayland. Small FYI: If you are within a Wayland session, to check if an app runs on wayland you can call xprop from the command line=20 an click on the window. If nothing happens, it's Wayland. If output gets printed to the terminal, it's X. Regards Filip