[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] Confusion about kmailIface.kidl and kmailIface.h files
From:       David Faure <dfaure () klaralvdalens-datakonsult ! se>
Date:       2005-02-21 15:44:52
Message-ID: 200502211644.53554.dfaure () klaralvdalens-datakonsult ! se
[Download RAW message or body]

On Saturday 19 February 2005 15:19, Keith P. Boruff wrote:
> On Saturday 19 February 2005 09:14 am, Ingo Klöcker wrote:
> > On Saturday 19 February 2005 14:49, Keith P. Boruff wrote:
> > > Hey all,
> > >
> > > I'm a bit new at DCOP but the basic concepts seem easy enough from
> > > what I know of COM, CORBA, and other RPC stuff.
> > >
> > > What I'm having a hard time understanding is why both of these files
> > > exist in the repository and not just the kmailIface.kidl file. Isn't
> > > kmailIface.h a product of running dcop's idl compiler on
> > > kmailIface.kidl?
> >
> > It's actually the other way around. :-) You should really not mix srcdir
> > and builddir because this makes it much harder to build something
> > completely from scratch. With builddir != srcdir OTOH this is trivial
> > because you can simply rm -rf builddir.
> >
> > This is how I do it:
> > srcdir = ~/cvs/kde/head/kdepim
> > builddir = ~/cvs/kde/head/compiled/kdepim
> > - Run make -f Makefile.cvs in srcdir
> > - Go to builddir (In fact I have srcdir and builddir always open in two
> > tabs of Konsole. So I just have to switch to the other tab.)
> > - Link configure and acinclude.m4 from srcdir to builddir, i.e. run
> >     ln -s ../../kdepim/configure .
> >     ln -s ../../kdepim/acinclude.m4 .
> >   (Actually I don't know whether linking acinclude.m4 is still
> > necessary.)
> > - Run configure --srcdir=../../kdepim (+ additional parameters)
> > - Run make && make install (or just make install)
> >
> > In fact I have written a configure4kde-cvs.sh shell script which calls
> > configure with all the right parameters (because you really don't want
> > to type all the parameters all the time).
> 
> 
> Good idea. Could you send this script my way? If not, I could write one up 
> myself. 

You can also use kde-build from kdesdk, which has support for the
OBJ_REPLACEMENT env var, as a means to go from srcdir to builddir.
Then all the above turns into simply ./kde-build kdepim :)

-- 
David Faure -- faure@kde.org, dfaure@klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
_______________________________________________
kde-pim mailing list
kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic