[maemo-developers] Debhelper 7

From: Anderson Lizardo anderson.lizardo at openbossa.org
Date: Mon Dec 14 15:02:28 EET 2009
On Mon, Dec 14, 2009 at 7:15 AM, Marius Vollmer
<marius.vollmer at nokia.com> wrote:
> On balance, I think it is better to just stick to debhelper 5 in
> Fremantle.

And from our experience in PyMaemo backporting various (but not that
many) packages from debhelper compatibility level 7 to 5, in most
cases you need just to change:

* debian/compat:  7 -> 5
* debian/control: Build-Depends: debhelper (>= 7) -> debhelper (>= 5)
* And maybe comment out a few dh_* calls from debian/rules, which
might not exist on level 5

Now things might get complex if the packaging already uses some new
features of level 7, like those CDBS-like helper rules. In such cases,
looking at versions prior to the compatibility level upgrade might
help doing the downgrade (and most Debian packages are kept in public
SCMs like svn.debian.org).

Regards,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
More information about the maemo-developers mailing list