source: general/genlib/uchardet.xml@ eede1a3

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 eede1a3 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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