Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ilbc for openSUSE:Factory checked in at 2025-09-23 16:07:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ilbc (Old) and /work/SRC/openSUSE:Factory/.ilbc.new.27445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ilbc" Tue Sep 23 16:07:29 2025 rev:21 rq:1306595 version:3.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/ilbc/ilbc.changes 2024-03-27 20:44:14.100808888 +0100 +++ /work/SRC/openSUSE:Factory/.ilbc.new.27445/ilbc.changes 2025-09-23 16:07:51.973040587 +0200 @@ -1,0 +2,44 @@ +Sat Apr 19 17:50:06 UTC 2025 - Martin Hauke <[email protected]> + +- Switch Upstream to https://github.com/TimothyGu/libilbc +- Update to version 3.0.4 + * This release contains a fix for Chromium bug 1158070. Also + upstreamed some local patches to the WebRTC project + (CLs 198241 and 198362). +- Update to version 3.0.3 + * Made WebRtcIlbcfix_InitDecode an exported symbol on shared + library builds. +- Update to version 3.0.2 + * Fixed installation from out-of-tree builds. +- Update to version 3.0.1 + * Fix packaging bugs. +- Update to version 3.0.0 + * https://github.com/TimothyGu/libilbc/releases/tag/v3.0.1 +- Update to version 2.0.2 + * Distribute and install README.md and NEWS.md. + * Bump shared lib name generated by autotools to libilbc.so.2.0.2 + to be consistent with the CMake toolchain. +- Update to version 2.0.1 + * This release is a bug fix release, containing all changes from + WebRTC up to to r7765, cc7755b. + * Fix crash in programs directly calling Init functions, without + first creating a context through constructors. + Proper SONAME versioning added, and bumped to libilbc.so.2. +- Update to version 2.0.0 + * Under new maintainership by me (Timothy Gu). + * Update to latest upstream source (r7715, 087da13). + + A threading implementation is now needed. Win32 and POSIX + Threads are supported. + * Autotools files are cleaned-up. + * CMake now uses BUILD_SHARED_LIBS to determine the type of + library to build. + * CMake installation paths on some 64-bit systems using lib64 + are corrected. +- Drop patches: + * ilbc-compilerwarnings.patch + * ilbc-libm.patch +- Add patches: + * ilbc-cmake-cflags.patch + * ilbc-cmake-cpp17.patch + +------------------------------------------------------------------- Old: ---- ilbc-compilerwarnings.patch ilbc-libm.patch ilbc-rfc3951.tar.bz2 New: ---- ilbc-cmake-cflags.patch ilbc-cmake-cpp17.patch libilbc-3.0.4.tar.gz ----------(Old B)---------- Old:- Drop patches: * ilbc-compilerwarnings.patch * ilbc-libm.patch Old: * ilbc-compilerwarnings.patch * ilbc-libm.patch - Add patches: ----------(Old E)---------- ----------(New B)---------- New:- Add patches: * ilbc-cmake-cflags.patch * ilbc-cmake-cpp17.patch New: * ilbc-cmake-cflags.patch * ilbc-cmake-cpp17.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ilbc.spec ++++++ --- /var/tmp/diff_new_pack.qNMsX3/_old 2025-09-23 16:07:52.585066289 +0200 +++ /var/tmp/diff_new_pack.qNMsX3/_new 2025-09-23 16:07:52.589066457 +0200 @@ -1,7 +1,7 @@ # # spec file for package ilbc # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,22 @@ # +%define sover 3 +%define libname libilbc%{sover} + Name: ilbc Summary: Internet Low Bitrate Codec -License: GPL-2.0-or-later -Group: Productivity/Telephony/Utilities -Version: 3951 +License: BSD-3-Clause +Group: System/Libraries +Version: 3.0.4 Release: 0 -Source: ilbc-rfc3951.tar.bz2 -URL: http://download.savannah.nongnu.org/releases/linphone/1.3.x/source/ilbc-rfc3951.tar.gz -BuildRequires: libtool -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Patch0: %{name}-compilerwarnings.patch -Patch1: %{name}-libm.patch +URL: https://github.com/TimothyGu/libilbc +Source: https://github.com/TimothyGu/libilbc/archive/refs/tags/v%{version}.tar.gz#/libilbc-%{version}.tar.gz +Patch0: ilbc-cmake-cflags.patch +Patch1: ilbc-cmake-cpp17.patch +BuildRequires: abseil-cpp-devel +BuildRequires: cmake +BuildRequires: gcc-c++ %description iLBC (internet Low Bitrate Codec) is a FREE speech codec suitable for @@ -38,16 +42,13 @@ the case of lost frames, which occurs in connection with lost or delayed IP packets. - -%define libilbc_name libilbc0 - -%package -n %{libilbc_name} +%package -n %{libname} Summary: Internet Low Bitrate Codec -Group: Productivity/Telephony/Utilities +Group: System/Libraries Provides: ilbc = %{version} Obsoletes: ilbc <= %{version} -%description -n %{libilbc_name} +%description -n %{libname} iLBC (internet Low Bitrate Codec) is a FREE speech codec suitable for robust voice communication over IP. The codec is designed for narrow band speech and results in a payload bit rate of 13.33 kbit/s with an @@ -59,39 +60,33 @@ %package devel Summary: Libraries and Header Files to Develop Programs with iLBC Support Group: Development/Libraries/C and C++ -Requires: %{libilbc_name} = %{version} +Requires: %{libname} = %{version} %description devel -Libraries and Header Files to Develop Programs with iLBC Support +Libraries and Header Files to Develop Programs with iLBC Support. %prep -%autosetup -p0 -n ilbc-rfc3951 +%autosetup -p1 -n libilbc-%{version} %build -autoreconf -fi -%configure --disable-static --with-pic -make MYCFLAGS="$RPM_OPT_FLAGS" +%cmake +%cmake_build %install -%makeinstall -rm -f %{buildroot}%{_libdir}/*.la - -%clean -rm -rf $RPM_BUILD_ROOT - -%post -n %{libilbc_name} -p /sbin/ldconfig +%cmake_install +rm -Rv %{buildroot}%{_docdir}/ilbc -%postun -n %{libilbc_name} -p /sbin/ldconfig +%ldconfig_scriptlets -n %{libname} -%files -n %{libilbc_name} -%defattr(-, root, root) -%{_libdir}/lib%{name}.so.* +%files -n %{libname} +%license COPYING +%doc README.md NEWS.md +%{_libdir}/libilbc.so.%{sover}* %files devel -%defattr(-, root, root) -%{_includedir}/ilbc/iLBC_decode.h -%{_includedir}/ilbc/iLBC_define.h -%{_includedir}/ilbc/iLBC_encode.h -%{_libdir}/lib%{name}.so -%dir %{_includedir}/ilbc +%{_bindir}/ilbc_test +%{_includedir}/ilbc.h +%{_includedir}/ilbc_export.h +%{_libdir}/libilbc.so +%{_libdir}/pkgconfig/libilbc.pc ++++++ ilbc-cmake-cflags.patch ++++++ diff --git a/CMakeLists.txt b/CMakeLists.txt index 52a12ae..245a433 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,15 +52,11 @@ set(CMAKE_CXX_STANDARD 14) if((CMAKE_C_COMPILER_ID STREQUAL "GNU") OR (CMAKE_C_COMPILER_ID MATCHES "Clang" AND CMAKE_C_COMPILER_FRONTEND_VARIANT STREQUAL "GNU")) - set(CMAKE_C_FLAGS "-Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -fno-strict-aliasing") - set(CMAKE_C_FLAGS_DEBUG "-g") - set(CMAKE_C_FLAGS_RELEASE "-O2") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") endif() if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_FRONTEND_VARIANT STREQUAL "GNU")) - set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing") - set(CMAKE_CXX_FLAGS_DEBUG "-g") - set(CMAKE_CXX_FLAGS_RELEASE "-O2") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") endif() if(CMAKE_C_COMPILER_ID STREQUAL "MSVC") ++++++ ilbc-cmake-cpp17.patch ++++++ diff --git a/CMakeLists.txt b/CMakeLists.txt index 245a433..6c2b080 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,7 @@ set(CMAKE_C_VISIBILITY_PRESET hidden) set(CMAKE_CXX_VISIBILITY_PRESET hidden) set(CMAKE_VISIBILITY_INLINES_HIDDEN 1) -set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD 17) if((CMAKE_C_COMPILER_ID STREQUAL "GNU") OR (CMAKE_C_COMPILER_ID MATCHES "Clang" AND CMAKE_C_COMPILER_FRONTEND_VARIANT STREQUAL "GNU"))
