aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/toxic
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2014-08-15 23:59:00 +0800
committerthierry <thierry@FreeBSD.org>2014-08-15 23:59:00 +0800
commit059d7722a25908005712604b7752150c421d67df (patch)
tree7afd1536a617aeb71bcdd21465897ebf84206d39 /net-im/toxic
parent067da0842b1d42d3c5a17444c16052ff71991240 (diff)
downloadfreebsd-ports-gnome-059d7722a25908005712604b7752150c421d67df.tar.gz
freebsd-ports-gnome-059d7722a25908005712604b7752150c421d67df.tar.zst
freebsd-ports-gnome-059d7722a25908005712604b7752150c421d67df.zip
Refresh.
Warning: format of the config file has changed!
Diffstat (limited to 'net-im/toxic')
-rw-r--r--net-im/toxic/Makefile6
-rw-r--r--net-im/toxic/distinfo4
-rw-r--r--net-im/toxic/files/patch-build_Makefile15
-rw-r--r--net-im/toxic/files/patch-src_misc_tools.c18
-rw-r--r--net-im/toxic/files/pkg-message.in2
-rw-r--r--net-im/toxic/pkg-plist15
6 files changed, 55 insertions, 5 deletions
diff --git a/net-im/toxic/Makefile b/net-im/toxic/Makefile
index 04aeab96cfaa..3c8f001aeaee 100644
--- a/net-im/toxic/Makefile
+++ b/net-im/toxic/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= toxic
-PORTVERSION= 0.4.5.140717
+PORTVERSION= 0.4.7.140815
CATEGORIES= net-im
MAINTAINER= thierry@FreeBSD.org
@@ -13,13 +13,15 @@ LICENSE= GPLv3
BUILD_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
LIB_DEPENDS= libvpx.so:${PORTSDIR}/multimedia/libvpx \
libopus.so:${PORTSDIR}/audio/opus \
+ libalut.so:${PORTSDIR}/audio/freealut \
+ libconfig.so:${PORTSDIR}/devel/libconfig \
libopenal.so.1:${PORTSDIR}/audio/openal-soft
RUN_DEPENDS= ${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
USE_GITHUB= yes
GH_ACCOUNT= tox
GH_TAGNAME= ${GH_COMMIT}
-GH_COMMIT= e61d070
+GH_COMMIT= 67f637a
WRKSRC= ${WRKDIR}/Tox-${PORTNAME}-${GH_COMMIT}
BUILD_WRKSRC= ${WRKSRC}/build
diff --git a/net-im/toxic/distinfo b/net-im/toxic/distinfo
index 777f71f10c7b..fcaf96a7eeaf 100644
--- a/net-im/toxic/distinfo
+++ b/net-im/toxic/distinfo
@@ -1,2 +1,2 @@
-SHA256 (toxic-0.4.5.140717.tar.gz) = 02922aab67cad9bc2450302aa31cee767028865c8c88b30c885be5c675a66796
-SIZE (toxic-0.4.5.140717.tar.gz) = 72535
+SHA256 (toxic-0.4.7.140815.tar.gz) = 24017bcd4e14bc5e6b5efc23e339ec818394d0b332eb3a9f0b9c9b446da9941f
+SIZE (toxic-0.4.7.140815.tar.gz) = 4070353
diff --git a/net-im/toxic/files/patch-build_Makefile b/net-im/toxic/files/patch-build_Makefile
new file mode 100644
index 000000000000..ce4339d6cf50
--- /dev/null
+++ b/net-im/toxic/files/patch-build_Makefile
@@ -0,0 +1,15 @@
+--- build/Makefile.orig 2014-08-15 03:31:28.000000000 +0200
++++ build/Makefile 2014-08-15 16:56:36.000000000 +0200
+@@ -4,10 +4,10 @@
+
+ CFG_DIR = ../cfg
+ SRC_DIR = ../src
+-PREFIX = /usr/local
++#PREFIX = /usr/local
+ BINDIR = $(PREFIX)/bin
+ DATADIR = $(PREFIX)/share/toxic
+-MANDIR = $(PREFIX)/share/man
++MANDIR = $(PREFIX)/man
+
+ LIBS = libtoxcore ncursesw libconfig
+
diff --git a/net-im/toxic/files/patch-src_misc_tools.c b/net-im/toxic/files/patch-src_misc_tools.c
new file mode 100644
index 000000000000..135638db85f1
--- /dev/null
+++ b/net-im/toxic/files/patch-src_misc_tools.c
@@ -0,0 +1,18 @@
+--- src/misc_tools.c.orig 2014-08-15 03:31:28.000000000 +0200
++++ src/misc_tools.c 2014-08-15 16:51:14.000000000 +0200
+@@ -38,6 +38,7 @@
+
+ static uint64_t current_unix_time;
+
++/* Allready defined in libtoxcore
+ void host_to_net(uint8_t *num, uint16_t numbytes)
+ {
+ #ifndef WORDS_BIGENDIAN
+@@ -52,6 +53,7 @@
+ #endif
+ return;
+ }
++*/
+
+ void update_unix_time(void)
+ {
diff --git a/net-im/toxic/files/pkg-message.in b/net-im/toxic/files/pkg-message.in
index 8836ab80d583..7f7cbdd28e56 100644
--- a/net-im/toxic/files/pkg-message.in
+++ b/net-im/toxic/files/pkg-message.in
@@ -4,7 +4,7 @@
toxic -4
+ if your screen is unreadable, try to set
- colour_theme:1;
+ native_colors=true;
in your ~/.config/tox/toxic.conf
(more parameters available - see %%DATADIR%%/toxic.conf.example )
diff --git a/net-im/toxic/pkg-plist b/net-im/toxic/pkg-plist
index 233299f7637d..4a22b15462e8 100644
--- a/net-im/toxic/pkg-plist
+++ b/net-im/toxic/pkg-plist
@@ -4,5 +4,20 @@ man/man1/toxic.1.gz
man/man5/toxic.conf.5-e.gz
man/man5/toxic.conf.5.gz
%%DATADIR%%/DHTnodes
+%%DATADIR%%/DHTnodes-e
+%%DATADIR%%/DNSservers
+%%DATADIR%%/DNSservers-e
+%%DATADIR%%/sounds/ContactLogsIn.wav
+%%DATADIR%%/sounds/ContactLogsOut.wav
+%%DATADIR%%/sounds/Error.wav
+%%DATADIR%%/sounds/IncomingCall.wav
+%%DATADIR%%/sounds/LogIn.wav
+%%DATADIR%%/sounds/LogOut.wav
+%%DATADIR%%/sounds/NewMessage.wav
+%%DATADIR%%/sounds/OutgoingCall.wav
+%%DATADIR%%/sounds/TransferComplete.wav
+%%DATADIR%%/sounds/TransferPending.wav
%%DATADIR%%/toxic.conf.example
+%%DATADIR%%/toxic.conf.example-e
+@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%