‘Gentoo’ Archive

svneverever 1.2.2 released + UTF-8 bug in svn2git 1.0.8 2013-05-11 No Comments

When working on (the still on-going) migration of the Gentoo java project repositories from SVN to Git I ran into bugs with svn2git 1.0.8 and my own svneverever 1.2.1. The bug with svn2git 1.0.8 was a regression that broke support for (non-ASCII) UTF-8 author names in identity maps. That’s fixed in dev-vcs/svn2git-1.0.8-r1 in Gentoo. I [...]

How to set up a GRUB 2 theming playground (on Gentoo) 2012-07-01 2 Comments

In this post I am going to present a quick guide to set up a basic environment to test and develop GRUB 2 themes on Gentoo Linux. Its core feature is the use of virtualization so you restart virtual hardware rather than physical one. Ingredients: KVM (or QEMU) — i.e. package app-emulation/qemu-kvm or app-emulation/qemu GNU [...]

Vector remake of GDM 2.x background “gentoo-cow” 2012-06-24 4 Comments

It has been on my personal todo list for a while to remake the background of the “gentoo-cow” GDM 2.x theme in vector format. So I took some time to work on that today. The result is an SVG file and a bunch of PNG renderings (in many resolutions, ratios 4:3, 5:4, 8:5 and 16:9), [...]

My best tool with package bumps: Meld 2012-04-09 5 Comments

For quite some time I have been using Meld to detect relevant changes between two releases when I update a package in Gentoo. I run # ebuild foobar-1.2.ebuild manifest prepare # ebuild foobar-1.3.ebuild manifest prepare and throw Meld at both outputs # meld /var/tmp/portage/[..]/foobar-1.2/work/foobar-1.2/ \ /var/tmp/portage/[..]/foobar-1.3/work/foobar-1.3/ & Meld makes it easy to see what has [...]

overlint: Static analysis for your Gentoo overlay 2012-04-06 3 Comments

While repoman does a good job of finding smells in ebuilds, a tool to evaluate an overlay with respect to the state of the Gentoo main tree has to my knowledge been missing so far. overlint is a simple command line tool. From a technical view point it reports which version bumps from the overlay [...]

Got broken SVG icons/wallpapers in XFCE? 2011-09-08 1 Comment

Some time after a world update I noticed that XFCE’s desktop settings no longer listed SVG wallpapers from x11-themes/larry-backgrounds. Also, the XFCE menu was lacking icons for Blender 2.5x. sudo revdep-rebuild didn’t seem to help. Some digging in the code of xfdesktop quickly revealed that the loader of gdk-pixbuf didn’t like loading SVGs anymore. For [...]

GIMP 2.7.3 in Gentoo? 2011-08-31 5 Comments

I heard about GIMP 2.7.3 (released 2011-08-22) and its long-awaited single window mode from LWN recently. It read “[v]ersion 2.7 [..] wont hit most distro repositories for a while” quoting Linux Journal. That got me interested. Most distros? Not Gentoo: I updated the ebuild to 2.7.3 today. Once you unmask it, you can emerge it. [...]

Generating a random MAC address 2011-08-25 9 Comments

# enum -r -s ‘:’ -f ‘%02x’ 0 .. 6x .. 255 f3:1c:51:29:9a:ed 0 .. 6x .. 255 — produce values between 0 and 255 (inclusively), 6 of them -r — produce random values -s ‘:’ — insert a colon between values (instead of a newline) -f ‘%02x’ — formats values as two-digit hex values [...]

Larry the cow wallpaper 2011-08-22 3 Comments

It was back in April when I first stumbled upon this Larry-based Gentoo wallpaper on deviantART. I liked it. As the entry was missing mention of a license, resolutions other than 1024×768, and vector sources I contacted the author Dávid Kótai about it. As a result, he started updating the font and made versions for [...]

Printing a backtrace from inside a C program 2011-08-15 3 Comments

While digging in the latest code of htop in hunt of a resizing bug I came across calls to functions backtrace(3) and backtrace_symbols_fd(3), which I didn’t know about before. htop installs a custom segfault handler which tries to shut down curses and print a stacktrace using the backtrace(3) function. Example output looks like this: htop [...]