Re: Updating the icon cache (GNOME Goals)
- From: Stanislav Brabec <sbrabec suse cz>
- To: Federico Mena Quintero <federico ximian com>
- Cc: GNOME Desktop <desktop-devel-list gnome org>, distributor-list gnome org
- Subject: Re: Updating the icon cache (GNOME Goals)
- Date: Thu, 09 Aug 2007 19:18:00 +0200
Federico Mena Quintero wrote:
> On Tue, 2007-08-07 at 11:28 +0200, Stanislav Brabec wrote:
>
> > And absolutelly ideal would be a new auto* standard:
> >
> > If package needs special action for installation/upgrade/removal,
> > specially named file containing these commands will be created.
>
> Ooooh, this is a very nice idea. Does anyone have traction with the
> automake team to make this happen? :)
>
> Barring that, we could probably make distros' lives easier by installing
> such scripts on our own (say, $(libexecdir)/myapp-install-hook).
No. It was just an idea.
Thinking more about it, there could exist some standard targets in
Makefile.am for these purposes.
But it is not easy as it looks:
- Makefile.am is expanded to Makefile. It might be untrivial to make
script in it.
- Having script is separate file also needs additional hacks to have
properly expanded things depending on $(prefix).
- RPM and DEB has different and incompatible scriptlets.
For example you can't "do this with old package before new version
starts to place its files" in RPM (i. e. %preuntrans is missing), but
you can do it in Debian by old-prerm.
For details see for example
http://bugzilla.gnome.org/show_bug.cgi?id=306924
--
Best Regards / S pozdravem,
Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec suse cz
Lihovarská 1060/12 tel: +420 284 028 966
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]