Index: book/library-config.xml
===================================================================
--- book/library-config.xml (revision fa48bf3d6d81f5e1cb1e33936f94094791decfef)
+++ book/library-config.xml (revision fff069fee476acc52f95aa365739a844ef238588)
@@ -2,5 +2,5 @@
the library directory i.e. /opt/lib or
/usr/local/lib should appear in
-/etc/ld.so.conf so that ldd can find the shared
+/etc/ld.so.conf so that ldd can find the shared
libraries. After checking that this is the case,
/sbin/ldconfig should be run while logged in as
Index: gnome/gnome.ent
===================================================================
--- gnome/gnome.ent (revision fa48bf3d6d81f5e1cb1e33936f94094791decfef)
+++ gnome/gnome.ent (revision fff069fee476acc52f95aa365739a844ef238588)
@@ -7,73 +7,79 @@
+%gtk-doc;
+%libIDL;
+%orbit2;
+%intltool;
+%libbonobo;
+%gconf;
+%gnome-mime-data;
+%gnome-vfs;
+%libgnome;
+%libart_lgpl;
+%libglade;
+%libgnomecanvas;
+%libbonoboui;
+%gnome-icon-themes;
+%gnome-keyring;
+%libgnomeui;
+%gtk-engines;
+%gnome-themes;
+%scrollkeeper;
+%gnome-desktop;
+%libwnck;
+%gnome-panel;
+%gnome-session;
+%vte;
+%gnome-terminal;
+%libgtop;
+%gail;
+%gstreamer;
+%gst-plugins;
+%gnome-applets;
+%libgsf;
+%libcroco;
+%librsvg;
+%eel;
-%gtk-doc;
-%libIDL;
-%orbit2;
-%intltool;
-%libbonobo;
-%gconf;
-%gnome-mime-data;
-%gnome-vfs;
-%libgnome;
-%libart_lgpl;
-%libglade;
-%libgnomecanvas;
-%libbonoboui;
-%gnome-icon-themes;
-%gnome-keyring;
-%libgnomeui;
-%gtk-engines;
-%gnome-themes;
-%scrollkeeper;
-%gnome-desktop;
-%libwnck;
-%gnome-panel;
-%gnome-session;
-%vte;
-%gnome-terminal;
-%libgtop;
-%gail;
-%gstreamer;
-%gst-plugins;
-%gnome-applets;
-%libgsf;
-%libcroco;
-%librsvg;
-%eel;
%nautilus;
+
+%control-center;
+
+
+
+
@@ -102,6 +108,4 @@
-
-%control-center;
@@ -139,8 +143,4 @@
%gdm;
-
-
-
-
Index: introduction/welcome/changelog.xml
===================================================================
--- introduction/welcome/changelog.xml (revision fa48bf3d6d81f5e1cb1e33936f94094791decfef)
+++ introduction/welcome/changelog.xml (revision fff069fee476acc52f95aa365739a844ef238588)
@@ -11,4 +11,7 @@
+
+April 22nd, 2004 [igor]: Moved Qt installation to
+/usr with instructions submitted by Tushar Teredesai.April 22nd, 2004 [igor]: Added cracklib-2.7,
Index: x/lib/qt/qt-config.xml
===================================================================
--- x/lib/qt/qt-config.xml (revision fa48bf3d6d81f5e1cb1e33936f94094791decfef)
+++ x/lib/qt/qt-config.xml (revision fff069fee476acc52f95aa365739a844ef238588)
@@ -4,40 +4,7 @@
Configuration Information
-As with most libraries, there is no configuration to do, save that
-the library directory /opt/qt/lib should appear
-in /etc/ld.so.conf so that ldd can find the
-shared libraries. The following command will add it if it is missing:
-
-cat >> /etc/ld.so.conf << "EOF"
-# Begin qt addition to /etc/ld.so.conf
-
-/opt/qt/lib
-
-# End qt addition
-EOF
-ldconfig
-
-You need to add the path for the Qt man pages to the
-man.conf
-file. This can be done with the following command:
-
-cat >> /etc/man.conf << "EOF"
-# Begin qt addition to man.conf
-
-MANPATH /opt/qt/doc/man
-
-# End qt addition to man.conf
-EOF
-
-Most of the Qt based applications (such as
-KDE) require the QTDIR to be
-set during compilation. This can be achieved by the following command.
-For convenience, this command may be added to /etc/profile
-or $HOME/.bash_profile.
-
-export QTDIR=/opt/qt
+&library-config;
-
Index: x/lib/qt/qt-desc.xml
===================================================================
--- x/lib/qt/qt-desc.xml (revision fa48bf3d6d81f5e1cb1e33936f94094791decfef)
+++ x/lib/qt/qt-desc.xml (revision fff069fee476acc52f95aa365739a844ef238588)
@@ -23,6 +23,5 @@
The Qt/X11
library contains API's necessary to use
-KDE
-programs.
+programs based on Qt GUI toolkit.
Index: x/lib/qt/qt-exp.xml
===================================================================
--- x/lib/qt/qt-exp.xml (revision fa48bf3d6d81f5e1cb1e33936f94094791decfef)
+++ x/lib/qt/qt-exp.xml (revision fff069fee476acc52f95aa365739a844ef238588)
@@ -1,54 +1,51 @@
Command explanations
+
+sed -i "s:cp -f:install:" mkspecs/linux-g++/qmake.conf:
+install is safer than cp when
+libraries are in use.bash: This command enters a sub-shell to isolate
environment changes.
-export QTDIR=$PWD: This command defines where the
-root of the Qt directory is located.
-
-export LD_LIBRARY_PATH=$QTDIR/lib: This command
+export LD_LIBRARY_PATH=$PWD/lib: This command
sets up the location of libraries for the build process.
-export PATH=$QTDIR/bin:$PATH: This command
+export PATH=$PWD/bin:$PATH: This command
allows the build process to find supporting executables.
--prefix /opt/qt-&qt-version;: This command sets up
-the install destination.
-
-: This command adds support for gif
+-qt-gif: This switch adds support for gif
files to the libraries.
-: This command forces the library to use the
-shared libraries that are on your system instead of recreating its own
-set of support libraries for these functions.
+-system-zlib -system-libpng: This switch
+forces the library to use the shared libraries that are on your system
+instead of recreating its own set of support libraries for these
+functions.
-: This command disables
+-no-g++-exceptions: This switch disables
the exceptions coding generated by the C++ compiler.
-: This command compiles the library
-to support multi-threading.
+-thread: This switch adds
+support for multi-threading.
-ln -sfn qt-&qt-version; /opt/qt: This command
-standardizes the location of the Qt libraries
-to the ld.so.conf entry
-described below.
+find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g":
+This command removes hardcoded run-time path, else
+uic tries to run with system installed Qt
+libraries.
-ln -s libqt-mt.so /opt/qt/lib/libqt.so: This
+ln -s libqt-mt.so /usr/lib/libqt.so: This
command allows configure scripts
to find a working Qt installation.
-cp -r doc/man /opt/qt/doc: This command
-installs the man directory which is missed by make
+cp -r doc/man /usr/share: This command
+installs the man pages which are missed by make
install.
-cp -r examples /opt/qt/doc: This command
-installs the examples directory which is missed by make
+cp -r examples /usr/share/doc/qt: This command
+installs the examples which are missed by make
install.exit: This command returns to the parent shell
-and eliminates envirnment variables set earlier.
+and eliminates environment variables set earlier.
-
Index: x/lib/qt/qt-inst.xml
===================================================================
--- x/lib/qt/qt-inst.xml (revision fa48bf3d6d81f5e1cb1e33936f94094791decfef)
+++ x/lib/qt/qt-inst.xml (revision fff069fee476acc52f95aa365739a844ef238588)
@@ -2,17 +2,22 @@
Installation of Qt
-bash
-export QTDIR=$PWD &&
-export LD_LIBRARY_PATH=$QTDIR/lib &&
-export PATH=$QTDIR/bin:$PATH &&
-./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \
- -system-libmng -system-zlib -system-libjpeg -no-g++-exceptions \
- -thread &&
+Install Qt by running the following
+commands:
+
+sed -i "s:cp -f:install:" mkspecs/linux-g++/qmake.conf &&
+bash
+export PATH=$PWD/bin:$PATH &&
+export LD_LIBRARY_PATH=$PWD/lib &&
+./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 \
+ -sysconfdir /etc/qt -release -shared -qt-gif -system-zlib \
+ -no-g++-exceptions -thread -plugin-imgfmt-png -system-libpng &&
make &&
+find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g" &&
make install &&
-ln -sfn qt-&qt-version; /opt/qt &&
-ln -s libqt-mt.so /opt/qt/lib/libqt.so &&
-cp -r doc/man /opt/qt/doc &&
-cp -r examples /opt/qt/doc
+ln -sf libqt-mt.so /usr/lib/libqt.so &&
+cp -r doc/man /usr/share &&
+cp -r examples /usr/share/doc/qt &&
exit
@@ -27,2 +32,11 @@
+
+
Index: x/lib/qt/qt-intro.xml
===================================================================
--- x/lib/qt/qt-intro.xml (revision fa48bf3d6d81f5e1cb1e33936f94094791decfef)
+++ x/lib/qt/qt-intro.xml (revision fff069fee476acc52f95aa365739a844ef238588)
@@ -18,9 +18,18 @@
Qt dependenciesRequired
- and
-
+
+
+Optional
- and
+
+,
+,
+,
+,
+,
+,
+Firebird and
+unixODBC
+