From: Christian Simon <cwrsimon@googlemail.com>
To: gentoo-alt@lists.gentoo.org
Subject: [gentoo-alt] emerging kde4 apps on Darwin with prefix portage
Date: Sat, 26 Jan 2008 20:50:24 +0100 [thread overview]
Message-ID: <51A89A9A-501C-4BA8-83C0-29E64D6C18BB@gmail.com> (raw)
Dear all,
I know I was naive, and it was still to early to try out the new KDE4
ebuilds, but I was curious and wanted to give it a try.
I wanted to use kwrite on OSX. When I saw that qt-4.3.3 was already in
the prefix overlay, I proceeded as follows:
1. emerged qt-4.3.3 according to the KDE 4.0 Guide in the Gentoo docs.
2. I unmasked and keyworded the KDE 4.0 packages (again, see KDE 4.0
guide)
3. I emerged cmake-2.4.7-r1
4. I created an portage overlay directory to where I downloaded and
eapified the following packages:
app-misc/strigi-0.5.7
dev-cpp/clucene-0.9.20
dev-libs/rascal-0.9.15
dev-libs/redland-1.0.7
dev-libs/soprano-2.0.0
kde-base/kdelibs-4.0.0
kde-base/kdepimlibs-4.0.0
kde-base/kwrite-4.0.0
kde-base/qimageblitz-4.0.0
media-gfx/exiv2-0.13-r1
media-libs/raptor-1.4.16
5. I made 2 eclasses EPREFIX-aware:
cmake-utils.eclass:
echo -DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr
echo -DLIB_SUFFIX=${tmp_libdir/lib} echo -DLIB_INSTALL_DIR=${EPREFIX}/
usr/${tmp_libdir}
kde4-base.eclass:
mycmakeargs="${mycmakeargs} -DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr"
6. I failed to emerge soprano (Call stack:
* misc-functions.sh:703: <call install_qa_check>
* misc-functions.sh:368: hasq allow_broken_install_names $
{FEATURES} || \
* die "invalid install_name found, your application will crash at
runtime"
)
7. So, I emerged kdelibs with: USE="-semantic-desktop" emerge kde-base/
kdelibs:kde-4
8. Then, I emerged kde-base/kwrite:kde-4
9. The result of all efforts is this:
christian@christian-simons-mac-mini ~ $ Gentoo/usr/bin/kwrite.app/
Contents/MacOS/kwrite
dyld: Library not loaded: /Users/christian/Gentoo/var/tmp/portage/kde-
base/kwrite-4.0.0/work/kwrite_build/lib/libkdeinit4_kwrite.dylib
Referenced from: /Users/christian/Gentoo/usr/bin/kwrite.app/
Contents/MacOS/kwrite
Reason: image not found
Trace/BPT trap
At the moment, I'm too tired to work this out. The greatest obstacle I
had to overcome to get this far was cmake. In the end, it's only a
question of sending the right parameters to cmake, I guess.
Over the past few monthes, I've been following the proceedings on this
list. You guys are doing a great job. Your work makes Darwin a much
more pleasant fellow to get along with! I've alaways missed certain
KDE apps on OSX (such as kwrite for example), maybe one of you out
there has a brilliant idea how to solve this puzzle!
Thanks in advance!
-Christian
--
gentoo-alt@lists.gentoo.org mailing list
next reply other threads:[~2008-01-26 19:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-26 19:50 Christian Simon [this message]
2008-02-08 10:35 ` [gentoo-alt] emerging kde4 apps on Darwin with prefix portage Fabian Groffen
2008-02-08 15:46 ` Christian Simon
2008-12-06 21:14 ` Fabian Groffen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51A89A9A-501C-4BA8-83C0-29E64D6C18BB@gmail.com \
--to=cwrsimon@googlemail.com \
--cc=gentoo-alt@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox