HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 19 and Version 20 of x11-libs/cairo


Ignore:
Timestamp:
12/15/08 14:21:24 (7 years ago)
Author:
scottmc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • x11-libs/cairo

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

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/