Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2019 07:00:10 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r513816 - in branches/2019Q4/net-im/uTox: . files
Message-ID:  <201910050700.x9570AkL091581@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Oct  5 07:00:09 2019
New Revision: 513816
URL: https://svnweb.freebsd.org/changeset/ports/513816

Log:
  MFH: r513815
  
  net-im/uTox: Update to 0.17.1
  
  - Take maintainership
  
  Changes:	https://github.com/uTox/uTox/releases/tag/v0.17.1
  PR:		240721
  Approved by:	portmaster@BSDforge.com (maintainer timeout, 14 days)
  
  Approved by:	ports-secteam blanket

Deleted:
  branches/2019Q4/net-im/uTox/files/patch-src_xlib_main.c
Modified:
  branches/2019Q4/net-im/uTox/Makefile
  branches/2019Q4/net-im/uTox/distinfo
  branches/2019Q4/net-im/uTox/files/patch-CMakeLists.txt
Directory Properties:
  branches/2019Q4/   (props changed)

Modified: branches/2019Q4/net-im/uTox/Makefile
==============================================================================
--- branches/2019Q4/net-im/uTox/Makefile	Sat Oct  5 06:59:16 2019	(r513815)
+++ branches/2019Q4/net-im/uTox/Makefile	Sat Oct  5 07:00:09 2019	(r513816)
@@ -1,45 +1,55 @@
 # $FreeBSD$
 
 PORTNAME=	uTox
-DISTVERSION=	0.17.0
+DISTVERSION=	0.17.1
 DISTVERSIONSUFFIX=	-full
-PORTREVISION=	7
 CATEGORIES=	net-im net-p2p
-MASTER_SITES=	https://github.com/uTox/uTox/releases/download/v${PORTVERSION}/
+MASTER_SITES=	https://github.com/uTox/uTox/releases/download/v${DISTVERSION}/
 
-MAINTAINER=	portmaster@BSDforge.com
+PATCH_SITES=	https://github.com/uTox/uTox/commit/
+PATCHFILES=	37271f991c590a533781b66e9036e9b66dfbbf1b.patch:-p1
+
+MAINTAINER=	tobik@FreeBSD.org
 COMMENT=	Lightweight Tox client
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_aarch64=		fails to compile: endian.h:68:20: too many arguments provided to function-like macro invocation
-BROKEN_armv6=		fails to compile: endian.h:68:20: too many arguments provided to function-like macro invocation
-BROKEN_armv7=		fails to compile: endian.h:68:20: too many arguments provided to function-like macro invocation
+BROKEN_aarch64=	fails to compile: endian.h:68:20: too many arguments provided to function-like macro invocation
+BROKEN_armv6=	fails to compile: endian.h:68:20: too many arguments provided to function-like macro invocation
+BROKEN_armv7=	fails to compile: endian.h:68:20: too many arguments provided to function-like macro invocation
 
-BUILD_DEPENDS=	${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \
-		${LOCALBASE}/include/linux/input.h:devel/evdev-proto
-LIB_DEPENDS=	libfreetype.so:print/freetype2 \
+BUILD_DEPENDS=	${LOCALBASE}/include/linux/input.h:devel/evdev-proto \
+		${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
+LIB_DEPENDS=	libfilteraudio.so:audio/libfilteraudio \
 		libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2 \
+		libopus.so:audio/opus \
 		libsodium.so:security/libsodium \
+		libtoxcore.so:net-im/tox \
 		libv4lconvert.so:multimedia/libv4l \
-		libvpx.so:multimedia/libvpx \
-		libopus.so:audio/opus \
-		libtoxcore.so:net-im/tox
+		libvpx.so:multimedia/libvpx
+TEST_DEPENDS=	check>=0:devel/check
 
-USES=		cmake compiler:c11 desktop-file-utils dos2unix \
-		openal pkgconfig
+USES=		cmake compiler:c11 desktop-file-utils openal pkgconfig xorg
 USE_XORG=	ice sm x11 xext xrender
 
-CMAKE_OFF=	ENABLE_LTO
-DOS2UNIX_GLOB=	*
+CMAKE_OFF=	ENABLE_LTO ENABLE_TESTS
+# Uses ld -b binary without -m 
 LLD_UNSAFE=	yes
 WRKSRC=		${WRKDIR}/uTox
 
 OPTIONS_DEFINE=		DBUS
 OPTIONS_DEFAULT=	DBUS
 
-DBUS_CMAKE_BOOL=	ENABLE_DBUS
 DBUS_LIB_DEPENDS=	libdbus-1.so:devel/dbus
+DBUS_CMAKE_BOOL=	ENABLE_DBUS
+
+do-test:
+	@cd ${TEST_WRKSRC} && \
+		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} \
+		-DENABLE_TESTS:BOOL=yes ${CMAKE_SOURCE_PATH} && \
+		${DO_MAKE_BUILD}
+	@${TEST_WRKSRC}/run_tests.sh
 
 .include <bsd.port.mk>

Modified: branches/2019Q4/net-im/uTox/distinfo
==============================================================================
--- branches/2019Q4/net-im/uTox/distinfo	Sat Oct  5 06:59:16 2019	(r513815)
+++ branches/2019Q4/net-im/uTox/distinfo	Sat Oct  5 07:00:09 2019	(r513816)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1529567839
-SHA256 (uTox-0.17.0-full.tar.gz) = 219ae83e9139d3a421c7bb6d03cc3f8953dd36fb8e8b67100d47d92d413e9d46
-SIZE (uTox-0.17.0-full.tar.gz) = 3946812
+TIMESTAMP = 1569893842
+SHA256 (uTox-0.17.1-full.tar.gz) = 6a6d399827f31593f840274b08ed80039c99d5abf0bd6634faf22cc064930460
+SIZE (uTox-0.17.1-full.tar.gz) = 3948392
+SHA256 (37271f991c590a533781b66e9036e9b66dfbbf1b.patch) = 0ad39545e0ae0f71090934b588e5a2cb2ed13cc041fc70d2b8872df95f048ad0
+SIZE (37271f991c590a533781b66e9036e9b66dfbbf1b.patch) = 1163

Modified: branches/2019Q4/net-im/uTox/files/patch-CMakeLists.txt
==============================================================================
--- branches/2019Q4/net-im/uTox/files/patch-CMakeLists.txt	Sat Oct  5 06:59:16 2019	(r513815)
+++ branches/2019Q4/net-im/uTox/files/patch-CMakeLists.txt	Sat Oct  5 07:00:09 2019	(r513816)
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig	2018-06-21 08:33:29 UTC
+--- CMakeLists.txt.orig	2019-09-21 02:09:21 UTC
 +++ CMakeLists.txt
-@@ -184,8 +184,7 @@ add_cflag("-fPIC")
+@@ -178,8 +178,7 @@ add_cflag("-fPIC")
  # Fix GNU stack
  if(CMAKE_C_COMPILER_ID MATCHES "GNU")
      # Have ld strip the symbols from Release and MinSizeRel build types.
@@ -10,7 +10,7 @@
  
      if(LINUX)
          # enable Link Time Optimization on gcc (linux only currently)
-@@ -220,8 +219,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "Clang")
+@@ -214,8 +213,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "Clang")
      endif()
  
      # Have ld strip the symbols from Release and MinSizeRel build types. (-Oz is clang specific)
@@ -18,5 +18,5 @@
 -    set(CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} -Oz -s")
 +    set(CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} -s")
  
-     if(NOT ENABLE_ASAN)
-         if(NOT APPLE)
+     if(FREEBSD)
+         set(LIBRARIES ${LIBRARIES} "cxxrt")



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