#48624: When installed by itself kde:ktouch starts with a blank screen, it is missing runtime dependancies --------------------------------+-------------------------------- Reporter: jonathan.k.hanks@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: kde:ktouch --------------------------------+-------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/48624> MacPorts <https://www.macports.org/> Ports system for OS X