On Thu, 14 Nov 2019, Sven Schreiber wrote:
Am 14.11.2019 um 21:42 schrieb Allin Cottrell:
> A bit more in response to
>
https://www.mail-archive.com/gretl-devel@gretlml.univpm.it/msg10143.html
> and following. Also in response to useful information from Juan Estévez
> offlist.
Thanks for the update, Allin!
> GTK3-specific: I've done a GTK3 build of gretl myself now. I'm working
> on trying to figure the minimal set of icons needed for a
> redistributable package. It's certainly nothing like the 45 MB under
> mingw64/share/icons (more like a few hundred KB, I think), but I'm not
> ready with a recipe yet.
I was just browsing the various subdirectories in "icons" (in the MinSys
install) myself - it seems the biggest chunk are the cursors. Are those
needed?
Only a few of them. And probably only a few components of those few,
but I don't know if the components are separable. (I mean, a "watch"
cursor of 4146256 bytes must contain a bunch of resolutions and
maybe styles, but can they been prised apart?)
Another thought I had: Is there a certain "grep" magic one
could use in
the source to find out which GTK icons are used and referenced in the GUI?
Yes, grepping gui/*.c for 'GTK_STOCK_' gives a starting point. But
then you have to map from the now-deprecated GTK_STOCK identifiers
to the associated freedesktop icon-names (the GTK3 doc helps with
this) to figure which icon-names need to be included. But there's a
residual: some of the STOCK things don't have an associated
icon-name in the doc, so we have to guess what GTK3 is actually
using!
Anyway, that's what I've been working on lately.
Allin