Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Plasma Desktop
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dan Leinir Turthra Jensen
Plasma Desktop
Commits
b53aed86
Commit
b53aed86
authored
Jun 04, 2020
by
Friedrich W. H. Kossebau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runners: port to new KRunner metadata system & install location
parent
075a4366
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
9 deletions
+7
-9
CMakeLists.txt
CMakeLists.txt
+1
-1
runners/kwin/CMakeLists.txt
runners/kwin/CMakeLists.txt
+2
-2
runners/kwin/kwin-runner.cpp
runners/kwin/kwin-runner.cpp
+1
-1
runners/kwin/plasma-runner-kwin.desktop
runners/kwin/plasma-runner-kwin.desktop
+0
-1
runners/plasma-desktop/CMakeLists.txt
runners/plasma-desktop/CMakeLists.txt
+2
-2
runners/plasma-desktop/plasma-desktop-runner.cpp
runners/plasma-desktop/plasma-desktop-runner.cpp
+1
-1
runners/plasma-desktop/plasma-runner-plasma-desktop.desktop
runners/plasma-desktop/plasma-runner-plasma-desktop.desktop
+0
-1
No files found.
CMakeLists.txt
View file @
b53aed86
...
...
@@ -6,7 +6,7 @@ set(PROJECT_VERSION "5.19.80")
set
(
PROJECT_VERSION_MAJOR 5
)
set
(
QT_MIN_VERSION
"5.12.0"
)
set
(
KF5_MIN_VERSION
"5.7
1
.0"
)
set
(
KF5_MIN_VERSION
"5.7
2
.0"
)
find_package
(
ECM
${
KF5_MIN_VERSION
}
REQUIRED NO_MODULE
)
set
(
CMAKE_MODULE_PATH
${
ECM_MODULE_PATH
}
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake/modules
)
...
...
runners/kwin/CMakeLists.txt
View file @
b53aed86
...
...
@@ -5,11 +5,11 @@ set(krunner_kwin_SRCS
)
add_library
(
krunner_kwin MODULE
${
krunner_kwin_SRCS
}
)
kcoreaddons_desktop_to_json
(
krunner_kwin plasma-runner-kwin.desktop
)
target_link_libraries
(
krunner_kwin
Qt5::DBus
KF5::KIOCore
KF5::I18n
KF5::Runner
)
install
(
TARGETS krunner_kwin DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
install
(
FILES plasma-runner-kwin.desktop DESTINATION
${
KDE_INSTALL_KSERVICES5DIR
}
)
install
(
TARGETS krunner_kwin DESTINATION
"
${
KDE_INSTALL_PLUGINDIR
}
/kf5/krunner"
)
runners/kwin/kwin-runner.cpp
View file @
b53aed86
...
...
@@ -25,7 +25,7 @@
#include <KLocalizedString>
K_EXPORT_PLASMA_RUNNER
(
kwin
,
KWinRunner
)
K_EXPORT_PLASMA_RUNNER
_WITH_JSON
(
KWinRunner
,
"plasma-runner-kwin.json"
)
static
const
QString
s_kwinService
=
QStringLiteral
(
"org.kde.KWin"
);
static
const
QString
s_keyword
=
QStringLiteral
(
"KWin"
);
...
...
runners/kwin/plasma-runner-kwin.desktop
View file @
b53aed86
...
...
@@ -84,7 +84,6 @@ Comment[zh_TW]=與 Plasma 合成器互動
X-KDE-ServiceTypes=Plasma/Runner
Type=Service
Icon=kwin
X-KDE-Library=krunner_kwin
X-Plasma-RunnerPhase=first
X-KDE-PluginInfo-Author=Plasma Team
X-KDE-PluginInfo-Email=plasma-devel@kde.org
...
...
runners/plasma-desktop/CMakeLists.txt
View file @
b53aed86
...
...
@@ -5,11 +5,11 @@ set(krunner_plasma-desktop_SRCS
)
add_library
(
krunner_plasma-desktop MODULE
${
krunner_plasma-desktop_SRCS
}
)
kcoreaddons_desktop_to_json
(
krunner_plasma-desktop plasma-runner-plasma-desktop.desktop
)
target_link_libraries
(
krunner_plasma-desktop
Qt5::DBus
KF5::KIOCore
KF5::I18n
KF5::Runner
)
install
(
TARGETS krunner_plasma-desktop DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
install
(
FILES plasma-runner-plasma-desktop.desktop DESTINATION
${
KDE_INSTALL_KSERVICES5DIR
}
)
install
(
TARGETS krunner_plasma-desktop DESTINATION
"
${
KDE_INSTALL_PLUGINDIR
}
/kf5/krunner"
)
runners/plasma-desktop/plasma-desktop-runner.cpp
View file @
b53aed86
...
...
@@ -26,7 +26,7 @@
#include <KLocalizedString>
K_EXPORT_PLASMA_RUNNER
(
plasma
-
desktop
,
PlasmaDesktopRunner
)
K_EXPORT_PLASMA_RUNNER
_WITH_JSON
(
PlasmaDesktopRunner
,
"plasma-runner-plasma-desktop.json"
)
static
const
QString
s_plasmaService
=
QLatin1String
(
"org.kde.plasmashell"
);
...
...
runners/plasma-desktop/plasma-runner-plasma-desktop.desktop
View file @
b53aed86
...
...
@@ -128,7 +128,6 @@ Comment[zh_TW]=與 Plasma 桌面 shell 互動
X-KDE-ServiceTypes=Plasma/Runner
Type=Service
Icon=plasma
X-KDE-Library=krunner_plasma-desktop
X-Plasma-RunnerPhase=first
X-KDE-PluginInfo-Author=Plasma Team
X-KDE-PluginInfo-Email=plasma-devel@kde.org
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment