Ignore:
Timestamp:
07/14/2012 10:38:15 AM (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:
5ef6186
Parents:
f342c0a9
Message:

Phonon-backen-gstreamer 4.6.1. Several KDE infrastructure changes.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kde4/intro/pre-install-config.xml

    rf342c0a9 r2cfb44a4  
    3232    class='directory'>/opt</filename> hierarchy:</para>
    3333
    34 <screen><userinput>export &kde-dir-var;=/opt/kde4</userinput></screen>
     34<screen><userinput>export &kde-dir-var;=/opt/kde</userinput></screen>
    3535
    3636    <para>If you are not installing <application>KDE</application> in
     
    3939    system or personal profile:</para>
    4040
    41 <screen><userinput>cat &gt; /etc/profile.d/kde4.sh &lt;&lt; "EOF"
    42 # Begin /etc/profile.d/kde4.sh
     41<screen><userinput>cat &gt; /etc/profile.d/kde.sh &lt;&lt; "EOF"
     42# Begin /etc/profile.d/kde.sh
    4343
    44 &kde-dir-var;=/opt/kde4
    45 KDE4DIR=&kde-dir;
     44&kde-dir-var;=/opt/kde
    4645KDEDIR=&kde-dir;
    4746
     
    5049pathappend &kde-dir;/share/pkgconfig PKG_CONFIG_PATH
    5150pathappend &kde-dir;/share           XDG_DATA_DIRS
    52 pathappend /etc/kde4/xdg                XDG_CONFIG_DIRS
     51pathappend /etc/kde/xdg                XDG_CONFIG_DIRS
    5352
    54 export KDE4_PREFIX KDE4DIR KDEDIR
     53export &kde-dir-var; KDEDIR
    5554
    56 # End /etc/profile.d/kde4.sh
     55# End /etc/profile.d/kde.sh
    5756EOF
    5857</userinput></screen>
     
    6160
    6261<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
    63 <literal># Begin kde4 addition
     62<literal># Begin kde addition
    6463
    65 /opt/kde4/lib
     64/opt/kde/lib
    6665
    67 # End kde4 addition</literal>
     66# End kde addition</literal>
    6867EOF</userinput></screen>
    6968
    7069    <indexterm zone="kde-pre-install-config">
    7170      <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
    72     </indexterm>
    73 
    74     <para>Add to your <filename>/etc/man_db.conf</filename>:</para>
    75 
    76 <screen role="root"><userinput>cat &gt;&gt; /etc/man_db.conf &lt;&lt; "EOF"
    77 <literal># Begin kde4 addition
    78 
    79 MANDATORY_MANPATH /opt/kde4/man
    80 
    81 # End kde4 addition</literal>
    82 EOF</userinput></screen>
    83 
    84     <indexterm zone="kde-pre-install-config">
    85       <primary sortas="e-etc-man_db.conf">/etc/man_db.conf</primary>
    8671    </indexterm>
    8772
     
    9176    the following symlinks (as the <systemitem class="username">root</systemitem> user):</para>
    9277
    93 <screen role="root"><userinput>install -d /opt/kde4/share &amp;&amp;
    94 ln -svf /usr/share/dbus-1 /opt/kde4/share &amp;&amp;
    95 ln -svf /usr/share/polkit-1 /opt/kde4/share</userinput></screen>
     78<screen role="root"><userinput>install -d &kde-dir;/share &amp;&amp;
     79ln -svf /usr/share/dbus-1 &kde-dir;/share &amp;&amp;
     80ln -svf /usr/share/polkit-1 &kde-dir;/share</userinput></screen>
    9681   
    9782    <para>D-Bus also needs to find the configuration files for the system-wide
    9883    bus, which, if you follow the books instructions, are installed in
    99     <filename class="directory">/etc/kde4/dbus-1/system.d</filename>.
     84    <filename class="directory">/etc/kde/dbus-1/system.d</filename>.
    10085    Fix this by issuing the following (as
    10186    <systemitem class="username">root</systemitem>):</para>
     
    10893&lt;busconfig&gt;
    10994
    110   &lt;includedir&gt;/etc/kde4/dbus-1/system.d&lt;/includedir&gt;
     95  &lt;includedir&gt;/etc/kde/dbus-1/system.d&lt;/includedir&gt;
    11196
    11297&lt;/busconfig&gt;</literal>
     
    115100    <tip>
    116101      <para>Sometimes, the installation paths are coded into installed files.
    117       This is the reason why <filename class="directory">/opt/kde4</filename>
     102      This is the reason why <filename class="directory">/opt/kde</filename>
    118103      is used as installation prefix instead of <filename
    119104      class="directory">/opt/kde-&kde-version;</filename>.  After installing
    120       <application>KDE4</application>, you may rename the directory and create
     105      <application>KDE</application>, you may rename the directory and create
    121106      a symlink:</para>
    122107
    123 <screen role="root"><userinput>mv /opt/kde{4,-&kde-version;} &amp;&amp;
    124 ln -svf kde-&kde-version; /opt/kde4</userinput></screen>
     108<screen role="root"><userinput>mv /opt/kde{,-&kde-version;} &amp;&amp;
     109ln -svf kde-&kde-version; /opt/kde</userinput></screen>
    125110
    126111      <para>Later on, you may want to install other versions of
    127112      <application>KDE</application>.  To do that, just remove the symlink and
    128       use <filename class="directory">/opt/kde4</filename> as the prefix again
     113      use <filename class="directory">/opt/kde</filename> as the prefix again
    129114      (<application>KDE</application> must not be started). Which version of
    130115      <application>KDE</application> you use depends only on where the symlink
Note: See TracChangeset for help on using the changeset viewer.