[maemo-developers] Packaging images into deb

From: Santtu Lakkala inz at inz.fi
Date: Mon Feb 4 17:16:37 EET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

eemeli wrote:
> I want to create a deb which only contains a bunch of extra images, 
> themes that my application uses. How do i make package for those?
> 
> The normal dh_make route doesnt work because i dont have makefiles of 
> anything else that all the examples seem to expect.

You can create a Makefile that copies the files to the right(tm) places
or make debian/rules do it for you.

The right place would be debian/<packagename>/usr/share/.... You might
want to update some icon caches too in your postinst script if you
install your images to the /usr/share/icons/hicolor -path.

So, your debian/rules could do something like this (instead of $(MAKE)
install):
mkdir -p debian/myicons/usr/share/pixmaps
cp myimage1.png myimage2.png debian/myicons/usr/share/pixmaps

The dpkg -b will also do the thing, but it's harder for others to
replicate (and you don't get proper source packages).

- --
Santtu Lakkala
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHpyxVX9Rc0+po4p0RAn7lAJ9/AzKaB7XPf0n/564yrEaujtmLHQCghTjv
SZdNTDzlCZTP12Dvzn0kEnM=
=rcBg
-----END PGP SIGNATURE-----

More information about the maemo-developers mailing list