Thu Jan 11 09:32:01 2018 UTC ()
texworks: update to 0.6.2 and switch to qt5

Release 0.6.2 (TL'17) [April 2017]
* Implement handling of links to external files in the PDF preview
* Implement a simple screen calibration widget to allow adapting the PDF
  preview to the screen's resolution
* Improve responsiveness when opening large documents
* Use old content instead of rendering placeholers after a PDF was reloaded
  to facilitate seeing changes
* Improve the usability of the "Remove Aux Files..." dialog by letting the
  user toogle the selection by clicking anywhere on the row
* Add support for the bibliography program "biber" by default
* Allow custom zoom levels in the PDF status bar context menu
* Add a Windows manifest so TeXworks looks more "native" on modern versions
  of Windows

* Fix PDF zoom speed for high-resolution mouse-wheels
* Fix a deadlock causing TeXworks to hang when loading PDF annotations such
  as links
* Fix crash when changing files outside TeXworks
* Fix crash when syncing from an if-block in the TeX file
* Fix crash when reloading a PDF while text was selected
* Fix enabling of the first/previous/next/last page toolbar buttons in the
  PDF preview
* Fix the wrong appearance of the PDF magnifier in some cases
* Fix truncation issues and misreported Windows versions in "Email to
  mailing list"

* Update translations


(markd)
diff -r1.47 -r1.48 pkgsrc/editors/texworks/Makefile
diff -r1.5 -r1.6 pkgsrc/editors/texworks/distinfo
diff -r1.4 -r1.5 pkgsrc/editors/texworks/patches/patch-getDefaultBinPaths.sh

cvs diff -r1.47 -r1.48 pkgsrc/editors/texworks/Makefile (expand / switch to context diff)
--- pkgsrc/editors/texworks/Makefile 2018/01/11 08:09:38 1.47
+++ pkgsrc/editors/texworks/Makefile 2018/01/11 09:32:01 1.48
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.47 2018/01/11 08:09:38 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2018/01/11 09:32:01 markd Exp $
 
-DISTNAME=	texworks-0.6.1
-PKGREVISION=	5
+DISTNAME=	texworks-0.6.2
 CATEGORIES=	editors
 MASTER_SITES=	${MASTER_SITE_GITHUB:=TeXworks/}
 GITHUB_PROJECT=	texworks
@@ -12,8 +11,6 @@
 COMMENT=	Simple TeX front-end program
 LICENSE=	gnu-gpl-v2
 
-BROKEN=		Needs poppler with qt4 support.
-
 USE_LANGUAGES=	c c++
 USE_TOOLS+=	pkg-config gmake
 USE_CMAKE=	yes
@@ -28,13 +25,11 @@
 pre-configure:
 	${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
 
-BUILDLINK_DEPMETHOD.qt4-tools=	full
-
 .include "../../devel/zlib/buildlink3.mk"
-#.include "../../print/poppler-qt4/buildlink3.mk"
+.include "../../print/poppler-qt5/buildlink3.mk"
 .include "../../textproc/hunspell/buildlink3.mk"
-.include "../../x11/qt4-libs/buildlink3.mk"
-.include "../../x11/qt4-tools/buildlink3.mk"
-.include "../../x11/qt4-qdbus/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtscript/buildlink3.mk"
+.include "../../x11/qt5-qttools/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../mk/bsd.pkg.mk"

cvs diff -r1.5 -r1.6 pkgsrc/editors/texworks/distinfo (expand / switch to context diff)
--- pkgsrc/editors/texworks/distinfo 2017/02/16 08:33:13 1.5
+++ pkgsrc/editors/texworks/distinfo 2018/01/11 09:32:01 1.6
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2017/02/16 08:33:13 markd Exp $
+$NetBSD: distinfo,v 1.6 2018/01/11 09:32:01 markd Exp $
 
-SHA1 (texworks-0.6.1.tar.gz) = 28d29f5942fe44c71e10e3938e1984bff0ca1aec
+SHA1 (texworks-0.6.2.tar.gz) = 71fd92a08bd1e496e61c9bf6c0ee36e9cff23778
-RMD160 (texworks-0.6.1.tar.gz) = ef7430eadaf158edbcb25dfcd6b84c882d3bfa2f
+RMD160 (texworks-0.6.2.tar.gz) = 146ea472276430bc2cd74c682187de5684ea0278
-SHA512 (texworks-0.6.1.tar.gz) = e322524aee2f5c07279e0e2373d2bc86b6772455aa957bf27b1a869e56f44f3278e85f0ab9f311a979818e7b81b0faed59bed5ed357f20b86a6e73e4ced8c027
+SHA512 (texworks-0.6.2.tar.gz) = cf81fe9a8db06cde25b67a27c310127b09013fe47cf7fa57bcb7df5d1054dea77cc6ff142af24eae89b216127d34a07db84f0d4ccc92cbdb6bebfc9949b3b148
-Size (texworks-0.6.1.tar.gz) = 11310546 bytes
+Size (texworks-0.6.2.tar.gz) = 11508277 bytes
-SHA1 (patch-getDefaultBinPaths.sh) = 127f715ce85836be8e76b583ee0e513b142c4e00
+SHA1 (patch-getDefaultBinPaths.sh) = 111f4f00170568bb8ff337ff46133abc4b53899b

cvs diff -r1.4 -r1.5 pkgsrc/editors/texworks/patches/patch-getDefaultBinPaths.sh (expand / switch to context diff)
--- pkgsrc/editors/texworks/patches/patch-getDefaultBinPaths.sh 2017/02/14 09:19:43 1.4
+++ pkgsrc/editors/texworks/patches/patch-getDefaultBinPaths.sh 2018/01/11 09:32:01 1.5
@@ -1,11 +1,12 @@
-$NetBSD: patch-getDefaultBinPaths.sh,v 1.4 2017/02/14 09:19:43 markd Exp $
+$NetBSD: patch-getDefaultBinPaths.sh,v 1.5 2018/01/11 09:32:01 markd Exp $
 
---- getDefaultBinPaths.sh.orig	2016-05-01 08:43:14.000000000 +0000
+--- getDefaultBinPaths.sh.orig	2017-04-29 16:23:51.000000000 +0000
 +++ getDefaultBinPaths.sh
-@@ -74,14 +74,14 @@ case $PLATFORM in
+@@ -74,15 +74,15 @@ case $PLATFORM in
  	*)			OS=`echo $PLATFORM | sed 's/.*-//'`
  esac
  
+-appendPath "/usr/local/texlive/2018/bin/$ARCH-$OS"
 -appendPath "/usr/local/texlive/2017/bin/$ARCH-$OS"
 -appendPath "/usr/local/texlive/2016/bin/$ARCH-$OS"
 -appendPath "/usr/local/texlive/2015/bin/$ARCH-$OS"
@@ -14,6 +15,7 @@
 -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/2018/bin/$ARCH-$OS"
 +#appendPath "/usr/local/texlive/2017/bin/$ARCH-$OS"
 +#appendPath "/usr/local/texlive/2016/bin/$ARCH-$OS"
 +#appendPath "/usr/local/texlive/2015/bin/$ARCH-$OS"