Hi there, On 06/15/2015 03:08 AM, Tom Schoonjans wrote:> In order to get xournal compiling against the gtk-quartz backend I had > to make the following changes to the code. Please consider them for > future updates: [remove a bunch of X11-specific portions in Makefile.am and various .c files -- essentially, things that were #ifndef WIN32 but are X11-specific rather than non-Windows-specific]
Thanks for the report. We can't make these changes as listed, because they break support for X11 backends (including linux) -- instead, one should add another set of conditionals for MacOS X (just like the WIN32 conditionals for the Windows environment). Ideally, we would auto-detect this. Does anyone competent with autoconf know how to tweak configure.in to either detect the presence of X11 and set a variable X11, or else detect the presence of MacOS with no X11 and set a variable QUARTZ, or at least allow a user configuration option (as in "configure --no-X11" or something like that to disable X11-specific code) ? (Question: on MacOS with X11 available, is it better to use X11 or to use Quartz? hmm, presumably what matters is how GTK is compiled...) Thanks, Denis ------------------------------------------------------------------------------ _______________________________________________ Xournal-devel mailing list Xournal-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xournal-devel