Changeset 2dae8b3


Ignore:
Timestamp:
05/23/2004 06:09:58 AM (20 years ago)
Author:
Tushar Teredesai <tushar@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
9545a9c2
Parents:
48d4c920
Message:

Use envvar KDE_PREFIX for kde installation

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

Files:
13 edited

Legend:

Unmodified
Added
Removed
  • gnome/core/gnome-desktop/gnome-desktop-intro.xml

    r48d4c920 r2dae8b3  
    3030<para>
    3131<xref linkend="startup-notification"/>
    32 <!-- KDE -->
    3332</para></sect4>
    3433</sect3>
  • gnome/core/gnome-panel/gnome-panel-intro.xml

    r48d4c920 r2dae8b3  
    2929<xref linkend="gtk-doc"/> and
    3030<ulink url="http://ftp.gnome.org/pub/GNOME/sources/evolution-data-server/">evolution-data-server</ulink>
    31 <!-- KDE -->
    3231</para></sect4>
    3332</sect3>
  • gnome/core/scrollkeeper/scrollkeeper-exp.xml

    r48d4c920 r2dae8b3  
    1212the static library from being built.</para>
    1313
    14 <para><parameter>--omfdirs=/usr/share/omf:/opt/gnome/share/omf:/opt/kde/share/omf:/opt/gnome-&gnome-version;/share/omf</parameter>:
     14<para><parameter>--omfdirs=/usr/share/omf:/opt/kde-&kde-version;/share/omf:/opt/gnome-&gnome-version;/share/omf</parameter>:
    1515This switch sets all the locations for <filename>OMF</filename> files for scrollkeeper.</para>
    1616</sect2>
  • gnome/core/scrollkeeper/scrollkeeper-inst.xml

    r48d4c920 r2dae8b3  
    77    --localstatedir=/var --disable-static \
    88    --with-omfdirs=/usr/share/omf:/opt/gnome/share/omf:\
    9 /opt/kde/share/omf:/opt/gnome-&gnome-version;/share/omf &amp;&amp;
     9/opt/kde-&kde-version;/share/omf:/opt/gnome-&gnome-version;/share/omf &amp;&amp;
    1010make &amp;&amp;
    1111make install</command></userinput></screen>
  • index.xml

    r48d4c920 r2dae8b3  
    33        "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
    44
    5 <!ENTITY version "CVS-20040522">
    6 <!ENTITY releasedate "May 22nd, 2004">
    7 <!ENTITY pubdate "2004-05-22">
     5<!ENTITY version "CVS-20040523">
     6<!ENTITY releasedate "May 23rd, 2004">
     7<!ENTITY pubdate "2004-05-23">
    88<!ENTITY blfs-version "cvs">
    99
  • introduction/welcome/changelog.xml

    r48d4c920 r2dae8b3  
    1111
    1212<itemizedlist>
     13
     14<listitem><para>May 23rd, 2004 [tushar]: Use envvar KDE_PREFIX
     15to allow the user to install KDE into /usr or /opt. Closes Bug
     16760.</para></listitem>
    1317
    1418<listitem><para>May 19th, 2004 [igor]: Added winbind boot script,
  • kde/core/arts.xml

    r48d4c920 r2dae8b3  
    66&arts-inst;
    77&arts-exp;
    8 &arts-config;
    98
    109</sect1>
  • kde/core/arts/arts-exp.xml

    r48d4c920 r2dae8b3  
    1313up one time builds.</para>
    1414
    15 <para><command>ln -sfn kde-&kde-version; /opt/kde</command> : This
    16 parameter creates
    17 a link for access to <acronym>KDE</acronym>. If a newer version of
    18 <acronym>KDE</acronym> is released, the new
    19 system can be built by changing the <parameter>--prefix</parameter>
    20 location
    21 and then set up by changing the link as this parameter does.
    22 </para>
    23 
    2415</sect2>
  • kde/core/arts/arts-inst.xml

    r48d4c920 r2dae8b3  
    88    --disable-dependency-tracking &amp;&amp;
    99make &amp;&amp;
    10 make install &amp;&amp;
    11 ln -sfn kde-&kde-version; /opt/kde</command></userinput></screen>
    12 
    13 <note><para>Another configure option is
    14 <parameter>--enable-final</parameter>.
    15 This option can speed up the build process, but requires a lot of
    16 memory.  If
    17 you have less than 256MB of RAM, this option may cause swapping and
    18 significantly slow compilation.</para></note>
     10make install</command></userinput></screen>
    1911
    2012</sect2>
  • kde/core/kdelibs.xml

    r48d4c920 r2dae8b3  
    66&kdelibs-inst;
    77&kdelibs-exp;
    8 &kdelibs-config;
    98&kdelibs-desc;
    109
  • kde/kde-intro.xml

    r48d4c920 r2dae8b3  
    1313(multimedia, graphics etc).</para>
    1414
    15 <para>As the instructions for compiling and installing <acronym>KDE</acronym> were developed,
    16 the options to <command>configure</command> were examined and the parameters
    17 presented are the most likely to compile correctly. In each of the packages,
    18 one other option to <command>configure</command> can be added:
    19 <parameter>--enable-final</parameter>. This option can speed up the build
    20 process, but requires a lot of memory. If you have less than 256MB of RAM,
    21 this option may cause swapping and significantly slow compilation.</para>
    22 
    2315<para><acronym>KDE</acronym> also has many internationalization packages in the form of:
    2416<filename>kde-i18n-xx-&kde-version;.tar.bz2</filename>
     
    2618do not cover the installation of these packages here.</para>
    2719
     20<para>There are two alternatives for installing <acronym>KDE</acronym>. Option one, that
     21is used by most of the commercial distributions, is to
     22install <acronym>KDE</acronym> in the standard system prefix: <filename>/usr</filename>.
     23This option allows the use of KDE without the need for any additional configuration such
     24as modification of various environment variables or configuration files. Option two is
     25to install it in a unique prefix such as <filename>/opt/kde</filename> or
     26<filename>/opt/kde-&kde-version;</filename>. This option allows for easy removal of
     27the package.</para>
     28
     29<para>Based on your preference, set <envar>KDE_PREFIX</envar>.</para>
     30<para>If <application><acronym>KDE</acronym></application> is your desktop of choice:</para>
     31<screen><userinput><command>export KDE_PREFIX=/usr</command></userinput></screen>
     32<para>If you want to try-out <application><acronym>KDE</acronym></application>:</para>
     33<screen><userinput><command>export KDE_PREFIX=/opt/kde-&kde-version;</command></userinput></screen>
     34
     35<para>Remember to execute <command>ldconfig</command> after installation of libraries to
     36update the library cache.</para>
     37
     38<para>If you are not installing <acronym>KDE</acronym> in <filename>/usr</filename> you will need to make some
     39configuration changes:</para>
     40
     41<para>Add to your system or personal profile:</para>
     42
     43<screen><userinput><command>export PATH=$PATH:/opt/kde-&kde-version;/bin
     44export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/kde-&kde-version;/lib/pkgconfig</command></userinput></screen>
     45
     46<para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
     47
     48<screen><userinput><command>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"</command>
     49# Begin kde addition to /etc/ld.so.conf
     50
     51/opt/kde-&kde-version;/lib
     52
     53# End kde addition
     54<command>EOF</command></userinput></screen>
     55
     56<para>Add to your <filename>/etc/man.conf</filename>:</para>
     57
     58<screen><userinput><command>cat &gt;&gt; /etc/man.conf &lt;&lt; "EOF"</command>
     59# Begin kde addition to man.conf
     60
     61MANPATH /opt/kde-&kde-version;/man
     62
     63# End kde addition to man.conf
     64<command>EOF</command></userinput></screen>
     65
     66<tip>
     67<para>If you prefer installing <acronym>KDE</acronym> in <filename>/opt</filename>
     68one trick to avoid the above configuration changes is to replace <filename>/opt/kde-&kde-version;</filename>
     69with <filename>/opt/kde</filename> and to create a symlink from <filename>/opt/kde-&kde-version;</filename>
     70to <filename>/opt/kde</filename>.</para>
     71<screen><userinput><command>ln -sf &kde-version; /opt/kde</command></userinput></screen>
     72</tip>
     73
     74<tip>
    2875<para>All the <acronym>KDE</acronym> packages are comprised of various components.
    2976The default is to
     
    3986from the core packages is not advisable since it may result in an
    4087incomplete <acronym>KDE</acronym> installation.</para>
     88</tip>
    4189
    42 <note><para><acronym>KDE</acronym> is a large and complicated set of packages.  In
    43 some cases, users have found fixes that have not made it into the official KDE
    44 sources yet.  If you have a problem with a specific application, take a look at
    45 the patches in <filename>http://www.linuxfromscratch.org/patches/downloads/kde*</filename>.
    46 The current patches will have the version number, &kde-version;, as a part of their
    47 filename.</para></note>
     90<note><para>In each of the packages,
     91one other option to <command>configure</command> can be added:
     92<parameter>--enable-final</parameter>. This option can speed up the build
     93process, but requires a lot of memory. If you have less than 256MB of RAM,
     94this option may cause swapping and significantly slow compilation.</para></note>
    4895
    4996</partintro>
  • kde/kde.ent

    r48d4c920 r2dae8b3  
    55<!ENTITY kde-download-http "http://mirrors.isc.org/pub/kde/stable/&kde-dldir;/src">
    66<!ENTITY kde-download-ftp "ftp://ftp.kde.org/pub/kde/stable/&kde-dldir;/src">
    7 <!ENTITY kde-dir "/opt/kde-&kde-version;">
     7<!ENTITY kde-dir "$KDE_PREFIX">
     8
     9<!-- KDE Intro -->
     10<!ENTITY kde-intro SYSTEM "kde-intro.xml">
    811
    912<!-- KDE Core Packages -->
  • x/lib/qt.xml

    r48d4c920 r2dae8b3  
    7474bash
    7575export PATH=$PWD/bin:$PATH &amp;&amp;
    76 export LD_LIBRARY_PATH=$PWD/lib &amp;&amp;
     76export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH &amp;&amp;
    7777./configure -prefix /usr -docdir /usr/share/doc/qt \
    7878    -headerdir /usr/include/qt -plugindir /usr/lib/qt/plugins \
     
    107107<screen><userinput><command>bash
    108108export QTDIR=$PWD &amp;&amp;
    109 export LD_LIBRARY_PATH=$PWD/lib &amp;&amp;
     109export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH &amp;&amp;
    110110export PATH=$PWD/bin:$PATH &amp;&amp;
    111111./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \
     
    143143# End qt addition to man.conf
    144144EOF</command></userinput></screen>
     145
     146<para>Also, <envar>QTDIR</envar> needs to be set when compiling packages that depend on Qt.
     147Add the following so that it is available when compiling packages.</para>
     148
     149<screen><userinput>export QTDIR=/opt/qt</userinput></screen>
     150
    145151</sect4>
    146152</sect3>
     
    160166defines where the root of the Qt directory is located.</para>
    161167
    162 <para><command>export LD_LIBRARY_PATH=$PWD/lib</command>: This command
    163 sets up the location of libraries for the build process.</para>
     168<para><command>export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH</command>: This command
     169allows the not yet installed qt libraries to be used by the not yet installed qt programs.</para>
    164170
    165171<para><command>export PATH=$PWD/bin:$PATH</command>: This command
Note: See TracChangeset for help on using the changeset viewer.