1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-04 20:07:36 +00:00
Purism GNOME phone app
Find a file
Bob Ham 4979f5bb68 Merge branch 'unit-tests' into 'master'
Add initial unit tests for Provider

See merge request Librem5/calls!3
2018-06-11 15:34:48 +00:00
data data: Fix tests for desktop and appstream files 2018-06-11 16:15:44 +01:00
debian Add initial unit tests for Provider 2018-06-11 16:29:33 +01:00
doc Preliminary documentation of provider interfaces 2018-05-23 09:59:28 +01:00
libgdbofono Revert "meson: Add install flag for libgdbofono" 2018-06-11 12:16:11 +01:00
src Add initial unit tests for Provider 2018-06-11 16:29:33 +01:00
tests Add initial unit tests for Provider 2018-06-11 16:29:33 +01:00
.dir-locals.el Initial import of cleaned Calls working tree 2018-05-17 14:16:51 +01:00
calls.doap calls.doap: Update homepage location 2018-05-31 14:36:08 +01:00
meson.build Add initial unit tests for Provider 2018-06-11 16:29:33 +01:00
meson_options.txt Add initial unit tests for Provider 2018-06-11 16:29:33 +01:00
README.md README.md: Fix markdown for link to oFono source code 2018-05-31 14:53:22 +01:00
sm.puri.Calls.json flatpak: Inital flatpak manifest 2018-06-11 10:49:29 +02:00

Calls

A phone dialer and call handler.

License

Calls is licensed under the GPLv3+.

Dependencies

sudo apt-get install libgtk-3-dev libhandy-0.0-dev

Building

We use the meson and thereby Ninja. The quickest way to get going is to do the following:

meson ../calls-build
ninja -C ../calls-build
ninja -C ../calls-build install

Running

Calls depends on oFono Modem objects being present on D-Bus. To run oFono with useful output:

sudo OFONO_AT_DEBUG=1 ofonod -n -d

The test programs within the oFono source tree are useful to bring up a modem to a suitable state. For example:

cd $OFONO_SOURCE/test
./list-modems
./enable-modem /sim7100
./online-modem /sim7100

Then run Calls.

Phonesim

One can also make use of the modem simulator, phonesim (in the ofono-phonesim package in Debian):

ofono-phonesim -p 12345 -gui /usr/local/share/phonesim/default.xml

then, ensuring /etc/ofono/phonesim.conf has appropriate contents like:

[phonesim]
Address=127.0.0.1
Port=12345

run oFono as above, then:

cd $OFONO_SOURCE/test
./enable-modem /phonesim
./online-modem /phonesim

And again run Calls.