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 18B3E1582EF for ; Tue, 11 Feb 2025 10:55:41 +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 00DE633BF39 for ; Tue, 11 Feb 2025 10:55:41 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 7F51B11042D; Tue, 11 Feb 2025 10:54:58 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id 72E6011042D for ; Tue, 11 Feb 2025 10:54:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 2900F343121 for ; Tue, 11 Feb 2025 10:54:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 810AD2725 for ; Tue, 11 Feb 2025 10:54:56 +0000 (UTC) From: "Marc Schiffbauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marc Schiffbauer" Message-ID: <1739271288.2ad3b5edde6f83de2da9aacc6dd3b7604e954297.mschiff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/logseq-desktop-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.9-r1.ebuild app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.9.ebuild app-editors/logseq-desktop-bin/metadata.xml X-VCS-Directories: app-editors/logseq-desktop-bin/ X-VCS-Committer: mschiff X-VCS-Committer-Name: Marc Schiffbauer X-VCS-Revision: 2ad3b5edde6f83de2da9aacc6dd3b7604e954297 X-VCS-Branch: master Date: Tue, 11 Feb 2025 10:54:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 865d7f4a-8e7c-4e32-84ec-f53a9ff5bb7e X-Archives-Hash: 0f512995455320c5659363f10b663f53 commit: 2ad3b5edde6f83de2da9aacc6dd3b7604e954297 Author: Leo Douglas gmail com> AuthorDate: Tue Feb 11 09:03:22 2025 +0000 Commit: Marc Schiffbauer gentoo org> CommitDate: Tue Feb 11 10:54:48 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ad3b5ed app-editors/logseq-desktop-bin: added wayland USE flag also make fcitx5 work under Wayland. Closes: https://bugs.gentoo.org/949511 Signed-off-by: Leo Douglas gmail.com> Closes: https://github.com/gentoo/gentoo/pull/40525 Signed-off-by: Marc Schiffbauer gentoo.org> ...top-bin-0.10.9.ebuild => logseq-desktop-bin-0.10.9-r1.ebuild} | 9 +++++++-- app-editors/logseq-desktop-bin/metadata.xml | 3 +++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.9.ebuild b/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.9-r1.ebuild similarity index 89% rename from app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.9.ebuild rename to app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.9-r1.ebuild index bc4f1ec885d5..7cd17cd585ab 100644 --- a/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.9.ebuild +++ b/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.9-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2024 Gentoo Authors +# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,7 @@ S="${WORKDIR}/Logseq-linux-x64" LICENSE="AGPL-3" SLOT="0" KEYWORDS="-* ~amd64" +IUSE="wayland" RESTRICT="mirror splitdebug" @@ -84,7 +85,11 @@ src_install() { dosym ../logseq-desktop/Logseq /opt/bin/logseq - make_desktop_entry "/opt/bin/logseq %U" Logseq logseq Office \ + local exec_extra_flags=() + if use wayland; then + exec_extra_flags+=( "--ozone-platform-hint=auto" "--enable-wayland-ime" ) + fi + make_desktop_entry "/opt/bin/logseq ${exec_extra_flags[*]} %U" Logseq logseq Office \ "StartupWMClass=logseq\nTerminal=false\nMimeType=x-scheme-handler/logseq" # some releases do not have an icon included, but we dont fail if that happens doicon resources/app/icons/logseq.png || true diff --git a/app-editors/logseq-desktop-bin/metadata.xml b/app-editors/logseq-desktop-bin/metadata.xml index 0a67e594f20b..882e3af69d3a 100644 --- a/app-editors/logseq-desktop-bin/metadata.xml +++ b/app-editors/logseq-desktop-bin/metadata.xml @@ -5,6 +5,9 @@ mschiff@gentoo.org Marc Schiffbauer + + Run in wayland mode under wayland sessions, xwayland otherwise. This flag doesn't affect x11 sessions. + logseq/logseq