Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2016 17:23:09 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r407371 - in head: . net-im/uTox net-im/uTox/files
Message-ID:  <201601271723.u0RHN9ND029220@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Jan 27 17:23:09 2016
New Revision: 407371
URL: https://svnweb.freebsd.org/changeset/ports/407371

Log:
  - Update to 0.5.1.20160121
  
  PR:		206558
  Submitted by:	fidaj@ukr.net (maintainer)

Modified:
  head/UPDATING
  head/net-im/uTox/Makefile
  head/net-im/uTox/distinfo
  head/net-im/uTox/files/patch-Makefile

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Wed Jan 27 17:11:37 2016	(r407370)
+++ head/UPDATING	Wed Jan 27 17:23:09 2016	(r407371)
@@ -5,6 +5,13 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20160127:
+  AFFECTS: users of net-im/uTox
+  AUTHOR: amdmi3@FreeBSD.org
+
+  Before upgrading uTox port, please set maximum font scale in the
+  program options.
+
 20160119:
   AFFECTS: users of security/tor, security/tor-devel
   AUTHOR: amdmi3@FreeBSD.org

Modified: head/net-im/uTox/Makefile
==============================================================================
--- head/net-im/uTox/Makefile	Wed Jan 27 17:11:37 2016	(r407370)
+++ head/net-im/uTox/Makefile	Wed Jan 27 17:23:09 2016	(r407371)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	uTox
-DISTVERSION=	0.4.4.20151120
+PORTVERSION=	0.5.1.20160121
 CATEGORIES=	net-im net-p2p
 
 MAINTAINER=	fidaj@ukr.net
@@ -21,7 +21,7 @@ RUN_DEPENDS=	${LOCALBASE}/lib/libtoxcore
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	GrayHatter
-GH_TAGNAME=	8eaef84
+GH_TAGNAME=	b623d58
 
 USES=		compiler:c11 desktop-file-utils gmake openal:al pkgconfig
 USE_XORG=	x11 xext xrender
@@ -34,12 +34,10 @@ DBUS_LIB_DEPENDS=	libdbus-1.so:${PORTSDI
 DBUS_MAKE_ARGS_OFF=	DBUS=0
 
 pre-configure:
-	${REINPLACE_CMD} -e 's|$$(GIT_V)|${DISTVERSION}-${GH_TAGNAME}|'	\
-		${WRKSRC}/${MAKEFILE}
+	@${REINPLACE_CMD} -e 's|$$(GIT_V)|${DISTVERSION}-${GH_TAGNAME}|' \
+		-e 's|share/man|man|' ${WRKSRC}/${MAKEFILE}
 
 post-install:
-	${MV} ${WRKSRC}/utox.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-	${RM} -rf ${STAGEDIR}${MAN1PREFIX}/share/man
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/utox
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/utox
 
 .include <bsd.port.mk>

Modified: head/net-im/uTox/distinfo
==============================================================================
--- head/net-im/uTox/distinfo	Wed Jan 27 17:11:37 2016	(r407370)
+++ head/net-im/uTox/distinfo	Wed Jan 27 17:23:09 2016	(r407371)
@@ -1,2 +1,2 @@
-SHA256 (GrayHatter-uTox-0.4.4.20151120-8eaef84_GH0.tar.gz) = e30a87cbfa2139e7b7d8b434b53e848c749cdf0bfe476edb085d58cc97575cca
-SIZE (GrayHatter-uTox-0.4.4.20151120-8eaef84_GH0.tar.gz) = 960162
+SHA256 (GrayHatter-uTox-0.5.1.20160121-b623d58_GH0.tar.gz) = eaaeccc253c6262b9316783ed51d87b9103bef54f5dbf60b4ef9f124a9a342c0
+SIZE (GrayHatter-uTox-0.5.1.20160121-b623d58_GH0.tar.gz) = 978712

Modified: head/net-im/uTox/files/patch-Makefile
==============================================================================
--- head/net-im/uTox/files/patch-Makefile	Wed Jan 27 17:11:37 2016	(r407370)
+++ head/net-im/uTox/files/patch-Makefile	Wed Jan 27 17:23:09 2016	(r407371)
@@ -1,21 +1,49 @@
---- Makefile.orig	2015-06-13 00:14:56 UTC
-+++ Makefile
-@@ -16,10 +16,6 @@ ifeq ($(V4LCONVERT), 1)
-     DEPS += libv4lconvert
- endif
+--- Makefile.orig	2015-12-29 12:13:36.418539000 +0200
++++ Makefile	2015-12-29 12:16:20.089265000 +0200
+@@ -2,7 +2,7 @@
+ # set to anything else to disable them
+ DBUS = 1
+ V4LCONVERT = 1
+-FILTER_AUDIO = 0
++FILTER_AUDIO = 1
+ UNITY = 0
  
--ifeq ($(FILTER_AUDIO), 1)
--    DEPS += filteraudio
--endif
--
- ifeq ($(UNITY), 1)
-     DEPS += messaging-menu unity
- endif
-@@ -41,6 +37,7 @@ endif
+ DEPS = libtoxav libtoxcore openal vpx libsodium
+@@ -50,6 +50,37 @@
  
- ifeq ($(FILTER_AUDIO), 1)
-     CFLAGS += -DAUDIO_FILTERING
-+    LDFLAGS += -lfilteraudio
- endif
+ 	TRAY_OBJ = icons/utox-128x128.o
+ 	TRAY_GEN = $(LD) -r -b binary icons/utox-128x128.png -o
++else ifeq ($(UNAME_S), FreeBSD)
++	OUT_FILE = utox
++
++	DEPS += fontconfig freetype2 x11 xext xrender
++
++	ifeq ($(V4LCONVERT), 1)
++		DEPS += libv4lconvert
++	else
++		CFLAGS += -DNO_V4LCONVERT
++	endif
++
++	ifeq ($(UNITY), 1)
++		DEPS += messaging-menu unity
++		CFLAGS += -DUNITY
++	endif
++
++	ifeq ($(DBUS), 1)
++		DEPS += dbus-1
++	else
++		CFLAGS += -DNO_DBUS
++	endif
++
++	CFLAGS += $(shell pkg-config --cflags $(DEPS))
++
++	LDFLAGS += $(shell pkg-config --libs $(DEPS))
++
++	OS_SRC = $(wildcard src/xlib/*.c)
++	OS_OBJ = $(OS_SRC:.c=.o)
++
++	TRAY_OBJ = icons/utox-128x128.o
++	TRAY_GEN = $(LD) -r -b binary icons/utox-128x128.png -o
+ else ifeq ($(UNAME_O), Cygwin)
+ 	OUT_FILE = utox.exe
  
- ifeq ($(UNITY), 1)



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