cvs commit: BLFS/BOOK/x/lib qt.xml

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Sat May 22 23:09:58 PDT 2004


tushar      04/05/23 00:09:58

  Modified:    BOOK     index.xml
               BOOK/gnome/core/gnome-desktop gnome-desktop-intro.xml
               BOOK/gnome/core/gnome-panel gnome-panel-intro.xml
               BOOK/gnome/core/scrollkeeper scrollkeeper-exp.xml
                        scrollkeeper-inst.xml
               BOOK/introduction/welcome changelog.xml
               BOOK/kde kde-intro.xml kde.ent
               BOOK/kde/core arts.xml kdelibs.xml
               BOOK/kde/core/arts arts-exp.xml arts-inst.xml
               BOOK/x/lib qt.xml
  Log:
  Use envvar KDE_PREFIX for kde installation
  
  Revision  Changes    Path
  1.470     +3 -3      BLFS/BOOK/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/index.xml,v
  retrieving revision 1.469
  retrieving revision 1.470
  diff -u -u -r1.469 -r1.470
  --- index.xml	22 May 2004 15:18:20 -0000	1.469
  +++ index.xml	23 May 2004 06:09:58 -0000	1.470
  @@ -2,9 +2,9 @@
   <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
   	"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
   
  -<!ENTITY version "CVS-20040522">
  -<!ENTITY releasedate "May 22nd, 2004">
  -<!ENTITY pubdate "2004-05-22">
  +<!ENTITY version "CVS-20040523">
  +<!ENTITY releasedate "May 23rd, 2004">
  +<!ENTITY pubdate "2004-05-23">
   <!ENTITY blfs-version "cvs">
   
   <!ENTITY % book SYSTEM "book/book.ent">
  
  
  
  1.2       +0 -1      BLFS/BOOK/gnome/core/gnome-desktop/gnome-desktop-intro.xml
  
  Index: gnome-desktop-intro.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/gnome/core/gnome-desktop/gnome-desktop-intro.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- gnome-desktop-intro.xml	25 Apr 2004 17:08:56 -0000	1.1
  +++ gnome-desktop-intro.xml	23 May 2004 06:09:58 -0000	1.2
  @@ -29,7 +29,6 @@
   <sect4><title>Optional</title>
   <para>
   <xref linkend="startup-notification"/>
  -<!-- KDE -->
   </para></sect4>
   </sect3>
   
  
  
  
  1.3       +0 -1      BLFS/BOOK/gnome/core/gnome-panel/gnome-panel-intro.xml
  
  Index: gnome-panel-intro.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/gnome/core/gnome-panel/gnome-panel-intro.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -u -r1.2 -r1.3
  --- gnome-panel-intro.xml	28 Apr 2004 11:54:38 -0000	1.2
  +++ gnome-panel-intro.xml	23 May 2004 06:09:58 -0000	1.3
  @@ -28,7 +28,6 @@
   <xref linkend="startup-notification"/>,
   <xref linkend="gtk-doc"/> and
   <ulink url="http://ftp.gnome.org/pub/GNOME/sources/evolution-data-server/">evolution-data-server</ulink>
  -<!-- KDE -->
   </para></sect4>
   </sect3>
   
  
  
  
  1.2       +1 -1      BLFS/BOOK/gnome/core/scrollkeeper/scrollkeeper-exp.xml
  
  Index: scrollkeeper-exp.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/gnome/core/scrollkeeper/scrollkeeper-exp.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- scrollkeeper-exp.xml	25 Apr 2004 17:09:00 -0000	1.1
  +++ scrollkeeper-exp.xml	23 May 2004 06:09:58 -0000	1.2
  @@ -11,7 +11,7 @@
   <para><option>--disable-static</option>: This switch prevents
   the static library from being built.</para>
   
  -<para><parameter>--omfdirs=/usr/share/omf:/opt/gnome/share/omf:/opt/kde/share/omf:/opt/gnome-&gnome-version;/share/omf</parameter>:
  +<para><parameter>--omfdirs=/usr/share/omf:/opt/kde-&kde-version;/share/omf:/opt/gnome-&gnome-version;/share/omf</parameter>:
   This switch sets all the locations for <filename>OMF</filename> files for scrollkeeper.</para>
   </sect2>
   
  
  
  
  1.2       +1 -1      BLFS/BOOK/gnome/core/scrollkeeper/scrollkeeper-inst.xml
  
  Index: scrollkeeper-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/gnome/core/scrollkeeper/scrollkeeper-inst.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- scrollkeeper-inst.xml	25 Apr 2004 17:09:00 -0000	1.1
  +++ scrollkeeper-inst.xml	23 May 2004 06:09:58 -0000	1.2
  @@ -6,7 +6,7 @@
   <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \
       --localstatedir=/var --disable-static \
       --with-omfdirs=/usr/share/omf:/opt/gnome/share/omf:\
  -/opt/kde/share/omf:/opt/gnome-&gnome-version;/share/omf &&
  +/opt/kde-&kde-version;/share/omf:/opt/gnome-&gnome-version;/share/omf &&
   make &&
   make install</command></userinput></screen>
   
  
  
  
  1.1156    +4 -0      BLFS/BOOK/introduction/welcome/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/introduction/welcome/changelog.xml,v
  retrieving revision 1.1155
  retrieving revision 1.1156
  diff -u -u -r1.1155 -r1.1156
  --- changelog.xml	19 May 2004 21:29:23 -0000	1.1155
  +++ changelog.xml	23 May 2004 06:09:58 -0000	1.1156
  @@ -11,6 +11,10 @@
   
   <itemizedlist>
   
  +<listitem><para>May 23rd, 2004 [tushar]: Use envvar KDE_PREFIX
  +to allow the user to install KDE into /usr or /opt. Closes Bug
  +760.</para></listitem>
  +
   <listitem><para>May 19th, 2004 [igor]: Added winbind boot script,
   submitted by DJ Lucas.</para></listitem>
   
  
  
  
  1.11      +61 -14    BLFS/BOOK/kde/kde-intro.xml
  
  Index: kde-intro.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/kde/kde-intro.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -u -r1.10 -r1.11
  --- kde-intro.xml	25 Jan 2004 00:56:23 -0000	1.10
  +++ kde-intro.xml	23 May 2004 06:09:58 -0000	1.11
  @@ -12,19 +12,66 @@
   presents additional packages which provide functionality in various areas
   (multimedia, graphics etc).</para> 
   
  -<para>As the instructions for compiling and installing <acronym>KDE</acronym> were developed,
  -the options to <command>configure</command> were examined and the parameters
  -presented are the most likely to compile correctly. In each of the packages,
  -one other option to <command>configure</command> can be added: 
  -<parameter>--enable-final</parameter>. This option can speed up the build 
  -process, but requires a lot of memory. If you have less than 256MB of RAM, 
  -this option may cause swapping and significantly slow compilation.</para>
  -
   <para><acronym>KDE</acronym> also has many internationalization packages in the form of:
   <filename>kde-i18n-xx-&kde-version;.tar.bz2</filename>
   where the xx is a two to five letter code for the country covered. We
   do not cover the installation of these packages here.</para>
   
  +<para>There are two alternatives for installing <acronym>KDE</acronym>. Option one, that
  +is used by most of the commercial distributions, is to
  +install <acronym>KDE</acronym> in the standard system prefix: <filename>/usr</filename>.
  +This option allows the use of KDE without the need for any additional configuration such
  +as modification of various environment variables or configuration files. Option two is
  +to install it in a unique prefix such as <filename>/opt/kde</filename> or
  +<filename>/opt/kde-&kde-version;</filename>. This option allows for easy removal of
  +the package.</para>
  +
  +<para>Based on your preference, set <envar>KDE_PREFIX</envar>.</para>
  +<para>If <application><acronym>KDE</acronym></application> is your desktop of choice:</para>
  +<screen><userinput><command>export KDE_PREFIX=/usr</command></userinput></screen>
  +<para>If you want to try-out <application><acronym>KDE</acronym></application>:</para>
  +<screen><userinput><command>export KDE_PREFIX=/opt/kde-&kde-version;</command></userinput></screen>
  +
  +<para>Remember to execute <command>ldconfig</command> after installation of libraries to
  +update the library cache.</para>
  +
  +<para>If you are not installing <acronym>KDE</acronym> in <filename>/usr</filename> you will need to make some
  +configuration changes:</para>
  +
  +<para>Add to your system or personal profile:</para>
  +
  +<screen><userinput><command>export PATH=$PATH:/opt/kde-&kde-version;/bin
  +export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/kde-&kde-version;/lib/pkgconfig</command></userinput></screen>
  +
  +<para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
  +
  +<screen><userinput><command>cat >> /etc/ld.so.conf << "EOF"</command>
  +# Begin kde addition to /etc/ld.so.conf
  +
  +/opt/kde-&kde-version;/lib
  +
  +# End kde addition
  +<command>EOF</command></userinput></screen>
  +
  +<para>Add to your <filename>/etc/man.conf</filename>:</para>
  +
  +<screen><userinput><command>cat >> /etc/man.conf << "EOF"</command>
  +# Begin kde addition to man.conf
  +
  +MANPATH /opt/kde-&kde-version;/man
  +
  +# End kde addition to man.conf
  +<command>EOF</command></userinput></screen>
  +
  +<tip>
  +<para>If you prefer installing <acronym>KDE</acronym> in <filename>/opt</filename>
  +one trick to avoid the above configuration changes is to replace <filename>/opt/kde-&kde-version;</filename>
  +with <filename>/opt/kde</filename> and to create a symlink from <filename>/opt/kde-&kde-version;</filename>
  +to <filename>/opt/kde</filename>.</para>
  +<screen><userinput><command>ln -sf &kde-version; /opt/kde</command></userinput></screen>
  +</tip>
  +
  +<tip>
   <para>All the <acronym>KDE</acronym> packages are comprised of various components. 
   The default is to
   install most of the components. If specific components are to be eliminated, the
  @@ -38,12 +85,12 @@
   <para>The core <acronym>KDE</acronym> packages also honor this variable, but omitting components
   from the core packages is not advisable since it may result in an
   incomplete <acronym>KDE</acronym> installation.</para>
  +</tip>
   
  -<note><para><acronym>KDE</acronym> is a large and complicated set of packages.  In
  -some cases, users have found fixes that have not made it into the official KDE
  -sources yet.  If you have a problem with a specific application, take a look at
  -the patches in <filename>http://www.linuxfromscratch.org/patches/downloads/kde*</filename>.
  -The current patches will have the version number, &kde-version;, as a part of their 
  -filename.</para></note>
  +<note><para>In each of the packages,
  +one other option to <command>configure</command> can be added: 
  +<parameter>--enable-final</parameter>. This option can speed up the build 
  +process, but requires a lot of memory. If you have less than 256MB of RAM, 
  +this option may cause swapping and significantly slow compilation.</para></note>
   
   </partintro>
  
  
  
  1.22      +4 -1      BLFS/BOOK/kde/kde.ent
  
  Index: kde.ent
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/kde/kde.ent,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -u -r1.21 -r1.22
  --- kde.ent	20 May 2004 14:40:59 -0000	1.21
  +++ kde.ent	23 May 2004 06:09:58 -0000	1.22
  @@ -4,7 +4,10 @@
   <!ENTITY kde-dldir "&kde-version;">
   <!ENTITY kde-download-http "http://mirrors.isc.org/pub/kde/stable/&kde-dldir;/src">
   <!ENTITY kde-download-ftp "ftp://ftp.kde.org/pub/kde/stable/&kde-dldir;/src">
  -<!ENTITY kde-dir "/opt/kde-&kde-version;">
  +<!ENTITY kde-dir "$KDE_PREFIX">
  +
  +<!-- KDE Intro -->
  +<!ENTITY kde-intro SYSTEM "kde-intro.xml">
   
   <!-- KDE Core Packages -->
   <!ENTITY kde-core SYSTEM "core/core.xml">
  
  
  
  1.19      +0 -1      BLFS/BOOK/kde/core/arts.xml
  
  Index: arts.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/kde/core/arts.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -u -r1.18 -r1.19
  --- arts.xml	20 May 2004 14:41:00 -0000	1.18
  +++ arts.xml	23 May 2004 06:09:58 -0000	1.19
  @@ -5,6 +5,5 @@
   &arts-intro;
   &arts-inst;
   &arts-exp;
  -&arts-config;
   
   </sect1>
  
  
  
  1.2       +0 -1      BLFS/BOOK/kde/core/kdelibs.xml
  
  Index: kdelibs.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/kde/core/kdelibs.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- kdelibs.xml	20 May 2004 14:41:00 -0000	1.1
  +++ kdelibs.xml	23 May 2004 06:09:58 -0000	1.2
  @@ -5,7 +5,6 @@
   &kdelibs-intro;
   &kdelibs-inst;
   &kdelibs-exp;
  -&kdelibs-config;
   &kdelibs-desc;
   
   </sect1>
  
  
  
  1.4       +0 -9      BLFS/BOOK/kde/core/arts/arts-exp.xml
  
  Index: arts-exp.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/kde/core/arts/arts-exp.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -u -r1.3 -r1.4
  --- arts-exp.xml	20 May 2004 14:41:00 -0000	1.3
  +++ arts-exp.xml	23 May 2004 06:09:58 -0000	1.4
  @@ -12,13 +12,4 @@
   speeds
   up one time builds.</para>
   
  -<para><command>ln -sfn kde-&kde-version; /opt/kde</command> : This
  -parameter creates
  -a link for access to <acronym>KDE</acronym>. If a newer version of
  -<acronym>KDE</acronym> is released, the new
  -system can be built by changing the <parameter>--prefix</parameter>
  -location
  -and then set up by changing the link as this parameter does.
  -</para>
  -
   </sect2>
  
  
  
  1.4       +1 -9      BLFS/BOOK/kde/core/arts/arts-inst.xml
  
  Index: arts-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/kde/core/arts/arts-inst.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -u -r1.3 -r1.4
  --- arts-inst.xml	20 May 2004 14:41:00 -0000	1.3
  +++ arts-inst.xml	23 May 2004 06:09:58 -0000	1.4
  @@ -7,14 +7,6 @@
   <screen><userinput><command>./configure --prefix=&kde-dir; --disable-debug \
       --disable-dependency-tracking &&
   make &&
  -make install &&
  -ln -sfn kde-&kde-version; /opt/kde</command></userinput></screen>
  -
  -<note><para>Another configure option is
  -<parameter>--enable-final</parameter>.
  -This option can speed up the build process, but requires a lot of
  -memory.  If
  -you have less than 256MB of RAM, this option may cause swapping and
  -significantly slow compilation.</para></note>
  +make install</command></userinput></screen>
   
   </sect2>
  
  
  
  1.7       +10 -4     BLFS/BOOK/x/lib/qt.xml
  
  Index: qt.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/x/lib/qt.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -u -r1.6 -r1.7
  --- qt.xml	8 May 2004 06:47:16 -0000	1.6
  +++ qt.xml	23 May 2004 06:09:58 -0000	1.7
  @@ -73,7 +73,7 @@
   <screen><userinput><command>sed -i "s:cp -f:install:" mkspecs/linux-g++/qmake.conf &&
   bash
   export PATH=$PWD/bin:$PATH &&
  -export LD_LIBRARY_PATH=$PWD/lib &&
  +export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH &&
   ./configure -prefix /usr -docdir /usr/share/doc/qt \
       -headerdir /usr/include/qt -plugindir /usr/lib/qt/plugins \
       -datadir /usr/share/qt -translationdir /usr/share/qt/translations \
  @@ -106,7 +106,7 @@
   
   <screen><userinput><command>bash
   export QTDIR=$PWD &&
  -export LD_LIBRARY_PATH=$PWD/lib &&
  +export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH &&
   export PATH=$PWD/bin:$PATH &&
   ./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \
      -system-libmng -system-zlib -system-libjpeg -no-exceptions \
  @@ -142,6 +142,12 @@
   
   # End qt addition to man.conf
   EOF</command></userinput></screen>
  +
  +<para>Also, <envar>QTDIR</envar> needs to be set when compiling packages that depend on Qt.
  +Add the following so that it is available when compiling packages.</para>
  +
  +<screen><userinput>export QTDIR=/opt/qt</userinput></screen>
  +
   </sect4>
   </sect3>
   </sect2>
  @@ -159,8 +165,8 @@
   <para><command>export QTDIR=$PWD</command>: This command 
   defines where the root of the Qt directory is located.</para>
   
  -<para><command>export LD_LIBRARY_PATH=$PWD/lib</command>: This command 
  -sets up the location of libraries for the build process.</para>
  +<para><command>export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH</command>: This command 
  +allows the not yet installed qt libraries to be used by the not yet installed qt programs.</para>
   
   <para><command>export PATH=$PWD/bin:$PATH</command>: This command 
   allows the build process to find supporting executables.</para>
  
  
  



More information about the blfs-book mailing list