source: general/genlib/uchardet.xml@ 427b46a

11.0 11.1 11.2 11.3 12.0 12.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 427b46a was 9029db2, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tag most of General Libraries and dependencies

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

  • Property mode set to 100644
File size: 4.9 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 uchardet-download-http "https://www.freedesktop.org/software/uchardet/releases/uchardet-&uchardet-version;.tar.xz">
8 <!ENTITY uchardet-download-ftp " ">
9 <!ENTITY uchardet-md5sum "623406dac5c5ad89e40eedd7f279efae">
10 <!ENTITY uchardet-size "212 KB">
11 <!ENTITY uchardet-buildsize "4.2 MB">
12 <!ENTITY uchardet-time "less than 0.1 SBU">
13
14]>
15
16<sect1 id="uchardet" xreflabel="uchardet-&uchardet-version;">
17 <?dbhtml filename="uchardet.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Uchardet-&uchardet-version;</title>
25
26 <indexterm zone="uchardet">
27 <primary sortas="a-uchardet">uchardet</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Uchardet</title>
32
33 <para>
34 The <application>Uchardet</application> package contains an encoding
35 detectory library which takes a sequence of bytes in an unknown character
36 encoding and attempts to determine the encoding of the text.
37 </para>
38
39 &lfs101_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&uchardet-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&uchardet-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &uchardet-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &uchardet-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &uchardet-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &uchardet-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Uchardet Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="cmake"/>
80 </para>
81
82 <para condition="html" role="usernotes">
83 User Notes: <ulink url="&blfs-wiki;/uchardet"/>
84 </para>
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of Uchardet</title>
89
90 <para>
91 Install <application>Uchardet</application> by running the following
92 commands:
93 </para>
94
95<screen><userinput>mkdir build &amp;&amp;
96cd build &amp;&amp;
97
98cmake -DCMAKE_INSTALL_PREFIX=/usr \
99 -DBUILD_STATIC=OFF \
100 -Wno-dev .. &amp;&amp;
101make</userinput></screen>
102
103 <para>
104 To test the results, issue: <command>make test</command>.
105 </para>
106
107 <para>
108 Now, as the <systemitem class="username">root</systemitem> user:
109 </para>
110
111<screen role="root"><userinput>make install</userinput></screen>
112 </sect2>
113
114 <sect2 role="commands">
115 <title>Command Explanations</title>
116
117 <para>
118 <parameter>-DBUILD_STATIC=OFF</parameter>: This switch disables building
119 the static version of the library.
120 </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>
134 uchardet
135 </seg>
136 <seg>
137 libuchardet.so
138 </seg>
139 <seg>
140 /usr/include/uchardet
141 </seg>
142 </seglistitem>
143 </segmentedlist>
144
145 <variablelist>
146 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
147 <?dbfo list-presentation="list"?>
148 <?dbhtml list-presentation="table"?>
149
150 <!-- If the program or library name conflicts (is the same) as the
151 package name, add -prog or -lib to the varlistentry entity id
152 and the 2nd entry of the indexterm zone entity -->
153
154 <varlistentry id="uchardet-prog">
155 <term><command>uchardet</command></term>
156 <listitem>
157 <para>
158 detects what character set is used inside of a file
159 </para>
160 <indexterm zone="uchardet uchardet-prog">
161 <primary sortas="b-uchardet">uchardet</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry id="libuchardet">
167 <term><filename class="libraryfile">libuchardet.so</filename></term>
168 <listitem>
169 <para>
170 provides an API for detecting the encoding of text in a file
171 </para>
172 <indexterm zone="uchardet libuchardet">
173 <primary sortas="c-libuchardet">libuchardet.so</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177 </variablelist>
178 </sect2>
179
180</sect1>
Note: See TracBrowser for help on using the repository browser.