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

Jonas Witschel diabonas at archlinux.org
Wed Mar 25 21:34:09 UTC 2020


    Date: Wednesday, March 25, 2020 @ 21:34:08
  Author: diabonas
Revision: 604392

archrelease: copy trunk to community-x86_64

Added:
  texworks/repos/community-x86_64/PKGBUILD
    (from rev 604391, 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 |   29 -------
 PKGBUILD                                        |   88 ++++++++++------------
 2 files changed, 41 insertions(+), 76 deletions(-)

Deleted: Disable-mouse-tracking-for-CompletingEdit.patch
===================================================================
--- Disable-mouse-tracking-for-CompletingEdit.patch	2020-03-25 21:33:59 UTC (rev 604391)
+++ Disable-mouse-tracking-for-CompletingEdit.patch	2020-03-25 21:34:08 UTC (rev 604392)
@@ -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
-

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-25 21:33:59 UTC (rev 604391)
+++ PKGBUILD	2020-03-25 21:34:08 UTC (rev 604392)
@@ -1,47 +0,0 @@
-# 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
-}

Copied: texworks/repos/community-x86_64/PKGBUILD (from rev 604391, texworks/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-25 21:34:08 UTC (rev 604392)
@@ -0,0 +1,41 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=texworks
+pkgver=0.6.5
+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")
+sha512sums=('d97bb7c3ad7bbb402be80556027ef19076dae91bb9449df2b45d54e89b492e32b8d6f109d1bda9388424af6218866d84a8c296c9bc2ef644cf2fac0d4b24939e')
+
+prepare() {
+	mkdir build
+}
+
+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