Author: pierre Date: Mon Dec 9 01:32:49 2019 New Revision: 22453 Log: Add blocaled-0.1
Added: trunk/BOOK/general/sysutils/blocaled.xml Modified: trunk/BOOK/general.ent trunk/BOOK/general/sysutils/sysutils.xml trunk/BOOK/gnome/platform/evolution-data-server.xml trunk/BOOK/gnome/platform/gdm.xml trunk/BOOK/gnome/platform/gnome-control-center.xml trunk/BOOK/gnome/platform/gnome-settings-daemon.xml trunk/BOOK/gnome/platform/gnome-shell.xml trunk/BOOK/gnome/platform/mutter.xml trunk/BOOK/introduction/welcome/changelog.xml trunk/BOOK/packages.ent Modified: trunk/BOOK/general.ent ============================================================================== --- trunk/BOOK/general.ent Sun Dec 8 14:25:37 2019 (r22452) +++ trunk/BOOK/general.ent Mon Dec 9 01:32:49 2019 (r22453) @@ -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 --> Added: trunk/BOOK/general/sysutils/blocaled.xml ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/BOOK/general/sysutils/blocaled.xml Mon Dec 9 01:32:49 2019 (r22453) @@ -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> Modified: trunk/BOOK/general/sysutils/sysutils.xml ============================================================================== --- trunk/BOOK/general/sysutils/sysutils.xml Sun Dec 8 14:25:37 2019 (r22452) +++ trunk/BOOK/general/sysutils/sysutils.xml Mon Dec 9 01:32:49 2019 (r22453) @@ -37,6 +37,7 @@ <!-- 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"/> Modified: trunk/BOOK/gnome/platform/evolution-data-server.xml ============================================================================== --- trunk/BOOK/gnome/platform/evolution-data-server.xml Sun Dec 8 14:25:37 2019 (r22452) +++ trunk/BOOK/gnome/platform/evolution-data-server.xml Mon Dec 9 01:32:49 2019 (r22453) @@ -100,6 +100,12 @@ <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"/>, Modified: trunk/BOOK/gnome/platform/gdm.xml ============================================================================== --- trunk/BOOK/gnome/platform/gdm.xml Sun Dec 8 14:25:37 2019 (r22452) +++ trunk/BOOK/gnome/platform/gdm.xml Mon Dec 9 01:32:49 2019 (r22453) @@ -123,6 +123,7 @@ -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 @@ <filename class="directory">/usr/share/X11/xkb/symbols</filename>). </para> </note> - +--> <para> Install <application>GDM</application> by running the following commands: Modified: trunk/BOOK/gnome/platform/gnome-control-center.xml ============================================================================== --- trunk/BOOK/gnome/platform/gnome-control-center.xml Sun Dec 8 14:25:37 2019 (r22452) +++ trunk/BOOK/gnome/platform/gnome-control-center.xml Mon Dec 9 01:32:49 2019 (r22453) @@ -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), Modified: trunk/BOOK/gnome/platform/gnome-settings-daemon.xml ============================================================================== --- trunk/BOOK/gnome/platform/gnome-settings-daemon.xml Sun Dec 8 14:25:37 2019 (r22452) +++ trunk/BOOK/gnome/platform/gnome-settings-daemon.xml Mon Dec 9 01:32:49 2019 (r22453) @@ -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 Modified: trunk/BOOK/gnome/platform/gnome-shell.xml ============================================================================== --- trunk/BOOK/gnome/platform/gnome-shell.xml Sun Dec 8 14:25:37 2019 (r22452) +++ trunk/BOOK/gnome/platform/gnome-shell.xml Mon Dec 9 01:32:49 2019 (r22453) @@ -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 @@ <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> Modified: trunk/BOOK/gnome/platform/mutter.xml ============================================================================== --- trunk/BOOK/gnome/platform/mutter.xml Sun Dec 8 14:25:37 2019 (r22452) +++ trunk/BOOK/gnome/platform/mutter.xml Mon Dec 9 01:32:49 2019 (r22453) @@ -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. --> Modified: trunk/BOOK/introduction/welcome/changelog.xml ============================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml Sun Dec 8 14:25:37 2019 (r22452) +++ trunk/BOOK/introduction/welcome/changelog.xml Mon Dec 9 01:32:49 2019 (r22453) @@ -42,6 +42,16 @@ </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> <listitem> Modified: trunk/BOOK/packages.ent ============================================================================== --- trunk/BOOK/packages.ent Sun Dec 8 14:25:37 2019 (r22452) +++ trunk/BOOK/packages.ent Mon Dec 9 01:32:49 2019 (r22453) @@ -272,6 +272,7 @@ <!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"> -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
