diff --git a/calls-43.2.tar.xz b/calls-43.2.tar.xz deleted file mode 100644 index 0fa7a99..0000000 Binary files a/calls-43.2.tar.xz and /dev/null differ diff --git a/calls-c99.patch b/calls-c99.patch new file mode 100644 index 0000000..f610ff8 --- /dev/null +++ b/calls-c99.patch @@ -0,0 +1,27 @@ +Add a local declaration of the internal su_random64 function from +sofia-sip, so that it can be called with compilers which do not +support implicit function declarations. + +Submitted upstream: + +diff --git a/calls-v44_alpha.1/plugins/provider/tests/test-sip.c b/calls-v44_alpha.1/plugins/provider/tests/test-sip.c +index d9c013fac30854c0..00fba3106aeec194 100644 +--- a/calls-v44_alpha.1/plugins/provider/tests/test-sip.c ++++ b/calls-v44_alpha.1/plugins/provider/tests/test-sip.c +@@ -21,6 +21,8 @@ + #include + #include + ++#include ++ + typedef struct { + CallsSipProvider *provider; + CallsSipOrigin *origin_alice; +@@ -430,6 +432,7 @@ main (int argc, + + gst_init (NULL, NULL); + /* this is a workaround for an issue with sofia: https://github.com/freeswitch/sofia-sip/issues/58 */ ++ extern uint64_t su_random64 (void); + su_random64 (); + + g_test_add ("/Calls/SIP/provider_object", SipFixture, NULL, diff --git a/calls-v44_alpha.1.tar.gz b/calls-v44_alpha.1.tar.gz new file mode 100644 index 0000000..c25f413 Binary files /dev/null and b/calls-v44_alpha.1.tar.gz differ diff --git a/calls.spec b/calls.spec index 774b3f7..19874ee 100644 --- a/calls.spec +++ b/calls.spec @@ -1,13 +1,14 @@ %global libcall_ui_commit 619dd91561ad470db3d0e0e263ebc35d787afd2e Name: calls -Version: 43.2 +Version: 44~alpha.1 Release: 1 Summary: A phone dialer and call handler License: GPLv3+ and MIT URL: https://gitlab.gnome.org/GNOME/calls -Source0: https://download.gnome.org/sources/calls/43/%{name}-%{version}.tar.xz +Source0: https://gitlab.gnome.org/GNOME/calls/-/archive/v44_alpha.1/%{name}-v44_alpha.1.tar.gz Source1: https://gitlab.gnome.org/World/Phosh/libcall-ui/-/archive/%{libcall_ui_commit}/libcall-ui-%{libcall_ui_commit}.tar.gz +Patch0: calls-c99.patch BuildRequires: gcc BuildRequires: meson @@ -41,9 +42,9 @@ Requires: hicolor-icon-theme A phone dialer and call handler. %prep -%setup -a1 -q -n %{name}-%{version} +%setup -a1 -q -n %{name}-v44_alpha.1 +%patch0 -p2 -rm -rf subprojects/libcall-ui/* mv libcall-ui-%{libcall_ui_commit}/* subprojects/libcall-ui/ %build @@ -94,21 +95,33 @@ SH %license COPYING %{_sysconfdir}/xdg/autostart/org.gnome.Calls-daemon.desktop %{_bindir}/gnome-%{name} + +%dir %{_libdir}/calls/plugins/provider + +%dir %{_libdir}/calls/plugins/provider/mm +%dir %{_libdir}/calls/plugins/provider/dummy +%dir %{_libdir}/calls/plugins/provider/sip + %{_libdir}/calls/plugins/provider/mm/libmm.so %{_libdir}/calls/plugins/provider/mm/mm.plugin %{_libdir}/calls/plugins/provider/dummy/dummy.plugin %{_libdir}/calls/plugins/provider/dummy/libdummy.so %{_libdir}/calls/plugins/provider/sip/libsip.so %{_libdir}/calls/plugins/provider/sip/sip.plugin + %{_datadir}/dbus-1/services/org.gnome.Calls.service %{_datadir}/glib-2.0/schemas/org.gnome.Calls.gschema.xml %{_datadir}/applications/org.gnome.Calls.desktop %{_datadir}/icons/hicolor/scalable/apps/org.gnome.Calls.svg %{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Calls-symbolic.svg %{_datadir}/metainfo/org.gnome.Calls.metainfo.xml + %{_mandir}/man1/gnome-calls.1* %changelog +* Thu Nov 23 2023 zhangxianting - 44~alpha.1-1 +- update to version 44~alpha.1 + * Mon Jan 02 2023 lin zhang - 43.2-1 - Update to 43.2