Commit Graph

97 Commits

Author SHA1 Message Date
Kevin Bataille
4d46cdb029 Bundle fallback ringback and busy tone audio files
Most desktop Linux sound themes lack telephony events like
phone-outgoing-calling and phone-outgoing-busy, causing gsound
playback to fail silently. Bundle OGG Vorbis fallback files and
pass GSOUND_ATTR_MEDIA_FILENAME alongside GSOUND_ATTR_EVENT_ID
so libcanberra falls back to the bundled audio when the theme
event is not found.
2026-02-08 14:45:35 +01:00
Sabri Ünal
a53ee23941 metainfo: Drop categories from metainfo.xml
**Categories and keywords**
> If there’s a launchable defined for a desktop application, categories and keywords are pulled from the desktop file. Defining them separately in the Metainfo file will override the contents of the desktop file.

Source: https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines#categories-and-keywords

Signed-off-by: Sabri Ünal <yakushabb@gmail.com>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/812>
2026-01-25 18:22:07 +00:00
Sebastian Krzyszkowiak
93d3a967d3 data: Restart the daemon on failure
If Calls crashes for some reason, the user will be left with no
running Calls instance until it's launched manually. Make sure
the daemon gets restarted on a failure.

Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/810>
2025-12-26 10:15:07 +00:00
Evangelos Ribeiro Tzaras
f99763ae76 dbus: Add SystemdService entry
This allows to use systemd for dbus service activation.

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/805>
2025-11-27 21:06:41 +00:00
Evangelos Ribeiro Tzaras
450ed97877 systemd: Use --gapplication-service to launch
Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/805>
2025-11-27 21:06:41 +00:00
Evangelos Ribeiro Tzaras
fec9e953ae treewide: Reformat meson files
Ran `meson format -e -i -r`.

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/798>
2025-10-28 13:33:28 +00:00
Evangelos Ribeiro Tzaras
798c698463 treewide: Document changes and release 49.1.1
Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/797>
2025-10-14 16:07:54 +02:00
Evangelos Ribeiro Tzaras
08b61594df treewide: Document changes and release 49.1
Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/793>
2025-10-10 11:29:04 +02:00
Guido Günther
574e1f79a3 application: Drop ignore_activation flag
Rather use gapplication service. This makes the flow similar to what
Chatty does and makes us hold/release rather than having an application
window.

It also allows us to drop the --daemon.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/760>
2025-08-30 10:52:20 +00:00
Guido Günther
0c3adf840b data: Switch calls to DBus activation
This makes sure it gets correctly activated when launched e.g. in
phosh while calls is running in `--daemon` mode as the necessary
platform data containing the activation token is now passed via DBus.

This also helps situations when e.g. pressing the call button in chatty
or contacts.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/760>
2025-08-30 10:52:20 +00:00
Evangelos Ribeiro Tzaras
e170a76bc9 metainfo: Wrap old release notes in paragraph
This fixes the following warnings in `appstreamcli validate`:

W: org.gnome.Calls:239: description-spurious-text
   The description element contains raw text that is not in any paragraph or other permitted tag.
   This is not allowed and the additional text may be ignored by parsers or raise errors.

W: org.gnome.Calls:239: description-no-valid-content
   The description element does not contain any valid content (paragraphs, enumerations, etc.).

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/781>
2025-05-24 20:30:56 +02:00
Guido Günther
c6f816687d data: Start calls as part of gnome-session
Since the "calls daemon" is the full app we depend on session services
and portls. Start within gnome-session startup to make sure we don't
start too early.

Closes: https://gitlab.gnome.org/GNOME/calls/-/issues/690

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/771>
2025-04-04 08:51:12 +00:00
Evangelos Ribeiro Tzaras
54326f0e1c treewide: Document changes and release 48.0
Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/768>
2025-03-17 02:41:08 +01:00
Evangelos Ribeiro Tzaras
11ce0eae72 metainfo: Remove links
Fixes the error that occurs during validation:
E: org.gnome.Calls:390: description-para-markup-invalid a
   This description paragraph contains invalid markup. Currently, only <em/> and <code/> are
   permitted.

Somehow CI missed this.
2024-09-14 22:29:28 +02:00
Evangelos Ribeiro Tzaras
d179a2b32a treewide: Document changes and release 47.0
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/758>
2024-09-14 22:02:20 +02:00
Balló György
ef5467fb64 build: Actually translate metainfo
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/751>
2024-08-31 08:11:50 +00:00
Evangelos Ribeiro Tzaras
1159c5135f gschema: Reword confusing always-allow-sdes key description
Closes: https://gitlab.gnome.org/GNOME/calls/-/issues/624

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/745>
2024-07-18 04:44:24 +02:00
Clayton Craft
bf6d4c22f4 data: add systemd unit file for running daemon
This adds a systemd unit file for running the Calls daemon, and adds a
key to the xdg autostart file to instruct gnome-session to ignore
starting when systemd is present. The expectation is that systemd
distros will enable the Calls daemon as a user service and not rely on
xdg autostart / gnome-session for running/managing the service. Systemd
is better at managing services than gnome-session.

Note: it's important to keep the xdg-autostart file around, some distros
(pmOS on openrc, others) don't use systemd and will still need to rely
on the xdg autostart mechanism for starting the Calls daemon.

Co-authored-by: Guido Günther <agx@sigxcpu.org>
2024-07-09 11:00:53 -07:00
Guido Günther
db9b771c19 Release 46.0
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/725>
2024-03-13 18:01:42 +01:00
Sabri Ünal
e9c1a89f76 Update developer ID
Appstream decided to use reverse DNS for developer IDs.

> The element should have a id property, containing a unique ID to identify the component developer / development team. It is recommended to use a reverse-DNS name, like org.gnome or io.github.ximion, or a Fediverse handle (like @user@example.org) as ID to achieve a higher chance of uniqueness.

More information: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/724>
2024-03-13 15:09:00 +00:00
Sabri Ünal
6ee081283a appdata: Improve appdata for AppStream 1.0
- Add the `<developer><name>` tag
- Mark the `<developer_name>` tag as deprecated
2024-02-10 16:45:41 +00:00
Sabri Ünal
a51213622e appdata: add vcs-browser support
This URL is visible on Flathub and GNOME Control Center.

More information: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-url
2023-10-12 11:24:41 +03:00
Evangelos Ribeiro Tzaras
936d362873 Document and release 45.0 2023-09-24 07:21:29 +02:00
Evangelos Ribeiro Tzaras
22bcd46a26 build: Define po_dir variable 2023-05-15 09:56:28 +02:00
Evangelos Ribeiro Tzaras
8963218478 Document and release 44.0 2023-03-17 11:36:29 +01:00
Julian Sparber
27d76cda7a tests: Ensure that desktop files are built before testing them
This also makes use of `.full_path()` since we don't need to reconstruct
the file name.
2022-12-03 12:32:29 +01:00
Evangelos Ribeiro Tzaras
18ef729e00 Document and release 43.0 2022-09-19 20:33:53 +02:00
Evangelos Ribeiro Tzaras
e8a7485086 metainfo: Correct screenshot URLs
Fixes #497
2022-09-19 20:17:20 +02:00
Guido Günther
8d3a3dc65d data: Indicate that we're using feedbackd
This will allow configuration tools to pick up that intent.
2022-06-21 01:37:22 +00:00
Evangelos Ribeiro Tzaras
654664799b data: Add D-Bus service file
Heavily inspired by
cf329d0a05

Fixes #464
2022-06-20 05:39:31 +02:00
Evangelos Ribeiro Tzaras
30148cebe3 schema: Add setting allowing to use SDES
Key exchanges in SDES can only be done securely with TLS and the option
is disabled by default if not using TLS as the transport protocol.

This setting allows to override this behaviour if the user desires
it (f.e. if the user considers the network his packets go through to be trusted).
2022-05-24 22:48:59 +02:00
Evangelos Ribeiro Tzaras
818757d918 Document and release 42.0 2022-03-19 21:52:14 +01:00
Piotr Drąg
cc05d8c5b3 Use standard translator comments in .desktop files
So wording in every project is the same.
2022-03-19 16:33:18 +00:00
Evangelos Ribeiro Tzaras
281e0d3081 Document and release 42.rc.1 2022-03-06 05:06:22 +01:00
Evangelos Ribeiro Tzaras
4d5d3fffdf schema: Set G722 as the preferred audio codec
It has much better quality than PCMA.
2022-03-04 14:06:08 +01:00
Evangelos Ribeiro Tzaras
23ab31360a desktop: Add X-GNOME-UsesNotification
This allows Calls to be listed in GNOME Control Center's 'Notification' panel
as mentioned in https://docs.gtk.org/gio/class.Notification.html
2022-03-02 11:42:29 +01:00
Evangelos Ribeiro Tzaras
c0a23f5ddc Document and release 42.rc.0 2022-02-25 14:43:30 +01:00
Evangelos Ribeiro Tzaras
14930ba82f Document and release 42.beta.1 2022-01-26 14:35:20 +01:00
Evangelos Ribeiro Tzaras
1c253c0604 Document and release 42.beta.0 2022-01-25 14:22:43 +01:00
Evangelos Ribeiro Tzaras
558393a8cb meson: Don't access the network when validating metadata
Build servers might not allow network access and this shaves off a little time
in the test suite.
It shouldn't be a problem running the validation manually when adding new
screenshots.
2022-01-20 10:17:26 +01:00
Evangelos Ribeiro Tzaras
7fe8a90d77 settings: Add GSetting for preferred audio codecs 2021-12-21 15:05:47 +01:00
Evangelos Ribeiro Tzaras
e4f2ff105a Document and release 42.alpha.0 2021-12-14 10:00:12 +01:00
Evangelos Ribeiro Tzaras
89fd506f7d ci: Drop pedantic metainfo validation job
And instead run them as a part of the regular tests.
2021-11-30 12:05:27 +01:00
Evangelos Ribeiro Tzaras
a1409089f0 screenshots: Remove shell chrome
Fixes #347
2021-10-27 10:08:34 +02:00
Evangelos Ribeiro Tzaras
db2bb818b6 ci: Use appstreamcli instead of appstream-util 2021-10-21 09:54:12 +00:00
Evangelos Ribeiro Tzaras
f828f24591 metainfo: Add URL tag for translations
See
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-url
2021-10-21 09:54:12 +00:00
Evangelos Ribeiro Tzaras
41a4d64db5 metainfo: Add "translation" tag
See
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-translation
2021-10-21 09:54:12 +00:00
Evangelos Ribeiro Tzaras
a0208c7119 metainfo: Add "launchable" tag
See
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-launchable
2021-10-21 09:54:12 +00:00
Evangelos Ribeiro Tzaras
a723a66767 metainfo: Replace deprecated GPL license identifier
It is deprecated according to https://spdx.org/licenses/GPL-3.0+.html
and GPL-3.0-or-later should be used instead.
2021-10-21 09:54:12 +00:00
Evangelos Ribeiro Tzaras
dd22510516 metainfo: Update description 2021-10-21 09:54:12 +00:00