Opened 9 years ago

Closed 9 years ago

Last modified 3 years ago

#47568 closed defect (invalid)

libwnck: 'gdk/gdkx.h' file not found

Reported by: rudloff@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: cooljeanius (Eric Gallager)
Port: libwnck

Description

It seems libwnck can't be built against gtk2 +quartz:

In file included from class-group.c:28:
In file included from ./private.h:32:
./xutils.h:31:10: fatal error: 'gdk/gdkx.h' file not found
#include <gdk/gdkx.h>
         ^
In file included from application.c:29:
In file included from ./private.h:32:
./xutils.h:31:10: fatal error: 'gdk/gdkx.h' file not found
#include <gdk/gdkx.h>
         ^

Should I report this upstream? Meanwhile, is it possible to add an explicit dependency on gtk2 +x11?

Change History (3)

comment:1 Changed 9 years ago by dbevans (David B. Evans)

Resolution: invalid
Status: newclosed

Yes, that is true.

libwnck is one of several GNOME ports that use X11 specific API (typically in gtk+) which blocks building when using +quartz. My experience at reporting these instances upstream is an invitation to submit a patch. gcr is such an instance. So, yes, I would report this upstream (mentioning that they should support the gtk+ quartz backend as well as the x11 one) but I wouldn't hold out too much hope unless you can figure out the changes that need to be made and submit them with your request.

Note also that port libwnck is an outdated version (for gtk2 compatibility) and that libwnck3 is the current version which supports gtk3. It is much more likely that they would make a change to the current version. gtk3 also contains API that allows one to determine which backends are currently available which would be helpful in this situation. gtk2 does not.

Closing this ticket as invalid since this is an upstream issue not a MacPorts one.

comment:2 Changed 3 years ago by cooljeanius (Eric Gallager)

Note that the p5*-gnome2-wnck depend upon libwnck, so this blocks installation of the p5*-gnome* ports with the +quartz variant

comment:3 Changed 3 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.