bug-freedink
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-freedink] Re: mac os x version for freedink


From: Sylvain Beucler
Subject: [Bug-freedink] Re: mac os x version for freedink
Date: Sun, 1 Mar 2009 18:57:39 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Giovanni,

On Sat, Feb 28, 2009 at 08:51:01PM +0100, Giovanni Vergine wrote:
> Hi,
> i just tried to compile freedink on my mac, and... IT WORKS !!! :)
> I noticed there's no mac package for freedink...
> I would like to write you what i did, before letting any beer-party  
> erase my memory ;)
>
> -----
> SECTION 1 - quick explanation for developers:
>
> mac os x does not come with sdl libraries neither with ffi libraries, so
> i did install it from source (through darwinports)
> i don't know if there is sdl packages for osx. i did not find it.
> then i could successfully compile freedink
> i think the best thing is to add a 'darwinport' entry and to do a  
> precompiled package for osx
> i would like to do it. can i?

This sounds like a good idea.

I think it would be good to be use the structure used by other packages:
- freedink: meta-package
- freedink-engine: freedink and freedinkedit
- freedink-data: the Dink data
- freedink-dfarc: the frontend (uses wxWidgets)


> -------
> SECTION 2 - that is what i did.
>
> 1) Install darwinports
> http://www.darwinports.com
>
> 2) From darwinports install libsdl, libsdl_image, libsdl_ttf,  
> libsdl_gfx, libsdl_mixer and libffi
>
> sudo port install libsdl +no_x11
> sudo port install libsdl_image +no_x11
> sudo port install libsdl_gfx +no_x11
> sudo port install libsdl_fft +no_x11
> sudo port install libsdl_mixer +no_x11
> sudo port install libffi
>
>
> 3) get latest snapshot of freedink sources. i used the 20 Jan 2009 one.
>
> 4) uncompress and  ./configure --disable-embedded-resources
>
> PAY ATTENTION: it could says that libsdl_ttf is not >2.0.9, but it IS.  
> So, i edited the ./configure script
> replacing the check with an ' if [ 1 -eq 1 ]; then '

I checked and there's a mistake indeed.
I fixed the test.

Note that darwin is shipping SDL_ttf 2.1 which doesn't exist. The
latest version is 2.0.9 and the next version will be 2.0.10, so I'm
not sure why darwin is using a different version. But I fixed my part
of the mistake nonetheless :)


> 5) make
>
> 6) sudo make install
>
> 7) download the freedink-data archive. i used the 20 November 2008 one.
>
> 8) uncompress and go there in the shell.
>
> 9) type 'freedink' of 'freedink -w' and start playing :)
>
>
> ---------------
> SECTION 3 - SCREENSHOT :)

Nice :)

See you in a bit in your other mail.

-- 
Sylvain




reply via email to

[Prev in Thread] Current Thread [Next in Thread]