[KDE/Mac] packaging monkey reporting in - 4.2 beta2 is go!

Jonas Bähr jonas.baehr at web.de
Fri Dec 26 12:57:56 CET 2008


Am 25.12.2008 um 12:16 schrieb Jonas Bähr:
> Am 24.12.2008 um 02:03 schrieb O:
>> On Tue, Dec 23, 2008 at 7:45 PM, Leo Franchi <lfranchi at kde.org>  
>> wrote:
>>> On 23 Dec 2008, at 18:24, Jonas Bähr wrote:
>>>
>>>> Hi,
>>>>
>>>> Am 22.12.2008 um 02:55 schrieb Orville Bennett:
>>>>
>>>>> Well, sorta. Some beta2 port files added to macports today.
>>>>> kdelibs4-devel
>>>>
>>>> After upgrading automoc kdelibs4-devel compiles but kdeui refuses  
>>>> to
>>>> link because of the undefined symbols "mac_initialize_dbus()" and
>>>> "mac_fork_and_reexec_self()".
>>>> These symbols are in kdecore.5.2.0.dynlib (I checked with nm and  
>>>> got
>>>> the names C++ mangled) and the link-command below should also  
>>>> search
>>>> in "../lib/libkdecore.5.2.0.dylib".
>>>>
>>>> At a first glance it *should* work, but it doesn't...
>>>> How did you manage to compile this? My system is Mac OS X 10.5.6 on
>>>> intel, gcc-4.2, cmake-2.6.2
>>>
>>>
>>> You'll need to patch two CMakeLists. Patch is at the end of this  
>>> blog
>>> post:
>>>
>>> http://illogic-al.org/blog/apple-gcc-and-you
>>>
>>> leo
>>>
>>> ---
>>> Leo Franchi                             (650) 704 3680
>>> Tufts University 2010
>>>
>>> lfranchi at kde.org
>>> leonardo.franchi at tufts.edu
>>>
>>> _______________________________________________
>>> kde-mac at kde.org
>>> List Information: https://mail.kde.org/mailman/listinfo/kde-mac
>>> KDE/Mac Information: http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X
>>>
>>
>> I should have these patches uploaded by the end of the night, but no
>> promises.
>
> I first had some trouble patching files from the Portfile. The problem
> was that port tries to patch the files out of the build directory,
> which does not exists at this phase. The solution was to create the
> build-dir in the post-extraction hook instead of pre-configure.

Thanks to Thiago on the kde-buildsystem ML I was able to find and fix  
the real source of the problem.
Please test the following patch for the Portfile. The attached patch*  
files have to go into the files-dir, you may have to create it.

-----------8<-----------8<----------
--- Portfile.orig	2008-12-26 12:05:39.000000000 +0100
+++ Portfile	2008-12-26 12:08:52.000000000 +0100
@@ -32,7 +32,10 @@

  use_parallel_build  yes
  worksrcdir          build
-pre-configure       { file mkdir ${worksrcpath} }
+post-extract       { file mkdir ${worksrcpath} }
+
+patchfiles          patch-kdecore-kernel-kkernel_mac.h \
+                    patch-kdecore-kernel-kkernel_mac.cpp

  configure.cmd       cmake
  configure.ccache    no
-----------8<-----------8<----------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-kdecore-kernel-kkernel_mac.cpp
Type: application/octet-stream
Size: 301 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-mac/attachments/20081226/c2b807ea/attachment.dll 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-kdecore-kernel-kkernel_mac.h
Type: application/octet-stream
Size: 472 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-mac/attachments/20081226/c2b807ea/attachment-0001.dll 
-------------- next part --------------


bye,
Jonas


>
>
>>
>>
>> -- 
>>
>> P. J. O'Rourke  - "Cleanliness becomes more important when godliness
>> is unlikely."
>> _______________________________________________
>> kde-mac at kde.org
>> List Information: https://mail.kde.org/mailman/listinfo/kde-mac
>> KDE/Mac Information: http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X
>
> _______________________________________________
> kde-mac at kde.org
> List Information: https://mail.kde.org/mailman/listinfo/kde-mac
> KDE/Mac Information: http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X



More information about the kde-mac mailing list