From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/texworks/, app-editors/texworks/files/
Date: Fri, 19 Jun 2020 07:40:33 +0000 (UTC) [thread overview]
Message-ID: <1592552430.4c93702294b597d96add9eac83788b0291cf74ff.zlogene@gentoo> (raw)
commit: 4c93702294b597d96add9eac83788b0291cf74ff
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 19 07:40:04 2020 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Fri Jun 19 07:40:30 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c937022
app-editors/texworks: Add qt-5.15 support
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
app-editors/texworks/files/qt5.15-support.patch | 21 +++++++++++++++++++++
app-editors/texworks/texworks-0.6.5.ebuild | 9 +++++++--
2 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/app-editors/texworks/files/qt5.15-support.patch b/app-editors/texworks/files/qt5.15-support.patch
new file mode 100644
index 00000000000..9c77c157e46
--- /dev/null
+++ b/app-editors/texworks/files/qt5.15-support.patch
@@ -0,0 +1,21 @@
+From a5352a3a94e3685125650b65e6197de060326cc2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Stefan=20L=C3=B6ffler?= <st.loeffler@gmail.com>
+Date: Fri, 1 May 2020 08:05:46 +0200
+Subject: [PATCH] <QtPDF> Fix compilation with Qt 5.15
+
+---
+ modules/QtPDF/src/PDFBackend.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/modules/QtPDF/src/PDFBackend.cpp b/modules/QtPDF/src/PDFBackend.cpp
+index 0305d87a..500d20aa 100644
+--- a/modules/QtPDF/src/PDFBackend.cpp
++++ b/modules/QtPDF/src/PDFBackend.cpp
+@@ -14,6 +14,7 @@
+
+ #include <PDFBackend.h>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QApplication>
+
+ namespace QtPDF {
diff --git a/app-editors/texworks/texworks-0.6.5.ebuild b/app-editors/texworks/texworks-0.6.5.ebuild
index d9fa4f24277..f9228f2ac58 100644
--- a/app-editors/texworks/texworks-0.6.5.ebuild
+++ b/app-editors/texworks/texworks-0.6.5.ebuild
@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python{3_6,3_7} )
-inherit python-single-r1 cmake-utils virtualx xdg-utils
+inherit python-single-r1 cmake virtualx xdg-utils
DESCRIPTION="A simple interface for working with TeX documents"
HOMEPAGE="http://tug.org/texworks/"
@@ -40,6 +40,11 @@ pkg_setup() {
python-single-r1_pkg_setup
}
+src_prepare() {
+ cmake_src_prepare
+ eapply "${FILESDIR}"/qt5.15-support.patch
+}
+
src_configure() {
local mycmakeargs=(
-Wno-dev
@@ -52,7 +57,7 @@ src_configure() {
-DBUILD_SHARED_LIBS=ON
-DBUILD_SHARED_PLUGINS=ON
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_test() {
next reply other threads:[~2020-06-19 7:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-19 7:40 Mikle Kolyada [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-10-21 21:04 [gentoo-commits] repo/gentoo:master commit in: app-editors/texworks/, app-editors/texworks/files/ Andreas Sturmlechner
2024-11-08 16:19 Andreas Sturmlechner
2024-11-08 16:21 Andreas Sturmlechner
2025-03-25 15:00 Andreas Sturmlechner
2025-03-25 19:15 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=1592552430.4c93702294b597d96add9eac83788b0291cf74ff.zlogene@gentoo \
--to=zlogene@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