summaryrefslogtreecommitdiffstats
path: root/applications
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-17 15:40:48 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-17 15:55:41 +0200
commit8bac76742270829a0e8753eb53a1cc7384dda323 (patch)
tree04fecdbf8f1d01c479ed58f93354f8cdece61bea /applications
parentb8d76329bced92d712185e5588dfd6061e8fe0f6 (diff)
downloadkube-8bac76742270829a0e8753eb53a1cc7384dda323.tar.gz
kube-8bac76742270829a0e8753eb53a1cc7384dda323.zip
Generate both appdata and desktop files.
..making the kolabnow branch obsolete.
Diffstat (limited to 'applications')
-rw-r--r--applications/kube/CMakeLists.txt20
-rw-r--r--applications/kube/kube.appdata.xml.in (renamed from applications/kube/org.kde.kube.appdata.xml)10
-rwxr-xr-xapplications/kube/kube.desktop.in10
-rwxr-xr-xapplications/kube/org.kde.kube.desktop10
4 files changed, 33 insertions, 17 deletions
diff --git a/applications/kube/CMakeLists.txt b/applications/kube/CMakeLists.txt
index 3e5e1d57..4495d842 100644
--- a/applications/kube/CMakeLists.txt
+++ b/applications/kube/CMakeLists.txt
@@ -23,5 +23,21 @@ target_link_libraries(${PROJECT_NAME}
23 23
24install(TARGETS ${PROJECT_NAME} DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 24install(TARGETS ${PROJECT_NAME} DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
25 25
26install(PROGRAMS org.kde.kube.desktop DESTINATION ${KDE_INSTALL_APPDIR} ) 26set(KUBE_APPLICATION_ID "org.kde.kube" CACHE STRING "The application identifier used for desktopfile and appdata")
27install(FILES org.kde.kube.appdata.xml DESTINATION ${KDE_INSTALL_DATAROOTDIR}/appdata/) 27
28set(KUBE_DESKTOPFILE_NAME "Kube" CACHE STRING "desktopfile name property")
29set(KUBE_DESKTOPFILE_GENERICNAME "Mail Client" CACHE STRING "desktopfile genericname property")
30set(KUBE_DESKTOPFILE_COMMENT "Send, receive and manage your mail with Kube" CACHE STRING "desktopfile comment property")
31set(KUBE_DESKTOPFILE_CATEGORIES "Qt;KDE;Office;Network;Email;" CACHE STRING "desktopfile categories property")
32set(KUBE_DESKTOPFILENAME "${KUBE_APPLICATION_ID}.desktop")
33configure_file(kube.desktop.in ${KUBE_DESKTOPFILENAME})
34install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${KUBE_DESKTOPFILENAME} DESTINATION ${KDE_INSTALL_APPDIR} )
35
36set(KUBE_APPDATA_ID "${KUBE_DESKTOPFILENAME}" CACHE STRING "appdata homepage property")
37set(KUBE_APPDATA_HOMEPAGE "https://kube.kde.org" CACHE STRING "appdata homepage property")
38set(KUBE_APPDATA_BUGTRACKER "https://phabricator.kde.org/project/view/238/" CACHE STRING "appdata bugtracker property")
39set(KUBE_APPDATA_HELP "http://api.kde.org/doc/kube/" CACHE STRING "appdata help property")
40set(KUBE_APPDATA_PROJECTGROUP "KDE" CACHE STRING "appdata projectgroup property")
41set(KUBE_APPDATAFILENAME "${KUBE_APPLICATION_ID}.appdata.xml")
42configure_file(kube.appdata.xml.in ${KUBE_APPDATAFILENAME})
43install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${KUBE_APPDATAFILENAME} DESTINATION ${KDE_INSTALL_DATAROOTDIR}/appdata/)
diff --git a/applications/kube/org.kde.kube.appdata.xml b/applications/kube/kube.appdata.xml.in
index 82431cd5..f6580a09 100644
--- a/applications/kube/org.kde.kube.appdata.xml
+++ b/applications/kube/kube.appdata.xml.in
@@ -1,6 +1,6 @@
1<?xml version="1.0" encoding="utf-8"?> 1<?xml version="1.0" encoding="utf-8"?>
2<component type="desktop"> 2<component type="desktop">
3 <id>org.kde.kube.desktop</id> 3 <id>@KUBE_APPDATA_ID@</id>
4 <metadata_license>CC0-1.0</metadata_license> 4 <metadata_license>CC0-1.0</metadata_license>
5 <project_license>GPL-3.0+</project_license> 5 <project_license>GPL-3.0+</project_license>
6 <name>Kube</name> 6 <name>Kube</name>
@@ -9,10 +9,10 @@
9 <p>Kube is a modern communication and collaboration client built with QtQuick on top of a high performance, low resource usage core. It provides online and offline access to all your mail, contacts, calendars, notes, todo's and more. With a strong focus on usability, the team works with designers and UX experts from the ground up, to build a product that is not only visually appealing but also a joy to use.</p> 9 <p>Kube is a modern communication and collaboration client built with QtQuick on top of a high performance, low resource usage core. It provides online and offline access to all your mail, contacts, calendars, notes, todo's and more. With a strong focus on usability, the team works with designers and UX experts from the ground up, to build a product that is not only visually appealing but also a joy to use.</p>
10 <p>Communication and collaboration within large groups and spread over several time zones is complex and something of the norm in modern projects and the existing solutions available are not up to that challenge. Kube is a way to simplify and make communication elegant again by focusing on the key needs of users instead of filling it with any feature that comes to mind. Our strict focus on what is actually needed instead of what is wanted brings a new way of collaboration between group members and a simpler way of handling communication.</p> 10 <p>Communication and collaboration within large groups and spread over several time zones is complex and something of the norm in modern projects and the existing solutions available are not up to that challenge. Kube is a way to simplify and make communication elegant again by focusing on the key needs of users instead of filling it with any feature that comes to mind. Our strict focus on what is actually needed instead of what is wanted brings a new way of collaboration between group members and a simpler way of handling communication.</p>
11 </description> 11 </description>
12 <url type="homepage">https://kube.kde.org</url> 12 <url type="homepage">@KUBE_APPDATA_HOMEPAGE@</url>
13 <url type="bugtracker">https://bugs.kde.org/enter_bug.cgi?format=guided&amp;product=kube</url> 13 <url type="bugtracker">@KUBE_APPDATA_BUGTRACKER@</url>
14 <url type="help">http://api.kde.org/doc/kube/</url> 14 <url type="help">@KUBE_APPDATA_HELP@</url>
15 <project_group>KDE</project_group> 15 <project_group>@KUBE_APPDATA_PROJECTGROUP@</project_group>
16 <provides> 16 <provides>
17 <binary>kube</binary> 17 <binary>kube</binary>
18 </provides> 18 </provides>
diff --git a/applications/kube/kube.desktop.in b/applications/kube/kube.desktop.in
new file mode 100755
index 00000000..05c5e2a9
--- /dev/null
+++ b/applications/kube/kube.desktop.in
@@ -0,0 +1,10 @@
1[Desktop Entry]
2Name=@KUBE_DESKTOPFILE_NAME@
3Type=Application
4Exec=kube
5Icon=kube_icon
6GenericName=@KUBE_DESKTOPFILE_GENERICNAME@
7Comment=@KUBE_DESKTOPFILE_COMMENT@
8Terminal=false
9StartupNotify=true
10Categories=@KUBE_DESKTOPFILE_CATEGORIES@
diff --git a/applications/kube/org.kde.kube.desktop b/applications/kube/org.kde.kube.desktop
deleted file mode 100755
index 290fd503..00000000
--- a/applications/kube/org.kde.kube.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
1[Desktop Entry]
2Name=Kube
3Type=Application
4Exec=kube
5Icon=kube_icon
6GenericName=Mail Client
7Comment=Send, receive and manage your mail with Kube
8Terminal=false
9StartupNotify=true
10Categories=Qt;KDE;Office;Network;Email;