Richard Shaw | 1 Sep 17:46
Gravatar

Patches for MSN


Hi,

I'm trying to use centericq-4.11.0 from the port under FreeBSD 4.10. I've
come across the well documented MSN disconnection and unable to send
msg issues but have not had much luck with the patches i've seen
pasted into this list. I was wondering if some kind soul would be able
to mail me the latest working patches to get centericq working with MSN?

Thanks in advance

Richard

-Free biscuits/cookies for the first person to reply-

_______________________________________________
Cicq mailing list
Cicq@...
http://mailman.linuxpl.org/mailman/listinfo/cicq
Questions? Check the FAQ first: http://centericq.de/faq/

Paul Hampson | 2 Sep 07:07
Picon
Picon

Re: Patches for MSN

On Wed, Sep 01, 2004 at 04:46:37PM +0100, Richard Shaw wrote:
> 
> Hi,
> 
> I'm trying to use centericq-4.11.0 from the port under FreeBSD 4.10. I've
> come across the well documented MSN disconnection and unable to send
> msg issues but have not had much luck with the patches i've seen
> pasted into this list. I was wondering if some kind soul would be able
> to mail me the latest working patches to get centericq working with MSN?

The MSN disconnection patch which is in the Debian package and (I think)
going into both CenterICQ and libmsn's CVS is:
--- centericq-4.10.0.orig/libmsn-0.1/msn/notificationserver.cpp	2004-07-19
21:07:20.000000000 +0200
+++ centericq-4.10.0/libmsn-0.1/msn/notificationserver.cpp 2004-07-19 21:10:20.000000000 +0200
@@ -375,7 +375,7 @@
     {
 	assert(connectionStatus >= NS_CONNECTED);
 	std::ostringstream buf_;
-	buf_ << "ADD " << trid++ << " " << "FL" << " " << buddyName << " " << buddyName <<  groupID << "\r\n";
+	buf_ << "ADD " << trid++ << " " << "FL" << " " << buddyName << " " << buddyName <<  " " << groupID << "\r\n";
 	write(buf_);
     }

@@ -383,7 +383,7 @@
     {
 	assert(connectionStatus >= NS_CONNECTED);
 	std::ostringstream buf_;
-	buf_ << "REM " << trid++ << " " << "FL" << " " << buddyName << groupID << "\r\n";
+	buf_ << "REM " << trid++ << " " << "FL" << " " << buddyName << " " << groupID << "\r\n";
(Continue reading)

Badalian Slava | 2 Sep 10:40
Picon
Favicon

Вопросец по centericq

Народ... кто знает как вырубить все типы общения кроме
TEXT и URl
особенно передачу данных... очень надо...
у меня в локалке доступ для "хороших людей" к асе этой...
но они
злаупотребляют пересылкой файлов... может через
iptables мржно это
какнибудь прикрыть?

_______________________________________________
Cicq mailing list
Cicq@...
http://mailman.linuxpl.org/mailman/listinfo/cicq
Questions? Check the FAQ first: http://centericq.de/faq/

Richard Shaw | 3 Sep 18:04
Gravatar

Re: Patches for MSN


Hi Paul,

Thanks for the code snippet, i gave it ago on the 4.11.0 source and it died, i figure this is down
to the date stamps in your patch, so i removed the date/time stamps and ran it again and got

Patching file centericq-4.11.0/libmsn-0.1/msn/notificationserver.cpp using Plan A...
Hunk #1 failed at 375.
Hunk #2 failed at 383.
Hunk #3 failed at 391.
Hunk #4 failed at 399.
Hunk #5 failed at 407.
5 out of 5 hunks failed--saving rejects to centericq-4.11.0/libmsn-0.1/msn/notificationserver.cpp.rej
done

The top of that .ref file looks like -

----

***************
*** 375,381 ****
      {
         assert(connectionStatus >= NS_CONNECTED);
         std::ostringstream buf_;
-        buf_ << "ADD " << trid++ << " " << "FL" << " " << buddyName << " " << buddyName <<  groupID << "\r\n";
         write(buf_);
      }

--- 375,381 ----
      {
(Continue reading)

Paul Hampson | 4 Sep 06:37
Picon
Picon

Re: Patches for MSN

On Fri, Sep 03, 2004 at 05:04:35PM +0100, Richard Shaw wrote:
> Hi Paul,

> Thanks for the code snippet, i gave it ago on the 4.11.0 source and it died, i figure this is down
> to the date stamps in your patch, so i removed the date/time stamps and ran it again and got

> Patching file centericq-4.11.0/libmsn-0.1/msn/notificationserver.cpp using Plan A...
> Hunk #1 failed at 375.
> Hunk #2 failed at 383.
> Hunk #3 failed at 391.
> Hunk #4 failed at 399.
> Hunk #5 failed at 407.
> 5 out of 5 hunks failed--saving rejects to centericq-4.11.0/libmsn-0.1/msn/notificationserver.cpp.rej
> done

Hmm.... I've just grabbed the 4.11.0 archive, and redid the
patch by hand. It came out (according to vimdiff) identically.
But here it is anyway:

I've also attached it in case something's getting mangled by
the mailing list.

And if _that_ doesn't work, make the changes by hand. It's
only the addition of << " " in five relevant places.

--- notificationserver.cpp.org	2004-09-04 14:31:25.000000000 +1000
+++ notificationserver.cpp	2004-09-04 14:32:56.000000000 +1000
@@ -375,7 +375,7 @@
     {
 	assert(connectionStatus >= NS_CONNECTED);
(Continue reading)

Michael Knight | 5 Sep 08:19
Picon
Gravatar

MSN status modes

Hi All,

I was finding it a little irritating that setting the N/A mode on all my
logged in accounts would set my MSN mode to 'Gone to Lunch'.

Here's a patch that maps N/A to 'Away' instead (and Away maps to 'No
Activity'):

diff -uNr centericq-4.11.0/src/hooks/msnhook.cc
centericq-4.11.0.mk/src/hooks/msnhook.cc
--- centericq-4.11.0/src/hooks/msnhook.cc       2004-07-31
20:47:05.000000000 +1000
+++ centericq-4.11.0.mk/src/hooks/msnhook.cc    2004-09-04
01:15:44.258891976 +1000
@@ -109,9 +109,9 @@
     convstat[MSN::STATUS_INVISIBLE] = invisible;
     convstat[MSN::STATUS_BUSY] = dontdisturb;
     convstat[MSN::STATUS_ONTHEPHONE] = occupied;
-    convstat[MSN::STATUS_AWAY] = away;
-    convstat[MSN::STATUS_BERIGHTBACK] = away;
-    convstat[MSN::STATUS_OUTTOLUNCH] = notavail;
+    convstat[MSN::STATUS_AWAY] = notavail;
+    convstat[MSN::STATUS_BERIGHTBACK] = dontdisturb;
+    convstat[MSN::STATUS_OUTTOLUNCH] = dontdisturb;
     convstat[MSN::STATUS_IDLE] = away;
 }

I thought some other people may have experienced the same irritation  :) 

Sorry if something like this has already been done.
(Continue reading)

Jonas H. | 5 Sep 20:36
Picon
Favicon

Re: MSN status modes

On Sun, Sep 05, 2004 at 04:19:11PM +1000, Michael Knight wrote:
> Hi All,
> 
> I was finding it a little irritating that setting the N/A mode on all my
> logged in accounts would set my MSN mode to 'Gone to Lunch'.

I second that - people keep asking me about my lunching habbits. This
does sound more intuitive to me.

> Here's a patch that maps N/A to 'Away' instead (and Away maps to 'No
> Activity'):

Konst? Julien?

--

-- 
Jonas H
rasher(at)rasher(dot)dk
                                                   -- Watch this space
_______________________________________________
Cicq mailing list
Cicq@...
http://mailman.linuxpl.org/mailman/listinfo/cicq
Questions? Check the FAQ first: http://centericq.de/faq/
Paul Hampson | 6 Sep 04:31
Picon
Picon

Re: MSN status modes

On Sun, Sep 05, 2004 at 08:36:52PM +0200, Jonas H. wrote:
> On Sun, Sep 05, 2004 at 04:19:11PM +1000, Michael Knight wrote:
> > Hi All,
> > 
> > I was finding it a little irritating that setting the N/A mode on all my
> > logged in accounts would set my MSN mode to 'Gone to Lunch'.

> I second that - people keep asking me about my lunching habbits. This
> does sound more intuitive to me.

> > Here's a patch that maps N/A to 'Away' instead (and Away maps to 'No
> > Activity'):

> Konst? Julien?

I'd like to speak up against this going into the upstream.

Given MSN's limited list of statuses, surely no one actually
thinks 'Gone To Lunch' means "Gone To Lunch"?

And I certainly don't like the idea that when I'm 'Away'
people will see 'Idle' and assume I'm _there_. >_<

--

-- 
-----------------------------------------------------------
Paul "TBBle" Hampson, MCSE
7th year CompSci/Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson@...

(Continue reading)

Fairlight | 6 Sep 05:47

Re: MSN status modes

With neither thought nor caution, Paul Hampson blurted:
> On Sun, Sep 05, 2004 at 08:36:52PM +0200, Jonas H. wrote:
> > On Sun, Sep 05, 2004 at 04:19:11PM +1000, Michael Knight wrote:
> > > Hi All,
> > > 
> > > I was finding it a little irritating that setting the N/A mode on all my
> > > logged in accounts would set my MSN mode to 'Gone to Lunch'.
> 
> > I second that - people keep asking me about my lunching habbits. This
> > does sound more intuitive to me.
> 
> > > Here's a patch that maps N/A to 'Away' instead (and Away maps to 'No
> > > Activity'):
> 
> > Konst? Julien?
> 
> I'd like to speak up against this going into the upstream.
> 
> Given MSN's limited list of statuses, surely no one actually
> thinks 'Gone To Lunch' means "Gone To Lunch"?
> 
> And I certainly don't like the idea that when I'm 'Away'
> people will see 'Idle' and assume I'm _there_. >_<

Why not just change them to "Away" and "Not Available" like any sane
client?

I do think the "Gone to Lunch" should be changed to -something- else.

mark->
(Continue reading)

Joel Wilson | 6 Sep 21:35
Favicon

Compiling CICQ 4.11.0 on Solaris 8

I'm getting stuck in the compile of CICQ 4.11.0 on Solaris 8.

Using OpenSSL 0.9.7d and ncurses 5.2

The configure line was:

./configure --disable-konst --disable-msn --with-openssl=/usr/local/ssl

Has anyone seen this error?

Here is the error output:

c++  -g -O2  -o centericq -L../firetalk-0.1 -L../kkconsui-0.1 
-L../kkstrtext-0.1 -L../libicq2000-0.1 -L../libjabber-0.1 
-L../libyahoo2-0.1 -L../kksystr-0.1 -L../connwrap-0.1 -L../libgadu-0.1 
-L../libmsn-0.1 icqcontact.o icqgroups.o eventmanager.o icqdialogs.o 
icqhist.o imexternal.o imcontact.o imlogger.o accountmanager.o 
icqcontacts.o icqmlist.o imcontroller.o icqconf.o imevents.o icqface.o 
centermain.o icqgroup.o centericq.o ../src/hooks/libhooks.a  -lfiretalk 
-lkkconsui -lkkstrtext -llibicq2000 -llibjabber -llibyahoo2 -lkksystr 
-lconnwrap -llibgadu -llibmsn ../intl/libintl.a  -ljpeg -lncurses -lnsl 
-lsocket -lssl -lcrypto 
Undefined                       first referenced
 symbol                             in file
OPENSSL_add_all_algorithms_noconf   
../connwrap-0.1/libconnwrap.a(connwrap.o)
ld: fatal: Symbol referencing errors. No output written to centericq
collect2: ld returned 1 exit status

_______________________________________________
(Continue reading)


Gmane