1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
Warning: format of the config file has changed!
This commit is contained in:
Thierry Thomas 2014-08-15 15:59:00 +00:00
parent 229aa6fd2b
commit 310e2b1a53
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364986
6 changed files with 55 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)
{

View File

@ -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 )

View File

@ -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%%