From owner-svn-ports-head@freebsd.org Sun Oct 14 18:28:01 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D81910DE442; Sun, 14 Oct 2018 18:28:01 +0000 (UTC) (envelope-from rigoletto@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 30E0495D15; Sun, 14 Oct 2018 18:28:01 +0000 (UTC) (envelope-from rigoletto@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0CE0D21F88; Sun, 14 Oct 2018 18:28:01 +0000 (UTC) (envelope-from rigoletto@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9EIS0L7073480; Sun, 14 Oct 2018 18:28:00 GMT (envelope-from rigoletto@FreeBSD.org) Received: (from rigoletto@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9EIS0Va073478; Sun, 14 Oct 2018 18:28:00 GMT (envelope-from rigoletto@FreeBSD.org) Message-Id: <201810141828.w9EIS0Va073478@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rigoletto set sender to rigoletto@FreeBSD.org using -f From: =?UTF-8?Q?Alexandre_C=2e_Guimar=c3=a3es?= Date: Sun, 14 Oct 2018 18:28:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482104 - in head/editors/texworks: . files X-SVN-Group: ports-head X-SVN-Commit-Author: rigoletto X-SVN-Commit-Paths: in head/editors/texworks: . files X-SVN-Commit-Revision: 482104 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2018 18:28:01 -0000 Author: rigoletto Date: Sun Oct 14 18:28:00 2018 New Revision: 482104 URL: https://svnweb.freebsd.org/changeset/ports/482104 Log: editors/texworks: Update to version 0.6.2. Texworks is available now as Qt5 only because the upcoming poppler update will not include a Qt4 version. PR: 200302 Submitted by: tkato432@yahoo.com (original version) Reviewed by: mat (mentor) Approved by: tcberner (mentor), hrs (maintainer, timeout) Differential Revision: https://reviews.freebsd.org/D17177 Deleted: head/editors/texworks/files/ Modified: head/editors/texworks/Makefile head/editors/texworks/distinfo Modified: head/editors/texworks/Makefile ============================================================================== --- head/editors/texworks/Makefile Sun Oct 14 18:25:41 2018 (r482103) +++ head/editors/texworks/Makefile Sun Oct 14 18:28:00 2018 (r482104) @@ -2,101 +2,52 @@ # $FreeBSD$ PORTNAME= texworks -PORTVERSION= 0.4.6 DISTVERSIONPREFIX= release- -PORTREVISION= 7 +DISTVERSION= 0.6.2 CATEGORIES= editors MAINTAINER= hrs@FreeBSD.org COMMENT= Simple TeX front-end program -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_armv6= fails to install: PDFDocument.cpp:1836:39: cannot initialize a parameter of type 'qreal *' with an rvalue of type 'double *' -BROKEN_armv7= fails to install: PDFDocument.cpp:1836:39: cannot initialize a parameter of type 'qreal *' with an rvalue of type 'double *' - BUILD_DEPENDS= hunspell:textproc/hunspell -LIB_DEPENDS= libpoppler-qt4.so:graphics/poppler-qt4 +LIB_DEPENDS= libhunspell-1.6.so:textproc/hunspell \ + libpoppler.so:graphics/poppler \ + libpoppler-qt5.so:graphics/poppler-qt5 -USES= compiler:c++11-lang pkgconfig qmake qt:4 +USES= cmake:outsource desktop-file-utils pkgconfig qt:5 USE_GITHUB= yes GH_ACCOUNT= TeXworks -USE_QT= gui corelib rcc_build moc_build uic_build \ - dbus xml scripttools designer_build -QMAKE_ARGS= INSTALL_PREFIX=${PREFIX} \ - DATA_DIR=${DATADIR} \ - DOCS_DIR=${DOCSDIR} \ - ICON_DIR=${PREFIX}/share/pixmaps \ - DESKTOP_DIR=${PREFIX}/share/applications \ - MAN_DIR=${PREFIX}/man/man1 \ - TW_DICPATH=${LOCALBASE}/share/hunspell \ - TW_HELPPATH=${DOCSDIR} \ - TW_PLUGINPATH=${PREFIX}/lib/texworks +USE_QT= buildtools_build designer_build qmake_build \ + core concurrent dbus gui linguisttools script \ + scripttools uitools widgets xml + USE_TEX= synctex +USE_LDCONFIG= yes -DESKTOP_ENTRIES="TexWorks" \ - "Lowering the entry barrier to the TeX world" \ - "TeXworks" \ - "${PORTNAME}" \ - "Utility;Qt;" \ - true +CMAKE_ARGS= -DTeXworks_DIC_DIR:PATH=${LOCALBASE}/share/hunspell \ + -DTeXworks_DOCS_DIR:PATH=${DOCSDIR_REL} \ + -DTeXworks_HELP_DIR:PATH=${DOCSDIR_REL} \ + -DTeXworks_MAN_DIR:PATH=man/man1 -PLIST_FILES= bin/texworks \ - man/man1/texworks.1.gz \ - share/pixmaps/TeXworks.png -PLIST_DIRS= lib/texworks -PORTDOCS= * - OPTIONS_DEFINE= DOCS LUA PYTHON -LUA_USES= lua:51 -LUA_PLIST_FILES=lib/texworks/libTWLuaPlugin.so -PYTHON_USES= python:3.4+ -PYTHON_PLIST_FILES=lib/texworks/libTWPythonPlugin.so -post-extract: - cd ${WRKSRC} && ${INSTALL_DATA} GitArchiveInfo.txt src/GitRev.h +LUA_USES= lua +LUA_CMAKE_BOOL= WITH_LUA +LUA_PLIST_FILES= lib/texworks/libTWLuaPlugin.so -post-patch: - @${REINPLACE_CMD} -e 's,/usr/share,${LOCALBASE}/share,' \ - ${WRKSRC}/src/TWUtils.cpp - @${REINPLACE_CMD} -e 's,lua5.1,lua-5.1,' \ - ${WRKSRC}/plugins-src/TWLuaPlugin/TWLuaPlugin.pro - @${REINPLACE_CMD} -e '53,54s,^,#,' \ - -e '57,59s,#,,' \ - -e 's,python3,python-${PYTHON_VER},' \ - ${WRKSRC}/plugins-src/TWPythonPlugin/TWPythonPlugin.pro +PYTHON_USES= python:3.4+ +PYTHON_CMAKE_BOOL= WITH_PYTHON +PYTHON_PLIST_FILES= lib/texworks/libTWPythonPlugin.so -post-patch-DOCS-off: - @${REINPLACE_CMD} -e '/INSTALLS/s,documentation manual ,,' \ - ${WRKSRC}/TeXworks.pro +PORTDOCS= * -post-configure-LUA-on: - cd ${WRKSRC}/plugins-src/TWLuaPlugin && ${SETENV} ${CONFIGURE_ENV} \ - ${QMAKE} ${QMAKE_ARGS} - -post-configure-PYTHON-on: - cd ${WRKSRC}/plugins-src/TWPythonPlugin && ${SETENV} ${CONFIGURE_ENV} \ - ${QMAKE} ${QMAKE_ARGS} - -post-build-LUA-on: - cd ${WRKSRC}/plugins-src/TWLuaPlugin && ${MAKE} - -post-build-PYTHON-on: - cd ${WRKSRC}/plugins-src/TWPythonPlugin && ${MAKE} - -post-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/texworks - -post-install-LUA-on: - ${MKDIR} ${STAGEDIR}${PREFIX}/lib/texworks - cd ${WRKSRC}/plugins-src/TWLuaPlugin && \ - ${INSTALL_DATA} libTWLuaPlugin.so \ - ${STAGEDIR}${PREFIX}/lib/texworks - -post-install-PYTHON-on: - ${MKDIR} ${STAGEDIR}${PREFIX}/lib/texworks - cd ${WRKSRC}/plugins-src/TWPythonPlugin && \ - ${INSTALL_DATA} libTWPythonPlugin.so \ - ${STAGEDIR}${PREFIX}/lib/texworks +PLIST_FILES= bin/texworks \ + man/man1/texworks.1.gz \ + share/appdata/texworks.appdata.xml \ + share/applications/texworks.desktop \ + share/pixmaps/TeXworks.png .include Modified: head/editors/texworks/distinfo ============================================================================== --- head/editors/texworks/distinfo Sun Oct 14 18:25:41 2018 (r482103) +++ head/editors/texworks/distinfo Sun Oct 14 18:28:00 2018 (r482104) @@ -1,2 +1,3 @@ -SHA256 (TeXworks-texworks-release-0.4.6_GH0.tar.gz) = 58650574c1e3234c38cddc3375f8043a83cc65075839030fc7089471af6a3bde -SIZE (TeXworks-texworks-release-0.4.6_GH0.tar.gz) = 11271881 +TIMESTAMP = 1536894823 +SHA256 (TeXworks-texworks-release-0.6.2_GH0.tar.gz) = 22885c11d92654b0cba1f4808fc9aa3c2fdd3e5435fd89dff9aa1e67658a6339 +SIZE (TeXworks-texworks-release-0.6.2_GH0.tar.gz) = 11508277