about summary refs log tree commit diff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/com.lakoliu.Furtherance.appdata.xml.in9
-rw-r--r--data/com.lakoliu.Furtherance.desktop.in11
-rw-r--r--data/com.lakoliu.Furtherance.gschema.xml5
-rw-r--r--data/icons/hicolor/scalable/apps/com.lakoliu.Furtherance.svg50
-rw-r--r--data/icons/hicolor/symbolic/apps/com.lakoliu.Furtherance-symbolic.svg50
-rw-r--r--data/icons/meson.build13
-rw-r--r--data/meson.build43
7 files changed, 181 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+	<id>com.lakoliu.Furtherance.desktop</id>
+	<metadata_license>CC0-1.0</metadata_license>
+	<project_license>GPL-3.0-or-later</project_license>
+	<description>
+	  <p>Simple yet powerful time tracking app.</p>
+	</description>
+</component>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schemalist gettext-domain="furtherance">
+	<schema id="com.lakoliu.Furtherance" path="/com/lakoliu/Furtherance/">
+	</schema>
+</schemalist>
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 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   width="161mm"
+   height="161mm"
+   viewBox="0 0 161 161"
+   version="1.1"
+   id="svg5"
+   inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
+   sodipodi:docname="furtherance_logo_square.svg"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <sodipodi:namedview
+     id="namedview7"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     inkscape:document-units="mm"
+     showgrid="false"
+     inkscape:zoom="0.65477694"
+     inkscape:cx="298.57496"
+     inkscape:cy="310.02924"
+     inkscape:window-width="1920"
+     inkscape:window-height="1131"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="layer1" />
+  <defs
+     id="defs2" />
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-43.512234,-66.387247)">
+    <path
+       id="text1508"
+       style="font-style:normal;font-variant:normal;font-weight:800;font-stretch:normal;font-size:105.833px;line-height:1.25;font-family:Dosis;-inkscape-font-specification:'Dosis Ultra-Bold';fill:#ffd42a;fill-opacity:1;stroke:none;stroke-width:0.566104"
+       d="M 129.43493,67.567547 A 80.04071,80.04071 0 0 0 61.234416,131.11444 l 58.978804,93.48427 a 80.04071,80.04071 0 0 0 29.62945,1.74318 80.04071,80.04071 0 0 0 24.48666,-7.30544 c 0.10719,-0.25431 0.19856,-0.5101 0.25695,-0.76765 0.42413,-1.87402 -0.12902,-4.02385 -1.65951,-6.44968 l -23.80256,-37.72776 33.32376,-21.02368 c 2.42582,-1.53045 3.82701,-3.12854 4.20403,-4.79433 0.42413,-1.87402 -0.12902,-4.02383 -1.6595,-6.44968 l -14.49842,-22.98132 c -1.53042,-2.42585 -3.1927,-3.78704 -4.98616,-4.08351 -1.74635,-0.50469 -3.83213,0.006 -6.25797,1.53787 l -33.32376,21.02368 -12.56515,-19.91783 48.8354,-30.809699 c 2.42585,-1.530419 3.82813,-3.128664 4.20515,-4.794456 0.42413,-1.874019 -0.12902,-4.023834 -1.6595,-6.449679 l -3.43132,-5.438243 a 80.04071,80.04071 0 0 0 -31.87584,-2.342936 z m 10.2176,6.206941 1.20815,1.914842 -59.177825,37.33497 34.554845,54.77287 43.66523,-27.54774 1.20818,1.91485 -43.66524,27.54773 28.27283,44.81387 -1.91484,1.20817 -65.244149,-103.41753 z"
+       inkscape:export-filename="/home/ricky/Pictures/Furtherance/Furtherance-logo-256.png"
+       inkscape:export-xdpi="40.620335"
+       inkscape:export-ydpi="40.620335" />
+  </g>
+</svg>
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 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   width="161mm"
+   height="161mm"
+   viewBox="0 0 161 161"
+   version="1.1"
+   id="svg5"
+   inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
+   sodipodi:docname="com.lakoliu.Furtherance.svg"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <sodipodi:namedview
+     id="namedview7"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     inkscape:document-units="mm"
+     showgrid="false"
+     inkscape:zoom="0.65477694"
+     inkscape:cx="298.57496"
+     inkscape:cy="310.02924"
+     inkscape:window-width="1920"
+     inkscape:window-height="1131"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="layer1" />
+  <defs
+     id="defs2" />
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-43.512234,-66.387247)">
+    <path
+       id="text1508"
+       style="font-style:normal;font-variant:normal;font-weight:800;font-stretch:normal;font-size:105.833px;line-height:1.25;font-family:Dosis;-inkscape-font-specification:'Dosis Ultra-Bold';fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.566104"
+       d="M 129.43493,67.567547 A 80.04071,80.04071 0 0 0 61.234416,131.11444 l 58.978804,93.48427 a 80.04071,80.04071 0 0 0 29.62945,1.74318 80.04071,80.04071 0 0 0 24.48666,-7.30544 c 0.10719,-0.25431 0.19856,-0.5101 0.25695,-0.76765 0.42413,-1.87402 -0.12902,-4.02385 -1.65951,-6.44968 l -23.80256,-37.72776 33.32376,-21.02368 c 2.42582,-1.53045 3.82701,-3.12854 4.20403,-4.79433 0.42413,-1.87402 -0.12902,-4.02383 -1.6595,-6.44968 l -14.49842,-22.98132 c -1.53042,-2.42585 -3.1927,-3.78704 -4.98616,-4.08351 -1.74635,-0.50469 -3.83213,0.006 -6.25797,1.53787 l -33.32376,21.02368 -12.56515,-19.91783 48.8354,-30.809699 c 2.42585,-1.530419 3.82813,-3.128664 4.20515,-4.794456 0.42413,-1.874019 -0.12902,-4.023834 -1.6595,-6.449679 l -3.43132,-5.438243 a 80.04071,80.04071 0 0 0 -31.87584,-2.342936 z m 10.2176,6.206941 1.20815,1.914842 -59.177825,37.33497 34.554845,54.77287 43.66523,-27.54774 1.20818,1.91485 -43.66524,27.54773 28.27283,44.81387 -1.91484,1.20817 -65.244149,-103.41753 z"
+       inkscape:export-filename="/home/ricky/Pictures/Furtherance/Furtherance-logo-256.png"
+       inkscape:export-xdpi="40.620335"
+       inkscape:export-ydpi="40.620335" />
+  </g>
+</svg>
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')