[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: triggers wishlist

On 2008-03-30, Joey Hess <joeyh@debian.org> wrote:
> --0IvGJv3f9h+YhkrH
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> Michael Biebl wrote:
>> > - update-icon-caches
>> > - update-desktop-database
>> > 	These are not very slow, nor used by a great many packages,
>> > 	but triggerizing them would allow getting rid of dh_icons and=20
>> > 	dh_desktop eventually, which I would appreciate.
>> Sounds interesting.
>> What would have a maintainer to do, to support triggers?
>> As a lot of Gnome/KDE packages use cdbs, would fixing kde.mk/gnome.mk be
>> sufficient?

I think kde.mk is mostly used to set correct autofoo arguments and such.
Not about the postinst snippets, where kde.mk just relies on the cdbs
debhelper.mk bruteforcing.

> The maintainers of packages using them then stop running them manually
> in the maintainer scripts. This could be accomplished by a debhelper
> modification.

A debhelper modification and a binNMU of related packages ? ;)

Maybe having the trigger enabled dh_foo fill in misc:Depends with a
versioned dependency on a trigger aware dpkg ?


Reply to: