Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] linphone: update to 5.2.7
@ 2023-01-06 19:19 Johnnynator
  2023-01-10 20:03 ` [PR PATCH] [Updated] " Johnnynator
  2023-01-29 14:43 ` [PR PATCH] [Merged]: " Johnnynator
  0 siblings, 2 replies; 3+ messages in thread
From: Johnnynator @ 2023-01-06 19:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1595 bytes --]

There is a new pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages linphone
https://github.com/void-linux/void-packages/pull/41495

linphone: update to 5.2.7
- bcunit: update to 5.2.0.
- bctoolbox: update to 5.2.6.
- belcard: update to 5.2.6.
- belr: update to 5.2.6.
- bzrtp: update to 5.2.6.
- linphone-desktop: update to 5.0.4.
- linphone: update to 5.2.7.
- mediastreamer: update to 5.2.6.
- ortp: update to 5.2.6.
- New package: bcmatroska2-5.2.1
- New package: bcg729-1.1.1
- belle-sip: update to 5.2.6.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/41495.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-linphone-41495.patch --]
[-- Type: text/x-diff, Size: 20338 bytes --]

From a4fb78d7fb3b5876e7dd1708de82f78023306615 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:07:42 +0100
Subject: [PATCH 01/12] bcunit: update to 5.2.0.

---
 srcpkgs/bcunit/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/bcunit/template b/srcpkgs/bcunit/template
index 445ae1a092a6..e466699d088a 100644
--- a/srcpkgs/bcunit/template
+++ b/srcpkgs/bcunit/template
@@ -1,7 +1,7 @@
 # Template file for 'bcunit'
 pkgname=bcunit
-version=3.0.2
-revision=2
+version=5.2.0
+revision=1
 build_style=cmake
 configure_args="-DENABLE_DOC=ON"
 short_desc="Lightweight unit tests in C"
@@ -9,14 +9,14 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-2.1-or-later"
 homepage="https://github.com/BelledonneCommunications/bcunit"
 distfiles="${homepage}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
-checksum=eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f
+checksum=67b9186c42bd91d076b33063a33837dbb11a753eb35ad7ed8db8d65cdf88ef83
 
 bcunit-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"
 	pkg_install() {
 		vmove usr/include
-		vmove usr/lib/*.so
+		vmove "usr/lib/*.so"
 		vmove usr/lib/pkgconfig
 		vmove usr/share
 	}

From fbaf329765dd3718ea731e3fb7e1cd17fd803f61 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:08:37 +0100
Subject: [PATCH 02/12] bctoolbox: update to 5.2.6.

---
 .../bctoolbox/patches/use-after-realloc.patch | 29 -------------------
 srcpkgs/bctoolbox/template                    |  6 ++--
 2 files changed, 3 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/bctoolbox/patches/use-after-realloc.patch

diff --git a/srcpkgs/bctoolbox/patches/use-after-realloc.patch b/srcpkgs/bctoolbox/patches/use-after-realloc.patch
deleted file mode 100644
index 719083f65c7c..000000000000
--- a/srcpkgs/bctoolbox/patches/use-after-realloc.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Index: bctoolbox-5.1.17/src/utils/port.c
-===================================================================
---- bctoolbox-5.1.17.orig/src/utils/port.c
-+++ bctoolbox-5.1.17/src/utils/port.c
-@@ -398,6 +398,7 @@ char * WSAAPI gai_strerror(int errnum){
- #include <netdb.h>
- #include <sys/un.h>
- #include <sys/stat.h>
-+#include <stddef.h>
- 
- static char *make_pipe_name(const char *name){
- 	return bctbx_strdup_printf("/tmp/%s",name);
-@@ -1508,6 +1509,7 @@ char * bctbx_concat(const char *str, ...
- 			/* Resize the allocated memory if necessary.  */
- 			if (wp + len + 1 > result + allocated)
- 			{
-+				ptrdiff_t offset = wp - result;
- 				allocated = (allocated + len) * 2;
- 				newp = (char *) realloc (result, allocated);
- 				if (newp == NULL)
-@@ -1515,7 +1517,7 @@ char * bctbx_concat(const char *str, ...
- 					free (result);
- 					return NULL;
- 				}
--				wp = newp + (wp - result);
-+				wp = newp + offset;
- 				result = newp;
- 			}
- 			memcpy (wp, s, len);
diff --git a/srcpkgs/bctoolbox/template b/srcpkgs/bctoolbox/template
index de3c42944a58..3f53c6c82570 100644
--- a/srcpkgs/bctoolbox/template
+++ b/srcpkgs/bctoolbox/template
@@ -1,7 +1,7 @@
 # Template file for 'bctoolbox'
 pkgname=bctoolbox
-version=5.1.17
-revision=2
+version=5.2.6
+revision=1
 build_style=cmake
 configure_args="-DENABLE_TESTS=ON -DENABLE_TESTS_COMPONENT=FALSE
  -DCMAKE_MODULE_PATH=/usr/lib/cmake"
@@ -11,7 +11,7 @@ maintainer="John <me@johnnynator.dev>"
 license="GPL-2.0-only"
 homepage="https://gitlab.linphone.org/BC/public/bctoolbox"
 distfiles="https://gitlab.linphone.org/BC/public/bctoolbox/-/archive/${version}/bctoolbox-${version}.tar.gz"
-checksum=cbfea331dde994122a8bf04f05c03da6592aa53612f1da93eca3932d5460f231
+checksum=573dd538cfdb6b13007c843ded101601d441b5da717597171823e49a619083c4
 
 bctoolbox-devel_package() {
 	depends="bctoolbox-${version}_${revision}"

From 13c619faae1af2bc43cbfe7843571572a68c04e1 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:09:52 +0100
Subject: [PATCH 03/12] belcard: update to 5.2.6.

---
 srcpkgs/belcard/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/belcard/template b/srcpkgs/belcard/template
index 1d117f953d91..e9cf1250059b 100644
--- a/srcpkgs/belcard/template
+++ b/srcpkgs/belcard/template
@@ -1,6 +1,6 @@
 # Template file for 'belcard'
 pkgname=belcard
-version=5.1.12
+version=5.2.6
 revision=1
 build_style=cmake
 configure_args="-DENABLE_STATIC=FALSE -DENABLE_UNIT_TESTS=FALSE"
@@ -10,7 +10,7 @@ maintainer="John <me@johnnynator.dev>"
 license="GPL-3.0-or-later"
 homepage="https://linphone.org"
 distfiles="https://gitlab.linphone.org/BC/public/belcard/-/archive/${version}/belcard-${version}.tar.gz"
-checksum=529c6cc7edbc505495a850713020eb4d09a6aaa8d19983322f68ef0705081efe
+checksum=36a6a03493349ead775b7dfb4ed3435abf2eb0b92ff145c2cd2107f6ca51821d
 
 belcard-devel_package() {
 	short_desc+=" - development files"

From 6b96b427785a90f1bda09ebe17989b6453323c41 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:10:05 +0100
Subject: [PATCH 04/12] belr: update to 5.2.6.

---
 srcpkgs/belr/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/belr/template b/srcpkgs/belr/template
index 299dc179a41b..103bef203e01 100644
--- a/srcpkgs/belr/template
+++ b/srcpkgs/belr/template
@@ -1,6 +1,6 @@
 # Template file for 'belr'
 pkgname=belr
-version=5.1.12
+version=5.2.6
 revision=1
 build_style=cmake
 configure_args="-DENABLE_STATIC=FALSE -DENABLE_TESTS=NO"
@@ -10,7 +10,7 @@ maintainer="John <me@johnnynator.dev>"
 license="GPL-3.0-or-later"
 homepage="https://www.linphone.org"
 distfiles="https://gitlab.linphone.org/BC/public/belr/-/archive/${version}/belr-${version}.tar.gz"
-checksum=77f86470e12f8371a77c9b911705b585f97e0b983c31f33d529d3d19dc97fb56
+checksum=7e9256c6036a8715ebd10e9b0f57ae3256995d8aa49ed281b76ca39da16dbac0
 
 belr-devel_package() {
 	short_desc+=" - development files"

From f47be853cb23152a4537e4680872c6df6b06bb54 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:10:07 +0100
Subject: [PATCH 05/12] bzrtp: update to 5.2.6.

---
 srcpkgs/bzrtp/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/bzrtp/template b/srcpkgs/bzrtp/template
index 463d7f82ec96..ef3253eac68b 100644
--- a/srcpkgs/bzrtp/template
+++ b/srcpkgs/bzrtp/template
@@ -1,6 +1,6 @@
 # Template file for 'bzrtp'
 pkgname=bzrtp
-version=5.1.12
+version=5.2.6
 revision=1
 build_style=cmake
 configure_args="-DENABLE_TESTS=FALSE -DENABLE_STATIC=FALSE"
@@ -10,7 +10,7 @@ maintainer="John <me@johnnynator.dev>"
 license="GPL-2.0-or-later"
 homepage="https://www.linphone.org"
 distfiles="https://gitlab.linphone.org/BC/public/bzrtp/-/archive/${version}/bzrtp-${version}.tar.gz"
-checksum=c1b44db05ab6d4df7a29d53c6aaff9a6cd79ce73d46d406f01d737e3c4cfb01e
+checksum=f923cbc6728efb9468bc3a0ec1b85d81c31dcfe10e33ca2587200260d62c1884
 
 bzrtp-devel_package() {
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 304f64b3d55734fb4e593b3758f51d5d71903ef0 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:11:17 +0100
Subject: [PATCH 06/12] linphone-desktop: update to 5.0.4.

---
 srcpkgs/linphone-desktop/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linphone-desktop/template b/srcpkgs/linphone-desktop/template
index 44d72fc1466e..015673270ad8 100644
--- a/srcpkgs/linphone-desktop/template
+++ b/srcpkgs/linphone-desktop/template
@@ -1,6 +1,6 @@
 # Template file for 'linphone-desktop'
 pkgname=linphone-desktop
-version=4.4.1
+version=5.0.4
 revision=1
 build_wrksrc="linphone-app" # The root cmake is glue code for their vendored libs
 build_style=cmake
@@ -14,7 +14,7 @@ maintainer="John <me@johnnynator.dev>"
 license="GPL-3.0-or-later"
 homepage="https://www.linphone.org/"
 distfiles="https://gitlab.linphone.org/BC/public/linphone-desktop/-/archive/${version}/linphone-desktop-${version}.tar.gz"
-checksum=589e8ccc82e64fb1b7dbdc70b841240e02686079896d02bbe7dff782cc30bf8f
+checksum=0399b32100dd555ab503b0f8856f6a632cd704672805301c7c753b8a1183a445
 replaces="linphone-gui>=0"
 CFLAGS="-DLINPHONE_QT_GIT_VERSION=\\\"$version\\\""
 CXXFLAGS="-DLINPHONE_QT_GIT_VERSION=\\\"$version\\\""

From 4c09a4554e4be3d4863b385a7b1d4b999244ccec Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:11:23 +0100
Subject: [PATCH 07/12] linphone: update to 5.2.7.

---
 srcpkgs/linphone/template | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/linphone/template b/srcpkgs/linphone/template
index f5e0a99b0c33..2212f78f78e5 100644
--- a/srcpkgs/linphone/template
+++ b/srcpkgs/linphone/template
@@ -1,12 +1,12 @@
 # Template file for 'linphone'
 pkgname=linphone
-version=5.1.21
+version=5.2.7
 revision=1
 build_style="cmake"
 configure_args="-DENABLE_STRICT=FALSE
  -DENABLE_ADVANCED_IM=FALSE -DENABLE_DB_STORAGE=FALSE
  -DENABLE_LIME=NO -DENABLE_LIME_X3DH=NO -DENABLE_UNIT_TESTS=NO
- -DENABLE_STATIC=OFF -DENABLE_FLEXIAPI=OFF"
+ -DENABLE_STATIC=OFF -DENABLE_FLEXIAPI=OFF -DENABLE_QRCODE=OFF"
 # FLEXIAPI disabled because their cmake script doesn't find jsoncpp
 hostmakedepends="doxygen graphviz python3-pystache python3-six
  pkg-config"
@@ -16,15 +16,19 @@ makedepends="sqlite-devel readline-devel mediastreamer-devel
  libupnp-devel libsrtp-devel belcard-devel libxerces-c-devel"
 short_desc="Voice-over-IP phone"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2.0-or-later"
+license="AGPL-3.0-or-later"
 homepage="https://www.linphone.org"
 distfiles="https://gitlab.linphone.org/BC/public/liblinphone/-/archive/${version}/liblinphone-${version}.tar.gz"
-checksum=1bf7e6642bd36c8002291eda62109daac4c8f7125952e874b95969b02ab43405
+checksum=b64c452995f48264f5a73674035c4b6b38d7008128f4cd54f2fa0f5836170536
 
 pre_build() {
 	echo "#define MS2_GIT_VERSION=unknown" > coreapi/gitversion.h
 }
 
+post_install() {
+	vlicense LICENSE.txt
+}
+
 linphone-daemon_package() {
 	short_desc+=" - daemon"
 	pkg_install() {

From 4c67dfe3892bd3370bec1d5915ab1124bbe94fe0 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:11:29 +0100
Subject: [PATCH 08/12] mediastreamer: update to 5.2.6.

---
 srcpkgs/mediastreamer/template | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/mediastreamer/template b/srcpkgs/mediastreamer/template
index ec20a98700d0..d0e97e858e29 100644
--- a/srcpkgs/mediastreamer/template
+++ b/srcpkgs/mediastreamer/template
@@ -1,19 +1,24 @@
 # Template file for 'mediastreamer'
 pkgname=mediastreamer
-version=5.1.20
+version=5.2.6
 revision=1
 build_style=cmake
 configure_args="-DENABLE_STRICT=0 -DENABLE_UNIT_TESTS=0"
 hostmakedepends="python3"
 makedepends="bzrtp-devel ffmpeg-devel glew-devel libXv-devel libsrtp-devel
  libupnp-devel libvpx-devel mbedtls-devel opus-devel ortp-devel pulseaudio-devel
- libtheora-devel speex-devel v4l-utils-devel"
+ libtheora-devel speex-devel v4l-utils-devel bcg729-devel bcmatroska2-devel libgsm-devel"
+# zxing-cpp-devel (1.2.0 probably not compatible, check again after updaing xzing)
 short_desc="Powerful and lightweight streaming engine for voice/video telephony"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2.0-or-later"
+license="AGPL-3.0-or-later"
 homepage="https://www.linphone.org/technical-corner/mediastreamer2"
 distfiles="https://gitlab.linphone.org/BC/public/mediastreamer2/-/archive/${version}/mediastreamer2-${version}.tar.gz"
-checksum=f3f86284d48610c58cc5c104a56f392039495f3aded64b180c904877f42ecdb0
+checksum=a83cf50a367c81c7c1085f3c28ccc1420a0e31e698cf28fdcdaf1d52fd673643
+
+post_install() {
+	vlicense LICENSE.txt
+}
 
 mediastreamer-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"

From ef210d59c72132ed92bf3781fb125b9f01ea1a4a Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:11:32 +0100
Subject: [PATCH 09/12] ortp: update to 5.2.6.

---
 srcpkgs/ortp/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/ortp/template b/srcpkgs/ortp/template
index f5092b2eeff2..f379d4e278db 100644
--- a/srcpkgs/ortp/template
+++ b/srcpkgs/ortp/template
@@ -1,16 +1,16 @@
 # Template file for 'ortp'
 pkgname=ortp
-version=5.1.12
+version=5.2.6
 revision=1
 build_style=cmake
-configure_args="-DENABLE_STATIC=OFF"
+configure_args="-DENABLE_STATIC=OFF -DENABLE_UNIT_TESTS=OFF"
 makedepends="bctoolbox-devel"
 short_desc="Real-Time Transport Protocol (RFC 3550) library"
 maintainer="John <me@johnnynator.dev>"
 license="LGPL-2.1-or-later"
 homepage="https://www.linphone.org/technical-corner/ortp"
 distfiles="https://gitlab.linphone.org/BC/public/ortp/-/archive/${version}/ortp-${version}.tar.gz"
-checksum=dcd1b7c4876e8ca808c8c827329e90997bda51e8646399d426b529cddd727ee4
+checksum=17cb4b03262c10926d65228331b30a1cfe1d28980fdc919fd79dadc4fbee2de1
 
 ortp-devel_package() {
 	depends="bctoolbox-devel ortp-${version}_${revision}"

From 8a44de8859932da880c19b45432f8d4eaed4c174 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:37:12 +0100
Subject: [PATCH 10/12] New package: bcmatroska2-5.2.1

---
 common/shlibs                             |  1 +
 srcpkgs/bcmatroska2-devel                 |  1 +
 srcpkgs/bcmatroska2/patches/linking.patch | 21 +++++++++++++++++++++
 srcpkgs/bcmatroska2/template              | 23 +++++++++++++++++++++++
 srcpkgs/bcmatroska2/update                |  1 +
 5 files changed, 47 insertions(+)
 create mode 120000 srcpkgs/bcmatroska2-devel
 create mode 100644 srcpkgs/bcmatroska2/patches/linking.patch
 create mode 100644 srcpkgs/bcmatroska2/template
 create mode 100644 srcpkgs/bcmatroska2/update

diff --git a/common/shlibs b/common/shlibs
index a9146b6be1e7..9f8383e94a72 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3042,6 +3042,7 @@ libbaccats-mysql-9.4.2.so bacula-common-mariadb-9.4.2_4
 bpipe-fd.so bacula-fd-9.4.2_4
 libnftables.so.1 libnftables-0.9.1_1
 libbctoolbox.so.1 bctoolbox-0.6.0_1
+libbcmatroska2.so.0 bcmatroska2-5.2.1_1
 libortp.so.15 ortp-4.4.0_1
 libsuperlu.so.5 superlu-5.2.1_1
 libgosu.so.0 gosu-0.12.0_1
diff --git a/srcpkgs/bcmatroska2-devel b/srcpkgs/bcmatroska2-devel
new file mode 120000
index 000000000000..6f37f82bbfef
--- /dev/null
+++ b/srcpkgs/bcmatroska2-devel
@@ -0,0 +1 @@
+bcmatroska2/
\ No newline at end of file
diff --git a/srcpkgs/bcmatroska2/patches/linking.patch b/srcpkgs/bcmatroska2/patches/linking.patch
new file mode 100644
index 000000000000..41a9076e174e
--- /dev/null
+++ b/srcpkgs/bcmatroska2/patches/linking.patch
@@ -0,0 +1,21 @@
+--- a/corec/corec/CMakeLists.txt	2022-11-29 11:25:07.000000000 +0100
++++ -	2023-01-06 19:32:45.598386210 +0100
+@@ -52,7 +52,6 @@
+ else()
+ 	list(APPEND COREC_SOURCES
+ 		helpers/date/date_libc.c
+-		helpers/file/file_libc.c
+ 		helpers/file/file_bctbx.c
+ 		multithread/multithread_pthread.c
+ 	)
+--- a/libmatroska2/CMakeLists.txt	2022-11-29 11:25:07.000000000 +0100
++++ -	2023-01-06 19:35:18.813490108 +0100
+@@ -26,7 +26,7 @@
+ 	matroska_sem.c
+ )
+ 
+-set(LIBS )
++set(LIBS bctoolbox)
+ if(WIN32 AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsPhone" AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
+ 	list(APPEND LIBS Winmm)
+ endif()
diff --git a/srcpkgs/bcmatroska2/template b/srcpkgs/bcmatroska2/template
new file mode 100644
index 000000000000..a07431d64109
--- /dev/null
+++ b/srcpkgs/bcmatroska2/template
@@ -0,0 +1,23 @@
+# Template file for 'bcmatroska2'
+pkgname=bcmatroska2
+version=5.2.1
+revision=1
+build_style=cmake
+configure_args="-DENABLE_STATIC=OFF"
+makedepends="bctoolbox-devel"
+short_desc="C library for working with matroska files"
+maintainer="John <me@johnnynator.dev>"
+license="GPL-2.0-only"
+homepage="https://gitlab.linphone.org/BC/public/bcmatroska2"
+distfiles="https://gitlab.linphone.org/BC/public/bcmatroska2/-/archive/${version}/bcmatroska2-${version}.tar.gz"
+checksum=473aa34b66c5b138a882afaa2d16feb042a7df8b71542566d53d80ae745d051a
+
+bcmatroska2-devel_package() {
+	depends="bcmatroska2-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/share/bcmatroska2/cmake
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/bcmatroska2/update b/srcpkgs/bcmatroska2/update
new file mode 100644
index 000000000000..eabd1d83b0e8
--- /dev/null
+++ b/srcpkgs/bcmatroska2/update
@@ -0,0 +1 @@
+site=https://gitlab.linphone.org/BC/public/bcmatroska2/-/tags

From 5f7c591a8232ab5932735beb8acd203fbc7d5c0a Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:43:49 +0100
Subject: [PATCH 11/12] New package: bcg729-1.1.1

---
 common/shlibs           |  1 +
 srcpkgs/bcg729-devel    |  1 +
 srcpkgs/bcg729/template | 23 +++++++++++++++++++++++
 srcpkgs/bcg729/update   |  1 +
 4 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/bcg729-devel
 create mode 100644 srcpkgs/bcg729/template
 create mode 100644 srcpkgs/bcg729/update

diff --git a/common/shlibs b/common/shlibs
index 9f8383e94a72..d3373bd46c90 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3043,6 +3043,7 @@ bpipe-fd.so bacula-fd-9.4.2_4
 libnftables.so.1 libnftables-0.9.1_1
 libbctoolbox.so.1 bctoolbox-0.6.0_1
 libbcmatroska2.so.0 bcmatroska2-5.2.1_1
+libbcg729.so.0 bcg729-1.1.1_1
 libortp.so.15 ortp-4.4.0_1
 libsuperlu.so.5 superlu-5.2.1_1
 libgosu.so.0 gosu-0.12.0_1
diff --git a/srcpkgs/bcg729-devel b/srcpkgs/bcg729-devel
new file mode 120000
index 000000000000..d5b4b8eebe3b
--- /dev/null
+++ b/srcpkgs/bcg729-devel
@@ -0,0 +1 @@
+bcg729
\ No newline at end of file
diff --git a/srcpkgs/bcg729/template b/srcpkgs/bcg729/template
new file mode 100644
index 000000000000..6ab647c0b0ec
--- /dev/null
+++ b/srcpkgs/bcg729/template
@@ -0,0 +1,23 @@
+# Template file for 'bcg729'
+pkgname=bcg729
+version=1.1.1
+revision=1
+build_style=cmake
+configure_args="-DENABLE_STATIC=OFF"
+makedepends="bcunit-devel mbedtls-devel"
+short_desc="Implementation of the ITU G729 Annex A/B speech codec"
+maintainer="John <me@johnnynator.dev>"
+license="GPL-2.0-only"
+homepage="https://gitlab.linphone.org/BC/public/bcg729"
+distfiles="https://gitlab.linphone.org/BC/public/bcg729/-/archive/${version}/bcg729-${version}.tar.gz"
+checksum=68599a850535d1b182932b3f86558ac8a76d4b899a548183b062956c5fdc916d
+
+bcg729-devel_package() {
+	depends="bcg729-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/share/Bcg729/cmake
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/bcg729/update b/srcpkgs/bcg729/update
new file mode 100644
index 000000000000..ee4c2c659ad0
--- /dev/null
+++ b/srcpkgs/bcg729/update
@@ -0,0 +1 @@
+site=https://gitlab.linphone.org/BC/public/bcg729/-/tags

From 7e554fc06a9eca51856a2c32ffb03e3617098489 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 20:03:01 +0100
Subject: [PATCH 12/12] belle-sip: update to 5.2.6.

---
 srcpkgs/belle-sip/template | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/belle-sip/template b/srcpkgs/belle-sip/template
index ccf66d4b985c..83eed997d6d1 100644
--- a/srcpkgs/belle-sip/template
+++ b/srcpkgs/belle-sip/template
@@ -1,18 +1,17 @@
 # Template file for 'belle-sip'
 pkgname=belle-sip
-version=5.1.12
+version=5.2.6
 revision=1
 build_style=cmake
-configure_args="-DANTLR3_JAR_PATH=/usr/share/java/antlr3.jar -DENABLE_STRICT=OFF
- -DENABLE_TESTS=NO -DCMAKE_SKIP_INSTALL_RPATH=ON -DCMAKE_MODULE_PATH=/usr/lib/cmake"
-hostmakedepends="antlr3-bin"
+configure_args="-DENABLE_STRICT=OFF -DENABLE_TESTS=NO -DCMAKE_SKIP_INSTALL_RPATH=ON
+ -DCMAKE_MODULE_PATH=/usr/lib/cmake"
 makedepends="mbedtls-devel libantlr3c bctoolbox-devel zlib-devel belr-devel"
 short_desc="SIP (RFC3261) implementation written in C"
 maintainer="John <me@johnnynator.dev>"
 license="GPL-2.0-or-later"
 homepage="https://www.linphone.org"
 distfiles="https://gitlab.linphone.org/BC/public/belle-sip/-/archive/${version}/belle-sip-${version}.tar.gz"
-checksum=1a827db2d42eadd6825dc12f8c413ca3cf925e8084e5821d94f66d49b5c6f2db
+checksum=e567a4823df0a782a5b9af61dcab6ca78f3bbb3f72c6a4b2a2e791e29e573826
 
 belle-sip-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Updated] linphone: update to 5.2.7
  2023-01-06 19:19 [PR PATCH] linphone: update to 5.2.7 Johnnynator
@ 2023-01-10 20:03 ` Johnnynator
  2023-01-29 14:43 ` [PR PATCH] [Merged]: " Johnnynator
  1 sibling, 0 replies; 3+ messages in thread
From: Johnnynator @ 2023-01-10 20:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1600 bytes --]

There is an updated pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages linphone
https://github.com/void-linux/void-packages/pull/41495

linphone: update to 5.2.7
- bcunit: update to 5.2.0.
- bctoolbox: update to 5.2.6.
- belcard: update to 5.2.6.
- belr: update to 5.2.6.
- bzrtp: update to 5.2.6.
- linphone-desktop: update to 5.0.4.
- linphone: update to 5.2.7.
- mediastreamer: update to 5.2.6.
- ortp: update to 5.2.6.
- New package: bcmatroska2-5.2.1
- New package: bcg729-1.1.1
- belle-sip: update to 5.2.6.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/41495.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-linphone-41495.patch --]
[-- Type: text/x-diff, Size: 22233 bytes --]

From f7bc629a0dba9b5603a9ac2ab9754df5ebbe300c Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:07:42 +0100
Subject: [PATCH 01/12] bcunit: update to 5.2.0.

---
 srcpkgs/bcunit/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/bcunit/template b/srcpkgs/bcunit/template
index 445ae1a092a6..e466699d088a 100644
--- a/srcpkgs/bcunit/template
+++ b/srcpkgs/bcunit/template
@@ -1,7 +1,7 @@
 # Template file for 'bcunit'
 pkgname=bcunit
-version=3.0.2
-revision=2
+version=5.2.0
+revision=1
 build_style=cmake
 configure_args="-DENABLE_DOC=ON"
 short_desc="Lightweight unit tests in C"
@@ -9,14 +9,14 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-2.1-or-later"
 homepage="https://github.com/BelledonneCommunications/bcunit"
 distfiles="${homepage}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
-checksum=eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f
+checksum=67b9186c42bd91d076b33063a33837dbb11a753eb35ad7ed8db8d65cdf88ef83
 
 bcunit-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"
 	pkg_install() {
 		vmove usr/include
-		vmove usr/lib/*.so
+		vmove "usr/lib/*.so"
 		vmove usr/lib/pkgconfig
 		vmove usr/share
 	}

From 41c4868440d8a6467ef0bc3d90129a6852da87a1 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:08:37 +0100
Subject: [PATCH 02/12] bctoolbox: update to 5.2.6.

---
 .../bctoolbox/patches/use-after-realloc.patch | 29 -------------------
 srcpkgs/bctoolbox/template                    |  6 ++--
 2 files changed, 3 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/bctoolbox/patches/use-after-realloc.patch

diff --git a/srcpkgs/bctoolbox/patches/use-after-realloc.patch b/srcpkgs/bctoolbox/patches/use-after-realloc.patch
deleted file mode 100644
index 719083f65c7c..000000000000
--- a/srcpkgs/bctoolbox/patches/use-after-realloc.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Index: bctoolbox-5.1.17/src/utils/port.c
-===================================================================
---- bctoolbox-5.1.17.orig/src/utils/port.c
-+++ bctoolbox-5.1.17/src/utils/port.c
-@@ -398,6 +398,7 @@ char * WSAAPI gai_strerror(int errnum){
- #include <netdb.h>
- #include <sys/un.h>
- #include <sys/stat.h>
-+#include <stddef.h>
- 
- static char *make_pipe_name(const char *name){
- 	return bctbx_strdup_printf("/tmp/%s",name);
-@@ -1508,6 +1509,7 @@ char * bctbx_concat(const char *str, ...
- 			/* Resize the allocated memory if necessary.  */
- 			if (wp + len + 1 > result + allocated)
- 			{
-+				ptrdiff_t offset = wp - result;
- 				allocated = (allocated + len) * 2;
- 				newp = (char *) realloc (result, allocated);
- 				if (newp == NULL)
-@@ -1515,7 +1517,7 @@ char * bctbx_concat(const char *str, ...
- 					free (result);
- 					return NULL;
- 				}
--				wp = newp + (wp - result);
-+				wp = newp + offset;
- 				result = newp;
- 			}
- 			memcpy (wp, s, len);
diff --git a/srcpkgs/bctoolbox/template b/srcpkgs/bctoolbox/template
index de3c42944a58..3f53c6c82570 100644
--- a/srcpkgs/bctoolbox/template
+++ b/srcpkgs/bctoolbox/template
@@ -1,7 +1,7 @@
 # Template file for 'bctoolbox'
 pkgname=bctoolbox
-version=5.1.17
-revision=2
+version=5.2.6
+revision=1
 build_style=cmake
 configure_args="-DENABLE_TESTS=ON -DENABLE_TESTS_COMPONENT=FALSE
  -DCMAKE_MODULE_PATH=/usr/lib/cmake"
@@ -11,7 +11,7 @@ maintainer="John <me@johnnynator.dev>"
 license="GPL-2.0-only"
 homepage="https://gitlab.linphone.org/BC/public/bctoolbox"
 distfiles="https://gitlab.linphone.org/BC/public/bctoolbox/-/archive/${version}/bctoolbox-${version}.tar.gz"
-checksum=cbfea331dde994122a8bf04f05c03da6592aa53612f1da93eca3932d5460f231
+checksum=573dd538cfdb6b13007c843ded101601d441b5da717597171823e49a619083c4
 
 bctoolbox-devel_package() {
 	depends="bctoolbox-${version}_${revision}"

From 71bde433cfface618abe04e611206d254ba38220 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:09:52 +0100
Subject: [PATCH 03/12] belcard: update to 5.2.6.

---
 srcpkgs/belcard/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/belcard/template b/srcpkgs/belcard/template
index 1d117f953d91..e9cf1250059b 100644
--- a/srcpkgs/belcard/template
+++ b/srcpkgs/belcard/template
@@ -1,6 +1,6 @@
 # Template file for 'belcard'
 pkgname=belcard
-version=5.1.12
+version=5.2.6
 revision=1
 build_style=cmake
 configure_args="-DENABLE_STATIC=FALSE -DENABLE_UNIT_TESTS=FALSE"
@@ -10,7 +10,7 @@ maintainer="John <me@johnnynator.dev>"
 license="GPL-3.0-or-later"
 homepage="https://linphone.org"
 distfiles="https://gitlab.linphone.org/BC/public/belcard/-/archive/${version}/belcard-${version}.tar.gz"
-checksum=529c6cc7edbc505495a850713020eb4d09a6aaa8d19983322f68ef0705081efe
+checksum=36a6a03493349ead775b7dfb4ed3435abf2eb0b92ff145c2cd2107f6ca51821d
 
 belcard-devel_package() {
 	short_desc+=" - development files"

From 12bbd852af3730c92c87a81687c013f3b3c668cb Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:10:05 +0100
Subject: [PATCH 04/12] belr: update to 5.2.6.

---
 srcpkgs/belr/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/belr/template b/srcpkgs/belr/template
index 299dc179a41b..103bef203e01 100644
--- a/srcpkgs/belr/template
+++ b/srcpkgs/belr/template
@@ -1,6 +1,6 @@
 # Template file for 'belr'
 pkgname=belr
-version=5.1.12
+version=5.2.6
 revision=1
 build_style=cmake
 configure_args="-DENABLE_STATIC=FALSE -DENABLE_TESTS=NO"
@@ -10,7 +10,7 @@ maintainer="John <me@johnnynator.dev>"
 license="GPL-3.0-or-later"
 homepage="https://www.linphone.org"
 distfiles="https://gitlab.linphone.org/BC/public/belr/-/archive/${version}/belr-${version}.tar.gz"
-checksum=77f86470e12f8371a77c9b911705b585f97e0b983c31f33d529d3d19dc97fb56
+checksum=7e9256c6036a8715ebd10e9b0f57ae3256995d8aa49ed281b76ca39da16dbac0
 
 belr-devel_package() {
 	short_desc+=" - development files"

From 25051c224bb87a74dd961c929f680d86ed6bcc2d Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:10:07 +0100
Subject: [PATCH 05/12] bzrtp: update to 5.2.6.

---
 srcpkgs/bzrtp/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/bzrtp/template b/srcpkgs/bzrtp/template
index 463d7f82ec96..ef3253eac68b 100644
--- a/srcpkgs/bzrtp/template
+++ b/srcpkgs/bzrtp/template
@@ -1,6 +1,6 @@
 # Template file for 'bzrtp'
 pkgname=bzrtp
-version=5.1.12
+version=5.2.6
 revision=1
 build_style=cmake
 configure_args="-DENABLE_TESTS=FALSE -DENABLE_STATIC=FALSE"
@@ -10,7 +10,7 @@ maintainer="John <me@johnnynator.dev>"
 license="GPL-2.0-or-later"
 homepage="https://www.linphone.org"
 distfiles="https://gitlab.linphone.org/BC/public/bzrtp/-/archive/${version}/bzrtp-${version}.tar.gz"
-checksum=c1b44db05ab6d4df7a29d53c6aaff9a6cd79ce73d46d406f01d737e3c4cfb01e
+checksum=f923cbc6728efb9468bc3a0ec1b85d81c31dcfe10e33ca2587200260d62c1884
 
 bzrtp-devel_package() {
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 33857ced9632e4b1ec29915bb29faa0263d44974 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:11:17 +0100
Subject: [PATCH 06/12] linphone-desktop: update to 5.0.4.

---
 .../linphone-desktop/patches/version.patch    | 26 -------------------
 srcpkgs/linphone-desktop/template             |  9 +++----
 2 files changed, 4 insertions(+), 31 deletions(-)
 delete mode 100644 srcpkgs/linphone-desktop/patches/version.patch

diff --git a/srcpkgs/linphone-desktop/patches/version.patch b/srcpkgs/linphone-desktop/patches/version.patch
deleted file mode 100644
index 556061582d4f..000000000000
--- a/srcpkgs/linphone-desktop/patches/version.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- linphone-desktop-4.3.2/linphone-app/CMakeLists.txt.orig	2021-12-08 16:02:45.190027494 +0100
-+++ linphone-desktop-4.3.2/linphone-app/CMakeLists.txt	2021-12-08 16:03:05.969026699 +0100
-@@ -21,18 +21,13 @@
- ################################################################################
- cmake_minimum_required(VERSION 3.1)
- 
--find_package(bctoolbox CONFIG)
--set(FULL_VERSION )
--bc_compute_full_version(FULL_VERSION)
--set(version_major )
--set(version_minor )
--set(version_patch )
--set(identifiers )
--set(metadata )
--bc_parse_full_version("${FULL_VERSION}" version_major version_minor version_patch identifiers metadata)
-+set(FULL_VERSION 4.3.2)
-+set(version_major 4)
-+set(version_minor 3)
-+set(version_patch 2)
- 
- project(linphoneqt VERSION "${version_major}.${version_minor}.${version_patch}")
--
-+find_package(bctoolbox CONFIG REQUIRED)
- 
- if(ENABLE_BUILD_VERBOSE)
- 	#message("CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH}")
diff --git a/srcpkgs/linphone-desktop/template b/srcpkgs/linphone-desktop/template
index 44d72fc1466e..478315ff164d 100644
--- a/srcpkgs/linphone-desktop/template
+++ b/srcpkgs/linphone-desktop/template
@@ -1,23 +1,22 @@
 # Template file for 'linphone-desktop'
 pkgname=linphone-desktop
-version=4.4.1
+version=5.0.4
 revision=1
 build_wrksrc="linphone-app" # The root cmake is glue code for their vendored libs
 build_style=cmake
+configure_args="-DFULL_VERSION=$version"
 hostmakedepends="qt5-qmake qt5-host-tools qt5-declarative"
 makedepends="bctoolbox-devel belcard-devel belle-sip-devel linphone-devel
  mediastreamer-devel qt5-declarative-devel qt5-quickcontrols2-devel
- qt5-svg-devel qt5-tools-devel qt5-webview-devel"
+ qt5-svg-devel qt5-tools-devel qt5-webview-devel qt5-speech-devel"
 depends="qt5>=5.9_1 qt5-quickcontrols qt5-quickcontrols2 qt5-graphicaleffects"
 short_desc="Linphone qt desktop"
 maintainer="John <me@johnnynator.dev>"
 license="GPL-3.0-or-later"
 homepage="https://www.linphone.org/"
 distfiles="https://gitlab.linphone.org/BC/public/linphone-desktop/-/archive/${version}/linphone-desktop-${version}.tar.gz"
-checksum=589e8ccc82e64fb1b7dbdc70b841240e02686079896d02bbe7dff782cc30bf8f
+checksum=0399b32100dd555ab503b0f8856f6a632cd704672805301c7c753b8a1183a445
 replaces="linphone-gui>=0"
-CFLAGS="-DLINPHONE_QT_GIT_VERSION=\\\"$version\\\""
-CXXFLAGS="-DLINPHONE_QT_GIT_VERSION=\\\"$version\\\""
 
 linphone-gui_package() {
 	short_desc+=" - (transitional dummy package)"

From 350b98f8660c84f71095a7ae6b06a938aeb5667e Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:11:23 +0100
Subject: [PATCH 07/12] linphone: update to 5.2.7.

---
 srcpkgs/linphone/template | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/linphone/template b/srcpkgs/linphone/template
index f5e0a99b0c33..2212f78f78e5 100644
--- a/srcpkgs/linphone/template
+++ b/srcpkgs/linphone/template
@@ -1,12 +1,12 @@
 # Template file for 'linphone'
 pkgname=linphone
-version=5.1.21
+version=5.2.7
 revision=1
 build_style="cmake"
 configure_args="-DENABLE_STRICT=FALSE
  -DENABLE_ADVANCED_IM=FALSE -DENABLE_DB_STORAGE=FALSE
  -DENABLE_LIME=NO -DENABLE_LIME_X3DH=NO -DENABLE_UNIT_TESTS=NO
- -DENABLE_STATIC=OFF -DENABLE_FLEXIAPI=OFF"
+ -DENABLE_STATIC=OFF -DENABLE_FLEXIAPI=OFF -DENABLE_QRCODE=OFF"
 # FLEXIAPI disabled because their cmake script doesn't find jsoncpp
 hostmakedepends="doxygen graphviz python3-pystache python3-six
  pkg-config"
@@ -16,15 +16,19 @@ makedepends="sqlite-devel readline-devel mediastreamer-devel
  libupnp-devel libsrtp-devel belcard-devel libxerces-c-devel"
 short_desc="Voice-over-IP phone"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2.0-or-later"
+license="AGPL-3.0-or-later"
 homepage="https://www.linphone.org"
 distfiles="https://gitlab.linphone.org/BC/public/liblinphone/-/archive/${version}/liblinphone-${version}.tar.gz"
-checksum=1bf7e6642bd36c8002291eda62109daac4c8f7125952e874b95969b02ab43405
+checksum=b64c452995f48264f5a73674035c4b6b38d7008128f4cd54f2fa0f5836170536
 
 pre_build() {
 	echo "#define MS2_GIT_VERSION=unknown" > coreapi/gitversion.h
 }
 
+post_install() {
+	vlicense LICENSE.txt
+}
+
 linphone-daemon_package() {
 	short_desc+=" - daemon"
 	pkg_install() {

From b1f42ecb316c0bf4b7e268f27ca222c2ef3b43f1 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:11:29 +0100
Subject: [PATCH 08/12] mediastreamer: update to 5.2.6.

---
 srcpkgs/mediastreamer/template | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/mediastreamer/template b/srcpkgs/mediastreamer/template
index ec20a98700d0..d0e97e858e29 100644
--- a/srcpkgs/mediastreamer/template
+++ b/srcpkgs/mediastreamer/template
@@ -1,19 +1,24 @@
 # Template file for 'mediastreamer'
 pkgname=mediastreamer
-version=5.1.20
+version=5.2.6
 revision=1
 build_style=cmake
 configure_args="-DENABLE_STRICT=0 -DENABLE_UNIT_TESTS=0"
 hostmakedepends="python3"
 makedepends="bzrtp-devel ffmpeg-devel glew-devel libXv-devel libsrtp-devel
  libupnp-devel libvpx-devel mbedtls-devel opus-devel ortp-devel pulseaudio-devel
- libtheora-devel speex-devel v4l-utils-devel"
+ libtheora-devel speex-devel v4l-utils-devel bcg729-devel bcmatroska2-devel libgsm-devel"
+# zxing-cpp-devel (1.2.0 probably not compatible, check again after updaing xzing)
 short_desc="Powerful and lightweight streaming engine for voice/video telephony"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-2.0-or-later"
+license="AGPL-3.0-or-later"
 homepage="https://www.linphone.org/technical-corner/mediastreamer2"
 distfiles="https://gitlab.linphone.org/BC/public/mediastreamer2/-/archive/${version}/mediastreamer2-${version}.tar.gz"
-checksum=f3f86284d48610c58cc5c104a56f392039495f3aded64b180c904877f42ecdb0
+checksum=a83cf50a367c81c7c1085f3c28ccc1420a0e31e698cf28fdcdaf1d52fd673643
+
+post_install() {
+	vlicense LICENSE.txt
+}
 
 mediastreamer-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"

From 05500f623795eb2e2500c29f2ec5fc1d16d44576 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:11:32 +0100
Subject: [PATCH 09/12] ortp: update to 5.2.6.

---
 srcpkgs/ortp/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/ortp/template b/srcpkgs/ortp/template
index f5092b2eeff2..f379d4e278db 100644
--- a/srcpkgs/ortp/template
+++ b/srcpkgs/ortp/template
@@ -1,16 +1,16 @@
 # Template file for 'ortp'
 pkgname=ortp
-version=5.1.12
+version=5.2.6
 revision=1
 build_style=cmake
-configure_args="-DENABLE_STATIC=OFF"
+configure_args="-DENABLE_STATIC=OFF -DENABLE_UNIT_TESTS=OFF"
 makedepends="bctoolbox-devel"
 short_desc="Real-Time Transport Protocol (RFC 3550) library"
 maintainer="John <me@johnnynator.dev>"
 license="LGPL-2.1-or-later"
 homepage="https://www.linphone.org/technical-corner/ortp"
 distfiles="https://gitlab.linphone.org/BC/public/ortp/-/archive/${version}/ortp-${version}.tar.gz"
-checksum=dcd1b7c4876e8ca808c8c827329e90997bda51e8646399d426b529cddd727ee4
+checksum=17cb4b03262c10926d65228331b30a1cfe1d28980fdc919fd79dadc4fbee2de1
 
 ortp-devel_package() {
 	depends="bctoolbox-devel ortp-${version}_${revision}"

From 71e14fa3ebcddc075ce3510f7f142f6d8903f1cd Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:37:12 +0100
Subject: [PATCH 10/12] New package: bcmatroska2-5.2.1

---
 common/shlibs                             |  1 +
 srcpkgs/bcmatroska2-devel                 |  1 +
 srcpkgs/bcmatroska2/patches/linking.patch | 21 +++++++++++++++++++++
 srcpkgs/bcmatroska2/template              | 23 +++++++++++++++++++++++
 srcpkgs/bcmatroska2/update                |  1 +
 5 files changed, 47 insertions(+)
 create mode 120000 srcpkgs/bcmatroska2-devel
 create mode 100644 srcpkgs/bcmatroska2/patches/linking.patch
 create mode 100644 srcpkgs/bcmatroska2/template
 create mode 100644 srcpkgs/bcmatroska2/update

diff --git a/common/shlibs b/common/shlibs
index d80771f9f719..0e11f3f56b81 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3036,6 +3036,7 @@ libbaccats-mysql-9.4.2.so bacula-common-mariadb-9.4.2_4
 bpipe-fd.so bacula-fd-9.4.2_4
 libnftables.so.1 libnftables-0.9.1_1
 libbctoolbox.so.1 bctoolbox-0.6.0_1
+libbcmatroska2.so.0 bcmatroska2-5.2.1_1
 libortp.so.15 ortp-4.4.0_1
 libsuperlu.so.5 superlu-5.2.1_1
 libgosu.so.0 gosu-0.12.0_1
diff --git a/srcpkgs/bcmatroska2-devel b/srcpkgs/bcmatroska2-devel
new file mode 120000
index 000000000000..6f37f82bbfef
--- /dev/null
+++ b/srcpkgs/bcmatroska2-devel
@@ -0,0 +1 @@
+bcmatroska2/
\ No newline at end of file
diff --git a/srcpkgs/bcmatroska2/patches/linking.patch b/srcpkgs/bcmatroska2/patches/linking.patch
new file mode 100644
index 000000000000..41a9076e174e
--- /dev/null
+++ b/srcpkgs/bcmatroska2/patches/linking.patch
@@ -0,0 +1,21 @@
+--- a/corec/corec/CMakeLists.txt	2022-11-29 11:25:07.000000000 +0100
++++ -	2023-01-06 19:32:45.598386210 +0100
+@@ -52,7 +52,6 @@
+ else()
+ 	list(APPEND COREC_SOURCES
+ 		helpers/date/date_libc.c
+-		helpers/file/file_libc.c
+ 		helpers/file/file_bctbx.c
+ 		multithread/multithread_pthread.c
+ 	)
+--- a/libmatroska2/CMakeLists.txt	2022-11-29 11:25:07.000000000 +0100
++++ -	2023-01-06 19:35:18.813490108 +0100
+@@ -26,7 +26,7 @@
+ 	matroska_sem.c
+ )
+ 
+-set(LIBS )
++set(LIBS bctoolbox)
+ if(WIN32 AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsPhone" AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
+ 	list(APPEND LIBS Winmm)
+ endif()
diff --git a/srcpkgs/bcmatroska2/template b/srcpkgs/bcmatroska2/template
new file mode 100644
index 000000000000..a07431d64109
--- /dev/null
+++ b/srcpkgs/bcmatroska2/template
@@ -0,0 +1,23 @@
+# Template file for 'bcmatroska2'
+pkgname=bcmatroska2
+version=5.2.1
+revision=1
+build_style=cmake
+configure_args="-DENABLE_STATIC=OFF"
+makedepends="bctoolbox-devel"
+short_desc="C library for working with matroska files"
+maintainer="John <me@johnnynator.dev>"
+license="GPL-2.0-only"
+homepage="https://gitlab.linphone.org/BC/public/bcmatroska2"
+distfiles="https://gitlab.linphone.org/BC/public/bcmatroska2/-/archive/${version}/bcmatroska2-${version}.tar.gz"
+checksum=473aa34b66c5b138a882afaa2d16feb042a7df8b71542566d53d80ae745d051a
+
+bcmatroska2-devel_package() {
+	depends="bcmatroska2-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/share/bcmatroska2/cmake
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/bcmatroska2/update b/srcpkgs/bcmatroska2/update
new file mode 100644
index 000000000000..eabd1d83b0e8
--- /dev/null
+++ b/srcpkgs/bcmatroska2/update
@@ -0,0 +1 @@
+site=https://gitlab.linphone.org/BC/public/bcmatroska2/-/tags

From a53e43c87efe46fd365eda3cef78adbf2a919539 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 19:43:49 +0100
Subject: [PATCH 11/12] New package: bcg729-1.1.1

---
 common/shlibs           |  1 +
 srcpkgs/bcg729-devel    |  1 +
 srcpkgs/bcg729/template | 23 +++++++++++++++++++++++
 srcpkgs/bcg729/update   |  1 +
 4 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/bcg729-devel
 create mode 100644 srcpkgs/bcg729/template
 create mode 100644 srcpkgs/bcg729/update

diff --git a/common/shlibs b/common/shlibs
index 0e11f3f56b81..0a92daa9da20 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3037,6 +3037,7 @@ bpipe-fd.so bacula-fd-9.4.2_4
 libnftables.so.1 libnftables-0.9.1_1
 libbctoolbox.so.1 bctoolbox-0.6.0_1
 libbcmatroska2.so.0 bcmatroska2-5.2.1_1
+libbcg729.so.0 bcg729-1.1.1_1
 libortp.so.15 ortp-4.4.0_1
 libsuperlu.so.5 superlu-5.2.1_1
 libgosu.so.0 gosu-0.12.0_1
diff --git a/srcpkgs/bcg729-devel b/srcpkgs/bcg729-devel
new file mode 120000
index 000000000000..d5b4b8eebe3b
--- /dev/null
+++ b/srcpkgs/bcg729-devel
@@ -0,0 +1 @@
+bcg729
\ No newline at end of file
diff --git a/srcpkgs/bcg729/template b/srcpkgs/bcg729/template
new file mode 100644
index 000000000000..6ab647c0b0ec
--- /dev/null
+++ b/srcpkgs/bcg729/template
@@ -0,0 +1,23 @@
+# Template file for 'bcg729'
+pkgname=bcg729
+version=1.1.1
+revision=1
+build_style=cmake
+configure_args="-DENABLE_STATIC=OFF"
+makedepends="bcunit-devel mbedtls-devel"
+short_desc="Implementation of the ITU G729 Annex A/B speech codec"
+maintainer="John <me@johnnynator.dev>"
+license="GPL-2.0-only"
+homepage="https://gitlab.linphone.org/BC/public/bcg729"
+distfiles="https://gitlab.linphone.org/BC/public/bcg729/-/archive/${version}/bcg729-${version}.tar.gz"
+checksum=68599a850535d1b182932b3f86558ac8a76d4b899a548183b062956c5fdc916d
+
+bcg729-devel_package() {
+	depends="bcg729-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/share/Bcg729/cmake
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/bcg729/update b/srcpkgs/bcg729/update
new file mode 100644
index 000000000000..ee4c2c659ad0
--- /dev/null
+++ b/srcpkgs/bcg729/update
@@ -0,0 +1 @@
+site=https://gitlab.linphone.org/BC/public/bcg729/-/tags

From 205e14743c46029e98b4b1dafcea4d0dc2b14000 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Fri, 6 Jan 2023 20:03:01 +0100
Subject: [PATCH 12/12] belle-sip: update to 5.2.6.

---
 srcpkgs/belle-sip/template | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/belle-sip/template b/srcpkgs/belle-sip/template
index ccf66d4b985c..83eed997d6d1 100644
--- a/srcpkgs/belle-sip/template
+++ b/srcpkgs/belle-sip/template
@@ -1,18 +1,17 @@
 # Template file for 'belle-sip'
 pkgname=belle-sip
-version=5.1.12
+version=5.2.6
 revision=1
 build_style=cmake
-configure_args="-DANTLR3_JAR_PATH=/usr/share/java/antlr3.jar -DENABLE_STRICT=OFF
- -DENABLE_TESTS=NO -DCMAKE_SKIP_INSTALL_RPATH=ON -DCMAKE_MODULE_PATH=/usr/lib/cmake"
-hostmakedepends="antlr3-bin"
+configure_args="-DENABLE_STRICT=OFF -DENABLE_TESTS=NO -DCMAKE_SKIP_INSTALL_RPATH=ON
+ -DCMAKE_MODULE_PATH=/usr/lib/cmake"
 makedepends="mbedtls-devel libantlr3c bctoolbox-devel zlib-devel belr-devel"
 short_desc="SIP (RFC3261) implementation written in C"
 maintainer="John <me@johnnynator.dev>"
 license="GPL-2.0-or-later"
 homepage="https://www.linphone.org"
 distfiles="https://gitlab.linphone.org/BC/public/belle-sip/-/archive/${version}/belle-sip-${version}.tar.gz"
-checksum=1a827db2d42eadd6825dc12f8c413ca3cf925e8084e5821d94f66d49b5c6f2db
+checksum=e567a4823df0a782a5b9af61dcab6ca78f3bbb3f72c6a4b2a2e791e29e573826
 
 belle-sip-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: linphone: update to 5.2.7
  2023-01-06 19:19 [PR PATCH] linphone: update to 5.2.7 Johnnynator
  2023-01-10 20:03 ` [PR PATCH] [Updated] " Johnnynator
@ 2023-01-29 14:43 ` Johnnynator
  1 sibling, 0 replies; 3+ messages in thread
From: Johnnynator @ 2023-01-29 14:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1435 bytes --]

There's a merged pull request on the void-packages repository

linphone: update to 5.2.7
https://github.com/void-linux/void-packages/pull/41495

Description:
- bcunit: update to 5.2.0.
- bctoolbox: update to 5.2.6.
- belcard: update to 5.2.6.
- belr: update to 5.2.6.
- bzrtp: update to 5.2.6.
- linphone-desktop: update to 5.0.4.
- linphone: update to 5.2.7.
- mediastreamer: update to 5.2.6.
- ortp: update to 5.2.6.
- New package: bcmatroska2-5.2.1
- New package: bcg729-1.1.1
- belle-sip: update to 5.2.6.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-29 14:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-06 19:19 [PR PATCH] linphone: update to 5.2.7 Johnnynator
2023-01-10 20:03 ` [PR PATCH] [Updated] " Johnnynator
2023-01-29 14:43 ` [PR PATCH] [Merged]: " Johnnynator

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).