source: general/graphlib/imlib2.xml@ 087ec91

10.0 10.1 11.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 087ec91 was 087ec91, checked in by Igor Živković <igor@…>, 8 years ago

correct linker flags in imlib2-config

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

  • Property mode set to 100644
File size: 5.1 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="freetype2"/>
64 </para>
65
66 <bridgehead renderas="sect4">Recommended</bridgehead>
67 <para role="recommended">
68 <xref linkend="x-window-system"/>,
69 <xref linkend="libpng"/>, and
70 <xref linkend="libjpeg"/>
71 </para>
72
73 <bridgehead renderas="sect4">Optional</bridgehead>
74 <para role="optional">
75 <xref linkend="libtiff"/>,
76 <xref linkend="giflib"/>, and
77 <ulink url="http://sourceforge.net/projects/mad">libid3tag</ulink>
78 </para>
79
80 <para condition="html" role="usernotes">User Notes:
81 <ulink url="&blfs-wiki;/imlib2"/></para>
82
83 </sect2>
84
85 <sect2 role="installation">
86 <title>Installation of Imlib2</title>
87
88 <para>Install <application>Imlib2</application> by running the
89 following commands:</para>
90
91<screen><userinput>sed -i '/DGifOpen/s:fd:&amp;, NULL:' src/modules/loaders/loader_gif.c &amp;&amp;
92sed -i 's/@my_libs@//' imlib2-config.in &amp;&amp;
93./configure --prefix=/usr --disable-static &amp;&amp;
94make</userinput></screen>
95
96 <para>This package does not come with a test suite.</para>
97
98 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
99
100<screen role="root"><userinput>make install &amp;&amp;
101install -v -m755 -d /usr/share/doc/imlib2-&imlib2-version; &amp;&amp;
102install -v -m644 doc/{*.gif,index.html} \
103 /usr/share/doc/imlib2-&imlib2-version;</userinput></screen>
104
105 </sect2>
106
107 <sect2 role="commands">
108 <title>Command Explanations</title>
109
110 <para>
111 <command>sed -i ...</command>: First command fixes building with recent
112 versions of <application>Giflib</application> and the second one corrects
113 linker flags for libImlib2 usage.
114 </para>
115
116 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
117 href="../../xincludes/static-libraries.xml"/>
118
119 <para><option>--without-x</option>: Add this switch if you do not
120 have an X Window System installed.</para>
121
122 </sect2>
123
124 <sect2 role="content">
125 <title>Contents</title>
126
127 <segmentedlist>
128 <segtitle>Installed Programs</segtitle>
129 <segtitle>Installed Libraries</segtitle>
130 <segtitle>Installed Directories</segtitle>
131
132 <seglistitem>
133 <seg>imlib2_bumpmap, imlib2_colorspace, imlib2-config, imlib2_conv,
134 imlib2_grab, imlib2_poly, imlib2_show, imlib2_test, and imlib2_view</seg>
135 <seg>libImlib2.so and various filters and image loader modules.</seg>
136 <seg>/usr/lib/imlib2, /usr/share/doc/imlib2-&imlib2-version;, and
137 /usr/share/imlib2</seg>
138 </seglistitem>
139 </segmentedlist>
140
141 <variablelist>
142 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
143 <?dbfo list-presentation="list"?>
144 <?dbhtml list-presentation="table"?>
145
146 <varlistentry id="libImlib2">
147 <term><filename class='libraryfile'>libImlib2.so</filename></term>
148 <listitem>
149 <para>provides the functions for programs to deal with various
150 image data formats.</para>
151 <indexterm zone="imlib2 libImlib2">
152 <primary sortas="c-libImlib2">libImlib2.so</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 </variablelist>
158
159 </sect2>
160
161</sect1>
Note: See TracBrowser for help on using the repository browser.