[maemo-developers] Optification in MADDE, again
From: Ville M. Vainio vivainio at gmail.comDate: Fri Jul 2 13:45:36 EEST 2010
- Previous message: Optification in MADDE, again
- Next message: Optification in MADDE, again
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Please review these: https://bugs.maemo.org/show_bug.cgi?id=10826 (use the attached template) http://wiki.forum.nokia.com/index.php/How_to_make_optification_with_MADDE On Fri, Jul 2, 2010 at 12:31 PM, Martin Storsjö <martin at martin.st> wrote: > Hi, > > It seems I'm late to the discussion on optification in MADDE... In the > earlier discussion, I saw this quote: > >> You cannot use that with MADDE, because maemo-optify* commands use >> internally some dpkg* command options that are not implemented by MADDE. > > When grepping through the source of maemo-optify 0.2.1, I see no such > calls at all, anyone care to clarify this? > > > I tried adding the maemo-optify scripts outside of MADDE, in my path (on > OS X), and it seems to work just fine, but the rest of the environment > adds some complications. > > dh_fixperms, which write the list of files for tarlisted, doesn't > recognize symlinks at all, but this can be fixed with the attached patch. > This would be an issue also if doing manual optification and using > symlinks, I think? > > The final problem, though, is that of the order of commands in > debian/rules, which, for me, initially looked like this: > > dh_strip > dh_compress > dh_fixperms > # dh_perl > # dh_makeshlibs > dh_installdeb > dh_shlibdeps > dh_gencontrol > dh_md5sums > maemo-optify > dh_builddeb > > dh_fixperms is called a few steps before maemo-optify, so it creates a > .tarlist that references files as they are at that point, but maemo-optify > changes them later on. maemo-optify cannot be called before dh_installdeb, > though. Moving dh_fixperms down to below maemo-optify does seem to work, > although I'm not sure if that's an acceptable change in general. > > // Martin > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > > -- Ville M. Vainio http://tinyurl.com/vainio
- Previous message: Optification in MADDE, again
- Next message: Optification in MADDE, again
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]