Summary: | NO_LINK_TO_PLASMA option non-operational | ||
---|---|---|---|
Product: | [Plasma] plasma-mediacenter | Reporter: | Hrvoje Senjan <hrvoje.senjan> |
Component: | Shell | Assignee: | Sinny Kumari <ksinny> |
Status: | RESOLVED FIXED | ||
Severity: | grave | CC: | bhush94, cjbrathw, jr |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/plasma-mediacenter/65faa0886ca70baa531c0f2a4e5c3610bec8759e | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Patch to resolve the problem |
Description
Hrvoje Senjan
2014-06-06 20:59:23 UTC
forgot to mention, this is with 1.2.90. Git commit 6663a31f993d4d2c77c5786b7ffc4b69b1c52d18 by Bhushan Shah. Committed on 07/06/2014 at 23:47. Pushed by bshah into branch 'master'. Also bump soversion of plasmaadapter.so M +1 -1 libs/plasmaadapter/CMakeLists.txt http://commits.kde.org/plasma-mediacenter/6663a31f993d4d2c77c5786b7ffc4b69b1c52d18 need to re-open. in my local testing with above commit i did not pass NO_LINK_TO_PLASMA (facepalm) diff --git a/shells/newshell/mainwindow.cpp b/shells/newshell/mainwindow.cpp index 3c888f8..5c14eda 100644 --- a/shells/newshell/mainwindow.cpp +++ b/shells/newshell/mainwindow.cpp @@ -227,6 +227,7 @@ bool MainWindow::loadThemeAndPopulateMainscriptAndImagesPath(QString& mainscript QStringPrototype getImagesPath = (QStringPrototype) plasmaAdapterLib.resolve("getImagesPath"); if (!plasmaAdapterLib.isLoaded()) { + qDebug() << plasmaAdapterLib.errorString(); return false; } With this can you check what error it prints? My co-packager had this problem while building the package but turned out she just didn't have libplasmaadapter.so.1.3 installed, so make sure you have it installed *** Bug 337458 has been marked as a duplicate of this bug. *** Git commit 97197e3e6f0752803a32e3e58b0b1b8a32a34362 by Bhushan Shah. Committed on 22/08/2014 at 12:39. Pushed by bshah into branch 'master'. Add more debug to see why it is failing to load plasma libs M +1 -0 shells/newshell/mainwindow.cpp http://commits.kde.org/plasma-mediacenter/97197e3e6f0752803a32e3e58b0b1b8a32a34362 Those having this problems can rebuild with this commit and can give me output of plasma-mediacenter? Created attachment 88462 [details] Patch to resolve the problem (In reply to Jonathan Riddell from comment #5) > My co-packager had this problem while building the package but turned out > she just didn't have libplasmaadapter.so.1.3 installed, so make sure you > have it installed turns out the problem is not in 'missing' libplasmaadapter.so.1.3, but rather libplasmaadapter.so (i.e. the devel symlink). IOW only for distros that split the package to main, and devel one will the issue happen. Attached patched should fixed that (haven't tried yet whether it builds...) Git commit 65faa0886ca70baa531c0f2a4e5c3610bec8759e by Hrvoje Senjan. Committed on 28/08/2014 at 12:41. Pushed by hrvojes into branch 'master'. Avoid dlopening plasmaadapter's devel symlink Some distro's have PMC splitted to main and devel subpackage, in that case the lib to dlopen was not available to users w/o devel package installed, and made the bug exposed to them. REVIEW: 119964 M +5 -0 CMakeLists.txt A +3 -0 config-plasma-mediacenter.h.cmake M +1 -1 libs/mediacenter/CMakeLists.txt M +1 -1 libs/plasmaadapter/CMakeLists.txt M +1 -1 shells/newshell/CMakeLists.txt M +3 -1 shells/newshell/mainwindow.cpp http://commits.kde.org/plasma-mediacenter/65faa0886ca70baa531c0f2a4e5c3610bec8759e |