From owner-svn-ports-all@freebsd.org Wed Feb 8 11:33:45 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1557CCD6B4F; Wed, 8 Feb 2017 11:33:45 +0000 (UTC) (envelope-from krion@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 mx1.freebsd.org (Postfix) with ESMTPS id D9D08DF9; Wed, 8 Feb 2017 11:33:44 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v18BXhnx029290; Wed, 8 Feb 2017 11:33:43 GMT (envelope-from krion@FreeBSD.org) Received: (from krion@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v18BXhgI029284; Wed, 8 Feb 2017 11:33:43 GMT (envelope-from krion@FreeBSD.org) Message-Id: <201702081133.v18BXhgI029284@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: krion set sender to krion@FreeBSD.org using -f From: Kirill Ponomarew Date: Wed, 8 Feb 2017 11:33:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433646 - in head/net-im/qTox: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 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: Wed, 08 Feb 2017 11:33:45 -0000 Author: krion Date: Wed Feb 8 11:33:43 2017 New Revision: 433646 URL: https://svnweb.freebsd.org/changeset/ports/433646 Log: Update net-im/qTox to 1.8.1 PR: 216842 Submitted by: yuri@rawbw.com Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D9462 Modified: head/net-im/qTox/Makefile head/net-im/qTox/distinfo head/net-im/qTox/files/patch-qtox.pro head/net-im/qTox/files/patch-src_main.cpp head/net-im/qTox/files/patch-src_video_videomode.cpp head/net-im/qTox/files/patch-src_widget_form_settings_aboutsettings.ui Modified: head/net-im/qTox/Makefile ============================================================================== --- head/net-im/qTox/Makefile Wed Feb 8 11:31:47 2017 (r433645) +++ head/net-im/qTox/Makefile Wed Feb 8 11:33:43 2017 (r433646) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= qTox -PORTVERSION= 1.7.1 +PORTVERSION= 1.8.1 DISTVERSIONPREFIX= v CATEGORIES= net-im net-p2p @@ -35,8 +35,9 @@ USE_XORG= x11 xscrnsaver USE_GL= gl USE_QT5= core gui network xml opengl sql sql-sqlite3_run widgets svg \ concurrent buildtools_build linguisttools_build +INSTALLS_ICONS= yes ICON_SIZES= 14x14 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 128x128 192x192 256x256 512x512 -QMAKE_ARGS= FREEBSD_PKGVERSION=${PKGVERSION} +QMAKE_ARGS= FREEBSD_PKGVERSION=${FULLVERSION} PLIST_FILES= bin/qtox \ share/applications/qTox.desktop \ @@ -52,6 +53,12 @@ PLIST_FILES+= share/icons/hicolor/${SZ}/ CFLAGS+= -march=i586 .endif +.if !defined(GH_TAGNAME) +FULLVERSION= ${PKGVERSION} +.else +FULLVERSION= "${PKGVERSION} (rev.${GH_TAGNAME})" +.endif + pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "Warning: qTox won't build if the option NaCl was selected for Tox!" @@ -59,13 +66,10 @@ pre-everything:: post-patch: @${REINPLACE_CMD} -e 's|$$$$system(git rev-parse HEAD)|"${GH_TAGNAME}"|' \ - ${WRKSRC}/qtox.pro - @${REINPLACE_CMD} -e 's|INCLUDEPATH += "/usr/include|INCLUDEPATH += "${LOCALBASE}/include|' \ - ${WRKSRC}/qtox.pro - @${REINPLACE_CMD} -e 's|INCLUDEPATH += "/usr/lib64|INCLUDEPATH += "${LOCALBASE}/lib|' \ - ${WRKSRC}/qtox.pro - @${REINPLACE_CMD} -e 's|INCLUDEPATH += "/usr/lib|INCLUDEPATH += "${LOCALBASE}/lib|' \ - ${WRKSRC}/qtox.pro + -e 's|INCLUDEPATH += "/usr/include|INCLUDEPATH += "${LOCALBASE}/include|' \ + -e 's|INCLUDEPATH += "/usr/lib64|INCLUDEPATH += "${LOCALBASE}/lib|' \ + -e 's|INCLUDEPATH += "/usr/lib|INCLUDEPATH += "${LOCALBASE}/lib|' \ + ${WRKSRC}/qtox.pro pre-configure: @${REINPLACE_CMD} '/Comment/s,=.*,=${COMMENT},' \ @@ -73,7 +77,7 @@ pre-configure: post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps - @${GZIP_CMD} ${GZIP} < ${WRKSRC}/img/icons/qtox.svg > ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/qtox.svgz + @${GZIP_CMD} < ${WRKSRC}/img/icons/qtox.svg > ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/qtox.svgz .for SZ in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}/apps ${INSTALL_DATA} ${WRKSRC}/img/icons/${SZ}/qtox.png \ Modified: head/net-im/qTox/distinfo ============================================================================== --- head/net-im/qTox/distinfo Wed Feb 8 11:31:47 2017 (r433645) +++ head/net-im/qTox/distinfo Wed Feb 8 11:33:43 2017 (r433646) @@ -1,3 +1,3 @@ -TIMESTAMP = 1483083785 -SHA256 (qTox-qTox-v1.7.1_GH0.tar.gz) = 0d2a94be6f470e64f2722d261b9294b6ecc3418e374c47f722ca1a24058486e8 -SIZE (qTox-qTox-v1.7.1_GH0.tar.gz) = 3563251 +TIMESTAMP = 1486369731 +SHA256 (qTox-qTox-v1.8.1_GH0.tar.gz) = 32837b5f824b6987a68f9211f93a7ec32b892be895605012d35784d702f13d6c +SIZE (qTox-qTox-v1.8.1_GH0.tar.gz) = 3594727 Modified: head/net-im/qTox/files/patch-qtox.pro ============================================================================== --- head/net-im/qTox/files/patch-qtox.pro Wed Feb 8 11:31:47 2017 (r433645) +++ head/net-im/qTox/files/patch-qtox.pro Wed Feb 8 11:33:43 2017 (r433646) @@ -1,6 +1,6 @@ ---- qtox.pro.orig 2016-12-25 17:46:01 UTC +--- qtox.pro.orig 2017-01-29 12:48:48 UTC +++ qtox.pro -@@ -68,11 +68,11 @@ include(translations/i18n.pri) +@@ -75,11 +75,11 @@ include(translations/i18n.pri) system($$fromfile(translations/i18n.pri, updateallqm)) isEmpty(GIT_VERSION) { @@ -14,10 +14,10 @@ } DEFINES += GIT_DESCRIBE=\"\\\"$$quote($$GIT_DESCRIBE)\\\"\" # date works on linux/mac, but it would hangs qmake on windows -@@ -510,3 +510,15 @@ SOURCES += \ - src/widget/form/groupinviteform.cpp \ - src/widget/tool/profileimporter.cpp \ - src/widget/passwordedit.cpp +@@ -663,3 +663,15 @@ SOURCES += \ + src/widget/tool/toolboxgraphicsitem.cpp \ + src/widget/translator.cpp \ + src/widget/widget.cpp + +unix { + target.path = $$PREFIX/bin Modified: head/net-im/qTox/files/patch-src_main.cpp ============================================================================== --- head/net-im/qTox/files/patch-src_main.cpp Wed Feb 8 11:31:47 2017 (r433645) +++ head/net-im/qTox/files/patch-src_main.cpp Wed Feb 8 11:33:43 2017 (r433646) @@ -1,4 +1,4 @@ ---- src/main.cpp.orig 2016-12-25 17:46:01 UTC +--- src/main.cpp.orig 2017-01-29 12:48:48 UTC +++ src/main.cpp @@ -317,3 +317,10 @@ int main(int argc, char *argv[]) #endif Modified: head/net-im/qTox/files/patch-src_video_videomode.cpp ============================================================================== --- head/net-im/qTox/files/patch-src_video_videomode.cpp Wed Feb 8 11:31:47 2017 (r433645) +++ head/net-im/qTox/files/patch-src_video_videomode.cpp Wed Feb 8 11:33:43 2017 (r433646) @@ -1,4 +1,4 @@ ---- src/video/videomode.cpp.orig 2016-12-25 17:46:01 UTC +--- src/video/videomode.cpp.orig 2017-01-29 12:48:48 UTC +++ src/video/videomode.cpp @@ -18,6 +18,7 @@ */ Modified: head/net-im/qTox/files/patch-src_widget_form_settings_aboutsettings.ui ============================================================================== --- head/net-im/qTox/files/patch-src_widget_form_settings_aboutsettings.ui Wed Feb 8 11:31:47 2017 (r433645) +++ head/net-im/qTox/files/patch-src_widget_form_settings_aboutsettings.ui Wed Feb 8 11:33:43 2017 (r433646) @@ -1,4 +1,4 @@ ---- src/widget/form/settings/aboutsettings.ui.orig 2016-12-25 17:46:01 UTC +--- src/widget/form/settings/aboutsettings.ui.orig 2017-01-29 12:48:48 UTC +++ src/widget/form/settings/aboutsettings.ui @@ -111,6 +111,9 @@