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 1 and Version 2 of x11-libs/cairo/git-master/2


Ignore:
Timestamp:
03/07/09 00:01:34 (6 years ago)
Author:
umccullough
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • x11-libs/cairo/git-master/2

    v1 v2  
    1   
     1Prerequisites: 
     2 
     3libcurl[[BR]] 
     4git[[BR]] 
     5pkg-config[[BR]] 
     6libpng[[BR]] 
     7freetype[[BR]] 
     8fontconfig[[BR]] 
     9libiconv[[BR]] 
     10expat[[BR]] 
     11 
     12Get sources: 
     13 
     14{{{ 
     15git clone git://anongit.freedesktop.org/git/cairo 
     16git clone git://anongit.freedesktop.org/git/pixman 
     17}}} 
     18 
     19cd pixman 
     20 
     21Patch Pixman sources (get patch here http://umccullough.pastebin.com/f3ff20879): 
     22 
     23{{{ 
     24patch -p1 -i pixman-patch-2009-03-6.diff 
     25}}} 
     26 
     27autogen/configure pixman: 
     28 
     29{{{ 
     30./autogen.sh --prefix=/boot/common 
     31}}} 
     32 
     33make/install pixman: 
     34 
     35{{{ 
     36make 
     37make install 
     38}}} 
     39 
     40cd ../cairo 
     41 
     42Patch Cairo sources (get patch here http://umccullough.pastebin.com/f58fd375d): 
     43 
     44{{{ 
     45patch -p1 -i cairo-patch-2009-03-6.diff 
     46}}} 
     47 
     48autogen/configure Cairo: 
     49 
     50note: -O3 (or -O1) is required for compile because the default -O2 fails with compiler error, --enable-beos enables the custom beos backend surface 
     51 
     52{{{ 
     53./autogen.sh CFLAGS=-O3 CXXFLAGS=-O3 --prefix=/boot/common --enable-beos 
     54}}} 
     55 
     56make/install/test: 
     57 
     58{{{ 
     59make 
     60make install 
     61make test 
     62}}} 
     63 
     64test will probably fail to run properly, you may have to kill it - you can then try to run the test/cairo-test-suite manually, but it has serious issues. 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

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