From owner-svn-ports-all@freebsd.org Thu Jun 21 17:53:50 2018 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 0CFC610254ED; Thu, 21 Jun 2018 17:53:50 +0000 (UTC) (envelope-from tobik@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 B2A7888333; Thu, 21 Jun 2018 17:53:49 +0000 (UTC) (envelope-from tobik@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 9246215266; Thu, 21 Jun 2018 17:53:49 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5LHrnD6053521; Thu, 21 Jun 2018 17:53:49 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5LHrmdo053516; Thu, 21 Jun 2018 17:53:48 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201806211753.w5LHrmdo053516@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Thu, 21 Jun 2018 17:53:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472992 - in head/net-im/uTox: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/net-im/uTox: . files X-SVN-Commit-Revision: 472992 X-SVN-Commit-Repository: ports 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.26 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: Thu, 21 Jun 2018 17:53:50 -0000 Author: tobik Date: Thu Jun 21 17:53:48 2018 New Revision: 472992 URL: https://svnweb.freebsd.org/changeset/ports/472992 Log: net-im/uTox: Update to 0.17.0 - Update license and WWW Changes: https://github.com/uTox/uTox/releases PR: 229198 Submitted by: tobik Approved by: maintainer Added: head/net-im/uTox/files/patch-CMakeLists.txt (contents, props changed) Deleted: head/net-im/uTox/files/patch-src_main.h head/net-im/uTox/files/patch-src_xlib_main.c head/net-im/uTox/files/patch-src_xlib_video.c Modified: head/net-im/uTox/Makefile head/net-im/uTox/distinfo head/net-im/uTox/pkg-descr head/net-im/uTox/pkg-plist Modified: head/net-im/uTox/Makefile ============================================================================== --- head/net-im/uTox/Makefile Thu Jun 21 17:50:53 2018 (r472991) +++ head/net-im/uTox/Makefile Thu Jun 21 17:53:48 2018 (r472992) @@ -1,48 +1,38 @@ # $FreeBSD$ PORTNAME= uTox -PORTVERSION= 0.11.1 -PORTREVISION= 6 +DISTVERSION= 0.17.0 +DISTVERSIONSUFFIX= -full CATEGORIES= net-im net-p2p +MASTER_SITES= https://github.com/uTox/uTox/releases/download/v${PORTVERSION}/ MAINTAINER= portmaster@BSDforge.com COMMENT= Lightweight Tox client -LICENSE= GPLv3 +LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:net-im/tox12 \ - ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat +BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libsodium.so:security/libsodium \ libv4lconvert.so:multimedia/libv4l \ libvpx.so:multimedia/libvpx \ - libfilteraudio.so:audio/libfilteraudio\ - libopus.so:audio/opus -RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:net-im/tox12 + libopus.so:audio/opus \ + libtoxcore.so:net-im/tox -USE_GITHUB= yes -GH_TAGNAME= 1835eae - -USES= cmake compiler:c11 desktop-file-utils localbase:ldflags openal:al \ - pkgconfig -USE_XORG= x11 xext xrender +USES= cmake:outsource compiler:c11 desktop-file-utils dos2unix \ + openal pkgconfig +USE_XORG= ice sm x11 xext xrender +CMAKE_OFF= ENABLE_LTO +DOS2UNIX_GLOB= * 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_MAKE_ARGS_OFF= DBUS=0 - -pre-configure: - ${REINPLACE_CMD} -e 's|resolv dl||' \ - -e 's|/usr/include/freetype2|${LOCALBASE}/include/freetype2|' \ - ${WRKSRC}/CMakeLists.txt - -post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/utox - ${INSTALL_DATA} ${WRKSRC}/icons/utox-128x128.png ${STAGEDIR}${PREFIX}/share/pixmaps/utox.png .include Modified: head/net-im/uTox/distinfo ============================================================================== --- head/net-im/uTox/distinfo Thu Jun 21 17:50:53 2018 (r472991) +++ head/net-im/uTox/distinfo Thu Jun 21 17:53:48 2018 (r472992) @@ -1,3 +1,3 @@ -TIMESTAMP = 1483474222 -SHA256 (uTox-uTox-0.11.1-1835eae_GH0.tar.gz) = bd6c093c30ee56315dc97dc70bc32a761b748c761353eadb6e940a5cdbc5891d -SIZE (uTox-uTox-0.11.1-1835eae_GH0.tar.gz) = 2378596 +TIMESTAMP = 1529567839 +SHA256 (uTox-0.17.0-full.tar.gz) = 219ae83e9139d3a421c7bb6d03cc3f8953dd36fb8e8b67100d47d92d413e9d46 +SIZE (uTox-0.17.0-full.tar.gz) = 3946812 Added: head/net-im/uTox/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-im/uTox/files/patch-CMakeLists.txt Thu Jun 21 17:53:48 2018 (r472992) @@ -0,0 +1,22 @@ +--- CMakeLists.txt.orig 2018-06-21 08:33:29 UTC ++++ CMakeLists.txt +@@ -184,8 +184,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. +- set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Os") +- set(CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} -Os -s") ++ set(CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} -s") + + if(LINUX) + # enable Link Time Optimization on gcc (linux only currently) +@@ -220,8 +219,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "Clang") + endif() + + # Have ld strip the symbols from Release and MinSizeRel build types. (-Oz is clang specific) +- set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Os") +- 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) Modified: head/net-im/uTox/pkg-descr ============================================================================== --- head/net-im/uTox/pkg-descr Thu Jun 21 17:50:53 2018 (r472991) +++ head/net-im/uTox/pkg-descr Thu Jun 21 17:53:48 2018 (r472992) @@ -9,4 +9,4 @@ important features, like file transfers, A/V, group ch There are also binaries for other OS: Linux, Android, OS X and Windows, which makes it possible to communicate between users of different OS. -WWW: http://utox.org/ +WWW: https://utox.io/ Modified: head/net-im/uTox/pkg-plist ============================================================================== --- head/net-im/uTox/pkg-plist Thu Jun 21 17:50:53 2018 (r472991) +++ head/net-im/uTox/pkg-plist Thu Jun 21 17:53:48 2018 (r472992) @@ -1,4 +1,17 @@ bin/utox -share/applications/utox.desktop -share/pixmaps/utox.png man/man1/utox.1.gz +share/applications/utox.desktop +share/icons/hicolor/128x128/apps/utox-128x128.png +share/icons/hicolor/14x14/apps/utox-14x14.png +share/icons/hicolor/16x16/apps/utox-16x16.png +share/icons/hicolor/22x22/apps/utox-22x22.png +share/icons/hicolor/24x24/apps/utox-24x24.png +share/icons/hicolor/256x256/apps/utox-256x256.png +share/icons/hicolor/32x32/apps/utox-32x32.png +share/icons/hicolor/36x36/apps/utox-36x36.png +share/icons/hicolor/48x48/apps/utox-48x48.png +share/icons/hicolor/512x512/apps/utox-512x512.png +share/icons/hicolor/64x64/apps/utox-64x64.png +share/icons/hicolor/72x72/apps/utox-72x72.png +share/icons/hicolor/96x96/apps/utox-96x96.png +share/icons/hicolor/scalable/apps/utox.svg