Main menu:

Sponsoring

Please consider a small donation:

 

 

Or you can donate bitcoin:

 

Thanks to TekLinks in Birmingham, AL, for providing colocation and bandwidth.

Page Rank

Fame

FOSS Force Best Blog--2013 Award

Recent posts

Recent comments

About this blog

I am Eric Hameleers, and this is where I think out loud.
More about me.

Search

My Favourites

Slackware

Calendar

October 2014
M T W T F S S
« Sep    
 12345
6789101112
13141516171819
20212223242526
2728293031  

RSS Alien's Slackware packages

RSS Alien's unofficial KDE Slackware packages

RSS Alien's multilib packages

Meta

Starting with KDE 4.6

Hi folks!

It took a while, because I have been fighting with properly packaging the LibreOffice software for so long, and playing with slackware-current to find bugs and areas of improvement.

But I finally found time to work on a set of Slackware packages for the second beta of the KDE 4.6 Software Compilation. The release of version 4.5.85, otherwise known as “4.6-beta2″ was a few days ago. I had been following the issues which were reported in the days before making the sources public, so it was not too difficult to prepare the dependencies and update Slackware’s KDE build scripts.

Note #1: running Slackware-current (32-bit or 64-bit) is a requirement! Slackware 13.1 is simply too old for my packages.

Note #2: this is beta software, some things will not work reliable or are broken. Do not use this on machines you depend on for your daily work unless you know what you are doing! Use at your own risk!

Apart from the new KDE packages, there are several Slackware packages that need upgrading if you decide you want to test KDE 4.6-beta2. Also, four new non-KDE packages have entered the arena: these are libatasmart,sg3-utils, udisks and upower. The new packages are required because KDE 4.6 no longer depends on HAL. Instead, it uses udisks and upower (born out of the DeviceKit family). The reason is simple: HAL is no longer developed. The X.Org developers took this step away from HAL earlier during the development of X11R7.6 (the version of X in slackware-current does not use HAL anymore). This happened for the same reasons, however X.Org talks to udev directly and does not need udisks and upower. I wish KDE would have done the same… it seems we are now stuck with these DeviceKit offsprings…

Where are the packages?

Packages are available as usual in my “ktown” repository: http://alien.slackbook.org/ktown/4.5.85/ which is mirrored to http://taper.alienbase.nl/mirrors/alien-kde/ and http://repo.ukdw.ac.id/alien-kde/.

I have added a nice README with instructions on how to install or upgrade to this beta2 of KDE 4.6.

What are my experiences so far with this new software?

  • Of course, the first thing I tried was disabling HAL entirely by running “chmod -x /etc/rc.d/rc.hald” and rebooting.. That went well enough, apart from a piece of audio hardware that was no longer recognized: “HDA Intel (CONEXANT analog)” but I still have proper sound anyway. KDE will complain about hardware that goes missing and will ask you if it should forget about that hardware altogether, or ask again next time.
  • I found that k3b and kaudiocreator no longer worked. I have built new packages for both, with the latest sources checked out from the repositories, and that fixed k3b. Unfortunately, kaudiocreator still crashes on startup, complaining about “QSocketNotifier: Invalid socket 10 and type ‘Read’“. This is caused by the same change in the Solid API which made k3b crash initially, but that team fixed it. If you find a patch for kaudiocreator, tell me!
  • After the upgrade, I had big issues with akonadi. As you may know, akonadi is the storage service for PIM data (kmail wants to store its emails there) and meta data indexed by Strigi and Nepomuk. The upgrade from 4.5.4 to 4.5.85 caused disruption here. On login to KDE, I found that several instances of akonadi_control were being started as well multiple instances of mysqld (akonadi uses MySQL as the database backend) and every time I started KDE, more of these processes would run and all of them would complain about their brethren.  I have not found a decent troubleshooting and repair guide for Akonadi, and out of despair I deleted the akonadi directories “~/.local/share/akonadi” and “~/.config/akonadi” entirely… now that solved the issues!  However, you really do not want to end up with this scenario, especially if all your emails are stored in an akonadi database. Akonadi developers, please provide better documentation on how to fix a broken service!
  • I found that the guidance-power-manager package is no longer needed, because KDE’s own power-devil does a good job of managing the power. I simply removepkg-ed the guidance-power-manager.  There is a widget with a l battery gauge if you need one – it is not added to the system tray by default.
  • I added a package for “kwebkitpart” so that you can now switch konqueror’s rendering engine from KHTML to Webkit (which is a descendant of KHTML).

To sum it all up: if you are adventurous, get my packages and upgrade your Slackware computer with them. It’s a lot of fun trying to find the quirks and bugs in new software, especially if you find fixes for them. And generally, this software works well, even if it is still e beta. But like I said before, you should not use this beta software on a computer that you depend on for your daily business… unless you know what you are doing and are confident that you can overcome any hurdles.

Post your findings in the Slackware forum of linuxquestions.org. Or even better: let me know right here on this blog, and I’ll try to help you out.

Have fun, Eric.

Comments

Pingback from Tweets that mention Alien Pastures » Starting with KDE 4.6 — Topsy.com
Posted: December 13, 2010 at 01:10

[...] This post was mentioned on Twitter by Ariel Jolo, Eric Hameleers. Eric Hameleers said: Starting with KDE 4.6: Hi folks! It took a while, because I have been fighting with properly packaging the Libre… http://bit.ly/eQpNiU [...]

Comment from Willy Sudiarto Raharjo
Posted: December 13, 2010 at 03:59

Hi Eric,

Thanks for bringing this packages up. I have downloaded and tried it on my workstation.

Somehow, Konqueror is unable to save the proxy changes setting in my system (i started with a new .kde directory). Is it reproducible in your system as well?

I don’t see major problem so far, but i will post it here if i do find one

Comment from Grissiom
Posted: December 13, 2010 at 04:05

I’m not the lucky man… Sound in KDE won’t work if hald not running. It shows that only “HDMI Audio Output” is recognized by phonon and “STAC92xx Analog” is not working. So Amarok won’t output anything when playing audio. sh /etc/rc.d/rc.hald start and restart KDE fixed it.

Chromium works both with/without hald.

Comment from Grissiom
Posted: December 13, 2010 at 06:25

Other issues:
1, plasma crashes when I logout. Not a big issue and I will try to cleanup the old files and see.

2, when I plug in a usb key, KDE shows two entry in the notification. It should be only one since there is only one partition in it…

Comment from dolphin77
Posted: December 13, 2010 at 11:33

I decided to take the risk and install it to my main computer. And have to report that everything works fine up till now. I cannot comment on akonadi issues, since I use thunderbird for mail. But looks good, I didn’t have to switch anything for desktop effects to work. If will find any issues will try to trace and report. Thank you once again, Eric.

Comment from Willy Sudiarto Raharjo
Posted: December 13, 2010 at 17:42

@Grissiom:
On my system, logout process seems a little bit faster in 4.6 rather than in 4.5 and no crashes.. weird.

Comment from rahulrp
Posted: December 13, 2010 at 18:53

I am running kde4.5.4, I suppose the guidance power manager is not required here as well, powerdevil does a good work.

Comment from Bill Kirkpatrick
Posted: December 13, 2010 at 20:38

I have just finished upgrading both my laptop & my desktop with no showstoppers. However, since, on my desktop, I got the “Ignore audio hardware” dialog, I opened VLC to check that audio worked. When I clicked “Media->Open File”, it took just over two minutes to open the menu. After that initial delay, the menu opens normally. Oh, audio works fine once I get a file open. It just seems like four forevers before the first menu opens. Also, it acts the same way on my laptop.
Regards,
Bill
(TSquaredF)

Comment from spc
Posted: December 13, 2010 at 22:09

Is hal required alongside udisks/upower or the latter is doing fine on its own??
Does it mean that HAL might be scrapped in next slackware stable ??
Xfce 4.8, I think, they don’t rely on HAL anymore.

Comment from spc
Posted: December 13, 2010 at 22:10

Is hal required alongside udisks/upower or the latter is doing fine on its own??
Does it mean that HAL might be scrapped in next slackware stable ??
Xfce 4.8, I think, they don\’t rely on HAL anymore.

Comment from Willy Sudiarto Raharjo
Posted: December 13, 2010 at 23:57

I’m still running HAL on my systems and i think it’s too risky to remove HAL for now. Perhaps for Slackware 14?

Comment from y0g1
Posted: December 14, 2010 at 08:24

Hello, nice work Eric, thanks.
Could someone tell me if smtp in kmail2 works? I have no success with it.

Comment from ponce
Posted: December 14, 2010 at 13:10

tried a rebuild for fun with latest 4.5.86 and qt 4.7.1

ftp://ftp.kde.org/pub/kde/unstable/4.5.86/src/

and seems to work fine :)

but the issue with smtp not working in kmail seems still there.

FYI, kdebindings 4.5.86 doesn’t need the patch but doesn’t also build ;)
and I rewrote the patch for kdenetwork (hope it works!), because it changed a little

http://pastebin.com/R5EXgs8N

Comment from ponce
Posted: December 14, 2010 at 13:14

sorry for double posting, but I forgot an important thing: before rebuilding all on the virtual machine, I uninstalled hal.
and I removpkg’d it also from my laptop.
solid still tries to find hal devices (but seems innocuos).

Comment from ponce
Posted: December 14, 2010 at 14:21

good news: with this fresh patch for kdelibs hal can be switched off and solid won’t complain anymore :)

https://bugs.kde.org/show_bug.cgi?id=229643

Comment from Grissiom
Posted: December 15, 2010 at 03:19

With a new .kde folder, plasma doesn’t crash at logout.

Comment from y0g1
Posted: December 15, 2010 at 09:50

Hello,
I have found the solution. I opened akonadiconsole and add Mail Dispatcher Agent.
Now smtp from kmail works.

Comment from alienbob
Posted: December 15, 2010 at 14:24

Thanks y0g1.

I saw that you posted this on LQ as well.

For the others reading this blog – this is the LQ thread about my KDE 4.6-beta2 packages: http://www.linuxquestions.org/questions/slackware-14/the-kde-4-6-beta-2-issues-thread-849917/

Eric

Comment from alienbob
Posted: December 15, 2010 at 14:25

Hi Ponce

I am going to rebuild the kdelibs package with that solid patch, thanks.

Eric

Comment from ponce
Posted: December 15, 2010 at 14:53

I think with that applied k3b will stop finding devices: here is complaining that it needs hal for managing devices while it should rely only on solid. :(

also this will obviously expose problems like what I’m having with k3b, kaudiocreator (segf) and k9copy (segf), and maybe other things that need, as you said, full support for the latest version of this kdelibs component…
but it is surely the better way to spot this need-to-be-updated stuff :)

on a side note, I had also an annoying kresource manager migration tool going on at every login, I silenced it with this

http://techbase.kde.org/Projects/PIM/Akonadi#How_do_I_disable_automatic_migration_from_KDE.27s_traditional_framework.3F

Comment from escaflown
Posted: December 17, 2010 at 02:00

That’s the only bug I noticed so far: kde(22436): Communication problem with “kmail2″ , it probably crashed.
Error message was: “org.freedesktop.DBus.Error.NoReply” : ” “Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.” “

Comment from ponce
Posted: December 17, 2010 at 10:30

gotta correct myself: tried on another pc and k3b is working fine without hal, so checked better on the lappie and my dvd is broken :(
the message “k3b needs hal” has been a little misleading :P

Comment from alienbob
Posted: December 17, 2010 at 14:56

I have added a grantlee package to the “deps”, and rebuilt kdelibs and kdepim against that. I also patched the updated kdelibs package so that solid no longer uses HAL.
Additionally you will find new packages for kdevplatform and kdevelop (this is Kdevelop 4.2-beta1). Kdevelop 4.2 is a required update for users of KDE 4.6.

If you need another phonon backend than xine (disabling HAL seems to kill the sound for some people if phonon is using this backend): I have packages in my “normal” repository for phonon-mplayer and phonon-vlc (the latter one requires that a vlc package is installed as well).

Eric

Comment from Willy Sudiarto Raharjo
Posted: December 17, 2010 at 17:55

Asian Mirror synced

Comment from alienbob
Posted: December 17, 2010 at 23:32

The KDEPIM team just sent an announcement email: they will not have a 4.6 release in time for KDE 4.6. Instead they aim at having a 4.4.x release ready that will work with KDE 4.6 when that is released….

What a pity.

Eric

Comment from alienbob
Posted: December 17, 2010 at 23:46

Tonight I tried another update to KDE 4.6-beta2, this time on the 32-bit Slackware-current laptop of my wife.
Sure enough, I had the same akonadi issues where multiple instances of mysqld were started, causing akonadiserver to fail.

This time I did not ruthlessly remove the old akonadi configuration, but just ran “mv ~/.config/akonadi ~/.config/akonadi.orig” (after using “kill -KILL” to get rid of akonadi_control, akonadiserver and the mysqld processes).
Then I started akonadi again, and this time no errors!
So I ran a diff on the newly created ~/.config/akonadi directory and noticed that akonadi changed the directory where the UNIX sockets are created for the inter-process communication.
These are the relevant parts:

diff -r akonadi.orig/akonadiconnectionrc akonadi/akonadiconnectionrc
3c3
< UnixPath=/home/alien/.local/share/akonadi/akonadiserver.socket
---
> UnixPath=/home/alien/.local/share/akonadi/socket-tee41/akonadiserver.socket

diff -r akonadi.orig/akonadiserverrc akonadi/akonadiserverrc
4c7
< Options="UNIX_SOCKET=/home/alien/.local/share/akonadi/db_misc/mysql.socket"
---
> Options=”UNIX_SOCKET=/home/alien/.local/share/akonadi/socket-tee41/mysql.socket”

The new socket directory is created in /tmp :

~/.local/share/akonadi/socket-tee41 -> /tmp/akonadi-alien.Rn59LE

The “tee41″ is the hostname for this laptop.

Next time I perform an upgrade, I will try just to fix the two socket directories in akonadi’s configuration files, and see if that cures the akonadi misbehaviour.

Eric

Comment from Willy Sudiarto Raharjo
Posted: December 18, 2010 at 02:17

Hi Eric,

after applying your latest rebuilt, with/without HAL, my sound card is no longer working.

Comment from Willy Sudiarto Raharjo
Posted: December 18, 2010 at 02:42

OK, got it working by installing phonon-mplayer and phonon-vlc package from your repository, but i will hear the same tones when i logged in to KDE and when i logged out from KDE.

I still prefer to use the old guidance package to see my battery monitor as it gives more information than the new KDE dependency

Comment from Christopher Reimer
Posted: December 22, 2010 at 14:43

Hi alien,

everything works fine, except the little “Digital Clock” in the lower right corner. There’s only a red X.

Comment from alienbob
Posted: December 22, 2010 at 15:04

Strange, I have a digital clock, no red ‘X’, and I did not have to fix anything for that.

Eric

Comment from dolphin77
Posted: December 23, 2010 at 12:49

Any chance to see kde-4.5.90 (ftp://ftp.kde.org/pub/kde/unstable/latest/src/) builds soon? Wondering, because It seems that powermanagement doesn’t work properly with upower and without HAL.

Comment from ponce
Posted: December 23, 2010 at 17:08

http://taper.alienbase.nl/mirrors/alien-kde/4.5.90/

thanks and merry christmas to you too, Eric :)

Pingback from Alien Pastures » KDE 4.6 first release candidate
Posted: December 24, 2010 at 00:48

[...] I have not experienced all that many. You can read my previous article on KDE 4.6 beta here: http://alien.slackbook.org/blog/starting-with-kde-4-6. KDE no longer needs HAL, but if you disable it, the k3b CD-writing software will complain about [...]

Pingback from alien’s KDE 4.6RC1 always run /usr/bin/strigidaemon after login…
Posted: December 25, 2010 at 17:30

[...] you looked at http://alien.slackbook.org/blog/starting-with-kde-4-6/ Kind [...]

Pingback from Alien Pastures » KDE 4.6 second release candidate
Posted: January 6, 2011 at 13:59

[...] can read my previous article on KDE 4.6 beta and RC1 here: http://alien.slackbook.org/blog/starting-with-kde-4-6 and http://alien.slackbook.org/blog/kde-4-6-first-release-candidate/. KDE 4.6 no longer needs HAL I [...]

Write a comment