From owner-svn-ports-all@freebsd.org Sat Mar 9 16:30:08 2019 Return-Path: Delivered-To: svn-ports-all@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 1E44D152CB24; Sat, 9 Mar 2019 16:30:08 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B45A08DD5B; Sat, 9 Mar 2019 16:30:07 +0000 (UTC) (envelope-from tcberner@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 A8657DDB9; Sat, 9 Mar 2019 16:30:07 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x29GU77x043978; Sat, 9 Mar 2019 16:30:07 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x29GU6fm043974; Sat, 9 Mar 2019 16:30:06 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201903091630.x29GU6fm043974@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Sat, 9 Mar 2019 16:30:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r495176 - in head/textproc/qstardict: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: in head/textproc/qstardict: . files X-SVN-Commit-Revision: 495176 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: B45A08DD5B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Mar 2019 16:30:08 -0000 Author: tcberner Date: Sat Mar 9 16:30:06 2019 New Revision: 495176 URL: https://svnweb.freebsd.org/changeset/ports/495176 Log: textproc/qstardict: update to 1.3 (with Qt5) Deleted: head/textproc/qstardict/files/patch-plugins_stardict_lib.cpp head/textproc/qstardict/files/patch-qstardict.pri Modified: head/textproc/qstardict/Makefile head/textproc/qstardict/distinfo head/textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp head/textproc/qstardict/pkg-plist Modified: head/textproc/qstardict/Makefile ============================================================================== --- head/textproc/qstardict/Makefile Sat Mar 9 15:48:47 2019 (r495175) +++ head/textproc/qstardict/Makefile Sat Mar 9 16:30:06 2019 (r495176) @@ -2,48 +2,36 @@ # $FreeBSD$ PORTNAME= qstardict -PORTVERSION= 1.0.1 -PORTREVISION= 1 +DISTVERSIONPREFIX= qstardict- +DISTVERSION= 1.3 CATEGORIES= textproc MASTER_SITES= http://qstardict.ylsoftware.com/files/ MAINTAINER= ports@FreeBSD.org -COMMENT= Qt 4 based dictionary program (stardict clone) +COMMENT= Qt based dictionary program (stardict clone) LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -DEPRECATED= Qt4 has been EOL since december 2015 -EXPIRATION_DATE= 2019-03-15 - -USES= dos2unix pkgconfig qmake qt:4 tar:bzip2 -USE_QT= corelib gui network xml uic_build moc_build rcc_build +USES= gl gnome pkgconfig qmake qt:5 tar:bzip2 +USE_GL= gl USE_GNOME= glib20 +USE_QT= core dbus gui network printsupport widgets xml \ + buildtools_build linguisttools_build qmake_build USE_XORG= x11 -DOS2UNIX_FILES= qstardict.pri -# Path to dictionaries installed by stardict-* ports -DICPATH= ${LOCALBASE}/share/stardict/dic +USE_GITHUB= yes +GH_ACCOUNT= a-rodin -OPTIONS_DEFINE= DBUS DOCS NLS -OPTIONS_DEFAULT=DBUS -OPTIONS_SUB= yes +QMAKE_ARGS= INSTALL_PREFIX=${PREFIX} -DBUS_USES= qt:4 -DBUS_USE= QT=dbus -DBUS_QMAKE_OFF= NO_DBUS=1 +OPTIONS_DEFINE= DOCS -NLS_QMAKE_OFF= NO_TRANSLATIONS=1 +# Path to dictionaries installed by stardict-* ports +DICPATH= ${LOCALBASE}/share/stardict/dic post-patch: - @${REINPLACE_CMD} -e "s|/usr|${PREFIX}|g" \ - ${WRKSRC}/qstardict.pri - @${REINPLACE_CMD} -e "s|/usr/share/stardict/dic|${DICPATH}|g" \ - -e "s|glib.*\.h|glib.h|g" \ + ${REINPLACE_CMD} '/m_dictDirs/s|/usr/share/stardict/dic|${PREFIX}/share/stardict/dic|g' \ ${WRKSRC}/plugins/stardict/stardict.cpp - -post-patch-DOCS-off: - @${REINPLACE_CMD} -e "/^INSTALLS/s|docs||g" \ - ${WRKSRC}/qstardict.pro .include Modified: head/textproc/qstardict/distinfo ============================================================================== --- head/textproc/qstardict/distinfo Sat Mar 9 15:48:47 2019 (r495175) +++ head/textproc/qstardict/distinfo Sat Mar 9 16:30:06 2019 (r495176) @@ -1,2 +1,3 @@ -SHA256 (qstardict-1.0.1.tar.bz2) = b778ace65a22e5b9724d687ad90c77ec98feb2671774f73cd51725ec7b59e62f -SIZE (qstardict-1.0.1.tar.bz2) = 565098 +TIMESTAMP = 1552147870 +SHA256 (a-rodin-qstardict-qstardict-1.3_GH0.tar.gz) = 9b083a3177407d66a17403742590471a0aa89a3d31df886926b79fa21e4d41a4 +SIZE (a-rodin-qstardict-qstardict-1.3_GH0.tar.gz) = 490595 Modified: head/textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp ============================================================================== --- head/textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp Sat Mar 9 15:48:47 2019 (r495175) +++ head/textproc/qstardict/files/patch-plugins_stardict_mapfile.hpp Sat Mar 9 16:30:06 2019 (r495176) @@ -1,10 +1,10 @@ ---- plugins/stardict/mapfile.hpp.orig 2011-12-05 12:40:49 UTC +--- plugins/stardict/mapfile.hpp.orig 2019-03-09 16:13:21 UTC +++ plugins/stardict/mapfile.hpp -@@ -9,6 +9,7 @@ - # include - # include - # include -+# include - #endif - #ifdef _WIN32 +@@ -14,6 +14,7 @@ # include + #endif + #include ++#include + + class MapFile + { Modified: head/textproc/qstardict/pkg-plist ============================================================================== --- head/textproc/qstardict/pkg-plist Sat Mar 9 15:48:47 2019 (r495175) +++ head/textproc/qstardict/pkg-plist Sat Mar 9 16:30:06 2019 (r495176) @@ -6,17 +6,17 @@ share/applications/qstardict.desktop %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/THANKS -share/pixmaps/qstardict.png -%%NLS%%%%DATADIR%%/translations/qstardict-bg_BG.qm -%%NLS%%%%DATADIR%%/translations/qstardict-cs_CZ.qm -%%NLS%%%%DATADIR%%/translations/qstardict-de_DE.qm -%%NLS%%%%DATADIR%%/translations/qstardict-es_ES.qm -%%NLS%%%%DATADIR%%/translations/qstardict-fr_FR.qm -%%NLS%%%%DATADIR%%/translations/qstardict-it_IT.qm -%%NLS%%%%DATADIR%%/translations/qstardict-lt_LT.qm -%%NLS%%%%DATADIR%%/translations/qstardict-pl_PL.qm -%%NLS%%%%DATADIR%%/translations/qstardict-pt_BR.qm -%%NLS%%%%DATADIR%%/translations/qstardict-ru_RU.qm -%%NLS%%%%DATADIR%%/translations/qstardict-ua_UA.qm -%%NLS%%%%DATADIR%%/translations/qstardict-zh_CN.qm -%%NLS%%%%DATADIR%%/translations/qstardict-zh_TW.qm +share/icons/hicolor/scalable/apps/qstardict.svg +%%DATADIR%%/translations/qstardict-bg_BG.qm +%%DATADIR%%/translations/qstardict-cs_CZ.qm +%%DATADIR%%/translations/qstardict-de_DE.qm +%%DATADIR%%/translations/qstardict-es_ES.qm +%%DATADIR%%/translations/qstardict-fr_FR.qm +%%DATADIR%%/translations/qstardict-it_IT.qm +%%DATADIR%%/translations/qstardict-lt_LT.qm +%%DATADIR%%/translations/qstardict-pl_PL.qm +%%DATADIR%%/translations/qstardict-pt_BR.qm +%%DATADIR%%/translations/qstardict-ru_RU.qm +%%DATADIR%%/translations/qstardict-ua_UA.qm +%%DATADIR%%/translations/qstardict-zh_CN.qm +%%DATADIR%%/translations/qstardict-zh_TW.qm