Author |
Message |
paulh177

Joined: 22 Aug 2006 Posts: 981
|
Posted: Sun 13 Jan 2008, 14:46 Post subject:
Can I compile KDE apps for Puppy without KDE installed? |
|
There are a few KDE apps that I like, but I don't like KDE at all as a desktop: I think it too ugly and too big and ponderous.
In particular, I'd like to be able to use KMobileTools, but of course on donwloading the source, it fails to configure as it can't find the requisite KDE libraries etc.
I've used KDE apps in other distros which don't actually run KDE, and I've used KMobileTools in dyne:bolic so I guess it can be done.
The question is, How?
|
Back to top
|
|
 |
Everitt
Joined: 19 Dec 2006 Posts: 331 Location: Leeds,UK or Birmingham, UK
|
Posted: Sun 13 Jan 2008, 21:23 Post subject:
|
|
Unfortunately in the majority of cases you need KDE. Occasionally there are options to disable dependency (look at the readme/website etc for each app)
Remember though, needing KDE rarely means needing KDE running. Normally just having the libs in LD_LIBRARY_PATH is enough.
|
Back to top
|
|
 |
paulh177

Joined: 22 Aug 2006 Posts: 981
|
Posted: Mon 14 Jan 2008, 03:53 Post subject:
|
|
yes, that's the point of the question: I realise I don't have to have a KDE desktop to run a KDE app, but which bits of KDE am I likely to need as a minimum in order to compile a KDE app to run under JWM?
MU's KDE for instance is near enough 200MB, so twice as big as the base OS, and I can't believe I need all that.
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6759 Location: hobart
|
Posted: Mon 14 Jan 2008, 06:02 Post subject:
|
|
You can get an idea of what libraries are required, to get it to compile, from here:
http://packages.debian.org/unstable/kde/kmobiletools
Of course, some of the listed libraries might have their own requirements....
|
Back to top
|
|
 |
Everitt
Joined: 19 Dec 2006 Posts: 331 Location: Leeds,UK or Birmingham, UK
|
Posted: Mon 14 Jan 2008, 10:44 Post subject:
|
|
the ldd command will show you which libs an application needs.
I believe there is a KDE sfs available on the forum somewhere, so perhaps you could have that in place during compile time, run 'ldd <command>', and make a note of the needed libs. Then move the sfs so it isn't auto mounted, reboot, manually mount it and copy the libs you need into the file system. Then you can remove the sfs if you want.
A bit long winded/convoluted,but will result in only loading into RAM what you need.
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13647 Location: Karlsruhe, Germany
|
Posted: Mon 14 Jan 2008, 14:18 Post subject:
|
|
A basic KDE-System with Konqueror is only 50-60 MB as a squashfs file.
Please search the forum for "mkkde".
But this is not sufficient to compile own apps.
You would need the KDE-Headers, too.
But you could try to run a binary from Slackware with a KDE created with mkkde.
But it depends on the application, if such a small version works.
If it depends on further packages like the multimediaprograms,you had to add more files to mkkde.
Mark
|
Back to top
|
|
 |
paulh177

Joined: 22 Aug 2006 Posts: 981
|
Posted: Mon 14 Jan 2008, 14:38 Post subject:
|
|
by the looks of things, this requires much greater skills and probably patience than I possess
However -- in case I have a moment of madness -- where will I find KDE-Headers?
|
Back to top
|
|
 |
|