Skip to contentSkip to conversation

package/libopusenc: bump version to 0.3

PATCH In review Bernd Kuhls 2 participants 4 messages Jan 21 – Jan 22

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libopusenc: bump version to 0.3

https://opus-codec.org/release/dev/2026/01/03/libopusenc-0_3.html

Removed patch which is included in this release.

---
 ...opusenc.h-Avoid-__opus_check_-macros.patch | 85 -------------------
 package/libopusenc/libopusenc.hash            |  5 +-
 package/libopusenc/libopusenc.mk              |  2 +-
 3 files changed, 4 insertions(+), 88 deletions(-)
 delete mode 100644 package/libopusenc/0001-opusenc.h-Avoid-__opus_check_-macros.patch
package/libopusenc/0001-opusenc.h-Avoid-__opus_check_-macros.patch deleted +0 -85
deleted file mode 100644
index e8ab31f30a..0000000000
@@ -1,85 +0,0 @@
-From a0010e4602b40efc1413b3069122eb73efb688d3 Mon Sep 17 00:00:00 2001
-From: Mark Harris <[email protected]>
-Date: Mon, 24 Nov 2025 11:52:29 -0800
-Subject: [PATCH] opusenc.h: Avoid __opus_check_* macros
-
-The __opus_check_* macros are undocumented macros internal to opus, and
-have changed in opus commit 7817df7908318fb3a0af2a01e4da1e25643967d0
-because identifiers beginning with a double underscore are reserved by
-ISO C.  Define our own macros, not using reserved identifiers.
-
-Reported by Bertaz on GitHub and benedikt-grl on gitlab.xiph.org.
-
-Resolves: https://github.com/xiph/libopusenc/pull/36
-Resolves: https://gitlab.xiph.org/xiph/opus-tools/-/issues/2323
-Upstream: https://gitlab.xiph.org/xiph/libopusenc/-/commit/04c6172ffbbd5c7f7f2e170cf843872113f33b05
-[Julien: rebase on v0.2.1]
-Signed-off-by: Julien Olivain <[email protected]>
----
- include/opusenc.h | 35 ++++++++++++++++++++---------------
- 1 file changed, 20 insertions(+), 15 deletions(-)
-
-diff --git a/include/opusenc.h b/include/opusenc.h
-index 50ba8b5..6a893c7 100644
---- a/include/opusenc.h
-+++ b/include/opusenc.h
-@@ -104,7 +104,6 @@ extern "C" {
- /*@}*/
- /*@}*/
- 
--
- /* These are the "raw" request values -- they should usually not be used. */
- #define OPE_SET_DECISION_DELAY_REQUEST      14000
- #define OPE_GET_DECISION_DELAY_REQUEST      14001
-@@ -121,6 +120,13 @@ extern "C" {
- #define OPE_GET_NB_STREAMS_REQUEST          14013
- #define OPE_GET_NB_COUPLED_STREAMS_REQUEST  14015
- 
-+/* Macros to trigger compilation errors when the wrong types are provided to a CTL. */
-+/* These macros are not part of the API and are only for use within the macros below. */
-+#define ope_check_int(x) (((void)((x) == (opus_int32)0)), (opus_int32)(x))
-+#define ope_check_int_ptr(ptr) ((ptr) + ((ptr) - (opus_int32*)(ptr)))
-+#define ope_check_packet_func(x) ((void)((void (*)(void *, const unsigned char *, opus_int32, opus_uint32))0 == (x)), (x))
-+#define ope_check_void_ptr(x) ((void)((void *)0 == (x)), (x))
-+
- /**\defgroup encoder_ctl Encoding Options*/
- /*@{*/
- 
-@@ -129,21 +135,20 @@ extern "C" {
-    Macros for setting encoder options.*/
- /*@{*/
- 
--#define OPE_SET_DECISION_DELAY(x) OPE_SET_DECISION_DELAY_REQUEST, __opus_check_int(x)
--#define OPE_GET_DECISION_DELAY(x) OPE_GET_DECISION_DELAY_REQUEST, __opus_check_int_ptr(x)
--#define OPE_SET_MUXING_DELAY(x) OPE_SET_MUXING_DELAY_REQUEST, __opus_check_int(x)
--#define OPE_GET_MUXING_DELAY(x) OPE_GET_MUXING_DELAY_REQUEST, __opus_check_int_ptr(x)
--#define OPE_SET_COMMENT_PADDING(x) OPE_SET_COMMENT_PADDING_REQUEST, __opus_check_int(x)
--#define OPE_GET_COMMENT_PADDING(x) OPE_GET_COMMENT_PADDING_REQUEST, __opus_check_int_ptr(x)
--#define OPE_SET_SERIALNO(x) OPE_SET_SERIALNO_REQUEST, __opus_check_int(x)
--#define OPE_GET_SERIALNO(x) OPE_GET_SERIALNO_REQUEST, __opus_check_int_ptr(x)
--/* FIXME: Add type-checking macros to these. */
--#define OPE_SET_PACKET_CALLBACK(x,u) OPE_SET_PACKET_CALLBACK_REQUEST, (x), (u)
-+#define OPE_SET_DECISION_DELAY(x) OPE_SET_DECISION_DELAY_REQUEST, ope_check_int(x)
-+#define OPE_GET_DECISION_DELAY(x) OPE_GET_DECISION_DELAY_REQUEST, ope_check_int_ptr(x)
-+#define OPE_SET_MUXING_DELAY(x) OPE_SET_MUXING_DELAY_REQUEST, ope_check_int(x)
-+#define OPE_GET_MUXING_DELAY(x) OPE_GET_MUXING_DELAY_REQUEST, ope_check_int_ptr(x)
-+#define OPE_SET_COMMENT_PADDING(x) OPE_SET_COMMENT_PADDING_REQUEST, ope_check_int(x)
-+#define OPE_GET_COMMENT_PADDING(x) OPE_GET_COMMENT_PADDING_REQUEST, ope_check_int_ptr(x)
-+#define OPE_SET_SERIALNO(x) OPE_SET_SERIALNO_REQUEST, ope_check_int(x)
-+#define OPE_GET_SERIALNO(x) OPE_GET_SERIALNO_REQUEST, ope_check_int_ptr(x)
-+#define OPE_SET_PACKET_CALLBACK(x,u) OPE_SET_PACKET_CALLBACK_REQUEST, ope_check_packet_func(x), ope_check_void_ptr(u)
- /*#define OPE_GET_PACKET_CALLBACK(x,u) OPE_GET_PACKET_CALLBACK_REQUEST, (x), (u)*/
--#define OPE_SET_HEADER_GAIN(x) OPE_SET_HEADER_GAIN_REQUEST, __opus_check_int(x)
--#define OPE_GET_HEADER_GAIN(x) OPE_GET_HEADER_GAIN_REQUEST, __opus_check_int_ptr(x)
--#define OPE_GET_NB_STREAMS(x) OPE_GET_NB_STREAMS_REQUEST, __opus_check_int_ptr(x)
--#define OPE_GET_NB_COUPLED_STREAMS(x) OPE_GET_NB_COUPLED_STREAMS_REQUEST, __opus_check_int_ptr(x)
-+#define OPE_SET_HEADER_GAIN(x) OPE_SET_HEADER_GAIN_REQUEST, ope_check_int(x)
-+#define OPE_GET_HEADER_GAIN(x) OPE_GET_HEADER_GAIN_REQUEST, ope_check_int_ptr(x)
-+#define OPE_GET_NB_STREAMS(x) OPE_GET_NB_STREAMS_REQUEST, ope_check_int_ptr(x)
-+#define OPE_GET_NB_COUPLED_STREAMS(x) OPE_GET_NB_COUPLED_STREAMS_REQUEST, ope_check_int_ptr(x)
- /*@}*/
- /*@}*/
- 
--- 
-2.52.0
-
package/libopusenc/libopusenc.hash +3 -2
index bdb4cf8fde..a39436b536 100644
@@ -1,3 +1,4 @@
-# From http://downloads.xiph.org/releases/opus/SHA256SUMS.txt
-sha256  8298db61a8d3d63e41c1a80705baa8ce9ff3f50452ea7ec1c19a564fe106cbb9  libopusenc-0.2.1.tar.gz
+# From https://opus-codec.org/release/dev/2026/01/03/libopusenc-0_3.html
+sha256  f616d3aff9b2034547894ccb8ab56c36cf1a4acb0d922c5d7119f97bbe58642c  libopusenc-0.3.tar.gz
+# Locally computed
 sha256  93b17ab56b8230127fea532be0dcb4e6d71e66ab5e8ce5d6ae8785d7288b164f  COPYING
package/libopusenc/libopusenc.mk +1 -1
index 3b4dc0e714..8606a49dde 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBOPUSENC_VERSION = 0.2.1
+LIBOPUSENC_VERSION = 0.3
 LIBOPUSENC_SITE = https://downloads.xiph.org/releases/opus
 LIBOPUSENC_LICENSE = BSD-3-Clause
 LIBOPUSENC_LICENSE_FILES = COPYING
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 1/1 package/opus: bump version to 1.6.1

https://opus-codec.org/release/stable/2026/01/14/libopus-1_6_1.html

---
 package/opus/opus.hash | 2 +-
 package/opus/opus.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/opus/opus.hash +1 -1
index 675117e518..a5093d2cc0 100644
@@ -1,5 +1,5 @@
 # From http://downloads.xiph.org/releases/opus/SHA256SUMS.txt
-sha256  b7637334527201fdfd6dd6a02e67aceffb0e5e60155bbd89175647a80301c92c  opus-1.6.tar.gz
+sha256  6ffcb593207be92584df15b32466ed64bbec99109f007c82205f0194572411a1  opus-1.6.1.tar.gz
 
 # Hash for license file
 sha256  01e1167d54a096d123cf6dfbbeb19587278845c6481d2d66d545669846079551  COPYING
package/opus/opus.mk +1 -1
index 98ca12a623..13ab9cd7de 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-OPUS_VERSION = 1.6
+OPUS_VERSION = 1.6.1
 OPUS_SITE = https://downloads.xiph.org/releases/opus
 OPUS_LICENSE = BSD-3-Clause
 OPUS_LICENSE_FILES = COPYING
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot