public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] RFC: Moving gnome2_icon_cache_update functionality to xdg-utils.eclass
@ 2018-02-16  0:17 Mart Raudsepp
  2018-02-16  5:38 ` Michał Górny
  0 siblings, 1 reply; 3+ messages in thread
From: Mart Raudsepp @ 2018-02-16  0:17 UTC (permalink / raw
  To: gentoo-dev

Hello,

Before writing the obvious patches, would anyone terribly object to
moving gnome2_icon_cache_update into xdg-utils.eclass instead and
hooking it up via savelist guard in xdg.eclass (only running in
postinst/postrm when really needed)?

The gtk icon cache format isn't used by gtk+ only - it's used by Qt as
well these days; and either way if anything installs things per the
icon specs, the caches should be updated for gtk/qt to see it (even if
the program itself is written in motif or something).

Open dilemmas:

* To DEPEND on gtk-update-icon-cache, or to rely on the toolkits to
pull it in and only run the updates if the helper is present. We have
it split out from gtk+ codebase, so it only has glib/gdk-pixbuf deps
right now.

* If it's worth trying to avoid double calls in postint and postrm for
ebuilds that inherit xdg and call gnome2_icon_cache_update manually
right now on top (due to xdg.eclass not doing it for them).


If these changes are agreeable, then they could also be batched into a
single push with the documentation update patches pending from mgorny
for a single metadata cache invalidation of gnome2-utils.eclass using
ebuilds.

If this looks good, I can write patches soon, though there's always
other things to do too (like work on integrating a gnome-meson.eclass
or meson-desktop.eclass on top of this), so help with patches welcome
as well.


Mart


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-16 13:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-16  0:17 [gentoo-dev] RFC: Moving gnome2_icon_cache_update functionality to xdg-utils.eclass Mart Raudsepp
2018-02-16  5:38 ` Michał Górny
2018-02-16 13:51   ` Mart Raudsepp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox