Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #12 from FyraLabs/messaging
Browse files Browse the repository at this point in the history
messaging/IPC (and notifications!)
  • Loading branch information
lleyton authored Feb 5, 2024
2 parents 0fb6647 + 48fb3d0 commit 20a5034
Show file tree
Hide file tree
Showing 29 changed files with 322 additions and 61 deletions.
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"mesonbuild.configureOnOpen": true,
"[meson]": {
"editor.defaultFormatter": "mesonbuild.mesonbuild"
},
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ meson
vala
blueprint-compiler
webkitgtk-6.0
json-glib-1.0
```

## 🏗️ Building
Expand Down
3 changes: 3 additions & 0 deletions data/app.desktop.in.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[Desktop Entry]
Type = Application
Name = Skiff
Comment = Privacy-first end-to-end encrypted email
Icon = @ICON_NAME@
Exec = @COMMAND@
Categories = GTK;GNOME;Office;Email;Calendar;ContactManagement
DBusActivatable=true
X-GNOME-UsesNotifications=true
3 changes: 3 additions & 0 deletions data/app.service.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[D-BUS Service]
Name=@APP_ID@
Exec=@BINDIR@/@APP_ID@ --gapplication-service
7 changes: 0 additions & 7 deletions data/desktop.in.in

This file was deleted.

11 changes: 11 additions & 0 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,17 @@ if compile_schemas.found()
)
endif

dbus_service = configure_file(
input: 'app.service.in',
output: meson.project_name() + '.service',
configuration: {
'APP_ID': meson.project_name(),
'BINDIR': join_paths(get_option('prefix'), get_option('bindir')),
},
install: true,
install_dir: join_paths(get_option('datadir'), 'dbus-1', 'services'),
)

# GResources allow you to bundle and reference assets within your application.
# Resources are specified using a gresource file.
# For more information about GResources, see: https://docs.gtk.org/gio/struct.Resource.html
Expand Down
8 changes: 6 additions & 2 deletions po/com.fyralabs.SkiffDesktop.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: com.fyralabs.SkiffDesktop\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-03 16:57-0800\n"
"POT-Creation-Date: 2024-02-04 17:58-0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -17,10 +17,14 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: data/app.desktop.in.in:4 src/MainWindow.vala:23 src/MainWindow.vala:80
#: data/app.desktop.in.in:4 src/MainWindow.vala:18 src/MainWindow.vala:80
msgid "Skiff"
msgstr ""

#: data/app.desktop.in.in:5
msgid "Privacy-first end-to-end encrypted email"
msgstr ""

#: data/ui/mainwindow.blp:5
msgid "Preferences…"
msgstr ""
Expand Down
8 changes: 6 additions & 2 deletions po/cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: com.fyralabs.ValaTemplate\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-03 16:57-0800\n"
"POT-Creation-Date: 2024-02-04 17:58-0800\n"
"PO-Revision-Date: 2023-05-27 07:12+0000\n"
"Last-Translator: Písek Pískovec <[email protected]>\n"
"Language-Team: Czech <https://weblate.fyralabs.com/projects/tauOS/vala-"
Expand All @@ -19,10 +19,14 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Weblate 4.16.4\n"

#: data/app.desktop.in.in:4 src/MainWindow.vala:23 src/MainWindow.vala:80
#: data/app.desktop.in.in:4 src/MainWindow.vala:18 src/MainWindow.vala:80
msgid "Skiff"
msgstr ""

#: data/app.desktop.in.in:5
msgid "Privacy-first end-to-end encrypted email"
msgstr ""

#: data/ui/mainwindow.blp:5
msgid "Preferences…"
msgstr "Nastavení…"
Expand Down
12 changes: 8 additions & 4 deletions po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,26 @@ msgid ""
msgstr ""
"Project-Id-Version: com.fyralabs.ValaTemplate\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-03 16:57-0800\n"
"POT-Creation-Date: 2024-02-04 17:58-0800\n"
"PO-Revision-Date: 2024-01-09 15:15+0000\n"
"Last-Translator: Cédric Skwar <[email protected]>\n"
"Language-Team: German <https://weblate.fyralabs.com/projects/fyralabs/"
"skiff-desktop/de/>\n"
"Language-Team: German <https://weblate.fyralabs.com/projects/fyralabs/skiff-"
"desktop/de/>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.0\n"

#: data/app.desktop.in.in:4 src/MainWindow.vala:23 src/MainWindow.vala:80
#: data/app.desktop.in.in:4 src/MainWindow.vala:18 src/MainWindow.vala:80
msgid "Skiff"
msgstr "Skiff"

#: data/app.desktop.in.in:5
msgid "Privacy-first end-to-end encrypted email"
msgstr ""

#: data/ui/mainwindow.blp:5
msgid "Preferences…"
msgstr "Einstellungen…"
Expand Down
8 changes: 6 additions & 2 deletions po/en_owo.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: com.fyralabs.ValaTemplate\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-03 16:57-0800\n"
"POT-Creation-Date: 2024-02-04 17:58-0800\n"
"PO-Revision-Date: 2023-05-27 07:12+0000\n"
"Last-Translator: Anonymous <[email protected]>\n"
"Language-Team: English <https://weblate.fyralabs.com/projects/tauOS/vala-"
Expand All @@ -19,10 +19,14 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.16.4\n"

#: data/app.desktop.in.in:4 src/MainWindow.vala:23 src/MainWindow.vala:80
#: data/app.desktop.in.in:4 src/MainWindow.vala:18 src/MainWindow.vala:80
msgid "Skiff"
msgstr ""

#: data/app.desktop.in.in:5
msgid "Privacy-first end-to-end encrypted email"
msgstr ""

#: data/ui/mainwindow.blp:5
msgid "Preferences…"
msgstr "Pwefewences…"
Expand Down
8 changes: 6 additions & 2 deletions po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: com.fyralabs.ValaTemplate\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-03 16:57-0800\n"
"POT-Creation-Date: 2024-02-04 17:58-0800\n"
"PO-Revision-Date: 2023-05-27 07:12+0000\n"
"Last-Translator: Anonymous <[email protected]>\n"
"Language-Team: Spanish <https://weblate.fyralabs.com/projects/tauOS/vala-"
Expand All @@ -19,10 +19,14 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.16.4\n"

#: data/app.desktop.in.in:4 src/MainWindow.vala:23 src/MainWindow.vala:80
#: data/app.desktop.in.in:4 src/MainWindow.vala:18 src/MainWindow.vala:80
msgid "Skiff"
msgstr ""

#: data/app.desktop.in.in:5
msgid "Privacy-first end-to-end encrypted email"
msgstr ""

#: data/ui/mainwindow.blp:5
msgid "Preferences…"
msgstr ""
Expand Down
8 changes: 6 additions & 2 deletions po/fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: com.fyralabs.ValaTemplate\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-03 16:57-0800\n"
"POT-Creation-Date: 2024-02-04 17:58-0800\n"
"PO-Revision-Date: 2023-05-27 07:12+0000\n"
"Last-Translator: Anonymous <[email protected]>\n"
"Language-Team: Finnish <https://weblate.fyralabs.com/projects/tauOS/vala-"
Expand All @@ -19,10 +19,14 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.16.4\n"

#: data/app.desktop.in.in:4 src/MainWindow.vala:23 src/MainWindow.vala:80
#: data/app.desktop.in.in:4 src/MainWindow.vala:18 src/MainWindow.vala:80
msgid "Skiff"
msgstr ""

#: data/app.desktop.in.in:5
msgid "Privacy-first end-to-end encrypted email"
msgstr ""

#: data/ui/mainwindow.blp:5
msgid "Preferences…"
msgstr ""
Expand Down
8 changes: 6 additions & 2 deletions po/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: com.fyralabs.ValaTemplate\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-03 16:57-0800\n"
"POT-Creation-Date: 2024-02-04 17:58-0800\n"
"PO-Revision-Date: 2023-05-27 07:12+0000\n"
"Last-Translator: Anonymous <[email protected]>\n"
"Language-Team: French <https://weblate.fyralabs.com/projects/tauOS/vala-"
Expand All @@ -19,10 +19,14 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.16.4\n"

#: data/app.desktop.in.in:4 src/MainWindow.vala:23 src/MainWindow.vala:80
#: data/app.desktop.in.in:4 src/MainWindow.vala:18 src/MainWindow.vala:80
msgid "Skiff"
msgstr ""

#: data/app.desktop.in.in:5
msgid "Privacy-first end-to-end encrypted email"
msgstr ""

#: data/ui/mainwindow.blp:5
msgid "Preferences…"
msgstr ""
Expand Down
8 changes: 6 additions & 2 deletions po/id.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: com.fyralabs.ValaTemplate\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-03 16:57-0800\n"
"POT-Creation-Date: 2024-02-04 17:58-0800\n"
"PO-Revision-Date: 2023-05-27 07:12+0000\n"
"Last-Translator: Anonymous <[email protected]>\n"
"Language-Team: Indonesian <https://weblate.fyralabs.com/projects/tauOS/vala-"
Expand All @@ -19,10 +19,14 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.16.4\n"

#: data/app.desktop.in.in:4 src/MainWindow.vala:23 src/MainWindow.vala:80
#: data/app.desktop.in.in:4 src/MainWindow.vala:18 src/MainWindow.vala:80
msgid "Skiff"
msgstr ""

#: data/app.desktop.in.in:5
msgid "Privacy-first end-to-end encrypted email"
msgstr ""

#: data/ui/mainwindow.blp:5
msgid "Preferences…"
msgstr ""
Expand Down
8 changes: 6 additions & 2 deletions po/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: com.fyralabs.ValaTemplate\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-03 16:57-0800\n"
"POT-Creation-Date: 2024-02-04 17:58-0800\n"
"PO-Revision-Date: 2023-05-27 07:12+0000\n"
"Last-Translator: Anonymous <[email protected]>\n"
"Language-Team: Italian <https://weblate.fyralabs.com/projects/tauOS/vala-"
Expand All @@ -19,10 +19,14 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.16.4\n"

#: data/app.desktop.in.in:4 src/MainWindow.vala:23 src/MainWindow.vala:80
#: data/app.desktop.in.in:4 src/MainWindow.vala:18 src/MainWindow.vala:80
msgid "Skiff"
msgstr ""

#: data/app.desktop.in.in:5
msgid "Privacy-first end-to-end encrypted email"
msgstr ""

#: data/ui/mainwindow.blp:5
msgid "Preferences…"
msgstr ""
Expand Down
8 changes: 6 additions & 2 deletions po/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: com.fyralabs.ValaTemplate\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-03 16:57-0800\n"
"POT-Creation-Date: 2024-02-04 17:58-0800\n"
"PO-Revision-Date: 2023-05-27 07:12+0000\n"
"Last-Translator: Anonymous <[email protected]>\n"
"Language-Team: Japanese <https://weblate.fyralabs.com/projects/tauOS/vala-"
Expand All @@ -19,10 +19,14 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.16.4\n"

#: data/app.desktop.in.in:4 src/MainWindow.vala:23 src/MainWindow.vala:80
#: data/app.desktop.in.in:4 src/MainWindow.vala:18 src/MainWindow.vala:80
msgid "Skiff"
msgstr ""

#: data/app.desktop.in.in:5
msgid "Privacy-first end-to-end encrypted email"
msgstr ""

#: data/ui/mainwindow.blp:5
msgid "Preferences…"
msgstr ""
Expand Down
8 changes: 6 additions & 2 deletions po/nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: com.fyralabs.ValaTemplate\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-03 16:57-0800\n"
"POT-Creation-Date: 2024-02-04 17:58-0800\n"
"PO-Revision-Date: 2023-05-27 07:12+0000\n"
"Last-Translator: Anonymous <[email protected]>\n"
"Language-Team: Dutch <https://weblate.fyralabs.com/projects/tauOS/vala-"
Expand All @@ -19,10 +19,14 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.16.4\n"

#: data/app.desktop.in.in:4 src/MainWindow.vala:23 src/MainWindow.vala:80
#: data/app.desktop.in.in:4 src/MainWindow.vala:18 src/MainWindow.vala:80
msgid "Skiff"
msgstr ""

#: data/app.desktop.in.in:5
msgid "Privacy-first end-to-end encrypted email"
msgstr ""

#: data/ui/mainwindow.blp:5
msgid "Preferences…"
msgstr ""
Expand Down
8 changes: 6 additions & 2 deletions po/pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: com.fyralabs.ValaTemplate\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-03 16:57-0800\n"
"POT-Creation-Date: 2024-02-04 17:58-0800\n"
"PO-Revision-Date: 2023-05-27 07:12+0000\n"
"Last-Translator: Anonymous <[email protected]>\n"
"Language-Team: Portuguese (Brazil) <https://weblate.fyralabs.com/projects/"
Expand All @@ -19,10 +19,14 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.16.4\n"

#: data/app.desktop.in.in:4 src/MainWindow.vala:23 src/MainWindow.vala:80
#: data/app.desktop.in.in:4 src/MainWindow.vala:18 src/MainWindow.vala:80
msgid "Skiff"
msgstr ""

#: data/app.desktop.in.in:5
msgid "Privacy-first end-to-end encrypted email"
msgstr ""

#: data/ui/mainwindow.blp:5
msgid "Preferences…"
msgstr ""
Expand Down
12 changes: 8 additions & 4 deletions po/ru.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: com.fyralabs.ValaTemplate\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-03 16:57-0800\n"
"POT-Creation-Date: 2024-02-04 17:58-0800\n"
"PO-Revision-Date: 2023-05-27 07:12+0000\n"
"Last-Translator: Anonymous <[email protected]>\n"
"Language-Team: Russian <https://weblate.fyralabs.com/projects/tauOS/vala-"
Expand All @@ -16,14 +16,18 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.16.4\n"

#: data/app.desktop.in.in:4 src/MainWindow.vala:23 src/MainWindow.vala:80
#: data/app.desktop.in.in:4 src/MainWindow.vala:18 src/MainWindow.vala:80
msgid "Skiff"
msgstr ""

#: data/app.desktop.in.in:5
msgid "Privacy-first end-to-end encrypted email"
msgstr ""

#: data/ui/mainwindow.blp:5
msgid "Preferences…"
msgstr ""
Expand Down
Loading

0 comments on commit 20a5034

Please sign in to comment.