source: x/lib/imlib2.xml@ e22693da

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since e22693da was 435a74c, checked in by Igor Živković <igor@…>, 10 years ago

imlib2 requires xorg libs, move to x libs chapter

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12569 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.8 KB
Line 
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 &lfs74_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 -i '/DGifOpen/s:fd:&amp;, NULL:' src/modules/loaders/loader_gif.c &amp;&amp;
87sed -i 's/@my_libs@//' imlib2-config.in &amp;&amp;
88./configure --prefix=/usr --disable-static &amp;&amp;
89make</userinput></screen>
90
91 <para>This package does not come with a test suite.</para>
92
93 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
94
95<screen role="root"><userinput>make install &amp;&amp;
96install -v -m755 -d /usr/share/doc/imlib2-&imlib2-version; &amp;&amp;
97install -v -m644 doc/{*.gif,index.html} \
98 /usr/share/doc/imlib2-&imlib2-version;</userinput></screen>
99
100 </sect2>
101
102 <sect2 role="commands">
103 <title>Command Explanations</title>
104
105 <para>
106 <command>sed -i ...</command>: First command fixes building with recent
107 versions of <application>Giflib</application> and the second one corrects
108 linker flags for libImlib2 usage.
109 </para>
110
111 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
112 href="../../xincludes/static-libraries.xml"/>
113
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>imlib2_bumpmap, imlib2_colorspace, imlib2-config, imlib2_conv,
126 imlib2_grab, imlib2_poly, imlib2_show, imlib2_test, and imlib2_view</seg>
127 <seg>libImlib2.so and various filters and image loader modules.</seg>
128 <seg>/usr/lib/imlib2, /usr/share/doc/imlib2-&imlib2-version;, and
129 /usr/share/imlib2</seg>
130 </seglistitem>
131 </segmentedlist>
132
133 <variablelist>
134 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
135 <?dbfo list-presentation="list"?>
136 <?dbhtml list-presentation="table"?>
137
138 <varlistentry id="libImlib2">
139 <term><filename class='libraryfile'>libImlib2.so</filename></term>
140 <listitem>
141 <para>provides the functions for programs to deal with various
142 image data formats.</para>
143 <indexterm zone="imlib2 libImlib2">
144 <primary sortas="c-libImlib2">libImlib2.so</primary>
145 </indexterm>
146 </listitem>
147 </varlistentry>
148
149 </variablelist>
150
151 </sect2>
152
153</sect1>
Note: See TracBrowser for help on using the repository browser.