mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
Add blocaled-0.1
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22453 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
358f6aacd8
commit
2126b9e90e
@ -1,12 +1,12 @@
|
||||
<!-- $LastChangedBy$ $Date$ -->
|
||||
|
||||
<!ENTITY day "08"> <!-- Always 2 digits -->
|
||||
<!ENTITY day "09"> <!-- Always 2 digits -->
|
||||
<!ENTITY month "12"> <!-- Always 2 digits -->
|
||||
<!ENTITY year "2019">
|
||||
<!ENTITY copyrightdate "2001-&year;">
|
||||
<!ENTITY copyholder "The BLFS Development Team">
|
||||
<!ENTITY version "&year;-&month;-&day;">
|
||||
<!ENTITY releasedate "December 7th, &year;">
|
||||
<!ENTITY releasedate "December 9th, &year;">
|
||||
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
||||
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
||||
<!ENTITY lfs-version "development"> <!-- x.y|development -->
|
||||
|
226
general/sysutils/blocaled.xml
Normal file
226
general/sysutils/blocaled.xml
Normal file
@ -0,0 +1,226 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY blocaled-download-http "https://github.com/pierre-labastie/blocaled/releases/download/v&blocaled-version;/blocaled-&blocaled-version;.tar.xz">
|
||||
<!ENTITY blocaled-download-ftp " ">
|
||||
<!ENTITY blocaled-md5sum "2b47923594d9f7564b51651e2433b9e1">
|
||||
<!ENTITY blocaled-size "256 KB">
|
||||
<!ENTITY blocaled-buildsize "3.8 MB">
|
||||
<!ENTITY blocaled-time "less than 0.1 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="blocaled" revision="sysv" xreflabel="blocaled-&blocaled-version;">
|
||||
<?dbhtml filename="blocaled.html"?>
|
||||
|
||||
<sect1info>
|
||||
<!-- this part gets updated when you commit, IFF you set the properties:
|
||||
first, svn add path/to/thisfile.xml and then
|
||||
svn propset svn:mime-type text/plain path/to/thisfile.xml and
|
||||
svn propset svn:keywords "Date LastChangedBy" path/to/thisfile.xml -->
|
||||
<othername>$LastChangedBy: renodr $</othername>
|
||||
<date>$Date: 2019-10-31 17:50:26 +0100 (jeu. 31 oct. 2019) $</date>
|
||||
</sect1info>
|
||||
|
||||
<title>blocaled-&blocaled-version;</title>
|
||||
|
||||
<indexterm zone="blocaled">
|
||||
<primary sortas="a-blocaled">blocaled</primary>
|
||||
</indexterm>
|
||||
|
||||
<!--Required section-->
|
||||
<sect2 role="package">
|
||||
<title>Introduction to blocaled</title>
|
||||
|
||||
<para>
|
||||
<application>blocaled</application> is an implementation of the
|
||||
<emphasis>org.freedesktop.locale1</emphasis> D–Bus protocol,
|
||||
which normally comes with <application>systemd</application>. It is
|
||||
needed by the <application>GNOME</application> desktop.
|
||||
</para>
|
||||
|
||||
&lfs90_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Download (HTTP): <ulink url="&blocaled-download-http;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download (FTP): <ulink url="&blocaled-download-ftp;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download MD5 sum: &blocaled-md5sum;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download size: &blocaled-size;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated disk space required: &blocaled-buildsize;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated build time: &blocaled-time;
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">blocaled Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required">
|
||||
<xref linkend="polkit"/> and
|
||||
<xref linkend="libdaemon"/>
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">
|
||||
User Notes: <ulink url="&blfs-wiki;/blocaled"/>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of blocaled</title>
|
||||
|
||||
<para>
|
||||
Install <application>blocaled</application> by running the following
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
To test the results, issue: <command>make check</command>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="configuration">
|
||||
<title>Configuring blocaled</title>
|
||||
|
||||
<sect3 id="blocaled-config">
|
||||
<title>Config Files</title>
|
||||
<para>
|
||||
<filename>/etc/blocaled.conf</filename>
|
||||
</para>
|
||||
|
||||
<indexterm zone="blocaled blocaled-config">
|
||||
<primary
|
||||
sortas="e-etc-blocaled.conf">/etc/blocaled.conf</primary>
|
||||
</indexterm>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Configuration Information</title>
|
||||
|
||||
<para>
|
||||
<filename>/etc/blocaled.conf</filename> contains the location of
|
||||
the settings files used by <application>blocaled</application>. The
|
||||
defaults are suitable for BLFS. Information about the entries is
|
||||
available as comments in the file.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The <emphasis>org.freedesktop.locale1</emphasis> protocol is
|
||||
unable to export locale variables. Locale settings are stored
|
||||
by default in <filename>/etc/locale.conf</filename>. We need to
|
||||
retrieve them in the bash profile. As the <systemitem class="username">
|
||||
root</systemitem> user, issue:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>cat > /etc/profile.d/i18n.sh << "EOF"
|
||||
<literal># Begin /etc/profile.d/i18n.sh
|
||||
|
||||
if [ -r /etc/locale.conf ]; then source /etc/locale.conf; fi
|
||||
|
||||
if [ -n "$LANG" ]; then export LANG; fi
|
||||
if [ -n "$LC_TYPE" ]; then export LC_TYPE; fi
|
||||
if [ -n "$LC_NUMERIC" ]; then export LC_NUMERIC; fi
|
||||
if [ -n "$LC_TIME" ]; then export LC_TIME; fi
|
||||
if [ -n "$LC_COLLATE" ]; then export LC_COLLATE; fi
|
||||
if [ -n "$LC_MONETARY" ]; then export LC_MONETARY; fi
|
||||
if [ -n "$LC_MESSAGES" ]; then export LC_MESSAGES; fi
|
||||
if [ -n "$LC_PAPER" ]; then export LC_PAPER; fi
|
||||
if [ -n "$LC_NAME" ]; then export LC_NAME; fi
|
||||
if [ -n "$LC_ADDRESS" ]; then export LC_ADDRESS; fi
|
||||
if [ -n "$LC_TELEPHONE" ]; then export LC_TELEPHONE; fi
|
||||
if [ -n "$LC_MEASUREMENT" ]; then export LC_MEASUREMENT; fi
|
||||
if [ -n "$LC_IDENTIFICATION" ]; then export LC_IDENTIFICATION; fi
|
||||
|
||||
# End /etc/profile.d/i18n.sh</literal>
|
||||
EOF</userinput></screen>
|
||||
|
||||
<para>
|
||||
Then the <filename>/etc/locale</filename> file should be generated,
|
||||
as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>cat > /etc/locale.conf << EOF
|
||||
<literal># Begin /etc/locale.conf
|
||||
|
||||
LANG=$LANG
|
||||
|
||||
# End /etc/locale.conf</literal>
|
||||
EOF</userinput></screen>
|
||||
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Program</segtitle>
|
||||
<segtitle>Installed Library</segtitle>
|
||||
<segtitle>Installed Directory</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>
|
||||
blocaled (in <filename class="directory">/usr/libexec</filename>)
|
||||
</seg>
|
||||
<seg>
|
||||
None
|
||||
</seg>
|
||||
<seg>
|
||||
/usr/share/blocaled
|
||||
</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="blocaled-prog">
|
||||
<term><command>blocaled</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
is the daemon implementing the
|
||||
<emphasis>org.freedesktop.locale1</emphasis> D–Bus protocol
|
||||
</para>
|
||||
<indexterm zone="blocaled blocaled-prog">
|
||||
<primary sortas="b-blocaled">blocaled</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</sect2>
|
||||
</sect1>
|
@ -37,6 +37,7 @@ $Date$
|
||||
|
||||
<!-- sysv only -->
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="elogind.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="blocaled.xml"/>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="fcron.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gpm.xml"/>
|
||||
|
@ -100,6 +100,12 @@ xreflabel="evolution-data-server-&evolution-data-server-version;">
|
||||
<xref linkend="vala"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4"
|
||||
revision="sysv">Recommended (Runtime)</bridgehead>
|
||||
<para role="recommended" revision="sysv">
|
||||
<xref linkend="blocaled" role="runtime"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="gtk-doc"/>,
|
||||
|
@ -123,6 +123,7 @@ useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \
|
||||
-g gdm -s /bin/false gdm &&
|
||||
passwd -ql gdm</userinput></screen>
|
||||
|
||||
<!--
|
||||
<note revision="sysv">
|
||||
<para>
|
||||
The <application>gdm</application> login screen is managed by
|
||||
@ -150,7 +151,7 @@ EOF</userinput></screen>
|
||||
<filename class="directory">/usr/share/X11/xkb/symbols</filename>).
|
||||
</para>
|
||||
</note>
|
||||
|
||||
-->
|
||||
<para>
|
||||
Install <application>GDM</application> by running the following
|
||||
commands:
|
||||
|
@ -101,6 +101,12 @@
|
||||
<xref linkend="network-manager-applet"/> (for the Network Panel)
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4"
|
||||
revision="sysv">Recommended (Runtime)</bridgehead>
|
||||
<para role="recommended" revision="sysv">
|
||||
<xref linkend="blocaled" role="runtime"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional Runtime Dependencies</bridgehead>
|
||||
<para role="optional">
|
||||
<xref role="runtime" linkend="cups-pk-helper"/> (Printers panel),
|
||||
|
@ -112,6 +112,12 @@
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<bridgehead renderas="sect4"
|
||||
revision="sysv">Recommended (Runtime)</bridgehead>
|
||||
<para role="recommended" revision="sysv">
|
||||
<xref linkend="blocaled" role="runtime"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<ulink url="https://github.com/martinpitt/python-dbusmock">python-dbusmock</ulink> and
|
||||
|
@ -97,6 +97,12 @@
|
||||
<xref linkend="network-manager-applet"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4"
|
||||
revision="sysv">Recommended (Runtime)</bridgehead>
|
||||
<para role="recommended" revision="sysv">
|
||||
<xref linkend="blocaled" role="runtime"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="gtk-doc"/> and
|
||||
@ -127,9 +133,7 @@
|
||||
following commands:
|
||||
</para>
|
||||
|
||||
<screen revision="sysv"><userinput>sed -i '/isGreeter/,+2 d' js/ui/status/keyboard.js &&
|
||||
|
||||
mkdir build &&
|
||||
<screen revision="sysv"><userinput>mkdir build &&
|
||||
cd build &&
|
||||
|
||||
meson --prefix=/usr -Dsystemd=false .. &&
|
||||
@ -153,22 +157,14 @@ ninja</userinput></screen>
|
||||
|
||||
<screen role="root"><userinput>ninja install</userinput></screen>
|
||||
|
||||
<!-- not needed with -Dsystemd=false
|
||||
<para revision="sysv">
|
||||
Finally, remove some systemd units that are unnecessary on SysV.
|
||||
</para>
|
||||
|
||||
<screen role="root" revision="sysv"><userinput>rm -v /usr/lib/systemd/user/gnome-shell*</userinput></screen>
|
||||
-->
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para revision="sysv">
|
||||
<command>sed -i ...</command>: This command allows the GDM greeter to
|
||||
use a keyboard layout taken from the dconf database instead of a default
|
||||
US qwerty one.
|
||||
<parameter>-Dsystemd=false</parameter>: Prevents installing systemd
|
||||
files, which are not needed in this version of BLFS.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
@ -114,6 +114,12 @@
|
||||
<application>Wayland</application> support.
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4"
|
||||
revision="sysv">Recommended (Runtime)</bridgehead>
|
||||
<para role="recommended" revision="sysv">
|
||||
<xref linkend="blocaled" role="runtime"/>
|
||||
</para>
|
||||
|
||||
<!-- NOTE: Mutter compiles git versions of COGL and Clutter for it's own
|
||||
internal use. This is because the wayland support upstream isn't advanced
|
||||
enough for the graphics stack used in Mutter. -->
|
||||
|
@ -41,6 +41,16 @@
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
-->
|
||||
<listitem>
|
||||
<para>December 9th, 2019</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[pierre] - Add blocaled-0.1, a replacement for
|
||||
systemd-localed.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>December 8th, 2019</para>
|
||||
<itemizedlist>
|
||||
|
@ -272,6 +272,7 @@ to avoid building libxml2 twice, which is slow with all deps -->
|
||||
<!ENTITY cups-pk-helper-version "0.2.6">
|
||||
<!ENTITY dbus-version "1.12.16"> <!-- Even minors only -->
|
||||
<!ENTITY elogind-version "241.3">
|
||||
<!ENTITY blocaled-version "0.1">
|
||||
<!ENTITY eudev-version "1.7">
|
||||
<!ENTITY fcron-version "3.2.1">
|
||||
<!ENTITY gpm-version "1.20.7">
|
||||
|
Loading…
Reference in New Issue
Block a user