[MacPorts] #49331: gtk2 silent build breakage with gdk-pixbuf2 at 2.32.1_0+bundle

MacPorts noreply at macports.org
Sat Oct 17 10:13:08 PDT 2015


#49331: gtk2 silent build breakage with gdk-pixbuf2 at 2.32.1_0+bundle
--------------------+--------------------------------
 Reporter:  help@…  |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.3.4
 Keywords:          |       Port:  gdk-pixbuf2 gtk2
--------------------+--------------------------------
 gtk2 build process calls just compiled and not yet installed gtk-update-
 icon-cache which doesn't work when gdk-pixbuf2 is compiled with bundle
 variant enabled (see #46685). Build carries on, but resulting library is
 missing stock icons, which can be confirmed with gtk-demo application
 (Stock Item and Icon Browser example). 2 solutions are possible:
 1). set GDK_PIXBUF_MODULE_FILE environment variable to correct
 loaders.cache file path;
 2). or remove bundle variant from gdk-pixbuf2.
 First solution is basically a workaround and not a fix IMHO. I like second
 solution better, because I don't think bundle variant in gdk-pixbuf2 is
 useful - it has nothing to do with application bundling, where you will
 have to set GDK_PIXBUF_MODULE_FILE anyway (../lib will be incorrect,
 because binary is in MacOS directory, not Resources/bin), so the only
 scenario where it's useful is smth like "mv /opt/local /usr/local" which
 will break other gtk stuff anyway.

-- 
Ticket URL: <https://trac.macports.org/ticket/49331>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list