Rajoutez les listes ci dessous dans /etc/make.conf, et editez chaque options DO_NOT_COMPILE += à votre convenance.
Les listes commentées correspondent aux différents logiciels disponibles pour chaque port.
kdelibs et kdebase ont été volontairement omis.
Attention : Si vous enlevez trop de choses, les ports peuvent ne pas compiler. Néanmoins l'exemple ci dessous compile parfaitement.
Résultat : un kde qui se compilera en quelques heures, des temps de chargement plus court, et des menus ( si l'on s'en sert ) nettement moins chargés.
# unbloat kde # for kdenetwork # DO_NOT_COMPILE += doc kdict kget kopete kpf kppp krdc krfb ksirc ktalkd lanbrowsing librss wifi knewsticker DO_NOT_COMPILE += kdict kpf kppp krdc ksirc ktalkd knewsticker # for kdemultimedia # DO_NOT_COMPILE += arts audiofile_artsplugin doc juk kaboodle kfile-plugins kmid kmix libkcddb mpeglib mpg123_artsplugin oggvorbis_artsplugin xine_artsplugin krec noatun kscd kioslave kaudiocreator mpeglib_artsplug DO_NOT_COMPILE += juk kaboodle kmid krec noatun # for kdepim #DO_NOT_COMPILE += doc kabc kdgantt kfile-plugins kgantt kioslaves kmailcvt kmobile kresources ktnef libical libkdenetwork libksieve mimelib libkcal certmanager korn knotes libkdepim kpilot ksync kitchensync kalarmd knode kmail karm kandy kaddr essbook libkpimexchange kalarm korganizer konsolekalendar kontact DO_NOT_COMPILE += kabc kandy # for kdeaddons # DO_NOT_COMPILE += doc kaddressbook-plugins kate kfile-plugins kicker-applets knewsticker-scripts konq-plugins kontact ks ig noatun-plugins renamedlgplugins vimpart DO_NOT_COMPILE += knewsticker-scripts konq-plugins kontact ksig renamedlgplugins vimpart # for kdegraphic # DO_NOT_COMPILE += doc kamera kcoloredit kfax kgamma kghostview kiconedit kmrml kpaint kpdf kpovmodeler kruler ksnapshot ksvg kuickshow kview kviewshell libkscan kfile-plugins kfaxview kdvi kooka DO_NOT_COMPILE += kfax kgamma kiconedit kpaint kpovmodeler libkscan kfaxview kooka # for kdeutils # DO_NOT_COMPILE += ark charselectapplet doc kcalc kcardtools kcharselect kdelirc kdepasswd kdessh kdf kedit kfloppy kgpg khexedit kjots klaptopdaemon kmilo kregexpeditor ksim ktimer kwallet DO_NOT_COMPILE += kdelirc kedit kfloppy kjots kregexpeditor ksim # for kdeadmin # DO_NOT_COMPILE += doc kcmlinuz kcron kdat kfile-plugins kpackage ksysv kuser lilo-config secpolicy DO_NOT_COMPILE += kcmlinuz kdat kpackage ksysv # for kdeartwork # DO_NOT_COMPILE += IconThemes icewm-themes kscreensaver kwin-styles kworldclock sounds styles wallpapers DO_NOT_COMPILE += icewm-themes kscreensaver kworldclock sounds wallpapers
[Update]
Voici un petit script permettant d'automatiser le tout :
# Please fetch all kde3 archives before # cd /usr/ports/x11/kde3 ; # sudo make fetch-recursive for path in `ls /usr/ports/distfiles/KDE/k*.tar.bz2` ; do short=`echo $path | cut -d / -f6 | sed -e "s/.tar.bz2//"` ; echo "# Available modules for $short " echo -n "DO_NOT_COMPILE += " for part in `tar tzf $path | egrep "$short/[^/]+/$"` ; do name=`echo $part | cut -d/ -f2` ; echo -n "$name "; done echo "" ; echo "" ; done
et ca donne
# Available modules for kdeaddons-3.4.3 DO_NOT_COMPILE += debian vimpart noatun-plugins kate konq-plugins atlantikdesigner kaddressbook-plugins ksig renamedlgplugins doc kfile-plugins knewsticker-scripts kicker-applets admin # Available modules for kdebase-3.4.3 DO_NOT_COMPILE += kcheckpass kdebugdialog ksmserver debian kate kdepasswd kpersonalizer kfind kcontrol kcminit pics kdmlib khelpcenter doc klipper kicker kpager kdialog kreadconfig kioslave kdeprint nsplugins kappfinder kdesktop applnk kmenuedit konqueror knetattach kscreensaver ksplashml kxkb libkonq kdcop khotkeys drkonqi ktip kstart kwin konsole l10n kdm kdesu ksysguard ksystraycmd admin # Available modules for kdegames-3.4.3 DO_NOT_COMPILE += klickety kspaceduel debian ksirtet katomic kolf kwin4 ktron kblackbox ksame kshisen kmahjongg doc ktuberling atlantik ksokoban libkdegames konquest kbattleship kenolaba lskat kjumpingcube klines kmines kfouleggs kbounce ksmiletris kgoldrunner kreversi kpoker kpat kasteroids kbackgammon ksnake libksirtet admin # Available modules for kdegraphics-3.4.3 DO_NOT_COMPILE += debian kpdf kfaxview kview libkscan kpovmodeler kgamma kdvi kcoloredit kooka doc kuickshow kolourpaint ksvg ksnapshot kviewshell kmrml kfax kghostview kamera kruler kiconedit kfile-plugins admin # Available modules for kdelibs-3.4.3 DO_NOT_COMPILE += libkscreensaver debian interfaces kmdi kate libltdl kab kdefx kcmshell kconf_update licenses doc arts mimetypes kioslave kinit kimgio kio kdewidgets win kstyles kabc kwallet kcert kutils kdesu kspell2 knewstuff kdecore khtml kresources dcop kjs pics kdoctools kparts kded kdeprint kdeui libkmid dnssd admin # Available modules for kdemultimedia-3.4.3 DO_NOT_COMPILE += mpeglib kaboodle mpg123_artsplugin debian akode kmid krec kscd juk kappfinder-data kaudiocreator libkcddb mpeglib_artsplug noatun doc kmix audiofile_artsplugin arts kfile-plugins oggvorbis_artsplugin xine_artsplugin kioslave admin # Available modules for kdenetwork-3.4.3 DO_NOT_COMPILE += kpf debian krdc krfb lanbrowsing kdnssd kopete knewsticker kget filesharing kdict librss wifi doc kfile-plugins kppp ktalkd ksirc dcoprss admin # Available modules for kdepim-3.4.3 DO_NOT_COMPILE += akregator kmobile debian kode wizards kresources ksync kgantt certmanager libkpgp libkmime karm libkpimexchange kdgantt kmail networkstatus knode kioslaves dcopidlng libkdenetwork doc kalarm libemailfunctions korn libkpimidentities kmailcvt kaddressbook libksieve libkholidays plugins kitchensync kabc libkdepim libkcal kpilot knotes kontact kandy ktnef kfile-plugins kalarmd korganizer konsolekalendar mimelib admin # Available modules for kdesdk-3.4.3 DO_NOT_COMPILE += kbabel umbrello debian kstartperf kmtrace kspy kapptemplate scripts kompare kdeaccounts-plugin poxml scheck kcachegrind kdepalettes doc cervisia kfile-plugins kuiviewer kprofilemethod kbugbuster kioslave admin # Available modules for kdetoys-3.4.3 DO_NOT_COMPILE += debian kmoon fifteenapplet kworldwatch ktux kodo amor kteatime doc kweather eyesapplet admin # Available modules for kdeutils-3.4.3 DO_NOT_COMPILE += kdessh debian charselectapplet kfloppy kcharselect kgpg kjots ktimer klaptopdaemon kedit ksim kwallet kdf doc khexedit kmilo kregexpeditor kdelirc kcalc ark admin # Available modules for kdewebdev-3.4.3 DO_NOT_COMPILE += debian kfilereplace quanta kxsldbg kimagemapeditor doc lib klinkstatus kommander admin
sh extractKdeModules.sh 47.25s user 1.09s system 27% cpu 2:55.64 total