[Bug-XBoard] [bug #45599] Xaw frontend build failure in OS X

2015-07-24 Thread Carlos Sánchez de La Lama
Follow-up Comment #1, bug #45599 (project xboard):

Seems related to Xorg bug #1625.
https://bugs.freedesktop.org/show_bug.cgi?id=1625

The fix for that bug included X11/keysymdef.h inside X11/Xutil.h. X11 version
on my iBook G4 (rather old, in fact) is older than that and does not include
it.

OTOH, according to Xlib documentation, they are independent header files, so I
guess it is safer to include both on sources using XK_* symbols.
http://www.x.org/releases/X11R7.7/doc/libX11/libX11/libX11.html#Standard_Header_Files


___

Reply to this item at:

  http://savannah.gnu.org/bugs/?45599

___
  Mensaje enviado vía/por Savannah
  http://savannah.gnu.org/


___
Bug-XBoard mailing list
Bug-XBoard@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-xboard

Re: [Bug-XBoard] [bug #45599] Xaw frontend build failure in OS X

2015-07-23 Thread Joshua Pettus
Hi

They are, we replaced __APPLE__ with osxapp for that very reason.  My guess is 
it’s a problem with his x11 install.  The default install is a little weird.  
You can try installing it in macports and see if that helps.

Josh



 On Jul 23, 2015, at 4:10 AM, H.G. Muller h.g.mul...@hccnet.nl wrote:
 
 I suppose this is a consequence of the gtkosx integration patches being 
 activated when compiling on OS X,
 even if the desire is not to compile for the integrated version, but for a 
 version intended to run on the
 Unix-compatible OS X interface (XQuartz?)?
 
 I suppose we should surround the OS X specific patches not by #ifdef 
 __APPLE__, but by a compiler switch
 set in the configure process, through an option --with-gtkosx, so that people 
 could still compile the Linux
 version of XBoard on OS X?
 
 H.G.
 
 Carlos Sánchez de La Lama schreef op 7/22/2015 om 9:19 AM:
 URL:
   http://savannah.gnu.org/bugs/?45599
 
  Summary: Xaw frontend build failure in OS X
  Project: XBoard
 Submitted by: csanchez
 Submitted on: mié 22 jul 2015 07:19:43 GMT
 Category: XBoard (X11)
 Severity: 3 - Normal
   Item Group: Installation/Configuration/Packaging
   Status: None
  Assigned to: None
  Open/Closed: Open
  Discussion Lock: Any
  Release: None
 
 ___
 
 Details:
 
 Xboard build process failed during in Xaw/xboard.c, due to XK_Meta_L symbol
 not being defined (along with many other XK_* symbols).
 
 Seems X11/keysym.h (which in turn includes X11/keysymdef.h) was missing. I do
 not know if it gets included by some other header in other platforms, but in
 my OS X (powerpc-apple-darwin8.11.0) it did not.
 
 Attached patch fixes the problem.
 
 
 
 ___
 
 File Attachments:
 
 
 ---
 Date: mié 22 jul 2015 07:19:43 GMT  Name: xboard-4.8.0.patch  Size: 360B
 By: csanchez
 Patch to enable build in OS X
 http://savannah.gnu.org/bugs/download.php?file_id=34483
 
 ___
 
 Reply to this item at:
 
   http://savannah.gnu.org/bugs/?45599
 
 ___
   Mensaje enviado vía/por Savannah
   http://savannah.gnu.org/
 
 
 ___
 Bug-XBoard mailing list
 Bug-XBoard@gnu.org
 https://lists.gnu.org/mailman/listinfo/bug-xboard
 
 
 ___
 Bug-XBoard mailing list
 Bug-XBoard@gnu.org
 https://lists.gnu.org/mailman/listinfo/bug-xboard


___
Bug-XBoard mailing list
Bug-XBoard@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-xboard

Re: [Bug-XBoard] [bug #45599] Xaw frontend build failure in OS X

2015-07-23 Thread H.G. Muller
I suppose this is a consequence of the gtkosx integration patches being 
activated when compiling on OS X,
even if the desire is not to compile for the integrated version, but for 
a version intended to run on the

Unix-compatible OS X interface (XQuartz?)?

I suppose we should surround the OS X specific patches not by #ifdef 
__APPLE__, but by a compiler switch
set in the configure process, through an option --with-gtkosx, so that 
people could still compile the Linux

version of XBoard on OS X?

H.G.

Carlos Sánchez de La Lama schreef op 7/22/2015 om 9:19 AM:

URL:
   http://savannah.gnu.org/bugs/?45599

  Summary: Xaw frontend build failure in OS X
  Project: XBoard
 Submitted by: csanchez
 Submitted on: mié 22 jul 2015 07:19:43 GMT
 Category: XBoard (X11)
 Severity: 3 - Normal
   Item Group: Installation/Configuration/Packaging
   Status: None
  Assigned to: None
  Open/Closed: Open
  Discussion Lock: Any
  Release: None

 ___

Details:

Xboard build process failed during in Xaw/xboard.c, due to XK_Meta_L symbol
not being defined (along with many other XK_* symbols).

Seems X11/keysym.h (which in turn includes X11/keysymdef.h) was missing. I do
not know if it gets included by some other header in other platforms, but in
my OS X (powerpc-apple-darwin8.11.0) it did not.

Attached patch fixes the problem.



 ___

File Attachments:


---
Date: mié 22 jul 2015 07:19:43 GMT  Name: xboard-4.8.0.patch  Size: 360B
By: csanchez
Patch to enable build in OS X
http://savannah.gnu.org/bugs/download.php?file_id=34483

 ___

Reply to this item at:

   http://savannah.gnu.org/bugs/?45599

___
   Mensaje enviado vía/por Savannah
   http://savannah.gnu.org/


___
Bug-XBoard mailing list
Bug-XBoard@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-xboard



___
Bug-XBoard mailing list
Bug-XBoard@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-xboard