public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marc Schiffbauer" <mschiff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/logseq-desktop-bin/
Date: Tue, 11 Feb 2025 10:54:56 +0000 (UTC)	[thread overview]
Message-ID: <1739271288.2ad3b5edde6f83de2da9aacc6dd3b7604e954297.mschiff@gentoo> (raw)

commit:     2ad3b5edde6f83de2da9aacc6dd3b7604e954297
Author:     Leo Douglas <douglarek <AT> gmail <DOT> com>
AuthorDate: Tue Feb 11 09:03:22 2025 +0000
Commit:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> 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 <douglarek <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40525
Signed-off-by: Marc Schiffbauer <mschiff <AT> 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 @@
 		<email>mschiff@gentoo.org</email>
 		<name>Marc Schiffbauer</name>
 	</maintainer>
+	<use>
+		<flag name="wayland">Run in wayland mode under wayland sessions, xwayland otherwise. This flag doesn't affect x11 sessions.</flag>
+	</use>
 	<upstream>
 		<remote-id type="github">logseq/logseq</remote-id>
 	</upstream>


             reply	other threads:[~2025-02-11 10:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-11 10:54 Marc Schiffbauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-29 22:26 [gentoo-commits] repo/gentoo:master commit in: app-editors/logseq-desktop-bin/ Marc Schiffbauer
2024-04-01 13:52 Marc Schiffbauer
2024-04-01 13:52 Marc Schiffbauer
2024-03-06 17:28 Marc Schiffbauer
2024-03-06 17:28 Marc Schiffbauer
2024-02-19  8:48 Marc Schiffbauer
2024-02-16 12:01 Marc Schiffbauer
2024-01-19  0:01 Marc Schiffbauer
2023-12-28 16:23 Marc Schiffbauer
2023-12-23 22:16 Marc Schiffbauer
2023-12-16  1:51 Marc Schiffbauer
2023-12-14 13:29 Marc Schiffbauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1739271288.2ad3b5edde6f83de2da9aacc6dd3b7604e954297.mschiff@gentoo \
    --to=mschiff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox