This is going to be a complete guide for compiling KMess on Fink. (See below for an image!)
Update: KMess is now in Fink unstable! The package name starts with kmess-kde4- followed by either x11 or mac, depending on what version you want. It's in http://www.finkproject.org/faq/usage-fink.php?phpLang=en#unstable Fink unstable]. The Mac version is recommended. Kmess-2.0.x has a 'nokde' branch with Mac improvements in case you want to build KMess yourself; KMess 3.0 will have Mac improvements builtin.
You need to have "unstable" enabled in Fink to continue, click here to see how.
To compile KMess, you need to have the following packages installed in Fink: (I myself prefer mac over X11 since it works better and is better integrated.)
- kde4-buildenv
- kdebase4-x11 or -mac (depending on which version of kmess you want)
- cmake
- qca2-x11 or qca2-mac
- qca2-plugin-ossl-{x11,mac}
- gettext-tools-0.17
I tested this with both KDE4 with X11 and Mac, it both works, however the Mac version integrates better albeit some bugs. This tutorial assumes you have Fink installed at /sw, if you haven't, substitute with the right path.
To build and install kmess, run these commands:
~/src/kmess$ export KDE4_PREFIX="/sw" KDE4_TYPE="mac" # or "x11"! ~/src/kmess$ . /sw/sbin/kde4-buildenv.sh ~/src/kmess$ mkdir -p build ~/src/kmess$ cd build ~/src/kmess/build$ cmake $KDE4_CMAKE_ARGS -D KMESS_DEBUG_OUTPUT=1 -D HAVE_XSCREENSAVER=0 .. -- The C compiler identification is GNU -- The CXX compiler identification is GNU [...] ~/src/kmess/build$ make ~/src/kmess/build$ sudo make install
Before you run KMess, you should rebuild the KDE system configuration cache by running /sw/opt/kde4/mac/bin/kbuildsycoca4 simply as your own user. (search for the file if you're using x11).
You can now run kmess by typing /sw/opt/kde4/mac/bin/kmess.app/Contents/MacOS/kmess or /sw/lib/kde4-x11/bin/kmess and have an instance of KMess :)
By putting the attached file 'finkbuild.sh' into the build directory and making it executable, you can simply run ./finkbuild.sh and it will run the above commands for you. It hardcodes 'x11', though, so edit if you want the 'mac' version.
Troubleshooting: If you don't have any icons, maybe you forgot to install kdebase, above. If chats show text and images but no markup, maybe you forgot to run kbuildsycoca (check if konqueror works).
Attachments
-
finkbuild.sh
(147 bytes) - added by sjors
16 months ago.
Build helper script

