Fwd: Re: [Kolab-devel] The kolab-resource-handlers module

Marcus Hüwe suse-tux at gmx.de
Sat Oct 8 23:44:25 CEST 2005


Hi,

Richard and I autoconfiscated the resmgr and freebusy module.
Everything should work fine (normally :) ). I attached the tarball so
you can have a look at it. The dist_conf/kolab and dist_conf/common
files has to be updated too (i attached the files).

If you've questions just ask :)


Cheers Marcus

On Fri, 30 Sep 2005 14:02:51 +0200
Richard Bos <richard at radoeka.nl> wrote:

> [resent.  Could anyone comment on the questions asked below]
> 
> Marcus already started working on the porting the resource module,
> but we need to find a smart way to get the fbview installed.
> 
> > > Or a
> > > strategy to distract the code from fbview ....
> >
> > First find out which code is used by resmgr and freebusy.
> > In a test installation you could search the files for includes
> > for dependencies and then verify the analyis by deleting the parts
> > that you think are fbview only.
> > This way it should get smaller.
> 
> There seems quite some code involved:
> 
> kolab-resource-handlers/resmgr> grep require *php  | grep -v
> kolabfilter kolabmailboxfilter.php:require_once 'PEAR.php';
> kolabmailboxfilter.php:require_once
> '@l_prefix@/etc/resmgr/resmgr.conf'; kolabmailtransport.php:
> require_once 'Net/LMTP.php'; kolabmailtransport.php:    require_once
> 'Net/SMTP.php'; olhacks.php:require_once HORDE_BASE . '/lib/core.php';
> olhacks.php:require_once 'Horde/iCalendar.php';
> olhacks.php:require_once 'Horde/NLS.php';
> olhacks.php:require_once 'Horde/MIME.php';
> olhacks.php:require_once 'Horde/MIME/Message.php';
> olhacks.php:require_once 'Horde/MIME/Headers.php';
> olhacks.php:require_once 'Horde/MIME/Part.php';
> olhacks.php:require_once 'Horde/MIME/Structure.php';
> olhacks.php:  require_once 'Mail/mimeDecode.php';
> olhacks.php:  require_once 'Mail.php';
> resmgr.php:require_once 'Net/IMAP.php';
> resmgr.php:require_once HORDE_BASE . '/lib/core.php';
> resmgr.php:require_once 'Horde/iCalendar.php';
> resmgr.php:require_once 'Horde/NLS.php';
> resmgr.php:require_once 'Horde/MIME.php';
> resmgr.php:require_once 'Horde/MIME/Message.php';
> resmgr.php:require_once 'Horde/MIME/Headers.php';
> resmgr.php:require_once 'Horde/MIME/Part.php';
> resmgr.php:require_once 'Horde/MIME/Structure.php';
> resmgr.php:require_once 'Horde/Text.php';
> resmgr.php:require_once 'freebusy/recurrence.class.php';
> resmgr.php:        require_once 'Net/SMTP.php';
> resmgr.php:        require_once 'Mail.php';
> resmgr.php:      require_once 'Mail.php';
> 
> kolab-resource-handlers/freebusy> grep require *php | grep -vE
> "freebusy/| resmgr|URL"
> freebusy.class.php:    require_once('Net/IMAP.php');
> freebusy.class.php:    require_once 'PEAR.php';
> freebusy.class.php:    require_once 'Horde/iCalendar.php';
> freebusy.class.php:    require_once 'Horde/MIME.php';
> freebusy.class.php:    require_once 'Horde/MIME/Message.php';
> freebusy.class.php:    require_once 'Horde/MIME/Structure.php';
> freebusycollector.class.php:    require_once 'PEAR.php';
> freebusycollector.class.php:    require_once 'Horde/iCalendar.php';
> freebusycollector.class.php:    require_once 'Horde/MIME.php';
> freebusycollector.class.php:    require_once 'Horde/MIME/Message.php';
> freebusycollector.class.php:    require_once
> 'Horde/MIME/Structure.php';
> 
> Are the require_once lines without 'horde', just reqular php modules
> (see above) or are these delivered by fbview as well?  If only the
> 'horde' modules are needed from fbview, the following modules are
> used:
> 
> Horde/iCalendar.php
> Horde/MIME/Headers.php
> Horde/MIME/Message.php
> Horde/MIME/Part.php
> Horde/MIME.php
> Horde/MIME/Structure.php
> Horde/NLS.php
> Horde/Text.php
> /lib/core.php
> 
> Would it be sufficient to copy those modules from the fbview
> directory, if the fbview functionality is not wanted?
> 
> BTW: the /lib/core.php comes from: HORDE_BASE . '/lib/core.php
> I don't know what that means, but I assume for php devs that is not
> an issue. What is  require_once HORDE_BASE . '/lib/core.php'; 
> actually doing?
> 
> 
> --
> Richard Bos
> Without a home the journey is endless
> 
> _______________________________________________
> Kolab-devel mailing list
> Kolab-devel at kolab.org
> https://kolab.org/mailman/listinfo/kolab-devel
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kolab-resource-handlers-0.3.9.tar.bz2
Type: application/x-bzip
Size: 79375 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20051008/c1c3617a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: common
Type: application/octet-stream
Size: 5571 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20051008/c1c3617a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kolab
Type: application/octet-stream
Size: 4782 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20051008/c1c3617a/attachment-0001.obj>


More information about the devel mailing list