FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 01-13-2008, 08:02 PM
Loc Minier
 
Default Bug#460504: dh_desktop/dh_icons madness

On Sun, Jan 13, 2008, Peter Eisentraut wrote:
> It seems to me that, in principle, if some third package or user environment
> wants something to be done for its own functional benefit, it should be its own
> responsibility to arrange that, instead of bothering thousands of other
> packages with it.

Theoretically, this is supposed to only affect all packages shipping
icons in particular directories; for example, you have to coordinate
addition of cache handling snippets for all packages shipping files
below /usr/share/icons/hicolor otherwise you'll be missing some icons
when you install a package without the snippets.

> On a technical level, the best approach would appear to be
> implementing some sort of global dpkg postinst and postrm hooks.

Yes, "triggers"; I think these were not available at the time of the
first implementations; I did object to the current implementation for
many reasons -- but not to use triggers -- but as I didn't produce any
alternative code, the proposed implementation was merged and is now
what we rely on. I'd very much like if someone would provide a simpler
implementation, which I imagine could be based on triggers.

--
Loc Minier


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-15-2008, 08:40 AM
Josselin Mouette
 
Default Bug#460504: dh_desktop/dh_icons madness

Le dimanche 13 janvier 2008 22:02 +0100, Loc Minier a crit :
> > On a technical level, the best approach would appear to be
> > implementing some sort of global dpkg postinst and postrm hooks.
>
> Yes, "triggers"; I think these were not available at the time of the
> first implementations; I did object to the current implementation for
> many reasons -- but not to use triggers -- but as I didn't produce any
> alternative code, the proposed implementation was merged and is now
> what we rely on. I'd very much like if someone would provide a simpler
> implementation, which I imagine could be based on triggers.

As soon as triggers are available, the current implementation of both
update-desktop-database and update-icon-caches (as well as scrollkeeper)
can be trivially made to use them.

--
.'`.
: :' : We are debian.org. Lower your prices, surrender your code.
`. `' We will add your hardware and software distinctiveness to
`- our own. Resistance is futile.
 

Thread Tools




All times are GMT. The time now is 05:39 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org