Subject: pkg/36840: sametime support in pidgin lost after gaim 2(wip)->pidgin switch
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <lars.nordlund@hem.utfors.se>
List: pkgsrc-bugs
Date: 08/26/2007 08:50:00
>Number: 36840
>Category: pkg
>Synopsis: sametime support in pidgin lost after gaim 2(wip)->pidgin switch
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 26 08:50:00 +0000 2007
>Originator: Lars Nordlund
>Release: current
>Organization:
>Environment:
NetBSD laphroaig 4.99.29 NetBSD 4.99.29 (LAPHROAIG) #2: Sun Aug 19 02:38:19 CEST 2007 lars@laphroaig:/home/lars/tmp/current-obj_amd64/sys/arch/amd64/compile/LAPHROAIG amd64
>Description:
When gaim 2.0 beta in pkgsrc-wip became pkgsrc/chat/pidgin, sametime support was lost. It is achieved with the use of the meanwhile library.
I propose importing wip/meanwhile into pkgsrc/chat and adding the following patch to chat/libpurple:
===> lars@laphroaig:~/netbsd/pkgsrc-current/chat/libpurple %cvs diff
Index: PLIST
===================================================================
RCS file: /home/cvs/rsync/pkgsrc/chat/libpurple/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- PLIST 13 Aug 2007 22:18:58 -0000 1.4
+++ PLIST 25 Aug 2007 20:51:52 -0000
@@ -155,5 +155,8 @@
${DBUS}include/libpurple/dbus-useful.h
${DBUS}lib/libpurple-client.la
${DBUS}lib/purple-2/dbus-example.la
+${MEANWHILE}lib/purple-2/libsametime.a
+${MEANWHILE}lib/purple-2/libsametime.la
+${MEANWHILE}lib/purple-2/libsametime.so
@dirrm lib/purple-2
@dirrm include/libpurple
Index: options.mk
===================================================================
RCS file: /home/cvs/rsync/pkgsrc/chat/libpurple/options.mk,v
retrieving revision 1.4
diff -u -r1.4 options.mk
--- options.mk 13 Aug 2007 22:18:58 -0000 1.4
+++ options.mk 25 Aug 2007 20:51:52 -0000
@@ -1,7 +1,7 @@
# $NetBSD: options.mk,v 1.4 2007/08/13 22:18:58 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libpurple
-PKG_SUPPORTED_OPTIONS+= gnutls perl tcl debug dbus
+PKG_SUPPORTED_OPTIONS+= gnutls perl tcl debug dbus meanwhile
PKG_SUGGESTED_OPTIONS+= gnutls
.include "../../mk/bsd.options.mk"
@@ -50,6 +50,13 @@
PLIST_SUBST+= DBUS="@comment "
.endif
+.if !empty(PKG_OPTIONS:Mmeanwhile)
+PLIST_SUBST+= MEANWHILE=
+.include "../../wip/meanwhile/buildlink3.mk"
+.else
+PLIST_SUBST+= MEANWHILE="@comment "
+.endif
+
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
.else
Since sametime is a dwindling protocol I chose to make it an option. For simplicity it should perhaps just be mandatory without the option-stuff in there.
>How-To-Repeat:
Try to use pidgin to connect to a novell samtime network.
>Fix:
Patch appended.