[Bf-committers] RE: configure.ac autoscan OS X

Maarten Gribnau bf-committers@blender.org
Mon, 2 Dec 2002 22:12:11 +0100


>>
>> The lack of AC_FUNC_REALLOC doesn't affect the outcome of the compile
>> on OS X so it probably isn't necessary.
>> It still has the error: "make: don't know how to make
>> blenderpublisher.app.c. Stop" with or without AC_FUNC_REALLOC.
>> I've been looking for blenderpublisher.app.c. but haven't been able to
>> find it.
>>
>
> I don't know if anyone has looked at this yet.
> The reason it exists the way it does is because I wasn't sure what do 
> do
> with the stuff in source/darwin.  What should probably be done is
> rename the target to blender.app and or blender.bin and maybe move the
> darwin/blenderpublisher.app to darwin/blender.app
>
> Do we have a MacOSX expert yet?
I am not a real expert but doing my best on an OSX box. I did not try 
the new autoconf stuff and am still working with the old Makefiles.
I know what the source/darwin stuff is for because I was one of the 
developers working on OSX at NaN. The .app folders there are just 
skeletons for the Mac applications. A Mac applications is a bundle 
containing the binary and some XML files at least. Without the bundle 
structure, the application does not interface well with the finder 
(does not get focus, and therefore no keyboard and mouse events).
In the Makefiles, the bundle skeletons in source/darwin are copied to 
the obj tree and the linked binaries are copied to the correct location 
inside the skeletons et voila, a working Mac application.

I don't know how to add this behavior in the new build system but I can 
aid testing it if you like.

Maarten