Changeset 2b6bee98


Ignore:
Timestamp:
07/24/2014 11:57:12 AM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
systemd-11177
Children:
41d4b7ec
Parents:
4b422698
Message:

Revive qtchooser.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13604 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • general/genutils/genutils.xml

    r4b422698 r2b6bee98  
    3333  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lsof.xml"/>
    3434  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pinentry.xml"/>
     35  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qtchooser-systemd.xml"/>
    3536  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rarian.xml"/>
    3637  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rep-gtk.xml"/>
  • general/genutils/qtchooser-systemd.xml

    r4b422698 r2b6bee98  
    3333
    3434    <para>
    35       The <application>qtchooser</application> package contains a wrapper used to select
    36       between <application>Qt</application> binary versions.  It is only needed if
    37       both Qt4 and Qt5 are installed for access via the /usr/bin directory.
    38     </para>
    39 
    40     &lfs74_checked;
     35      The <application>qtchooser</application> package contains a wrapper used to
     36      select between <application>Qt</application> binary versions.
     37    </para>
     38
     39    &lfs75_checked;
    4140
    4241    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    7069        <para>
    7170          Estimated build time: &qtchooser-time;
     71        </para>
     72      </listitem>
     73    </itemizedlist>
     74
     75    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     76    <itemizedlist spacing="compact">
     77      <listitem>
     78        <para>
     79          Required patch:
     80          <ulink url="&patch-root;/qtchooser-&qtchooser-version;-upstream_fixes-1.patch"/>
    7281        </para>
    7382      </listitem>
     
    103112    </para>
    104113
    105 <screen><userinput>make</userinput></screen>
     114<screen><userinput>patch -Np1 -i ../qtchooser-&qtchooser-version;-upstream_fixes-1.patch &amp;&amp;
     115make</userinput></screen>
    106116
    107117    <para>
     
    113123    </para>
    114124
    115 <screen role="root"><userinput>make install &amp;&amp;
    116 install -m644 doc/qtchooser.1 /usr/share/man/man1</userinput></screen>
     125<screen role="root"><userinput>make install</userinput></screen>
    117126
    118127  </sect2>
     
    149158
    150159      <para>
    151         Create the configuration files by running the following commands as
     160        If both <application>Qt4</application> and
     161        <application>Qt5</application> are installed in
     162        <filename class="directory">/usr</filename>, create the
     163        configuration files by running the following commands as
    152164        the <systemitem class="username">root</systemitem> user:
    153165      </para>
    154166
    155167<screen role="root"><userinput>install -dm755 /etc/xdg/qtchooser &amp;&amp;
    156 cat &gt; /etc/xdg/qtchooser/4.conf &lt;&lt; "EOF"
     168cat &gt; /etc/xdg/qtchooser/qt4.conf &lt;&lt; "EOF"
    157169<literal>/usr/lib/qt4/bin
    158170/usr/lib</literal>
    159171EOF
    160 cat &gt; /etc/xdg/qtchooser/5.conf &lt;&lt; "EOF"
     172cat &gt; /etc/xdg/qtchooser/qt5.conf &lt;&lt; "EOF"
    161173<literal>/usr/lib/qt5/bin
    162174/usr/lib</literal>
     
    164176
    165177      <para>
     178        If both <application>Qt4</application> and
     179        <application>Qt5</application> are installed in
     180        <filename class="directory">/usr</filename>, create the
     181        configuration files by running the following commands as
     182        the <systemitem class="username">root</systemitem> user:
     183      </para>
     184
     185<screen role="root"><userinput>install -dm755 /etc/xdg/qtchooser &amp;&amp;
     186cat &gt; /etc/xdg/qtchooser/qt4.conf &lt;&lt; "EOF"
     187<literal>/opt/qt4/lib/qt4/bin
     188/opt/qt4/lib</literal>
     189EOF
     190cat &gt; /etc/xdg/qtchooser/qt5.conf &lt;&lt; "EOF"
     191<literal>/opt/qt5/lib/qt5/bin
     192/opt/qt5/lib</literal>
     193EOF</userinput></screen>
     194
     195      <para>
     196        Replace <filename class="directory">/opt/qt4</filename> and/or
     197        <filename class="directory">/opt/qt5</filename> if you used
     198        different prefix.
     199      </para>
     200
     201      <para>
    166202        To set <application>Qt4</application> as the default, run the following
    167203        command as the <systemitem class="username">root</systemitem> user:
    168204      </para>
    169205
    170 <screen role="root"><userinput>ln -sfv 4.conf /etc/xdg/qtchooser/default.conf</userinput></screen>
     206<screen role="root"><userinput>ln -sfv qt4.conf /etc/xdg/qtchooser/default.conf</userinput></screen>
    171207
    172208      <para>
     
    175211      </para>
    176212
    177 <screen role="root"><userinput>ln -sfv 5.conf /etc/xdg/qtchooser/default.conf</userinput></screen>
     213<screen role="root"><userinput>ln -sfv qt5.conf /etc/xdg/qtchooser/default.conf</userinput></screen>
    178214
    179215      <para>
     
    186222      </para>
    187223
    188 <screen><userinput>export QT_SELECT=4</userinput></screen>
     224<screen><userinput>export QT_SELECT=qt4</userinput></screen>
    189225
    190226      <para>
     
    192228      </para>
    193229
    194 <screen><userinput>export QT_SELECT=5</userinput></screen>
     230<screen><userinput>export QT_SELECT=qt5</userinput></screen>
    195231
    196232    </sect3>
     
    211247          pixeltool, qcollectiongenerator, qdbus, qdbuscpp2xml, qdbusviewer,
    212248          qdbusxml2cpp, qdoc, qdoc3, qglinfo, qhelpconverter, qhelpgenerator,
    213           qmake, qml, qml1plugindump, qmlbundle, qmlmin, qmlplugindump,
    214           qmlprofiler, qmlscene, qmltestrunner, qmlviewer, qtchooser,
    215           qtconfig, rcc, uic, uic3, xmlpatterns, and xmlpatternsvalidator
     249          qlalr, qmake, qml, qml1plugindump, qmlbundle, qmlimportscanner,
     250          qmlmin, qmlplugindump, qmlprofiler, qmlscene, qmltestrunner,
     251          qmlviewer, qtchooser, qtconfig, qtdiag, qtpaths, rcc, uic, uic3,
     252          xmlpatterns and xmlpatternsvalidator
    216253        </seg>
    217254        <seg>
  • systemd.ent

    r4b422698 r2b6bee98  
    66<!ENTITY libxkbcommon-version         "0.4.2">
    77<!ENTITY pyatspi2-version             "2.12.0">
     8<!ENTITY qtchooser-version            "39">
    89<!ENTITY sound-theme-freedesktop-version "0.8">
    910<!ENTITY upower1-version              "0.99.0">
Note: See TracChangeset for help on using the changeset viewer.