LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-03-2011, 09:27 AM   #1
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Rep: Reputation: 11
Downloading/Keeping Certain KDE Applications, Removing Others


Hello,

Using slackpkg I have installed kde-graphics which installs all KDE graphics programs. Unfortunately I have no need for all of them, and the only one I need is Gwenview so I can view animated .gif's that I create from GIMP (the others don't seem to be able to play animated .gif files).

However, if I uninstall kde-graphics, I'm uninstalling Gwenview as well as the others.

Is there a way I can keep just Gwenview (excluding the fact that I install Gwenview only from the official KDE website).

Also, which KDE package comes with their cursors, because I know they have a lot of cursors but I'm not exactly in the mood of installing all KDE packages and then removing them one by one to see which one lets me keep their cursors.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 10-03-2011, 10:05 AM   #2
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Hi,

Yes, it's possible, but the solution is not trivial. I've just built a personalized KDE (from 4.6.5 sources and Eric Hameleers' build scripts), leaving out all unneeded apps and building only the modules I need for everyday productivity.

Here are my build scripts, HOWTOS and configuration files:

Code:
$ svn co svn://svn.tuxfamily.org/svnroot/microlinux/slackware
Take a peek in the 13.37/source/kde-lite-* directories to get an idea.

Basically, every KDE module has a CMakeLists.txt file at the root of its source directory. What I do is simply edit this file and comment out every app I don't wish to build. For example, I have no use for Konqueror, so I disable it. I favour Pidgin over Kopete, so I'll do the same here. And so on. Of course, I don't build the thing manually. I make like half a dozen patches (for kdebase, kdegraphics, kdenetwork, kdemultimedia and some others) and then simply run the master build script for KDE, which will spew out a nicely stripped down desktop after a couple of hours.

You can spend a whole weekend over it the first time you do it, but the double advantage is you'll get to know KDE quite well, and it's done very quick for all subsequent updates. Of course, YMMV.

Edit : of course, you can take a simpler approach and just "hide" unneeded applications in the menu. To do this, take a peek in /usr/share/applications/kde4. For every entry you don't want, simply append this to the according *.desktop file:

Code:
NoDisplay=true

Last edited by kikinovak; 10-03-2011 at 10:19 AM.
 
2 members found this post helpful.
Old 10-03-2011, 03:32 PM   #3
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware64-current
Posts: 298

Rep: Reputation: 56
With pre-modulized kde i've been using modified stock slackbuild scripts to exclude any app that i don't need.

For kde multimedia i've added these lines, in BOLD:

Code:
cmake \
    $KDE_OPT_ARGS \
    -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
    -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DMAN_INSTALL_DIR=/usr/man \
    -DSYSCONF_INSTALL_DIR=/etc/kde \
    -DLIB_SUFFIX=${LIBDIRSUFFIX} \
    -DBUILD_juk=FALSE \
    -DBUILD_kscd=FALSE \
    -DBUILD_dragonplayer=FALSE \
    -DBUILD_kmix=FALSE \
    ..
That's basically excluding all apps, but k3b needs libraries in kdemultimedia to run.
I've recently installed kde 4.7.1 but didn't find a way how to recompile its packages with the new build system. Hopefully someone sheds light on that someday.
 
  


Reply



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
script for removing 30day old files but keeping *.zip timnewton Red Hat 7 10-14-2008 03:50 AM
Installing openSuSE removing fedora and keeping xp netjack SUSE / openSUSE 3 04-30-2006 12:40 AM
Install on laptop keeping xp and removing fedora netjack Ubuntu 11 04-13-2006 11:04 AM
removing text shadows in kde; removing taskbar color gradient webazoid Linux - Software 1 04-11-2006 02:56 AM
removing RH9 but keeping my ntfs partition bof Red Hat 6 12-25-2004 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:31 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
Open Source Consulting | Domain Registration