From ac99aca2510eebb83ac9a112849d8788ef67db3d Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Fri, 18 Feb 2022 16:14:09 +0100 Subject: - Moved to com.lakoliu.Furtherance - Removed development flag for release - Created nicer about dialog - Added description to data file - Improved desktop file - Changed database directory - Delete All no longer enabled if no tasks - Added GPL to top of every file --- data/com.lakoliu.Furtherance.appdata.xml.in | 9 ++++ data/com.lakoliu.Furtherance.desktop.in | 11 +++++ data/com.lakoliu.Furtherance.gschema.xml | 5 +++ .../scalable/apps/com.lakoliu.Furtherance.svg | 50 ++++++++++++++++++++++ .../apps/com.lakoliu.Furtherance-symbolic.svg | 50 ++++++++++++++++++++++ data/icons/meson.build | 13 ++++++ data/meson.build | 43 +++++++++++++++++++ 7 files changed, 181 insertions(+) create mode 100644 data/com.lakoliu.Furtherance.appdata.xml.in create mode 100644 data/com.lakoliu.Furtherance.desktop.in create mode 100644 data/com.lakoliu.Furtherance.gschema.xml create mode 100644 data/icons/hicolor/scalable/apps/com.lakoliu.Furtherance.svg create mode 100644 data/icons/hicolor/symbolic/apps/com.lakoliu.Furtherance-symbolic.svg create mode 100644 data/icons/meson.build create mode 100644 data/meson.build (limited to 'data') diff --git a/data/com.lakoliu.Furtherance.appdata.xml.in b/data/com.lakoliu.Furtherance.appdata.xml.in new file mode 100644 index 0000000..fac43de --- /dev/null +++ b/data/com.lakoliu.Furtherance.appdata.xml.in @@ -0,0 +1,9 @@ + + + com.lakoliu.Furtherance.desktop + CC0-1.0 + GPL-3.0-or-later + +

Simple yet powerful time tracking app.

+
+
diff --git a/data/com.lakoliu.Furtherance.desktop.in b/data/com.lakoliu.Furtherance.desktop.in new file mode 100644 index 0000000..ee5cde6 --- /dev/null +++ b/data/com.lakoliu.Furtherance.desktop.in @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Furtherance +GenericName=Time Tracker +Comment=Track your time without being tracked +Exec=furtherance +Icon=com.lakoliu.Furtherance +Terminal=false +Type=Application +Categories=GTK;Utility; +StartupNotify=true +Keywords=timer;tracker;clock;tasks;productivity diff --git a/data/com.lakoliu.Furtherance.gschema.xml b/data/com.lakoliu.Furtherance.gschema.xml new file mode 100644 index 0000000..cf2db5d --- /dev/null +++ b/data/com.lakoliu.Furtherance.gschema.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/data/icons/hicolor/scalable/apps/com.lakoliu.Furtherance.svg b/data/icons/hicolor/scalable/apps/com.lakoliu.Furtherance.svg new file mode 100644 index 0000000..f0eca7c --- /dev/null +++ b/data/icons/hicolor/scalable/apps/com.lakoliu.Furtherance.svg @@ -0,0 +1,50 @@ + + + + + + + + + + diff --git a/data/icons/hicolor/symbolic/apps/com.lakoliu.Furtherance-symbolic.svg b/data/icons/hicolor/symbolic/apps/com.lakoliu.Furtherance-symbolic.svg new file mode 100644 index 0000000..4b00158 --- /dev/null +++ b/data/icons/hicolor/symbolic/apps/com.lakoliu.Furtherance-symbolic.svg @@ -0,0 +1,50 @@ + + + + + + + + + + diff --git a/data/icons/meson.build b/data/icons/meson.build new file mode 100644 index 0000000..7ffa296 --- /dev/null +++ b/data/icons/meson.build @@ -0,0 +1,13 @@ +application_id = 'com.lakoliu.Furtherance' + +scalable_dir = join_paths('hicolor', 'scalable', 'apps') +install_data( + join_paths(scalable_dir, ('@0@.svg').format(application_id)), + install_dir: join_paths(get_option('datadir'), 'icons', scalable_dir) +) + +symbolic_dir = join_paths('hicolor', 'symbolic', 'apps') +install_data( + join_paths(symbolic_dir, ('@0@-symbolic.svg').format(application_id)), + install_dir: join_paths(get_option('datadir'), 'icons', symbolic_dir) +) diff --git a/data/meson.build b/data/meson.build new file mode 100644 index 0000000..63e3267 --- /dev/null +++ b/data/meson.build @@ -0,0 +1,43 @@ +desktop_file = i18n.merge_file( + input: 'com.lakoliu.Furtherance.desktop.in', + output: 'com.lakoliu.Furtherance.desktop', + type: 'desktop', + po_dir: '../po', + install: true, + install_dir: join_paths(get_option('datadir'), 'applications') +) + +desktop_utils = find_program('desktop-file-validate', required: false) +if desktop_utils.found() + test('Validate desktop file', desktop_utils, + args: [desktop_file] + ) +endif + +appstream_file = i18n.merge_file( + input: 'com.lakoliu.Furtherance.appdata.xml.in', + output: 'com.lakoliu.Furtherance.appdata.xml', + po_dir: '../po', + install: true, + install_dir: join_paths(get_option('datadir'), 'appdata') +) + +appstream_util = find_program('appstream-util', required: false) +if appstream_util.found() + test('Validate appstream file', appstream_util, + args: ['validate', appstream_file] + ) +endif + +install_data('com.lakoliu.Furtherance.gschema.xml', + install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas') +) + +compile_schemas = find_program('glib-compile-schemas', required: false) +if compile_schemas.found() + test('Validate schema file', compile_schemas, + args: ['--strict', '--dry-run', meson.current_source_dir()] + ) +endif + +subdir('icons') -- cgit 1.4.1