[maemo-developers] debhelper-maemo-package-icons

From: Gabriel Schulhof nix at go-nix.ca
Date: Tue Nov 10 13:40:48 EET 2009
Hey, all!

Let's hope this package doesn't duplicate some functionality too (like
maemo-release did ... *scratch head*). So, here's the scoop.:

debhelper-maemo-package-icons adds the command dh_maemo_package_icons,
which you can use in the binary-arch section of debian/rules. You should
add it right at the top of the section, and add it again with -r at the
bottom of the section, like this:

binary-arch: <dependencies>
	<other dh_this and dh_that lines>
	dh_maemo_package_icons -r

some-other-target: <dependencies>

This will add a XB-Maemo-Icon-26: <uuencoded icon> line to all control
file sections where an icon file whose name is the same as that of the
package mentioned in the section is found.

Later, after the packages are built, running dh_maemo_package_icons -r
will remove these lines to restore the control file.

This package has actually been present for quite a while now, and I've
used it for Pidgin's packages, but I never really announced it as such.


More information about the maemo-developers mailing list