pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/texworks texworks: update to 0.6.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f36eb73dffd
branches:  trunk
changeset: 423955:9f36eb73dffd
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Mar 01 12:38:04 2020 +0000

description:
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:

 editors/texworks/Makefile                             |   5 ++---
 editors/texworks/PLIST                                |   4 ++--
 editors/texworks/distinfo                             |  13 +++++++------
 editors/texworks/patches/patch-getDefaultBinPaths.sh  |  14 ++++++++++----
 editors/texworks/patches/patch-src_CompletingEdit.cpp |  19 +++++++++++++++++++
 5 files changed, 40 insertions(+), 15 deletions(-)

diffs (101 lines):

diff -r feaf58388dc2 -r 9f36eb73dffd editors/texworks/Makefile
--- a/editors/texworks/Makefile Sun Mar 01 12:33:45 2020 +0000
+++ b/editors/texworks/Makefile Sun Mar 01 12:38:04 2020 +0000
@@ -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 -r feaf58388dc2 -r 9f36eb73dffd editors/texworks/PLIST
--- a/editors/texworks/PLIST    Sun Mar 01 12:33:45 2020 +0000
+++ b/editors/texworks/PLIST    Sun Mar 01 12:38:04 2020 +0000
@@ -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 -r feaf58388dc2 -r 9f36eb73dffd editors/texworks/distinfo
--- a/editors/texworks/distinfo Sun Mar 01 12:33:45 2020 +0000
+++ b/editors/texworks/distinfo Sun Mar 01 12:38:04 2020 +0000
@@ -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 -r feaf58388dc2 -r 9f36eb73dffd editors/texworks/patches/patch-getDefaultBinPaths.sh
--- a/editors/texworks/patches/patch-getDefaultBinPaths.sh      Sun Mar 01 12:33:45 2020 +0000
+++ b/editors/texworks/patches/patch-getDefaultBinPaths.sh      Sun Mar 01 12:38:04 2020 +0000
@@ -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 @@
 -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 -r feaf58388dc2 -r 9f36eb73dffd editors/texworks/patches/patch-src_CompletingEdit.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/texworks/patches/patch-src_CompletingEdit.cpp     Sun Mar 01 12:38:04 2020 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index