summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2020-03-01 12:38:04 +0000
committermarkd <markd@pkgsrc.org>2020-03-01 12:38:04 +0000
commitfc29589fe28369bfdf265a48e1f799e972c2cedb (patch)
treea808db0f9f6611db51c9b17d39b68136d93b4788 /editors
parent6663a21bdfe661a6826f46a9e235613624799173 (diff)
downloadpkgsrc-fc29589fe28369bfdf265a48e1f799e972c2cedb.tar.gz
texworks: update to 0.6.3
also add patch to work around qt5.14 issue. Release 0.6.3 (TL'19) [March 2019] * Implement "Insert Citations..." dialog * Implement indenting/unindenting by Tab/Shift+Tab (thanks to fsonner) * Make synchronization granularity configurable (highlight corresponding character, word, or line) * Add ability to distinguish identically named files by displaying the respective folders they are in in the window title, window menu, and under "Open Recent" * Implement "Fit to content width" PDF zoom (which ignores empty space around the text) * Disable unavailable typesetting engines * Allow to change the editor font size by Ctrl+Mousewheel (thanks to Tim Hoffmann) * Improve the detection of spellchecking languages (add ability to search multiple directories and list all results) * Hide the menu bar in PDF full screen mode * Rework/expand code completion strings (thanks to Joseph Wright) * Add/update syntax highlighting for LaTeX, ConTeXt, Lua, DTX (all thanks to Joseph Wright), and BibTeX * Add cleanup-patterns for beamer files .nav & .snm * Add new/unified icons for typeset (thanks to Tim Hoffmann) and zooming * Display paper size and file size in the PDF metadata * Fix infinite loop in syntax highlighter (which caused significant slow-down especially for large files) * Fix underline when spellchecking with syntax highlighting * Fix "Place on Left/Right", especially on multi-screen setups * Avoid 'file "" not found' errors when synchronizing * Fix synchronization while searching in a PDF * Fix fine-grained synchronization near paragraph boundaries * Fix the PDF copy menu command * Fix PDF text selection * Fix font color reset when searching and using stylesheets * Fix crashes when working with locked PDFs * Fix unexpected cursor movement when using a combination of backspace and up/down arrow keys (thanks to Markus Kuhn) * Fix the font in the log parser output * Fix persistent magnifying glass * Remove unimplemented PDF menu items cut, paste, clear * Update translations * Update libraries for pre-built binaries
Diffstat (limited to 'editors')
-rw-r--r--editors/texworks/Makefile5
-rw-r--r--editors/texworks/PLIST4
-rw-r--r--editors/texworks/distinfo13
-rw-r--r--editors/texworks/patches/patch-getDefaultBinPaths.sh14
-rw-r--r--editors/texworks/patches/patch-src_CompletingEdit.cpp19
5 files changed, 40 insertions, 15 deletions
diff --git a/editors/texworks/Makefile b/editors/texworks/Makefile
index 951b21c0b33..1f496253bd1 100644
--- a/editors/texworks/Makefile
+++ b/editors/texworks/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.76 2020/01/18 23:30:46 rillig Exp $
+# $NetBSD: Makefile,v 1.77 2020/03/01 12:38:04 markd Exp $
-DISTNAME= texworks-0.6.2
-PKGREVISION= 26
+DISTNAME= texworks-0.6.3
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GITHUB:=TeXworks/}
GITHUB_PROJECT= texworks
diff --git a/editors/texworks/PLIST b/editors/texworks/PLIST
index 3fb15ea763e..3703d21e22b 100644
--- a/editors/texworks/PLIST
+++ b/editors/texworks/PLIST
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.5 2017/02/14 09:19:43 markd Exp $
+@comment $NetBSD: PLIST,v 1.6 2020/03/01 12:38:04 markd Exp $
bin/texworks
man/man1/texworks.1
-share/appdata/texworks.appdata.xml
share/applications/texworks.desktop
share/doc/texworks/COPYING
share/doc/texworks/NEWS
share/doc/texworks/README.md
+share/metainfo/texworks.appdata.xml
share/pixmaps/TeXworks.png
diff --git a/editors/texworks/distinfo b/editors/texworks/distinfo
index b0a4edb744a..ac5e8d4ea99 100644
--- a/editors/texworks/distinfo
+++ b/editors/texworks/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2018/01/11 09:32:01 markd Exp $
+$NetBSD: distinfo,v 1.7 2020/03/01 12:38:04 markd Exp $
-SHA1 (texworks-0.6.2.tar.gz) = 71fd92a08bd1e496e61c9bf6c0ee36e9cff23778
-RMD160 (texworks-0.6.2.tar.gz) = 146ea472276430bc2cd74c682187de5684ea0278
-SHA512 (texworks-0.6.2.tar.gz) = cf81fe9a8db06cde25b67a27c310127b09013fe47cf7fa57bcb7df5d1054dea77cc6ff142af24eae89b216127d34a07db84f0d4ccc92cbdb6bebfc9949b3b148
-Size (texworks-0.6.2.tar.gz) = 11508277 bytes
-SHA1 (patch-getDefaultBinPaths.sh) = 111f4f00170568bb8ff337ff46133abc4b53899b
+SHA1 (texworks-0.6.3.tar.gz) = cfa574773cd9db2c1248c02c4e23254a34168394
+RMD160 (texworks-0.6.3.tar.gz) = d4e03af0e41f2c14eaa4800769062002f96fd77c
+SHA512 (texworks-0.6.3.tar.gz) = 389cf54441e74164fc842f2f293cdee45c6ff9fe202f262d32f3fb076de9a29813a62cd75052969293f2f784e0722215bbbf2206e75bc836a13d495bf5aed653
+Size (texworks-0.6.3.tar.gz) = 12082640 bytes
+SHA1 (patch-getDefaultBinPaths.sh) = 3f41dd5c29f581e8bba0bb8dd48576a5619d8d1f
+SHA1 (patch-src_CompletingEdit.cpp) = e7ce59c97a232dffdf4dc58efc2ab15b46695087
diff --git a/editors/texworks/patches/patch-getDefaultBinPaths.sh b/editors/texworks/patches/patch-getDefaultBinPaths.sh
index dfaf6564039..02c7f552c32 100644
--- a/editors/texworks/patches/patch-getDefaultBinPaths.sh
+++ b/editors/texworks/patches/patch-getDefaultBinPaths.sh
@@ -1,11 +1,14 @@
-$NetBSD: patch-getDefaultBinPaths.sh,v 1.5 2018/01/11 09:32:01 markd Exp $
+$NetBSD: patch-getDefaultBinPaths.sh,v 1.6 2020/03/01 12:38:04 markd Exp $
---- getDefaultBinPaths.sh.orig 2017-04-29 16:23:51.000000000 +0000
+--- getDefaultBinPaths.sh.orig 2019-03-16 17:06:14.000000000 +0000
+++ getDefaultBinPaths.sh
-@@ -74,15 +74,15 @@ case $PLATFORM in
- *) OS=`echo $PLATFORM | sed 's/.*-//'`
+@@ -74,18 +74,18 @@ case $PLATFORM in
+ *) OS=$(echo $PLATFORM | sed 's/.*-//')
esac
+-appendPath "/usr/local/texlive/2021/bin/$ARCH-$OS"
+-appendPath "/usr/local/texlive/2020/bin/$ARCH-$OS"
+-appendPath "/usr/local/texlive/2019/bin/$ARCH-$OS"
-appendPath "/usr/local/texlive/2018/bin/$ARCH-$OS"
-appendPath "/usr/local/texlive/2017/bin/$ARCH-$OS"
-appendPath "/usr/local/texlive/2016/bin/$ARCH-$OS"
@@ -15,6 +18,9 @@ $NetBSD: patch-getDefaultBinPaths.sh,v 1.5 2018/01/11 09:32:01 markd Exp $
-appendPath "/usr/local/texlive/2012/bin/$ARCH-$OS"
-appendPath "/usr/local/texlive/2011/bin/$ARCH-$OS"
-appendPath "/usr/local/texlive/2010/bin/$ARCH-$OS"
++#appendPath "/usr/local/texlive/2021/bin/$ARCH-$OS"
++#appendPath "/usr/local/texlive/2020/bin/$ARCH-$OS"
++#appendPath "/usr/local/texlive/2019/bin/$ARCH-$OS"
+#appendPath "/usr/local/texlive/2018/bin/$ARCH-$OS"
+#appendPath "/usr/local/texlive/2017/bin/$ARCH-$OS"
+#appendPath "/usr/local/texlive/2016/bin/$ARCH-$OS"
diff --git a/editors/texworks/patches/patch-src_CompletingEdit.cpp b/editors/texworks/patches/patch-src_CompletingEdit.cpp
new file mode 100644
index 00000000000..19aa35dcab1
--- /dev/null
+++ b/editors/texworks/patches/patch-src_CompletingEdit.cpp
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_CompletingEdit.cpp,v 1.1 2020/03/01 12:38:04 markd Exp $
+
+From ArchLinux
+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.orig 2019-03-16 17:06:14.000000000 +0000
++++ src/CompletingEdit.cpp
+@@ -87,6 +87,9 @@ CompletingEdit::CompletingEdit(QWidget *
+ 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)