Linking against Gtk3 version of libxfce4ui

Simon Steinbeiß simon at xfce.org
Wed Jul 1 13:18:14 CEST 2015


On Wed, 1 Jul 2015 11:59:01 +0200
flo.xfce at gmx-topmail.de wrote:

> Ok, I found the error. I pulled in gdk/gdkx.h instead of gtk/gtkx.h
> Now it works as expected.
> 
> On 06/26/2015 11:56 AM, flo.xfce at gmx-topmail.de wrote:
> > Yes I'm well aware that I can't link against both Gtk2 and 3. But it
> > happens though. No idea why. So here are my changes to the configure script:
> > --- orig.ac.in	2015-06-26 11:46:24.543753131 +0200
> > +++ configure.ac.in	2015-06-25 17:59:36.260291407 +0200
> > @@ -61,10 +61,10 @@
> >  XDT_CHECK_LIBX11_REQUIRE()
> > 
> >  dnl required
> > -XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.4.0])
> > -XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.7.0])
> > +XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.12.0])
> > +XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.12.0])
> >  XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [0.1.0svn-r26876])
> > -XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.14.0])
> > +XDT_CHECK_PACKAGE([GTK], [gtk+-3.0], [3.16.0])

Hey Flo!

Just two quick notes: on the roadmap for 4.14 we set the Gtk+3 target version to 3.14, so it'd be great if all apps (incl. notifyd) would still build/work with that.
(See https://wiki.xfce.org/releng/4.14/roadmap)

The other thing is that you could try to get your stuff into a user repository on git.xfce.org instead [1] of whatever hosting for your code you're using now. (Meanwhile feel free to link to it, if you want people to test and so that there are no duplicate efforts.)

Cheers
Simon

[1] See http://docs.xfce.org/contribute/dev/get-a-contributor-account and http://docs.xfce.org/contribute/dev/git/userrepos


More information about the Xfce4-dev mailing list