Skip to content

Config::Model and cme to help debian transitions

March 16, 2012

Hello

As maintainer of libwx-scintilla-perl, I had to update the package to update a dependency declation to close bug #662427. The dependency was good enough for the package to work but it blocked the linpng15 transition.

This is yet another detail to remember when updating package: whether the dependencies are impacted by a transition. As I’m really bad at remembering such details, I’ve added the relevant check in the dpkg control source model used by cme.

Now running ‘cme check dpkg’ will warn you if a dependency impacts a transition. And ‘cme fix dpkg’ will fix you dependency list as resquested by a transition. Well, that holds true for the transition I’m aware of. Feel free to contact me if more transition checks are needed.

For those who are curious (or want to send me a patch for another transition), here’s the actual implementation of these new checks.

All the best

Advertisements
2 Comments
  1. Jakub Wilk permalink

    “New packages should build-depend on libtiff4 (>= 3.9.5-2)” — err, what? Maybe you meant libtiff4-dev? That’d be still wrong though.

    • Err.. According to the libtiff4 transition page, this dependency is correct. The only hitch is that it should be a runtime dependency, not a build time dependency. My bad. I’ll have to move this warning from Source.pl to Binary.pl. Thanks for the heads-up 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: