From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/QGnomePlatform/, x11-themes/QGnomePlatform/files/
Date: Tue, 26 Apr 2022 10:30:34 +0000 (UTC) [thread overview]
Message-ID: <1650968973.236f0d768af32b552c6df2a2b596de7d0d6dce50.pacho@gentoo> (raw)
commit: 236f0d768af32b552c6df2a2b596de7d0d6dce50
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 26 10:29:33 2022 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 10:29:33 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=236f0d76
x11-themes/QGnomePlatform: Fix window id for xdg-desktop-portal file chooser
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
.../QGnomePlatform/QGnomePlatform-0.8.4-r1.ebuild | 39 ++++++++++++++++++++++
...GnomePlatform-0.8.4-xdg-desktop-portal-id.patch | 11 ++++++
2 files changed, 50 insertions(+)
diff --git a/x11-themes/QGnomePlatform/QGnomePlatform-0.8.4-r1.ebuild b/x11-themes/QGnomePlatform/QGnomePlatform-0.8.4-r1.ebuild
new file mode 100644
index 000000000000..a39961a0d0df
--- /dev/null
+++ b/x11-themes/QGnomePlatform/QGnomePlatform-0.8.4-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+DESCRIPTION="A Qt Platform Theme aimed to accommodate GNOME settings"
+HOMEPAGE="https://github.com/FedoraQt/QGnomePlatform"
+SRC_URI="https://github.com/FedoraQt/QGnomePlatform/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ dev-qt/qtdbus:5=
+ >=dev-qt/qtwidgets-5.15.2:5=
+ dev-qt/qtwayland:5=
+ dev-qt/qtx11extras:5=
+ gnome-base/gsettings-desktop-schemas
+ sys-apps/xdg-desktop-portal
+ x11-libs/gtk+:3[X]
+ >=x11-themes/adwaita-qt-1.4.1
+"
+DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}"
+
+PATCHES=(
+ # https://github.com/FedoraQt/QGnomePlatform/issues/101
+ "${FILESDIR}/${P}-xdg-desktop-portal-id.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_QT6=false
+ )
+ cmake_src_configure
+}
diff --git a/x11-themes/QGnomePlatform/files/QGnomePlatform-0.8.4-xdg-desktop-portal-id.patch b/x11-themes/QGnomePlatform/files/QGnomePlatform-0.8.4-xdg-desktop-portal-id.patch
new file mode 100644
index 000000000000..292088bd1f84
--- /dev/null
+++ b/x11-themes/QGnomePlatform/files/QGnomePlatform-0.8.4-xdg-desktop-portal-id.patch
@@ -0,0 +1,11 @@
+--- a/src/theme/qxdgdesktopportalfiledialog.cpp~ 2022-01-11 10:46:15.000000000 +0100
++++ b/src/theme/qxdgdesktopportalfiledialog.cpp 2022-04-26 12:16:07.504955234 +0200
+@@ -165,7 +165,7 @@
+ QLatin1String("/org/freedesktop/portal/desktop"),
+ QLatin1String("org.freedesktop.portal.FileChooser"),
+ d->saveFile ? QLatin1String("SaveFile") : QLatin1String("OpenFile"));
+- QString parentWindowId = QLatin1String("x11:") + QString::number(d->winId);
++ QString parentWindowId = QLatin1String("x11:") + QString::number(d->winId, 16);
+
+ QVariantMap options;
+ if (!d->acceptLabel.isEmpty())
next reply other threads:[~2022-04-26 10:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-26 10:30 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-10-20 13:14 [gentoo-commits] repo/gentoo:master commit in: x11-themes/QGnomePlatform/, x11-themes/QGnomePlatform/files/ Pacho Ramos
2023-08-23 10:19 Pacho Ramos
2021-06-06 18:12 Pacho Ramos
2020-05-31 12:42 Pacho Ramos
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=1650968973.236f0d768af32b552c6df2a2b596de7d0d6dce50.pacho@gentoo \
--to=pacho@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