package/libtheora: bump version to 1.2.0

Release notes:
https://xiph.org/press/2025/theora-release-1.2/
https://gitlab.xiph.org/xiph/theora/-/blob/v1.2.0/CHANGES?ref_type=tags

Removed patch 0001 which is not needed anymore due to upstream commit:
14045376ee

Removed patch 0002 which is included in this release.

Updated license hash due to upstream commit:
b68e2e53b3

Disabled assembly code on arm following Debian:
https://sources.debian.org/src/libtheora/1.2.0%2Bdfsg-6/debian/rules#L14

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Julien: append --disable-asm in _CONF_OPTS instead of override,
  to also fix check-package error
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2025-10-06 23:10:44 +02:00
committed by Julien Olivain
parent a9e5cf6ac2
commit 5e769b87ec
5 changed files with 9 additions and 71 deletions

View File

@@ -629,7 +629,6 @@ package/libsvg/0001-fix-expat-static-declaration.patch lib_patch.Upstream
package/libsvg/0002-Fix-undefined-symbol-png_set_gray_1_2_4_to_8.patch lib_patch.Upstream
package/libtalloc/0001-buildtools-wafsamba-add-disable-stack-protector-opti.patch lib_patch.Upstream
package/libtelnet/0001-fix-compilation-without-zlib.patch lib_patch.Upstream
package/libtheora/0001-link-libtheoradec.patch lib_patch.Upstream
package/libtomcrypt/0001-fix-CVE-2019-17362.patch lib_patch.Upstream
package/libtommath/0001-Build-test-bn_mp_set_double-c-on-more-platforms.patch lib_patch.Upstream
package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch lib_patch.Upstream

View File

@@ -1,21 +0,0 @@
libtheoraenc.so needs to be linked to libtheoradec.so in order to avoid
symbol 'th_comment_query_count': can't resolve symbol in lib '/usr/lib/libtheoraenc.so.1'
when starting Freeswitch.
Patch downloaded from
http://www.sisyphus.ru/en/srpm/Sisyphus/libtheora/patches/0
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
--- libtheora/lib/Makefile.am
+++ libtheora/lib/Makefile.am
@@ -153,6 +153,7 @@ libtheoraenc_la_SOURCES = \
libtheoraenc_la_LDFLAGS = \
-version-info @THENC_LIB_CURRENT@:@THENC_LIB_REVISION@:@THENC_LIB_AGE@ \
@THEORAENC_LDFLAGS@ $(OGG_LIBS)
+libtheoraenc_la_LIBADD = libtheoradec.la
libtheora_la_SOURCES = \
$(decoder_sources) \

View File

@@ -1,46 +0,0 @@
Fix broken autoreconf
Upstream: https://git.xiph.org/?p=theora.git;a=commitdiff;h=28cc6dbd9b2a141df94f60993256a5fca368fa54
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Dario: make the patch to be applied with fuzz factor 0]
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
From: Tim Terriberry <tterribe@xiph.org>
Date: Fri, 20 May 2011 20:41:50 +0000 (+0000)
Subject: Make autoreconf -i -f work.
X-Git-Url: https://git.xiph.org/?p=theora.git;a=commitdiff_plain;h=28cc6dbd9b2a141df94f60993256a5fca368fa54
Make autoreconf -i -f work.
Patch from David Schleef.
svn path=/trunk/theora/; revision=17990
---
diff --git a/Makefile.am b/Makefile.am
index 89fd753..1783857 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,5 +2,7 @@
AUTOMAKE_OPTIONS = foreign 1.6 dist-zip dist-bzip2
+ACLOCAL_AMFLAGS=-I m4
+
if THEORA_ENABLE_EXAMPLES
EXAMPLES_DIR = examples
else
diff --git a/configure.ac b/configure.ac
index 1cbec1a..456b603 100644
--- a/configure.ac
+++ b/configure.ac
@@ -61,7 +61,7 @@ AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
dnl Add parameters for aclocal
-AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
+AC_CONFIG_MACRO_DIR([m4])
dnl Check for doxygen
AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false)

View File

@@ -1,6 +1,6 @@
# From http://downloads.xiph.org/releases/theora/SHA256SUMS
sha256 f36da409947aa2b3dcc6af0a8c2e3144bc19db2ed547d64e9171c59c66561c61 libtheora-1.1.1.tar.xz
sha256 ebdf77a8f5c0a8f7a9e42323844fa09502b34eb1d1fece7b5f54da41fe2122ec libtheora-1.2.0.tar.xz
# Locally calculated
sha256 8417fad7da775735564e209484a2e011e0fa201e94f01fdbee6e4977e478e6fc COPYING
sha256 654a0238f789f4435c4818f50005b141d013c5a09a31d861efc1d0d67ba975a4 LICENSE
sha256 2c902950c73a63cd285dc0c36573de9c5fefe66d49312949c51d941f33e92932 LICENSE

View File

@@ -4,7 +4,7 @@
#
################################################################################
LIBTHEORA_VERSION = 1.1.1
LIBTHEORA_VERSION = 1.2.0
LIBTHEORA_SOURCE = libtheora-$(LIBTHEORA_VERSION).tar.xz
LIBTHEORA_SITE = http://downloads.xiph.org/releases/theora
LIBTHEORA_INSTALL_STAGING = YES
@@ -20,6 +20,12 @@ LIBTHEORA_CONF_OPTS = \
--disable-examples \
--disable-spec
# assembly code on arm is broken:
# https://gitlab.xiph.org/xiph/theora/-/merge_requests/53
ifeq ($(BR2_arm),y)
LIBTHEORA_CONF_OPTS += --disable-asm
endif
LIBTHEORA_DEPENDENCIES = libogg libvorbis host-pkgconf
$(eval $(autotools-package))