[maemo-developers] My first attempt: Give feedback on packaging, please (exif/libexif-ports)

From: Oskar Welzl lists at welzl.info
Date: Thu Feb 12 17:56:09 EET 2009
Hi,

last weekend I finally decided to port my first Debian package ever to Maemo. 

In extras-devel for diablo, you now find 'exif [1]' and 'libexif [2]', both with intl. translations (as exif-intl) and debug packages.

The only reason why I did it at all was to learn:
learn about Maemo packages, learn about Debian packages, about dpkg and thelike, about make-files... I knew nothing about all this until I started on Friday, and (lib)exif is a nice project because it's small and doesn't depend on anything. 
(The Maemo-related documentation is great, btw. I really loved it. From setting up scratchbox to telling me about Application Manager categories.... Everything was there. Thanks to those who wrote all that!)

While I'm absolutely proud of myself that I managed to create something that the autobuilder accepts and the Application Manager installs (and uninstalls!) without any prior knowledge, I'm still sure my work in debian/rules and debian/control could be improved. Beginners *always* make the same mistakes, don't they?

So I'd be very happy if somebody could have a look at the packages and provide some gentle feedback. (Basically it's really just these two files, rules and control. There's no changes to the original source code other than patches provided by the original Debian maintainers). 
Don't hesitate to install it. It shouldn't break your tablet
much.

What I'm looking for is both
a) things that are plain wrong and shouldn't be done that way, even though it happens to work in this particular case. (I'm not sure about the way I handled CFLAGS in debian/rules, for example. I copypasted this part, but still...)
b) things that are technically correct but are not The Right Thing to do (or not polite?) in a Debian-centric universe. (Like the way I moved the translation files into a package of their own, the fact that I put my name as maintainer even though I changed only a little, possible issues with the libexif-version that'll be part of Fremantle...)

So: If you'd try to make this *the* perfect package, what would you change?

Thx,
Oskar

[1] http://repository.maemo.org/extras-devel/pool/diablo/free/source/e/exif/
[2] http://repository.maemo.org/extras-devel/pool/diablo/free/source/libe/libexif/


More information about the maemo-developers mailing list