Commit Graph

2264 Commits

Author SHA1 Message Date
Guido Günther
208200465b build: Don't use libdir
It contains the arch prefix

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/811>
2025-12-17 17:53:47 +00:00
Christian Glombek
623c147542 tests/meson: Fix formatting
Make `check-meson` CI test happy.

Signed-off-by: Christian Glombek <c.glombek@cosa.systems>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/809>
2025-12-17 17:52:52 +00:00
Christian Glombek
f5cea04dac ci: Disable test runs on Flatpak builds
In the absence of a good mechanism to disable specific tests that fail in the flatpak build env, disable all tests.

Signed-off-by: Christian Glombek <c.glombek@cosa.systems>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/809>
2025-12-17 17:52:52 +00:00
Christian Glombek
71bde1b12e flatpak: Add libcall-ui dep source
Signed-off-by: Christian Glombek <c.glombek@cosa.systems>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/809>
2025-12-17 17:52:52 +00:00
Christian Glombek
1e873514c5 flatpak: Formatting fixes
Signed-off-by: Christian Glombek <c.glombek@cosa.systems>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/809>
2025-12-17 17:52:52 +00:00
Evangelos Ribeiro Tzaras
d6d2193792 ci: Ensure build dependencies get installed
This frees us from always having to update the container image
whenever build dependencies change.

Signed-off-by: Christian Glombek <c.glombek@cosa.systems>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/809>
2025-12-17 17:52:52 +00:00
Artur S0
260ea43b01 Update Russian translation 2025-12-17 14:51:01 +00:00
Antonio Marin
b4ef366461 Update Romanian translation 2025-12-01 15:31:46 +00:00
Sabri Ünal
baf53ad62e Update Turkish translation 2025-11-29 15:31:49 +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
39ede24c01 manpage: Adjust the option for running as a daemon
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
Martin Prejsa
d7bd51828e ui-call-data: Implement call-type property
Added tests for the newly added property
and tests for the newly created helper functions

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/806>
2025-11-25 17:40:17 +01:00
Evangelos Ribeiro Tzaras
f2083c0d4e build: Drop (direct) libcallaudio dependency
Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/806>
2025-11-25 17:40:17 +01:00
Evangelos Ribeiro Tzaras
3c8e3253ad application: Drop libcallaudio initialization
libcallaudio bits live in libcall-ui for a long time
(and libcallaudio is going away anyway).

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/806>
2025-11-25 17:40:17 +01:00
Evangelos Ribeiro Tzaras
1d39eae8cb debian: Allow to fetch meson wraps
This is needed since we removed the git submodule and turned
libcall-ui into a meson subproject instead.

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/806>
2025-11-25 17:30:52 +01:00
Evangelos Ribeiro Tzaras
4a09c78d2d subprojects: Add libcall-ui as meson subproject
Get rid of the git submodule and forward to the latest commit
that avoids deprecation warnings while we're at it.

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/806>
2025-11-25 17:09:13 +01:00
Martin
8516e99d1c Update Slovenian translation 2025-11-13 20:24:36 +00:00
Christian Glombek
1b77aecf07 sip: Reorder account widget ui
Signed-off-by: Christian Glombek <c.glombek@cosa.systems>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/801>
2025-11-07 23:20:22 +01:00
Christian Glombek
3034bec1de sip: Add proxy support
Signed-off-by: Christian Glombek <c.glombek@cosa.systems>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/801>
2025-10-31 13:15:22 +01:00
Evangelos Ribeiro Tzaras
b6b5a99c06 sip-origin: Drop unneeded includes
Gbp-Dch: Ignore

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/802>
2025-10-30 12:26:25 +00:00
Evangelos Ribeiro Tzaras
d365a7f695 build: Bump min glib version to 2.76
This allows us to use e.g. g_set_str() without raising deprecation
warnings.

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/803>
2025-10-29 13:50:21 +01:00
Evangelos Ribeiro Tzaras
ea345addbe git: Ignore wraplock files
Gbp-Dch: Ignore

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
4be9b38994 ci: Use ci-fairy to check commit messages
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
36fc47b663 ci: Check meson format
Use check-meson from meta-phosh as of
eb1c7f3c602f93e50ba0f1b7da31c936c771a75c

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
7baa515707 build: Sort tests alphabetically
Gbp-Dch: Ignore

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
e4a75a0844 tests: Add dbus server binary to dependencies
Otherwise we `meson test` will not compile the server
required for the DBus tests.

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

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
3184fa3af0 tests: Depend on .plugin files to exist
When .plugin files are missing, the plugins will not be discoverable.
These were only getting built when run with `meson compile`,
but not for `meson test`.

Helps: https://gitlab.gnome.org/GNOME/calls/-/issues/719

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
93a5c1911d build: Modernize and deduplicate setting up test targets
Get rid of the duplication by rolling (almost) every test into a loop.
We now iterate over an array containing at least the name and list of sources.
To account for some differences between individual tests, we allow an
optional third array consisting of a dictionary for extra arguments.

In particular we ensure that the `test()` target now always depends on
the test binary, so that it will get properly rebuilt on changes to
the sources.

Note, that we're resorting in a separate commit, to ease reviewing.

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
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
Guido Günther
50b34aec53 log: Make G_MESSAGES_DEBUG=something work out of the box
calls wouldn't match the glib docs as setting `G_MESSAGES_DEBUG`
also required to pass `-vvv` for things to work. Enable debug logs
as soon as that variable is set.

Closes: https://gitlab.gnome.org/GNOME/calls/-/issues/720
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/800>
2025-10-20 13:13:02 +02:00
Guido Günther
f98f2871de emergency-call-types: Test get_numbers_by_country_code
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/790>
2025-10-16 13:45:49 +00:00
Guido Günther
6f44a7c7fd emergency-call-types: Add emergency numbers from service provider db
This scales better than using a built in array.

Closes: https://gitlab.gnome.org/GNOME/calls/-/issues/714
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/790>
2025-10-16 13:45:49 +00:00
Guido Günther
8de3c90b66 emergency-call-types: Use lower case country codes
The provider info db has it that way.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/790>
2025-10-16 13:45:49 +00:00
Guido Günther
07d751f958 service-providers: Add parsing for service provider info
We currently only need the emergency number information

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/790>
2025-10-16 13:45:49 +00:00
Guido Günther
5d751f3143 emergency-calls-manager: Init emergency type database
We so far did this on first access. Let's rather do it explicitly
so we notice problems early on startup.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/790>
2025-10-16 13:45:49 +00:00
Guido Günther
f95370eddc emergency-call-types: Make data structures public
This allows us to use them in tests

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/790>
2025-10-16 13:45:49 +00:00
Guido Günther
b5e944193e emergency-call-types: Make emergency data hash table dynamic
So far we referenced all compiled in data but we want to add
entries from the provider info database soon so use allocated
memories for all entries.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/790>
2025-10-16 13:45:49 +00:00
Guido Günther
ee198d2073 emergency-call-types: Make hash table static
This is only meant to be used from this compilation unit

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/790>
2025-10-16 13:45:49 +00:00
Guido Günther
467111ad14 build: Add gmobile
We'll use it for the provider info parsing

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/790>
2025-10-16 13:45:49 +00:00
Guido Günther
401d02f47d build: Depend on mobile-broadband-provider-info
This will be used for emergency number lookup

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/790>
2025-10-16 13:45:49 +00:00
Guido Günther
52555030fb emergency-call-types: Use strv builder
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/790>
2025-10-16 13:45:49 +00:00
Guido Günther
3e7f5e77ab emergency-call-types: Fix copyright year and holder
The files were created 2022, the header stating 2021 is a copy and paste
error. Fix a typo while at that.

Gbp-Dch: Ignore
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/790>
2025-10-16 13:45:49 +00:00
Guido Günther
e617599ef0 flatpak: Use newer libfeedback
Let's have the bug fixes

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/790>
2025-10-16 13:45:49 +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
9fab9ec7a5 plugin-manager: Add API to unload all plugins
And add tests for it.

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/796>
2025-10-14 11:11:56 +02:00
Evangelos Ribeiro Tzaras
33e5b193a0 test-application: Check for expected plugins to be loaded
These tests helps ensure the application will always have plugins
loaded and prevent regressions.

Helps: https://gitlab.gnome.org/GNOME/calls/-/issues/718

Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/796>
2025-10-14 11:09:24 +02:00
Guido Günther
7103f18e48 application: Load plugins early
Fixes: 574e1f79 ("application: Drop ignore_activation flag")
Closes: https://gitlab.gnome.org/GNOME/calls/-/issues/718
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/795>
2025-10-13 21:31:16 +02:00
Guido Günther
e608c83273 app: Use automatic cleanup
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/795>
2025-10-13 21:31:16 +02:00
Guido Günther
8f6b8bc6b9 application: Actually test for write ahead log
While the test was correct and checked if there is only
`record.db` in a given dir (and no other files) it wouldn't
tell us whether the file wasn't there or there were additional
files found. Hence replace the test by assertions that tell
use exactly what failed easing debugging in CI.

Fixes: e4bd4580 ("tests: Add application shutdown tests")
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/795>
2025-10-13 21:31:16 +02:00