Changeset 8d86c672


Ignore:
Timestamp:
03/16/2012 01:30:16 PM (12 years ago)
Author:
Ragnar Thomsen <rthomsen@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
ce9d22a
Parents:
b865548
Message:

KDE4/QT4/ConsoleKit conf.

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

Files:
13 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    rb865548 r8d86c672  
    653653<!-- Part VIII -->
    654654<!-- Chapters 29-31 -->
    655 <!ENTITY kde4-version                 "4.6.0">
     655<!ENTITY kde4-version                 "4.8.1">
    656656<!ENTITY kde4-dldir                   "&kde4-version;">
    657657<!ENTITY kde4-branch                  "stable">
    658 <!ENTITY kde4-download-http           "http://mirrors.isc.org/pub/kde/&kde4-branch;/&kde4-dldir;/src">
    659 <!ENTITY kde4-download-ftp            "ftp://ftp.kde.org/pub/kde/&kde4-branch;/&kde4-dldir;/src">
     658<!ENTITY kde4-download-http           "http://mirrors.isc.org/pub/kde/stable/">
     659<!ENTITY kde4-download-ftp            "ftp://ftp.kde.org/pub/kde/stable/">
    660660<!ENTITY kde4-dir-var                 "KDE4_PREFIX">
    661661<!ENTITY kde4-dir                     "$&kde4-dir-var;">
     
    688688<!ENTITY libkexiv2-version            "4.8.1">
    689689<!ENTITY kde4pim-version              "4.4.10">
     690<!ENTITY kde4games-version            "4.6.0">
     691<!ENTITY kde4edu-version              "4.6.0">
     692<!ENTITY kde4accessibility-version    "4.6.0">
     693<!ENTITY kde4toys-version             "4.6.0">
    690694<!ENTITY kde4-download-http-pim       "http://mirrors.isc.org/pub/kde/&kde4-branch;/kdepim-&kde4pim-version;/src">
    691695<!ENTITY kde4-download-ftp-pim        "ftp://ftp.kde.org/pub/kde/&kde4-branch;/kdepim-&kde4pim-version;/src">
     696<!ENTITY kde4sdk-version              "4.6.0">
     697<!ENTITY kde4webdev-version           "4.6.0">
    692698<!ENTITY kdevplatform-version         "1.2.0">
    693699<!ENTITY kdevelop4-version            "4.2.0">
  • introduction/welcome/changelog.xml

    rb865548 r8d86c672  
    4343-->
    4444    <listitem>
     45      <para>March 16th, 2012</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[rthomsen] - Modified configuration for KDE4, QT4 and ConsoleKit.</para>
     49        </listitem>
     50      </itemizedlist>
     51    </listitem>
     52
     53    <listitem>
    4554      <para>March 15th, 2012</para>
    4655      <itemizedlist>
  • kde4/add/kde4accessibility.xml

    rb865548 r8d86c672  
    55  %general-entities;
    66
    7   <!ENTITY kde4accessibility-download-http "&kde4-download-http;/kdeaccessibility-&kde4-version;.tar.bz2">
    8   <!ENTITY kde4accessibility-download-ftp  "&kde4-download-ftp;/kdeaccessibility-&kde4-version;.tar.bz2">
     7  <!ENTITY kde4accessibility-download-http "&kde4-download-http;&kde4accessibility-version;/src/kdeaccessibility-&kde4accessibility-version;.tar.bz2">
     8  <!ENTITY kde4accessibility-download-ftp  "&kde4-download-ftp;&kde4accessibility-version;/src/kdeaccessibility-&kde4accessibility-version;.tar.bz2">
    99  <!ENTITY kde4accessibility-md5sum        "95bfb46141365d7330adfacd952584e9">
    1010  <!ENTITY kde4accessibility-size          "1.9 MB">
     
    1313]>
    1414
    15 <sect1 id="kde4accessibility" xreflabel="kde4accessibility-&kde4-version;">
     15<sect1 id="kde4accessibility" xreflabel="kdeaccessibility-&kde4accessibility-version;">
    1616  <?dbhtml filename="kde4accessibility.html"?>
    1717
     
    2121  </sect1info>
    2222
    23   <title>Kdeaccessibility-&kde4-version;</title>
     23  <title>Kdeaccessibility-&kde4accessibility-version;</title>
    2424
    2525  <indexterm zone="kde4accessibility">
  • kde4/add/kde4edu.xml

    rb865548 r8d86c672  
    55  %general-entities;
    66
    7   <!ENTITY kde4edu-download-http "&kde4-download-http;/kdeedu-&kde4-version;.tar.bz2">
    8   <!ENTITY kde4edu-download-ftp  "&kde4-download-ftp;/kdeedu-&kde4-version;.tar.bz2">
     7  <!ENTITY kde4edu-download-http "&kde4-download-http;&kde4edu-version;/src/kdeedu-&kde4edu-version;.tar.bz2">
     8  <!ENTITY kde4edu-download-ftp  "&kde4-download-ftp;&kde4edu-version;/src/kdeedu-&kde4edu-version;.tar.bz2">
    99  <!ENTITY kde4edu-md5sum        "910301da580fb30c2d7fbb5b22b9a08c">
    1010  <!ENTITY kde4edu-size          "68 MB">
     
    1313]>
    1414
    15 <sect1 id="kde4edu" xreflabel="kde4edu-&kde4-version;">
     15<sect1 id="kde4edu" xreflabel="kdeedu-&kde4edu-version;">
    1616  <?dbhtml filename="kde4edu.html"?>
    1717
     
    2121  </sect1info>
    2222
    23   <title>Kdeedu-&kde4-version;</title>
     23  <title>Kdeedu-&kde4edu-version;</title>
    2424
    2525  <indexterm zone="kde4edu">
  • kde4/add/kde4games.xml

    rb865548 r8d86c672  
    55  %general-entities;
    66
    7   <!ENTITY kde4games-download-http "&kde4-download-http;/kdegames-&kde4-version;.tar.bz2">
    8   <!ENTITY kde4games-download-ftp  "&kde4-download-ftp;/kdegames-&kde4-version;.tar.bz2">
     7  <!ENTITY kde4games-download-http "&kde4-download-http;&kde4games-version;/src/kdegames-&kde4games-version;.tar.bz2">
     8  <!ENTITY kde4games-download-ftp  "&kde4-download-ftp;&kde4games-version;/src/kdegames-&kde4games-version;.tar.bz2">
    99  <!ENTITY kde4games-md5sum        "131260cb75a7590910b8b84f18e6b35e">
    1010  <!ENTITY kde4games-size          "58 MB">
     
    1313]>
    1414
    15 <sect1 id="kde4games" xreflabel="kde4games-&kde4-version;">
     15<sect1 id="kde4games" xreflabel="kdegames-&kde4games-version;">
    1616  <?dbhtml filename="kde4games.html"?>
    1717
     
    2121  </sect1info>
    2222
    23   <title>Kdegames-&kde4-version;</title>
     23  <title>Kdegames-&kde4games-version;</title>
    2424
    2525  <indexterm zone="kde4games">
  • kde4/add/kde4toys.xml

    rb865548 r8d86c672  
    55  %general-entities;
    66
    7   <!ENTITY kde4toys-download-http "&kde4-download-http;/kdetoys-&kde4-version;.tar.bz2">
    8   <!ENTITY kde4toys-download-ftp  "&kde4-download-ftp;/kdetoys-&kde4-version;.tar.bz2">
     7  <!ENTITY kde4toys-download-http "&kde4-download-http;&kde4toys-version;/src/kdetoys-&kde4toys-version;.tar.bz2">
     8  <!ENTITY kde4toys-download-ftp  "&kde4-download-ftp;&kde4toys-version;/src/kdetoys-&kde4toys-version;.tar.bz2">
    99  <!ENTITY kde4toys-md5sum        "2025e1931ada4d1b1d37371df9847865">
    1010  <!ENTITY kde4toys-size          "400 KB">
     
    1313]>
    1414
    15 <sect1 id="kde4toys" xreflabel="kde4toys-&kde4-version;">
     15<sect1 id="kde4toys" xreflabel="kdetoys-&kde4toys-version;">
    1616  <?dbhtml filename="kde4toys.html"?>
    1717
     
    2121  </sect1info>
    2222
    23   <title>Kdetoys-&kde4-version;</title>
     23  <title>Kdetoys-&kde4toys-version;</title>
    2424
    2525  <indexterm zone="kde4toys">
  • kde4/core/kde4workspace.xml

    rb865548 r8d86c672  
    114114cd build &amp;&amp;
    115115cmake -DCMAKE_INSTALL_PREFIX=$KDE4_PREFIX \
    116     -DKDE_DEFAULT_HOME=.kde4 \
    117     -DSYSCONF_INSTALL_DIR=/etc/kde4 \
    118     .. &amp;&amp;
     116      -DKDE_DEFAULT_HOME=.kde4 \
     117      -DSYSCONF_INSTALL_DIR=/etc/kde4 \
     118      -DPYTHON_SITE_PACKAGES_INSTALL_DIR=/usr/lib/python2.7/site-packages \
     119      .. &amp;&amp;
    119120make</userinput></screen>
    120121
     
    124125
    125126  </sect2>
    126 <!--
     127
    127128  <sect2 role="commands">
    128129    <title>Command Explanations</title>
    129130
    130     <para><option>- -xyz</option>: This option is set for ...</para>
    131 
    132   </sect2>
    133 -->
     131    <para><option>-DPYTHON_SITE_PACKAGES_INSTALL...</option>: This option is
     132    set to install the KDE4 Python objects in the correct place.</para>
     133
     134  </sect2>
     135
    134136  <sect2 role="content">
    135137    <title>Contents</title>
  • kde4/devel/kde4sdk.xml

    rb865548 r8d86c672  
    55  %general-entities;
    66
    7   <!ENTITY kde4sdk-download-http "&kde4-download-http;/kdesdk-&kde4-version;.tar.bz2">
    8   <!ENTITY kde4sdk-download-ftp  "&kde4-download-ftp;/kdesdk-&kde4-version;.tar.bz2">
     7  <!ENTITY kde4sdk-download-http "&kde4-download-http;&kde4sdk-version;/src/kdesdk-&kde4sdk-version;.tar.bz2">
     8  <!ENTITY kde4sdk-download-ftp  "&kde4-download-ftp;&kde4sdk-version;/src/kdesdk-&kde4sdk-version;.tar.bz2">
    99  <!ENTITY kde4sdk-md5sum        "3bb8a404758e3fa9f2ca1658d175c094">
    1010  <!ENTITY kde4sdk-size          "6 MB">
     
    1313]>
    1414
    15 <sect1 id="kde4sdk" xreflabel="kde4sdk-&kde4-version;">
     15<sect1 id="kde4sdk" xreflabel="kdesdk-&kde4sdk-version;">
    1616  <?dbhtml filename="kde4sdk.html"?>
    1717
     
    2121  </sect1info>
    2222
    23   <title>Kdesdk-&kde4-version;</title>
     23  <title>Kdesdk-&kde4sdk-version;</title>
    2424
    2525  <indexterm zone="kde4sdk">
  • kde4/devel/kde4webdev.xml

    rb865548 r8d86c672  
    55  %general-entities;
    66
    7   <!ENTITY kde4webdev-download-http "&kde4-download-http;/kdewebdev-&kde4-version;.tar.bz2">
    8   <!ENTITY kde4webdev-download-ftp  "&kde4-download-ftp;/kdewebdev-&kde4-version;.tar.bz2">
     7  <!ENTITY kde4webdev-download-http "&kde4-download-http;&kde4webdev-version;/src/kdewebdev-&kde4webdev-version;.tar.bz2">
     8  <!ENTITY kde4webdev-download-ftp  "&kde4-download-ftp;&kde4webdev-version;/src/kdewebdev-&kde4webdev-version;.tar.bz2">
    99  <!ENTITY kde4webdev-md5sum        "9ea899175bc58d5a9333d858b12f705c">
    1010  <!ENTITY kde4webdev-size          "2.1 MB">
     
    1313]>
    1414
    15 <sect1 id="kde4webdev" xreflabel="kde4webdev-&kde4-version;">
     15<sect1 id="kde4webdev" xreflabel="kdewebdev-&kde4webdev-version;">
    1616  <?dbhtml filename="kde4webdev.html"?>
    1717
     
    2121  </sect1info>
    2222
    23   <title>Kdewebdev-&kde4-version;</title>
     23  <title>Kdewebdev-&kde4webdev-version;</title>
    2424
    2525  <indexterm zone="kde4webdev">
  • kde4/intro/pre-install-config.xml

    rb865548 r8d86c672  
    1616  <title>KDE4 Pre-installation Configuration</title>
    1717
    18   <sect2><title>Dependencies</title>
    19 
    20     <para><application>KDE4</application> is a huge software collection
    21     providing a desktop, tools for system and development tasks, and  fun and
    22     educational programs. It makes use of a tremendous amount of non-KDE
    23     packages. While nearly all of those packages are optional, some others are
    24     are highly recommended.</para>
    25 
    26     <para>The following list of packages should give you an overview about
    27     those packages and you may want to consider installing them first.
    28     Installing these packages will enable some useful features in the resulting
    29     <application>KDE4</application> suite. Nevertheless the dependencies are
    30     shown on each of the following pages.
    31 
    32     <itemizedlist>
    33       <listitem>
    34 
    35         <para><ulink url="http://qjson.sourceforge.net">QJSON</ulink>
    36         (http://qjson.sourceforge.net) - Qt library for handling JavaScript
    37         objects. Unfortunatly, the release version 0.7.1 is to old to compile.
    38         Alternativly use the current SVN sources or apply a patch to bring the
    39         release to a usable status.</para>
    40        
    41         <para>Compile it using <command>cmake -DCMAKE_INSTALL_PREFIX=/usr
    42         &amp;&amp; make &amp;&amp; make install</command> in its own build
    43         directory.</para>
    44      
    45       </listitem>
    46 
    47       <listitem>
    48          
    49          <para><ulink url="http://gpsd.berlios.de/">libgps</ulink>
    50          (http://gpsd.berlios.de/) - interface to GPS devices (kdeedu)</para>
    51          <para>Compile it the usual way <command>configure &amp;&amp; make
    52          &amp;&amp; make install</command>.</para>
    53      
    54       </listitem>
    55 
    56       <listitem>
    57        
    58         <para><ulink url="http://eigen.tuxfamily.org/">eigen2</ulink>
    59         (http://eigen.tuxfamily.org/) - a C++ template library for linear
    60         algebra</para>
    61        
    62         <para>Compile it using <command>cmake -DCMAKE_INSTALL_PREFIX=/usr
    63         &amp;&amp; make &amp;&amp; make install</command>.</para>
    64      
    65       </listitem>
    66       <listitem>
    67        
    68         <para><xref linkend="desktop-file-utils"/> - a few command line
    69         utilities for working with desktop entries</para>
    70      
    71       </listitem>
    72       <listitem>
    73        
    74         <para><ulink
    75         url="http://www.riverbankcomputing.com/software/sip/intro">pySIP</ulink>
    76         (http://www.riverbankcomputing.com/software/sip/intro) - Python Service
    77         Integration Platform</para>
    78        
    79         <para>Compile it <command>python ./configure &amp;&amp; make &amp;&amp;
    80         make install</command>.</para>
    81      
    82       </listitem>
    83       <listitem>
    84        
    85         <para><ulink
    86         url="http://www.riverbankcomputing.com/software/pyqt/">pyQT4</ulink>
    87         (http://www.riverbankcomputing.com/software/pyqt/) - Python interface
    88         to Qt4 (kdebindings)</para>
    89        
    90         <para>Compile it <command>python ./configure &amp;&amp; make &amp;&amp;
    91         make install</command>.</para> </listitem>
    92      
    93       <listitem>
    94      
    95         <para><xref linkend="ruby"/> - Ruby language (kdebindings)</para>
    96      
    97       </listitem>
    98       <listitem>
    99 
    100         <para><xref linkend="poppler"/> - Utility and library to show PDF files
    101         (kdegraphics)</para>
    102        
    103         <para>make sure the --enable-xpdf-headers switch is set</para>
    104      
    105       </listitem>
    106       <listitem>
    107        
    108         <para><xref linkend="libical"/> - library handling calendar entries
    109         (kdepimlibs)</para>
    110      
    111       </listitem>
    112      
    113       <listitem>
    114        
    115         <para><ulink url="http://cyberelk.net/tim/data/pycups/">pyCUPS</ulink>
    116         (http://cyberelk.net/tim/data/pycups/) - Python interface to CUPS
    117         (kdeadmin)</para>
    118        
    119         <para>Compile it with <command>make &amp;&amp; make
    120         install</command>.</para>
    121      
    122       </listitem>
    123       <listitem>
    124        
    125         <para><ulink
    126         url="http://cyberelk.net/tim/data/system-config-printer/">system-config-printer</ulink>
    127         (http://cyberelk.net/tim/data/system-config-printer/) - Printer config
    128         (kdeadmin)</para>
    129        
    130         <para>Compile it the usual way <command>configure &amp;&amp; make
    131         &amp;&amp; make install</command>.</para>
    132 
    133      
    134       </listitem>
    135       <listitem>
    136      
    137         <para><xref linkend="libidn"/> - en-/decode internationalized domain
    138         names (kdenetwork)</para>
    139      
    140       </listitem>
    141       <listitem>
    142        
    143         <para><xref linkend="polkit"/> - Policy handling (nearly all of
    144         KDE)</para>
    145      
    146       </listitem>
    147       <listitem>
    148        
    149         <para><xref linkend="consolekit"/> - Runtime dependency of
    150         polkit</para>
    151      
    152       </listitem>
    153       <listitem>
    154        
    155         <para>U-tools - udisks and upower instead of HAL</para>
    156        
    157         <para>and all of its dependencies:
    158           <xref linkend="libatasmart"/>,
    159           <xref linkend="sg3_utils"/>,
    160           <xref linkend="libffi"/>,
    161           <xref linkend="acl"/>,
    162           <xref linkend="gobject-introspection"/>,
    163           <xref linkend="udev"/>,
    164           <xref linkend="lvm2"/>,
    165           <xref linkend="parted"/> and then
    166           <xref linkend="udisks"/> and
    167           <xref linkend="upower"/>
    168         </para>
    169      
    170       </listitem>
    171       <listitem>
    172        
    173         <para><xref linkend="libiodbc"/> - iODBC library</para>
    174      
    175       </listitem>
    176      
    177       <listitem>
    178        
    179         <para><xref linkend="virtuoso"/> - a Universal Database</para>
    180      
    181       </listitem>
    182       <listitem>
    183        
    184         <para><xref linkend="exiv2"/> - Image data processing library</para>
    185      
    186       </listitem>
    187       <listitem>
    188        
    189         <para>RDF tools - Handling of RDF data</para>
    190        
    191         <para>Including: <xref linkend="raptor"/>, <xref linkend="rasqal"/> and
    192         <xref linkend="redland"/></para>
    193      
    194       </listitem>
    195       <listitem>
    196        
    197         <para><xref linkend="clucene"/> - Text search engine</para>
    198      
    199       </listitem>
    200       <listitem>
    201        
    202         <para><xref linkend="boost"/> - collection of free C++ libraries</para>
    203      
    204       </listitem>
    205       <listitem>
    206        
    207         <para><xref linkend="qca"/> - Cryptographic library for Qt
    208         platform</para>
    209      
    210       </listitem>
    211       <listitem>
    212        
    213         <para><xref linkend="libdbusmenu-qt"/> - Qt interface to D-Bus
    214         menue</para>
    215      
    216       </listitem>
    217       <listitem>
    218        
    219         <para><xref linkend="soprano"/> - object-oriented C++/Qt4 framework for
    220         RDF data</para>
    221      
    222       </listitem>
    223      
    224       <listitem>
    225        
    226         <para><xref linkend="strigi"/> - Desktop indexing engine</para>
    227      
    228       </listitem>
    229       <listitem>
    230        
    231         <para><ulink url="http://www.grantlee.org">Grantlee</ulink>
    232         (http://www.grantlee.org) - a template system for Qt</para>
    233        
    234         <para>Compile it using <command>cmake -DCMAKE_INSTALL_PREFIX=/usr
    235         &amp;&amp; make &amp;&amp; make install</command> in its own build
    236         directory.</para>
    237      
    238       </listitem>
    239     </itemizedlist>
    240     </para>
    241   </sect2>
    242 
    24318  <sect2><title>Installing in /usr</title>
    24419   
    24520    <para>One option is to put <application>KDE4</application> into the
    24621    <filename class='directory'>/usr</filename> hierarchy.  This creates a
    247     simpler setup but is more difficult to try multiple versions of
    248     <application>KDE4</application>.</para>
     22    simpler setup but makes it more difficult to try multiple versions of
     23    <application>KDE</application>.</para>
    24924
    25025<screen><userinput>export &kde4-dir-var;=/usr</userinput></screen>
     
    26439    system or personal profile:</para>
    26540
    266 <screen><userinput>cat &gt; /etc/profile.d/kde4.sh &lt;&lt;"EOF"
     41<screen><userinput>cat &gt; /etc/profile.d/kde4.sh &lt;&lt; "EOF"
    26742# Begin /etc/profile.d/kde4.sh
    26843
     
    28661
    28762<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
    288 <literal># Begin kde4 addition to /etc/ld.so.conf
     63<literal># Begin kde4 addition
    28964
    29065/opt/kde4/lib
     
    30075
    30176<screen role="root"><userinput>cat &gt;&gt; /etc/man_db.conf &lt;&lt; "EOF"
    302 <literal># Begin kde4 addition to man_db.conf
     77<literal># Begin kde4 addition
    30378
    30479MANDATORY_MANPATH /opt/kde4/man
    30580
    306 # End kde4 addition to man_db.conf</literal>
     81# End kde4 addition</literal>
    30782EOF</userinput></screen>
    30883
     
    31186    </indexterm>
    31287
     88    <para>Several KDE4 packages install files into D-BUS and polkit directories.
     89    When installing KDE4 in a location other than <filename class="directory">/usr</filename>,
     90    D-BUS and polkit need to find these files. The easiest way to achieve this is to create
     91    the following symlinks (as the <systemitem class="username">root</systemitem> user):</para>
     92
     93<screen role="root"><userinput>install -d /opt/kde4/share &amp;&amp;
     94ln -svf /usr/share/dbus-1 /opt/kde4/share &amp;&amp;
     95ln -svf /usr/share/polkit-1 /opt/kde4/share</userinput></screen>
     96   
    31397    <tip>
    314 
    31598      <para>Sometimes, the installation paths are coded into installed files.
    31699      This is the reason why <filename class="directory">/opt/kde4</filename>
     
    332115    </tip>
    333116
    334   </sect2>
    335  
     117  <!-- Moved to QT4
    336118  <sect2><title>The QT4DIR variable</title>
    337119 
     
    352134<screen><userinput>export QT4DIR=/opt/qt-&qt4-version;
    353135export PATH=$QT4DIR/bin:$PATH</userinput></screen>
    354 
     136-->
    355137  </sect2>
    356  
    357138</sect1>
  • multimedia/videoutils/mplayer.xml

    rb865548 r8d86c672  
    55  %general-entities;
    66
    7   <!ENTITY mplayer-download-http "http://www.linuxfromscratch.org/~andy/mplayer-15-03-12.tar.xz">
     7  <!ENTITY mplayer-download-http "http://anduin.linuxfromscratch.org/sources/BLFS/svn/m/mplayer-15-03-12.tar.xz">
    88  <!ENTITY mplayer-download-ftp  " ">
    99  <!ENTITY mplayer-md5sum        "775fcefab99004de09d0fae2c52dc06b">
  • postlfs/security/consolekit.xml

    rb865548 r8d86c672  
    131131
    132132    <sect3><title>Configuration Information</title>
    133 
    134       <para>See /usr/share/doc/ConsoleKit/spec/ConsoleKit.html</para>
     133   
     134      <para>If you use <application>PAM</application> you need to configure
     135      <application>PAM</application> to activate <application>ConsoleKit
     136      </application> upon user login. This can be achieved by editing the
     137      <filename>/etc/pam.d/login</filename> file as the
     138      <systemitem class="username">root</systemitem> user:</para>
     139   
     140<screen><userinput>cat &gt;&gt; /etc/pam.d/login &lt;&lt; "EOF"
     141#Begin ConsoleKit addition
     142
     143session   optional    pam_loginuid.so
     144session   optional    pam_ck_connector.so  nox11
     145
     146#End ConsoleKit addition
     147EOF</userinput></screen>
     148   
     149      <para>See /usr/share/doc/ConsoleKit/spec/ConsoleKit.html for more
     150      configuration.</para>
    135151
    136152    </sect3>
  • x/lib/qt4.xml

    rb865548 r8d86c672  
    257257      </indexterm>
    258258
    259       <para>Update the <envar>PKG_CONFIG_PATH</envar> environment variable
    260       in your <filename>~/.bash_profile</filename> or
    261       <filename>/etc/profile</filename> with the following:</para>
    262 
    263 <screen><literal>PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/qt/lib/pkgconfig</literal></screen>
    264 
    265       <para>If you want the <application>Qt4</application> executables in your
    266       shell search path, update the <envar>PATH</envar> environment variable
    267       in your <filename>~/.bash_profile</filename> or
    268       <filename>/etc/profile</filename> to include
    269       <filename class='directory'>/opt/qt/bin</filename>.</para>
    270 
     259      <para>As the <systemitem class="username">root</systemitem> user, create
     260      the <filename>/etc/profile.d/qt4.sh</filename> file:</para>
     261
     262<screen><userinput>cat &gt; /etc/profile.d/qt4.sh &lt;&lt; "EOF"
     263# Begin /etc/profile.d/qt4.sh
     264
     265QT4DIR=/opt/qt
     266QTDIR=/opt/qt
     267
     268pathappend /opt/qt/bin           PATH
     269pathappend /opt/qt/lib/pkgconfig PKG_CONFIG_PATH
     270
     271export QT4DIR QTDIR
     272
     273# End /etc/profile.d/qt4.sh
     274EOF</userinput></screen>
     275     
    271276    </sect3>
    272277  </sect2>
Note: See TracChangeset for help on using the changeset viewer.