Commit 0e178029 authored by Evangelos Ribeiro Tzaras's avatar Evangelos Ribeiro Tzaras
Browse files

New upstream version 44~alpha.0

parents 066a698c 74a7475b
......@@ -11,7 +11,7 @@ stages:
variables:
L5_DOCKER_IMAGE: debian:bookworm
DEBIAN_IMAGE: $CI_REGISTRY/gnome/calls/debian:v0.0.20220817
DEBIAN_IMAGE: $CI_REGISTRY/gnome/calls/debian:v0.0.20221117
GIT_SUBMODULE_STRATEGY: normal
build:native:
......@@ -77,17 +77,51 @@ package:deb-pureos-byzantium:arm64:
- aarch64
extends: .l5-build-debian-package
flatpak:main:
extends: .flatpak
stage: package
allow_failure: true
.vars-devel:
variables:
MANIFEST_PATH: "org.gnome.Calls.json"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
FLATPAK_MODULE: "calls"
MESON_ARGS: ""
APP_ID: "org.gnome.Calls"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
BUNDLE: "calls.flatpak"
CONFIG_OPTS: >-
-Dmanpages=false
TEST_RUN_ARGS: >-
"calls:Validate desktop file"
"calls:Validate daemon desktop file"
calls:util
calls:settings
calls:origin
calls:provider
calls:call
calls:plugins
calls:contacts
calls:ui-call
calls:manager
calls:ringer
calls:media
calls:srtp
calls:sdp-crypto
# Disable test because it fails in flatpak
#calls:sip
# Build Flatpak for x86_64
flatpak@x86_64:
extends: ['.flatpak@x86_64', '.vars-devel']
# Build Flatpak for aarch64
flatpak@aarch64:
extends: ['.flatpak@aarch64', '.vars-devel']
# Publish Flatpak for x86_64
nightly@x86_64:
extends: '.publish_nightly'
needs: ['flatpak@x86_64']
# Publish Flatpak for aarch64
nightly@aarch64:
extends: '.publish_nightly'
needs: ['flatpak@aarch64']
pages:
stage: deploy
......
......@@ -107,6 +107,7 @@ if [ $build == 1 ]; then
${CMD} build \
${format} \
--volume "$(pwd)/..:/home/user/app" \
--no-cache \
--build-arg HOST_USER_ID="$UID" \
--tag "${TAG}" \
--file "${base}.Dockerfile" .
......
Calls 44.alpha.0
----------------
Released: 3 December 2022
New features:
=============
None
Maybe noteworthy:
=================
* Fixed rare endless ringing bug (requires feedbackd 0.0.1)
* SIP: Honour remote port in INVITE
* SIP: Reenable G722 codec
* Shuts down gracefully on SIGTERM/SIGINT
* Flatpak build improvements
Code contributions:
===================
- Evangelos Ribeiro Tzaras
- Julian Sparber
- Дилян Палаузов
Translation updates:
====================
- Czech (Daniel Rusek)
- Hungarian (Balázs Úr)
- Ukrainian (Yuri Chornoivan)
- Georgian (Zurab Kargareteli)
- Swedish (Anders Jonsson)
- Polish (Piotr Drąg)
- Romanian (Daniel Șerbănescu)
- Italian (Vittorio Monti)
- Hebrew (Yosef Or Boczko)
- Portuguese (Hugo Carvalho)
- Finnish (Jiri Grönroos)
- Russian (Aleksandr Melman)
- Indonesian (Kukuh Syafaat)
- Basque (asier Sarasua Garmendia)
- Chinese (Boyuan Yang)
The detailed changes can be found in debian/changelog
Calls 43.0
----------
Released: 19 September 2022
......
From 5b34d5883d1c7fc9d306491a0823badcaf03bdda Mon Sep 17 00:00:00 2001
From: Julian Sparber <julian@sparber.net>
Date: Fri, 8 Nov 2019 16:44:18 +0100
Subject: [PATCH] Remove java dep, and fix build issue in libphonenumber
Java is used only for generating the metadata which is already included
in the git repo. Related upstream MR: https://github.com/google/libphonenumber/pull/2363
---
cpp/CMakeLists.txt | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index 38ce1f50..b5e2770b 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -130,9 +130,6 @@ endif ()
find_required_program (PROTOC protoc
"Google Protocol Buffers compiler (protoc)")
-find_required_program (JAVA java
- "Java Runtime Environment")
-
if (APPLE)
FIND_LIBRARY (COREFOUNDATION_LIB CoreFoundation)
FIND_LIBRARY (FOUNDATION_LIB Foundation)
@@ -268,13 +265,10 @@ function (add_metadata_gen_target TARGET_NAME
set (METADATA_SOURCE_DIR "${CMAKE_SOURCE_DIR}/src/phonenumbers")
set (GEN_OUTPUT "${METADATA_SOURCE_DIR}/${METADATA_TYPE}.cc"
"${METADATA_SOURCE_DIR}/${METADATA_HEADER}.h")
- set (JAR_PATH "${CMAKE_SOURCE_DIR}/../tools/java/cpp-build/target")
- set (JAR_PATH "${JAR_PATH}/cpp-build-1.0-SNAPSHOT-jar-with-dependencies.jar")
-
add_custom_command (
- COMMAND ${JAVA_BIN} -jar
- ${JAR_PATH} BuildMetadataCppFromXml ${XML_FILE}
- ${CMAKE_SOURCE_DIR}/src/phonenumbers ${METADATA_TYPE}
+ COMMAND echo "skip metadata generation from"
+ ${XML_FILE} "to"
+ ${CMAKE_SOURCE_DIR}/src/phonenumbers ${METADATA_TYPE}
OUTPUT ${GEN_OUTPUT}
DEPENDS ${XML_FILE}
@@ -314,7 +308,7 @@ add_metadata_gen_target (
${TEST_METADATA_TARGET}
"${RESOURCES_DIR}/PhoneNumberMetadataForTesting.xml"
"test_metadata"
- "metadata"
+ "test_metadata"
)
list (APPEND TESTING_LIBRARY_SOURCES "src/phonenumbers/test_metadata.cc")
--
2.20.1
......@@ -11,7 +11,7 @@ desktop_file = i18n.merge_file(
install_dir : join_paths(datadir, 'applications')
)
desktop_file = i18n.merge_file(
desktop_daemon_file = i18n.merge_file(
input : 'org.gnome.Calls-daemon.desktop.in',
output : 'org.gnome.Calls-daemon.desktop',
type : 'desktop',
......@@ -35,16 +35,27 @@ configure_file(
desktop_utils = find_program('desktop-file-validate', required: false)
if desktop_utils.found()
test('Validate desktop file', desktop_utils,
args: [join_paths(meson.current_build_dir(),
'org.gnome.Calls.desktop')
])
test('Validate daemon desktop file', desktop_utils,
args: [join_paths(meson.current_build_dir(),
'org.gnome.Calls-daemon.desktop')
])
test('Validate desktop file',
desktop_utils,
args: [
desktop_file.full_path()
],
depends: [
desktop_file,
],
)
test('Validate daemon desktop file',
desktop_utils,
args: [
desktop_daemon_file.full_path()
],
depends: [
desktop_daemon_file,
],
)
endif
# Metainfo file
install_data('org.gnome.Calls.metainfo.xml',
install_dir: join_paths(datadir, 'metainfo'),
......
gnome-calls (43~rc.1) UNRELEASED; urgency=medium
gnome-calls (44~alpha.0) byzantium; urgency=medium
[ Evangelos Ribeiro Tzaras ]
* meson: Post release bump
* manager: Remove unused include
* record-store: Removed deprecated CuiCallStates
* ringer: Remove deprecated CuiCallStates
* ringer: Move libfeedback related cleanup to finalize()
* ringer: Cancel any ongoing actions on shutdown
* application: Don't return value in start_proper()
* application: Don't show application window if started as daemon
* meson: Sort sources alphabetically
* flatpak: Fix flatpak build
* test-ringer: Remove cancellable test
* tests: Mock libfeedback
* tests: Rename functions
* test-ringer: Use glib testing functions instead of mocka
* build: drop libmocka dependency
* d/copyright: Update
* media-pipeline: Bind to the unspecified IPv6 address
* Revert "Disable g722 to avoid test failure with ffmpeg 5.0/gst-libav"
* new-call-box: Switch to using CuiDialpad
* new-call-box: Reindent
* application: Fix indentation
* log: Use unsigned int for verbosity
* application: Propagate verbosity to main instance
* test-util: Remove unused include
* util: Remove unused code
* util: Rename function to calls_find_in_model() and adjust documentation
* util: Add API to check address family of IP address
* sip: media-manager: Simplify SDP generation
* media-pipeline: Dump dot graph without GST_DEBUG_DUMP_DOT_DIR set
* sip-origin: Honour set port when completing address
* ui-call-data: Add debugging for state changes
* ui-call-data: Prevent timer being started multiple times
* contacts-provider: Remove unused variable
* contact-provider: Allow can-add-contacts to be reset
* mm-provider: Cancel ongoing operations
* test-ringer: Assert object finalization
* mock-lfb-event: Uncrustify
* mock-lfb-event: Emit "feedback-ended" signal
* ringer: Never cancel async DBus calls and refactor (Closes: #470)
* ringer: Cancel async libfeedback calls on timeout
* ringer: Break loop if triggered event was ended immediately
* application: Shut down graceful on SIGTERM/SIGINT
* account-overview: Close windows when pressing Escape (Closes: #511)
* account-overview: Set window title
* gcovr: Exclude sip-provider.c and dummy-provider.c
* d/control: Bump required feedbackd version to 0.0.1
* flatpak: Bump required feedbackd version to 0.0.1
* run-docker: Don't cache container images
* ci: Update image
* log: Fix returned verbosity delta
* application: Print positive delta when changing verbosity
* log: Use feature test macro before any include
[ anteater ]
* po/es: Fix "llamadase" typo
[ Daniel Rusek ]
* Update Czech translation
[ Balázs Úr ]
* Update Hungarian translation
* Update Hungarian translation
[ Дилян Палаузов ]
* SIP dial() convert the port from int to string
* provider/sip: on_origin_pw_looked_up() display_name is read twice
[ Yuri Chornoivan ]
* Update Ukrainian translation
[ Zurab Kargareteli ]
* Update Georgian translation
[ Anders Jonsson ]
* Update Swedish translation
[ Piotr Drąg ]
* Update Polish translation
[ Daniel Șerbănescu ]
* Update Romanian translation
[ Vittorio Monti ]
* Update Italian translation
[ Yosef Or Boczko ]
* Update Hebrew translation
[ Hugo Carvalho ]
* Update Portuguese translation
[ Jiri Grönroos ]
* Update Finnish translation
[ Aleksandr Melman ]
* Update Russian translation
[ Kukuh Syafaat ]
* Update Indonesian translation
[ Asier Sarasua Garmendia ]
* Add Basque translation
[ Boyuan Yang ]
* Add Chinese (China) translation
[ Julian Sparber ]
* flatpak: Drop libcanberra and gsound deps
* flatpak: Update libpeas and disable some features
* flatpak: Build local files
* flatpak: Don't use boost
* flatpak: Update protobuf and GTest
* flatpak: update sofia-sip
* flatpak: Add gvfs-access
* tests: Fix sdp-crypto test for flatpak
* tests: Ensure that desktop files are built before testing them
* meson: Don't set G_TEST_*
* plugins: Rescan for plugins after adding search paths
* tests: Use CALLS_PLUGIN_DIR to search for plugins in the build dir
* manager: Only set search path from CALLS_PLUGIN_DIR when path exists
* ci: Build and deploy nightly flatpaks for aarch64 and x86_64
* flatpak: Set build_dir properly
* tests: Make ringer test depend on mocked libfeedback
* tests: Ensure that plugins are build for tests that need them
* flatpak: Don't run calls:sip tests in CI
-- Evangelos Ribeiro Tzaras <devrtz-debian@fortysixandtwo.eu> Sat, 03 Dec 2022 20:19:21 +0100
gnome-calls (43.0) unstable; urgency=medium
[ Emin Tufan Çetin ]
* Update Turkish translation
......
......@@ -12,9 +12,8 @@ Build-Depends:
gstreamer1.0-plugins-good,
gtk-doc-tools <!nodoc>,
libcallaudio-dev (>= 0.0.5),
libcmocka-dev,
libebook-contacts1.2-dev,
libfeedback-dev,
libfeedback-dev (>= 0.0.1),
libfolks-dev,
libgom-1.0-dev,
libgstreamer1.0-dev,
......
This diff is collapsed.
exclude = src/dbus
exclude = subprojects/
\ No newline at end of file
exclude = subprojects/
# exclude calls-dummy-provider.c and calls-sip-provider.c as
# gcovr currently can't handle having the same function name twice on different lines:
# #ifdef FOR_TESTING switches between G_DEFINE_TYPE and a G_DEFINE_DYNAMIC_TYPE
# see https://github.com/gcovr/gcovr/issues/586
exclude = plugins/provider/dummy/calls-dummy-provider.c
exclude = plugins/provider/sip/calls-sip-provider.c
......@@ -22,7 +22,7 @@
project(
'calls',
'c', 'vala',
version: '43.0',
version: '44.alpha.0',
license: 'GPLv3+',
meson_version: '>= 0.56.0',
default_options: [
......@@ -47,8 +47,6 @@ full_servicedir = join_paths(prefix, get_option('datadir'), 'dbus-1', 'services'
localedir = get_option('localedir')
full_localedir = join_paths(prefix, localedir)
full_calls_plugin_libdir = join_paths(prefix, libdir, calls_name, 'plugins')
# Path to plugins inside the build dir, used for testing
full_calls_plugin_builddir = join_paths(builddir, 'plugins')
libcall_ui_dep = dependency('call-ui',
fallback: ['libcall-ui', 'libcall_ui_dep'],
......@@ -132,8 +130,8 @@ add_project_arguments(
subdir('po')
subdir('src')
subdir('tests')
subdir('plugins')
subdir('tests')
subdir('doc')
subdir('data')
......
......@@ -16,7 +16,9 @@
"--talk-name=im.pidgin.purple.PurpleService",
"--talk-name=org.gnome.evolution.dataserver.Subprocess.Backend.*",
"--talk-name=org.mobian_project.CallAudio",
"--talk-name=org.sigxcpu.Feedback"
"--talk-name=org.sigxcpu.Feedback",
"--talk-name=org.gtk.vfs.*",
"--filesystem=xdg-run/gvfsd"
],
"cleanup" : [
"/include",
......@@ -49,125 +51,92 @@
}
]
},
{
"name" : "gsound",
"buildsystem" : "meson",
"sources" : [
{
"type" : "archive",
"url" : "https://download.gnome.org/sources/gsound/1.0/gsound-1.0.3.tar.xz",
"sha256" : "ca2d039e1ebd148647017a7f548862350bc9af01986d39f10cfdc8e95f07881a"
}
],
"modules": [
{
"name" : "libcanberra",
"sources" : [
{
"type" : "archive",
"url" : "http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz",
"sha256" : "c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72"
}
],
"config-opts" : [
"--disable-alsa",
"--disable-null",
"--disable-oss"
]
}
]
},
{
"name" : "libpeas",
"buildsystem" : "meson",
"sources" : [
{
"type" : "archive",
"url" : "https://download.gnome.org/sources/libpeas/1.30/libpeas-1.30.0.tar.xz",
"sha256": "0bf5562e9bfc0382a9dcb81f64340787542568762a3a367d9d90f6185898b9a3"
}
]
},
{
"name" : "boost",
"buildsystem" : "simple",
"sources" : [
{
"type" : "archive",
"url" : "https://boostorg.jfrog.io/artifactory/main/release/1.72.0/source/boost_1_72_0.tar.bz2",
"sha256" : "59c9b274bc451cf91a9ba1dd2c7fdcaf5d60b1b3aa83f2c9fa143417cc660722"
}
],
"build-commands" : [
"./bootstrap.sh --prefix=${FLATPAK_DEST} --with-libraries=date_time,thread,system",
"./b2 -j ${FLATPAK_BUILDER_N_JOBS} install"
],
"cleanup" : [
"/share",
"/bin"
]
},
{
"name" : "GTest",
"buildsystem" : "cmake-ninja",
"cleanup" : ["*"],
"sources" : [
{
"type" : "archive",
"url" : "http://archive.ubuntu.com/ubuntu/pool/universe/g/googletest/googletest_1.8.0.orig.tar.gz",
"md5" : "16877098823401d1bf2ed7891d7dce36"
}
]
},
{
"name" : "protobuf",
"cleanup" : [
"protoc",
"/bin",
"/doc",
"/lib/plugins"
"config-opts" : [
"-Ddemos=false",
"-Dwidgetry=false",
"-Dlua51=false",
"-Dglade_catalog=false",
"-Dintrospection=false"
],
"sources" : [
{
"type" : "archive",
"url" : "https://github.com/protocolbuffers/protobuf/releases/download/v3.6.1/protobuf-cpp-3.6.1.tar.gz",
"sha256" : "b3732e471a9bb7950f090fd0457ebd2536a9ba0891b7f3785919c654fe2a2529"
}
]
},
{
"name" : "cmocka",
"buildsystem" : "cmake",
"builddir" : true,
"sources" : [
{
"type" : "archive",
"url" : "https://cmocka.org/files/1.1/cmocka-1.1.5.tar.xz",
"sha256" : "f0ccd8242d55e2fd74b16ba518359151f6f8383ff8aef4976e48393f77bba8b6"
"url" : "https://download.gnome.org/sources/libpeas/1.34/libpeas-1.34.0.tar.xz",
"sha256": "4305f715dab4b5ad3e8007daec316625e7065a94e63e25ef55eb1efb964a7bf0"
}
]
},
{
"name" : "libphonenumber",
"buildsystem" : "cmake-ninja",
"buildsystem" : "cmake",
"config-opts" : [
"-DCMAKE_CXX_STANDARD=17",
"-DREGENERATE_METADATA=OFF",
"-DUSE_BOOST=OFF"
],
"sources" : [
{
"type" : "archive",
"url" : "https://github.com/google/libphonenumber/archive/v8.10.16.tar.gz",
"sha256" : "0cd9baf788dc7a7cca94ecbd43d0a562c4acf21f234d66d756574be89edf14c5"
"url" : "https://github.com/google/libphonenumber/archive/refs/tags/v8.12.54.tar.gz",
"sha256" : "cf3d531a6b097cad508c475888bcf042ff15fabc6be05e3f817224ae8512ce63"
},
{
"type" : "shell",
"commands" : [
"sed -i -e 's/\${\${NAME}_BIN}-NOTFOUND/\${NAME}_BIN-NOTFOUND/' cpp/CMakeLists.txt"
]
},
{
"type" : "patch",
"path" : "build-aux/fix-libphonenumber-build.patch"
}
],
"subdir" : "cpp"
"subdir" : "cpp",
"modules" : [
{
"name" : "GTest",
"buildsystem" : "cmake-ninja",
"cleanup" : ["*"],
"sources" : [
{
"type" : "archive",
"url" : "https://github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz",
"sha256" : "81964fe578e9bd7c94dfdb09c8e4d6e6759e19967e397dbea48d1c10e45d0df2"
}
]
},
{
"name" : "protobuf",
"cleanup" : [
"protoc",
"/bin",
"/doc",
"/lib/plugins"
],
"sources" : [
{
"type" : "archive",
"url" : "https://github.com/protocolbuffers/protobuf/releases/download/v21.6/protobuf-cpp-3.21.6.tar.gz",
"sha256" : "a3c4c104b98a21a577ce5ecc0d9b9f43a359b917d0bcf69467b70dc27416dfdc"
}
]
},
{
"name" : "abseil",
"buildsystem" : "cmake",
"config-opts" : [
"-DCMAKE_CXX_STANDARD=17",
"-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
],
"sources" : [
{
"type" : "archive",
"url" : "https://github.com/abseil/abseil-cpp/archive/refs/tags/20220623.1.tar.gz",
"sha256" : "91ac87d30cc6d79f9ab974c51874a704de9c2647c40f6932597329a282217ba8"
}
]
}
]
},
{
"name" : "libical",
......@@ -209,6 +178,7 @@
"buildsystem" : "cmake-ninja",
"config-opts" : [
"-DENABLE_PHONENUMBER=ON",
"-DENABLE_OAUTH2=OFF",
"-DENABLE_DOT_LOCKING=OFF",
"-DENABLE_FILE_LOCKING=fcntl",
"-DENABLE_GOA=OFF",
......@@ -222,7 +192,11 @@
"-DENABLE_INSTALLED_TESTS=OFF",
"-DENABLE_GTK_DOC=OFF",
"-DENABLE_EXAMPLES=OFF",
"-DWITH_PHONENUMBER:PATH=/"
"-DENABLE_OAUTH2=OFF",
"-DWITH_PHONENUMBER:PATH=/",
"-DPHONENUMBER_DEFINITIONS=",
"-DENABLE_CANBERRA=OFF",
"-DENABLE_DOT_LOCKING=OFF"
],
"sources" : [
{
......@@ -270,8 +244,8 @@
"sources" : [
{
"type" : "archive",
"url" : "https://source.puri.sm/Librem5/feedbackd/-/archive/v0.0.0+git20220208/feedbackd-v0.0.0+git20220208.tar.gz",