From bab4f35fc5c13341fb9cc96a7cb863c5cd5c3f53 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 01 Oct 2023 16:32:49 -0400 Subject: New upstream version 0.9.9 --- (limited to 'data') diff --git a/data/com.github.theironrobin.siglo.appdata.xml.in b/data/com.github.theironrobin.siglo.appdata.xml.in new file mode 100644 index 0000000..e24c5fc --- /dev/null +++ b/data/com.github.theironrobin.siglo.appdata.xml.in @@ -0,0 +1,50 @@ + + + com.github.theironrobin.siglo.desktop + Siglo + Sync PineTime with your PinePhone + CC0-1.0 + MPL-2.0 + Alex R + +

+ Features: +

    +
  • Scan for one or more InfiniTime devices
  • +
  • Sync the time
  • +
  • Update your firmware—either manually or directly from the InfiniTime release page
  • +
  • Optionally Keep Paired for Chatty notifications (currently broken in flatpak)
  • +
+

+

+ Supports all Phosh-based PinePhone distros. +

+
+ + Utility + + https://github.com/theironrobin/siglo + + + https://ironrobin.net/images/siglo-screenshot-1.png + + + https://ironrobin.net/images/siglo-screenshot-2.png + + + https://ironrobin.net/images/siglo-screenshot-3.png + + + + + + + + + + + + workstation + mobile + +
diff --git a/data/com.github.theironrobin.siglo.desktop.in b/data/com.github.theironrobin.siglo.desktop.in new file mode 100644 index 0000000..4e5cac1 --- /dev/null +++ b/data/com.github.theironrobin.siglo.desktop.in @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Siglo +Exec=siglo +Terminal=false +Type=Application +Categories=GTK; +StartupNotify=true +Icon=com.github.theironrobin.siglo +X-Purism-FormFactor=Workstation;Mobile; diff --git a/data/com.github.theironrobin.siglo.gschema.xml b/data/com.github.theironrobin.siglo.gschema.xml new file mode 100644 index 0000000..76f3413 --- /dev/null +++ b/data/com.github.theironrobin.siglo.gschema.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/data/icons/com.github.theironrobin.siglo.svg b/data/icons/com.github.theironrobin.siglo.svg new file mode 100644 index 0000000..72415aa --- /dev/null +++ b/data/icons/com.github.theironrobin.siglo.svg @@ -0,0 +1,153 @@ + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/meson.build b/data/meson.build new file mode 100644 index 0000000..25d0c11 --- /dev/null +++ b/data/meson.build @@ -0,0 +1,48 @@ +desktop_file = i18n.merge_file( + input: 'com.github.theironrobin.siglo.desktop.in', + output: 'com.github.theironrobin.siglo.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 + +install_data(join_paths('icons', 'com.github.theironrobin.siglo.svg'), + install_dir: join_paths(get_option('datadir'), 'icons/hicolor/scalable/apps') +) + +install_data('siglo.service', install_dir: '/etc/systemd/user/') + +appstream_file = i18n.merge_file( + input: 'com.github.theironrobin.siglo.appdata.xml.in', + output: 'com.github.theironrobin.siglo.appdata.xml', + po_dir: '../po', + install: true, + install_dir: join_paths(get_option('datadir'), 'metainfo') +) + +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.github.theironrobin.siglo.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 + diff --git a/data/siglo.service b/data/siglo.service new file mode 100644 index 0000000..fde41b6 --- /dev/null +++ b/data/siglo.service @@ -0,0 +1,6 @@ +[Unit] +Description=siglo service +[Service] +ExecStart=siglo --start +ExecStop=siglo --stop +Environment=PYTHONUNBUFFERED=1 -- cgit v0.9.1