Opened 9 years ago

Closed 9 years ago

#48624 closed defect (fixed)

ktouch: When installed by itself it starts with a blank screen, it is missing runtime dependencies

Reported by: jonathan.k.hanks@… Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: haspatch Cc:
Port: ktouch

Description

Ktouch builds and launches, but is left with a blank screen. Checking the terminal output reveals missing runtime dependencies.

When only ktouch is installed (not the whole of KDE) it needs additional dependencies. Even if all of kde4 is installed, it may be missing the last dependancy in this ticket, which does not appear to have a port.

Through this all ktouch builds and launches. However the screen in blank due to missing runtime dependancies (db driver, base kde qml files, and charting libraries).

The first error, is that it needs a qt database plugin.

'QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:'

So I have added qt-mac-slqite3-plugin. This may not be needed as kde4-runtime pulls in qt-mac-mariadb-plugin. But this does not require a database server to run ktouch.

The second error is it needs a base set of plasma's qml files.

$ /Applications/MacPorts/KDE4/ktouch.app/Contents/MacOS/ktouch
file:///opt/local/share/apps/ktouch/qml/main.qml:114:5: Type HomeScreen unavailable 
         HomeScreen { 
         ^ 
file:///opt/local/share/apps/ktouch/qml/HomeScreen.qml:19:1: module "org.kde.plasma.core" is not installed 
     import org.kde.plasma.core 0.1 as PlasmaCore 

These are found in kde4-runtime

The third error is a missing kde package.

$ /Applications/MacPorts/KDE4/ktouch.app/Contents/MacOS/ktouch
file:///opt/local/share/apps/ktouch/qml/main.qml:114:5: Type HomeScreen unavailable 
         HomeScreen { 
         ^ 
file:///opt/local/share/apps/ktouch/qml/HomeScreen.qml:155:26: Type ProfileSelector unavailable 
                     content: ProfileSelector { 
                              ^ 
file:///opt/local/share/apps/ktouch/qml/ProfileSelector.qml:98:13: Type ProfileDetailsItem unavailable 
                 ProfileDetailsItem { 
                 ^ 
file:///opt/local/share/apps/ktouch/qml/ProfileDetailsItem.qml:22:1: module "org.kde.charts" is not installed 
     import org.kde.charts 0.1 as Charts 
     ^ 

According to the kde bug tracker this is a distribution/packaging bug.

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

The charting functionality was broken out into a new package kqtquickcharts so that it could be shared with another application. I do not have a portfile for this package. I simply downloaded it from the kde project and installed it manually, symlinking it into my macports tree.

I've included a diff to the portfile which adds the db plugin and kde4 runtime. I have not had time to look at a port file for the kqtquickcharts.

Attachments (1)

Ktouch.portfile.diff (352 bytes) - added by jonathan.k.hanks@… 9 years ago.
Portfile patch that fixes most of the issues.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by jonathan.k.hanks@…

Attachment: Ktouch.portfile.diff added

Portfile patch that fixes most of the issues.

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added
Owner: changed from macports-tickets@… to nicos@…
Port: ktouch added; kde:ktouch removed
Summary: When installed by itself kde:ktouch starts with a blank screen, it is missing runtime dependanciesktouch: When installed by itself it starts with a blank screen, it is missing runtime dependencies

The port's revision would also need to be increased.

comment:2 Changed 9 years ago by NicosPavlov

Resolution: fixed
Status: newclosed

Thanks for the detailed report. I had indeed missed the additional dependencies. The new port kqtquickcharts has been added in r139607, and the missing dependencies have been added in r139608.

Note: See TracTickets for help on using tickets.