Gentoo Archives: gentoo-alt

From: Christian Simon <cwrsimon@××××××××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] emerging kde4 apps on Darwin with prefix portage
Date: Sat, 26 Jan 2008 19:50:31
Message-Id: 51A89A9A-501C-4BA8-83C0-29E64D6C18BB@gmail.com
1 Dear all,
2 I know I was naive, and it was still to early to try out the new KDE4
3 ebuilds, but I was curious and wanted to give it a try.
4 I wanted to use kwrite on OSX. When I saw that qt-4.3.3 was already in
5 the prefix overlay, I proceeded as follows:
6 1. emerged qt-4.3.3 according to the KDE 4.0 Guide in the Gentoo docs.
7 2. I unmasked and keyworded the KDE 4.0 packages (again, see KDE 4.0
8 guide)
9 3. I emerged cmake-2.4.7-r1
10 4. I created an portage overlay directory to where I downloaded and
11 eapified the following packages:
12 app-misc/strigi-0.5.7
13 dev-cpp/clucene-0.9.20
14 dev-libs/rascal-0.9.15
15 dev-libs/redland-1.0.7
16 dev-libs/soprano-2.0.0
17 kde-base/kdelibs-4.0.0
18 kde-base/kdepimlibs-4.0.0
19 kde-base/kwrite-4.0.0
20 kde-base/qimageblitz-4.0.0
21 media-gfx/exiv2-0.13-r1
22 media-libs/raptor-1.4.16
23 5. I made 2 eclasses EPREFIX-aware:
24 cmake-utils.eclass:
25 echo -DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr
26 echo -DLIB_SUFFIX=${tmp_libdir/lib} echo -DLIB_INSTALL_DIR=${EPREFIX}/
27 usr/${tmp_libdir}
28 kde4-base.eclass:
29 mycmakeargs="${mycmakeargs} -DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr"
30 6. I failed to emerge soprano (Call stack:
31 * misc-functions.sh:703: <call install_qa_check>
32 * misc-functions.sh:368: hasq allow_broken_install_names $
33 {FEATURES} || \
34 * die "invalid install_name found, your application will crash at
35 runtime"
36 )
37 7. So, I emerged kdelibs with: USE="-semantic-desktop" emerge kde-base/
38 kdelibs:kde-4
39 8. Then, I emerged kde-base/kwrite:kde-4
40 9. The result of all efforts is this:
41
42 christian@christian-simons-mac-mini ~ $ Gentoo/usr/bin/kwrite.app/
43 Contents/MacOS/kwrite
44 dyld: Library not loaded: /Users/christian/Gentoo/var/tmp/portage/kde-
45 base/kwrite-4.0.0/work/kwrite_build/lib/libkdeinit4_kwrite.dylib
46 Referenced from: /Users/christian/Gentoo/usr/bin/kwrite.app/
47 Contents/MacOS/kwrite
48 Reason: image not found
49 Trace/BPT trap
50
51
52 At the moment, I'm too tired to work this out. The greatest obstacle I
53 had to overcome to get this far was cmake. In the end, it's only a
54 question of sending the right parameters to cmake, I guess.
55 Over the past few monthes, I've been following the proceedings on this
56 list. You guys are doing a great job. Your work makes Darwin a much
57 more pleasant fellow to get along with! I've alaways missed certain
58 KDE apps on OSX (such as kwrite for example), maybe one of you out
59 there has a brilliant idea how to solve this puzzle!
60
61 Thanks in advance!
62 -Christian
63 --
64 gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] emerging kde4 apps on Darwin with prefix portage Fabian Groffen <grobian@g.o>