LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-08-2013, 03:50 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Compiling a Minimal KDE4


In another thread I asked what is needed to install a minimal KDE4. My immediate focus is for my HTPC, but perhaps for older hardware too.

I want to expand that topic into a new thread: how to compile a minimal KDE4.

There is interest with this topic in the Slackware community, as seen in other threads. I hope this thread eventually is massaged into a Slackware doc for the wiki.

For now this thread can serve as a repository of notes and build options for various ways people might want to build a minimal KDE4.

First focus: dependencies. I want to build with no support at all for the semantic desktop or akonadi (KDE PIM apps). I want to avoid the following dependencies if possible:

soprano
akonadi
attica
shared-desktop-ontologies
virtuoso-ose

I snipped those package names from Eric's Slackware 14 alldeps build script in the order they are built.

I'm no cmake expert but in the kdelibs CMakeLists.txt I don't notice any build options to avoid those dependencies. Yet watching the configure output spew indicates only the attica package is required while the others are optional.

So let the discussion and note-taking begin.

P.S. Please keep this discussion and notes technical. No rants about KDE4 design. Thanks.
 
Old 04-08-2013, 04:04 PM   #2
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,944

Rep: Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967
While I actually do rebuild KDE to only include those apps I actually like and use, my custom version of it is by no means minimal.

Slax has a very good minimal KDE like you describe. Here's the sources:

http://ftp.slax.org/Slax-7.x-develop...-sources/kde4/

Have fun!
 
Old 04-08-2013, 05:30 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Looks like kactivities is a requirement for kde-workspace. Looking for a work-around....
 
Old 04-08-2013, 06:56 PM   #4
mariostg
Member
 
Registered: Apr 2011
Location: Gatineau, Quebec
Distribution: OpenBSD
Posts: 80

Rep: Reputation: 5
Out of curiosity, did you look at how its build on LFS? Indeed according to LFS, KDE-workspace requires kactivities.

I am referring to LFS because I built one and found it pretty neat.

Last edited by mariostg; 04-08-2013 at 06:58 PM. Reason: editing typos
 
Old 04-08-2013, 07:39 PM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
The kde-workspaces CMakeLists.txt was all I needed to find the "requirement." I don't understand why kactivities should be a requirement for a minimal build. I suppose I could imagine various use cases for activities on an HTPC, but that's pushing my crusty imagination a bit.
 
Old 04-09-2013, 03:34 AM   #6
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,944

Rep: Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967
Well, I played around with this a few hours, removed the semantic desktop libs and the whole PIM stuff... only to conclude it isn't worth the hassle. It is possible to install a base KDE desktop (kdelibs, kdebase) without PIM and the semantic desktop (but not without kactivities), but you won't do much with it. If you want to build some further apps (graphics, network), the compilation process will complain about the missing bits at some point.

KISS approach: build the whole thing, but don't activate it.

On the other hand, it is possible to build kdebase without Konqueror (like the Salix folks do, for example). And if you want to build a package like kdeutils with only some of the utilities (ark, printer-applet) and without some of the others (kfloppy, superkaramba, ...), it's quite easy to do so. Just comment them out in the corresponding text file in the modules/ directory. I guess that's the most "minimal" one can reasonably do. If you want to strip it down further, you'll probably be better off using RazorQt.

Cheers,

Niki
 
Old 04-09-2013, 01:15 PM   #7
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
KISS approach: build the whole thing, but don't activate it.
To a point. I posted a set of minimal config files to help users keep most of the noise disabled without the need to reconfigure everything after first usage of KDE. Yet even with that config file set, activitymanagerd still runs. The only way I have found to disable that daemon is chmod -x and then KDE starts doing subtle weird things.

Oh yeah, disabling Akonadi is impossible and the KDE devs are highly unfriendly about not offering any kind of olive branch toward that end. Without Akonadi users have to find alternate PIM apps.

Quote:
On the other hand, it is possible to build kdebase without Konqueror (like the Salix folks do, for example).
I prefer Konqueror as a file manager over Dolphin.

Quote:
If you want to strip it down further, you'll probably be better off using RazorQt.
A challenge with Razor is the lack of apps. For example, no PIM apps and the only non KDE Qt email client does not support POP3. I also have looked for a KAlarm replacement. Maybe Orage, but at that point a person is mixing and matching widget backends (Qt and GTK) that using KDE or Razor as a desktop becomes a moot point. Why bother?
 
Old 04-09-2013, 03:31 PM   #8
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,495

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
razor-qt, 3rd-party applications

razor-qt's devs too seems to note the lack of an email client/PIM suite...

Last edited by ponce; 04-09-2013 at 03:36 PM.
 
Old 04-09-2013, 04:56 PM   #9
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
razor-qt's devs too seems to note the lack of an email client/PIM suite...
Yeah, I know. That is where I learned the status.

Perhaps somebody with the skills could grab the KDE 4.4.11.1 KDE PIM sources (the last version without Akonadi), remove the KDE dependencies, and then they would have a full PIM suite. Probably a lot of sweat equity....
 
Old 04-15-2013, 01:49 AM   #10
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,944

Rep: Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967Reputation: 967
I just stumbled over this piece of information:

http://www.h-online.com/open/news/it...n-1841501.html

Looks like this is the future for all of us who love KDE but would like it to be a bit less bloated.
 
Old 04-15-2013, 02:51 AM   #11
polch
LQ Newbie
 
Registered: Sep 2010
Posts: 22

Rep: Reputation: 0
KLyDE

If you don't want an other qt based desktop (like razor), and prefer just a lightweight KDE, this article (that I've found via lwn.net this morning) can interest you.

Regards.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling KDE4 KAlarm Without Akonadi Woodsman Slackware 8 03-31-2013 07:10 PM
Another KDE4/Akonadi/Stringi/Neopunk Thread (okay, mostly KDE4...) JimBrewster Slackware 3 01-19-2012 06:15 PM
NetBSD 5.0 - Error Compiling KDE4 c!oud *BSD 2 01-14-2009 03:37 PM
Compiling KDE4.0 on Fedora 7 fails on building kdepimlibs-3.92.0 fooks Fedora 0 09-03-2007 09:10 AM
compiling apache 2.2.3 in minimal config keyF Linux - Software 2 09-29-2006 05:27 AM


All times are GMT -5. The time now is 11:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration