[Bug-gnubg] libcanberra instead of QuickTime

2010-01-15 Thread Louis Zulli
I'd like to build a 64-bit gnubg on OS X 10.6.2 Snow Leopard. So I can't use the QuickTime framework, which isn't 64-bit. I've built all the gnubg dependencies as 64-bit, including libcanberra (used MacPorts). What modifications to the gnubg source are needed to use libcanberra instead of

Re: [Bug-gnubg] libcanberra instead of QuickTime

2010-01-15 Thread Christian Anthon
Is HAVE_CANBERRA defined as 1 in config.h? If not, configure doesn't find libcanberra. If it is, can you send me your modified sound.c. If that looks right, I guess you have to setup libcanberra in some way, libcanberra is mainly tested for linux. Christian. On Fri, Jan 15, 2010 at 11:50 AM,

Re: [Bug-gnubg] libcanberra instead of QuickTime

2010-01-15 Thread Achim Mueller
On Fri, Jan 15, 2010 at 11:50 AM, Louis Zulli zul...@lafayette.edu wrote: I'd like to build a 64-bit gnubg on OS X 10.6.2 Snow Leopard. So I can't use the QuickTime framework, which isn't 64-bit. I've built all the gnubg dependencies as 64-bit, including libcanberra (used MacPorts). I'd really

Re: [Bug-gnubg] libcanberra instead of QuickTime

2010-01-15 Thread Louis Zulli
gnubg builds on SL. The only issue is you can't make a 64-bit build using QuickTime. But you can build all the dependencies as universal binaries (+universal in MacPorts) and then build gnubg using -arch i386 in CFLAGS and LDFLAGS. This works fine, as far as I can tell. In fact, I'm about to

Re: [Bug-gnubg] libcanberra instead of QuickTime

2010-01-15 Thread Michael Petch
I'm not sure of the mechanism (Been a while since I used macports now), but could you build libcanberra and pull a copy of the config.log from its build process? Secondly does libcanberra have a dependency on gstreamer by any chance? On 15/01/10 10:51 AM, Louis Zulli zul...@lafayette.edu wrote:

[Bug-gnubg] gnubg on OS X 10.6.2

2010-01-15 Thread Louis Zulli
On Jan 15, 2010, at 12:39 PM, Achim Mueller wrote: I'd really apprechiate if someone can modify the code for Snow Leopard ;-). I'm missing gnubg on my MacBook and also had people asking me because I once made packages for Leopard. Ciao Achim Hi, Yes, I have it running on my Nehalem

Re: [Bug-gnubg] gnubg on OS X 10.6.2

2010-01-15 Thread Michael Petch
On 15/01/10 1:46 PM, Louis Zulli zul...@lafayette.edu wrote: This built a 32-bit binary --- gnubg: Mach-O executable i386. Sound works fine using the QuickTime framework. As expected at present Haven't done much, but things seem pretty good. There is a problem with Full Screen mode,

[Bug-gnubg] OS X 10.6.2 Full Screen graphics bug

2010-01-15 Thread Louis Zulli
On Jan 15, 2010, at 3:46 PM, Louis Zulli wrote: There is a problem with Full Screen mode, especially for 3d-board, but it seems to be related to Snow Leopard based on the Googling I did. For the record, though this is probably not a gnubg bug: 1. Move aside any .gnubg configuration

Re: [Bug-gnubg] OS X 10.6.2 Full Screen graphics bug

2010-01-15 Thread Michael Petch
On 15/01/10 4:58 PM, Louis Zulli zul...@lafayette.edu wrote: For the record, though this is probably not a gnubg bug: 1. Move aside any .gnubg configuration directory. 2. gnubg -w 3. View -- Switch to 3D View 4. View -- Full Screen 5. Click OK Get an empty gray window with a

Re: [Bug-gnubg] OS X 10.6.2 Full Screen graphics bug

2010-01-15 Thread Michael Petch
Oops I should say it becomes corrupt when I come back out of fullscreen mode. I am curious. What happens when you don't use -w ? On 15/01/10 5:12 PM, Michael Petch mpe...@capp-sysware.com wrote: On 15/01/10 4:58 PM, Louis Zulli zul...@lafayette.edu wrote: For the record, though this is

Re: [Bug-gnubg] OS X 10.6.2 Full Screen graphics bug

2010-01-15 Thread Louis Zulli
On Jan 15, 2010, at 7:21 PM, Michael Petch wrote: I am curious. What happens when you don't use -w ? Seems the same as with the -w. Here's what appears in my Terminal window: (No game) set gui showids on (No game) set gui showids off (No game) Fri Jan 15 19:25:02 Procyon.local gnubg[3104]