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

List:       kde-linux
Subject:    Re: [kde-linux] How to integrate bug fix from source into RPM-based
From:       James Richard Tyrer <tyrerj () acm ! org>
Date:       2005-01-03 10:17:57
Message-ID: 41D91BD5.2010700 () acm ! org
[Download RAW message or body]

Paul C. Leopardi wrote:
> Hi,
> I'm using KDE 3.3.2 from SUSE RPMs, and have found out that a bug has been 
> fixed since the release of KDE 3.3.2
> http://bugs.kde.org/show_bug.cgi?id=88511
> 
> 1) Where do I find the correct version of the source code which includes this 
> bug fix? I'm looking for 3.3.2++, not 3.4, since I don't want any extra 
> "features" or dependencies.
> 
> 2) How do I build the source for kmail in such a way as to not break my 
> existing kdepim3 RPM? Or do I need to build all of kdepim3? Or all of KDE?
> 
> 3) Is there a FAQ which answers questions like these?
> Thanks

This is not simple, and I wouldn't recommend that you do it unless you 
have built other things from source.

First, remember that you will need the 'devel' packages for all the 
packages that KMail depends on, including KDELibs, Qt, and a lot of stuff.

It is probably best to replace all of KMail.

Make a build directory with NO Spaces in the name.

You will run into private header issues (headers that are not installed, 
and/or the KMail build only looks for the one in the KDEPim source 
tree). :-( Therefore, you would need to download other sections of 
KDEPim.  Simplest is to just download all of it.

     cd <build_directory>
     CVSROOT=<CVS mirror URL>

See:

	http://developer.kde.org/source/anoncvs.html

for mirror listing.

     export CVSROOT
     cvs login
     <Enter>
     cvs co -rKDE_3_3_BRANCH kdepim
     cvs co -rKDE_3_3_BRANCH kde-common 
 
 
 
 
 
 
 
 

     cd kdepim/
     rm -Rf admin
     ln -s ../kde-common/admin/ admin
     make -f Makefile.cvs
     ./configure --disable-debug

Make sure that: "checking where to install..." shows the correct 
directory.  If you are missing something, the "configure" script should 
tell you.

     cd kmail
     make

This might not work and you could find that you need to also build other 
parts of the source tree first.

     make install

--
JRT

___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread] 

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