Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #16485 (new defect)

Opened 3 months ago

Last modified 3 weeks ago

Gthumb does not build against Quartz GTK2

Reported by: mike@… Owned by: macports-tickets@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.6.0
Keywords: Cc: mike@…, ryandesign@…
Port: gthumb

Description (last modified by jmr@…) (diff)

I have built the following libraries (and their dependencies):

poppler +quartz pango +no_x11 gtk2 +quartz

When I try to build gthumb against them, I get:

 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DXTHREADS -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/pixman-1 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/orbit-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/gail-1.0 -I/opt/local/include/gnome-vfs-module-2.0 -I/opt/local/include/libglade-2.0 -DGTHUMB_MODULEDIR=\"/opt/local/lib/gthumb/modules\" -DGTHUMB_GLADEDIR=\"/opt/local/share/gthumb/glade\" -I/opt/local/include -O2 -no-cpp-precomp -flat_namespace -undefined suppress -MT eel-canvas-rect.lo -MD -MP -MF .deps/eel-canvas-rect.Tpo -c eel-canvas-rect.c  -fno-common -DPIC -o .libs/eel-canvas-rect.o
eel-canvas-rect.c:32:22: error: gdk/gdkx.h: No such file or directory
eel-canvas-rect.c: In function 'eel_canvas_rect_realize':
eel-canvas-rect.c:376: error: 'gdk_display' undeclared (first use in this function)
eel-canvas-rect.c:376: error: (Each undeclared identifier is reported only once
eel-canvas-rect.c:376: error: for each function it appears in.)
eel-canvas-rect.c:383: warning: assignment makes pointer from integer without a cast
eel-canvas-rect.c:385: warning: assignment makes pointer from integer without a cast
eel-canvas-rect.c: In function 'render_rect_alpha':
eel-canvas-rect.c:504: warning: assignment makes pointer from integer without a cast
make[3]: *** [eel-canvas-rect.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Change History

Changed 3 months ago by mike@…

  • cc mike@… added

Cc Me!

Changed 3 months ago by blb@…

gdkx.h is an X11-specific header, so sounds like gthumb may have some bits that require X11, hence can't be done with a quartz gtk2 install. If that's the case, you'll have to take it upstream.

Changed 3 months ago by mike@…

Changed 3 months ago by ryandesign@…

  • keywords ticketformatting added

Changed 3 months ago by jmr@…

  • keywords ticketformatting removed
  • description modified (diff)

Changed 3 weeks ago by ryandesign@…

  • cc ryandesign@… added
  • port changed from gnumeric to gthumb

There's a patch for this attached to the above gnome bugzilla ticket. Presumably it will be in gthumb 2.10.11.

Note: See TracTickets for help on using tickets.