Re: [Bug-XBoard] Some bugs while compiling on OS X 10.10.5

2015-12-10 Thread h . g . muller
Op Do, 10 december, 2015 2:58 am schreef global667:
> Hello,
>
>
> I got many, many warnings, while building the sources under OS X 10.10.5
> with clang (see attachment), but it works.
>
> If I run ./xboard with GTK, I got an warning.
>
>
> $ ./xboard
> No default pieces installed!
> Select your own using ‚-pieceImageDirectory'.

Sounds like you forgot to do "sudo make install"...

>
>
> with Xaw I got:
>
> $ ./xboard
> Error: Can’t open display:
>

This sounds like an internal Xaw error. The string "open display" does not
occur in the source anywhere.

Don't bother too much with Xaw. The future is GTK.

>
> By the way: I have become the maintainer of the sources of Xboard on
> Macport if it is okayfor you. I will put it to 4.8 and perhaps add gtk
> support.
>

OK, great. I am a Mac-ignorant, but please note that the sources can be
built for OS X through the Gtkosx library. Joshua Pettus can tell you more
about that.


Regards.

> Greets
>
>
> ___
> 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] Some bugs while compiling on OS X 10.10.5

2015-12-10 Thread global667
Hello,I got many, many warnings, while building the sources under OS X 10.10.5 with clang (see attachment), but it works. If I run ./xboard with GTK, I got an warning.$ ./xboardNo default pieces installed!Select your own using ‚-pieceImageDirectory'.with Xaw I got:$ ./xboardError: Can’t open display: By the way: I have become the maintainer of the sources of Xboard on Macport if it is okayfor you. I will put it to 4.8 and perhaps add gtk support.Greets

gtk-build.log
Description: Binary data


xaw-build.log
Description: Binary data
___
Bug-XBoard mailing list
Bug-XBoard@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-xboard

Re: [Bug-XBoard] Some bugs while compiling on OS X 10.10.5

2015-12-10 Thread H.G. Muller



Op 12/10/2015 om 2:58 AM schreef global667:

Hello,

I got many, many warnings, while building the sources under OS X 
10.10.5 with clang (see attachment), but it works.


Just to check if some of these warnings are really errors, could you try 
the following?


1) Start XBoard as "xboard -ncp -showTargetSquares true -testLegality true"
2) Select Chu Shogi from the File -> New Variant menu (lower-right button)
3) Play the white Lion from f3 to e5
4) Play the black Lion from g10 to e8
5) Play the white Lion from e5 to d6
6) Click the black Lion on e8

Clicking the Lion should highlight the squares it can move to by colored 
dots.
The question now is whether after (6) the square of the white Lion (d6) 
is highlighted this way in red

(allowing the black Lion to capture the white one) or whether it isn't.

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

Re: [Bug-XBoard] Some bugs while compiling on OS X 10.10.5

2015-12-10 Thread Joshua Pettus
For the record,  the gtk2 mac integration library, and our code that makes use 
of it,  Is completely centered around an OSX app bundle deployment.   Macports 
is like a unix style repository for OSX, and anything installed by it would be 
a classic unix style installation.  Therefor, in this situation, our OSX 
integration code is completely useless.  Which is fine. Anyone installing via 
macports is probably looking for a classic unix experience anyway. (Someone 
like Bob Hyartt for instance who probably doesn’t care for what Apple has to 
offer anyway XD).

Josh

> On Dec 10, 2015, at 11:48 PM, Joshua Pettus  wrote:
> 
>> 
>> On Dec 10, 2015, at 2:45 PM, h.g.mul...@hccnet.nl wrote:
>> 
>> Op Do, 10 december, 2015 2:58 am schreef global667:
>>> Hello,
>>> 
>>> 
>>> I got many, many warnings, while building the sources under OS X 10.10.5
>>> with clang (see attachment), but it works.
>>> 
>>> If I run ./xboard with GTK, I got an warning.
>>> 
>>> 
>>> $ ./xboard
>>> No default pieces installed!
>>> Select your own using ‚-pieceImageDirectory'.
>> 
>> Sounds like you forgot to do "sudo make install”…
> The warnings are normal and nothing  to worry about.
> 
> Yeah,  Xboard looks for it’s resources in the standard unix directories and 
> needs the "sudo make install" to set everything up correctly.  Idk if the 
> installation script takes in to account the “prefix" parameter which would be 
> needed for many macports installs?  (For the record, macports defaults to a 
> prefix of /opt/local and any app needs to be installed in there)  Such 
> directories really isn’t ideal for mass osx deployment which is why we went 
> through the trouble of bundling xboard in an app bundle, (taking advantage of 
> the quartz version of GTK2, the GTK2 mac integration library, and a few extra 
> lines of code on our part)
> 
> http://www.open-aurec.com/wbforum/viewtopic.php?f=19=53274 
> 
> 
>>> 
>>> 
>>> with Xaw I got:
>>> 
>>> $ ./xboard
>>> Error: Can’t open display:
>>> 
>> 
>> This sounds like an internal Xaw error. The string "open display" does not
>> occur in the source anywhere.
>> 
>> Don't bother too much with Xaw. The future is GTK.
>> 
> Well even for the standard GTK2 on OSX, a working X11 server is important.
> It sounds like you have a problem with your X11 server.  I assume you have 
> Xquartz.app installed or at least the macports x11 server port?  I know 
> Xquartz.app works fine, but I haven’t ever tried the x11 port.  Might need 
> some extra configuration.. do other x11 based apps work?  Inkscape comes to 
> mind.
> 
> I assume you will be making the port for the X11 version of GTK2?  That’s 
> generally what other GTK based macports use, and is still the default gtk2 
> install.
> 
> If you need any help, let me know.  I believe a working up-to-date macports 
> port, as another option besides the app bundle, is very desirable.
> 
> Best Regards,
> Josh
> 
>>> 
>>> By the way: I have become the maintainer of the sources of Xboard on
>>> Macport if it is okayfor you. I will put it to 4.8 and perhaps add gtk
>>> support.
>>> 
>> 
>> OK, great. I am a Mac-ignorant, but please note that the sources can be
>> built for OS X through the Gtkosx library. Joshua Pettus can tell you more
>> about that.
>> 
> 
> 
> 
> 
> 
> 
>> 
>> Regards.
>> 
>>> Greets
>>> 
>>> 
>>> ___
>>> 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