On Wednesday, 24. August 2005 19:06, Anthony Ginepro wrote:
> On Wednesday 24 August 2005 07:20, Michael Nottebrock wrote:
> > On Tuesday, 23. August 2005 22:51, Anthony Ginepro wrote:
> > > KDE automatically checks for it, but I had to patch and play with
> > > kdelibs3 port in order to make it work
> >
> > Details please?
>
> I used am_edit patch [1]  then "perl admin/am_edit" from work directory
> inside port in order to have correct Makefile.in, kdelibs3 was then
> compilable and runnable.

Yeah. That exactly is the kdeinit bug that I was talking about and thought the 
fix for was already merged back - turns out it went into the wrong branch.

It's now in branches/3.4 as well and will be included in KDE 3.4.3.

In the meantime, here's a patchfile you can just stuff into x11/kdelibs3/files 
which will fix the issue as well and save you from manually running am_edit.

-- 
   ,_,   | Michael Nottebrock               | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
--- kinit/Makefile.in.orig      Thu Aug 25 01:34:09 2005
+++ kinit/Makefile.in   Thu Aug 25 01:35:06 2005
@@ -1165,15 +1167,16 @@
 #>+ 2
 am_libkdeinit_klauncher_la_OBJECTS = klauncher.lo klauncher_main.lo 
autostart.lo
 
-#>+ 12
+#>+ 13
 
 klauncher.la.cpp:
        echo 'extern "C" int kdemain(int argc, char* argv[]);' > 
klauncher.la.cpp; \
        echo 'int main(int argc, char* argv[]) { return kdemain(argc,argv); }' 
>> klauncher.la.cpp
 
 klauncher_dummy.cpp:
-       echo 'extern "C" int kdemain(int argc, char* argv[]);' > 
klauncher_dummy.cpp; \
-       echo 'extern "C" int kdeinitmain(int argc, char* argv[]) { return 
kdemain(argc,argv); }' >> klauncher_dummy.cpp
+       echo '#include <kdemacros.h>' > klauncher_dummy.cpp; \
+       echo 'extern "C" int kdemain(int argc, char* argv[]);' >> 
klauncher_dummy.cpp; \
+       echo 'extern "C" KDE_EXPORT int kdeinitmain(int argc, char* argv[]) { 
return kdemain(argc,argv); }' >> klauncher_dummy.cpp
 klauncher_LDFLAGS = $(KDE_RPATH) -no-undefined $(all_libraries)
 klauncher_LDADD = libkdeinit_klauncher.la
 klauncher_DEPENDENCIES = libkdeinit_klauncher.la

_______________________________________________
kde-freebsd mailing list
[email protected]
http://freebsd.kde.org/mailman/listinfo/kde-freebsd

Reply via email to