source: general/graphlib/babl.xml@ e1a98063

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since e1a98063 was 7ee3d2dc, checked in by Ken Moffat <ken@…>, 5 years ago

tags

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

  • Property mode set to 100644
File size: 4.8 KB
RevLine 
[9ce06cc9]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
[166d300]7 <!ENTITY babl-download-http "https://download.gimp.org/pub/babl/0.1/babl-&babl-version;.tar.xz">
[8dfc5c3]8 <!ENTITY babl-download-ftp " ">
[e8c8ab1]9 <!ENTITY babl-md5sum "7b6f5dd6b7ed8ebcb4bd3421c61e2bae">
10 <!ENTITY babl-size "284 KB">
[166d300]11 <!ENTITY babl-buildsize "21 MB (with tests)">
[e8c8ab1]12 <!ENTITY babl-time "less than 0.1 SBU (Using parallelism=4; with tests)">
[9ce06cc9]13]>
14
15<sect1 id="babl" xreflabel="babl-&babl-version;">
16 <?dbhtml filename="babl.html"?>
17
18 <sect1info>
[58cb64de]19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
[9ce06cc9]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">
[67033e54]30 <title>Introduction to Babl</title>
[9ce06cc9]31
[67033e54]32 <para>
33 The <application>Babl</application> package is a dynamic, any to any,
34 pixel format translation library.
35 </para>
[9ce06cc9]36
[7ee3d2dc]37 &lfs90_checked;
[9ce06cc9]38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
[67033e54]42 <para>
43 Download (HTTP): <ulink url="&babl-download-http;"/>
44 </para>
[9ce06cc9]45 </listitem>
46 <listitem>
[67033e54]47 <para>
48 Download (FTP): <ulink url="&babl-download-ftp;"/>
49 </para>
[9ce06cc9]50 </listitem>
51 <listitem>
[67033e54]52 <para>
53 Download MD5 sum: &babl-md5sum;
54 </para>
[9ce06cc9]55 </listitem>
56 <listitem>
[67033e54]57 <para>
58 Download size: &babl-size;
59 </para>
[9ce06cc9]60 </listitem>
61 <listitem>
[67033e54]62 <para>
63 Estimated disk space required: &babl-buildsize;
64 </para>
[9ce06cc9]65 </listitem>
66 <listitem>
[67033e54]67 <para>
68 Estimated build time: &babl-time;
69 </para>
[9ce06cc9]70 </listitem>
71 </itemizedlist>
72
[262f8897]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
[67033e54]80 <para condition="html" role="usernotes">
81 User Notes: <ulink url='&blfs-wiki;/babl'/>
82 </para>
[9ce06cc9]83 </sect2>
84
85 <sect2 role="installation">
[67033e54]86 <title>Installation of Babl</title>
[9ce06cc9]87
[5694241]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
[67033e54]97 <para>
98 Install <application>Babl</application> by running the following commands:
99 </para>
[9ce06cc9]100
[e8c8ab1]101<screen><userinput>mkdir bld &amp;&amp;
102cd bld &amp;&amp;
103
104meson --prefix=/usr .. &amp;&amp;
105ninja </userinput></screen>
[9ce06cc9]106
[67033e54]107 <para>
[e8c8ab1]108 To test the results, issue: <command>ninja test</command>.
[67033e54]109 </para>
[9ce06cc9]110
[67033e54]111 <para>
112 Now, as the <systemitem class="username">root</systemitem> user:
113 </para>
[9ce06cc9]114
[e8c8ab1]115<screen role="root"><userinput>ninja install &amp;&amp;
[b1478b35]116
[e8c8ab1]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>
[9ce06cc9]120 </sect2>
121
122 <sect2 role="commands">
123 <title>Command Explanations</title>
124
[67033e54]125 <para>
[53917fdf]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.
[67033e54]131 </para>
[05e5e009]132
[9ce06cc9]133 </sect2>
134
135 <sect2 role="content">
136 <title>Contents</title>
137
138 <segmentedlist>
[c3c56b2]139 <segtitle>Installed Programs</segtitle>
[9ce06cc9]140 <segtitle>Installed Libraries</segtitle>
141 <segtitle>Installed Directories</segtitle>
142
143 <seglistitem>
[c3c56b2]144 <seg>None</seg>
[b1478b35]145 <seg>libbabl-0.1.so and libraries in /usr/lib/babl-0.1</seg>
[53917fdf]146 <seg>
[b1478b35]147 /usr/{include,lib}/babl-0.1 and
[53917fdf]148 /usr/share/gtk-doc/html/babl
149 </seg>
[9ce06cc9]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">
[b1478b35]159 <term><filename class='libraryfile'>libbabl-0.1.so</filename></term>
[9ce06cc9]160 <listitem>
[67033e54]161 <para>
162 contains functions to access BablFishes to convert between formats.
163 </para>
[9ce06cc9]164 <indexterm zone="babl libbabl">
[b1478b35]165 <primary sortas="c-libbabl">libbabl-0.1.so</primary>
[9ce06cc9]166 </indexterm>
167 </listitem>
168 </varlistentry>
169 </variablelist>
170 </sect2>
171</sect1>
Note: See TracBrowser for help on using the repository browser.