Opened 10 years ago

Last modified 7 years ago

#44165 new defect

Incomplete mpkg of gtk2 port — at Version 2

Reported by: manuel.op.de.coul@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.0
Keywords: Cc: ctreleaven@…
Port: gtk2, gdk-pixbuf2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I encountered a problem with the .mpkg file created with the command

  sudo port mpkg gtk2

When this package is installed on a clean Mac, the application that uses it can not display image files. This is confirmed because the gtk2 package contains a gtk-demo program in /opt/local/share/gtk-2.0/demo and when you click on the Images widget example button ïn this program you see a broken image together with error messages like "failed to load image". It happens on all OSX versions 10.6, 10.7, 10.8 and 10.9. After a long search for the problem I noticed that the folder /opt/local/share/mime on the clean Mac contained fewer files than on the machine with Macports on it. After copying all the missing files it finally worked! I had already sought the problem in the immodules cache (which is created with gtk-query-immodules-2.0) and found no problem with it, but noticed that it contains MIME names. So apparently gtk2 gives up loading an image if the MIME name cannot be resolved.

Please fix this. Of course I don't know if it's simply a missing dependency in the gtk2 package or a fault in the mpkg/mdmg code. But gtk2 needs the MIME database included. Thanks,

Manuel Op de Coul

Change History (2)

comment:1 Changed 10 years ago by ctreleaven (Craig Treleaven)

Cc: ctreleaven@… added

Cc Me!

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: mpkg incomplete removed

Which mime files were missing, and which port provides them?

Note: See TracTickets for help on using tickets.