pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/centerim Text mode menu- and window-driven IM int...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/87c5420bcf1f
branches:  trunk
changeset: 532726:87c5420bcf1f
user:      jnemeth <jnemeth%pkgsrc.org@localhost>
date:      Thu Aug 30 00:47:01 2007 +0000

description:
Text mode menu- and window-driven IM interface that supports the
ICQ2000, Yahoo!, AIM, IRC, MSN, Gadu-Gadu and Jabber protocols. It
allows you to send, receive, and forward messages, URLs, SMSes
(both through the ICQ server and e-mail gateways supported by
Mirabilis), contacts, and email express messages. It also lets you
set your own and fetch others' away messages, and define external
handlers for incoming events. Apart from IM it supports LiveJournal
management and receiving RSS feeds.  This is a fork of CenterICQ.

diffstat:

 chat/centerim/DESCR            |    8 +
 chat/centerim/Makefile         |   68 ++++++++++++++
 chat/centerim/PLIST            |   28 +++++
 chat/centerim/distinfo         |   22 ++++
 chat/centerim/options.mk       |   16 +++
 chat/centerim/patches/patch-aa |   47 +++++++++
 chat/centerim/patches/patch-ac |   15 +++
 chat/centerim/patches/patch-ad |   14 ++
 chat/centerim/patches/patch-al |   21 ++++
 chat/centerim/patches/patch-am |   21 ++++
 chat/centerim/patches/patch-an |   21 ++++
 chat/centerim/patches/patch-ao |   21 ++++
 chat/centerim/patches/patch-ap |   21 ++++
 chat/centerim/patches/patch-aq |   21 ++++
 chat/centerim/patches/patch-ar |   21 ++++
 chat/centerim/patches/patch-as |   21 ++++
 chat/centerim/patches/patch-au |   27 +++++
 chat/centerim/patches/patch-av |   41 ++++++++
 chat/centerim/patches/patch-aw |   23 ++++
 chat/centerim/patches/patch-ax |  194 +++++++++++++++++++++++++++++++++++++++++
 chat/centerim/patches/patch-ay |   46 +++++++++
 chat/centerim/patches/patch-az |  108 ++++++++++++++++++++++
 22 files changed, 825 insertions(+), 0 deletions(-)

diffs (truncated from 913 to 300 lines):

diff -r 7f70808657ec -r 87c5420bcf1f chat/centerim/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/centerim/DESCR       Thu Aug 30 00:47:01 2007 +0000
@@ -0,0 +1,8 @@
+Text mode menu- and window-driven IM interface that supports the
+ICQ2000, Yahoo!, AIM, IRC, MSN, Gadu-Gadu and Jabber protocols. It
+allows you to send, receive, and forward messages, URLs, SMSes
+(both through the ICQ server and e-mail gateways supported by
+Mirabilis), contacts, and email express messages. It also lets you
+set your own and fetch others' away messages, and define external
+handlers for incoming events. Apart from IM it supports LiveJournal
+management and receiving RSS feeds.  This is a fork of CenterICQ.
diff -r 7f70808657ec -r 87c5420bcf1f chat/centerim/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/centerim/Makefile    Thu Aug 30 00:47:01 2007 +0000
@@ -0,0 +1,68 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/08/30 00:47:01 jnemeth Exp $
+#
+
+DISTNAME=      centerim-4.22.1
+CATEGORIES=    chat
+MASTER_SITES=  http://www.centerim.org/download/releases/ \
+               http://transacid.de/centerim/releases/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.centerim.org/
+COMMENT=       Instant Messenger interface supporting many protocols
+
+CONFLICTS=     centericq-[0-9]*
+
+USE_PKGLOCALEDIR=      yes
+USE_TOOLS+=            gmake perl:run
+USE_LANGUAGES=         c c++
+
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --with-ssl --with-openssl=${SSLBASE:Q}
+LIBS+=                 ${LDFLAGS}
+
+REPLACE_PERL=          misc/cicqconv
+
+INCOMPAT_CURSES+=      NetBSD-1.[45]*-* NetBSD-1.6-* NetBSD-1.6.[1-9]-*
+INCOMPAT_CURSES+=      NetBSD-1.6_*-* NetBSD-1.6.[1-9]_*-* NetBSD-1.6[A-T]-*
+INCOMPAT_CURSES+=      NetBSD-2.*-* NetBSD-3.*-*       # see PR 29060
+
+.include "options.mk"
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CPPFLAGS+=             -DAUDIO_PLAYER="\"/usr/bin/audioplay\""
+.else
+DEPENDS+=              sox>=12.17.4:../../audio/sox
+EVAL_PREFIX+=          SOX_PREFIX=sox
+CPPFLAGS+=             -DAUDIO_PLAYER="\"${SOX_PREFIX}/bin/play\""
+.endif
+
+.if !empty(MACHINE_ARCH:Msparc64)
+GCC_REQD+=             3.0     # see PR 29185
+.endif
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+
+.if defined(BUILDLINK_LIBICONV_LDADD) && !empty(BUILDLINK_LIBICONV_LDADD)
+#
+# libiconv depends on configure scripts to include <iconv.h> before
+# trying to link against -liconv.  Unfortunately, centericq's script
+# doesn't do this, so fake it.
+#
+CONFIGURE_ENV+=                ac_cv_lib_iconv_iconv=yes
+.endif
+
+post-install:
+       ${INSTALL_MAN} ${WRKSRC}/centerim.1 ${PREFIX}/${PKGMANDIR}/man1/
+
+.include "../../mk/bsd.pkg.mk"
+
+.if ${MACHINE_ARCH} == "alpha"
+# avoid toolchain bugs
+CFLAGS:=       ${CFLAGS:C/-O[0-9]*//g}
+.endif
diff -r 7f70808657ec -r 87c5420bcf1f chat/centerim/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/centerim/PLIST       Thu Aug 30 00:47:01 2007 +0000
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/08/30 00:47:01 jnemeth Exp $
+bin/centerim
+bin/cicqconv
+man/man1/centerim.1
+man/man1/cicqconv.1
+share/centerim/email.wav
+share/centerim/msg.wav
+share/centerim/offline.wav
+share/centerim/online.wav
+share/centerim/sms.wav
+share/centerim/url.wav
+share/locale/bg/LC_MESSAGES/centerim.mo
+share/locale/cs/LC_MESSAGES/centerim.mo
+share/locale/de/LC_MESSAGES/centerim.mo
+share/locale/es/LC_MESSAGES/centerim.mo
+share/locale/fr/LC_MESSAGES/centerim.mo
+share/locale/hu/LC_MESSAGES/centerim.mo
+share/locale/it/LC_MESSAGES/centerim.mo
+share/locale/ms/LC_MESSAGES/centerim.mo
+share/locale/nl/LC_MESSAGES/centerim.mo
+share/locale/pl/LC_MESSAGES/centerim.mo
+share/locale/pt_BR/LC_MESSAGES/centerim.mo
+share/locale/ro/LC_MESSAGES/centerim.mo
+share/locale/ru/LC_MESSAGES/centerim.mo
+share/locale/sv/LC_MESSAGES/centerim.mo
+share/locale/uk/LC_MESSAGES/centerim.mo
+share/locale/zh_TW.Big5/LC_MESSAGES/centerim.mo
+@dirrm share/centericq
diff -r 7f70808657ec -r 87c5420bcf1f chat/centerim/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/centerim/distinfo    Thu Aug 30 00:47:01 2007 +0000
@@ -0,0 +1,22 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/08/30 00:47:01 jnemeth Exp $
+
+SHA1 (centerim-4.22.1.tar.gz) = 221b3e505d5ea432977db7e5c0cebc85b4f928f2
+RMD160 (centerim-4.22.1.tar.gz) = 165b1acad70fa5d38b045510045b438c89776f3f
+Size (centerim-4.22.1.tar.gz) = 2606696 bytes
+SHA1 (patch-aa) = 244ccb35ceb53715af2134d27ab4c591ed62dd30
+SHA1 (patch-ac) = b32ff8df936ea66f3ff029ba322d4a94f1ebe4e6
+SHA1 (patch-ad) = bfe19ca98facfbb23a87dd28a176980fb4e986de
+SHA1 (patch-al) = d0c627ffc4ec2a7d179367dd2ddbbfd5ba52a377
+SHA1 (patch-am) = 942bab1a28fd79a40ac824e58855af35fb139141
+SHA1 (patch-an) = db7ec68a563f44e0a1350b4adb659dcbac183a23
+SHA1 (patch-ao) = ce9585139b7390884fcbbb92bcd9d107fc5b8a8b
+SHA1 (patch-ap) = b2aa04db28b38332d00b1cdb22887e2985edea59
+SHA1 (patch-aq) = 03be56591d3c925a6ffa48a1b87eb61a582f25c6
+SHA1 (patch-ar) = c74e757e3ef6bf1f6bc9575955f5b8f73ac4b51d
+SHA1 (patch-as) = b74310eb515c425cc98528f2b0384652370cef18
+SHA1 (patch-au) = 542111ddc738cc377c037ad910cedc0772707faf
+SHA1 (patch-av) = bf032d4447349d3b4f75c43f58eca3e0342b9f9d
+SHA1 (patch-aw) = d0238209328a6da5ae9f74d37f0fc44cf964b528
+SHA1 (patch-ax) = a96edcc859b30fde6e6577a833005fab8d45eabf
+SHA1 (patch-ay) = d7511f39004f2a86bda14b265ab2c4d03214dc2d
+SHA1 (patch-az) = 4542871c64fffb311cc464bc0b25fb59ef2db3b3
diff -r 7f70808657ec -r 87c5420bcf1f chat/centerim/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/centerim/options.mk  Thu Aug 30 00:47:01 2007 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1.1.1 2007/08/30 00:47:01 jnemeth Exp $
+#
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.centerim
+PKG_SUPPORTED_OPTIONS= gpgme
+PKG_SUGGESTED_OPTIONS= gpgme
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgpgme)
+#CONFIGURE_ARGS+=      --with-gpgme=${BUILDLINK_PREFIX.gpgme}
+#CONFIGURE_ARGS+=      --with-gpgme=${BUILDLINK_PREFIX.gpgme:Q}/bin/gpgme-config
+.  include "../../security/gpgme/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-gpgme
+.endif
diff -r 7f70808657ec -r 87c5420bcf1f chat/centerim/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/centerim/patches/patch-aa    Thu Aug 30 00:47:01 2007 +0000
@@ -0,0 +1,47 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/08/30 00:47:01 jnemeth Exp $
+
+--- src/icqconf.cc.orig        2005-01-27 00:52:47.000000000 +0100
++++ src/icqconf.cc
+@@ -27,7 +27,11 @@
+ #include <dirent.h>
+ #include <fstream>
+ 
+-#ifdef __sun__
++#ifdef __NetBSD__
++/* Find out about __NetBSD_Version__ */
++#  include <sys/param.h>
++#endif
++#if defined(__sun) || (defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900))
+ #include <sys/statvfs.h>
+ #endif
+ 
+@@ -644,13 +648,13 @@ void icqconf::loadsounds() {
+ 
+           switch(rs) {
+               case rscard:
+-                  fo << "*\tmsg\tplay " << SHARE_DIR << "/msg.wav" << endl;
+-                  fo << "*\turl\tplay " << SHARE_DIR << "/url.wav" << endl;
+-                  fo << "*\temail\tplay " << SHARE_DIR << "/email.wav" << endl;
+-                  fo << "*\tonline\tplay " << SHARE_DIR << "/online.wav" << endl;
+-                  fo << "*\toffline\tplay " << SHARE_DIR << "/offline.wav" << endl;
+-                  fo << "*\tsms\tplay " << SHARE_DIR << "/sms.wav" << endl;
+-                  break;
++                   fo << "*\tmsg\t" AUDIO_PLAYER " " << SHARE_DIR << "/msg.wav" << endl;
++                   fo << "*\turl\t" AUDIO_PLAYER " " << SHARE_DIR << "/url.wav" << endl;
++                   fo << "*\temail\t" AUDIO_PLAYER " " << SHARE_DIR << "/email.wav" << endl;
++                   fo << "*\tonline\t" AUDIO_PLAYER " " << SHARE_DIR << "/online.wav" << endl;
++                   fo << "*\toffline\t" AUDIO_PLAYER << SHARE_DIR << "/offline.wav" << endl;
++                   fo << "*\tsms\t" AUDIO_PLAYER " " << SHARE_DIR << "/sms.wav" << endl;
++                 break;
+ 
+               case rsspeaker:
+                   fo << "*\tmsg\t!spk1" << endl;
+@@ -1433,7 +1437,7 @@ string icqconf::gethttpproxypasswd() con
+ void icqconf::checkdiskspace() {
+     fenoughdiskspace = true;
+ 
+-#ifndef __sun__
++#if !(defined(__sun) || (defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900)))
+     struct statfs st;
+     if(!statfs(conf.getdirname().c_str(), &st)) {
+ #else
diff -r 7f70808657ec -r 87c5420bcf1f chat/centerim/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/centerim/patches/patch-ac    Thu Aug 30 00:47:01 2007 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2007/08/30 00:47:01 jnemeth Exp $
+
+--- libmsn/msn/util.cpp.orig   2007-06-13 15:44:04.000000000 -0700
++++ libmsn/msn/util.cpp
+@@ -24,6 +24,10 @@
+ #include <errno.h>
+ #include <cctype>
+ 
++ 
++// Get rid of the macro for platforms not having c++-safe headers.
++#undef toupper
++
+ namespace MSN 
+ {    
+     std::pair<std::string, int> splitServerAddress(const std::string & address, int default_port)
diff -r 7f70808657ec -r 87c5420bcf1f chat/centerim/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/centerim/patches/patch-ad    Thu Aug 30 00:47:01 2007 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.1.1.1 2007/08/30 00:47:01 jnemeth Exp $
+
+--- kksystr/include/kkiproc.h.orig     Tue Jul  9 13:07:29 2002
++++ kksystr/include/kkiproc.h
+@@ -9,7 +9,9 @@
+ #include <string.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
++#ifdef __linux__
+ #include <utmp.h>
++#endif
+ #include <string.h>
+ #include <ctype.h>
+ 
diff -r 7f70808657ec -r 87c5420bcf1f chat/centerim/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/centerim/patches/patch-al    Thu Aug 30 00:47:01 2007 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-al,v 1.1.1.1 2007/08/30 00:47:01 jnemeth Exp $
+
+--- connwrap/configure.orig    2007-06-13 15:45:08.000000000 -0700
++++ connwrap/configure
+@@ -1045,11 +1045,11 @@ Try \`$0 --help' for more information." 
+     export $ac_envvar ;;
+ 
+   *)
+-    # FIXME: should be removed in autoconf 3.0.
+-    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+-    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+-      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+-    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
++#    # FIXME: should be removed in autoconf 3.0.
++#    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
++#    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
++#      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
++#    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+     ;;
+ 
+   esac
diff -r 7f70808657ec -r 87c5420bcf1f chat/centerim/patches/patch-am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/centerim/patches/patch-am    Thu Aug 30 00:47:01 2007 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-am,v 1.1.1.1 2007/08/30 00:47:01 jnemeth Exp $
+
+--- kkconsui/configure.orig    2007-06-13 15:45:11.000000000 -0700
++++ kkconsui/configure
+@@ -1090,11 +1090,11 @@ Try \`$0 --help' for more information." 
+     export $ac_envvar ;;
+ 
+   *)
+-    # FIXME: should be removed in autoconf 3.0.
+-    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+-    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+-      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+-    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
++#    # FIXME: should be removed in autoconf 3.0.
++#    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
++#    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
++#      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
++#    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+     ;;
+ 
+   esac



Home | Main Index | Thread Index | Old Index