After installing the kdenetwork4 package that I built in my tinderbox,
I noticed some things that need to be addressed.

The main issue is an apparent change in what library Kopete uses to
connect to MSN.  While this library was previously in the Kopete
codebase, it now uses the external libmsn package (maintained at
net-im/libmsn in the ports tree) to enable the MSN protocol (now
called WLM - Windows Live Messenger?).  Assuming that we want to
include the MSN connect by default like it was before, we need to add
a dependency on net-im/libmsn to the kdenetwork4 port.

Unfortunately, the libmsn version in the ports tree is not recent
enough to build Kopete properly.  Based on what the Kubuntu folks have
done with their recent KDE 4.2 beta 2 packages, it looks like the
libmsn version should be at least 4.0-beta1-svn77.  I've been able to
build the latest libmsn 4.0 beta 2 and have it work with the Kopete
build, so we can hopefully use the libmsn 4.0 beta 2 tarball instead
of rolling something right from subversion.  Attached patch is what I
used to build the libmsn 4.0 beta 2 port.

To use libmsn in kdenetwork4, I've had to add the line:
BUILD_DEPENDS=  ${LOCALBASE}/lib/libmsn.so.0.1.0:${PORTSDIR}/net-im/libmsn

to the kdenetwork4 Makefile.  I don't know why the libmsn library
isn't getting picked up by ldconfig, but as a result I can't get the
LIB_DEPENDS line to work properly in the Makefile (and I'm guessing
that the LIB_DEPENDS line is the one that actually should be used - it
worked with the libmsn 3.2 version that was in the ports tree...).

There are also some other dependent libraries that the kdenetwork4
port is looking for.  Do we want to include any of these by default or
and config options for them?  The tinderbox build log shows:

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ libnxcl, 1.0 or higher: NX X compression client library
<http://svn.berlios.de/svnroot/repos/freenx/trunk/freenx-client/nxcl/>
Needed to build Krdc with NX support
+ libortp, 0.13 or higher: oRTP provides an API to send rtp packets
<http://www.linphone.org/index.php/eng/code_review/ortp>
Needed to build Jingle support in Kopete.
+ Decibel: KDE framework for real-time communication <http://decibel.kde.org/>
Used by the Kopete telepathy protocol.
+ GMP: The GNU Multiple Precision Arithmetic Library <http://gmplib.org/>
Needed to build KGet Torrent support.
+ WebKitKde: Webkitkde libraries and header files <>
Webkitkde is necessary to compile support for WebKitKde.
+ XMMS: X MultiMedia System development libraries <http://www.xmms.org>
Used by the Kopete nowlistening plugin to support the XMMS player.
+ libmeanwhile: A library for protocol support for connection to
Sametime servers <http://meanwhile.sf.net>
Required for the Kopete Meanwhile protocol
-----------------------------------------------------------------------------

"Decibel", "GMP" and "XMMS" were also part of the 4.1.3 version and
were not enabled in the tinderbox build log, and I didn't see any
config options to enable them.  Looks like "libxcl", "libortp",
"WebKitKde" and "libmeanwhile" are new to the 4.1.85 version.

And the good news to go along with all this?  The Jabber plugin
connects to Google Talk without any problems again and once the libmsn
dependency is added the WLM (formerly MSN) plugin connects to MSN
without any problems!

Hope all this helps.  The 4 hours or so I had today to use the KDE 4.2
beta 2 installation was very encouraging.  Felt much snappier than
4.1.x and the small visual tweaks that I noticed were all welcome
changes.  Looking forward to KDE 4.2 on FreeBSD.

Matt
diff -U3 -r libmsn/Makefile /home/tinderbox/portstrees/KDE-Area51/ports/net-im/libmsn/Makefile
--- Makefile.orig	2007-01-31 20:41:52.000000000 -0600
+++ Makefile	2008-12-23 21:15:05.000000000 -0600
@@ -7,11 +7,10 @@
 #
 
 PORTNAME=	libmsn
-PORTVERSION=	3.2
-PORTREVISION=	2
+PORTVERSION=	4.0
 CATEGORIES=	net-im
-MASTER_SITES=	http://libmsn.bdash.net.nz/files/ \
-		${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
+DISTNAME=	${PORTNAME}-${PORTVERSION}-beta2
 
 MAINTAINER=	po...@freebsd.org
@@ -19,8 +18,8 @@
 
 LIB_DEPENDS=	curl.4:${PORTSDIR}/ftp/curl
 
-USE_AUTOTOOLS=	libtool:15
-GNU_CONFIGURE=	yes
+USE_BZIP2=	yes
+USE_CMAKE=	yes
 USE_LDCONFIG=	yes
 
 .include <bsd.port.pre.mk>
@@ -29,4 +28,8 @@
 BROKEN=		"Does not compile on alpha" 
 .endif
 
+post-configure:
+	${REINPLACE_CMD} -e 's|-lssl -lcrypto|-lssl -lcrypto -lcompat|g' ${WRKSRC}/msntest/CMakeFiles/msntest.dir/link.txt
+	${REINPLACE_CMD} -e 's|-lcrypto|-lcrypto -lcompat|g' ${WRKSRC}/msn/CMakeFiles/msn.dir/link.txt
+
 .include <bsd.port.post.mk>
diff -U3 -r libmsn/distinfo /home/tinderbox/portstrees/KDE-Area51/ports/net-im/libmsn/distinfo
--- distinfo.orig	2005-11-25 10:55:59.000000000 -0600
+++ distinfo	2008-12-23 11:58:09.000000000 -0600
@@ -1,3 +1,3 @@
-MD5 (libmsn-3.2.tar.gz) = 6f931cd98522cecae823072f0e346879
-SHA256 (libmsn-3.2.tar.gz) = fefeff6ca52f4fa7ab04e15848ea61dee9736241d80c247e3b6a1d1a3af4d471
-SIZE (libmsn-3.2.tar.gz) = 653862
+MD5 (libmsn-4.0-beta2.tar.bz2) = e2088e987a44cef0b243b4adcb8c3825
+SHA256 (libmsn-4.0-beta2.tar.bz2) = 67079d81ede4b65376b61dc10d34ecfe27d53c0db7fd725592c21650b4d3e819
+SIZE (libmsn-4.0-beta2.tar.bz2) = 155319
diff -U3 -r libmsn/pkg-plist /home/tinderbox/portstrees/KDE-Area51/ports/net-im/libmsn/pkg-plist
--- pkg-plist.orig	2006-02-23 04:38:33.000000000 -0600
+++ pkg-plist	2008-12-23 13:26:00.000000000 -0600
@@ -4,9 +4,6 @@
 include/msn/connection.h
 include/msn/errorcodes.h
 include/msn/externals.h
-include/msn/filetransfer.h
-include/msn/invitation.h
-include/msn/md5.h
 include/msn/message.h
 include/msn/msn.h
 include/msn/notificationserver.h
@@ -14,8 +11,13 @@
 include/msn/sstream_fix.h
 include/msn/switchboardserver.h
 include/msn/util.h
-...@dirrm include/msn
-lib/libmsn.a
-lib/libmsn.la
+include/msn/soap.h
+include/msn/p2p.h
+include/msn/msnobject.h
+include/msn/libmsn_export.h
 lib/libmsn.so
-lib/libmsn.so.0
+lib/libmsn.so.0.1
+lib/libmsn.so.0.1.0
+lib/pkgconfig/libmsn.pc
+...@dirrm include/msn
+...@dirrmtry lib/pkgconfig
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to