[arch-commits] Commit in texworks/trunk (2 files)
Jonas Witschel
diabonas at archlinux.org
Wed Mar 25 21:34:00 UTC 2020
Date: Wednesday, March 25, 2020 @ 21:33:59
Author: diabonas
Revision: 604391
upgpkg: texworks 0.6.5-1: upstream release
The text selection issue in Qt 5.14 has been solved upstream in a slightly
different way, cf. upstream commit 2d0d4d5915d64e7b287f733bd809c30c27ef5e1e.
Modified:
texworks/trunk/PKGBUILD
Deleted:
texworks/trunk/Disable-mouse-tracking-for-CompletingEdit.patch
-------------------------------------------------+
Disable-mouse-tracking-for-CompletingEdit.patch | 29 ----------------------
PKGBUILD | 12 ++-------
2 files changed, 3 insertions(+), 38 deletions(-)
Deleted: Disable-mouse-tracking-for-CompletingEdit.patch
===================================================================
--- Disable-mouse-tracking-for-CompletingEdit.patch 2020-03-25 21:29:10 UTC (rev 604390)
+++ Disable-mouse-tracking-for-CompletingEdit.patch 2020-03-25 21:33:59 UTC (rev 604391)
@@ -1,29 +0,0 @@
-From 61a7daa00a824a165eeccf0bf3bbdd5ade0f3911 Mon Sep 17 00:00:00 2001
-From: Jonas Witschel <diabonas at archlinux.org>
-Date: Thu, 19 Dec 2019 13:24:22 +0100
-Subject: [PATCH] Disable mouse tracking for CompletingEdit
-
-This is a temporary workaround for a regression in Qt 5.14.0, see
-https://github.com/TeXworks/texworks/issues/883 and
-https://bugreports.qt.io/browse/QTBUG-80831.
----
- src/CompletingEdit.cpp | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/src/CompletingEdit.cpp b/src/CompletingEdit.cpp
-index a3089dbd..e6c16213 100644
---- a/src/CompletingEdit.cpp
-+++ b/src/CompletingEdit.cpp
-@@ -103,6 +103,9 @@ CompletingEdit::CompletingEdit(QWidget *parent /* = nullptr */)
- updateLineNumberAreaWidth(0);
- updateColors();
- TWUtils::installCustomShortcuts(this);
-+
-+ // Workaround for Qt 5.14, see https://bugreports.qt.io/browse/QTBUG-80831
-+ setMouseTracking(false);
- }
-
- void CompletingEdit::prefixLines(const QString &prefix)
---
-2.25.1
-
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-25 21:29:10 UTC (rev 604390)
+++ PKGBUILD 2020-03-25 21:33:59 UTC (rev 604391)
@@ -1,6 +1,6 @@
# Maintainer: Jonas Witschel <diabonas at archlinux.org>
pkgname=texworks
-pkgver=0.6.4
+pkgver=0.6.5
pkgrel=1
pkgdesc='Unicode-based, TeX-aware editor with integrated PDF viewer'
arch=('x86_64')
@@ -14,17 +14,11 @@
'poppler-data: correctly display certain CJK documents'
'python: Python scripts support'
'texlive-core: typeset TeX documents')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/TeXworks/texworks/archive/release-$pkgver.tar.gz"
- 'Disable-mouse-tracking-for-CompletingEdit.patch')
-sha512sums=('8fa3e16e6ee19d46dba30707e7a83340c1d68f6cb855cc2838c5c168dc580f8973cb7438bdfce93e51962653694d369c51d7a82a07ad6bcf5eb89030fa3640ea'
- 'd151dff96a7c7b280235b5d533c4e0874c600ef4eae9119dd5a841aaf3853a4c22163da5d8719e4adc3f83b51ba08c829e8adff054b1356cee81296832f9a988')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/TeXworks/texworks/archive/release-$pkgver.tar.gz")
+sha512sums=('d97bb7c3ad7bbb402be80556027ef19076dae91bb9449df2b45d54e89b492e32b8d6f109d1bda9388424af6218866d84a8c296c9bc2ef644cf2fac0d4b24939e')
prepare() {
mkdir build
-
- # Temporary workaround for https://bugreports.qt.io/browse/QTBUG-80831
- cd "texworks-release-$pkgver"
- patch --strip=1 --input="$srcdir/Disable-mouse-tracking-for-CompletingEdit.patch"
}
build() {
More information about the arch-commits
mailing list