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 translationsdiff -r1.47 -r1.48 pkgsrc/editors/texworks/Makefile
(markd)
@@ -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 | |||
3 | DISTNAME= texworks-0.6.1 | 3 | DISTNAME= texworks-0.6.2 | |
4 | PKGREVISION= 5 | |||
5 | CATEGORIES= editors | 4 | CATEGORIES= editors | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=TeXworks/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=TeXworks/} | |
7 | GITHUB_PROJECT= texworks | 6 | GITHUB_PROJECT= texworks | |
8 | GITHUB_TAG= release-${PKGVERSION_NOREV} | 7 | GITHUB_TAG= release-${PKGVERSION_NOREV} | |
9 | 8 | |||
10 | MAINTAINER= markd@NetBSD.org | 9 | MAINTAINER= markd@NetBSD.org | |
11 | HOMEPAGE= http://www.tug.org/texworks/ | 10 | HOMEPAGE= http://www.tug.org/texworks/ | |
12 | COMMENT= Simple TeX front-end program | 11 | COMMENT= Simple TeX front-end program | |
13 | LICENSE= gnu-gpl-v2 | 12 | LICENSE= gnu-gpl-v2 | |
14 | 13 | |||
15 | BROKEN= Needs poppler with qt4 support. | |||
16 | ||||
17 | USE_LANGUAGES= c c++ | 14 | USE_LANGUAGES= c c++ | |
18 | USE_TOOLS+= pkg-config gmake | 15 | USE_TOOLS+= pkg-config gmake | |
19 | USE_CMAKE= yes | 16 | USE_CMAKE= yes | |
20 | 17 | |||
21 | CMAKE_ARGS+= -DWITH_LUA:BOOL=OFF | 18 | CMAKE_ARGS+= -DWITH_LUA:BOOL=OFF | |
22 | CMAKE_ARGS+= -DWITH_PYTHON:BOOL=OFF | 19 | CMAKE_ARGS+= -DWITH_PYTHON:BOOL=OFF | |
23 | CMAKE_ARGS+= -DTeXworks_DIC_DIR:PATH=share/hunspell | 20 | CMAKE_ARGS+= -DTeXworks_DIC_DIR:PATH=share/hunspell | |
24 | CMAKE_ARGS+= -DTeXworks_MAN_DIR:PATH=${PKGMANDIR}/man1 | 21 | CMAKE_ARGS+= -DTeXworks_MAN_DIR:PATH=${PKGMANDIR}/man1 | |
25 | 22 | |||
26 | DEPENDS+= poppler-data>=0.4.5:../../print/poppler-data | 23 | DEPENDS+= poppler-data>=0.4.5:../../print/poppler-data | |
27 | 24 | |||
28 | pre-configure: | 25 | pre-configure: | |
29 | ${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/ | 26 | ${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/ | |
30 | 27 | |||
31 | BUILDLINK_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" |
@@ -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 | |||
3 | SHA1 (texworks-0.6.1.tar.gz) = 28d29f5942fe44c71e10e3938e1984bff0ca1aec | 3 | SHA1 (texworks-0.6.2.tar.gz) = 71fd92a08bd1e496e61c9bf6c0ee36e9cff23778 | |
4 | RMD160 (texworks-0.6.1.tar.gz) = ef7430eadaf158edbcb25dfcd6b84c882d3bfa2f | 4 | RMD160 (texworks-0.6.2.tar.gz) = 146ea472276430bc2cd74c682187de5684ea0278 | |
5 | SHA512 (texworks-0.6.1.tar.gz) = e322524aee2f5c07279e0e2373d2bc86b6772455aa957bf27b1a869e56f44f3278e85f0ab9f311a979818e7b81b0faed59bed5ed357f20b86a6e73e4ced8c027 | 5 | SHA512 (texworks-0.6.2.tar.gz) = cf81fe9a8db06cde25b67a27c310127b09013fe47cf7fa57bcb7df5d1054dea77cc6ff142af24eae89b216127d34a07db84f0d4ccc92cbdb6bebfc9949b3b148 | |
6 | Size (texworks-0.6.1.tar.gz) = 11310546 bytes | 6 | Size (texworks-0.6.2.tar.gz) = 11508277 bytes | |
7 | SHA1 (patch-getDefaultBinPaths.sh) = 127f715ce85836be8e76b583ee0e513b142c4e00 | 7 | SHA1 (patch-getDefaultBinPaths.sh) = 111f4f00170568bb8ff337ff46133abc4b53899b |
@@ -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) |