[arch-commits] Commit in texworks/repos/community-x86_64 (4 files)

Jonas Witschel diabonas at archlinux.org
Sun Mar 15 18:10:39 UTC 2020


    Date: Sunday, March 15, 2020 @ 18:10:39
  Author: diabonas
Revision: 598408

archrelease: copy trunk to community-x86_64

Added:
  texworks/repos/community-x86_64/Disable-mouse-tracking-for-CompletingEdit.patch
    (from rev 598407, texworks/trunk/Disable-mouse-tracking-for-CompletingEdit.patch)
  texworks/repos/community-x86_64/PKGBUILD
    (from rev 598407, texworks/trunk/PKGBUILD)
Deleted:
  texworks/repos/community-x86_64/Disable-mouse-tracking-for-CompletingEdit.patch
  texworks/repos/community-x86_64/PKGBUILD

-------------------------------------------------+
 Disable-mouse-tracking-for-CompletingEdit.patch |   58 ++++++-------
 PKGBUILD                                        |   94 +++++++++++-----------
 2 files changed, 76 insertions(+), 76 deletions(-)

Deleted: Disable-mouse-tracking-for-CompletingEdit.patch
===================================================================
--- Disable-mouse-tracking-for-CompletingEdit.patch	2020-03-15 18:10:31 UTC (rev 598407)
+++ Disable-mouse-tracking-for-CompletingEdit.patch	2020-03-15 18:10:39 UTC (rev 598408)
@@ -1,29 +0,0 @@
-From 4948f1b3c2ea551b7ba8ebe82833560d07a80664 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 283f418..a6f80a3 100644
---- a/src/CompletingEdit.cpp
-+++ b/src/CompletingEdit.cpp
-@@ -87,6 +87,9 @@ CompletingEdit::CompletingEdit(QWidget *parent)
- 	cursorPositionChangedSlot();
- 	updateLineNumberAreaWidth(0);
- 	updateColors();
-+
-+	// Workaround for Qt 5.14, see https://bugreports.qt.io/browse/QTBUG-80831
-+	setMouseTracking(false);
- }
- 
- void CompletingEdit::prefixLines(const QString &prefix)
--- 
-2.24.1
-

Copied: texworks/repos/community-x86_64/Disable-mouse-tracking-for-CompletingEdit.patch (from rev 598407, texworks/trunk/Disable-mouse-tracking-for-CompletingEdit.patch)
===================================================================
--- Disable-mouse-tracking-for-CompletingEdit.patch	                        (rev 0)
+++ Disable-mouse-tracking-for-CompletingEdit.patch	2020-03-15 18:10:39 UTC (rev 598408)
@@ -0,0 +1,29 @@
+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
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-15 18:10:31 UTC (rev 598407)
+++ PKGBUILD	2020-03-15 18:10:39 UTC (rev 598408)
@@ -1,47 +0,0 @@
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-pkgname=texworks
-pkgver=0.6.3
-pkgrel=7
-pkgdesc='Unicode-based, TeX-aware editor with integrated PDF viewer'
-arch=('x86_64')
-url='https://www.tug.org/texworks/'
-license=('GPL')
-depends=('hunspell' 'libsynctex' 'poppler-qt5' 'qt5-script')
-makedepends=('cmake' 'lua' 'python' 'qt5-tools')
-checkdepends=('gsfonts' 'poppler-data' 'xorg-server-xvfb')
-optdepends=('gsfonts: correctly display PDF files without embedded fonts'
-            'lua: Lua scripts support'
-            '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=('389cf54441e74164fc842f2f293cdee45c6ff9fe202f262d32f3fb076de9a29813a62cd75052969293f2f784e0722215bbbf2206e75bc836a13d495bf5aed653'
-            'f5ba88b540c744162b1ba4a9c3442fc8985033d934c8520b7d0db196bcb0f78a3e0eb8fd826f5d9393ba4d5fb37d78e0d9620c2ba3acf6e74fc085542d3b8f20')
-
-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() {
-	cd build
-	cmake -DCMAKE_INSTALL_PREFIX=/usr \
-	      -DTW_BUILD_ID='Arch Linux' \
-	      -DWITH_PYTHON=ON \
-	      "$srcdir/texworks-release-$pkgver"
-	make
-}
-
-check() {
-	cd build
-	xvfb-run ctest --output-on-failure
-}
-
-package() {
-	cd build
-	make DESTDIR="$pkgdir" install
-}

Copied: texworks/repos/community-x86_64/PKGBUILD (from rev 598407, texworks/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-15 18:10:39 UTC (rev 598408)
@@ -0,0 +1,47 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=texworks
+pkgver=0.6.4
+pkgrel=1
+pkgdesc='Unicode-based, TeX-aware editor with integrated PDF viewer'
+arch=('x86_64')
+url='https://www.tug.org/texworks/'
+license=('GPL')
+depends=('hunspell' 'libsynctex' 'poppler-qt5' 'qt5-script')
+makedepends=('cmake' 'lua' 'python' 'qt5-tools')
+checkdepends=('gsfonts' 'poppler-data' 'xorg-server-xvfb')
+optdepends=('gsfonts: correctly display PDF files without embedded fonts'
+            'lua: Lua scripts support'
+            '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')
+
+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() {
+	cd build
+	cmake -DCMAKE_INSTALL_PREFIX=/usr \
+	      -DTW_BUILD_ID='Arch Linux' \
+	      -DWITH_PYTHON=ON \
+	      "$srcdir/texworks-release-$pkgver"
+	make
+}
+
+check() {
+	cd build
+	xvfb-run ctest --output-on-failure
+}
+
+package() {
+	cd build
+	make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list