aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/trix
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-06-03 21:19:58 +0800
committermiwi <miwi@FreeBSD.org>2008-06-03 21:19:58 +0800
commitd77f91e7b6116a04de53f3ce236199b49fc4ba83 (patch)
treeb90dca26c69112031c6a7ce57c20fef28a906064 /net-im/trix
parent3b408ce99a1ed0f85a370f294aecd27ced3e806b (diff)
downloadfreebsd-ports-gnome-d77f91e7b6116a04de53f3ce236199b49fc4ba83.tar.gz
freebsd-ports-gnome-d77f91e7b6116a04de53f3ce236199b49fc4ba83.tar.zst
freebsd-ports-gnome-d77f91e7b6116a04de53f3ce236199b49fc4ba83.zip
As compared to VyQChat in TriX such new features appears as:
files transfer, bulletin board, users avatars, logs, links navigation, broadcast and multicast type of connection, search by IP address and many other, a few more features not listed here. Now TriX is compatible with the version 2.0 of the Vypress Chat protocol developed by VyPRESS Research. WWW: http://trix.sourceforge.net/ PR: ports/123037 Submitted by: Kozienko Aleksandr <pascalamsg at gmail.com>
Diffstat (limited to 'net-im/trix')
-rw-r--r--net-im/trix/Makefile37
-rw-r--r--net-im/trix/distinfo3
-rw-r--r--net-im/trix/files/patch-crypto.cpp8
-rw-r--r--net-im/trix/files/patch-settings.cpp29
-rw-r--r--net-im/trix/files/patch-xxxprotocol.cpp37
-rw-r--r--net-im/trix/files/patch-xxxprotocol.h20
-rw-r--r--net-im/trix/pkg-descr9
-rw-r--r--net-im/trix/pkg-plist120
8 files changed, 263 insertions, 0 deletions
diff --git a/net-im/trix/Makefile b/net-im/trix/Makefile
new file mode 100644
index 000000000000..f03c6571d113
--- /dev/null
+++ b/net-im/trix/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: trix
+# Date created: 17 April 2008
+# Whom: Kozienko Aleksandr <pascalamsg@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= trix
+PORTVERSION= 0.93
+CATEGORIES= net-im
+
+MAINTAINER= pascalamsg@gmail.com
+COMMENT= TriX is a chat compatible with 2.0 protocol of the Vypress Chat
+
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+USE_QT_VER= 3
+USE_GMAKE= yes
+USE_PERL5= yes
+USE_XLIB= yes
+GNU_CONFIGURE= yes
+USE_BZIP2= yes
+
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS += --with-qt-dir=${QT_PREFIX} \
+ --with-extra-includes=${LOCALBASE}/include \
+ --with-extra-libs=${LOCALBASE}/lib
+
+.if !defined(WITHOUT_PLAY)
+BUILD_DEPENDS= play:${PORTSDIR}/audio/play
+.endif
+
+post-extract:
+ ${CHMOD} 744 ${WRKSRC}/install-sh
+
+.include <bsd.port.mk>
diff --git a/net-im/trix/distinfo b/net-im/trix/distinfo
new file mode 100644
index 000000000000..430926b3d12b
--- /dev/null
+++ b/net-im/trix/distinfo
@@ -0,0 +1,3 @@
+MD5 (trix-0.93.tar.bz2) = ad60f8b608fb08f8738deab69e1880f1
+SHA256 (trix-0.93.tar.bz2) = cf9e2df926277b79227900817e289e8fcf242922b3f233bb7d037e95cb3a3dd4
+SIZE (trix-0.93.tar.bz2) = 1050048
diff --git a/net-im/trix/files/patch-crypto.cpp b/net-im/trix/files/patch-crypto.cpp
new file mode 100644
index 000000000000..fd8745b38f2b
--- /dev/null
+++ b/net-im/trix/files/patch-crypto.cpp
@@ -0,0 +1,8 @@
+--- src/crypto.cpp.orig 2008-01-04 18:25:54.000000000 +0200
++++ src/crypto.cpp 2008-04-21 01:30:02.000000000 +0300
+@@ -1,4 +1,5 @@
+ #include "crypto.h"
++typedef unsigned int uint;
+ //#include <iostream>
+
+ PROV_ENUMALGS_EX aProvEnumAlgsEx[4][RSAENH_MAX_ENUMALGS+1] =
diff --git a/net-im/trix/files/patch-settings.cpp b/net-im/trix/files/patch-settings.cpp
new file mode 100644
index 000000000000..855a086dc30d
--- /dev/null
+++ b/net-im/trix/files/patch-settings.cpp
@@ -0,0 +1,29 @@
+--- src/settings.cpp.orig 2008-01-04 18:25:54.000000000 +0200
++++ src/settings.cpp 2008-04-24 00:55:06.000000000 +0300
+@@ -8,15 +8,12 @@
+
+ #include <unistd.h>
+ #include <sys/ioctl.h>
+-#include <net/if.h>
++#include <netinet/in.h>
+ #include <sys/socket.h>
++#include <net/if.h>
+ #include <sys/types.h>
+ #include <arpa/inet.h>
+-
+-#ifdef FREEBSD
+ #include <net/route.h>
+-#include <netinet/in.h>
+-#endif
+
+ #endif
+
+@@ -279,7 +276,7 @@
+ #if defined ( WIN32 )
+ def_playcmd = "";
+ #else
+- def_playcmd = "/usr/bin/aplay";
++ def_playcmd = "/usr/local/bin/play";
+ #endif
+ def_snd[Sound::Chatline] = datapath + "snd/chatline.wav";
+ def_snd[Sound::Beep] = datapath + "snd/beep.wav";
diff --git a/net-im/trix/files/patch-xxxprotocol.cpp b/net-im/trix/files/patch-xxxprotocol.cpp
new file mode 100644
index 000000000000..1da7cdd2d6ae
--- /dev/null
+++ b/net-im/trix/files/patch-xxxprotocol.cpp
@@ -0,0 +1,37 @@
+--- src/xxxprotocol.cpp.orig 2008-01-04 18:25:54.000000000 +0200
++++ src/xxxprotocol.cpp 2008-04-21 01:19:07.000000000 +0300
+@@ -8,6 +8,7 @@
+ #include <quuid.h>
+ #include <qsocketnotifier.h>
+ #include <qmessagebox.h>
++#include <sys/param.h>
+ #ifdef WIN32
+ #include <winsock.h>
+ #else
+@@ -21,7 +22,7 @@
+ #include <fcntl.h>
+ #endif
+
+-#ifdef FREEBSD
++#ifdef BSD
+ #include <err.h>
+ #include <errno.h>
+ #include <net/if.h>
+@@ -223,7 +224,7 @@
+ QString XXXProtocol::getHWAddr(const QString& addr, const QString& iface)
+ {
+ QString macaddr(tr("Unknown"));
+-#if defined( FREEBSD )
++#if defined( BSD )
+ struct sockaddr_inarp addr_inarp;
+
+ bzero(&addr_inarp, sizeof(addr_inarp));
+@@ -265,7 +266,7 @@
+ return macaddr;
+ }
+
+-#if defined( FREEBSD )
++#if defined( BSD )
+ struct sockaddr_dl * XXXProtocol::search(u_long addr)
+ {
+ int mib[6];
diff --git a/net-im/trix/files/patch-xxxprotocol.h b/net-im/trix/files/patch-xxxprotocol.h
new file mode 100644
index 000000000000..d7017cb289fb
--- /dev/null
+++ b/net-im/trix/files/patch-xxxprotocol.h
@@ -0,0 +1,20 @@
+--- src/xxxprotocol.h.orig 2008-01-04 18:25:54.000000000 +0200
++++ src/xxxprotocol.h 2008-04-21 01:20:02.000000000 +0300
+@@ -4,7 +4,7 @@
+ #include "global.h"
+ #include "tcpsocket.h"
+ #include "crypto.h"
+-
++#include <sys/param.h>
+ #ifdef WIN32
+ #include <winsock.h>
+ #endif
+@@ -31,7 +31,7 @@
+ uint port;
+ int recvsd; //UDP socket
+
+-#if defined( FREEBSD )
++#if defined( BSD )
+ struct sockaddr_dl *search(u_long addr);
+ #endif
+
diff --git a/net-im/trix/pkg-descr b/net-im/trix/pkg-descr
new file mode 100644
index 000000000000..aec334a02afb
--- /dev/null
+++ b/net-im/trix/pkg-descr
@@ -0,0 +1,9 @@
+As compared to VyQChat in TriX such new features appears as:
+files transfer, bulletin board, users avatars, logs, links
+navigation, broadcast and multicast type of connection, search
+by IP address and many other, a few more features not listed here.
+Now TriX is compatible with the version 2.0 of the Vypress Chat
+protocol developed by VyPRESS Research.
+
+WWW: http://trix.sourceforge.net/
+
diff --git a/net-im/trix/pkg-plist b/net-im/trix/pkg-plist
new file mode 100644
index 000000000000..f43efc60fac3
--- /dev/null
+++ b/net-im/trix/pkg-plist
@@ -0,0 +1,120 @@
+bin/trix
+share/trix/avatars/bird.gif
+share/trix/avatars/blue_angel.jpg
+share/trix/avatars/blue_sky.jpg
+share/trix/avatars/dark.jpg
+share/trix/avatars/dark_angel.jpg
+share/trix/avatars/edward.gif
+share/trix/avatars/female_face_1.jpg
+share/trix/avatars/hand.jpg
+share/trix/avatars/red.jpg
+share/trix/avatars/tekila.jpg
+share/trix/avatars/white_angel.jpg
+share/trix/gfx/about.png
+share/trix/gfx/angel.png
+share/trix/gfx/angry.png
+share/trix/gfx/automessage.png
+share/trix/gfx/bat.png
+share/trix/gfx/beep.png
+share/trix/gfx/beer.png
+share/trix/gfx/boardnormal.png
+share/trix/gfx/cake.png
+share/trix/gfx/cat.png
+share/trix/gfx/cbblank.png
+share/trix/gfx/cbchecked.png
+share/trix/gfx/chnlalert.png
+share/trix/gfx/chnlnormal.png
+share/trix/gfx/clear.png
+share/trix/gfx/clock.png
+share/trix/gfx/cocktail.png
+share/trix/gfx/colors.png
+share/trix/gfx/confused.png
+share/trix/gfx/copy.png
+share/trix/gfx/cry.png
+share/trix/gfx/cup.png
+share/trix/gfx/decrypted.png
+share/trix/gfx/default.png
+share/trix/gfx/devil.png
+share/trix/gfx/dog.png
+share/trix/gfx/down.png
+share/trix/gfx/downarrows.png
+share/trix/gfx/dude_hug.png
+share/trix/gfx/edit.png
+share/trix/gfx/editclear.png
+share/trix/gfx/editcut.png
+share/trix/gfx/editpaste.png
+share/trix/gfx/embarassed.png
+share/trix/gfx/encrypted.png
+share/trix/gfx/exit.png
+share/trix/gfx/female.png
+share/trix/gfx/film.png
+share/trix/gfx/find.png
+share/trix/gfx/fonts.png
+share/trix/gfx/forward.png
+share/trix/gfx/gear.png
+share/trix/gfx/girl_hug.png
+share/trix/gfx/info.png
+share/trix/gfx/kiss.png
+share/trix/gfx/leave.png
+share/trix/gfx/lightbulb.png
+share/trix/gfx/locale.png
+share/trix/gfx/logo.png
+share/trix/gfx/love.png
+share/trix/gfx/mail.png
+share/trix/gfx/male.png
+share/trix/gfx/massmessage.png
+share/trix/gfx/message.png
+share/trix/gfx/network.png
+share/trix/gfx/new.png
+share/trix/gfx/normal.png
+share/trix/gfx/notify.png
+share/trix/gfx/omg.png
+share/trix/gfx/phone.png
+share/trix/gfx/photo.png
+share/trix/gfx/present.png
+share/trix/gfx/prvalert.png
+share/trix/gfx/prvnormal.png
+share/trix/gfx/refresh.png
+share/trix/gfx/rose.png
+share/trix/gfx/sad.png
+share/trix/gfx/save.png
+share/trix/gfx/saveas.png
+share/trix/gfx/saynick.png
+share/trix/gfx/send.png
+share/trix/gfx/settings.png
+share/trix/gfx/shade.png
+share/trix/gfx/sleep.png
+share/trix/gfx/smile.png
+share/trix/gfx/smiletris.png
+share/trix/gfx/sound.png
+share/trix/gfx/star.png
+share/trix/gfx/switchuser.png
+share/trix/gfx/sysmsg.png
+share/trix/gfx/teeth.png
+share/trix/gfx/thumbs_down.png
+share/trix/gfx/thumbs_up.png
+share/trix/gfx/tongue.png
+share/trix/gfx/trash.png
+share/trix/gfx/trayntfy.png
+share/trix/gfx/unlove.png
+share/trix/gfx/uparrows.png
+share/trix/gfx/useraway.png
+share/trix/gfx/userdnd.png
+share/trix/gfx/useroffline.png
+share/trix/gfx/users.png
+share/trix/gfx/wilted_rose.png
+share/trix/gfx/wink.png
+share/trix/gfx/xedit.png
+share/trix/snd/beep.wav
+share/trix/snd/chatline.wav
+share/trix/snd/join.wav
+share/trix/snd/leave.wav
+share/trix/snd/message.wav
+share/trix/tr/trix_bg.qm
+share/trix/tr/trix_en.qm
+share/trix/tr/trix_ru.qm
+@dirrm share/trix/tr
+@dirrm share/trix/snd
+@dirrm share/trix/gfx
+@dirrm share/trix/avatars
+@dirrm share/trix