Changeset 1c8d0ff for kde/plasma5


Ignore:
Timestamp:
11/03/2015 02:11:07 AM (8 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
384c4d6
Parents:
11e3cb6b
Message:

Update Plasma5 section. The page is not yet finished.
Add libxkbcommon and xcb-util-cursor needed for KDE Plasma5.
Remove unneeded option from libgpg-error.
Updated KF5 profile initialization scripts.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kde/plasma5/plasma-all.xml

    r11e3cb6b r1c8d0ff  
    88  <!ENTITY plasma5-download-ftp  " ">
    99  <!ENTITY plasma5-md5sum        "See Below">
    10   <!ENTITY plasma5-size          "?? MB">
    11   <!ENTITY plasma5-buildsize     "?? GB">
    12   <!ENTITY plasma5-time          "?? SBU">
     10  <!ENTITY plasma5-size          "129 MB">
     11  <!ENTITY plasma5-buildsize     "933 GB">
     12  <!ENTITY plasma5-time          "15 SBU (using parallelism=6)">
    1313]>
    1414
     
    2828
    2929  <para>KDE Plasma 5 is a collection of packages based on top of KDE Frameworks
    30   5 and QML derived from the monolithic KDE 4 desktop. They implement the KDE
    31   Display Environment (Plasma 5).</para>
     30  5 and QML. It has been derived from the monolithic KDE 4 desktop. i
     31  They implement the KDE Display Environment (Plasma 5).</para>
    3232
    3333  <note>
    3434    <para>The procedures below are under development.  They have not been
    3535    verified to work properly in an LFS-7.8 environment.</para>
    36 
    37     <para>Additionally there are several packages not yet in the book
    38     and mesa will need to be rebuilt with different settings.  New packages are
    39     xcb-util-cursor and libxkbcommon.</para>
    4036  </note>
    4137
     
    7268  <para role="required">
    7369    <xref linkend="fontforge"/>,
     70    <xref linkend="gtk2"/>,
     71    <xref linkend="gtk3"/>,
    7472    <xref linkend="kf5-frameworks"/>,
     73    <xref linkend="libcanberra"/>,
    7574    <xref linkend="libinput"/>,
    7675    <xref linkend="libpwquality"/>,
    77     libxkbcommon,
    78     xcb-util-cursor,
    79     <xref linkend="lmdb"/>,
    80     <xref linkend="lm_sensors"/>,
     76    <xref linkend="libxkbcommon"/>,
     77    <xref linkend="linux-pam"/>,
    8178    <xref linkend="mesa"/> built with <xref linkend="wayland"/>,
    82     <xref linkend="NetworkManager"/>, and
    83     <xref linkend="taglib"/>
    84   </para>
    85 
     79    <xref linkend="NetworkManager"/>,
     80    <xref linkend="oxygen-icons"/>,
     81    <xref linkend="pulseaudio"/>,
     82    <xref linkend="python2"/>,
     83    <xref linkend="taglib"/>, and
     84    <xref linkend="xcb-util-cursor"/>
     85  </para>
    8686
    8787  <bridgehead renderas="sect4">Recommended</bridgehead>
    8888  <para role="recommended">
    89     <!--<xref linkend="avahi"/> (DNS-SD backend for KDNSSD),-->
    90     To be determined.
     89    <xref linkend="lm_sensors"/>,
     90    <xref linkend="pciutils"/>,
     91    <xref linkend="xorg-synaptics-driver"/>
     92    Others to be determined.
    9193  </para>
    9294<!--
     
    171173
    172174<screen><userinput>cat &gt; plasma-&kf5-version;.md5 &lt;&lt; "EOF"
    173 <literal>
    174 bb94a0d6f06583456b8f0a2eae07edd6  kde-cli-tools-5.4.2.tar.xz
     175<literal>bb94a0d6f06583456b8f0a2eae07edd6  kde-cli-tools-5.4.2.tar.xz
    17517667683fc1ae1fdf014f567780502b574a  kdecoration-5.4.2.tar.xz
    176177c0c0eef0f2bfb93a81e4e701d7557eb9  kwayland-5.4.2.tar.xz
     
    245246       cd    build
    246247
    247        cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX      \
    248              -DCMAKE_BUILD_TYPE=Debug                \
    249              -DLIB_INSTALL_DIR=lib                   \
    250              -DBUILD_TESTING=OFF                     \
    251              -DQML_INSTALL_DIR=lib/qt5/qml           \
    252              -DQT_PLUGIN_INSTALL_DIR=lib/qt5/plugins \
    253              -DECM_MKSPECS_INSTALL_DIR=$KF5_PREFIX/share/qt5/mkspecs/modules \
    254              -DOXYGEN_FONT_INSTALL_DIR=/usr/share/fonts/truetype/oxygen      \
     248       OPTS=""
     249
     250       case $srcdir in
     251         kwayland-&plasma5-version; )
     252           OPTS="-DECM_MKSPECS_INSTALL_DIR=$KF5_PREFIX/share/mkspecs/modules"
     253           ;;
     254
     255         oxygen-fonts-&plasma5-version; )
     256           OPTS="-DOXYGEN_FONT_INSTALL_DIR=/usr/share/fonts/truetype/oxygen"
     257           ;;
     258       esac
     259
     260       cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
     261             -DCMAKE_BUILD_TYPE=Release         \
     262             -DLIB_INSTALL_DIR=lib              \
     263             -DBUILD_TESTING=OFF                \
     264             $OPTS                              \
    255265             -Wno-dev ..  &amp;&amp;
    256266
     
    264274done &lt; plasma-&kf5-version;.md5
    265275
    266 exit</userinput></screen>
    267 
     276exit
     277
     278cd $KF5_PREFIX/share/plasma/plasmoids
     279
     280for j in $(find -name \*.js); do
     281  ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
     282done</userinput></screen>
    268283
    269284  </sect2>
     
    273288
    274289    <para>
    275       Deferred.
    276     </para>
    277 
    278   </sect2>
     290      <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
     291      Create symbolic links so qml files can find needed javascript modules.
     292    </para>
     293
     294  </sect2>
     295  <sect2 role="starting">
     296    <title>Starting Plasma5</title>
     297
     298    <para>
     299      You can start <application>Plasma5</application> from runlevel 3, using
     300      <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
     301      such as <xref linkend="sddm"/>.
     302    </para>
     303
     304    <para>
     305      To start <application>Plasma5</application> using <xref linkend="xinit"/>,
     306      run the following commands:
     307    </para>
     308
     309<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
     310<literal>ck-launch-session dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
     311EOF
     312
     313startx</userinput></screen>
     314
     315    <para>
     316      The X session starts on the first unused virtual terminal, normally vt7.
     317      You can switch to another vt<emphasis>n</emphasis> simultaneously
     318      pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
     319      (<emphasis>n</emphasis>=1, 2, ...).  To switch back to the X session,
     320      normally started at vt7, use Ctrl-Alt-F7. The vt where the command
     321      <command>startx</command> was executed will display many messages,
     322      including X starting messages, applications automatically started with
     323      the session, and eventually, some warning and error messages. You may
     324      prefer to redirect those messages to a log file, which not only will keep
     325      the initial vt uncluttered, but can also be used for debugging purposes. This
     326      can be done starting X with:
     327    </para>
     328
     329    <screen><userinput>startx &amp;&gt; ~/.x-session-errors</userinput></screen>
     330
     331    <note>
     332      <para>
     333        You may wish to drop consolekit and/or dbus-launch, e.g., just using
     334        startkde in ~/.xinitrc. However some capabilities such as mounting or
     335        umounting file systems from a file manager will not be possible, or the
     336        reboot option may be absent or inoperative, among other problems.
     337      </para>
     338    </note>
     339    <para>
     340      When shutting down or rebooting, the shutdown messages appear on the vt
     341      where X was running. If you wish to see those messages, simultaneously
     342      press keys Alt-F7 (assuming that X was running on vt7).
     343    </para>
     344
     345  </sect2>
     346
    279347  <sect2 role="content">
    280348    <title>Contents</title>
Note: See TracChangeset for help on using the changeset viewer.