Ignore:
Timestamp:
06/29/2015 01:36:57 AM (6 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 7.10, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, ken/refactor-virt, lazarus, nosym, perl-modules, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
a06d59d
Parents:
28d76c0
Message:

Substitute libgudev for Udev Extras.
Add KDE Frameworks 5.

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

File:
1 moved

Legend:

Unmodified
Added
Removed
  • kde/libdbusmenuqt.xml

    r28d76c0 rf175d6f  
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
    4   <!ENTITY % general-entities SYSTEM "../../general.ent">
     4  <!ENTITY % general-entities SYSTEM "../general.ent">
    55  %general-entities;
    66
    7   <!ENTITY libdbusmenu-qt-download-http "http://launchpad.net/libdbusmenu-qt/trunk/&libdbusmenu-qt-version;/+download/libdbusmenu-qt-&libdbusmenu-qt-version;.tar.bz2">
     7  <!ENTITY libdbusmenu-qt-download-http "http://anduin.linuxfromscratch.org/sources/other//libdbusmenu-qt-&libdbusmenu-qt-version;.tar.xz">
    88  <!ENTITY libdbusmenu-qt-download-ftp  " ">
    9   <!ENTITY libdbusmenu-qt-md5sum        "9a49484927669cd2ec91b3bf9ba8b79e">
    10   <!ENTITY libdbusmenu-qt-size          "37 KB">
    11   <!ENTITY libdbusmenu-qt-buildsize     "3.8 MB">
    12   <!ENTITY libdbusmenu-qt-time          "0.3 SBU">
     9  <!ENTITY libdbusmenu-qt-md5sum        "d21a1f5569e0bc9c9245b4f71761c62f">
     10  <!ENTITY libdbusmenu-qt-size          "40 KB">
     11  <!ENTITY libdbusmenu-qt-buildsize     "2.6 MB">
     12  <!ENTITY libdbusmenu-qt-time          "0.2 SBU">
    1313]>
    1414
     
    3131
    3232    <para>This library provides a <application>Qt</application> implementation
    33     of the DBusMenu specs, which goal is to expose menus on DBus.</para>
     33    of the DBusMenu specs, which goal is to expose menus on DBus.  Its
     34    libraries are used by both KDE4 and KF5, but they must be linked to <xref
     35    linkend='qt4'/> and <xref linkend='qt5'/> respectively. The two versions to
     36    not conflict with each other. </para>
    3437
    3538    &lfs77_checked; &gcc5_checked;
     
    5760    </itemizedlist>
    5861
    59 <!--
    60     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    61     <itemizedlist spacing='compact'>
    62       <listitem>
    63         <para>Required patch: <ulink
    64         url="&patch-root;/libdbusmenu-qt-&libdbusmenu-qt-version;-fixes-1.patch"/></para>
    65       </listitem>
    66     </itemizedlist>
    67 -->
    6862    <bridgehead renderas="sect3">libdbusmenu-qt Dependencies</bridgehead>
    6963
    7064    <bridgehead renderas="sect4">Required</bridgehead>
    7165    <para role="required">
    72     <xref linkend="qt4"/>
     66    <xref linkend="qt4"/> or <xref linkend="qt5"/>
    7367    </para>
    7468
     
    8781    <title>Installation of libdbusmenu-qt</title>
    8882
    89     <para>Install <application>libdbusmenu-qt</application> by running the following
     83    <para>Install the qt4 based version of
     84    <application>libdbusmenu-qt</application> by running the following
    9085    commands:</para>
    9186
     
    9590cmake -DCMAKE_INSTALL_PREFIX=/usr \
    9691      -DCMAKE_BUILD_TYPE=Release  \
    97       -DWITH_DOC=OFF .. &amp;&amp;
     92      -DUSE_QT4=TRUE              \
     93      -DWITH_DOC=OFF              \
     94      -Wno-dev .. &amp;&amp;
    9895make</userinput></screen>
    9996
    10097    <para>To test the results
    10198    (<ulink url="http://qjson.sourceforge.net/">QJson</ulink> must be installed),
    102     issue: <command>make -k check</command>.</para>
     99    issue: <command>make -k check</command>. One test is known to fail.</para>
     100
     101    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     102
     103<screen role="root"><userinput>make install</userinput></screen>
     104
     105    <para>Install the qt5 based version of
     106    <application>libdbusmenu-qt</application> by running the following
     107    commands:</para>
     108
     109    <note><para>If building both versions of this application, be sure
     110    to remove the previous version of the source and reextract them from
     111    the original tar file.</para></note>
     112
     113<screen><userinput>mkdir build &amp;&amp;
     114cd    build &amp;&amp;
     115
     116cmake -DCMAKE_INSTALL_PREFIX=/usr \
     117      -DCMAKE_BUILD_TYPE=Release  \
     118      -DWITH_DOC=OFF              \
     119      -Wno-dev .. &amp;&amp;
     120make</userinput></screen>
     121
     122    <para>The qt5 version of this package does not have a working test suite.
     123    </para>
    103124
    104125    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     
    114135    build without debugging symbols and apply a higher level of compiler
    115136    optimizations.</para>
     137
     138    <para><option>-DUSE_QT4=TRUE</option>: This switch is used to ensure that
     139    Qt4 version of the library is built even if Qt5 is present.</para>
    116140
    117141    <para><option>-DWITH_DOC=OFF</option>: This option is set to avoid building
     
    131155      <seglistitem>
    132156        <seg>None</seg>
    133         <seg>libdbusmenu-qt.so</seg>
    134         <seg>&qt4-dir;/include/dbusmenu-qt</seg>
     157        <seg>libdbusmenu-qt.so and libdbusmenu-qt5.so</seg>
     158        <seg>/usr/include/dbusmenu-qt and
     159             /usr/include/dbusmenu-qt5</seg>
    135160      </seglistitem>
    136161    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.