package/celt051: drop package
PATCH 1/1 package/celt051: drop package
Remove celt051 package as celt has been merged into the IETF Opus codec and is now obsolete (see http://celt-codec.org/).
The only reverse dependency of celt051 is spice. Opus support on spice has been added upstream 6 years ago with
https://gitlab.freedesktop.org/spice/spice/commit/ce9b714137a767b81f2d3c40b5f3ce0d5cf70fc8
Spice disabled celt by default since version 0.14.1 and
https://gitlab.freedesktop.org/spice/spice-common/commit/72b0d603e128cd3af15974fe6b3e4b56ea9c6f34
Spice evens error out, by default, if Opus is missing since
https://gitlab.freedesktop.org/spice/spice-common/commit/f5224738425a7e97e1c32ea85bb3b243e50d4e22
This will also fix a static build failure on spice with celt051 and opus
Fixes:
- http://autobuild.buildroot.org/results/96c786f85d35f33508e9c71778043d16b87f72cd
--- Config.in.legacy | 10 ++++++++ DEVELOPERS | 1 - package/Config.in | 1 - package/celt051/0001-fix-gnuc-prereq.patch | 29 --------------------- package/celt051/Config.in | 15 ----------- package/celt051/celt051.hash | 2 -- package/celt051/celt051.mk | 30 ---------------------- package/jack2/jack2.mk | 5 ---- package/spice/spice.mk | 7 ----- 9 files changed, 10 insertions(+), 90 deletions(-) delete mode 100644 package/celt051/0001-fix-gnuc-prereq.patch delete mode 100644 package/celt051/Config.in delete mode 100644 package/celt051/celt051.hash delete mode 100644 package/celt051/celt051.mk
Config.in.legacy +10 -0
@@ -146,6 +146,16 @@ endif comment "Legacy options removed in 2020.02" +config BR2_PACKAGE_CELT051 + bool "celt051 package was removed" + select BR2_LEGACY + select BR2_PACKAGE_OPUS + help + The celt051 package was removed as the CELT codec has been + merged into the IETF Opus codec and is now obsolete. As a + result, the opus package has been automatically selected in + your configuration. + config BR2_PACKAGE_WIREGUARD bool "wireguard package renamed" depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
DEVELOPERS +0 -1
@@ -2534,7 +2534,6 @@ F: configs/nanopi_neo_defconfig F: fs/squashfs/ F: package/asterisk/ F: package/cegui06/ -F: package/celt051/ F: package/dahdi-linux/ F: package/dahdi-tools/ F: package/dtc/
package/Config.in +0 -1
@@ -1210,7 +1210,6 @@ menu "Audio/Sound" source "package/audiofile/Config.in" source "package/bcg729/Config.in" source "package/caps/Config.in" - source "package/celt051/Config.in" source "package/fdk-aac/Config.in" source "package/libao/Config.in" source "package/libasplib/Config.in"
package/celt051/0001-fix-gnuc-prereq.patch deleted +0 -29
@@ -1,29 +0,0 @@ -Fix musl build - -musl does not define __GNUC_PREREQ. Use patch from Alpine Linux -(http://git.alpinelinux.org/cgit/aports/plain/main/celt051/fix-gnuc-prereq.patch). - -Fixes http://autobuild.buildroot.net/results/223/223ba6003bdd7e0c896455c21fa8fee943b4e716/ - -Signed-off-by: J?rg Krause <[email protected]> - ---- celt-0.5.1.3.orig/libcelt/ecintrin.h -+++ celt-0.5.1.3/libcelt/ecintrin.h -@@ -52,8 +52,7 @@ - /*Count leading zeros. - This macro should only be used for implementing ec_ilog(), if it is defined. - All other code should use EC_ILOG() instead.*/ --#ifdef __GNUC_PREREQ --#if __GNUC_PREREQ(3,4) -+#if defined(__GNUC__) && ((__GNUC__<<16)+__GNUC_MINOR__) >= 0x304 - # if INT_MAX>=2147483647 - # define EC_CLZ0 sizeof(unsigned)*CHAR_BIT - # define EC_CLZ(_x) (__builtin_clz(_x)) -@@ -61,7 +60,6 @@ - # define EC_CLZ0 sizeof(unsigned long)*CHAR_BIT - # define EC_CLZ(_x) (__builtin_clzl(_x)) - # endif --#endif - #endif - - #if defined(EC_CLZ)
package/celt051/Config.in deleted +0 -15
@@ -1,15 +0,0 @@ -config BR2_PACKAGE_CELT051 - bool "celt051" - select BR2_PACKAGE_LIBOGG - help - The CELT ultra-low delay audio codec - - The CELT codec is a compression algorithm for audio. Like MP3, - Vorbis, and AAC it is suitable for transmitting music with - high quality. Unlike these formats CELT imposes very little - delay on the signal, even less than is typical for speech - centric formats like Speex, GSM, or G.729. - - Note: this is version 0.5.1.3 of celt. - - http://www.celt-codec.org/
package/celt051/celt051.hash deleted +0 -2
@@ -1,2 +0,0 @@ -# From http://downloads.xiph.org/releases/celt/SHA1SUMS -sha1 eb05030108c36cb063c3f026c349f16d78e0a497 celt-0.5.1.3.tar.gz
package/celt051/celt051.mk deleted +0 -30
@@ -1,30 +0,0 @@ -################################################################################ -# -# celt -# -################################################################################ - -# Although version newer than 0.5.1.3 exists, we're -# stuck with 0.5.1.3 for use by Spice (coming later) -CELT051_VERSION = 0.5.1.3 -CELT051_SOURCE = celt-$(CELT051_VERSION).tar.gz -CELT051_SITE = http://downloads.xiph.org/releases/celt -CELT051_LICENSE = BSD-2-Clause -CELT051_LICENSE_FILES = COPYING -CELT051_INSTALL_STAGING = YES -CELT051_DEPENDENCIES = libogg - -# Need to specify --with-ogg, otherwise /usr/lib may be searched for -# if target is the same kind as host (ie. same arch, same bitness, -# same endianness, so that /usr/lib contains libraries linkable by -# our cross-compiler) -CELT051_CONF_OPTS = \ - --enable-fixed-point \ - --disable-fixed-point-debug \ - --disable-experimental-postfilter \ - --disable-static-modes \ - --disable-assertions \ - --disable-oggtest \ - --with-ogg=$(STAGING_DIR)/usr - -$(eval $(autotools-package))
package/jack2/jack2.mk +0 -5
@@ -34,11 +34,6 @@ JACK2_DEPENDENCIES += dbus JACK2_CONF_OPTS += --dbus endif -# Even though it advertises support for celt-0.5.x, jack2 really -# requires celt >= 0.5.2 but we only have 0.5.1.3 and we cannot -# upgrade, so we do not add a dependency to celt051, which it can't -# find anyway as it looks for celt.pc but we only have celt-51.pc. - # The dependency against eigen is only useful in conjunction with # gtkiostream, which we do not have, so we don't need to depend on # eigen.
package/spice/spice.mk +0 -7
@@ -32,13 +32,6 @@ SPICE_CONF_OPTS = \ SPICE_DEPENDENCIES += host-pkgconf -ifeq ($(BR2_PACKAGE_CELT051),y) -SPICE_CONF_OPTS += --enable-celt051 -SPICE_DEPENDENCIES += celt051 -else -SPICE_CONF_OPTS += --disable-celt051 -endif - ifeq ($(BR2_PACKAGE_LZ4),y) SPICE_CONF_OPTS += --enable-lz4 SPICE_DEPENDENCIES += lz4
Signature · 1 line
2.24.1
Yann E. MORIN
AppliedPATCH 1/1 package/celt051: drop package
Fabrice, All,
On 2020-01-24 21:09 +0100, Fabrice Fontaine spake thusly:
Quoted 13 lines
Remove celt051 package as celt has been merged into the IETF Opus codec and is now obsolete (see http://celt-codec.org/).
The only reverse dependency of celt051 is spice. Opus support on spice has been added upstream 6 years ago with
https://gitlab.freedesktop.org/spice/spice/commit/ce9b714137a767b81f2d3c40b5f3ce0d5cf70fc8Spice disabled celt by default since version 0.14.1 and
https://gitlab.freedesktop.org/spice/spice-common/commit/72b0d603e128cd3af15974fe6b3e4b56ea9c6f34Spice evens error out, by default, if Opus is missing since
https://gitlab.freedesktop.org/spice/spice-common/commit/f5224738425a7e97e1c32ea85bb3b243e50d4e22
Quoted 6 lines
This will also fix a static build failure on spice with celt051 and opus
Fixes:
- http://autobuild.buildroot.org/results/96c786f85d35f33508e9c71778043d16b87f72cdSigned-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
I did slightly rephrase the legacy help, as the way it was written seemed to imply the CELT code was obsolete, while it's the package that is.
Regards,
Yann E. MORIN.
Quoted 198 lines
--- Config.in.legacy | 10 ++++++++ DEVELOPERS | 1 - package/Config.in | 1 - package/celt051/0001-fix-gnuc-prereq.patch | 29 --------------------- package/celt051/Config.in | 15 ----------- package/celt051/celt051.hash | 2 -- package/celt051/celt051.mk | 30 ---------------------- package/jack2/jack2.mk | 5 ---- package/spice/spice.mk | 7 ----- 9 files changed, 10 insertions(+), 90 deletions(-) delete mode 100644 package/celt051/0001-fix-gnuc-prereq.patch delete mode 100644 package/celt051/Config.in delete mode 100644 package/celt051/celt051.hash delete mode 100644 package/celt051/celt051.mkConfig.in.legacy +10
-0@@ -146,6 +146,16 @@ endif comment "Legacy options removed in 2020.02" +config BR2_PACKAGE_CELT051 + bool "celt051 package was removed" + select BR2_LEGACY + select BR2_PACKAGE_OPUS + help + The celt051 package was removed as the CELT codec has been + merged into the IETF Opus codec and is now obsolete. As a + result, the opus package has been automatically selected in + your configuration. + config BR2_PACKAGE_WIREGUARD bool "wireguard package renamed" depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10DEVELOPERS +0
-1@@ -2534,7 +2534,6 @@ F: configs/nanopi_neo_defconfig F: fs/squashfs/ F: package/asterisk/ F: package/cegui06/ -F: package/celt051/ F: package/dahdi-linux/ F: package/dahdi-tools/ F: package/dtc/package/Config.in +0
-1@@ -1210,7 +1210,6 @@ menu "Audio/Sound" source "package/audiofile/Config.in" source "package/bcg729/Config.in" source "package/caps/Config.in" - source "package/celt051/Config.in" source "package/fdk-aac/Config.in" source "package/libao/Config.in" source "package/libasplib/Config.in"package/celt051/0001-fix-gnuc-prereq.patch deleted +0
-29@@ -1,29 +0,0 @@ -Fix musl build - -musl does not define __GNUC_PREREQ. Use patch from Alpine Linux -(http://git.alpinelinux.org/cgit/aports/plain/main/celt051/fix-gnuc-prereq.patch). - -Fixes http://autobuild.buildroot.net/results/223/223ba6003bdd7e0c896455c21fa8fee943b4e716/ - -Signed-off-by: J?rg Krause <[email protected]> - ---- celt-0.5.1.3.orig/libcelt/ecintrin.h -+++ celt-0.5.1.3/libcelt/ecintrin.h -@@ -52,8 +52,7 @@ - /*Count leading zeros. - This macro should only be used for implementing ec_ilog(), if it is defined. - All other code should use EC_ILOG() instead.*/ --#ifdef __GNUC_PREREQ --#if __GNUC_PREREQ(3,4) -+#if defined(__GNUC__) && ((__GNUC__<<16)+__GNUC_MINOR__) >= 0x304 - # if INT_MAX>=2147483647 - # define EC_CLZ0 sizeof(unsigned)*CHAR_BIT - # define EC_CLZ(_x) (__builtin_clz(_x)) -@@ -61,7 +60,6 @@ - # define EC_CLZ0 sizeof(unsigned long)*CHAR_BIT - # define EC_CLZ(_x) (__builtin_clzl(_x)) - # endif --#endif - #endif - - #if defined(EC_CLZ)package/celt051/Config.in deleted +0
-15@@ -1,15 +0,0 @@ -config BR2_PACKAGE_CELT051 - bool "celt051" - select BR2_PACKAGE_LIBOGG - help - The CELT ultra-low delay audio codec - - The CELT codec is a compression algorithm for audio. Like MP3, - Vorbis, and AAC it is suitable for transmitting music with - high quality. Unlike these formats CELT imposes very little - delay on the signal, even less than is typical for speech - centric formats like Speex, GSM, or G.729. - - Note: this is version 0.5.1.3 of celt. - - http://www.celt-codec.org/package/celt051/celt051.hash deleted +0
-2@@ -1,2 +0,0 @@ -# From http://downloads.xiph.org/releases/celt/SHA1SUMS -sha1 eb05030108c36cb063c3f026c349f16d78e0a497 celt-0.5.1.3.tar.gzpackage/celt051/celt051.mk deleted +0
-30@@ -1,30 +0,0 @@ -################################################################################ -# -# celt -# -################################################################################ - -# Although version newer than 0.5.1.3 exists, we're -# stuck with 0.5.1.3 for use by Spice (coming later) -CELT051_VERSION = 0.5.1.3 -CELT051_SOURCE = celt-$(CELT051_VERSION).tar.gz -CELT051_SITE = http://downloads.xiph.org/releases/celt -CELT051_LICENSE = BSD-2-Clause -CELT051_LICENSE_FILES = COPYING -CELT051_INSTALL_STAGING = YES -CELT051_DEPENDENCIES = libogg - -# Need to specify --with-ogg, otherwise /usr/lib may be searched for -# if target is the same kind as host (ie. same arch, same bitness, -# same endianness, so that /usr/lib contains libraries linkable by -# our cross-compiler) -CELT051_CONF_OPTS = \ - --enable-fixed-point \ - --disable-fixed-point-debug \ - --disable-experimental-postfilter \ - --disable-static-modes \ - --disable-assertions \ - --disable-oggtest \ - --with-ogg=$(STAGING_DIR)/usr - -$(eval $(autotools-package))package/jack2/jack2.mk +0
-5@@ -34,11 +34,6 @@ JACK2_DEPENDENCIES += dbus JACK2_CONF_OPTS += --dbus endif -# Even though it advertises support for celt-0.5.x, jack2 really -# requires celt >= 0.5.2 but we only have 0.5.1.3 and we cannot -# upgrade, so we do not add a dependency to celt051, which it can't -# find anyway as it looks for celt.pc but we only have celt-51.pc. - # The dependency against eigen is only useful in conjunction with # gtkiostream, which we do not have, so we don't need to depend on # eigen.package/spice/spice.mk +0
-7@@ -32,13 +32,6 @@ SPICE_CONF_OPTS = \ SPICE_DEPENDENCIES += host-pkgconf -ifeq ($(BR2_PACKAGE_CELT051),y) -SPICE_CONF_OPTS += --enable-celt051 -SPICE_DEPENDENCIES += celt051 -else -SPICE_CONF_OPTS += --disable-celt051 -endif - ifeq ($(BR2_PACKAGE_LZ4),y) SPICE_CONF_OPTS += --enable-lz4 SPICE_DEPENDENCIES += lz4Signature · 1 line
2.24.1
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'