Re: gtk 2.24.24 cross-gotcha
- From: Matthias Clasen <matthias clasen gmail com>
- To: Allin Cottrell <cottrell wfu edu>
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: gtk 2.24.24 cross-gotcha
- Date: Thu, 26 Jun 2014 08:57:13 -0400
On Wed, Jun 25, 2014 at 4:58 PM, Allin Cottrell <cottrell wfu edu> wrote:
Just in case anyone else falls into this: there's a potential gotcha if
you're cross-compiling gtk for (say) Windows on Linux. It took me a while to
figure out why the Windows version of my app didn't have any GTK icons any
more!
If gtk2 on the Linux host is updated to 2.24.24, and you're cross-building
gtk2 < 2.24.24 you will end up with a build that doesn't include any of the
"built-in" GTK icons.
Hey, sorry for not anticipating this possible problem.
and put in /usr/bin a shell script called gtk-update-icon-cache which calls
gtk-update-icon-cache.bin with the new (and as yet undocumented) option
--include-image-data:
The option is documented here:
https://developer.gnome.org/gtk3/3.13/gtk-update-icon-cache.html
I'm pretty sure I included the documentation update when
cherry-picking the patch to the 2.24 branch too.
Actually I wish that the 2.24 branch of GTK were not a domain of
experimentation.
As Emmanuele said, no experimentation here.
The change itself is pretty harmless. GTK+ (2 as well as 3) is
entirely capable of working with image-data-less icon caches. The one
place where we require image data to be present is the builtin cache,
because the icons are not actually present anywhere else on the
filesystem.
Again, sorry for the inconvenience,
Matthias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]