Changeset f575476 for x


Ignore:
Timestamp:
10/08/2012 08:56:35 PM (12 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
d18db05
Parents:
1497c445
Message:

Cairo 1.12.4.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10722 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/cairo.xml

    r1497c445 rf575476  
    77  <!ENTITY cairo-download-http "http://cairographics.org/releases/cairo-&cairo-version;.tar.xz">
    88  <!ENTITY cairo-download-ftp  " ">
    9   <!ENTITY cairo-md5sum        "87649eb75789739d517c743e94879e51">
     9  <!ENTITY cairo-md5sum        "a64bb8774a1e476e5cdd69e635794dfb">
    1010  <!ENTITY cairo-size          "41 MB">
    11   <!ENTITY cairo-buildsize     "178 MB">
     11  <!ENTITY cairo-buildsize     "200 MB">
    1212  <!ENTITY cairo-time          "1.1 SBU">
    1313]>
     
    8989        <para>
    9090          Required patch (if you intend to compile any Mozilla products):
    91           <ulink url="&patch-root;/cairo-&cairo-version;-expose-snapshot-1.patch"/>
     91          <ulink url="&patch-root;/cairo-&cairo-version;-expose_snapshot-1.patch"/>
    9292        </para>
    9393      </listitem>
     
    9898    <bridgehead renderas="sect4">Required</bridgehead>
    9999    <para role="required">
    100       <!-- Just a note: png is REQUIRED, since something that isn't REQUIRED
    101       does not need bunch of DISABLE switches. You are breaking the package
    102       for those that don't want to install recommended deps, and I've seen
    103       lot of people like that. Leave it, it is not a big dep, and I suspect
    104       that someone will install cairo just to test gobject-introspection, since
    105       I doubt someone will need that unless building gnome stuff, and it is
    106       really wrong way of thinking that someone might need cairo JUST to test
    107       introspection. No offense. -->
    108100      <xref linkend="libpng"/>,
    109101      <xref linkend="glib2"/> and
     
    111103    </para>
    112104
    113     <bridgehead renderas="sect4">Recommended (Required if building GTK+)</bridgehead>
     105    <bridgehead renderas="sect4">Recommended</bridgehead>
    114106    <para role="recommended">
    115       <xref linkend="fontconfig"/>,
     107      <xref linkend="fontconfig"/> and
    116108      <xref linkend="xorg7-lib"/>
    117109    </para>
     
    121113      <xref linkend="cogl"/>,
    122114      <ulink url="http://www.directfb.org/">DirectFB</ulink>,
    123       <xref linkend="gs"/> (for testing the postscript backend),
    124       <xref linkend="gtk2"/> (for testing the PDF backend),
     115      <!-- <xref linkend="gs"/> (for testing the postscript backend),
     116      <xref linkend="gtk2"/> (for testing the PDF backend), -->
    125117      <xref linkend="gtk-doc"/>,
    126118      <xref linkend="libdrm"/>,
    127       <xref linkend="librsvg"/> (for testing the SVG backend),
     119      <!-- <xref linkend="librsvg"/> (for testing the SVG backend),
    128120      <ulink url="http://libspectre.freedesktop.org">libspectre</ulink> (for
    129       testing the PDF backend),
     121      testing the PDF backend), -->
    130122      <xref linkend="mesalib"/>,
    131       <xref linkend="poppler"/> (for testing the PDF backend),
     123      <!-- <xref linkend="poppler"/> (for testing the PDF backend) -->
    132124      <xref linkend="qt"/>,
    133125      <ulink url="http://code.google.com/p/skia/">Skia</ulink> and
    134       <ulink url="http://www.valgrind.org">Valgrind</ulink>.
    135     </para>
    136 
    137     <note>
     126      <ulink url="http://www.valgrind.org">Valgrind</ulink>
     127    </para>
     128
     129    <!-- <note>
    138130      <para>
    139131        There is a reciprocal dependency with the
     
    142134        currently unreliable, it is best to simply skip it at this time.
    143135      </para>
    144     </note>
     136    </note> -->
    145137
    146138    <para condition="html" role="usernotes">
     
    157149    </para>
    158150
    159 <screen><userinput>sed -i 's#check-plt.sh ##' src/Makefile.in &amp;&amp;
    160 patch -p1 &lt; ../cairo-&cairo-version;-expose-snapshot-1.patch &amp;&amp;
    161 ./configure --prefix=/usr --disable-static --enable-tee --enable-xcb &amp;&amp;
     151<screen><userinput>patch -Np1 -i ../cairo-&cairo-version;-expose_snapshot-1.patch &amp;&amp;
     152./configure --prefix=/usr \
     153            --enable-tee  \
     154            --enable-xcb  \
     155            --disable-static &amp;&amp;
    162156make</userinput></screen>
    163157
    164     <para>
     158    <!-- <para>
    165159      Note that the tests take a long time to run, many of them fail for unknown
    166160      reasons and it has been known to cause a kernel panic. If you want to run
    167161      the tests issue: <command>make -k check</command>.
     162    </para> -->
     163
     164    <para>
     165      This package does not have a working testsuite.
    168166    </para>
    169167
     
    179177
    180178    <para>
    181       <command>sed -i 's#check-plt.sh ##' src/Makefile.in</command>: This sed
    182       disables running a test which is known to fail with the expose-snapshot
    183       patch.
    184     </para>
    185 
    186     <para>
    187       <command>patch -p1 &lt;
    188       ../cairo-&cairo-version;-expose-snapshot-1.patch</command>: This patch
    189       exposes some private functions that <application>Firefox</application>
    190       relies on. Applying this patch allows <application>Firefox</application>
    191       to use the system installed <application>Cairo</application>.
    192     </para>
    193 
    194     <para>
    195       <option>--enable-tee</option>: This is used by
    196       <application>Firefox</application>. If you don't enable the Cairo's tee
    197       surface backend you won't be able to build
    198       <application>Firefox</application> with
    199       <option>--enable-system-cairo</option>.
    200     </para>
    201 
    202     <para>
    203       <option>--enable-gl</option>: Enable <application>Cairo</application>'s
    204       OpenGL backend.
    205     </para>
    206 
    207     <para>
    208       <option>--enable-xcb</option>: Enable <application>Cairo</application>'s
    209       libxcb backend.
    210     </para>
    211 
    212     <para>
    213       <option>--enable-vg</option>: Enable the <application>Cairo</application>
    214       <ulink url="http://en.wikipedia.org/wiki/OpenVG">OpenVG</ulink> backend
    215       (requires <xref linkend="mesalib"/> installed, configured with
    216       --enable-gallium-egl and --enable-openvg).
     179      <option>--enable-tee</option>: This switch enables
     180      <application>Cairo</application>'s experimental tee
     181      surface which is required by some packages like
     182      <application>Firefox</application>.
     183    </para>
     184
     185    <para>
     186      <option>--enable-xcb</option>: This switch enables
     187      <application>Cairo</application>'s XCB surface
     188      which is required by some packages.
     189    </para>
     190
     191    <para>
     192      <option>--enable-gl</option>: This switch enables
     193      <application>Cairo</application>'s experimental
     194      <application>OpenGL</application> surface which
     195      is required for <application>Wayland</application>
     196      and some other packages that are not part of BLFS.
    217197    </para>
    218198
     
    268248
    269249      <varlistentry id="libcairo">
    270         <term><filename class='libraryfile'>libcairo.so</filename></term>
     250        <term><filename class="libraryfile">libcairo.so</filename></term>
    271251        <listitem>
    272252          <para>
Note: See TracChangeset for help on using the changeset viewer.