On 5.1.2018. 19:17, via blfs-book wrote:
Author: bdubbs
Date: Fri Jan  5 10:17:22 2018
New Revision: 19650

Log:
Add lightdm

Added:
    trunk/BOOK/x/dm/lightdm.xml
       - copied, changed from r19647, trunk/BOOK/x/dm/sddm.xml
    trunk/bootscripts/blfs/init.d/lightdm
       - copied, changed from r19175, trunk/bootscripts/blfs/init.d/sddm
    trunk/systemd-units/blfs/units/lightdm.service
Modified:
    trunk/BOOK/general.ent
    trunk/BOOK/introduction/welcome/changelog.xml
    trunk/BOOK/packages.ent
    trunk/BOOK/postlfs/config/users.xml
    trunk/BOOK/x/dm/dm.xml
    trunk/bootscripts/ChangeLog
    trunk/bootscripts/Makefile
    trunk/systemd-units/ChangeLog
    trunk/systemd-units/Makefile

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent      Fri Jan  5 08:26:16 2018        (r19649)
+++ trunk/BOOK/general.ent      Fri Jan  5 10:17:22 2018        (r19650)
@@ -1,12 +1,12 @@
  <!-- $LastChangedBy$ $Date$ -->
-<!ENTITY day "04"> <!-- Always 2 digits -->
+<!ENTITY day          "05">                   <!-- Always 2 digits -->
  <!ENTITY month        "01">                   <!-- Always 2 digits -->
  <!ENTITY year         "2018">
  <!ENTITY copyrightdate "2001-&year;">
  <!ENTITY copyholder   "The BLFS Development Team">
  <!ENTITY version      "&year;-&month;-&day;">
-<!ENTITY releasedate  "January 4th, &year;">
+<!ENTITY releasedate  "January 5th, &year;">
  <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
  <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  <!ENTITY lfs-version  "development">          <!-- x.y|development -->
@@ -77,8 +77,8 @@
  <!ENTITY lfs-vim-version              "7.4">
  <!-- End LFS versions -->
-<!ENTITY blfs-bootscripts-version "20170731">
-<!ENTITY systemd-units-version        "20160602">
+<!ENTITY blfs-bootscripts-version     "20180105">
+<!ENTITY systemd-units-version        "20180105">
<!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki";>

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Fri Jan  5 08:26:16 
2018        (r19649)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Fri Jan  5 10:17:22 
2018        (r19650)
@@ -42,6 +42,15 @@
      </listitem>
  -->
      <listitem>
+      <para>January 5th, 2018</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Add lightdm.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
        <para>January 4th, 2018</para>
        <itemizedlist>
          <listitem>

Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent     Fri Jan  5 08:26:16 2018        (r19649)
+++ trunk/BOOK/packages.ent     Fri Jan  5 10:17:22 2018        (r19650)
@@ -588,6 +588,8 @@
  <!ENTITY qt5-dir                      "$QT5DIR">
<!-- Chapter 26 -->
+<!ENTITY lightdm-version              "1.24.0">
+<!ENTITY lightdm-gtk-greeter-version  "2.0.3">
  <!ENTITY lxdm-version                 "0.5.3">
  <!ENTITY sddm-version                 "0.16.0">
Modified: trunk/BOOK/postlfs/config/users.xml
==============================================================================
--- trunk/BOOK/postlfs/config/users.xml Fri Jan  5 08:26:16 2018        (r19649)
+++ trunk/BOOK/postlfs/config/users.xml Fri Jan  5 10:17:22 2018        (r19650)
@@ -111,6 +111,7 @@
          <row><entry>wireshark</entry><entry> </entry><entry>62</entry></row>
          <row><entry>lightdm </entry><entry>63</entry><entry>63</entry></row>
          <row><entry>sddm    </entry><entry>64</entry><entry>64</entry></row>
+        <row><entry>lightdm </entry><entry>65</entry><entry>65</entry></row>
          <row><entry>scanner </entry><entry>  </entry><entry>70</entry></row>
          <row><entry>colord  </entry><entry>71</entry><entry>71</entry></row>
Modified: trunk/BOOK/x/dm/dm.xml
==============================================================================
--- trunk/BOOK/x/dm/dm.xml      Fri Jan  5 08:26:16 2018        (r19649)
+++ trunk/BOOK/x/dm/dm.xml      Fri Jan  5 10:17:22 2018        (r19650)
@@ -61,6 +61,7 @@
</sect1> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="lightdm.xml"/>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="lxdm.xml"/>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="sddm.xml"/>
Copied and modified: trunk/BOOK/x/dm/lightdm.xml (from r19647, 
trunk/BOOK/x/dm/sddm.xml)
==============================================================================
--- trunk/BOOK/x/dm/sddm.xml    Wed Jan  3 17:32:24 2018        (r19647, copy 
source)
+++ trunk/BOOK/x/dm/lightdm.xml Fri Jan  5 10:17:22 2018        (r19650)

...

      <bridgehead renderas="sect4">Required</bridgehead>
      <para role="required">
-      <xref linkend="cmake"/>,
-      <xref linkend="extra-cmake-modules"/> and
-      <xref linkend="qt5"/>
+      <xref linkend="gtk3"/>,
+      <xref linkend="libgcrypt"/>,
+      <xref linkend="linux-pam"/>, and
+      <xref linkend="pcre"/>
      </para>
<bridgehead renderas="sect4">Recommended</bridgehead>
      <para role="recommended">
-      <xref linkend="linux-pam"/> and
-      <xref linkend="upower"/>
+      <xref linkend="gobject-introspection"/>,
+      <xref linkend="libxklavier"/>, and
+      <xref linkend="vala"/>
      </para>
<bridgehead renderas="sect4">Optional</bridgehead>
      <para role="optional">
-      <xref linkend="docutils"/> (for the man pages)
-    </para>
+      <xref linkend="at-spi2-core"/>,

This is required by gtk3 (through at-spi2-atk), which is required by this package.

+      <xref linkend="gtk-doc"/>,
+      <xref linkend="itstool"/>,
+      <xref linkend="qt5"/>,
+      <ulink url="https://launchpad.net/intltool";>intltool</ulink>,

I'm pretty sure there's intltool in LFS.

+      <ulink url="https://launchpad.net/ido";>libido</ulink>, and
+      <ulink url="https://launchpad.net/libindicator";>libindicator</ulink>

...

-<screen revision="systemd"><userinput>mkdir build &amp;&amp;
-cd    build &amp;&amp;
-
-cmake -DCMAKE_INSTALL_PREFIX=/usr \
-      -DCMAKE_BUILD_TYPE=Release  \
-      -Wno-dev .. &amp;&amp;
+<screen><userinput>./configure                          \
+       --prefix=/usr                 \


+       --libexecdir=/usr/lib/lightdm \
+       --sbindir=/usr/bin            \

Same as below.

+       --sysconfdir=/etc             \
+       --disable-static              \
+       --disable-tests               \
+       --with-greeter-user=lightdm   \
+       --with-greeter-session=lightdm-gtk-greeter \
+       --docdir=/usr/share/doc/lightdm-&lightdm-version; &amp;&amp;
  make</userinput></screen>

...

+<screen><userinput>tar -xf ../lightdm-gtk-greeter-2.0.3.tar.gz &amp;&amp;
+cd lightdm-gtk-greeter &amp;&amp;
+
+export CFLAGS="$CFLAGS -Wno-declaration-after-statement" &amp;&amp;
+

There's --disable-compile-warnings configure flag.

+./configure                      \

...

+   --libexecdir=/usr/lib/lightdm \

Didn't BLFS stop doing this quite some time ago?

+   --sbindir=/usr/bin            \

I don't think this is a good idea. I suppose you copied this from Arch, where they have /usr/sbin as a symlink to /usr/bin. All programs that aren't meant to be ran by an end user go in /usr/sbin, no?

+   --with-libxklavier            \
+   --enable-kill-on-sigterm      \
+   --disable-libido              \
+   --disable-libindicator        \ > +   --disable-static
+   --docdir=/usr/share/doc/lightdm-gtk-greeter-&lightdm-gtk-greeter-version; 
&amp;&amp;
- </sect2>
+make</userinput></screen>
+

...

-    </sect3>
-
-    <sect3>
-      <title>Linux PAM Configuration</title>
-

Doesn't lightdm need PAM as well?

--

Overall, nice work.
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to