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 unified 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,40 +1,35 @@ @@ -1,40 +1,35 @@
1# $NetBSD: Makefile,v 1.47 2018/01/11 08:09:38 wiz Exp $ 1# $NetBSD: Makefile,v 1.48 2018/01/11 09:32:01 markd Exp $
2 2
3DISTNAME= texworks-0.6.1 3DISTNAME= texworks-0.6.2
4PKGREVISION= 5 
5CATEGORIES= editors 4CATEGORIES= editors
6MASTER_SITES= ${MASTER_SITE_GITHUB:=TeXworks/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=TeXworks/}
7GITHUB_PROJECT= texworks 6GITHUB_PROJECT= texworks
8GITHUB_TAG= release-${PKGVERSION_NOREV} 7GITHUB_TAG= release-${PKGVERSION_NOREV}
9 8
10MAINTAINER= markd@NetBSD.org 9MAINTAINER= markd@NetBSD.org
11HOMEPAGE= http://www.tug.org/texworks/ 10HOMEPAGE= http://www.tug.org/texworks/
12COMMENT= Simple TeX front-end program 11COMMENT= Simple TeX front-end program
13LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
14 13
15BROKEN= Needs poppler with qt4 support. 
16 
17USE_LANGUAGES= c c++ 14USE_LANGUAGES= c c++
18USE_TOOLS+= pkg-config gmake 15USE_TOOLS+= pkg-config gmake
19USE_CMAKE= yes 16USE_CMAKE= yes
20 17
21CMAKE_ARGS+= -DWITH_LUA:BOOL=OFF 18CMAKE_ARGS+= -DWITH_LUA:BOOL=OFF
22CMAKE_ARGS+= -DWITH_PYTHON:BOOL=OFF 19CMAKE_ARGS+= -DWITH_PYTHON:BOOL=OFF
23CMAKE_ARGS+= -DTeXworks_DIC_DIR:PATH=share/hunspell 20CMAKE_ARGS+= -DTeXworks_DIC_DIR:PATH=share/hunspell
24CMAKE_ARGS+= -DTeXworks_MAN_DIR:PATH=${PKGMANDIR}/man1 21CMAKE_ARGS+= -DTeXworks_MAN_DIR:PATH=${PKGMANDIR}/man1
25 22
26DEPENDS+= poppler-data>=0.4.5:../../print/poppler-data 23DEPENDS+= poppler-data>=0.4.5:../../print/poppler-data
27 24
28pre-configure: 25pre-configure:
29 ${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/ 26 ${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
30 27
31BUILDLINK_DEPMETHOD.qt4-tools= full 
32 
33.include "../../devel/zlib/buildlink3.mk" 28.include "../../devel/zlib/buildlink3.mk"
34#.include "../../print/poppler-qt4/buildlink3.mk" 29.include "../../print/poppler-qt5/buildlink3.mk"
35.include "../../textproc/hunspell/buildlink3.mk" 30.include "../../textproc/hunspell/buildlink3.mk"
36.include "../../x11/qt4-libs/buildlink3.mk" 31.include "../../x11/qt5-qtbase/buildlink3.mk"
37.include "../../x11/qt4-tools/buildlink3.mk" 32.include "../../x11/qt5-qtscript/buildlink3.mk"
38.include "../../x11/qt4-qdbus/buildlink3.mk" 33.include "../../x11/qt5-qttools/buildlink3.mk"
39.include "../../sysutils/desktop-file-utils/desktopdb.mk" 34.include "../../sysutils/desktop-file-utils/desktopdb.mk"
40.include "../../mk/bsd.pkg.mk" 35.include "../../mk/bsd.pkg.mk"

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

cvs diff -r1.4 -r1.5 pkgsrc/editors/texworks/patches/patch-getDefaultBinPaths.sh (expand / switch to unified 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,27 +1,29 @@ @@ -1,27 +1,29 @@
1$NetBSD: patch-getDefaultBinPaths.sh,v 1.4 2017/02/14 09:19:43 markd Exp $ 1$NetBSD: patch-getDefaultBinPaths.sh,v 1.5 2018/01/11 09:32:01 markd Exp $
2 2
3--- getDefaultBinPaths.sh.orig 2016-05-01 08:43:14.000000000 +0000 3--- getDefaultBinPaths.sh.orig 2017-04-29 16:23:51.000000000 +0000
4+++ getDefaultBinPaths.sh 4+++ getDefaultBinPaths.sh
5@@ -74,14 +74,14 @@ case $PLATFORM in 5@@ -74,15 +74,15 @@ case $PLATFORM in
6 *) OS=`echo $PLATFORM | sed 's/.*-//'` 6 *) OS=`echo $PLATFORM | sed 's/.*-//'`
7 esac 7 esac
8  8
 9-appendPath "/usr/local/texlive/2018/bin/$ARCH-$OS"
9-appendPath "/usr/local/texlive/2017/bin/$ARCH-$OS" 10-appendPath "/usr/local/texlive/2017/bin/$ARCH-$OS"
10-appendPath "/usr/local/texlive/2016/bin/$ARCH-$OS" 11-appendPath "/usr/local/texlive/2016/bin/$ARCH-$OS"
11-appendPath "/usr/local/texlive/2015/bin/$ARCH-$OS" 12-appendPath "/usr/local/texlive/2015/bin/$ARCH-$OS"
12-appendPath "/usr/local/texlive/2014/bin/$ARCH-$OS" 13-appendPath "/usr/local/texlive/2014/bin/$ARCH-$OS"
13-appendPath "/usr/local/texlive/2013/bin/$ARCH-$OS" 14-appendPath "/usr/local/texlive/2013/bin/$ARCH-$OS"
14-appendPath "/usr/local/texlive/2012/bin/$ARCH-$OS" 15-appendPath "/usr/local/texlive/2012/bin/$ARCH-$OS"
15-appendPath "/usr/local/texlive/2011/bin/$ARCH-$OS" 16-appendPath "/usr/local/texlive/2011/bin/$ARCH-$OS"
16-appendPath "/usr/local/texlive/2010/bin/$ARCH-$OS" 17-appendPath "/usr/local/texlive/2010/bin/$ARCH-$OS"
 18+#appendPath "/usr/local/texlive/2018/bin/$ARCH-$OS"
17+#appendPath "/usr/local/texlive/2017/bin/$ARCH-$OS" 19+#appendPath "/usr/local/texlive/2017/bin/$ARCH-$OS"
18+#appendPath "/usr/local/texlive/2016/bin/$ARCH-$OS" 20+#appendPath "/usr/local/texlive/2016/bin/$ARCH-$OS"
19+#appendPath "/usr/local/texlive/2015/bin/$ARCH-$OS" 21+#appendPath "/usr/local/texlive/2015/bin/$ARCH-$OS"
20+#appendPath "/usr/local/texlive/2014/bin/$ARCH-$OS" 22+#appendPath "/usr/local/texlive/2014/bin/$ARCH-$OS"
21+#appendPath "/usr/local/texlive/2013/bin/$ARCH-$OS" 23+#appendPath "/usr/local/texlive/2013/bin/$ARCH-$OS"
22+#appendPath "/usr/local/texlive/2012/bin/$ARCH-$OS" 24+#appendPath "/usr/local/texlive/2012/bin/$ARCH-$OS"
23+#appendPath "/usr/local/texlive/2011/bin/$ARCH-$OS" 25+#appendPath "/usr/local/texlive/2011/bin/$ARCH-$OS"
24+#appendPath "/usr/local/texlive/2010/bin/$ARCH-$OS" 26+#appendPath "/usr/local/texlive/2010/bin/$ARCH-$OS"
25  27
26 for TEXLIVEROOT in /usr/local/texlive/* /opt/texlive/*; do 28 for TEXLIVEROOT in /usr/local/texlive/* /opt/texlive/*; do
27 # Check if this is really a folder (e.g., /opt/... might not exist) 29 # Check if this is really a folder (e.g., /opt/... might not exist)