I have been reluctant to update Mbuni to use Kannel CVS libs, because  
of the extra complexity it puts on the build process for users.  
However I am advised that a new Kannel release is imminent, at which  
point we shall update Mbuni as well. The good news is that the need  
to patch Kannel will go away at that point, as pretty much all of the  
changes in the patch are now part of Kannel CVS

P.

On Mar 09, 2006, at 09:20, Machado, Rodny wrote:

> Indeed, that's why Gelvis is helping me, because he has done this  
> already.
>
>
> Saludos,
>  --RM
> --Mensaje enviado desde el servicio de BlackBerry de Movistar Panama--
>
> -----Original Message-----
> From: Paul Bagyenda
> To: Mbuni MMS Gateway Users List
> Sent: Thu Mar 09 00:57:21 2006
> Subject: Re: [Users] Installing mbuni over kannel cvs sources
>
> Mbuni should be built against Kannel 1.4.0. Kannel CVS is far to  
> different from 1.4.0, so the patch will give problems.
>
> P.
>
> On Mar 08, 2006, at 16:57, Gelvis Sequera wrote:
>
>
> Ok, let me explain from the beginning.
>
> When I've tried to use the patch tool for the mbuni-kannel-patch  
> that you have to do in order to make kannel work in a way mbuni  
> understands, the two files that I mentioned failed to make the  
> patch. After I review the code and compare tha oficial version with  
> the CVS version, I've found that the changes between the two  
> versions are too deep, that the patch utility doesn´t work  
> properly. Because a deadline in the project, I didn´t have the time  
> to make the changes in the patch script, however, I've done the  
> changes myself manually, that is open the files, find the replace  
> points and doing the replace using the always copy&paste method.  
> After that, I make a diff between CVS original and CVS manually  
> patched and send the email to the list.
>
> You mentioned that you will develop a script to make the changes  
> mentioned in the step 5. That would be prove useful, if you have  
> any question about the process, you can ask me
>
> Gelvis
>
>
> On 3/7/06, Machado, Rodny <[EMAIL PROTECTED]> wrote:
>
> Uhmm, not really :-(
>
> I understand your point, but still, don't quite sure what do you  
> mean with "You have to make the patch to smsbox.c and to  
> wsp_headers.h" what's is needed there? and by that I'm not so sure  
> what it's needed to be done, patch it manually? Would it be  
> possible for you to provide those files, smsbox.c and wsp_headers.h?
>
> For the 5th point (Refactor (change the method call) of all the  
> list_* method in all the files of mmsc, mmlib and mmbox folders to  
> gwlist_* (this is the longest step)) I'm planning to write down a  
> script that do all that work.
>
> Please comment.
>
> Thanks and Regards,
> --RM
>
>
>
> -----Original Message-----
> From: Gelvis Sequera [mailto: [EMAIL PROTECTED]  
> <mailto:[EMAIL PROTECTED]> ]
> Sent: Tuesday, March 07, 2006 12:27 PM
> To: Mbuni MMS Gateway Users List
> Subject: Re: [Users] Installing mbuni over kannel cvs sources
>
>
> The main issue with the CVS sources is that the changes between the  
> official version and the CVS version for the files mentioned in the  
> step 2.2 is too deep that the patch utility doesn't work properly.  
> You have to change the calls to the list_* methods to the gwlist_*  
> methods.
>
> I hope that this explains the problem
>
> Gelvis
>
>
> On 3/7/06, Machado, Rodny < [EMAIL PROTECTED]  
> <mailto:[EMAIL PROTECTED]> > wrote:
> Hi Gelvis,
>
> As you I'm trying to use the cvs version from kannel and Mbuni as  
> well. I was following your instructions, but I when I get to the  
> point 2.2 I get lost! Could you explain that point a little bit more?
>
> Thanks a lot for your help.
>
> Regards,
> --RM
>
>
> -----Original Message-----
> From: Gelvis Sequera
> Sent: Thu, 29 Sep 2005 07:08:23 -0700
> To: Users@mbuni.org
> Subject: [Users] Installing mbuni over kannel cvs sources
>
> Hi all:
>
> Due to the date of the last oficial release of kannel (version  
> 1.4.0 was released almost a year ago), a few problems that I've  
> found installing the 1.4 version, and some bugs that I've found  
> sending wap pushes, I switched to kannel cvs version and still keep  
> the mbuni running. This post explains all the problems that I've  
> found and the solution to make the task (that at the begining  
> looked imposible) posible.
>
> First when I tried to patch kannel with the patch provided in the  
> mbuni cvs resource I got this problem:
>
> patching file  <http://Makefile.in> Makefile.in
> patching file gw/ota_compiler.c
> patching file gw/ota_prov.c
> patching file gw/ota_prov.h
> patching file gw/smsbox.c
> Hunk #1 succeeded at 1272 (offset 62 lines).
> Hunk #2 succeeded at 2833 (offset 93 lines).
> Hunk #3 succeeded at 2844 (offset 93 lines).
> Hunk #4 succeeded at 2978 (offset 98 lines).
> Hunk #5 succeeded at 3017 (offset 98 lines).
> Hunk #6 succeeded at 3062 (offset 98 lines).
> Hunk #7 FAILED at 3084.
> 1 out of 7 hunks FAILED -- saving rejects to file gw/smsbox.c.rej
> patching file gw/xml_shared.h
> patching file gwlib/cfg.def
> Hunk #1 succeeded at 547 (offset 3 lines).
> patching file gwlib/mime.c
> Hunk #2 succeeded at 215 with fuzz 2.
> patching file gwlib/mime.h
> patching file test/test_ppg.c
> Hunk #1 FAILED at 81.
> Hunk #2 FAILED at 648.
> Hunk #3 FAILED at 784.
> 3 out of 3 hunks FAILED -- saving rejects to file test/test_ppg.c.rej
> patching file wap/wsp_headers.c
> Hunk #1 FAILED at 122.
> Hunk #2 FAILED at 1486.
> Hunk #3 FAILED at 1615.
> Hunk #4 FAILED at 1893.
> Hunk #5 FAILED at 1914.
> 5 out of 5 hunks FAILED -- saving rejects to file wap/ 
> wsp_headers.c.rej
> patching file wap/wsp_headers.h
>
> After a long fight I've found that some of the patch are already  
> maded (the files wsp_headers.c and wsp_headers.h were already  
> patched) and other changed so depth that the changing lines are so  
> separated that the patch doesn't fing them (That happens with  
> smsbox.c).
>
> but the problem doesn't end here.
>
> When i've tried to compile mbuni (either 1.0 or cvs sources) I've  
> found a lot of problems with the list.h library (The list library  
> that mbuni uses is the library maded by kannel and it is in gwlib  
> folder of kannel). Mainly the problem whan that mbuni doesn't found  
> the list_* methods that should be in the library.
>
> After reading the code and analize the problem, I've found that the  
> cvs source of kannel has a code refactoring in the list (inside the  
> folder gwlib), and all the methods were renamed from list_* to  
> gwlist_*. I almost cried when I realized that all my problem could  
> be solve making the method call changes in the mbuni cvs sources.
>
> The good news is that after I've refactored the files in the cvs  
> source of mbuni (that means almost all the .c files in mmlib, mmsc  
> and mmsbox folders) all works perfect and a lots of bugs that  
> kannel had in the 1.4 version are solved and in harmony with mbuni.
>
> My conclusion:
> It's really a simple task (but a long one), and mainly, here are  
> the steps:
>
> 1. Get the kannel cvs source
> 2. Get the patch from mbuni
> 2.1 Apply the patch from mbuni.
> 2.2 You have to make the patch to smsbox.c and to wsp_headers.h  
> (the others fails are because the file already have been patched in  
> the cvs).
> 3. Compile kannel
> 4. get the cvs sources from mbuni
> 5. Refactor (change the method call) of all the list_* method in  
> all the files of mmsc, mmlib and mmbox folders to gwlist_* (this is  
> the longest step)
> 6. Compile mbuni
>
> I'm doing some several functional, stress and performance test to  
> this "patched" version, and a lot of problems and bugs are solved  
> (the problems with ppg and wap pushes in some special cases seems  
> to be solved). I haven't tested all yet, but I'm working on it.
>
> I hope that this could help anyone that want to upgrade kannel and  
> mbuni to cvs versions, keeping the harmony between them.
>
> greetings
>
> Gelvis Sequera
> Operaciones/Operations
>
> DBAccess
> HQ:   +58-212-7619206
>
> GDC: +58-274-2523906
>
> IP Phone Caracas: +1-312-2248358
>
> IP Phone Merida:    +1-312-2389360
> US:   +1-312-4046458
> Cel:  +58-412-7239834
>  <http://www.dbaccess.com> http://www.dbaccess.com
>
> _______________________________________________
>
>
> _______________________________________________
> Users mailing list
> Users@mbuni.org
> http://mbuni.org/mailman/listinfo/users_mbuni.org
>
> _______________________________________________
> Users mailing list
>  <mailto:Users@mbuni.org> Users@mbuni.org
> http://mbuni.org/mailman/listinfo/users_mbuni.org
>
> _______________________________________________
> Users mailing list
>  <mailto:Users@mbuni.org> Users@mbuni.org
> http://mbuni.org/mailman/listinfo/users_mbuni.org
>
>
>
> _______________________________________________
> Users mailing list
> Users@mbuni.org
> http://mbuni.org/mailman/listinfo/users_mbuni.org
>
>
> -----------------------------------------------
> Trek the Rwenzori's. Or just see them online - http:// 
> www.rwenzori.com/gallery.htm
>
>
> _______________________________________________
> Users mailing list
> Users@mbuni.org
> http://mbuni.org/mailman/listinfo/users_mbuni.org

-----------------------------------------------
Trek the Rwenzori's. Or just see them online - http:// 
www.rwenzori.com/gallery.htm


_______________________________________________
Users mailing list
Users@mbuni.org
http://mbuni.org/mailman/listinfo/users_mbuni.org

Reply via email to