Re: Quartz regression in release 1.12

Andrea Canciani <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAN_5=BCe8BWXxMbZ5rf5BSnnjjdjR+7inhHHRzfxJULjirLzKw@mail.gmail.com>
On Sat, Apr 21, 2012 at 3:51 PM, cu <[email protected]> wrote:
> Andrea,
>
> I copied the configure command from config.log verbatim.
>
> Aside from the command, the only thing required is to set a few
> environment variables to point to pixman and freetype, which any cairo
> build should require anyway. I also set up compiler options (I am
> building against 10.4 SDK) but that's not required to either get the
> behavior or build, you can omit all CFLAGS/CPPFLAGS other than "-arch
> i386". The following is set up in environment (replace paths as necessary):
>
> pixman_CFLAGS=-I/Users/cu/work/u/include/pixman-1
> pixman_LIBS='-L/Users/cu/work/u/lib -lpixman-1'
> png_CFLAGS=-I/Users/cu/work/u/include
> png_LIBS='-L/Users/cu/work/u/lib -lpng12'
> png_REQUIRES=libpng12
> FREETYPE_CFLAGS=-I/Users/cu/work/u/include/freetype2
> FREETYPE_LIBS='-L/Users/cu/work/u/lib -lfreetype'
> CPPFLAGS='-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
> -mmacosx-version-min=10.4
> -I/usr/lib/gcc/i686-apple-darwin10/4.2.1/include
> -I/usr/include/c++/4.2.1/ -I/usr/include/c++/4.2.1/i686-apple-darwin10 -O3 '
> CXX=g++-4.2
> CXXFLAGS='-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
> -mmacosx-version-min=10.4
> -I/usr/lib/gcc/i686-apple-darwin10/4.2.1/include
> -I/usr/include/c++/4.2.1/ -I/usr/include/c++/4.2.1/i686-apple-darwin10 -O3 '
>
> Just in case here it is the command I am using (note that disable-glitz
> is not a current option, but it results in a warning and nothing else):
> ./configure --prefix=/tmp/dist --disable-xcb --disable-xcb-shm
> --disable-script --disable-win32 --disable-win32-font --disable-beos
> --disable-os2 --disable-glitz --disable-directfb --disable-gl
> --enable-pthread --disable-svg --disable-xml --disable-test-surfaces
> --disable-script --enable-interpreter=no --disable-full-testing
> --enable-ft --disable-shared --disable-xlib --disable-xlib-xrender
> --enable-pdf --disable-ps --disable-fc --enable-quartz
> --disable-quartz-font --disable-quartz-image
>
> I just re-ran configure with the same command and it worked, and I am
> able to build. What build error are you getting?

I compiled libcairo.a and ignored the errors I get when building
cairo-test-suite (a bunch of missing symbols from
ApplicationServices; I guess there is some libtool magic missing in
order to get the framework linked in when building with
--disable-shared).
When linking your bug.c against this library it prints Status: 0 (so I
still cannot reproduce).
Could you try to run the program in a debugger and break on _cairo_error?
It should break exactly when the error status is generated, so the
stack trace should provide useful information to find out what cairo
is attempting and why it is failing.

Andrea

>
>
> Andrea Canciani wrote:
>> I'm working on getting cairo-quartz to a usable state (but
>> unfortunately I don't have much time to spend on it except in
>> weekends).
>> Your configure commandline did not result in a working build, which is
>> another problem I should try to fix.
>> With the default build setting I freetype works in my environment, so
>> we might need some additional information to find out exactly what's
>> going wrong.
>> Could you attach the config.log output?
>> Do the freetype tests work in your env or do they cause the surface to
>> get in error status?
>>
>> Andrea
>>
>>
>>>> cu wrote:
>>>>
>>>>
>>>>> I am able to reproduce both bugs on the MacOS version of Cairo built
>>>>> from the branch.
>>>>>
>>>>>
>>>>>
>>>> --
>>>> cairo mailing list
>>>> [email protected]
>>>> http://lists.cairographics.org/mailman/listinfo/cairo
>>>>
>>>>
>>> --
>>> cairo mailing list
>>> [email protected]
>>> http://lists.cairographics.org/mailman/listinfo/cairo
>>>
>> --
>> cairo mailing list
>> [email protected]
>> http://lists.cairographics.org/mailman/listinfo/cairo
>>
>
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.