[KDE/Mac] kmahjongg on KF5

Ian Wadham iandw.au at gmail.com
Fri Jan 16 04:33:55 UTC 2015


Hi Marko,

On 16/01/2015, at 12:09 PM, Marko Käning wrote:
> now that I have my old QSP patch (which included XDG_CONFIG_DIRS) back in my
> qt5 again I can go on playing kmahjongg! :-)
> 
> On 23 Dec 2014, at 12:38 , Ian Wadham <iandw.au at gmail.com> wrote:
>> Now live dangerously, try and change tile layout, tile theme
>> and background theme.  
> 
> I could change the board layout successfully, e.g. to “Well” or whatever. :)
> Changing tile theme and background is also possible. :)
</snip>

Thanks Marko, you have achieved a great set of results… :-)

>>> Could it be that on KF5 some signals go astray?
>> 
>> Could be true with KF5 on Mac.  KDE 4 uses KApplication and
>> its quit() slot.  KF5 apps would use QApplication's quit(), I think.
> 
> This seems to have been fixed in the meantime. :)

Things have changed since before Christmas… :-)  Laurent Montel has
kindly ported all the remaining games to KF5 ("frameworks" branch in each
repository), except that KSirK is still giving trouble, as you seem to have
noticed… ;-)  He also fixed up a few other things.  Now we are looking
for players to test the Linux/KF5 versions.  If successful, they can be
merged back into the master branch and released with Applications 15.04
in April.

The bad news is that, although KMahjongg works reasonably well, in both
KDE 4 and KF5 on Linux, there was an oversight a couple of years ago,
when a major branch, called "qgraphic" was not merged back into "master".

It provides faster and snappier graphics, based on Qt's QGraphicsView
classes.  So now we have divergent branches in KMahjongg.  I have taken
on the job of sorting it out, but it may take a while.  So KMahjongg is on the
back burner for now.

We are looking for testers of KF5+Linux versions of all the KDE Games.
Would you be interested in helping out, as a break from serious work?

> Clicking “Load” and “Save” is a sucker, as it cannot talk to klauncher,
> so that after a while the application crashes. :(
> 
> Also there are occasions that it likes to call kded5, which is not running,
> so that it falls back to calling kbuildsycoca5, which takes ages to finish,
> i.e. about a minute or so:
> ---
> kf5.kcoreaddons.kdirwatch: fsWatcher->addPath "/Users/marko"
> Couldn't start kded5 from org.kde.kded5.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded5 was not provided by any .service files") , falling back to running kbuildsycoca5

Aha!  Here we go again?… ;-)  What happens if you start kded5 before you
start your test?  Or even just run kbuildsycoca5 after building?

And what happens if you run the Linux/KF5 CI version of KMahjongg?
Does it still have troubles with file-I/O, kinit, kded and kbuildsycoca5?

> Also there are Phonon::FactoryPrivate::createBackend() warnings and other
> things.

> To sum it up, one can play the game fairly well, but one shouldn’t try
> to mess with files (yet). :-)
> 
> P.S.: Well, and of course all the icons are still missing in the GUI!!

Thanks for the summary.  I shall pass it on to the KDE Games group.

All the best, Ian W.



More information about the kde-mac mailing list