source: general/genlib/uchardet.xml@ b83e9c8

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 xry111/llvm18 xry111/xf86-video-removal
Last change on this file since b83e9c8 was b83e9c8, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Update to uchardet-0.0.8

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