summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2023-10-01 16:32:49 (EDT)
committer P. J. McDermott <pj@pehjota.net>2023-10-01 16:32:49 (EDT)
commitbab4f35fc5c13341fb9cc96a7cb863c5cd5c3f53 (patch)
tree75d9463a02eb5984e1f33aadba830f490f2b103c /data
downloadsiglo-upstream/latest.zip
siglo-upstream/latest.tar.gz
siglo-upstream/latest.tar.bz2
New upstream version 0.9.9upstream/0.9.9upstream/latest
Diffstat (limited to 'data')
-rw-r--r--data/com.github.theironrobin.siglo.appdata.xml.in50
-rw-r--r--data/com.github.theironrobin.siglo.desktop.in9
-rw-r--r--data/com.github.theironrobin.siglo.gschema.xml5
-rw-r--r--data/icons/com.github.theironrobin.siglo.svg153
-rw-r--r--data/meson.build48
-rw-r--r--data/siglo.service6
6 files changed, 271 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+ <id>com.github.theironrobin.siglo.desktop</id>
+ <name>Siglo</name>
+ <summary>Sync PineTime with your PinePhone</summary>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>MPL-2.0</project_license>
+ <developer_name>Alex R</developer_name>
+ <description>
+ <p>
+ Features:
+ <ul>
+ <li>Scan for one or more InfiniTime devices</li>
+ <li>Sync the time</li>
+ <li>Update your firmware—either manually or directly from the InfiniTime release page</li>
+ <li>Optionally Keep Paired for Chatty notifications (currently broken in flatpak)</li>
+ </ul>
+ </p>
+ <p>
+ Supports all Phosh-based PinePhone distros.
+ </p>
+ </description>
+ <categories>
+ <category>Utility</category>
+ </categories>
+ <url type="homepage">https://github.com/theironrobin/siglo</url>
+ <screenshots>
+ <screenshot>
+ <image type="source">https://ironrobin.net/images/siglo-screenshot-1.png</image>
+ </screenshot>
+ <screenshot>
+ <image type="source">https://ironrobin.net/images/siglo-screenshot-2.png</image>
+ </screenshot>
+ <screenshot>
+ <image type="source">https://ironrobin.net/images/siglo-screenshot-3.png</image>
+ </screenshot>
+ </screenshots>
+ <releases>
+ <release version="0.9.9" date="2022-07-04"/>
+ <release version="0.9.6" date="2021-10-07"/>
+ <release version="0.9.5" date="2021-10-07"/>
+ <release version="0.9.4" date="2021-09-09"/>
+ <release version="0.8.12" date="2021-08-06"/>
+ </releases>
+ <content_rating type="oars-1.1" />
+ <custom>
+ <value key="Purism::form_factor">workstation</value>
+ <value key="Purism::form_factor">mobile</value>
+ </custom>
+</component>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schemalist gettext-domain="siglo">
+ <schema id="com.github.theironrobin.siglo" path="/com/github/theironrobin/siglo/">
+ </schema>
+</schemalist>
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 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.1"
+ id="Layer_1"
+ x="0px"
+ y="0px"
+ viewBox="0 0 485 485"
+ style="enable-background:new 0 0 485 485;"
+ xml:space="preserve"
+ width="512"
+ height="512"
+ sodipodi:docname="com.github.theironrobin.siglo.svg"
+ inkscape:version="1.0.2 (e86c870879, 2021-01-15)"><metadata
+ id="metadata26"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
+ id="defs24"><linearGradient
+ inkscape:collect="always"
+ id="linearGradient15354"><stop
+ style="stop-color:#31c0d8;stop-opacity:1;"
+ offset="0"
+ id="stop15350" /><stop
+ style="stop-color:#81e2f2;stop-opacity:1"
+ offset="1"
+ id="stop15352" /></linearGradient><linearGradient
+ y2="812.88245"
+ x2="1662.9901"
+ y1="806.29718"
+ x1="1660.8571"
+ gradientTransform="matrix(1.8293937,-0.81599442,0.81599442,1.8293937,-3645.9624,100.02949)"
+ gradientUnits="userSpaceOnUse"
+ id="linearGradient1001"
+ xlink:href="#linearGradient950" /><linearGradient
+ id="linearGradient950"><stop
+ style="stop-color:#9a9996;stop-opacity:1"
+ offset="0"
+ id="stop946" /><stop
+ style="stop-color:#77767b;stop-opacity:1"
+ offset="1"
+ id="stop948" /></linearGradient>
+
+
+
+
+
+
+
+
+
+
+
+
+ <mask
+ maskUnits="userSpaceOnUse"
+ id="mask15345"><circle
+ style="display:inline;opacity:1;fill:#d93d3d;fill-opacity:1;stroke:none;stroke-width:0.92832;stroke-miterlimit:4;stroke-dasharray:none"
+ id="circle15347"
+ cx="243.66702"
+ cy="243.28474"
+ r="185.33173"
+ inkscape:label="shadow-mask" /></mask><linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient15354"
+ id="linearGradient15356"
+ x1="176.356"
+ y1="77.628166"
+ x2="312.85342"
+ y2="409.47876"
+ gradientUnits="userSpaceOnUse" /></defs><sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1920"
+ inkscape:window-height="1016"
+ id="namedview22"
+ showgrid="false"
+ inkscape:zoom="0.44841879"
+ inkscape:cx="479.65355"
+ inkscape:cy="594.30735"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="Layer_1" />
+<circle
+ style="fill:#deddda;fill-opacity:1;stroke:none;stroke-width:12.4566;stroke-miterlimit:4;stroke-dasharray:none"
+ id="path15219-3"
+ cx="243.17287"
+ cy="253.34464"
+ r="224.05338" /><circle
+ style="fill:#f6f5f4;fill-opacity:1;stroke:none;stroke-width:12.4566;stroke-miterlimit:4;stroke-dasharray:none"
+ id="path15219"
+ cx="242.35684"
+ cy="243.4926"
+ r="224.05338" /><path
+ style="fill:url(#linearGradient15356);stroke-width:0.928251;fill-opacity:1"
+ d="M 377.28204,121.64173 C 344.05065,84.697339 295.96725,61.491066 242.5,61.491066 142.52737,61.491066 61.491066,142.52737 61.491066,242.5 c 0,99.97263 81.036304,181.00893 181.008934,181.00893 99.97263,0 181.00893,-81.0363 181.00893,-181.00893 0,-46.41255 -17.45112,-88.83362 -46.22689,-120.85827 z"
+ id="path2" /><path
+ d="M 382.45796,122.66921 C 346.75465,82.977203 295.74262,60.212773 242.5,60.212773 c -103.64757,0 -187.970813,84.323247 -187.970813,187.970817 0,103.64757 84.323243,187.97081 187.970813,187.97081 103.64757,0 187.97081,-84.32324 187.97081,-187.97081 0,-46.48217 -17.05011,-91.05585 -48.01285,-125.51438 z M 249.46188,422.07934 v -39.29936 h -13.92376 v 39.29936 c -46.24639,-1.82866 -87.90908,-21.78327 -118.06517,-52.94651 l 27.84196,-27.84196 v -7.57812 l -9.84503,-2.26691 -27.29522,27.29522 C 84.748396,330.32916 70.156291,294.38449 68.604256,255.14547 H 107.90361 V 241.22171 H 68.604256 c 1.552035,-39.23903 16.14414,-75.18369 39.569474,-103.59466 l 27.29522,27.29521 9.84503,-9.84503 v -7.57812 L 117.47202,127.23528 C 147.62904,96.07111 189.29173,76.117423 235.53812,74.287843 V 113.5872 h 13.92376 V 74.291563 c 44.57647,1.79616 86.9734,20.770539 118.12922,52.878737 l -27.90694,20.32881 v 7.57812 l 9.84596,9.84503 27.36669,-27.36669 c 24.14938,29.27611 37.99424,65.60785 39.50358,103.66614 h -39.304 v 13.92376 h 39.29936 c -1.55204,39.23902 -16.14415,75.18276 -39.56949,103.59466 l -27.29521,-27.29522 -9.84596,2.26691 v 7.57812 l 27.84288,27.84289 c -30.15794,31.16324 -71.8197,51.11692 -118.06609,52.94651 z"
+ id="path10-5"
+ style="opacity:0.512782;fill:#02090a;fill-opacity:1;stroke-width:0.928251"
+ inkscape:label="face-shadow"
+ mask="url(#mask15345)"
+ transform="translate(0,1.8945311)"
+ sodipodi:nodetypes="csssscccccccccccccccccccccccccccccccccccccc" /><path
+ d="M 382.45796,116.98562 C 346.75465,77.29361 295.74262,54.529184 242.5,54.529184 138.85243,54.529184 54.529184,138.85243 54.529184,242.5 c 0,103.64757 84.323246,187.97081 187.970816,187.97081 103.64757,0 187.97081,-84.32324 187.97081,-187.97081 0,-46.48217 -17.05011,-91.05585 -48.01285,-125.51438 z M 249.46188,416.39575 v -39.29936 h -13.92376 v 39.29936 c -46.24639,-1.82866 -87.90908,-21.78327 -118.06517,-52.94651 l 27.84196,-27.84196 -9.84503,-9.84503 -27.29522,27.29522 C 84.748393,324.64557 70.156288,288.7009 68.604253,249.46188 H 107.90361 V 235.53812 H 68.604253 c 1.552035,-39.23903 16.14414,-75.18369 39.569477,-103.59466 l 27.29522,27.29521 9.84503,-9.84503 -27.84196,-27.84195 c 30.15702,-31.164173 71.81971,-51.117855 118.0661,-52.947437 v 39.299357 h 13.92376 V 68.607966 c 44.57647,1.796165 86.9734,20.770543 118.12922,52.878744 l -27.90694,27.90693 9.84596,9.84503 27.36669,-27.36669 c 24.14938,29.27611 37.99424,65.60785 39.50358,103.66614 h -39.304 v 13.92376 h 39.29936 c -1.55204,39.23902 -16.14415,75.18276 -39.56949,103.59466 l -27.29521,-27.29522 -9.84596,9.84503 27.84288,27.84289 c -30.15794,31.16324 -71.8197,51.11692 -118.06609,52.94651 z"
+ id="path10"
+ style="opacity:1;stroke-width:0.928251;fill:#11505b;fill-opacity:1" /><path
+ d="m 311.32795,157.67912 h 19.35589 v -13.92376 h -48.73318 v 48.73317 h 13.92377 v -28.60219 c 28.7405,18.23363 46.41254,50.09677 46.41254,84.29725 0,55.023 -44.7649,99.78697 -99.78697,99.78697 -55.023,0 -99.78698,-44.76397 -99.78698,-99.78697 0,-55.023 42.99107,-99.96107 98.01374,-99.77041 4.65235,0.0161 7.35466,-3.84478 7.3715,-7.50453 0.072,-15.65064 -2.27131,-6.41173 -7.3715,-6.41923 -62.7005,-0.0921 -111.9375,50.9936 -111.9375,113.69417 0,62.70057 51.01017,113.71074 113.71074,113.71074 62.70057,0 113.71074,-51.01017 113.71074,-113.71074 0,-35.69589 -16.88303,-69.16584 -44.88279,-90.50447 z"
+ id="path12-6"
+ style="opacity:0.25;stroke-width:0.92832;stroke-miterlimit:4;stroke-dasharray:none"
+ sodipodi:nodetypes="cccccccsssssssssc" /><path
+ d="m 311.32795,151.99553 h 19.35589 v -13.92376 h -48.73318 v 48.73317 h 13.92377 v -28.60219 c 28.7405,18.23363 46.41254,50.09677 46.41254,84.29725 0,55.023 -44.7649,99.78697 -99.78697,99.78697 -55.023,0 -99.78698,-44.76397 -99.78698,-99.78697 0,-55.023 42.99107,-99.96115 98.01374,-99.77041 8.83092,0.0306 10.77866,-13.90792 0,-13.92376 -62.7005,-0.0922 -111.9375,50.9936 -111.9375,113.69417 0,62.70057 51.01017,113.71074 113.71074,113.71074 62.70057,0 113.71074,-51.01017 113.71074,-113.71074 0,-35.69589 -16.88303,-69.16584 -44.88279,-90.50447 z"
+ id="path12"
+ style="stroke-width:0.92832;stroke-miterlimit:4;stroke-dasharray:none;fill:#11505b;fill-opacity:1"
+ sodipodi:nodetypes="cccccccssssssssc" /><path
+ id="polygon14-7"
+ style="opacity:0.25"
+ transform="matrix(0.92825094,0,0,0.92825094,17.399146,23.082739)"
+ d="m 235,245.606 52.196,52.197 10.608,-10.606 0,-6.12291 L 250,239.394 V 157.5 h -15 z"
+ sodipodi:nodetypes="cccccccc" /><polygon
+ points="287.196,297.803 297.804,287.197 250,239.394 250,157.5 235,157.5 235,245.606 "
+ id="polygon14"
+ transform="matrix(0.92825094,0,0,0.92825094,17.399146,17.399146)"
+ style="fill:#11505b;fill-opacity:1" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</svg>
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