Monday, April 13, 2009

Building KDE Svn

I am thinking of going ahead and switching to kde svn . Up till now I've only compiled the parts that I felt I needed. So I'm a bit "green" in this aspect.

My option now seem to be:
1. switch to a distro that has kde-svn packages.
2. Build it myself.

1. Pros: I don't have to recompile all the time etc.
Cons: For a lot of those distros I would be forced to use svn as my default which would not always be ideal this early on.


2. The pros and cons are just the inverse of the first option.


My preference right now is option 2 as it is less limiting. However I worry about compile times.
How long does it take you to compile a basic kde svn setup?

Right now I have a 2gb ram Core2Duo 1.66ghz anyone with a similar setup?

Any advice? Anyone know a good distro that might circumvent all this?

13 comments:

  1. Arch Linux fits your needs perfectly. You'll be able to setup a minimal install and then add anything to it.

    There are daily svn packages in this Arch repo: http://bbs.archlinux.org/viewtopic.php?id=44507

    ReplyDelete
  2. compiling KDE 4 will take a while for the first time, and every subsequent update will take at least an hour, sometimes several. I would not recommend waiting for it to finish while holding your breath ;-)

    I use the daily svn packages from arch, which are nice enough.

    ReplyDelete
  3. Just note that the packages pointed to above conflict with "normal" KDE packages as they are also installed into /usr

    ReplyDelete
  4. openSUSE KDE:KDE4:UNSTABLE packages are built from weekly SVN snapshots. You can find out how to get them here: http://en.opensuse.org/KDE4.

    ReplyDelete
  5. Hi

    I'm currently using ubuntu (8.10) with kde built from source using kdesvn-build. My system is like yours, only it only has 1Gb of Ram.

    Full builds take 3-4 hours for the basics (Qt + KdeSupport + KdeLibs + KdeBase) or 8-10 hours for a full build (including some playground, Amarok and KOffice). An updated build will take much less time, though how much less will depend on how long you go between updates (don't count on Qt, KdeLibs or KdeBase building in under 15 minutes).

    Keep in mind that you will need to keep 15-20Go of disk space available for kde + source + buildtree.

    Finally, I suppose you're already aware of this (being on the planet and all), but updates on a Monday are the most risky (KdeLibs breaks the most on Mondays), all updates are at your own risk and be prepared to install a lot of extra -dev packages (eg: a couple of weeks ago, LibXslt was added to the deps of KdeLibs breaking my build).

    HTH

    Contact me at d dot mills-kdesvn at guesny dot net if you have any questions.

    David

    ReplyDelete
  6. Gentoo - you can have multiple versions of KDE installed at the same time - you could even have a 3.5.X, a 4.0, a 4.1, a 4.2, a 4.3-pre, and a "live" (svn) all installed simultaneously, with no conflicts - just select your session on login.

    The only downside is that none of it is pre-compiled, you have to do your own compilation...

    Gentoo for the win, once again. ;)

    ReplyDelete
  7. Kubuntu's Project Neon has a repository for nightly kde packages, but I don't know how often they are updated.

    The good thin is that these do not conflict at all with your "normal" KDE install...

    ReplyDelete
  8. I built it manually on Fedora 10 with a P4 3.0GHZ / 1GB RAM. It took me somewhere about 6 to 8 hours to build the first time. Regular updates take about 1 to 2 hours for me to build.

    Ps. You could use svn://websvn.kde.org:443/home/kde/trunk/KDE/ as an alternative address (see kdesvn-build's config) for the anonsvn since that seems kinda broken (for now).

    ReplyDelete
  9. Thank you for all the advice. It seems like building it myself wouldn't be that bad after all. Right now though I'm on arch linux. It's been going alright so I might just stick to it for now.

    @Eelko
    Did kdebindings & qyoto work for you on fedora?

    ReplyDelete
  10. @Ahmed
    I'd have to check that. I'll get back on it. :)

    ReplyDelete
  11. Here's a list of what I managed to build so far (and apparently I forgot to enable bindings so I can't tell if it will build, sorry):

    [root@localhost kdesvn]# cat successfully-built
    qt-copy
    kdesupport
    kdelibs
    kdepimlibs
    kdebase
    kdemultimedia
    kdesdk
    kdenetwork
    kdeadmin
    kdeutils
    kdetoys
    kdeedu
    kdeplasma-addons
    kdevplatform
    kdevelop
    kdewebdev

    ReplyDelete
  12. well that's most of the important stuff anyways. I just plan on doing some work with qyoto this summer.

    ReplyDelete