[maemo-developers] Debmaster: Help for PyMaemo dependency hell on Fremantle?

From: Thomas Wälti twaelti at gmail.com
Date: Mon Sep 28 23:24:14 EEST 2009
Hello Benoît

Here is the fix: Change line 312 (? depending on your current version...) to

#==========================================================================
            # CREATE debian/changelog

#==========================================================================
            clog="""%(name)s (%(version)s-%(buildversion)s) stable;
urgency=low

The proof that it works: http://maemo.org/packages/view/mclock/ :-)

PS: Can you afterwards upload py2deb (0.5.0)  to the diablo and fremantle
repos? (I believe in diablo is still the old version without the script
support.)

Merci and thanks to all involved - case closed
-Tom



2009/9/28 Benoît HERVIER <khertan at khertan.net>

> Hi,
>
> Ok this is clearly a bug of py2deb which didn't include the package number.
> I ll fix this tomorrow in the morning.
>
> Best regards,
>
> 2009/9/28 Thomas Waelti <twaelti at gmail.com>:
> >>> So I guess there must be a bug somewhere in my package files.
> >>
> >> There is, it's in the changelog.
> >>
> >> The canonical place for the version string is in your changelog -
> >> debian tools look for that string and assign the version based on
> >> that. Here's the first line of your changelog for verion 0.6.4:
> >>
> >> mclock (0.6.4) stable; urgency=low
> >>
> >> As you can see there is no -1 after the version number. Also, the
> >> following word after the version in parentheses is "stable", but it
> >> really should be "unstable" since this signifies which debian
> >> repository this package is destined for. Of course, Maemo is not
> >> debian, so this is irrelevant at this point in time.
> >
> > Thanks for the help, I'll go after that and hunt and hopefully fix the
> bug.
> > (For me, finding this would have been like a needle in a haystack....)
> >
> >> I recommend using the tools recommended by debian and Maemo[0],
> >> specifically dh_make. The simple reason I recommend dh_make is that I
> >> have more experience with that then py2deb and I know that dh_make is
> >> well tested and used extensively in debian.
> >
> > Yes, I fully understand and agree. However, the idea is to offer an
> option to build a package for people without a linux desktop, so that they
> can prepare the package parts directly on their device and upload from there
> (same goes for pypackager). This also offers a quick way to "package"
> command line hacks (such as the gconf options for the display timeout, aka
> moreDimmingOptions)
> >
> > Best regards
> > -Tom
> >
> > _______________________________________________
> > maemo-developers mailing list
> > maemo-developers at maemo.org
> > https://lists.maemo.org/mailman/listinfo/maemo-developers
> >
>
>
>
> --
> Benoît HERVIER - http://khertan.net/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20090928/26a93415/attachment.htm 
More information about the maemo-developers mailing list