[kde-freebsd] KDE 4.2 Beta 2 build-time problems with area51-ports...

Carsten Bäcker carbaecker at gmx.de
Sat Dec 27 20:49:41 CET 2008


... and what i did to fix them.

Hi,

i checked out SVN Revision 4405 of the area51 repository, merged it into 
my ports-tree and simply tried to make x11/kde4 with all options selected.

These issues have occured during build-time.

kdemultimedia4, kdepim4 and kdeutils4 failed due to some patching issues...
kdeedu4 fails since sed aka. ${REINPLACE_CMD} can't find 
"${WRKSRC}/../cmake/modules/FindNova.cmake"


Here is what i did to "fix" those issues and successfully build KDE 4.2 
Beta 2

Looking into the patches i noticed some inconsistencies:
kdemultimedia4/files/patch-CMakeLists.txt tries the following changes:
- comment out some XINE (XCB)-relevant lines (but as far as i can see 
they don't exist)
- add a line "add_subdirectory(dragonplayer)", although there's always a 
line "macro_optional_add_subdirectory(dragonplayer)"
(patch deleted)

kdepim4/files/patch-kmail_kmfoldermaildir.cpp tries this:
- add line "uidStr = uidStr.trimmed();", although it's already in the code
(patch deleted)

kdeutils4/files/patch-ark_plugins_libzipplugin-zipplugin.cpp seems to be 
out of date. The source-file has changed in the meantime.
Matt already noted this in an email 2008-12-23 17:59, so i just copied 
his changes and it works.
(patch updated (see attachment)) - thanks Matt

Looks like those patches were created for an older state of the source. 
So could someone please have a look at them and (probably) remove/update 
them for actual area51?

kdeedu4 - the file "FindNova.cmake" referred in the Makefile does not 
exist in this directory and nowhere else in the kdeedu4-source, so maybe 
these lines should be removed from the post-patch section of the 
Makefile. (Another leftover from 4.11 or 4.13?)
(Makefile updated (see attachment)


Regards
Carsten

P.S: Just updated - files remain unchanged in rev 4406
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile_kdeedu4
Url: http://mail.kde.org/pipermail/kde-freebsd/attachments/20081227/8ec6222e/attachment.bat 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-ark_plugins_libzipplugin-zipplugin.cpp
Url: http://mail.kde.org/pipermail/kde-freebsd/attachments/20081227/8ec6222e/attachment-0001.bat 


More information about the kde-freebsd mailing list