source: general/sysutils/blocaled.xml@ 2126b9e

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 2126b9e was 2126b9e, checked in by Pierre Labastie <pieere@…>, 4 years ago

Add blocaled-0.1

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

  • Property mode set to 100644
File size: 7.0 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 blocaled-download-http "https://github.com/pierre-labastie/blocaled/releases/download/v&blocaled-version;/blocaled-&blocaled-version;.tar.xz">
8 <!ENTITY blocaled-download-ftp " ">
9 <!ENTITY blocaled-md5sum "2b47923594d9f7564b51651e2433b9e1">
10 <!ENTITY blocaled-size "256 KB">
11 <!ENTITY blocaled-buildsize "3.8 MB">
12 <!ENTITY blocaled-time "less than 0.1 SBU">
13]>
14
15<sect1 id="blocaled" revision="sysv" xreflabel="blocaled-&blocaled-version;">
16 <?dbhtml filename="blocaled.html"?>
17
18 <sect1info>
19 <!-- this part gets updated when you commit, IFF you set the properties:
20 first, svn add path/to/thisfile.xml and then
21 svn propset svn:mime-type text/plain path/to/thisfile.xml and
22 svn propset svn:keywords "Date LastChangedBy" path/to/thisfile.xml -->
23 <othername>$LastChangedBy: renodr $</othername>
24 <date>$Date: 2019-10-31 17:50:26 +0100 (jeu. 31 oct. 2019) $</date>
25 </sect1info>
26
27 <title>blocaled-&blocaled-version;</title>
28
29 <indexterm zone="blocaled">
30 <primary sortas="a-blocaled">blocaled</primary>
31 </indexterm>
32
33 <!--Required section-->
34 <sect2 role="package">
35 <title>Introduction to blocaled</title>
36
37 <para>
38 <application>blocaled</application> is an implementation of the
39 <emphasis>org.freedesktop.locale1</emphasis> D&ndash;Bus protocol,
40 which normally comes with <application>systemd</application>. It is
41 needed by the <application>GNOME</application> desktop.
42 </para>
43
44 &lfs90_checked;
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
49 <para>
50 Download (HTTP): <ulink url="&blocaled-download-http;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download (FTP): <ulink url="&blocaled-download-ftp;"/>
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download MD5 sum: &blocaled-md5sum;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Download size: &blocaled-size;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated disk space required: &blocaled-buildsize;
71 </para>
72 </listitem>
73 <listitem>
74 <para>
75 Estimated build time: &blocaled-time;
76 </para>
77 </listitem>
78 </itemizedlist>
79
80 <bridgehead renderas="sect3">blocaled Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Required</bridgehead>
83 <para role="required">
84 <xref linkend="polkit"/> and
85 <xref linkend="libdaemon"/>
86 </para>
87
88 <para condition="html" role="usernotes">
89 User Notes: <ulink url="&blfs-wiki;/blocaled"/>
90 </para>
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of blocaled</title>
95
96 <para>
97 Install <application>blocaled</application> by running the following
98 commands:
99 </para>
100
101<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
102make</userinput></screen>
103
104 <para>
105 To test the results, issue: <command>make check</command>.
106 </para>
107
108 <para>
109 Now, as the <systemitem class="username">root</systemitem> user:
110 </para>
111
112<screen role="root"><userinput>make install</userinput></screen>
113 </sect2>
114
115 <sect2 role="configuration">
116 <title>Configuring blocaled</title>
117
118 <sect3 id="blocaled-config">
119 <title>Config Files</title>
120 <para>
121 <filename>/etc/blocaled.conf</filename>
122 </para>
123
124 <indexterm zone="blocaled blocaled-config">
125 <primary
126 sortas="e-etc-blocaled.conf">/etc/blocaled.conf</primary>
127 </indexterm>
128 </sect3>
129
130 <sect3><title>Configuration Information</title>
131
132 <para>
133 <filename>/etc/blocaled.conf</filename> contains the location of
134 the settings files used by <application>blocaled</application>. The
135 defaults are suitable for BLFS. Information about the entries is
136 available as comments in the file.
137 </para>
138
139 <para>
140 The <emphasis>org.freedesktop.locale1</emphasis> protocol is
141 unable to export locale variables. Locale settings are stored
142 by default in <filename>/etc/locale.conf</filename>. We need to
143 retrieve them in the bash profile. As the <systemitem class="username">
144 root</systemitem> user, issue:
145 </para>
146
147<screen role="root"><userinput>cat &gt; /etc/profile.d/i18n.sh &lt;&lt; "EOF"
148<literal># Begin /etc/profile.d/i18n.sh
149
150if [ -r /etc/locale.conf ]; then source /etc/locale.conf; fi
151
152if [ -n "$LANG" ]; then export LANG; fi
153if [ -n "$LC_TYPE" ]; then export LC_TYPE; fi
154if [ -n "$LC_NUMERIC" ]; then export LC_NUMERIC; fi
155if [ -n "$LC_TIME" ]; then export LC_TIME; fi
156if [ -n "$LC_COLLATE" ]; then export LC_COLLATE; fi
157if [ -n "$LC_MONETARY" ]; then export LC_MONETARY; fi
158if [ -n "$LC_MESSAGES" ]; then export LC_MESSAGES; fi
159if [ -n "$LC_PAPER" ]; then export LC_PAPER; fi
160if [ -n "$LC_NAME" ]; then export LC_NAME; fi
161if [ -n "$LC_ADDRESS" ]; then export LC_ADDRESS; fi
162if [ -n "$LC_TELEPHONE" ]; then export LC_TELEPHONE; fi
163if [ -n "$LC_MEASUREMENT" ]; then export LC_MEASUREMENT; fi
164if [ -n "$LC_IDENTIFICATION" ]; then export LC_IDENTIFICATION; fi
165
166# End /etc/profile.d/i18n.sh</literal>
167EOF</userinput></screen>
168
169 <para>
170 Then the <filename>/etc/locale</filename> file should be generated,
171 as the <systemitem class="username">root</systemitem> user:
172 </para>
173
174<screen role="root"><userinput>cat &gt; /etc/locale.conf &lt;&lt; EOF
175<literal># Begin /etc/locale.conf
176
177LANG=$LANG
178
179# End /etc/locale.conf</literal>
180EOF</userinput></screen>
181
182 </sect3>
183
184 </sect2>
185
186 <sect2 role="content">
187 <title>Contents</title>
188
189 <segmentedlist>
190 <segtitle>Installed Program</segtitle>
191 <segtitle>Installed Library</segtitle>
192 <segtitle>Installed Directory</segtitle>
193
194 <seglistitem>
195 <seg>
196 blocaled (in <filename class="directory">/usr/libexec</filename>)
197 </seg>
198 <seg>
199 None
200 </seg>
201 <seg>
202 /usr/share/blocaled
203 </seg>
204 </seglistitem>
205 </segmentedlist>
206
207 <variablelist>
208 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
209 <?dbfo list-presentation="list"?>
210 <?dbhtml list-presentation="table"?>
211
212 <varlistentry id="blocaled-prog">
213 <term><command>blocaled</command></term>
214 <listitem>
215 <para>
216 is the daemon implementing the
217 <emphasis>org.freedesktop.locale1</emphasis> D&ndash;Bus protocol
218 </para>
219 <indexterm zone="blocaled blocaled-prog">
220 <primary sortas="b-blocaled">blocaled</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224 </variablelist>
225 </sect2>
226</sect1>
Note: See TracBrowser for help on using the repository browser.