[Libreoffice] Objective C in slideshow

Christian Lohmaier lohmaier+libreoffice at googlemail.com
Sat Apr 23 10:34:46 PDT 2011


Hi *,

On Sat, Apr 23, 2011 at 6:06 PM, Norbert Thiebaud <nthiebaud at gmail.com> wrote:
> OGLTrans in slideshow on Mac as a couple of Objective/C (by opposition
> ot Objective/C++) files.
>
> Unfortunately gbuild did not have support for .m files (and silently
> did nothing for things like
> [...]
> I added support for Objective/C in gbuild:
> see bootstrap:4e8371c559d9cf677a1bc7e6a34161c5df4e2365
> http://cgit.freedesktop.org/libreoffice/bootstrap/commit/?id=4e8371c559d9cf677a1bc7e6a34161c5df4e2365
>
> Bjoern, I'd appreciated If you could give it your blessing... (or do
> your usual 'small changes' ;-) )

Thanks a lot, some nitpick
cc1obj: warning: command line option "-fno-enforce-eh-specs" is valid
for C++/ObjC++ but not for ObjC

i.e. would be nice if that flag would be stripped for ObjC compiles

Probably unrelated to your fix:
Slideshow unfortunately is not buildable with that change yet
(although it now doesn't longer break because of the missing symbol) -
it does a copy with only one file parameter:

tinderbox-buildslave:~/compile/libreoffice/slideshow buildslave$
/Users/buildslave/make_prefix/bin/make -r
R=/Users/buildslave/compile && S=$R/libreoffice &&
O=$S/solver/300/unxmacxp.pro && W=$O/workdir &&  mkdir -p $O/lib/ &&
rm -f $O/lib/libavmediamxp.dylib &&
cp -f  $O/lib/libavmediamxp.dylib &&
touch -r  $O/lib/libavmediamxp.dylib
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make: *** [/Users/buildslave/compile/libreoffice/solver/300/unxmacxp.pro/lib/libavmediamxp.dylib]
Error 64

i.e. the source is missing...

ciao
Christian


More information about the LibreOffice mailing list