From af21dfa7704a76e3148d87d35841b4c123740317 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Thu, 8 Oct 2026 12:24:48 +0200 Subject: [PATCH] kde: remove KF5 .protocol file, use KF6 JSON metadata The ollie.protocol file was being installed to kservices5/, which is the KF5 mechanism. KF6 KIO workers embed protocol metadata in the plugin's JSON file (ollie.json), which we already have. Remove: - kio/ollie.protocol file - CMake install rule for .protocol file Manual cleanup needed: sudo rm -rf /usr/local/share/kservices5/ --- kde/CMakeLists.txt | 9 ++++++++- kde/kio/ollie.protocol | 15 --------------- 2 files changed, 8 insertions(+), 16 deletions(-) delete mode 100644 kde/kio/ollie.protocol diff --git a/kde/CMakeLists.txt b/kde/CMakeLists.txt index eed0f09..5221f68 100644 --- a/kde/CMakeLists.txt +++ b/kde/CMakeLists.txt @@ -1,6 +1,11 @@ cmake_minimum_required(VERSION 3.16) project(kde-ollie VERSION 0.1.0 LANGUAGES CXX) +# Default to user-local install if no prefix specified +if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) + set(CMAKE_INSTALL_PREFIX "$ENV{HOME}/.local" CACHE PATH "Install prefix" FORCE) +endif() + # Ensure Qt6 is used set(QT_DEFAULT_MAJOR_VERSION 6) @@ -140,6 +145,7 @@ qt_add_resources(ollie-gui "gui" gui/NewSessionDialog.qml gui/NewAgentDialog.qml gui/GoalDialog.qml + gui/ProcManagerDialog.qml gui/ChatBlockDelegate.qml gui/SessionTree.qml gui/ChatPane.qml @@ -147,4 +153,5 @@ qt_add_resources(ollie-gui "gui" # --- Install --- install(TARGETS ollie-gui DESTINATION ${KDE_INSTALL_BINDIR}) -install(FILES kio/ollie.protocol DESTINATION ${KDE_INSTALL_KSERVICESDIR}) +# Note: KIO protocol is defined via ollie.json embedded in the plugin (KF6 style) +# The ollie.protocol file is not needed for KF6 diff --git a/kde/kio/ollie.protocol b/kde/kio/ollie.protocol deleted file mode 100644 index db30a77..0000000 --- a/kde/kio/ollie.protocol +++ /dev/null @@ -1,15 +0,0 @@ -[Protocol] -exec=kio_ollie -protocol=ollie -input=none -output=filesystem -reading=true -writing=true -makedir=true -deleting=true -renaming=true -listing=Name,Type,Size,Date,Access -opening=false -Icon=ollie -Class=:local -Description=Browse the Ollie 9P namespace