[cairo] Recommendations for 1.4.0

Peter Weilbacher (Mozilla) mozilla at weilbacher.org
Tue Mar 6 05:39:20 PST 2007


Dave Yeo wrote:

> Sure, though I think it is the GCC line that is in error
> 
> gcc.exe -g -O2 -o .libs/png-flatten.exe png-flatten.o 
> ./.libs/libcairotest_s.a -L/usr/local/lib
> /usr/src/cairo-git/src/.libs/libcairo_dll.a
> /usr/local/lib/libfontconfig_dll.a /usr/local/lib/libfreetype_dll.a
> /usr/local/lib/expat.a /usr/local/lib/libpng12_dll.a -lz -lpthread
> creating png-flatten.exe
> gcc.exe -g -O2    a8-mask.c imagediff.exe png-flatten.exe   -o a8-mask
> In file included from a8-mask.c:26:
> cairo-test.h:30:31: cairo-boilerplate.h: No such file or directory
> cairo-test.h:53:2: #error Cannot find definitions for fixed-width
> integral types (uint8_t, uint32_t, \etc.)
[...]
> Had a similar error since maybe 1.0.4 which clears up if building
> a8-mask.exe instead of a8-mask etc and most recently very similar
> results while compiling imagediff, fixed by adding $(EXEEXT). Make just
> does not add includes and libs unless building an executable.
> I also note that pthreads is still being linked in.

Hi Dave et al.,

many thanks for checking the OS/2 side of things before the release.
I was away and out of email contact for the last two weeks and still
trying to work out what I missed when I just noticed the 1.4.0
annoucement in my Inbox...
So many thanks for everybody helping out with the OS/2 stuff! :-)

Now, do I understand correctly, that the 1.4.0 release package does
build on OS/2 out of the box and that it's just the tests that fail?
I remember that for the tests I posted a patch here some months ago
that added $(EXEEXT) to all the tests listed in the TESTS variable
in tests/Makefile.am, similar to what Dave is suggesting above. At
the time it was rejected because there was some overhaul planned for
the tests makefile anyway. But it seems that it didn't happen yet?

Cheers,
   Peter.


More information about the cairo mailing list