| 1 | | |
| | 1 | == [wiki:dev-util/git git] master == |
| | 2 | |
| | 3 | ||R5||untested|| |
| | 4 | ||BONE||untested|| |
| | 5 | ||Haiku||untested|| |
| | 6 | |
| | 7 | Dependencies: |
| | 8 | |
| | 9 | * [wiki:x11-libs/pixman] >= 0.10.0 |
| | 10 | * [wiki:media-libs/libpng] |
| | 11 | * [wiki:media-libs/freetype] |
| | 12 | * [wiki:media-libs/fontconfig] |
| | 13 | |
| | 14 | === work-in-progress (andreasf) - [Haiku] === |
| | 15 | |
| | 16 | After commenting out addition of {{{-lpthread}}}, {{{make check}}} fails: |
| | 17 | {{{ |
| | 18 | gcc -g -O2 -o .libs/imagediff imagediff.o ./.libs/libcairotest.a -L/boot/home/config/lib /boot/home/cairo/src/.libs/libcairo.so /boot/home/config/lib/libfontconfig.so /boot/home/config/lib/libfreetype.so /boot/home/config/lib/libexpat.so /boot/home/config/lib/libpng12.so -lz -lbe /boot/home/config/lib/libpixman-1.so |
| | 19 | ./.libs/libcairotest.a(libcairoboilerplate_la-cairo-boilerplate-beos.o): In function `_cairo_boilerplate_beos_create_surface': |
| | 20 | /ToBe/cairo/boilerplate/cairo-boilerplate-beos.cpp:205: undefined reference to `cairo_beos_surface_create' |
| | 21 | ./.libs/libcairotest.a(libcairoboilerplate_la-cairo-boilerplate-beos.o): In function `_cairo_boilerplate_beos_create_surface_for_bitmap': |
| | 22 | /ToBe/cairo/boilerplate/cairo-boilerplate-beos.cpp:241: undefined reference to `cairo_beos_surface_create_for_bitmap' |
| | 23 | collect2: ld returned 1 exit status |
| | 24 | make[3]: *** [imagediff] Error 1 |
| | 25 | }}} |
| | 26 | This is because BeOS sources are commented out in Makefile.am! |
| | 27 | |
| | 28 | Lots of compilation errors due to outdated types. |
| | 29 | |
| | 30 | [source:BePorts/trunk/x11-libs/cairo/cairo-master.diff Patch] |
| | 31 | |
| | 32 | Compilation succeeds, but running `make check` leeds to one unresolved pixman symbol at runtime. {{{cairoint.h}}} needs to be #include'd as {{{extern "C"}}} to fix this. |
| | 33 | |
| | 34 | Crash: |
| | 35 | {{{ |
| | 36 | clip-zero-beos-rgb24 [25] (similar): PASS |
| | 37 | lt-clip-zero: /ToBe/cairo/src/cairo.c:87:_cairo_error: status > CAIRO_STATUS_SUCCESS && status <= CAIRO_STATUS_LAST_STATUS |
| | 38 | }}} |
| | 39 | gdb `bt`: |
| | 40 | {{{ |
| | 41 | #0 0xffff0102 in ?? () |
| | 42 | #1 0x006089f6 in debugger () from /boot/beos/system/lib/libroot.so |
| | 43 | #2 0x00611621 in __assert_fail () from /boot/beos/system/lib/libroot.so |
| | 44 | #3 0x0021bcfb in _cairo_error (status=1001) at /ToBe/cairo/src/cairo.c:86 |
| | 45 | #4 0x0021bd3d in _cairo_set_error (cr=0x1803fc50, status=1001) |
| | 46 | at /ToBe/cairo/src/cairo.c:115 |
| | 47 | #5 0x0021c1ad in cairo_push_group_with_content (cr=0x1803fc50, content=182) |
| | 48 | at /ToBe/cairo/src/cairo.c:520 |
| | 49 | #6 0x00204c44 in cairo_test_target_has_similar () |
| | 50 | #7 0x002053ea in cairo_test_expecting () |
| | 51 | #8 0x00205919 in cairo_test () |
| | 52 | #9 0x0020483a in main () |
| | 53 | }}} |
| | 54 | Same here: |
| | 55 | {{{ |
| | 56 | get-and-set-beos-rgb24 [25] (similar): PASS |
| | 57 | lt-get-and-set: /ToBe/cairo/src/cairo.c:87:_cairo_error: status > CAIRO_STATUS_SUCCESS && status <= CAIRO_STATUS_LAST_STATUS |
| | 58 | }}} |
| | 59 | {{{ |
| | 60 | #0 0xffff0102 in ?? () |
| | 61 | #1 0x006089f6 in debugger () from /boot/beos/system/lib/libroot.so |
| | 62 | #2 0x00611621 in __assert_fail () from /boot/beos/system/lib/libroot.so |
| | 63 | #3 0x0021bcfb in _cairo_error (status=1001) at /ToBe/cairo/src/cairo.c:86 |
| | 64 | #4 0x0021bd3d in _cairo_set_error (cr=0x1803dc50, status=1001) |
| | 65 | at /ToBe/cairo/src/cairo.c:115 |
| | 66 | #5 0x0021c1ad in cairo_push_group_with_content (cr=0x1803dc50, content=182) |
| | 67 | at /ToBe/cairo/src/cairo.c:520 |
| | 68 | #6 0x00205054 in cairo_test_target_has_similar () |
| | 69 | #7 0x002057fa in cairo_test_expecting () |
| | 70 | #8 0x00205d29 in cairo_test () |
| | 71 | #9 0x00204c4e in main () |
| | 72 | }}} |
| | 73 | Same here: |
| | 74 | {{{ |
| | 75 | get-clip-beos-rgb24 [25] (similar): PASS |
| | 76 | }}} |
| | 77 | ...and for some more. |
| | 78 | |
| | 79 | {{{ |
| | 80 | ======================================================================== |
| | 81 | 29 of 172 tests did not behave as expected (4 unexpected passes) |
| | 82 | Please report to http://bugs.freedesktop.org/enter_bug.cgi?product=cairo |
| | 83 | ======================================================================== |
| | 84 | make[3]: *** [check-TESTS] Error 1 |
| | 85 | Failed tests: |
| | 86 | clip-nesting: beos |
| | 87 | dash-curve: beos |
| | 88 | dash-state: beos |
| | 89 | device-offset-positive: beos |
| | 90 | get-and-set: beos-bitmap |
| | 91 | leaky-dashed-rectangle: beos beos-bitmap image |
| | 92 | meta-surface-pattern: beos-bitmap |
| | 93 | operator-source: beos |
| | 94 | rel-path: beos |
| | 95 | smask: beos beos-bitmap image |
| | 96 | smask-text: beos beos-bitmap image |
| | 97 | zero-alpha: beos beos-bitmap |
| | 98 | ft-text-vertical-layout-type1: beos beos-bitmap image |
| | 99 | Failures per surface - beos: 11, beos-bitmap: 7, image: 4. |
| | 100 | beos [11]: clip-nesting dash-curve dash-state device-offset-positive leaky-dashed-rectangle operator-source rel-path smask smask-text zero-alpha ft-text-vertical-layout-type1 |
| | 101 | beos-bitmap [7]: get-and-set leaky-dashed-rectangle meta-surface-pattern smask smask-text zero-alpha ft-text-vertical-layout-type1 |
| | 102 | image [4]: leaky-dashed-rectangle smask smask-text ft-text-vertical-layout-type1 |
| | 103 | make[3]: Leaving directory `/boot/home/cairo/test' |
| | 104 | make[2]: *** [check-am] Error 2 |
| | 105 | make[2]: Leaving directory `/boot/home/cairo/test' |
| | 106 | make[1]: *** [check-recursive] Error 1 |
| | 107 | make[1]: Leaving directory `/boot/home/cairo/test' |
| | 108 | make: *** [check-recursive] Error 1 |
| | 109 | }}} |