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/
This commit is contained in:
Levi Neely 2026-10-08 12:24:48 +02:00
parent 01360b961d
commit af21dfa770
2 changed files with 8 additions and 16 deletions

View File

@ -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

View File

@ -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