[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[025cfe7] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY pixman-download-http "https://www.cairographics.org/releases/pixman-&pixman-version;.tar.gz">
|
---|
[025cfe7] | 8 | <!ENTITY pixman-download-ftp " ">
|
---|
[84398f07] | 9 | <!ENTITY pixman-md5sum "21b18058dea39ad48f32d3199b8ffe40">
|
---|
[483a2f49] | 10 | <!ENTITY pixman-size "776 KB">
|
---|
| 11 | <!ENTITY pixman-buildsize "27 MB (With tests)">
|
---|
| 12 | <!ENTITY pixman-time "0.2 SBU (Using parallelism=4; with tests)">
|
---|
[025cfe7] | 13 | ]>
|
---|
| 14 |
|
---|
[28b61748] | 15 | <sect1 id="pixman" xreflabel="Pixman-&pixman-version;">
|
---|
[025cfe7] | 16 | <?dbhtml filename="pixman.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
[28b61748] | 19 | <title>Pixman-&pixman-version;</title>
|
---|
[025cfe7] | 20 |
|
---|
| 21 | <indexterm zone="pixman">
|
---|
[28b61748] | 22 | <primary sortas="a-Pixman">Pixman</primary>
|
---|
[025cfe7] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[28b61748] | 26 | <title>Introduction to Pixman</title>
|
---|
[025cfe7] | 27 |
|
---|
[28b61748] | 28 | <para>
|
---|
| 29 | The <application>Pixman</application> package contains a library that
|
---|
| 30 | provides low-level pixel manipulation features such as image
|
---|
| 31 | compositing and trapezoid rasterization.
|
---|
| 32 | </para>
|
---|
[025cfe7] | 33 |
|
---|
[d4dc5bae] | 34 | &lfs122_checked;
|
---|
[7f4cdbc0] | 35 |
|
---|
[025cfe7] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
[28b61748] | 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&pixman-download-http;"/>
|
---|
| 41 | </para>
|
---|
[025cfe7] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[28b61748] | 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&pixman-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
[025cfe7] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[28b61748] | 49 | <para>
|
---|
| 50 | Download MD5 sum: &pixman-md5sum;
|
---|
| 51 | </para>
|
---|
[025cfe7] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[28b61748] | 54 | <para>
|
---|
| 55 | Download size: &pixman-size;
|
---|
| 56 | </para>
|
---|
[025cfe7] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[28b61748] | 59 | <para>
|
---|
| 60 | Estimated disk space required: &pixman-buildsize;
|
---|
| 61 | </para>
|
---|
[025cfe7] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[28b61748] | 64 | <para>
|
---|
| 65 | Estimated build time: &pixman-time;
|
---|
| 66 | </para>
|
---|
[025cfe7] | 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
[28b61748] | 70 | <bridgehead renderas="sect3">Pixman Dependencies</bridgehead>
|
---|
[025cfe7] | 71 |
|
---|
[28b61748] | 72 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 73 | <para role="optional">
|
---|
[82b0e62] | 74 | <xref linkend="libpng"/> and
|
---|
[077f73f] | 75 | <xref linkend="gtk3"/> (for tests and demos)
|
---|
[28b61748] | 76 | </para>
|
---|
[025cfe7] | 77 |
|
---|
| 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | <sect2 role="installation">
|
---|
[28b61748] | 81 | <title>Installation of Pixman</title>
|
---|
[025cfe7] | 82 |
|
---|
[09f0998] | 83 | <para>
|
---|
| 84 | Install <application>Pixman</application> by running the following
|
---|
| 85 | commands:
|
---|
| 86 | </para>
|
---|
[025cfe7] | 87 |
|
---|
[7c9b1d6] | 88 | <screen><userinput>mkdir build &&
|
---|
[900b9b35] | 89 | cd build &&
|
---|
[7c9b1d6] | 90 |
|
---|
[483a2f49] | 91 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
[7c9b1d6] | 92 | ninja</userinput></screen>
|
---|
[025cfe7] | 93 |
|
---|
[28b61748] | 94 | <para>
|
---|
[7c9b1d6] | 95 | To test the results, issue: <command>ninja test</command>.
|
---|
[28b61748] | 96 | </para>
|
---|
[025cfe7] | 97 |
|
---|
[28b61748] | 98 | <para>
|
---|
| 99 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 100 | </para>
|
---|
[025cfe7] | 101 |
|
---|
[7c9b1d6] | 102 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[b91359ae] | 103 |
|
---|
| 104 | </sect2>
|
---|
[0d7900a] | 105 |
|
---|
[20f070d8] | 106 | <sect2 role="commands">
|
---|
| 107 | <title>Command Explanations</title>
|
---|
| 108 |
|
---|
| 109 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 110 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 111 | </sect2>
|
---|
| 112 |
|
---|
[025cfe7] | 113 | <sect2 role="content">
|
---|
| 114 | <title>Contents</title>
|
---|
| 115 |
|
---|
| 116 | <segmentedlist>
|
---|
[c3c56b2] | 117 | <segtitle>Installed Programs</segtitle>
|
---|
[28b61748] | 118 | <segtitle>Installed Library</segtitle>
|
---|
| 119 | <segtitle>Installed Directory</segtitle>
|
---|
[025cfe7] | 120 |
|
---|
| 121 | <seglistitem>
|
---|
[c3c56b2] | 122 | <seg>
|
---|
| 123 | None
|
---|
| 124 | </seg>
|
---|
[28b61748] | 125 | <seg>
|
---|
| 126 | libpixman-1.so
|
---|
| 127 | </seg>
|
---|
| 128 | <seg>
|
---|
| 129 | /usr/include/pixman-1
|
---|
| 130 | </seg>
|
---|
[025cfe7] | 131 | </seglistitem>
|
---|
| 132 | </segmentedlist>
|
---|
| 133 |
|
---|
| 134 | <variablelist>
|
---|
| 135 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 136 | <?dbfo list-presentation="list"?>
|
---|
| 137 | <?dbhtml list-presentation="table"?>
|
---|
| 138 |
|
---|
[28b61748] | 139 | <varlistentry id="libpixman">
|
---|
| 140 | <term><filename class="libraryfile">libpixman-1.so</filename></term>
|
---|
[025cfe7] | 141 | <listitem>
|
---|
[28b61748] | 142 | <para>
|
---|
| 143 | contains functions that provide low-level pixel manipulation
|
---|
[4c24eb0a] | 144 | features
|
---|
[28b61748] | 145 | </para>
|
---|
| 146 | <indexterm zone="pixman libpixman">
|
---|
| 147 | <primary sortas="c-libpixman">libpixman-1.so</primary>
|
---|
[025cfe7] | 148 | </indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
| 151 |
|
---|
| 152 | </variablelist>
|
---|
| 153 |
|
---|
| 154 | </sect2>
|
---|
| 155 |
|
---|
| 156 | </sect1>
|
---|