Index: head/net-im/Makefile =================================================================== --- head/net-im/Makefile (revision 156731) +++ head/net-im/Makefile (revision 156732) @@ -1,112 +1,113 @@ # $FreeBSD$ # COMMENT = Instant messaging SUBDIR += aim SUBDIR += amsn SUBDIR += ari-yahoo SUBDIR += ayttm SUBDIR += bsflite SUBDIR += ccmsn SUBDIR += centericq SUBDIR += cicquin SUBDIR += coccinella SUBDIR += convey SUBDIR += echat SUBDIR += ejabberd SUBDIR += eva SUBDIR += firetalk SUBDIR += fugu SUBDIR += gaim SUBDIR += gaim-assistant SUBDIR += gaim-bangexec SUBDIR += gaim-extprefs SUBDIR += gaim-guifications SUBDIR += gaim-ignorance SUBDIR += gaim-latex SUBDIR += gaim-openq SUBDIR += gaim-rss-reader SUBDIR += gaim-slashexec SUBDIR += gajim SUBDIR += gale SUBDIR += gicq SUBDIR += ginsu SUBDIR += gnome-jabber SUBDIR += gnomeicu2 SUBDIR += gossip SUBDIR += gtkyahoo SUBDIR += gyach SUBDIR += icb SUBDIR += ickle SUBDIR += icmpchat SUBDIR += icqlib SUBDIR += imcom SUBDIR += jabberd SUBDIR += jabber SUBDIR += jabber-aim SUBDIR += jabber-conference SUBDIR += jabber-jud SUBDIR += jabber-msn SUBDIR += jabber-pyicq SUBDIR += jabber-pymsn SUBDIR += jabber-yahoo SUBDIR += jabber-users-agent SUBDIR += jarl SUBDIR += jit SUBDIR += jwchat SUBDIR += kf SUBDIR += kmerlin SUBDIR += kmess SUBDIR += konverse SUBDIR += kpopup SUBDIR += libicq SUBDIR += libicq2000 + SUBDIR += libjingle SUBDIR += libmsn SUBDIR += libyahoo2 SUBDIR += licq SUBDIR += licq-console SUBDIR += licq-osd SUBDIR += licq-qt-gui SUBDIR += linpopup SUBDIR += linux-ymessenger SUBDIR += loudmouth SUBDIR += mcabber SUBDIR += meanwhile SUBDIR += meanwhile-gaim SUBDIR += mercury SUBDIR += micq SUBDIR += mu-conference SUBDIR += naim SUBDIR += newsbot SUBDIR += ocaml-jabbr SUBDIR += pebrot SUBDIR += pork SUBDIR += py-msnp SUBDIR += py-pyxmpp SUBDIR += p5-Jabber-Connection SUBDIR += p5-Net-AIM SUBDIR += p5-Net-AOLIM SUBDIR += p5-Net-ICQ2000 SUBDIR += p5-Net-Jabber SUBDIR += p5-Net-MSN SUBDIR += p5-Net-NetSend SUBDIR += p5-Net-OSCAR SUBDIR += p5-Net-XMPP SUBDIR += psi SUBDIR += py-jabber SUBDIR += py-twistedWords SUBDIR += ruby-xmpp4r SUBDIR += sendxmpp SUBDIR += simicq SUBDIR += sulci SUBDIR += tik SUBDIR += tkabber SUBDIR += tkabber-devel SUBDIR += tmsnc SUBDIR += vicq SUBDIR += vqcc-gtk SUBDIR += ymessenger SUBDIR += ysm .include Property changes on: head/net-im/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.13 \ No newline at end of property +1.14 \ No newline at end of property Index: head/net-im/libjingle/Makefile =================================================================== --- head/net-im/libjingle/Makefile (nonexistent) +++ head/net-im/libjingle/Makefile (revision 156732) @@ -0,0 +1,88 @@ +# New ports collection makefile for: libjingle +# Date created: Wed Feb 22 01:33:20 UTC 2006 +# Whom: Mario Sergio Fujikawa Ferreira +# +# $FreeBSD$ +# + +PORTNAME= libjingle +PORTVERSION= 0.2.1 +CATEGORIES= net-im +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= lioux@FreeBSD.org +COMMENT= Google Talk's implementation of Jingle and Jingle-Audio + +BUILD_DEPENDS= \ + pkg-config:${PORTSDIR}/devel/pkgconfig +LIB_DEPENDS= \ + speex.3:${PORTSDIR}/audio/speex \ + ilbc.0:${PORTSDIR}/net/ilbc \ + ortp.2:${PORTSDIR}/net/ortp \ + expat.6:${PORTSDIR}/textproc/expat2 + +USE_GNOME= glib20 +USE_OPENSSL= yes +USE_AUTOTOOLS= libtool:15 +USE_DOS2UNIX= README +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= \ + --with-ilbc=${LOCALBASE} \ + --with-speex=${LOCALBASE} +CONFIGURE_ENV= \ + CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${OPENSSLINC} ${PTHREAD_CFLAGS} -g" \ + PKG_CONFIG="${PKG_CONFIG}" \ + EXPAT_CFLAGS="-I${LOCALBASE}/include" \ + EXPAT_LIBS="-L${LOCALBASE}/lib -lexpat" \ + GLIB_CFLAGS="$$(${PKG_CONFIG} --cflags glib-2.0)" \ + GLIB_LIBS="$$(${PKG_CONFIG} --libs glib-2.0)" \ + ILBC_CFLAGS="-I${LOCALBASE}/include/ilbc" \ + ILBC_LIBS="-L${LOCALBASE}/lib -lilbc" \ + SPEEX_CFLAGS="$$(${PKG_CONFIG} --cflags speex)" \ + SPEEX_LIBS="$$(${PKG_CONFIG} --libs speex)" + +DOC_FILES= \ + AUTHORS \ + ChangeLog \ + DOCUMENTATION \ + NEWS \ + README + +.ifndef(NOPORTDOCS) +PORTDOCS= \ + ${DOC_FILES} +.endif + +PLIST_FILES+= \ + bin/relayserver \ + bin/stunserver \ + +post-configure: +# force glib +# force ilbc +# force speex + @${REINPLACE_CMD} -E \ + -e 's|^.+(HAVE_GLIB)[[:space:]].*$$|#define \1 1|' \ + -e 's|^.+(HAVE_ILBC_DECODE_H)[[:space:]].*$$|#define \1 1|' \ + -e 's|^.+(HAVE_ILBC)[[:space:]].*$$|#define \1 1|' \ + -e 's|^.+(HAVE_SPEEX_H)[[:space:]].*$$|#define \1 1|' \ + -e 's|^.+(HAVE_SPEEX)[[:space:]].*$$|#define \1 1|' \ + ${CONFIGURE_WRKSRC}/config.h + +post-install: +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + @${CAT} ${PKGMESSAGE} + +.include + +LDFLAGS+=-L${LOCALBASE}/lib -L${OPENSSLLIB} ${PTHREAD_LIBS} +PKG_CONFIG?=${LOCALBASE}/bin/pkg-config + +.include Property changes on: head/net-im/libjingle/Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/net-im/libjingle/distinfo =================================================================== --- head/net-im/libjingle/distinfo (nonexistent) +++ head/net-im/libjingle/distinfo (revision 156732) @@ -0,0 +1,3 @@ +MD5 (libjingle-0.2.1.tar.gz) = 8b9bebd3d6f7e3ad4d662856fec482f5 +SHA256 (libjingle-0.2.1.tar.gz) = bb5be30e7451e2edb10cf15636565f26060e09882501fd927d1a527905528d63 +SIZE (libjingle-0.2.1.tar.gz) = 662979 Property changes on: head/net-im/libjingle/distinfo ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-im/libjingle/files/patch-configure =================================================================== --- head/net-im/libjingle/files/patch-configure (nonexistent) +++ head/net-im/libjingle/files/patch-configure (revision 156732) @@ -0,0 +1,65 @@ +--- configure.orig Wed Feb 22 15:57:11 2006 ++++ configure Wed Feb 22 16:04:40 2006 +@@ -6353,7 +6353,7 @@ + fi + ;; + +- hpux*) ++ hpux* | freebsd*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in +@@ -6416,7 +6416,7 @@ + lt_prog_compiler_static='-Bstatic' + ;; + +- linux*) ++ linux* | freebsd*) + case $CC in + icc* | ecc*) + lt_prog_compiler_wl='-Wl,' +@@ -10793,7 +10793,7 @@ + lt_prog_compiler_pic_CXX=-Kconform_pic + fi + ;; +- hpux*) ++ hpux* | freebsd*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in +@@ -13230,7 +13230,7 @@ + fi + ;; + +- hpux*) ++ hpux* | freebsd*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in +@@ -13293,7 +13293,7 @@ + lt_prog_compiler_static_F77='-Bstatic' + ;; + +- linux*) ++ linux* | freebsd*) + case $CC in + icc* | ecc*) + lt_prog_compiler_wl_F77='-Wl,' +@@ -15568,7 +15568,7 @@ + fi + ;; + +- hpux*) ++ hpux* | freebsd) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in +@@ -15631,7 +15631,7 @@ + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + +- linux*) ++ linux* | freebsd*) + case $CC in + icc* | ecc*) + lt_prog_compiler_wl_GCJ='-Wl,' Property changes on: head/net-im/libjingle/files/patch-configure ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-im/libjingle/files/patch-talk__base__criticalsection.h =================================================================== --- head/net-im/libjingle/files/patch-talk__base__criticalsection.h (nonexistent) +++ head/net-im/libjingle/files/patch-talk__base__criticalsection.h (revision 156732) @@ -0,0 +1,10 @@ +--- talk/base/criticalsection.h.orig Wed Feb 22 18:57:24 2006 ++++ talk/base/criticalsection.h Wed Feb 22 18:54:37 2006 +@@ -83,6 +83,7 @@ + public: + CriticalSection() { + pthread_mutexattr_t mutex_attribute; ++ pthread_mutexattr_init(&mutex_attribute); + pthread_mutexattr_settype(&mutex_attribute, PTHREAD_MUTEX_RECURSIVE); + pthread_mutex_init(&mutex_, &mutex_attribute); + } Property changes on: head/net-im/libjingle/files/patch-talk__base__criticalsection.h ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-im/libjingle/files/patch-talk__base__ssladapter.cc =================================================================== --- head/net-im/libjingle/files/patch-talk__base__ssladapter.cc (nonexistent) +++ head/net-im/libjingle/files/patch-talk__base__ssladapter.cc (revision 156732) @@ -0,0 +1,11 @@ +--- talk/base/ssladapter.cc.orig Wed Feb 22 00:28:05 2006 ++++ talk/base/ssladapter.cc Wed Feb 22 00:29:01 2006 +@@ -99,7 +99,7 @@ + } + + static unsigned long id_function() { +- return static_cast(THREAD_ID); ++ return reinterpret_cast(THREAD_ID); + } + + struct CRYPTO_dynlock_value { Property changes on: head/net-im/libjingle/files/patch-talk__base__ssladapter.cc ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-im/libjingle/files/patch-talk__session__phone__linphonemediaengine.cc =================================================================== --- head/net-im/libjingle/files/patch-talk__session__phone__linphonemediaengine.cc (nonexistent) +++ head/net-im/libjingle/files/patch-talk__session__phone__linphonemediaengine.cc (revision 156732) @@ -0,0 +1,20 @@ +--- talk/session/phone/linphonemediaengine.cc.orig Wed Feb 22 16:32:44 2006 ++++ talk/session/phone/linphonemediaengine.cc Wed Feb 22 16:41:45 2006 +@@ -139,7 +139,7 @@ + + #ifdef HAVE_SPEEX + ms_speex_codec_init(); +- rtp_profile_set_payload(&av_profile, 110, &speex_wb); ++ rtp_profile_set_payload(&av_profile, 110, &payload_type_speex_wb); + codecs_.push_back(Codec(110, "speex", 8)); + #endif + +@@ -149,7 +149,7 @@ + codecs_.push_back(Codec(102, "iLBC", 4)); + #endif + +- rtp_profile_set_payload(&av_profile, 0, &pcmu8000); ++ rtp_profile_set_payload(&av_profile, 0, &payload_type_pcmu8000); + codecs_.push_back(Codec(0, "PCMU", 2)); + + return true; Property changes on: head/net-im/libjingle/files/patch-talk__session__phone__linphonemediaengine.cc ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-im/libjingle/files/patch-talk__third_party__mediastreamer__msrtprecv.c =================================================================== --- head/net-im/libjingle/files/patch-talk__third_party__mediastreamer__msrtprecv.c (nonexistent) +++ head/net-im/libjingle/files/patch-talk__third_party__mediastreamer__msrtprecv.c (revision 156732) @@ -0,0 +1,11 @@ +--- talk/third_party/mediastreamer/msrtprecv.c.orig Wed Feb 22 16:43:03 2006 ++++ talk/third_party/mediastreamer/msrtprecv.c Wed Feb 22 16:45:47 2006 +@@ -120,7 +120,7 @@ + gint got=0; + /* we are connected with queues (surely for video)*/ + /* use the sync system time to compute a timestamp */ +- PayloadType *pt=rtp_profile_get_payload(r->rtpsession->profile,r->rtpsession->payload_type); ++ PayloadType *pt=rtp_profile_get_payload(r->rtpsession->profile,r->rtpsession->recv_pt); + if (pt==NULL) { + ms_warning("ms_rtp_recv_process(): NULL RtpPayload- skipping."); + return; Property changes on: head/net-im/libjingle/files/patch-talk__third_party__mediastreamer__msrtprecv.c ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-im/libjingle/files/patch-talk__third_party__mediastreamer__msrtpsend.c =================================================================== --- head/net-im/libjingle/files/patch-talk__third_party__mediastreamer__msrtpsend.c (nonexistent) +++ head/net-im/libjingle/files/patch-talk__third_party__mediastreamer__msrtpsend.c (revision 156732) @@ -0,0 +1,11 @@ +--- talk/third_party/mediastreamer/msrtpsend.c.orig Wed Feb 22 16:47:20 2006 ++++ talk/third_party/mediastreamer/msrtpsend.c Wed Feb 22 16:47:53 2006 +@@ -85,7 +85,7 @@ + { + guint32 clockts; + /* use the sync system time to compute a timestamp */ +- PayloadType *pt=rtp_profile_get_payload(r->rtpsession->profile,r->rtpsession->payload_type); ++ PayloadType *pt=rtp_profile_get_payload(r->rtpsession->profile,r->rtpsession->send_pt); + g_return_val_if_fail(pt!=NULL,0); + clockts=(guint32)(((double)synctime * (double)pt->clock_rate)/1000.0); + ms_trace("ms_rtp_send_process: sync->time=%i clock=%i",synctime,clockts); Property changes on: head/net-im/libjingle/files/patch-talk__third_party__mediastreamer__msrtpsend.c ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-im/libjingle/pkg-descr =================================================================== --- head/net-im/libjingle/pkg-descr (nonexistent) +++ head/net-im/libjingle/pkg-descr (revision 156732) @@ -0,0 +1,9 @@ +[ excerpt from developer's web site ] + +Google's Libjingle is Google Talk's implementation of Jingle and +Jingle-Audio (proposed extensions to XMPP) to interoperate with +Google Talk's peer-to-peer and voice calling capabilities. + +WWW: http://code.google.com/apis/talk/index.html + +-- lioux@FreeBSD.org Property changes on: head/net-im/libjingle/pkg-descr ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-im/libjingle/pkg-message =================================================================== --- head/net-im/libjingle/pkg-message (nonexistent) +++ head/net-im/libjingle/pkg-message (revision 156732) @@ -0,0 +1,19 @@ +================ ================ +---------------- ATTENTION ---------------- +================ ================ + +This is a development version port. Its +purpose is providing the means to test +libjingle under FreeBSD, allow developers +to see how can they adapt libjingle aware +applications and provide feedback +to the developers of libjingle. + +THIS PORT DOES NOT CONTAIN VOIP OR +GOOGLE TALK APPLICATIONS. THIS IS A PROOF +OF CONCEPT, LOOK FOR IM APPLICATION +DEVELOPERS FOR VOIP. + +================ ================ +---------------- ATTENTION ---------------- +================ ================ Property changes on: head/net-im/libjingle/pkg-message ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property