summaryrefslogtreecommitdiffstats
path: root/README.5_15.10
blob: 8c95c36ccd5a698c5d96e86ecec0a20eecd074f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
KDE5
====

Here is KDE 5_15.10 for Slackware, consisting of the KDE Frameworks 5.15.0,
Plasma 5.4.2 and Applications 15.08.2.

Upgrading from the previous 5_15.09_02 should be straight-forward.
KDE-5_15.10 is meant only to be installed on top of Slackware -current and
it will *replace* any version of KDE 4 you might have installed!

What is the NEWS in this batch of updates:
- Two updated "deps" packages: qca-qt5 and wayland.
- A completely new subset of "deps" packages, contained in their own
  "telepathy" subdirectory, is paving the way for KDE Telepathy (see below):
  libotr, libnice, farstream, libaccounts-glib, libaccounts-qt5,
  signon, signon-plugin-oauth2, signon-ui, libsignon-glib,
  telepathy-glib, telepathy-farstream, telepathy-haze, telepathy-gabble,
  telepathy-qt5, telepathy-logger, telepathy-logger-qt5,
  telepathy-mission-control and telepathy-accounts-signon.
- Frameworks 5.15.0 is an enhancement release, no new Framework was added. See
  https://www.kde.org/announcements/kde-frameworks-5.15.0.php
- Plasma 5.4.2 is a bugfix release, you can read the details in
  https://www.kde.org/announcements/plasma-5.4.2.php .  Worth mentioning is
  that I have finally enabled the 'plasma-mediacenter' package.
- In plasma-extra you will find a rebuilt sddm-qt5 package which fixes the
  broken progress bar on startup of the Plasma Desktop session. Also you will
  find a new package 'xembed-sni-proxy' which docks into the Plasma 5 system
  tray and provided a legacy XEmbed tray for those applications that need it.
  It is therefore no longer necessary to use a program like trayer-srg or
  stalonetray to make these XEmbed tray-icons visible.
- Applications 15.08.2 is a bugfix release as well. But for my Slackware
  package set, the important change is that I have added all the KDE Telepathy
  packages that previously stayed un-built. You'll find a new systray icon
  waiting for you to configure your IM accounts.  Only the voice & video GUI
  is still missing, the KDE Telepathy developers are still looking for someone
  knowledgeable to port the old KDE 4 version to Frameworks 5.

Further points of interest that are unchanged since the previous releases:
- ConsoleKit2 replaces Slackware's ConsoleKit. Now we have something again
  which is properly maintained and well on its way to implementing the
  necessary parts of the systemd-logind API (so that we can ignore systemd).
- kde/kde4-extragear packages should be taken from slackware-current (calligra,
  k3b, kaudiocreator, kplayer, kwebkitpart, oxygen-gtk2, kdevplatform,
  kdevelop-pg-qt, kdevelop, kdev-python, kdevelop-php, kdevelop-php-docs,
  skanlite, kio-mtp, libktorrent, ktorrent, partitionmanager)
- Note that I did not compile KDEnlive which ships with Applications. It needs
  a lot of attention before I can build this (ffmpeg amd more is required).
- katepart4 was added so that kdevelop works again
- konsolepart4 was added to be able to use an embedded konsole in dolphin
- kdeconnect4 was added; this stripped-down version of the KDE4 based
  kdeconnect-kde allows you to access your Android device with the
  (also still KDE4 based) Dolphin filemanager
- akonadi4 and kdepimlibs4 were added to support KDE 4 applications that call
  PIM functionality.
- sddm-theme-breeze was removed, the theme is now part of plasma-workspace
- Lots of packages in the 'deps' department which are completely new to
  Slackware. Since KDE 5 is built on Qt5 (KDE 4 had Qt4 as its base) you'll
  find many Qt5 related packages. Also, in order for Qt4 and GTK based
  applications to dock into the Plasma 5 system tray, more dependencies were
  needed. So, apart from updates to regular Slackware packages and the
  aforementioned new telepathy support packages, these are the new ones:
  OpenAL, PyQT5, cfitsio, json-glib, libappindicator, libdbusmenu-gtk,
  libdbusmenu-qt5, libindicator, lmdb, polkit-qt5-1, qca-qt5, qt-gstreamer,
  qt5, sni-qt, wayland and xapian-core.
- Note for users of multilib Slackware64 and also using Skype: you will have to
  grab the 32-bit version of sni-qt and run 'convertpkg-compat32' on it,
  or else Skype won't be able to dock its icon in the systray.
- A bit sneakily, I built phonon-vlc for you.  You will also need a VLC package
  to be able to use this package though.
- Several source tarballs in Plasma 5.4.x have not been compiled to Slackware
  packages: libbluedevil and bluedevil (they need BlueZ 5 which is not part of
  Slackware), muon (a debian/ubuntu package manager), libkface (needs opencv
  which I was not willing to add as a dependency), user-manager and kwallet-pam
  (need PAM), plasma-pa (needs pulseaudio).
- One dependency which you'll probably find curious, is wayland. It is required
  in order to *compile* KWin's X11 driver, but for using KWin inside a
  X session it is not needed at *runtime*.
- Graphical login: KDM has been replaced with SDDM. Slackware-current supports
  it already.  Select "Plasma" from the SDDM session dropdown.
  Alternatively, if you prefer good old runlevel 3, you can type (at your own
  user account's command prompt):
    $ xwmconfig
  ... and select "xinitrc.plasma" as your default window manager for X.
  Then run:
    $ startx

NOTE:
Also explained in more detail below, upgrading to this KDE 5 is non-trivial.
You will have to remove old KDE packages manually.  If you do not have KDE
installed at all, you will have to *install* some of Slackware's own KDE
packages manually.

NOTE:
If you decide to install these packages on top of a fresh installation of
  Slackware-current and have excluded all packages in the 'KDE' package series
  during installation, you will be missing several add-on packages, some of
  these are essential to the proper functioning of KDE!
  If you excluded the complete Slackware-current 'KDE' series, then you
  will have to install the following essential Slackware-current packages
  at a a minimum:
    * bluedevil
    * libktorrent
  And optionally install these Slackware-current packages as well:
    * amarok
    * calligra
    * k3b
    * kaudiocreator
    * kplayer
    * kwebkitpart
    * kaudiocreator
    * kdevplatform
    * kdevelop-pg-qt
    * kdevelop
    * kdev-python
    * kdevelop-php
    * kdevelop-php-docs
    * kio-mtp
    * ktorrent
    * oxygen-gtk2
    * partitionmanager
    * skanlite

-------------------------------------------------------------------------------
Building it all from source:
-------------------------------------------------------------------------------

Sources and scripts are separated from the packages in my 'ktown' repository.
If you want the sources for KDE 5, run the following command to download them:

  # rsync -av rsync://alien.slackbook.org/alien/ktown/source/5 .

There are a lot of 'dependencies' for KDE 5 which you'll have to compile and
install before attempting to compile KDE 5. Compiling and installing these
dependencies on Slackware-current is as easy as:
  # cd 5/deps
  # ./updates.SlackBuild
  # cd -

Be prepared to wait a *long* time since this will recompile Qt4 and compile a
new Qt5 package among others.  The finished package will be stored in /tmp .
Then if you want to compile the KDE packages on your computer, run:
  # cd 5/kde
  # ./KDE.SlackBuild

Wait a long time, and you will find the new packages in /tmp/kde-build .
Note that these packages will already have been installed by KDE.SlackBuild !

But if all you want is the packages I created, then you can skip all of that.

-------------------------------------------------------------------------------
Install pre-compiled packages:
-------------------------------------------------------------------------------

In order to install or upgrade KDE 5, follow these steps:

Make sure you are not running KDE or even X !  If you are running an X session,
log out first, and if you are in runlevel 4 (graphical login) you first have to
go back to runlevel 3 (console) by typing "init 3".

If you still have a KDE 4 installed, it must be removed first. No clean
upgrade path can be provided!  Do as follows:

If you have Slackware-current's default KDE 4.14.3 installed:
  # removepkg /var/log/packages/*-4.14.3-*
  # removepkg libkscreen
  # removepkg kscreen
  # removepkg kactivities
  # removepkg kde-workspace
  # removepkg libmm-qt
  # removepkg libnm-qt
  # removepkg plasma-nm
  # removepkg polkit-kde-agent-1
  # removepkg polkit-kde-kcmodules-1
  # removepkg kdeconnect-kde
...or instead of the above, simply '# slackpkg remove kde'.

If you hsve my 'ktown' set of KDE 5_15.09_02 installed:
- No further actions are needed.

If you have my 'ktown' set of KDE 5_15.09 installed:
- Upgrade to KDE-5_15.09_02 and then remove the packages
  that no longer exist in KDE 5_15.09_02:
  * removepkg LoginKit

If you have my 'ktown' set of KDE 5_15.07 installed:
- Upgrade to KDE-5_15.09 and then remove the packages
  that no longer exist in KDE 5_15.09:
  * removepkg ConsoleKit
  * removepkg grantlee-qt5
  * removepkg kgamma
  * removepkg pairs

If you have my 'ktown' set of KDE 5_15.06 installed:
- No further actions are needed.

If you have my 'ktown' set of KDE 5_15.05 installed:
- Re-install the following 'ktown' packages:
  * kactivities-framework

If you have my 'ktown' set of KDE 5_15.04 installed:
- Remove packages that no longer exist in KDE 5_15.05:
  * removepkg qt-gstreamer0
- Re-install 'ktown' packages:
  * qt-gstreamer

If you have my 'ktown' set of KDE 5_15.03 installed:
- Remove packages that no longer exist in KDE 5_15.04:
  # removepkg gst1-plugins-base
  # removepkg gst1-plugins-good
  # removepkg gstreamer1
  # removepkg qt-gstreamer1
  # removepkg libmm-qt5
- Re-install original Slackware-current packages that were removed from "deps"
  in KDE 5_15.04 (this will be easiest using slackpkg):
  * LibRaw
  * akonadi
  * attica
  * cmake
  * eigen3
  * exiv2
  * grantlee
  * harfbuzz
  * libfakekey
  * libodfgen
  * librevenge
  * libssh
  * libwpd
  * orc
  * poppler
  * qt
  * shared-desktop-ontologies
  * soprano
  * strigi

Then proceed with installing/upgrading KDE 5 as outlined below.

To make it easy for you, here is a one-line command that downloads the whole
'5' directory (excluding the sources), with 32-bit and 64-bit packages
(and be careful of the 'dot' at the end of that command, it is part of the
commandline !!):

  # rsync -av rsync://alien.slackbook.org/alien/ktown/current/5 .

Or else, if you want to download packages for just one of the two supported
architectures, you would run one of the following commands instead (note that
there is a dot at the end of these commands!).

If you want only the 64-bit packages:
  # rsync -av --exclude=x86 rsync://alien.slackbook.org/alien/ktown/current/5 .
If you want only the 32-bit packages:
  # rsync -av --exclude=x86_64 rsync://alien.slackbook.org/alien/ktown/current/5 .

Assuming you just downloaded the bits you want from the directory tree
"5", you must now change your current directory to where you found this
README (which is the directory called '5').  If you used one of the
above "rsync" commands then you can simply do:

  # cd 5

From within this directory, you run the following commands as root (note that
some of the old KDE package names are obsoleted now, they have been split up,
renamed or integrated and that is the reason for the 'removepkg' lines):

  On Slackware 32-bit:
  # upgradepkg --reinstall --install-new x86/deps/*.t?z
  # upgradepkg --reinstall --install-new x86/deps/telepathy/*.t?z
  # upgradepkg --reinstall --install-new x86/kde/*/*.t?z

  On Slackware 64-bit:
  # upgradepkg --reinstall --install-new x86_64/deps/*.t?z
  # upgradepkg --reinstall --install-new x86_64/deps/telepathy/*.t?z
  # upgradepkg --reinstall --install-new x86_64/kde/*/*.t?z

  If you already have one or more non-english language packs installed:

  On Slackware 32-bit:
  # upgradepkg x86/kdei/*.t?z

  On Slackware 64-bit:
  # upgradepkg x86_64/kdei/*.t?z
  
  If you want to have a non-english language pack installed but none is
  currently installed, substitute your country code instead of the 'XX'
  in the next command:
  # upgradepkg --install-new x86_64/kdei/kde-l10n-XX-*.t?z

  Check if any ".new" configuration files have been left behind by
  the upgradepkg commands.  Compare them to their originals and decide
  if you need to use them.
  # find /etc/ -name "*.new"
  A graphical (ncurses) tool for processing these "*.new" files is slackpkg:
  # slackpkg new-config

Then reboot your system.

==============================================================================
                     Eric Hameleers / alien at slackware dot com / 13-oct-2015