-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
1,151 additions
and
953 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
.kdev4 | ||
system_panel.kdev4 | ||
|
||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Copyright (c) 2016 Carlos López Sánchez <musikolo{AT}hotmail[DOT]com> | ||
Copyright (c) 2024 Carlos López Sánchez <musikolo{AT}hotmail[DOT]com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
# (0) Minimum Requirements (tested, but might be lower) | ||
- Qt >= 5.4.0 | ||
- KDE Workspace >= 5.4.0 | ||
- Plasma Framework >= 5.19 | ||
- extra-cmake-modules >= 5.38.0 | ||
- Qt >= 6.6.0 | ||
- Plasma Workspace >= 6.0.0 | ||
- Plasma Framework >= 6.0.0 | ||
- extra-cmake-modules >= 6.0.0 | ||
|
||
# (1) Standard way: having root permission | ||
cd /path/to/system_panel/ | ||
mkdir build | ||
cd build | ||
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release -DLIB_INSTALL_DIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ../src/ | ||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DLIB_INSTALL_DIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ../src/ | ||
make | ||
make install | ||
|
||
# (2) Alternative way: having non-root permission | ||
cd /path/to/system_panel/ | ||
mkdir build | ||
cd build | ||
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` --prefix` -DCMAKE_BUILD_TYPE=Release -DLIB_INSTALL_DIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ../src/ | ||
cmake -DCMAKE_INSTALL_PREFIX=~/local/share --prefix` -DCMAKE_BUILD_TYPE=Release -DLIB_INSTALL_DIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ../src/ | ||
make | ||
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
- Add contextual menu with unselected options | ||
- Select custom action | ||
- Add About tab in the Settings window | ||
- Improve the turnOffScreen operation to rely on DBus rather than command execution. | ||
- Port confirmation dialog for sleep and hibernate actions. | ||
- Add contextual menu with not displayed actions. | ||
- Implement feature to allow running custom actions. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) | ||
cmake_minimum_required(VERSION 3.16 FATAL_ERROR) | ||
project(plasma-applet-system-panel) | ||
|
||
set(QT_MIN_VERSION "5.4.0") | ||
set(KF5_MIN_VERSION "5.0.0") | ||
|
||
find_package(ECM 0.0.11 REQUIRED NO_MODULE) | ||
set(QT_MIN_VERSION "6.6.0") | ||
set(KF6_MIN_VERSION "6.0.0") | ||
|
||
find_package(ECM ${KF6_MIN_VERSION} REQUIRED NO_MODULE) | ||
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) | ||
|
||
include(KDEInstallDirs) | ||
include(KDECMakeSettings) | ||
include(KDECompilerSettings) | ||
include(KDEInstallDirs6) | ||
include(KDECMakeSettings NO_POLICY_SCOPE) | ||
|
||
find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Quick) | ||
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Plasma) | ||
find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED Quick) | ||
find_package(Plasma ${KF6_MIN_VERSION} REQUIRED) | ||
|
||
add_subdirectory(plugin) | ||
add_subdirectory(translations) | ||
|
||
plasma_install_package(package org.kde.plasma.systempanel) | ||
|
||
install( DIRECTORY image/breeze DESTINATION ${ICON_INSTALL_DIR}) | ||
install( DIRECTORY image/breeze-dark DESTINATION ${ICON_INSTALL_DIR}) | ||
message(STATUS "Install directory KDE_INSTALL_ICONDIR=${KDE_INSTALL_ICONDIR}") | ||
install( DIRECTORY image/breeze DESTINATION ${KDE_INSTALL_ICONDIR}) | ||
install( DIRECTORY image/breeze-dark DESTINATION ${KDE_INSTALL_ICONDIR}) |
Oops, something went wrong.