[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[2b2ea24b] | 7 | <!ENTITY imlib2-download-http "&sourceforge-repo;/enlightenment/imlib2-&imlib2-version;.tar.bz2">
|
---|
[1ae5e7f] | 8 | <!ENTITY imlib2-download-ftp " ">
|
---|
[27a0357] | 9 | <!ENTITY imlib2-md5sum "5c7104121ec6db652b37f74a6d7048e2">
|
---|
| 10 | <!ENTITY imlib2-size "853 KB">
|
---|
| 11 | <!ENTITY imlib2-buildsize "15 MB">
|
---|
| 12 | <!ENTITY imlib2-time "0.2 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[1aacd4b5] | 15 | <sect1 id="imlib2" xreflabel="Imlib2-&imlib2-version;">
|
---|
[6e393b07] | 16 | <?dbhtml filename="imlib2.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Imlib2-&imlib2-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="imlib2">
|
---|
| 26 | <primary sortas="a-Imlib2">Imlib2</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Imlib2</title>
|
---|
| 31 |
|
---|
| 32 | <para><application>Imlib2</application> is a graphics library for fast file
|
---|
| 33 | loading, saving, rendering and manipulation.</para>
|
---|
| 34 |
|
---|
[62ad5366] | 35 | &lfs76_checked;
|
---|
[e2e42c7] | 36 |
|
---|
[6e393b07] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&imlib2-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&imlib2-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &imlib2-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &imlib2-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &imlib2-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &imlib2-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect3">Imlib2 Dependencies</bridgehead>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4b432b85] | 62 | <para role="required">
|
---|
[435a74c] | 63 | <xref linkend="xorg7-lib"/>
|
---|
[4b432b85] | 64 | </para>
|
---|
[1ae5e7f] | 65 |
|
---|
[6e393b07] | 66 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4b432b85] | 67 | <para role="optional">
|
---|
[435a74c] | 68 | <xref linkend="libpng"/>,
|
---|
| 69 | <xref linkend="libjpeg"/>,
|
---|
[4b432b85] | 70 | <xref linkend="libtiff"/>,
|
---|
| 71 | <xref linkend="giflib"/>, and
|
---|
| 72 | <ulink url="http://sourceforge.net/projects/mad">libid3tag</ulink>
|
---|
| 73 | </para>
|
---|
[6e393b07] | 74 |
|
---|
[1039de3] | 75 | <para condition="html" role="usernotes">User Notes:
|
---|
| 76 | <ulink url="&blfs-wiki;/imlib2"/></para>
|
---|
| 77 |
|
---|
[6e393b07] | 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | <sect2 role="installation">
|
---|
| 81 | <title>Installation of Imlib2</title>
|
---|
| 82 |
|
---|
| 83 | <para>Install <application>Imlib2</application> by running the
|
---|
| 84 | following commands:</para>
|
---|
| 85 |
|
---|
[a0e3f909] | 86 | <screen><userinput>sed -e '/DGifOpen/s:fd:&, NULL:' \
|
---|
| 87 | -e '/DGifCloseFile/s:gif:&, NULL:' \
|
---|
| 88 | -i src/modules/loaders/loader_gif.c &&
|
---|
| 89 | sed -i 's/@my_libs@//' imlib2-config.in &&
|
---|
| 90 |
|
---|
[b9982ea] | 91 | ./configure --prefix=/usr --disable-static &&
|
---|
[6e393b07] | 92 | make</userinput></screen>
|
---|
| 93 |
|
---|
[3569263] | 94 | <para>This package does not come with a test suite.</para>
|
---|
[9f12e36] | 95 |
|
---|
[6e393b07] | 96 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 97 |
|
---|
| 98 | <screen role="root"><userinput>make install &&
|
---|
[9e7ac06] | 99 | install -v -m755 -d /usr/share/doc/imlib2-&imlib2-version; &&
|
---|
[f773bb1] | 100 | install -v -m644 doc/{*.gif,index.html} \
|
---|
| 101 | /usr/share/doc/imlib2-&imlib2-version;</userinput></screen>
|
---|
[3dea735] | 102 |
|
---|
[6e393b07] | 103 | </sect2>
|
---|
[52d29f7] | 104 |
|
---|
[6e393b07] | 105 | <sect2 role="commands">
|
---|
| 106 | <title>Command Explanations</title>
|
---|
[3dea735] | 107 |
|
---|
[b9982ea] | 108 | <para>
|
---|
[a0e3f909] | 109 | <command>sed ...</command>: The first command fix building with recent
|
---|
| 110 | versions of <application>Giflib</application> and the second one
|
---|
[fd372f6] | 111 | corrects linker flags for libImlib2 usage.
|
---|
[b9982ea] | 112 | </para>
|
---|
| 113 |
|
---|
[db6a202] | 114 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 115 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 116 |
|
---|
[6e393b07] | 117 | </sect2>
|
---|
[3dea735] | 118 |
|
---|
[6e393b07] | 119 | <sect2 role="content">
|
---|
| 120 | <title>Contents</title>
|
---|
[3dea735] | 121 |
|
---|
[6e393b07] | 122 | <segmentedlist>
|
---|
| 123 | <segtitle>Installed Programs</segtitle>
|
---|
| 124 | <segtitle>Installed Libraries</segtitle>
|
---|
| 125 | <segtitle>Installed Directories</segtitle>
|
---|
[9e7ac06] | 126 |
|
---|
[6e393b07] | 127 | <seglistitem>
|
---|
[e9116cc] | 128 | <seg>imlib2_bumpmap, imlib2_colorspace, imlib2-config, imlib2_conv,
|
---|
[3569263] | 129 | imlib2_grab, imlib2_poly, imlib2_show, imlib2_test, and imlib2_view</seg>
|
---|
[db6a202] | 130 | <seg>libImlib2.so and various filters and image loader modules.</seg>
|
---|
[9f12e36] | 131 | <seg>/usr/lib/imlib2, /usr/share/doc/imlib2-&imlib2-version;, and
|
---|
[3569263] | 132 | /usr/share/imlib2</seg>
|
---|
[6e393b07] | 133 | </seglistitem>
|
---|
| 134 | </segmentedlist>
|
---|
[9e7ac06] | 135 |
|
---|
[6e393b07] | 136 | <variablelist>
|
---|
| 137 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 138 | <?dbfo list-presentation="list"?>
|
---|
| 139 | <?dbhtml list-presentation="table"?>
|
---|
[9e7ac06] | 140 |
|
---|
[6e393b07] | 141 | <varlistentry id="libImlib2">
|
---|
[db6a202] | 142 | <term><filename class='libraryfile'>libImlib2.so</filename></term>
|
---|
[6e393b07] | 143 | <listitem>
|
---|
[e9116cc] | 144 | <para>provides the functions for programs to deal with various
|
---|
[6e393b07] | 145 | image data formats.</para>
|
---|
| 146 | <indexterm zone="imlib2 libImlib2">
|
---|
[db6a202] | 147 | <primary sortas="c-libImlib2">libImlib2.so</primary>
|
---|
[6e393b07] | 148 | </indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
[3dea735] | 151 |
|
---|
[6e393b07] | 152 | </variablelist>
|
---|
| 153 |
|
---|
| 154 | </sect2>
|
---|
[1aacd4b5] | 155 |
|
---|
| 156 | </sect1>
|
---|