-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-initial commit based on the latest Now Dock from the corona branch and beautiful techniques and designs from the Candil Dock
- Loading branch information
0 parents
commit f9ec1fa
Showing
102 changed files
with
20,279 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*~ | ||
.* | ||
!.gitignore | ||
build | ||
corona/build | ||
*.kdev4 | ||
|
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 |
---|---|---|
@@ -0,0 +1,86 @@ | ||
project(nowdock) | ||
cmake_minimum_required(VERSION 3.0 FATAL_ERROR) | ||
|
||
set (CMAKE_CXX_STANDARD 11) | ||
set(VERSION 0.5.88) | ||
set(AUTHOR "Michail Vourlakos") | ||
set(EMAIL "mvourlakos@gmail.com") | ||
set(WEBSITE "https://store.kde.org/p/1154578/") | ||
|
||
set(QT_MIN_VERSION "5.6.0") | ||
set(KF5_MIN_VERSION "5.26.0") | ||
|
||
find_package(ECM 1.8.0 REQUIRED NO_MODULE) | ||
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) | ||
|
||
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS | ||
Quick QuickWidgets) | ||
|
||
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS | ||
Plasma PlasmaQuick WindowSystem Declarative | ||
I18n CoreAddons XmlGui DBusAddons Notifications) | ||
|
||
FIND_PROGRAM(GETTEXT_MSGFMT_EXECUTABLE msgfmt) | ||
|
||
IF(NOT GETTEXT_MSGFMT_EXECUTABLE) | ||
MESSAGE( | ||
"------ | ||
NOTE: msgfmt not found. Translations will *not* be installed | ||
------") | ||
ELSE(NOT GETTEXT_MSGFMT_EXECUTABLE) | ||
|
||
SET(catalogname plasma_applet_org.kde.nowdock.containment) | ||
|
||
ADD_CUSTOM_TARGET(translations-containment ALL) | ||
|
||
FILE(GLOB PO_FILES po/containment/*.po) | ||
|
||
FOREACH(_poFile ${PO_FILES}) | ||
GET_FILENAME_COMPONENT(_poFileName ${_poFile} NAME) | ||
STRING(REGEX REPLACE "^${catalogname}_?" "" _langCode ${_poFileName} ) | ||
STRING(REGEX REPLACE "\\.po$" "" _langCode ${_langCode} ) | ||
|
||
IF( _langCode ) | ||
GET_FILENAME_COMPONENT(_lang ${_poFile} NAME_WE) | ||
SET(_gmoFile ${CMAKE_CURRENT_BINARY_DIR}/containment/${_lang}.gmo) | ||
|
||
ADD_CUSTOM_COMMAND(TARGET translations-containment | ||
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --check -o ${_gmoFile} ${_poFile} | ||
DEPENDS ${_poFile}) | ||
INSTALL(FILES ${_gmoFile} DESTINATION ${LOCALE_INSTALL_DIR}/${_langCode}/LC_MESSAGES/ RENAME ${catalogname}.mo) | ||
ENDIF( _langCode ) | ||
ENDFOREACH(_poFile ${PO_FILES}) | ||
|
||
SET(catalogname2 plasma_applet_org.kde.store.nowdock.plasmoid) | ||
ADD_CUSTOM_TARGET(translations-plasmoid ALL) | ||
|
||
FILE(GLOB PO_FILES2 po/plasmoid/*.po) | ||
|
||
FOREACH(_poFile ${PO_FILES2}) | ||
GET_FILENAME_COMPONENT(_poFileName ${_poFile} NAME) | ||
STRING(REGEX REPLACE "^${catalogname2}_?" "" _langCode ${_poFileName} ) | ||
STRING(REGEX REPLACE "\\.po$" "" _langCode ${_langCode} ) | ||
|
||
IF( _langCode ) | ||
GET_FILENAME_COMPONENT(_lang ${_poFile} NAME_WE) | ||
SET(_gmoFile ${CMAKE_CURRENT_BINARY_DIR}/plasmoid/${_lang}.gmo) | ||
|
||
ADD_CUSTOM_COMMAND(TARGET translations-plasmoid | ||
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --check -o ${_gmoFile} ${_poFile} | ||
DEPENDS ${_poFile}) | ||
INSTALL(FILES ${_gmoFile} DESTINATION ${LOCALE_INSTALL_DIR}/${_langCode}/LC_MESSAGES/ RENAME ${catalogname2}.mo) | ||
ENDIF( _langCode ) | ||
ENDFOREACH(_poFile ${PO_FILES}) | ||
|
||
ENDIF(NOT GETTEXT_MSGFMT_EXECUTABLE) | ||
|
||
add_subdirectory(libnowdock) | ||
add_subdirectory(containment) | ||
plasma_install_package(build/containment/release org.kde.nowdock.containment) | ||
add_subdirectory(plasmoid) | ||
plasma_install_package(build/plasmoid/release org.kde.store.nowdock.plasmoid) | ||
|
||
plasma_install_package(shell org.kde.nowdock.shell shells shell) | ||
|
||
add_subdirectory(corona) | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
About | ||
===== | ||
This is a panel and plasmoid for Plasma 5 which is trying to implement a | ||
mac style effect for its applets. It uses the Now Dock plasmoid | ||
for its configuration and complements it as one single area | ||
for which the user can add its applets. The applets as the user | ||
windows are going to create a nice zoom effect on hovering. | ||
|
||
Installation | ||
============ | ||
|
||
- **Notice:** First uninstall any locally installed now dock components by using the **uninstall-local.sh** script | ||
|
||
####installation script#### | ||
- _sh install-global.sh_ | ||
|
||
Now Dock Panel is now ready to be used from right-click menu in the Desktop | ||
|
||
Translators | ||
============ | ||
For translations you can use the **po/nowdockpanel/plasma_applet_org.kde.store.nowdock.panel.pot**, **po/nowdockplasmoid/plasma_applet_org.kde.store.nowdock.plasmoid.pot** files and either make a **Pull Request** for your language or upload the your language file at https://github.com/psifidotos/nowdock-panel/issues/17 | ||
|
||
|
||
Requirements | ||
========== | ||
* Plasma >= 5.8.0 | ||
|
||
**development packages for:** | ||
|
||
* Qt5Core >= 5.6.0 | ||
* Qt5Qml >= 5.6.0 | ||
* Qt5Quick >= 5.6.0 | ||
|
||
* KF5Plasma >= 5.25.0 | ||
* KF5PlasmaQuick >= 5.25.0 | ||
* KF5WindowSystem >= 5.25.0 | ||
* KF5KDELibs4Support >= 5.25.0 | ||
* KF5CoreAddons >= 5.25.0 | ||
|
||
|
||
|
||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#BracketStyleOptions | ||
--style=stroustrup | ||
--keep-one-line-blocks | ||
--keep-one-line-statements | ||
|
||
#TabOptions | ||
# --indent=force-tab=4 | ||
--indent=spaces=4 | ||
|
||
#BracketModifyOptions | ||
--attach-namespaces | ||
--attach-inlines | ||
|
||
#FormattingOptions | ||
--convert-tabs | ||
--max-code-length=80 | ||
--keep-one-line-blocks | ||
--keep-one-line-statements | ||
--close-templates | ||
--max-code-length=200 | ||
|
||
#IndentationOptions | ||
--indent-switches | ||
--indent-preproc-block | ||
--indent-preproc-define | ||
--min-conditional-indent=1 | ||
--max-instatement-indent=40 | ||
|
||
#PaddingOptions | ||
--break-blocks | ||
--pad-oper | ||
--unpad-paren | ||
--pad-header | ||
--fill-empty-lines | ||
--align-pointer=name | ||
--align-reference=name | ||
|
||
#Others | ||
--preserve-date | ||
--verbose |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[Desktop Entry] | ||
Encoding=UTF-8 | ||
_Name=Now Dock | ||
_Comment=A dock for Plasma that tries to animate its plasmoids on hovering | ||
|
||
Type=Service | ||
Keywords= | ||
NoDisplay=true | ||
|
||
X-KDE-PluginInfo-Author=@AUTHOR@ | ||
X-KDE-PluginInfo-Email=@EMAIL@ | ||
X-KDE-PluginInfo-Name=org.kde.nowdock.containment | ||
X-KDE-PluginInfo-Version=@VERSION@ | ||
X-KDE-PluginInfo-Website=@WEBSITE@ | ||
X-KDE-PluginInfo-Category= | ||
X-KDE-PluginInfo-Depends= | ||
X-KDE-PluginInfo-License=GPL | ||
X-KDE-PluginInfo-EnabledByDefault=true | ||
X-KDE-ServiceTypes=Plasma/Applet,Plasma/Containment | ||
X-Plasma-API=declarativeappletscript | ||
X-Plasma-MainScript=ui/main.qml | ||
X-Plasma-ContainmentType=Panel |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
file(COPY "contents" DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/release) | ||
#update the version number in the configuration window | ||
configure_file(metadata.desktop.cmake release/metadata.desktop) |
Oops, something went wrong.