GTK 2.10 and Mac menu bar patch

Loïc Minier lool at dooz.org
Wed May 9 08:19:06 UTC 2007


On Tue, May 08, 2007, Mathias Brodala wrote:
> I’d like to apply the Mac menubar patch[0] to the GTK libs, but am puzzled as to
> how to do that. If I place the patch directly in the debian/patches directory,
> the directfb build fails:
> 
> > gcc -DG_DISABLE_DEPRECATED -Wall -g -O2 -o .libs/gtk-query-immodules-2.0 queryimmodules.o  ./.libs/libgtk-directfb-2.0.so ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so ../gdk/.libs/libgdk-directfb-2.0.so
> > ./.libs/libgtk-directfb-2.0.so: undefined reference to `gdk_x11_drawable_get_xid'
> > ./.libs/libgtk-directfb-2.0.so: undefined reference to `XInternAtom'
> > ./.libs/libgtk-directfb-2.0.so: undefined reference to `XChangeProperty'
> > ./.libs/libgtk-directfb-2.0.so: undefined reference to `gdk_display'
> > collect2: ld returned 1 exit status
> 
> The debian/rules file suggests that the directfb flavor can be disabled but the
> overall build also fails then.

 Either change your patch to add "#ifdef GDK_WINDOWING_X11", or try
 fixing the build process to not build the directfb packages (probably
 commenting them out of debian/control is enough), or try changing the
 build process to permit adding flavor specific patches.

-- 
Loïc Minier



More information about the pkg-gnome-maintainers mailing list