1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
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 |
|
---|
7 | <!ENTITY imlib2-download-http "&sourceforge-repo;/enlightenment/imlib2-&imlib2-version;.tar.bz2">
|
---|
8 | <!ENTITY imlib2-download-ftp " ">
|
---|
9 | <!ENTITY imlib2-md5sum "5c7104121ec6db652b37f74a6d7048e2">
|
---|
10 | <!ENTITY imlib2-size "853 KB">
|
---|
11 | <!ENTITY imlib2-buildsize "15 MB">
|
---|
12 | <!ENTITY imlib2-time "0.2 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="imlib2" xreflabel="Imlib2-&imlib2-version;">
|
---|
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 |
|
---|
35 | &lfs76_checked;
|
---|
36 |
|
---|
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>
|
---|
62 | <para role="required">
|
---|
63 | <xref linkend="xorg7-lib"/>
|
---|
64 | </para>
|
---|
65 |
|
---|
66 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
67 | <para role="optional">
|
---|
68 | <xref linkend="libpng"/>,
|
---|
69 | <xref linkend="libjpeg"/>,
|
---|
70 | <xref linkend="libtiff"/>,
|
---|
71 | <xref linkend="giflib"/>, and
|
---|
72 | <ulink url="http://sourceforge.net/projects/mad">libid3tag</ulink>
|
---|
73 | </para>
|
---|
74 |
|
---|
75 | <para condition="html" role="usernotes">User Notes:
|
---|
76 | <ulink url="&blfs-wiki;/imlib2"/></para>
|
---|
77 |
|
---|
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 |
|
---|
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 |
|
---|
91 | ./configure --prefix=/usr --disable-static &&
|
---|
92 | make</userinput></screen>
|
---|
93 |
|
---|
94 | <para>This package does not come with a test suite.</para>
|
---|
95 |
|
---|
96 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
97 |
|
---|
98 | <screen role="root"><userinput>make install &&
|
---|
99 | install -v -m755 -d /usr/share/doc/imlib2-&imlib2-version; &&
|
---|
100 | install -v -m644 doc/{*.gif,index.html} \
|
---|
101 | /usr/share/doc/imlib2-&imlib2-version;</userinput></screen>
|
---|
102 |
|
---|
103 | </sect2>
|
---|
104 |
|
---|
105 | <sect2 role="commands">
|
---|
106 | <title>Command Explanations</title>
|
---|
107 |
|
---|
108 | <para>
|
---|
109 | <command>sed ...</command>: The first command fix building with recent
|
---|
110 | versions of <application>Giflib</application> and the second one
|
---|
111 | corrects linker flags for libImlib2 usage.
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
115 | href="../../xincludes/static-libraries.xml"/>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | <sect2 role="content">
|
---|
120 | <title>Contents</title>
|
---|
121 |
|
---|
122 | <segmentedlist>
|
---|
123 | <segtitle>Installed Programs</segtitle>
|
---|
124 | <segtitle>Installed Libraries</segtitle>
|
---|
125 | <segtitle>Installed Directories</segtitle>
|
---|
126 |
|
---|
127 | <seglistitem>
|
---|
128 | <seg>imlib2_bumpmap, imlib2_colorspace, imlib2-config, imlib2_conv,
|
---|
129 | imlib2_grab, imlib2_poly, imlib2_show, imlib2_test, and imlib2_view</seg>
|
---|
130 | <seg>libImlib2.so and various filters and image loader modules.</seg>
|
---|
131 | <seg>/usr/lib/imlib2, /usr/share/doc/imlib2-&imlib2-version;, and
|
---|
132 | /usr/share/imlib2</seg>
|
---|
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 |
|
---|
141 | <varlistentry id="libImlib2">
|
---|
142 | <term><filename class='libraryfile'>libImlib2.so</filename></term>
|
---|
143 | <listitem>
|
---|
144 | <para>provides the functions for programs to deal with various
|
---|
145 | image data formats.</para>
|
---|
146 | <indexterm zone="imlib2 libImlib2">
|
---|
147 | <primary sortas="c-libImlib2">libImlib2.so</primary>
|
---|
148 | </indexterm>
|
---|
149 | </listitem>
|
---|
150 | </varlistentry>
|
---|
151 |
|
---|
152 | </variablelist>
|
---|
153 |
|
---|
154 | </sect2>
|
---|
155 |
|
---|
156 | </sect1>
|
---|