[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 " ">
|
---|
[42e52b19] | 9 | <!ENTITY pixman-md5sum "a0f6ab8a1d8e0e2cd80e935525e2a864">
|
---|
[8789793] | 10 | <!ENTITY pixman-size "940 KB">
|
---|
[42e52b19] | 11 | <!ENTITY pixman-buildsize "30 MB (with tests)">
|
---|
| 12 | <!ENTITY pixman-time "0.5 SBU (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 |
|
---|
[479979e] | 34 | &lfs120_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">
|
---|
| 74 | <xref linkend="gtk2"/> and
|
---|
[e6eccb35] | 75 | <xref linkend="libpng"/> (for tests and demos)
|
---|
[28b61748] | 76 | </para>
|
---|
[025cfe7] | 77 |
|
---|
| 78 |
|
---|
| 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2 role="installation">
|
---|
[28b61748] | 82 | <title>Installation of Pixman</title>
|
---|
[025cfe7] | 83 |
|
---|
[09f0998] | 84 | <para>
|
---|
| 85 | Install <application>Pixman</application> by running the following
|
---|
| 86 | commands:
|
---|
| 87 | </para>
|
---|
[025cfe7] | 88 |
|
---|
[7c9b1d6] | 89 | <screen><userinput>mkdir build &&
|
---|
[900b9b35] | 90 | cd build &&
|
---|
[7c9b1d6] | 91 |
|
---|
[91318eb] | 92 | meson setup --prefix=/usr --buildtype=release &&
|
---|
[7c9b1d6] | 93 | ninja</userinput></screen>
|
---|
[025cfe7] | 94 |
|
---|
[28b61748] | 95 | <para>
|
---|
[7c9b1d6] | 96 | To test the results, issue: <command>ninja test</command>.
|
---|
[42e52b19] | 97 | <!--One test, scaling-test, fails after 120 seconds due to a time out.-->
|
---|
[28b61748] | 98 | </para>
|
---|
[025cfe7] | 99 |
|
---|
[28b61748] | 100 | <para>
|
---|
| 101 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 102 | </para>
|
---|
[025cfe7] | 103 |
|
---|
[7c9b1d6] | 104 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[b91359ae] | 105 |
|
---|
| 106 | </sect2>
|
---|
[0d7900a] | 107 |
|
---|
[20f070d8] | 108 | <sect2 role="commands">
|
---|
| 109 | <title>Command Explanations</title>
|
---|
| 110 |
|
---|
| 111 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 112 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 113 | </sect2>
|
---|
| 114 |
|
---|
[025cfe7] | 115 | <sect2 role="content">
|
---|
| 116 | <title>Contents</title>
|
---|
| 117 |
|
---|
| 118 | <segmentedlist>
|
---|
[c3c56b2] | 119 | <segtitle>Installed Programs</segtitle>
|
---|
[28b61748] | 120 | <segtitle>Installed Library</segtitle>
|
---|
| 121 | <segtitle>Installed Directory</segtitle>
|
---|
[025cfe7] | 122 |
|
---|
| 123 | <seglistitem>
|
---|
[c3c56b2] | 124 | <seg>
|
---|
| 125 | None
|
---|
| 126 | </seg>
|
---|
[28b61748] | 127 | <seg>
|
---|
| 128 | libpixman-1.so
|
---|
| 129 | </seg>
|
---|
| 130 | <seg>
|
---|
| 131 | /usr/include/pixman-1
|
---|
| 132 | </seg>
|
---|
[025cfe7] | 133 | </seglistitem>
|
---|
| 134 | </segmentedlist>
|
---|
| 135 |
|
---|
| 136 | <variablelist>
|
---|
| 137 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 138 | <?dbfo list-presentation="list"?>
|
---|
| 139 | <?dbhtml list-presentation="table"?>
|
---|
| 140 |
|
---|
[28b61748] | 141 | <varlistentry id="libpixman">
|
---|
| 142 | <term><filename class="libraryfile">libpixman-1.so</filename></term>
|
---|
[025cfe7] | 143 | <listitem>
|
---|
[28b61748] | 144 | <para>
|
---|
| 145 | contains functions that provide low-level pixel manipulation
|
---|
[4c24eb0a] | 146 | features
|
---|
[28b61748] | 147 | </para>
|
---|
| 148 | <indexterm zone="pixman libpixman">
|
---|
| 149 | <primary sortas="c-libpixman">libpixman-1.so</primary>
|
---|
[025cfe7] | 150 | </indexterm>
|
---|
| 151 | </listitem>
|
---|
| 152 | </varlistentry>
|
---|
| 153 |
|
---|
| 154 | </variablelist>
|
---|
| 155 |
|
---|
| 156 | </sect2>
|
---|
| 157 |
|
---|
| 158 | </sect1>
|
---|