* [gentoo-commits] repo/gentoo:master commit in: app-crypt/yubioath-desktop/files/, app-crypt/yubioath-desktop/
@ 2021-11-23 12:53 David Seifert
0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2021-11-23 12:53 UTC (permalink / raw
To: gentoo-commits
commit: 17a2413ac177eb44ec991ba0007bb28227c7ddc9
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 23 12:53:05 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 12:53:05 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17a2413a
app-crypt/yubioath-desktop: fix install location
Closes: https://bugs.gentoo.org/825390
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../yubioath-desktop-5.1.0-bin-installdir.patch | 22 ++++++++++++++++++++++
...1.0.ebuild => yubioath-desktop-5.1.0-r1.ebuild} | 6 ++----
2 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/app-crypt/yubioath-desktop/files/yubioath-desktop-5.1.0-bin-installdir.patch b/app-crypt/yubioath-desktop/files/yubioath-desktop-5.1.0-bin-installdir.patch
new file mode 100644
index 000000000000..749533ba31ba
--- /dev/null
+++ b/app-crypt/yubioath-desktop/files/yubioath-desktop-5.1.0-bin-installdir.patch
@@ -0,0 +1,22 @@
+From 9ae1ef710d5b070e128597a0fad3bd4ffa94b0aa Mon Sep 17 00:00:00 2001
+From: Dennis Fokin <Dennis.Fokin@yubico.com>
+Date: Thu, 7 Oct 2021 10:18:33 +0200
+Subject: [PATCH] Set correct install path
+
+---
+ yubioath-desktop.pro | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/yubioath-desktop.pro b/yubioath-desktop.pro
+index 551416ae..c0ef9bb1 100644
+--- a/yubioath-desktop.pro
++++ b/yubioath-desktop.pro
+@@ -75,6 +75,8 @@ lupdate_only {
+ qml/slot/*.qml
+ }
+
++# Set correct install path
++target.path = $$PREFIX/bin
+
+ DISTFILES += \
+ py/* \
diff --git a/app-crypt/yubioath-desktop/yubioath-desktop-5.1.0.ebuild b/app-crypt/yubioath-desktop/yubioath-desktop-5.1.0-r1.ebuild
similarity index 92%
rename from app-crypt/yubioath-desktop/yubioath-desktop-5.1.0.ebuild
rename to app-crypt/yubioath-desktop/yubioath-desktop-5.1.0-r1.ebuild
index e2f85896c574..c2f7b927166a 100644
--- a/app-crypt/yubioath-desktop/yubioath-desktop-5.1.0.ebuild
+++ b/app-crypt/yubioath-desktop/yubioath-desktop-5.1.0-r1.ebuild
@@ -34,12 +34,10 @@ RDEPEND="${DEPEND}
$(python_gen_cond_dep '>=app-crypt/yubikey-manager-4.0.0[${PYTHON_USEDEP}]')
dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]"
+PATCHES=( "${FILESDIR}"/${P}-bin-installdir.patch )
+
src_prepare() {
default
- sed -i \
- -e "s:python build_qrc.py:${PYTHON} build_qrc.py:" \
- yubioath-desktop.pro || die
-
python_fix_shebang "${S}"
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-crypt/yubioath-desktop/files/, app-crypt/yubioath-desktop/
@ 2022-01-20 21:21 Marek Szuba
0 siblings, 0 replies; 2+ messages in thread
From: Marek Szuba @ 2022-01-20 21:21 UTC (permalink / raw
To: gentoo-commits
commit: 4b8610761ef3da96cacfe7fb2874f9d8af9ea68d
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 20 21:10:29 2022 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Jan 20 21:10:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b861076
app-crypt/yubioath-desktop: do not import legacy QtQuick module
yubioath-desktop looks for Qt Quick Controls 2 at configure time yet one of
the QML scripts attempts to import QtQuick.Dialogs - which belongs to
deprecated Qt Quick Controls 1. Patch the offending import out so that
said QML script uses the class Dialog from QtQuick.Controls instead;
fortunately the two classes are largely API-compatible and the script
does not seem to trigger any of the (few according to documentation)
incompatibilities which do exist.
Closes: https://bugs.gentoo.org/831506
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
.../files/yubioath-desktop-5.1.0-qtquickcontrols1.patch | 10 ++++++++++
...esktop-5.1.0-r1.ebuild => yubioath-desktop-5.1.0-r2.ebuild} | 7 +++++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/app-crypt/yubioath-desktop/files/yubioath-desktop-5.1.0-qtquickcontrols1.patch b/app-crypt/yubioath-desktop/files/yubioath-desktop-5.1.0-qtquickcontrols1.patch
new file mode 100644
index 000000000000..f5d80643bf84
--- /dev/null
+++ b/app-crypt/yubioath-desktop/files/yubioath-desktop-5.1.0-qtquickcontrols1.patch
@@ -0,0 +1,10 @@
+--- a/qml/NewCredentialView.qml
++++ b/qml/NewCredentialView.qml
+@@ -3,7 +3,6 @@
+ import QtQuick.Layouts 1.3
+ import QtQuick.Controls.Material 2.2
+ import QtGraphicalEffects 1.0
+-import QtQuick.Dialogs 1.2
+ import Qt.labs.platform 1.0
+ import QtQuick.Window 2.2
+
diff --git a/app-crypt/yubioath-desktop/yubioath-desktop-5.1.0-r1.ebuild b/app-crypt/yubioath-desktop/yubioath-desktop-5.1.0-r2.ebuild
similarity index 90%
rename from app-crypt/yubioath-desktop/yubioath-desktop-5.1.0-r1.ebuild
rename to app-crypt/yubioath-desktop/yubioath-desktop-5.1.0-r2.ebuild
index c2f7b927166a..4c36fdb3a992 100644
--- a/app-crypt/yubioath-desktop/yubioath-desktop-5.1.0-r1.ebuild
+++ b/app-crypt/yubioath-desktop/yubioath-desktop-5.1.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -34,7 +34,10 @@ RDEPEND="${DEPEND}
$(python_gen_cond_dep '>=app-crypt/yubikey-manager-4.0.0[${PYTHON_USEDEP}]')
dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]"
-PATCHES=( "${FILESDIR}"/${P}-bin-installdir.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-bin-installdir.patch
+ "${FILESDIR}"/${P}-qtquickcontrols1.patch
+)
src_prepare() {
default
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-20 21:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-23 12:53 [gentoo-commits] repo/gentoo:master commit in: app-crypt/yubioath-desktop/files/, app-crypt/yubioath-desktop/ David Seifert
-- strict thread matches above, loose matches on Subject: below --
2022-01-20 21:21 Marek Szuba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox