Skip to content

Commit 1a56baf

Browse files
author
Corentin Noël
committed
Update to latest specs
1 parent 3b3be9f commit 1a56baf

14 files changed

+1894
-10035
lines changed

CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
77

88
set (DATADIR "${CMAKE_INSTALL_PREFIX}/share")
99
set (PKGDATADIR "${DATADIR}/${CMAKE_PROJECT_NAME}")
10-
set (GETTEXT_PACKAGE ${CMAKE_PROJECT_NAME})
11-
set (EXEC_NAME ${CMAKE_PROJECT_NAME})
10+
set (GETTEXT_PACKAGE "com.github.tintou.project-manager")
11+
set (EXEC_NAME "com.github.tintou.project-manager")
1212
set (APP_NAME "Project Manager")
1313
set (RELEASE_NAME "A simple project manager.")
14-
set (DESKTOP_ICON "apport")
14+
set (DESKTOP_ICON "com.github.tintou.project-manager")
1515
set (VERSION "0.1")
1616
set (VERSION_INFO "Alpha")
17-
set (DOLLAR "$")
1817

1918
configure_file (${CMAKE_SOURCE_DIR}/config.vala.cmake ${CMAKE_BINARY_DIR}/src/config.vala)
2019
add_definitions (-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")

data/CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
configure_file(project-manager.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/project-manager.desktop)
2-
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/project-manager.desktop DESTINATION share/applications)
3-
install (FILES project-manager.appdata.xml DESTINATION share/appdata)
1+
configure_file(com.github.tintou.project-manager.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/com.github.tintou.project-manager.desktop)
2+
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/com.github.tintou.project-manager.desktop DESTINATION share/applications)
3+
install (FILES com.github.tintou.project-manager.appdata.xml DESTINATION share/metainfo)
4+
install (DIRECTORY icons/ DESTINATION share/icons/hicolor PATTERN "icons/*")
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<component type="desktop-application">
3+
​ <id>com.github.tintou.project-manager</id>
4+
<metadata_license>CC0</metadata_license>
5+
<project_license>GPL-3.0+</project_license>
6+
<name>Project Manager</name>
7+
<summary>The fast project manager</summary>
8+
<description>
9+
<p>
10+
Don't spend too much time on project management.
11+
</p>
12+
</description>
13+
<url type="homepage">https://github.com/tintou/project-manager/</url>
14+
<update_contact>corentin_at_elementary.io</update_contact>
15+
</application>

data/project-manager.desktop.in renamed to data/com.github.tintou.project-manager.desktop.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ Name=@APP_NAME@
33
Comment=@RELEASE_NAME@
44
Exec=@EXEC_NAME@ %U
55
Icon=@DESKTOP_ICON@
6-
Keywords=install;uninstall;remove;catalogue;store;apps;updates;software;
6+
Keywords=developer;api;github;launchpad;git;bzr;bazaar;project;code;
77
Terminal=false
88
Type=Application
99
StartupNotify=true
10-
Categories=GNOME;GTK;System;PackageManager;
10+
Categories=GNOME;GTK;Development;
1111
X-GNOME-Gettext-Domain=@GETTEXT_PACKAGE@
1212
Actions=AboutDialog;
1313

0 commit comments

Comments
 (0)