Bug 3664

Summary: Failed to build on macOS due to absence of gdk/gdkx.h
Product: Claws Mail (GTK 2) Reporter: Yurii Kolesnykov <yurikoles>
Component: PluginsAssignee: users
Status: NEW ---    
Severity: normal CC: yurikoles
Priority: P3    
Version: 3.14.1   
Hardware: Macintosh   
OS: Mac OS X 10.1   

Description Yurii Kolesnykov 2016-08-10 02:04:13 UTC
x11/tomboykeybinder.c:8:10: fatal error: 'gdk/gdkx.h' file not found
#include <gdk/gdkx.h>
         ^
1 error generated.
make[5]: *** [x11/libcmnpgtkhotkey_la-tomboykeybinder.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
x11/eggaccelerators.c:24:10: fatal error: 'gdk/gdkx.h' file not found
#include <gdk/gdkx.h>
         ^
1 error generated.
make[5]: *** [x11/libcmnpgtkhotkey_la-eggaccelerators.lo] Error 1
make[4]: *** [install-recursive] Error 1
make[3]: *** [install-recursive] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1
Comment 1 Andrej Kacian 2016-08-10 04:26:43 UTC
Are you sure this is a Claws Mail bug? We do not have source files such as x11/tomboykeybinder.c or x11/eggaccelerators.c. Seems to me like you were compiling some part of GNOME.
Comment 2 Andrej Kacian 2016-08-10 10:27:21 UTC
(In reply to comment #1)
> Are you sure this is a Claws Mail bug? We do not have source files such as
> x11/tomboykeybinder.c or x11/eggaccelerators.c. Seems to me like you were
> compiling some part of GNOME.

Disregard my above comment, it was pointed out to me that we _do_ have those files, within our notification plugin. I guess some autoconf magic will be needed to include correct header (x11/gdk/gdkx.h, perhaps) on macOS.
Comment 3 Yurii Kolesnykov 2016-08-11 19:58:11 UTC
>I guess some autoconf magic will be needed to include correct header (x11/gdk/gdkx.h, perhaps) on macOS.

I think that this is impossible since new releases of gdk+ 2.x does not ship this file anymore on OSX.