aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2015-06-19 03:50:53 +0800
committerthierry <thierry@FreeBSD.org>2015-06-19 03:50:53 +0800
commitf35f4e5852fb8f3eb3ac2501b2a090d44a6b1737 (patch)
tree1ea41ce69c245bbeb027bd2e25efae45e11fa3d9 /net-im
parent589c6fbd4e1be9cdc61ee35756fb6a7b1d4c4df6 (diff)
downloadfreebsd-ports-gnome-f35f4e5852fb8f3eb3ac2501b2a090d44a6b1737.tar.gz
freebsd-ports-gnome-f35f4e5852fb8f3eb3ac2501b2a090d44a6b1737.tar.zst
freebsd-ports-gnome-f35f4e5852fb8f3eb3ac2501b2a090d44a6b1737.zip
Upgrade Tox, libfilteraudio, toxic, qTox and uTox to a recent snapshot.
PR: ports/200865 Submitted by: yuri (at) rawbw.com (qTox maintainer) + patches from other maintainers Approved by: maintainers
Diffstat (limited to 'net-im')
-rw-r--r--net-im/qTox/Makefile22
-rw-r--r--net-im/qTox/distinfo4
-rw-r--r--net-im/qTox/files/patch-qtox.pro10
-rw-r--r--net-im/qTox/files/patch-src_main.cpp13
-rw-r--r--net-im/qTox/files/patch-src_platform_camera_v4l2.cpp10
-rw-r--r--net-im/qTox/files/patch-src_platform_camera_v4l2.h11
-rw-r--r--net-im/tox/Makefile9
-rw-r--r--net-im/tox/distinfo4
-rw-r--r--net-im/toxic/Makefile5
-rw-r--r--net-im/toxic/distinfo4
-rw-r--r--net-im/uTox/Makefile5
-rw-r--r--net-im/uTox/distinfo4
-rw-r--r--net-im/uTox/files/patch-Makefile11
13 files changed, 69 insertions, 43 deletions
diff --git a/net-im/qTox/Makefile b/net-im/qTox/Makefile
index 153716e4624d..954c47a9112b 100644
--- a/net-im/qTox/Makefile
+++ b/net-im/qTox/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= qTox
-PORTVERSION= 0.150426
-PORTREVISION= 3
+PORTVERSION= 0.150614
CATEGORIES= net-im net-p2p
MAINTAINER= yuri@rawbw.com
@@ -11,24 +10,27 @@ COMMENT= Qt 5 based Tox client
LICENSE= GPLv3
-BUILD_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
-LIB_DEPENDS= libopencv_highgui.so:${PORTSDIR}/graphics/opencv \
+BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat
+LIB_DEPENDS= libtoxcore.so:${PORTSDIR}/net-im/tox \
+ libopencv_highgui.so:${PORTSDIR}/graphics/opencv \
libopencv_core.so:${PORTSDIR}/graphics/opencv-core \
+ libavcodec26.so:${PORTSDIR}/multimedia/ffmpeg26 \
libvpx.so:${PORTSDIR}/multimedia/libvpx \
libfilteraudio.so:${PORTSDIR}/audio/libfilteraudio \
libsodium.so:${PORTSDIR}/security/libsodium \
libqrencode.so:${PORTSDIR}/graphics/libqrencode
-RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
USE_GITHUB= yes
GH_ACCOUNT= tux3
-GH_TAGNAME= 25329d3
+GH_TAGNAME= ce2c830
USES= compiler:c++11-lib desktop-file-utils openal:soft qmake gmake
USE_GNOME= glib20 gtk20 cairo gdkpixbuf2
USE_XORG= x11 xscrnsaver
USE_QT5= core gui network xml opengl sql sql-sqlite3_run widgets svg \
concurrent buildtools_build linguisttools_build
+CXXFLAGS+= -I${LOCALBASE}/include/ffmpeg26
+LDFLAGS+= -L${LOCALBASE}/lib/ffmpeg26
PLIST_FILES= bin/qtox \
share/applications/qTox.desktop
@@ -41,9 +43,13 @@ 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 += "/usr/local/include|' \
+ @${REINPLACE_CMD} -e 's|INCLUDEPATH += "/usr/include|INCLUDEPATH += "${LOCALBASE}/include|' \
${WRKSRC}/qtox.pro
- @${REINPLACE_CMD} -e 's|INCLUDEPATH += "/usr/lib|INCLUDEPATH += "/usr/local/lib|' \
+ @${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
+ @${REINPLACE_CMD} -e 's|-lavformat -lavdevice -lavcodec -lavutil -lswscale|-lavformat26 -lavdevice26 -lavcodec26 -lavutil26 -lswscale26|' \
${WRKSRC}/qtox.pro
pre-configure:
diff --git a/net-im/qTox/distinfo b/net-im/qTox/distinfo
index 5125309226d2..982e5487b94e 100644
--- a/net-im/qTox/distinfo
+++ b/net-im/qTox/distinfo
@@ -1,2 +1,2 @@
-SHA256 (tux3-qTox-0.150426-25329d3_GH0.tar.gz) = aa8615a0e57fce5dd4ed4bf19a9934b8e1d8f34bf6dbaeb1d16ece2ef9405869
-SIZE (tux3-qTox-0.150426-25329d3_GH0.tar.gz) = 4643786
+SHA256 (tux3-qTox-0.150614-ce2c830_GH0.tar.gz) = c59580b98886acf9ec5acb1a85b7f6544d53bc2d72491dddeb8865b4d64dd3f6
+SIZE (tux3-qTox-0.150614-ce2c830_GH0.tar.gz) = 4556369
diff --git a/net-im/qTox/files/patch-qtox.pro b/net-im/qTox/files/patch-qtox.pro
index 984ef8c9ce6f..c3322ca2f839 100644
--- a/net-im/qTox/files/patch-qtox.pro
+++ b/net-im/qTox/files/patch-qtox.pro
@@ -1,8 +1,8 @@
---- qtox.pro.orig 2015-04-27 03:03:27 UTC
+--- qtox.pro.orig 2015-06-12 10:53:59 UTC
+++ qtox.pro
-@@ -433,6 +433,18 @@ SOURCES += \
- src/profilelocker.cpp \
- src/avatarbroadcaster.cpp
+@@ -483,6 +483,18 @@ SOURCES += \
+ src/widget/translator.cpp \
+ src/persistence/settingsserializer.cpp
+unix {
+ target.path = $$PREFIX/bin
@@ -17,5 +17,5 @@
+}
+
HEADERS += \
- src/audio.h \
+ src/audio/audio.h \
src/core/core.h \
diff --git a/net-im/qTox/files/patch-src_main.cpp b/net-im/qTox/files/patch-src_main.cpp
new file mode 100644
index 000000000000..fce8ccc494eb
--- /dev/null
+++ b/net-im/qTox/files/patch-src_main.cpp
@@ -0,0 +1,13 @@
+--- src/main.cpp.orig 2015-06-12 10:53:59 UTC
++++ src/main.cpp
+@@ -280,3 +280,10 @@ int main(int argc, char *argv[])
+ qDebug() << "Clean exit with status"<<errorcode;
+ return errorcode;
+ }
++
++// Missing in libxccrt.so function __cxa_deleted_virtual, see FreeBSD Bug#200863
++extern "C" void __cxa_deleted_virtual()
++{
++ abort();
++}
++
diff --git a/net-im/qTox/files/patch-src_platform_camera_v4l2.cpp b/net-im/qTox/files/patch-src_platform_camera_v4l2.cpp
new file mode 100644
index 000000000000..8d94e9c04ff4
--- /dev/null
+++ b/net-im/qTox/files/patch-src_platform_camera_v4l2.cpp
@@ -0,0 +1,10 @@
+--- src/platform/camera/v4l2.cpp.orig 2015-06-15 03:25:21 UTC
++++ src/platform/camera/v4l2.cpp
+@@ -26,6 +26,7 @@
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
+ #include <linux/videodev2.h>
++#include <errno.h>
+
+ /**
+ * Most of this file is adapted from libavdevice's v4l2.c,
diff --git a/net-im/qTox/files/patch-src_platform_camera_v4l2.h b/net-im/qTox/files/patch-src_platform_camera_v4l2.h
new file mode 100644
index 000000000000..f8ba4ab59af3
--- /dev/null
+++ b/net-im/qTox/files/patch-src_platform_camera_v4l2.h
@@ -0,0 +1,11 @@
+--- src/platform/camera/v4l2.h.orig 2015-06-12 10:53:59 UTC
++++ src/platform/camera/v4l2.h
+@@ -24,7 +24,7 @@
+ #include <QPair>
+ #include "src/video/videomode.h"
+
+-#ifndef Q_OS_LINUX
++#ifndef Q_OS_UNIX
+ #error "This file is only meant to be compiled for Linux targets"
+ #endif
+
diff --git a/net-im/tox/Makefile b/net-im/tox/Makefile
index 240269fdeec2..b4353cca15e6 100644
--- a/net-im/tox/Makefile
+++ b/net-im/tox/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= toxcore
-PORTVERSION= 0.150519
-PORTREVISION= 2
+PORTVERSION= 0.150616
CATEGORIES= net-im net-p2p
MAINTAINER= thierry@FreeBSD.org
@@ -13,14 +12,12 @@ LICENSE= GPLv3
BUILD_DEPENDS= checkmk:${PORTSDIR}/devel/libcheck
LIB_DEPENDS= libvpx.so:${PORTSDIR}/multimedia/libvpx \
- libopus.so:${PORTSDIR}/audio/opus \
- libv4l2.so:${PORTSDIR}/multimedia/libv4l \
- libswscale.so:${PORTSDIR}/multimedia/ffmpeg
+ libopus.so:${PORTSDIR}/audio/opus
USE_GITHUB= yes
GH_ACCOUNT= irungentoo
GH_PROJECT= ${PORTNAME}
-GH_TAGNAME= 8760aba
+GH_TAGNAME= 836daa9
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-tests
diff --git a/net-im/tox/distinfo b/net-im/tox/distinfo
index 4afbb958d547..c897235fe18d 100644
--- a/net-im/tox/distinfo
+++ b/net-im/tox/distinfo
@@ -1,2 +1,2 @@
-SHA256 (irungentoo-toxcore-0.150519-8760aba_GH0.tar.gz) = 356cba5a275f9d88a5f8536b7ac361add62e3234021fb194152c1c066d68dbdb
-SIZE (irungentoo-toxcore-0.150519-8760aba_GH0.tar.gz) = 369589
+SHA256 (irungentoo-toxcore-0.150616-836daa9_GH0.tar.gz) = f8cf884bfeecae599778679eac28803fb2963683d0be163f84b28194cf8072b4
+SIZE (irungentoo-toxcore-0.150616-836daa9_GH0.tar.gz) = 371142
diff --git a/net-im/toxic/Makefile b/net-im/toxic/Makefile
index e874da42595d..d76988451b10 100644
--- a/net-im/toxic/Makefile
+++ b/net-im/toxic/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= toxic
-PORTVERSION= 0.6.0.150519
-PORTREVISION= 1
+PORTVERSION= 0.6.0.160615
CATEGORIES= net-im
MAINTAINER= thierry@FreeBSD.org
@@ -19,7 +18,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
USE_GITHUB= yes
GH_ACCOUNT= Tox
-GH_TAGNAME= 231078b
+GH_TAGNAME= 409e4dd
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
diff --git a/net-im/toxic/distinfo b/net-im/toxic/distinfo
index 555e74065ce2..208430fdfbeb 100644
--- a/net-im/toxic/distinfo
+++ b/net-im/toxic/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Tox-toxic-0.6.0.150519-231078b_GH0.tar.gz) = 6283b58223c110c6dcf88920c21379bff24076097b72df0a3186c9639031b440
-SIZE (Tox-toxic-0.6.0.150519-231078b_GH0.tar.gz) = 1107750
+SHA256 (Tox-toxic-0.6.0.160615-409e4dd_GH0.tar.gz) = 1af21150bd14edd6c8795de96519e0c68167d2aba7ae30023775606ff234fda1
+SIZE (Tox-toxic-0.6.0.160615-409e4dd_GH0.tar.gz) = 1107918
diff --git a/net-im/uTox/Makefile b/net-im/uTox/Makefile
index fecfea34f688..d4eb3a0a0b28 100644
--- a/net-im/uTox/Makefile
+++ b/net-im/uTox/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= uTox
-DISTVERSION= 0.2.s.20150514
-PORTREVISION= 1
+DISTVERSION= 0.3.2.20150613
CATEGORIES= net-im net-p2p
MAINTAINER= fidaj@ukr.net
@@ -23,7 +22,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
USE_GITHUB= yes
GH_ACCOUNT= notsecure
#GH_PROJECT= ${PORTNAME}
-GH_TAGNAME= 6e6b64a
+GH_TAGNAME= 5a5132f
USES= compiler:c11 desktop-file-utils gmake openal:al pkgconfig
USE_XORG= x11 xext xrender
diff --git a/net-im/uTox/distinfo b/net-im/uTox/distinfo
index 85294c7ee547..60d1baa0afae 100644
--- a/net-im/uTox/distinfo
+++ b/net-im/uTox/distinfo
@@ -1,2 +1,2 @@
-SHA256 (notsecure-uTox-0.2.s.20150514-6e6b64a_GH0.tar.gz) = e6bcc6ff396cc16817ec0272a224b2675e506c35ab2c2bd596c9388e72eed28b
-SIZE (notsecure-uTox-0.2.s.20150514-6e6b64a_GH0.tar.gz) = 778219
+SHA256 (notsecure-uTox-0.3.2.20150613-5a5132f_GH0.tar.gz) = 8d52c35dde8148934a4e02db8a0c477e88ac66e1459e06ec806da0363ac1eceb
+SIZE (notsecure-uTox-0.3.2.20150613-5a5132f_GH0.tar.gz) = 942638
diff --git a/net-im/uTox/files/patch-Makefile b/net-im/uTox/files/patch-Makefile
index 7ce11dbce3a4..7610df3372f6 100644
--- a/net-im/uTox/files/patch-Makefile
+++ b/net-im/uTox/files/patch-Makefile
@@ -1,4 +1,4 @@
---- Makefile.orig 2015-04-19 07:13:44 UTC
+--- Makefile.orig 2015-06-13 00:14:56 UTC
+++ Makefile
@@ -16,10 +16,6 @@ ifeq ($(V4LCONVERT), 1)
DEPS += libv4lconvert
@@ -19,12 +19,3 @@
endif
ifeq ($(UNITY), 1)
-@@ -100,7 +97,7 @@ install: utox
-
- mkdir -p $(DESTDIR)$(PREFIX)/share/applications
- install -m 644 utox.desktop $(DESTDIR)$(PREFIX)/share/applications/utox.desktop
-- if [ "$UNITY" -eq "1" ]; then echo "X-MessagingMenu-UsesChatSection=true" >> $(DESTDIR)$(PREFIX)/share/applications/utox.desktop; fi
-+ if [ "$(UNITY)" -eq "1" ]; then echo "X-MessagingMenu-UsesChatSection=true" >> $(DESTDIR)$(PREFIX)/share/applications/utox.desktop; fi
-
- mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
- install -m 644 utox.1 $(DESTDIR)$(PREFIX)/share/man/man1/utox.1