From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/qgis/, sci-geosciences/qgis/files/
Date: Mon, 23 Nov 2020 22:10:33 +0000 (UTC) [thread overview]
Message-ID: <1606169406.5d8db0c6c8a1cc7556c66b3ade0bbf959ebe71b8.asturm@gentoo> (raw)
commit: 5d8db0c6c8a1cc7556c66b3ade0bbf959ebe71b8
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 23 22:10:06 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Nov 23 22:10:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d8db0c6
sci-geosciences/qgis: Fix Qt5LinguistTools detection (for lrelease)
Build system relied on lrelease available in PATH so far.
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../files/qgis-3.16.1-find-qt5linguisttools.patch | 27 ++++++++++++++++++++++
sci-geosciences/qgis/qgis-3.16.1.ebuild | 1 +
2 files changed, 28 insertions(+)
diff --git a/sci-geosciences/qgis/files/qgis-3.16.1-find-qt5linguisttools.patch b/sci-geosciences/qgis/files/qgis-3.16.1-find-qt5linguisttools.patch
new file mode 100644
index 00000000000..01f60269439
--- /dev/null
+++ b/sci-geosciences/qgis/files/qgis-3.16.1-find-qt5linguisttools.patch
@@ -0,0 +1,27 @@
+From db2fee6c199a34507e5742b2360d594a5bf67b18 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Mon, 23 Nov 2020 22:04:50 +0100
+Subject: [PATCH] Fix Qt5LinguistTools detection/lrelease binary location
+
+Correctly find the Qt5 module that provides the path to Qt5-based lrelease.
+Available since >= Qt-5.3.1 which is well below the current minimum for QGIS.
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ i18n/CMakeLists.txt | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/i18n/CMakeLists.txt b/i18n/CMakeLists.txt
+index a836e5cae5..7d7f79da89 100644
+--- a/i18n/CMakeLists.txt
++++ b/i18n/CMakeLists.txt
+@@ -1,4 +1,5 @@
+-find_program(QT_LRELEASE_EXECUTABLE NAMES lrelease-qt5 lrelease)
++find_package(Qt5LinguistTools REQUIRED)
++set(QT_LRELEASE_EXECUTABLE Qt5::lrelease)
+
+ macro(ADD_TRANSLATION_FILES _sources )
+ foreach (_current_FILE ${ARGN})
+--
+2.29.2
+
diff --git a/sci-geosciences/qgis/qgis-3.16.1.ebuild b/sci-geosciences/qgis/qgis-3.16.1.ebuild
index 54158d96a48..2bc3ef993a9 100644
--- a/sci-geosciences/qgis/qgis-3.16.1.ebuild
+++ b/sci-geosciences/qgis/qgis-3.16.1.ebuild
@@ -109,6 +109,7 @@ PATCHES=(
# TODO upstream
"${FILESDIR}/${P}-featuresummary.patch"
"${FILESDIR}/${P}-default-qmldir.patch"
+ "${FILESDIR}/${P}-find-qt5linguisttools.patch"
)
pkg_setup() {
next reply other threads:[~2020-11-23 22:10 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-23 22:10 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-08 13:31 [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/qgis/, sci-geosciences/qgis/files/ Andreas Sturmlechner
2023-08-23 7:55 Andreas Sturmlechner
2020-12-22 22:54 Andreas Sturmlechner
2020-11-20 20:40 Andreas Sturmlechner
2020-10-23 23:27 Andreas Sturmlechner
2020-02-09 17:41 Andreas Sturmlechner
2019-11-20 17:46 Andreas Sturmlechner
2019-04-28 15:27 Andreas Sturmlechner
2018-06-24 13:18 Andreas Sturmlechner
[not found] <1523569335.91435c00d97ec375328fdc6b56d03fb98e0b4adc.asturm@gentoo>
2018-04-12 21:42 ` Andreas Sturmlechner
2018-03-28 21:46 Andreas Sturmlechner
2018-03-05 6:06 Andreas Sturmlechner
2017-12-21 2:38 Andreas Sturmlechner
2017-08-26 19:19 Andreas Sturmlechner
2017-07-01 15:56 Andreas Sturmlechner
2017-06-04 10:25 Andreas Sturmlechner
2017-04-09 20:42 Andreas Sturmlechner
2017-02-19 22:01 Andreas Sturmlechner
2017-02-19 14:55 Andreas Sturmlechner
2017-02-19 14:55 Andreas Sturmlechner
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=1606169406.5d8db0c6c8a1cc7556c66b3ade0bbf959ebe71b8.asturm@gentoo \
--to=asturm@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