Changeset fff069f


Ignore:
Timestamp:
04/22/2004 09:35:36 PM (20 years ago)
Author:
Igor Živković <igor@…>
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:
9f39870
Parents:
fa48bf3
Message:

moved qt to /usr

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

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • book/library-config.xml

    rfa48bf3 rfff069f  
    22the library directory i.e. <filename class="directory">/opt/lib</filename> or
    33<filename class="directory">/usr/local/lib</filename> should appear in
    4 <filename>/etc/ld.so.conf</filename> so that ldd can find the shared
     4<filename>/etc/ld.so.conf</filename> so that <command>ldd</command> can find the shared
    55libraries.  After checking that this is the case,
    66<command>/sbin/ldconfig</command> should be run while logged in as
  • gnome/gnome.ent

    rfa48bf3 rfff069f  
    77<!ENTITY gnome-lib-config SYSTEM "lib/lib-config.xml">
    88<!ENTITY % gtk-doc SYSTEM "lib/gtk-doc/gtk-doc.ent">
     9%gtk-doc;
    910<!ENTITY % libIDL SYSTEM "lib/libidl/libidl.ent">
     11%libIDL;
    1012<!ENTITY % orbit2 SYSTEM "lib/orbit/orbit2.ent">
     13%orbit2;
    1114<!ENTITY % intltool SYSTEM "lib/intltool/intltool.ent">
     15%intltool;
    1216<!ENTITY % libbonobo SYSTEM "lib/libbonobo/libbonobo.ent">
     17%libbonobo;
    1318<!ENTITY % gconf SYSTEM "lib/gconf/gconf.ent">
     19%gconf;
    1420<!ENTITY % gnome-mime-data SYSTEM "lib/gnome-mime-data/gnome-mime-data.ent">
     21%gnome-mime-data;
    1522<!ENTITY % gnome-vfs SYSTEM "lib/gnome-vfs/gnome-vfs.ent">
     23%gnome-vfs;
    1624<!ENTITY % libgnome SYSTEM "lib/libgnome/libgnome.ent">
     25%libgnome;
    1726<!ENTITY % libart_lgpl SYSTEM "lib/libart_lgpl/libart_lgpl.ent">
     27%libart_lgpl;
    1828<!ENTITY % libglade SYSTEM "lib/libglade/libglade.ent">
     29%libglade;
    1930<!ENTITY % libgnomecanvas SYSTEM "lib/libgnomecanvas/libgnomecanvas.ent">
     31%libgnomecanvas;
    2032<!ENTITY % libbonoboui SYSTEM "lib/libbonoboui/libbonoboui.ent">
     33%libbonoboui;
    2134<!ENTITY % gnome-icon-themes SYSTEM "lib/gnome-icon-themes/gnome-icon-themes.ent">
     35%gnome-icon-themes;
    2236<!ENTITY % gnome-keyring SYSTEM "lib/gnome-keyring/gnome-keyring.ent">
     37%gnome-keyring;
    2338<!ENTITY % libgnomeui SYSTEM "lib/libgnomeui/libgnomeui.ent">
     39%libgnomeui;
    2440<!ENTITY % gtk-engines SYSTEM "lib/gtk-engines/gtk-engines.ent">
     41%gtk-engines;
    2542<!ENTITY % gnome-themes SYSTEM "lib/themes/gnome-themes.ent">
     43%gnome-themes;
    2644<!ENTITY % scrollkeeper SYSTEM "lib/scrollkeeper/scrollkeeper.ent">
     45%scrollkeeper;
    2746<!ENTITY % gnome-desktop SYSTEM "lib/gnome-desktop/gnome-desktop.ent">
     47%gnome-desktop;
    2848<!ENTITY % libwnck SYSTEM "lib/libwnck/libwnck.ent">
     49%libwnck;
    2950<!ENTITY % gnome-panel SYSTEM "lib/gnome-panel/gnome-panel.ent">
     51%gnome-panel;
    3052<!ENTITY % gnome-session SYSTEM "lib/gnome-session/gnome-session.ent">
     53%gnome-session;
    3154<!ENTITY % vte SYSTEM "lib/vte/vte.ent">
     55%vte;
    3256<!ENTITY % gnome-terminal SYSTEM "add/terminal/gnome-terminal.ent">
     57%gnome-terminal;
    3358<!ENTITY % libgtop SYSTEM "lib/libgtop/libgtop.ent">
     59%libgtop;
    3460<!ENTITY % gail SYSTEM "lib/gail/gail.ent">
     61%gail;
    3562<!ENTITY % gstreamer SYSTEM "add/gstreamer/gstreamer.ent">
     63%gstreamer;
    3664<!ENTITY % gst-plugins SYSTEM "add/gst-plugins/gst-plugins.ent">
     65%gst-plugins;
    3766<!ENTITY % gnome-applets SYSTEM "add/applets/gnome-applets.ent">
     67%gnome-applets;
    3868<!ENTITY % libgsf SYSTEM "lib/libgsf/libgsf.ent">
     69%libgsf;
    3970<!ENTITY % libcroco SYSTEM "lib/libcroco/libcroco.ent">
     71%libcroco;
    4072<!ENTITY % librsvg SYSTEM "lib/librsvg/librsvg.ent">
     73%librsvg;
    4174<!ENTITY % eel SYSTEM "lib/eel/eel.ent">
     75%eel;
    4276<!ENTITY % nautilus SYSTEM "add/nautilus/nautilus.ent">
    43 %gtk-doc;
    44 %libIDL;
    45 %orbit2;
    46 %intltool;
    47 %libbonobo;
    48 %gconf;
    49 %gnome-mime-data;
    50 %gnome-vfs;
    51 %libgnome;
    52 %libart_lgpl;
    53 %libglade;
    54 %libgnomecanvas;
    55 %libbonoboui;
    56 %gnome-icon-themes;
    57 %gnome-keyring;
    58 %libgnomeui;
    59 %gtk-engines;
    60 %gnome-themes;
    61 %scrollkeeper;
    62 %gnome-desktop;
    63 %libwnck;
    64 %gnome-panel;
    65 %gnome-session;
    66 %vte;
    67 %gnome-terminal;
    68 %libgtop;
    69 %gail;
    70 %gstreamer;
    71 %gst-plugins;
    72 %gnome-applets;
    73 %libgsf;
    74 %libcroco;
    75 %librsvg;
    76 %eel;
    7777%nautilus;
     78<!ENTITY % control-center SYSTEM "core/control/control-center.ent">
     79%control-center;
     80<!ENTITY gnome-config SYSTEM "config/config.xml">
     81<!ENTITY gnome-config-core SYSTEM "config/config-core.xml">
     82
     83
    7884
    7985<!ENTITY % linc SYSTEM "lib/linc/linc.ent">
     
    102108<!-- Gnome Core -->
    103109<!ENTITY gnome-core SYSTEM "core/core.xml">
    104 <!ENTITY % control-center SYSTEM "core/control/control-center.ent">
    105 %control-center;
    106110
    107111<!-- Additional Gnome Packages -->
     
    139143%gdm;
    140144
    141 <!-- Configuring Gnome -->
    142 <!ENTITY gnome-config SYSTEM "config/config.xml">
    143 <!ENTITY gnome-config-core SYSTEM "config/config-core.xml">
    144 
    145145<!-- Additional Gnome 1.4 Libraries -->
    146146<!ENTITY gnome-otherlibs SYSTEM "otherlibs/otherlibs.xml">
  • introduction/welcome/changelog.xml

    rfa48bf3 rfff069f  
    1111
    1212<itemizedlist>
     13
     14<listitem><para>April 22nd, 2004 [igor]: Moved Qt installation to
     15/usr with instructions submitted by Tushar Teredesai.</para></listitem>
    1316
    1417<listitem><para>April 22nd, 2004 [igor]: Added cracklib-2.7,
  • x/lib/qt/qt-config.xml

    rfa48bf3 rfff069f  
    44<sect3><title>Configuration Information</title>
    55
    6 <para>As with most libraries, there is no configuration to do, save that
    7 the library directory <filename class="directory">/opt/qt/lib</filename> should appear
    8 in <filename>/etc/ld.so.conf</filename> so that ldd can find the
    9 shared libraries. The following command will add it if it is missing:</para>
    10 
    11 <screen><userinput><command>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"</command>
    12 # Begin qt addition to /etc/ld.so.conf
    13 
    14 /opt/qt/lib
    15 
    16 # End qt addition
    17 <command>EOF
    18 ldconfig</command></userinput></screen>
    19 
    20 <para>You need to add the path for the <application>Qt</application> man pages to the
    21 <filename>man.conf</filename>
    22 file.  This can be done with the following command:</para>
    23 
    24 <screen><userinput><command>cat &gt;&gt; /etc/man.conf &lt;&lt; "EOF"</command>
    25 # Begin qt addition to man.conf
    26 
    27 MANPATH /opt/qt/doc/man
    28 
    29 # End qt addition to man.conf
    30 <command>EOF</command></userinput></screen>
    31 
    32 <para>Most of the <application>Qt</application> based applications (such as
    33 <application>KDE</application>) require the <envar>QTDIR</envar> to be
    34 set during compilation. This can be achieved by the following command.
    35 For convenience, this command may be added to <filename>/etc/profile</filename>
    36 or <filename>$HOME/.bash_profile</filename>.</para>
    37 
    38 <screen><userinput><command>export QTDIR=/opt/qt</command></userinput></screen>
     6&library-config;
    397
    408</sect3>
    419
    4210</sect2>
    43 
  • x/lib/qt/qt-desc.xml

    rfa48bf3 rfff069f  
    2323<para>The <application>Qt</application>/<application>X11</application>
    2424library contains <acronym>API</acronym>'s necessary to use
    25 <application><acronym>KDE</acronym></application>
    26 programs.</para></sect3>
     25programs based on Qt <acronym>GUI</acronym> toolkit.</para></sect3>
    2726
    2827</sect2>
  • x/lib/qt/qt-exp.xml

    rfa48bf3 rfff069f  
    11<sect2>
    22<title>Command explanations</title>
     3
     4<para><command>sed -i "s:cp -f:install:" mkspecs/linux-g++/qmake.conf</command>:
     5<command>install</command> is safer than <command>cp</command> when
     6libraries are in use.</para>
    37
    48<para><command>bash</command>: This command enters a sub-shell to isolate
    59environment changes.</para>
    610
    7 <para><command>export QTDIR=$PWD</command>: This command defines where the
    8 root of the <application>Qt</application> directory is located.</para>
    9 
    10 <para><command>export LD_LIBRARY_PATH=$QTDIR/lib</command>: This command
     11<para><command>export LD_LIBRARY_PATH=$PWD/lib</command>: This command
    1112sets up the location of libraries for the build process.</para>
    1213
    13 <para><command>export PATH=$QTDIR/bin:$PATH</command>: This command
     14<para><command>export PATH=$PWD/bin:$PATH</command>: This command
    1415allows the build process to find supporting executables.</para>
    1516
    16 <para><parameter>-prefix /opt/qt-&qt-version;</parameter>: This command sets up
    17 the install destination.</para>
    18 
    19 <para><option>-qt-gif</option>: This command adds support for gif
     17<para><parameter>-qt-gif</parameter>: This switch adds support for gif
    2018files to the libraries.</para>
    2119
    22 <para><option>-system-libpng -system-libmng -system-zlib
    23 -system-libjpeg</option>: This command forces the library to use the
    24 shared libraries that are on your system instead of recreating its own
    25 set of support libraries for these functions.</para>
     20<para><parameter>-system-zlib -system-libpng</parameter>: This switch
     21forces the library to use the shared libraries that are on your system
     22instead of recreating its own set of support libraries for these
     23functions.</para>
    2624
    27 <para><option>-no-g++-exceptions</option>: This command disables
     25<para><parameter>-no-g++-exceptions</parameter>: This switch disables
    2826the exceptions coding generated by the <application>C++</application> compiler.</para>
    2927
    30 <para><option>-thread</option>: This command compiles the library
    31 to support multi-threading.</para>
     28<para><parameter>-thread</parameter>: This switch adds
     29support for multi-threading.</para>
    3230
    33 <para><command>ln -sfn qt-&qt-version; /opt/qt</command>: This command
    34 standardizes the location of the <application>Qt</application> libraries
    35 to the <filename>ld.so.conf</filename> entry
    36 described below.</para>
     31<para><command>find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g"</command>:
     32This command removes hardcoded run-time path, else
     33<command>uic</command> tries to run with system installed Qt
     34libraries.</para>
    3735
    38 <para><command>ln -s libqt-mt.so /opt/qt/lib/libqt.so</command>: This
     36<para><command>ln -s libqt-mt.so /usr/lib/libqt.so</command>: This
    3937command allows configure scripts
    4038to find a working <application>Qt</application> installation.</para>
    4139
    42 <para><command>cp -r doc/man /opt/qt/doc</command>: This command
    43 installs the man directory which is missed by <command>make
     40<para><command>cp -r doc/man /usr/share</command>: This command
     41installs the man pages which are missed by <command>make
    4442install</command>.</para>
    4543
    46 <para><command>cp -r examples /opt/qt/doc</command>: This command
    47 installs the examples directory which is missed by <command>make
     44<para><command>cp -r examples /usr/share/doc/qt</command>: This command
     45installs the examples which are missed by <command>make
    4846install</command>.</para>
    4947
    5048<para><command>exit</command>: This command returns to the parent shell
    51 and eliminates envirnment variables set earlier.</para>
     49and eliminates environment variables set earlier.</para>
    5250
    5351</sect2>
    54 
  • x/lib/qt/qt-inst.xml

    rfa48bf3 rfff069f  
    22<title>Installation of <application>Qt</application></title>
    33
    4 <screen><userinput><command>bash
    5 export QTDIR=$PWD &amp;&amp;
    6 export LD_LIBRARY_PATH=$QTDIR/lib &amp;&amp;
    7 export PATH=$QTDIR/bin:$PATH &amp;&amp;
    8 ./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \
    9 &nbsp;&nbsp;&nbsp;-system-libmng -system-zlib -system-libjpeg -no-g++-exceptions \
    10 &nbsp;&nbsp;&nbsp;-thread &amp;&amp;
     4<para>Install <application>Qt</application> by running the following
     5commands:</para>
     6
     7<screen><userinput><command>sed -i "s:cp -f:install:" mkspecs/linux-g++/qmake.conf &amp;&amp;
     8bash
     9export PATH=$PWD/bin:$PATH &amp;&amp;
     10export LD_LIBRARY_PATH=$PWD/lib &amp;&amp;
     11./configure -prefix /usr -docdir /usr/share/doc/qt \
     12    -headerdir /usr/include/qt -plugindir /usr/lib/qt/plugins \
     13    -datadir /usr/share/qt -translationdir /usr/share/qt/translations \
     14    -sysconfdir /etc/qt -release -shared -qt-gif -system-zlib \
     15    -no-g++-exceptions -thread -plugin-imgfmt-png -system-libpng &amp;&amp;
    1116make &amp;&amp;
     17find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g" &amp;&amp;
    1218make install &amp;&amp;
    13 ln -sfn qt-&qt-version; /opt/qt &amp;&amp;
    14 ln -s libqt-mt.so /opt/qt/lib/libqt.so &amp;&amp;
    15 cp -r doc/man /opt/qt/doc &amp;&amp;
    16 cp -r examples /opt/qt/doc
     19ln -sf libqt-mt.so /usr/lib/libqt.so &amp;&amp;
     20cp -r doc/man /usr/share &amp;&amp;
     21cp -r examples /usr/share/doc/qt &amp;&amp;
    1722exit</command></userinput></screen>
    1823
     
    2732
    2833</sect2>
     34
     35<!--
     36-cups
     37-plugin-imgfmt-jpeg
     38-plugin-imgfmt-mng
     39-system-libjpeg
     40-system-libmng
     41-system-nas-sound
     42-->
  • x/lib/qt/qt-intro.xml

    rfa48bf3 rfff069f  
    1818<sect3><title><application>Qt</application> dependencies</title>
    1919<sect4><title>Required</title>
    20 <para><xref linkend="xfree86"/> and
    21 <xref linkend="libmng"/></para></sect4>
     20<para>
     21<xref linkend="xfree86"/>
     22</para></sect4>
    2223<sect4><title>Optional</title>
    23 <para><xref linkend="nas"/> and <xref
    24 linkend="cups"/></para></sect4>
     24<para>
     25<xref linkend="libjpeg"/>,
     26<xref linkend="libmng"/>,
     27<xref linkend="nas"/>,
     28<xref linkend="cups"/>,
     29<xref linkend="mysql"/>,
     30<xref linkend="postgresql"/>,
     31<ulink url="http://firebird.sourceforge.net/">Firebird</ulink> and
     32<ulink url="http://www.unixodbc.org/">unixODBC</ulink>
     33</para></sect4>
    2534</sect3>
    2635
Note: See TracChangeset for help on using the changeset viewer.