Ignore:
Timestamp:
04/20/2016 08:10:31 PM (8 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, 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
Children:
becfbd8
Parents:
b291709
Message:

Add a patch to use the ConsoleKit2 API for Suspend and Hibernate in LXDE

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lxde/desktop/lxsession.xml

    rb291709 rc744d53e  
    7171    </itemizedlist>
    7272
     73    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     74    <itemizedlist spacing="compact">
     75      <listitem>
     76        <para>
     77          Optional patch, which adds <quote>Hibernate</quote> and <quote>
     78          Suspend</quote> capabilities through ConsoleKit2 API:
     79          <ulink url="&patch-root;/lxsession-&lxsession-version;-hibernate_consolekit-2.patch"/>
     80        </para>
     81      </listitem>
     82    </itemizedlist>
     83
    7384    <bridgehead renderas="sect3">LXSession Dependencies</bridgehead>
    7485
     
    7687    <para role="required">
    7788      <xref linkend="dbus-glib"/>,
    78       <xref linkend="gtk2"/>,
    79       <xref linkend="libunique"/> (used by lxpolkit and lxclipboard),
     89      <xref linkend="libunique"/>,
    8090      <xref linkend="lsb-release"/> (runtime for lxde-logout so it does not crash),
    8191      <xref linkend="polkit"/>, and
     
    8595    <bridgehead renderas="sect4">Optional</bridgehead>
    8696    <para role="optional">
     97      <xref linkend="consolekit"/> (used at runtime by
     98      <command>lxsession-logout</command>),
     99      <xref linkend="gtk3"/>, and
    87100      <xref linkend="libxslt"/> with
    88       <xref linkend="DocBook"/>,
    89       <xref linkend="docbook-xsl"/> (to build man pages), and
    90       <xref linkend="upower"/> with
    91       <xref linkend="pm-utils"/> (used by <command>lxsession-logout</command>)
     101      <xref linkend="DocBook"/> and
     102      <xref linkend="docbook-xsl"/> (to build man pages)
    92103    </para>
    93104
     
    99110  <sect2 role="installation">
    100111    <title>Installation of LXSession</title>
     112
     113    <para>
     114      Optionally apply the following patch to be able to put your system
     115      into <quote>Suspend</quote> or <quote>Hibernate</quote> state.
     116    </para>
     117
     118<screen><userinput>patch -Np1 -i ../lxsession-&lxsession-version;-hibernate_consolekit-2.patch</userinput></screen>
    101119
    102120    <para>
     
    127145      the manual pages. Remove it if you have installed optional dependencies
    128146      and wish to build the manual pages.
     147    </para>
     148
     149    <para>
     150      <option>--enable-gtk3</option>: Builds against <application>GTK+-3
     151      </application> instead of <application>GTK+-2</application>, which
     152      is required anyway by <application>libunique</application>.
    129153    </para>
    130154
     
    274298        <listitem>
    275299          <para>
    276             is a program that to logout from LXSession.
     300            is a program to logout from LXSession.
    277301          </para>
    278302          <indexterm zone="lxsession lxsession-logout">
Note: See TracChangeset for help on using the changeset viewer.