Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2016 19:02:49 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414128 - in head/net-im/qTox: . files
Message-ID:  <201604271902.u3RJ2nic076617@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Wed Apr 27 19:02:49 2016
New Revision: 414128
URL: https://svnweb.freebsd.org/changeset/ports/414128

Log:
  Update to version 1.4.0
  
  PR:		209040
  Submitted by:	maintainer

Added:
  head/net-im/qTox/files/patch-src_widget_form_settings_aboutsettings.ui   (contents, props changed)
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_platform_camera_v4l2.h
  head/net-im/qTox/files/patch-src_video_cameradevice.cpp
  head/net-im/qTox/pkg-descr

Modified: head/net-im/qTox/Makefile
==============================================================================
--- head/net-im/qTox/Makefile	Wed Apr 27 18:38:15 2016	(r414127)
+++ head/net-im/qTox/Makefile	Wed Apr 27 19:02:49 2016	(r414128)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	qTox
-PORTVERSION=	1.3.0
-PORTREVISION=	1
+PORTVERSION=	1.4.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	net-im net-p2p
 
@@ -21,19 +20,23 @@ LIB_DEPENDS=	libtoxcore.so:net-im/tox \
 		libfilteraudio.so:audio/libfilteraudio \
 		libsodium.so:security/libsodium \
 		libqrencode.so:graphics/libqrencode \
-		libsqlcipher.so:databases/sqlcipher
+		libsqlcipher.so:databases/sqlcipher \
+		libfreetype.so:print/freetype2 \
+		libfontconfig.so:x11-fonts/fontconfig
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	tux3
 
 SUB_FILES=	pkg-message
 
-USES=		compiler:c++11-lib desktop-file-utils openal:soft qmake gmake
+USES=		compiler:c++11-lib desktop-file-utils gettext gmake openal:soft pkgconfig qmake
 USE_GNOME=	glib20 gtk20 cairo gdkpixbuf2
 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
 ICON_SIZES=	14x14 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 128x128 192x192 256x256 512x512
+QMAKE_ARGS=	FREEBSD_PKGVERSION=${PKGVERSION}
 
 PLIST_FILES=	bin/qtox \
 		share/applications/qTox.desktop \
@@ -66,7 +69,7 @@ post-install:
 	@${GZIP_CMD} ${GZIP} < ${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
-	@${CP} ${WRKSRC}/img/icons/qtox-${SZ}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}/apps/qtox.png
+	@${CP} ${WRKSRC}/img/icons/${SZ}/qtox.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}/apps/qtox.png
 .endfor
 
 .include <bsd.port.mk>

Modified: head/net-im/qTox/distinfo
==============================================================================
--- head/net-im/qTox/distinfo	Wed Apr 27 18:38:15 2016	(r414127)
+++ head/net-im/qTox/distinfo	Wed Apr 27 19:02:49 2016	(r414128)
@@ -1,2 +1,2 @@
-SHA256 (tux3-qTox-v1.3.0_GH0.tar.gz) = a2d1483a9aa6e99684853733a0a0a04c8cde168a775b9d2bdab94771fd82bc0a
-SIZE (tux3-qTox-v1.3.0_GH0.tar.gz) = 4679256
+SHA256 (tux3-qTox-v1.4.0_GH0.tar.gz) = f869aafddb597286dc03b828b48e2560a97983f180914c396fdcf2f1ca07ae79
+SIZE (tux3-qTox-v1.4.0_GH0.tar.gz) = 3021956

Modified: head/net-im/qTox/files/patch-qtox.pro
==============================================================================
--- head/net-im/qTox/files/patch-qtox.pro	Wed Apr 27 18:38:15 2016	(r414127)
+++ head/net-im/qTox/files/patch-qtox.pro	Wed Apr 27 19:02:49 2016	(r414128)
@@ -1,8 +1,22 @@
---- qtox.pro.orig	2015-06-12 10:53:59 UTC
+--- qtox.pro.orig	2016-04-24 12:44:18 UTC
 +++ qtox.pro
-@@ -483,6 +483,18 @@ SOURCES += \
-     src/widget/translator.cpp \
-     src/persistence/settingsserializer.cpp
+@@ -49,11 +49,11 @@ include(translations/i18n.pri)
+ system($$fromfile(translations/i18n.pri, updateallqm))
+ 
+ isEmpty(GIT_VERSION) {
+-    GIT_VERSION = $$system(git rev-parse HEAD 2> /dev/null || echo "built without git")
++    GIT_VERSION = $$system(echo "n/a")
+ }
+ DEFINES += GIT_VERSION=\"\\\"$$quote($$GIT_VERSION)\\\"\"
+ isEmpty(GIT_DESCRIBE) {
+-    GIT_DESCRIBE = $$system(git describe --tags 2> /dev/null || echo "Nightly")
++    GIT_DESCRIBE = $$FREEBSD_PKGVERSION
+ }
+ DEFINES += GIT_DESCRIBE=\"\\\"$$quote($$GIT_DESCRIBE)\\\"\"
+ # date works on linux/mac, but it would hangs qmake on windows
+@@ -485,6 +485,18 @@ SOURCES += \
+     src/persistence/history.cpp \
+     src/widget/form/groupinviteform.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 Apr 27 18:38:15 2016	(r414127)
+++ head/net-im/qTox/files/patch-src_main.cpp	Wed Apr 27 19:02:49 2016	(r414128)
@@ -1,7 +1,7 @@
---- src/main.cpp.orig	2015-11-14 22:51:30 UTC
+--- src/main.cpp.orig	2016-04-24 12:44:18 UTC
 +++ src/main.cpp
-@@ -269,3 +269,10 @@ int main(int argc, char *argv[])
-     qDebug() << "Clean exit with status"<<errorcode;
+@@ -303,3 +303,10 @@ int main(int argc, char *argv[])
+ #endif
      return errorcode;
  }
 +

Modified: head/net-im/qTox/files/patch-src_platform_camera_v4l2.h
==============================================================================
--- head/net-im/qTox/files/patch-src_platform_camera_v4l2.h	Wed Apr 27 18:38:15 2016	(r414127)
+++ head/net-im/qTox/files/patch-src_platform_camera_v4l2.h	Wed Apr 27 19:02:49 2016	(r414128)
@@ -1,4 +1,4 @@
---- src/platform/camera/v4l2.h.orig	2015-11-14 22:51:30 UTC
+--- src/platform/camera/v4l2.h.orig	2016-04-24 12:44:18 UTC
 +++ src/platform/camera/v4l2.h
 @@ -24,7 +24,7 @@
  #include <QPair>

Modified: head/net-im/qTox/files/patch-src_video_cameradevice.cpp
==============================================================================
--- head/net-im/qTox/files/patch-src_video_cameradevice.cpp	Wed Apr 27 18:38:15 2016	(r414127)
+++ head/net-im/qTox/files/patch-src_video_cameradevice.cpp	Wed Apr 27 19:02:49 2016	(r414128)
@@ -1,4 +1,4 @@
---- src/video/cameradevice.cpp.orig	2015-11-15 08:11:58 UTC
+--- src/video/cameradevice.cpp.orig	2016-04-24 12:44:18 UTC
 +++ src/video/cameradevice.cpp
 @@ -31,7 +31,7 @@ extern "C" {
  #ifdef Q_OS_WIN
@@ -8,8 +8,8 @@
 +#ifdef Q_OS_UNIX
  #include "src/platform/camera/v4l2.h"
  #endif
- 
-@@ -105,7 +105,7 @@ CameraDevice* CameraDevice::open(QString
+ #ifdef Q_OS_OSX
+@@ -122,7 +122,7 @@ CameraDevice* CameraDevice::open(QString
  
      AVDictionary* options = nullptr;
      if (!iformat);
@@ -18,7 +18,7 @@
      else if (devName.startsWith("x11grab#"))
      {
          QSize screen;
-@@ -142,7 +142,7 @@ CameraDevice* CameraDevice::open(QString
+@@ -168,7 +168,7 @@ CameraDevice* CameraDevice::open(QString
          av_dict_set(&options, "framerate", QString().setNum(mode.FPS).toStdString().c_str(), 0);
      }
  #endif
@@ -27,7 +27,7 @@
      else if (iformat->name == QString("video4linux2,v4l2") && mode)
      {
          av_dict_set(&options, "video_size", QString("%1x%2").arg(mode.width).arg(mode.height).toStdString().c_str(), 0);
-@@ -264,7 +264,7 @@ QVector<QPair<QString, QString>> CameraD
+@@ -311,7 +311,7 @@ QVector<QPair<QString, QString>> CameraD
      else if (iformat->name == QString("dshow"))
          devices += DirectShow::getDeviceList();
  #endif
@@ -36,7 +36,7 @@
      else if (iformat->name == QString("video4linux2,v4l2"))
          devices += v4l2::getDeviceList();
  #endif
-@@ -307,7 +307,7 @@ QVector<VideoMode> CameraDevice::getVide
+@@ -358,7 +358,7 @@ QVector<VideoMode> CameraDevice::getVide
      else if (iformat->name == QString("dshow"))
          return DirectShow::getDeviceModes(devName);
  #endif
@@ -45,7 +45,7 @@
      else if (iformat->name == QString("video4linux2,v4l2"))
          return v4l2::getDeviceModes(devName);
  #endif
-@@ -327,7 +327,7 @@ bool CameraDevice::getDefaultInputFormat
+@@ -400,7 +400,7 @@ bool CameraDevice::getDefaultInputFormat
      avdevice_register_all();
  
      // Desktop capture input formats
@@ -54,7 +54,7 @@
      idesktopFormat = av_find_input_format("x11grab");
  #endif
  #ifdef Q_OS_WIN
-@@ -335,7 +335,7 @@ bool CameraDevice::getDefaultInputFormat
+@@ -408,7 +408,7 @@ bool CameraDevice::getDefaultInputFormat
  #endif
  
      // Webcam input formats

Added: head/net-im/qTox/files/patch-src_widget_form_settings_aboutsettings.ui
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/qTox/files/patch-src_widget_form_settings_aboutsettings.ui	Wed Apr 27 19:02:49 2016	(r414128)
@@ -0,0 +1,12 @@
+--- src/widget/form/settings/aboutsettings.ui.orig	2016-04-25 21:28:44 UTC
++++ src/widget/form/settings/aboutsettings.ui
+@@ -111,6 +111,9 @@
+             <property name="text">
+              <string>Commit hash: &lt;a href=&quot;https://github.com/tux3/qTox/commit/$GIT_VERSION&quot;&gt;$GIT_VERSION&lt;/a&gt;</string>;
+             </property>
++            <property name="visible">
++              <bool>false</bool>
++            </property>
+             <property name="openExternalLinks">
+              <bool>true</bool>
+             </property>

Modified: head/net-im/qTox/pkg-descr
==============================================================================
--- head/net-im/qTox/pkg-descr	Wed Apr 27 18:38:15 2016	(r414127)
+++ head/net-im/qTox/pkg-descr	Wed Apr 27 19:02:49 2016	(r414128)
@@ -1,3 +1,4 @@
-qTox is a graphical user interface for Tox written using Qt 5.
+Powerful Tox chat client written using Qt 5 that follows the Tox
+design guidelines.
 
 WWW: https://github.com/tux3/qTox



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604271902.u3RJ2nic076617>