source: general/graphlib/babl.xml@ 0bd02907

12.1 ken/TL2024 lazarus trunk xry111/llvm18
Last change on this file since 0bd02907 was e8b3f50, checked in by Douglas R. Reno <renodr@…>, 5 months ago

Tags

  • Property mode set to 100644
File size: 4.8 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[9ce06cc9]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 " ">
[821e8ce8]9 <!ENTITY babl-md5sum "749169721b551882332a64ac17735de6">
10 <!ENTITY babl-size "312 KB">
11 <!ENTITY babl-buildsize "13 MB (with tests)">
[f588e68]12 <!ENTITY babl-time "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
19 <title>babl-&babl-version;</title>
20
21 <indexterm zone="babl">
22 <primary sortas="a-Babl">Babl</primary>
23 </indexterm>
24
25 <sect2 role="package">
[67033e54]26 <title>Introduction to Babl</title>
[9ce06cc9]27
[67033e54]28 <para>
29 The <application>Babl</application> package is a dynamic, any to any,
30 pixel format translation library.
31 </para>
[9ce06cc9]32
[e8b3f50]33 &lfs121_checked;
[9ce06cc9]34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
[67033e54]38 <para>
39 Download (HTTP): <ulink url="&babl-download-http;"/>
40 </para>
[9ce06cc9]41 </listitem>
42 <listitem>
[67033e54]43 <para>
44 Download (FTP): <ulink url="&babl-download-ftp;"/>
45 </para>
[9ce06cc9]46 </listitem>
47 <listitem>
[67033e54]48 <para>
49 Download MD5 sum: &babl-md5sum;
50 </para>
[9ce06cc9]51 </listitem>
52 <listitem>
[67033e54]53 <para>
54 Download size: &babl-size;
55 </para>
[9ce06cc9]56 </listitem>
57 <listitem>
[67033e54]58 <para>
59 Estimated disk space required: &babl-buildsize;
60 </para>
[9ce06cc9]61 </listitem>
62 <listitem>
[67033e54]63 <para>
64 Estimated build time: &babl-time;
65 </para>
[9ce06cc9]66 </listitem>
67 </itemizedlist>
68
[262f8897]69 <bridgehead renderas="sect3">Babl Dependencies</bridgehead>
70
[af532c1]71 <bridgehead renderas="sect4">Recommended</bridgehead>
72 <para role="recommended">
[73567480]73 <xref linkend="gobject-introspection"/> and
74 <xref linkend="librsvg"/>
[af532c1]75 </para>
76
[262f8897]77 <bridgehead renderas="sect4">Optional</bridgehead>
78 <para role="optional">
[3bb6b25]79 <xref linkend="lcms2"/> and
80 <ulink url="&w3m-url;">w3m</ulink>
[262f8897]81 </para>
82
[9ce06cc9]83 </sect2>
84
85 <sect2 role="installation">
[67033e54]86 <title>Installation of Babl</title>
[9ce06cc9]87
[720e4cbe]88<!--
[72399f5]89 <para>
90 First, fix a typo that causes Meson to fail to run:
91 </para>
92
[6f3fbe04]93<screen><userinput remap="pre">sed -i '/check:/d' meson.build</userinput></screen>
[720e4cbe]94-->
[72399f5]95
[67033e54]96 <para>
97 Install <application>Babl</application> by running the following commands:
98 </para>
[9ce06cc9]99
[e8c8ab1]100<screen><userinput>mkdir bld &amp;&amp;
101cd bld &amp;&amp;
102
[91318eb]103meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
[e8c8ab1]104ninja </userinput></screen>
[9ce06cc9]105
[67033e54]106 <para>
[e8c8ab1]107 To test the results, issue: <command>ninja test</command>.
[67033e54]108 </para>
[9ce06cc9]109
[67033e54]110 <para>
111 Now, as the <systemitem class="username">root</systemitem> user:
112 </para>
[9ce06cc9]113
[e8c8ab1]114<screen role="root"><userinput>ninja install &amp;&amp;
[b1478b35]115
[e8c8ab1]116install -v -m755 -d /usr/share/gtk-doc/html/babl/graphics &amp;&amp;
117install -v -m644 docs/*.{css,html} /usr/share/gtk-doc/html/babl &amp;&amp;
118install -v -m644 docs/graphics/*.{html,svg} /usr/share/gtk-doc/html/babl/graphics</userinput></screen>
[9ce06cc9]119 </sect2>
120
121 <sect2 role="commands">
122 <title>Command Explanations</title>
123
[67033e54]124 <para>
[53917fdf]125 <command>install -v -m755 -d
126 /usr/share/gtk-doc/html/babl/graphics</command>: This and the subsequent
127 commands install the library html documentation under
128 <filename class="directory">/usr/share/gtk-doc/html</filename> where
129 other gtk packages put the programmer-oriented documentation.
[67033e54]130 </para>
[05e5e009]131
[9ce06cc9]132 </sect2>
133
134 <sect2 role="content">
135 <title>Contents</title>
136
137 <segmentedlist>
[c3c56b2]138 <segtitle>Installed Programs</segtitle>
[9ce06cc9]139 <segtitle>Installed Libraries</segtitle>
140 <segtitle>Installed Directories</segtitle>
141
142 <seglistitem>
[c3c56b2]143 <seg>None</seg>
[b1478b35]144 <seg>libbabl-0.1.so and libraries in /usr/lib/babl-0.1</seg>
[53917fdf]145 <seg>
[b1478b35]146 /usr/{include,lib}/babl-0.1 and
[53917fdf]147 /usr/share/gtk-doc/html/babl
148 </seg>
[9ce06cc9]149 </seglistitem>
150 </segmentedlist>
151
152 <variablelist>
153 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
154 <?dbfo list-presentation="list"?>
155 <?dbhtml list-presentation="table"?>
156
157 <varlistentry id="libbabl">
[4c24eb0a]158 <term><filename class="libraryfile">libbabl-0.1.so</filename></term>
[9ce06cc9]159 <listitem>
[67033e54]160 <para>
[4c24eb0a]161 contains functions to access BablFishes to convert between formats
[67033e54]162 </para>
[9ce06cc9]163 <indexterm zone="babl libbabl">
[b1478b35]164 <primary sortas="c-libbabl">libbabl-0.1.so</primary>
[9ce06cc9]165 </indexterm>
166 </listitem>
167 </varlistentry>
168 </variablelist>
169 </sect2>
[4c24eb0a]170
[9ce06cc9]171</sect1>
Note: See TracBrowser for help on using the repository browser.