source: general/graphlib/babl.xml@ 059e4c3

10.0 10.1 11.0 11.1 11.2 9.1 lazarus plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 059e4c3 was 059e4c3, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Update to ibus-1.5.21.
Update to boost-1.71.0.
Update to poppler-0.80.0.
Update to babl-0.1.72.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22091 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 babl-download-http "https://download.gimp.org/pub/babl/0.1/babl-&babl-version;.tar.xz">
8 <!ENTITY babl-download-ftp " ">
9 <!ENTITY babl-md5sum "4f2c317328d89242e552fcb5ef66a844">
10 <!ENTITY babl-size "288 KB">
11 <!ENTITY babl-buildsize "17 MB (with tests)">
12 <!ENTITY babl-time "less than 0.1 SBU (Using parallelism=4; with tests)">
13]>
14
15<sect1 id="babl" xreflabel="babl-&babl-version;">
16 <?dbhtml filename="babl.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>babl-&babl-version;</title>
24
25 <indexterm zone="babl">
26 <primary sortas="a-Babl">Babl</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Babl</title>
31
32 <para>
33 The <application>Babl</application> package is a dynamic, any to any,
34 pixel format translation library.
35 </para>
36
37 &lfs90_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&babl-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&babl-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &babl-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &babl-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &babl-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &babl-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Babl Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Optional</bridgehead>
76 <para role="optional">
77 <xref linkend="lcms2"/>
78 </para>
79
80 <para condition="html" role="usernotes">
81 User Notes: <ulink url='&blfs-wiki;/babl'/>
82 </para>
83 </sect2>
84
85 <sect2 role="installation">
86 <title>Installation of Babl</title>
87
88 <para>
89 First, if you are on i686, fix a compilation error caused by a target
90 option type mismatch.
91 </para>
92
93<screen><userinput remap="pre">case $(uname -m) in
94 i?86) sed -i '27 s/no_cflags/sse2_cflags/' extensions/meson.build ;;
95esac</userinput></screen>
96
97 <para>
98 Install <application>Babl</application> by running the following commands:
99 </para>
100
101<screen><userinput>mkdir bld &amp;&amp;
102cd bld &amp;&amp;
103
104meson --prefix=/usr .. &amp;&amp;
105ninja </userinput></screen>
106
107 <para>
108 To test the results, issue: <command>ninja test</command>.
109 </para>
110
111 <para>
112 Now, as the <systemitem class="username">root</systemitem> user:
113 </para>
114
115<screen role="root"><userinput>ninja install &amp;&amp;
116
117install -v -m755 -d /usr/share/gtk-doc/html/babl/graphics &amp;&amp;
118install -v -m644 docs/*.{css,html} /usr/share/gtk-doc/html/babl &amp;&amp;
119install -v -m644 docs/graphics/*.{html,svg} /usr/share/gtk-doc/html/babl/graphics</userinput></screen>
120 </sect2>
121
122 <sect2 role="commands">
123 <title>Command Explanations</title>
124
125 <para>
126 <command>install -v -m755 -d
127 /usr/share/gtk-doc/html/babl/graphics</command>: This and the subsequent
128 commands install the library html documentation under
129 <filename class="directory">/usr/share/gtk-doc/html</filename> where
130 other gtk packages put the programmer-oriented documentation.
131 </para>
132
133 </sect2>
134
135 <sect2 role="content">
136 <title>Contents</title>
137
138 <segmentedlist>
139 <segtitle>Installed Programs</segtitle>
140 <segtitle>Installed Libraries</segtitle>
141 <segtitle>Installed Directories</segtitle>
142
143 <seglistitem>
144 <seg>None</seg>
145 <seg>libbabl-0.1.so and libraries in /usr/lib/babl-0.1</seg>
146 <seg>
147 /usr/{include,lib}/babl-0.1 and
148 /usr/share/gtk-doc/html/babl
149 </seg>
150 </seglistitem>
151 </segmentedlist>
152
153 <variablelist>
154 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
155 <?dbfo list-presentation="list"?>
156 <?dbhtml list-presentation="table"?>
157
158 <varlistentry id="libbabl">
159 <term><filename class='libraryfile'>libbabl-0.1.so</filename></term>
160 <listitem>
161 <para>
162 contains functions to access BablFishes to convert between formats.
163 </para>
164 <indexterm zone="babl libbabl">
165 <primary sortas="c-libbabl">libbabl-0.1.so</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169 </variablelist>
170 </sect2>
171</sect1>
Note: See TracBrowser for help on using the repository browser.