This is a read-only archive!

Gentoo still rules

The version of akregator I have always displays article link text in an ugly dark blue, which doesn't show up well against my dark Qt theme. I can barely read an ebuild to save my life, and the KDE ebuilds are full of all kinds of odd KDE-specific stuff, but it still took me just a couple of minutes to:

  1. Find the sources in /usr/portage/distfiles
  2. Cludgily patch akregator to use normal text color for links (underlines still distinguish them)
  3. Copy the akregator ebuild into an overlay, throw the patch in there and add one line to the ebuild to read it
  4. emerge away

Et voil?, custom-patched, package-manager-managed app. Gentoo is pretty good for this kind of thing, whatever its other shortcomings. Does any other distro make it this easy to do such things? (I'm genuinely curious.)

September 26, 2008 @ 11:56 AM PDT
Cateogory: Linux
Tags: KDE, Gentoo, Linux

2 Comments

muflax
Quoth muflax on September 26, 2008 @ 2:14 PM PDT

It's just as easy under Arch. You'd copy the PKGBUILD (the equivalent of an ebuild) to a new folder, enter makepkg -o to download and extract the sources, patch, add the patch to the PKGBUILD and finally build and install the package with makepkg -i.

not you
Quoth not you on September 27, 2008 @ 12:01 PM PDT

Slackware. The Slackbuild system is very similar to the Arch Build System.

Frankly, you can do this with any distro. Just download the source package, add the patch and recompile into a supported .rpm or .deb. You could even just edit the spec (RPM) or control (deb) file from the source rpm, or source deb. Most packages that include patches have multiple patches strung together as a single .gz file and only need to apply one patch. So if you add your patch to the patches file it will be applied for you.