[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[2c80efe] | 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 |
|
---|
[5b1d11c] | 7 | <!ENTITY graphene-download-http "&gnome-download-http;/graphene/1.10/graphene-&graphene-version;.tar.xz">
|
---|
[2c80efe] | 8 | <!ENTITY graphene-download-ftp " ">
|
---|
[81d5326] | 9 | <!ENTITY graphene-md5sum "169e3c507b5a5c26e9af492412070b81">
|
---|
[0ec63138] | 10 | <!ENTITY graphene-size "328 KB">
|
---|
[81d5326] | 11 | <!ENTITY graphene-buildsize "7.6 MB">
|
---|
| 12 | <!ENTITY graphene-time "less than 0.1 SBU (with tests)">
|
---|
[2c80efe] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="graphene" xreflabel="graphene-&graphene-version;">
|
---|
| 16 | <?dbhtml filename="graphene.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Graphene-&graphene-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="graphene">
|
---|
| 22 | <primary sortas="a-graphene">graphene</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Graphene</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | The <application>Graphene</application> package provides a thin layer
|
---|
| 30 | of types for graphics libraries.
|
---|
| 31 | </para>
|
---|
| 32 |
|
---|
[42f164e] | 33 | &lfs122_checked;
|
---|
[2c80efe] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&graphene-download-http;"/>
|
---|
| 40 | </para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&graphene-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download MD5 sum: &graphene-md5sum;
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download size: &graphene-size;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Estimated disk space required: &graphene-buildsize;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated build time: &graphene-time;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect3">Graphene Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 72 | <para role="required">
|
---|
[c0bc0a9] | 73 | &gobject-introspection;
|
---|
[2c80efe] | 74 | </para>
|
---|
| 75 |
|
---|
| 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | <sect2 role="installation">
|
---|
| 79 | <title>Installation of Graphene</title>
|
---|
| 80 |
|
---|
| 81 | <para>
|
---|
| 82 | Install <application>Graphene</application> by running the following
|
---|
| 83 | commands:
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <screen><userinput>mkdir build &&
|
---|
| 87 | cd build &&
|
---|
| 88 |
|
---|
[91318eb] | 89 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
[2c80efe] | 90 | ninja</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | <para>
|
---|
| 93 | To test the results, issue: <command>ninja test</command>.
|
---|
| 94 | </para>
|
---|
| 95 |
|
---|
| 96 | <para>
|
---|
| 97 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="commands">
|
---|
| 104 | <title>Command Explanations</title>
|
---|
| 105 |
|
---|
[adf17153] | 106 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 107 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 108 |
|
---|
[2c80efe] | 109 | <para>
|
---|
[d6fab82] | 110 | <option>-D gtk_doc=true</option>: Use this switch if you have
|
---|
[2c80efe] | 111 | <xref role="nodep" linkend="gtk-doc"/> installed and wish to generate
|
---|
| 112 | the API documentation.
|
---|
| 113 | </para>
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="content">
|
---|
| 117 | <title>Contents</title>
|
---|
| 118 |
|
---|
| 119 | <segmentedlist>
|
---|
| 120 | <segtitle>Installed Programs</segtitle>
|
---|
| 121 | <segtitle>Installed Libraries</segtitle>
|
---|
| 122 | <segtitle>Installed Directories</segtitle>
|
---|
| 123 |
|
---|
| 124 | <seglistitem>
|
---|
| 125 | <seg>
|
---|
| 126 | None
|
---|
| 127 | </seg>
|
---|
| 128 | <seg>
|
---|
| 129 | libgraphene-1.0.so
|
---|
| 130 | </seg>
|
---|
| 131 | <seg>
|
---|
| 132 | /usr/include/graphene-1.0,
|
---|
| 133 | /usr/lib/graphene-1.0,
|
---|
| 134 | /usr/{libexec,share}/installed-tests/graphene-1.0
|
---|
| 135 | </seg>
|
---|
| 136 | </seglistitem>
|
---|
| 137 | </segmentedlist>
|
---|
| 138 |
|
---|
| 139 | <variablelist>
|
---|
| 140 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 141 | <?dbfo list-presentation="list"?>
|
---|
| 142 | <?dbhtml list-presentation="table"?>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="libgraphene">
|
---|
| 145 | <term><filename class="libraryfile">libgraphene-1.0.so</filename></term>
|
---|
| 146 | <listitem>
|
---|
| 147 | <para>
|
---|
| 148 | contains functions that provide a thin layer of types for graphics
|
---|
[4c24eb0a] | 149 | libraries
|
---|
[2c80efe] | 150 | </para>
|
---|
| 151 | <indexterm zone="graphene libgraphene">
|
---|
| 152 | <primary sortas="c-libgraphene">libgraphene-1.0.so</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 | </variablelist>
|
---|
| 157 | </sect2>
|
---|
[4c24eb0a] | 158 |
|
---|
[2c80efe] | 159 | </sect1>
|
---|