commit sbc for openSUSE:Factory

2021-01-19 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sbc for openSUSE:Factory checked in 
at 2021-01-19 16:00:39

Comparing /work/SRC/openSUSE:Factory/sbc (Old)
 and  /work/SRC/openSUSE:Factory/.sbc.new.28504 (New)


Package is "sbc"

Tue Jan 19 16:00:39 2021 rev:9 rq:863886 version:1.5

Changes:

--- /work/SRC/openSUSE:Factory/sbc/sbc.changes  2021-01-15 19:44:25.465858458 
+0100
+++ /work/SRC/openSUSE:Factory/.sbc.new.28504/sbc.changes   2021-01-19 
16:00:47.639252963 +0100
@@ -1,0 +2,5 @@
+Sun Jan 17 14:11:57 UTC 2021 - Dirk M??ller 
+
+- add fix-build-on-non-x86.patch: fix build on non-x86 
+
+---

New:

  fix-build-on-non-x86.patch



Other differences:
--
++ sbc.spec ++
--- /var/tmp/diff_new_pack.bEWosI/_old  2021-01-19 16:00:48.251253888 +0100
+++ /var/tmp/diff_new_pack.bEWosI/_new  2021-01-19 16:00:48.255253894 +0100
@@ -28,6 +28,7 @@
 URL:https://www.kernel.org/pub/linux/bluetooth
 Source: 
https://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.xz
 Source1:baselibs.conf
+Patch1: 
https://git.kernel.org/pub/scm/bluetooth/sbc.git/patch/?id=909a9bdf7ab143e1f0baaf9736baebd3cd79aacf#/fix-build-on-non-x86.patch
 BuildRequires:  libsndfile-devel
 BuildRequires:  pkg-config
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -54,6 +55,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects

++ fix-build-on-non-x86.patch ++
>From 909a9bdf7ab143e1f0baaf9736baebd3cd79aacf Mon Sep 17 00:00:00 2001
From: Marius Bakke 
Date: Tue, 22 Dec 2020 11:04:26 +
Subject: sbc_primitives: Fix build on non-x86.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Don't call __builtin_cpu_init unless targeting i386 or x86_64.
Otherwise we get an error at link time:

  CC   sbc/sbc_primitives.lo
sbc/sbc_primitives.c: In function ???sbc_init_primitives_x86???:
sbc/sbc_primitives.c:596:2: warning: implicit declaration of function 
???__builtin_cpu_init???; did you mean ???__builtin_irint 
[-Wimplicit-function-declaration]
[...]
  CCLD src/sbcdec
ld: sbc/.libs/libsbc-private.a(sbc_primitives.o): in function 
`sbc_init_primitives':
sbc_primitives.c:(.text+0x3a30): undefined reference to `__builtin_cpu_init'
---
 sbc/sbc_primitives.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sbc/sbc_primitives.c b/sbc/sbc_primitives.c
index 97a75be..09c214a 100644
--- a/sbc/sbc_primitives.c
+++ b/sbc/sbc_primitives.c
@@ -593,6 +593,7 @@ static int sbc_calc_scalefactors_j(
 
 static void sbc_init_primitives_x86(struct sbc_encoder_state *state)
 {
+#if defined(__x86_64__) || defined(__i386__)
__builtin_cpu_init();
 
 #ifdef SBC_BUILD_WITH_MMX_SUPPORT
@@ -604,6 +605,7 @@ static void sbc_init_primitives_x86(struct 
sbc_encoder_state *state)
if (__builtin_cpu_supports("sse4.2"))
sbc_init_primitives_sse(state);
 #endif
+#endif
 }
 
 /*
-- 
cgit 1.2.3-1.el7


commit sbc for openSUSE:Factory

2021-01-15 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sbc for openSUSE:Factory checked in 
at 2021-01-15 19:44:07

Comparing /work/SRC/openSUSE:Factory/sbc (Old)
 and  /work/SRC/openSUSE:Factory/.sbc.new.28504 (New)


Package is "sbc"

Fri Jan 15 19:44:07 2021 rev:8 rq:862163 version:1.5

Changes:

--- /work/SRC/openSUSE:Factory/sbc/sbc.changes  2019-09-05 12:10:19.071852627 
+0200
+++ /work/SRC/openSUSE:Factory/.sbc.new.28504/sbc.changes   2021-01-15 
19:44:25.465858458 +0100
@@ -1,0 +2,6 @@
+Mon Jan 11 01:03:32 UTC 2021 - Dirk M??ller 
+
+- update to 1.5:
+  * Add support for SSE primitives.
+
+---

Old:

  sbc-1.4.tar.xz

New:

  sbc-1.5.tar.xz



Other differences:
--
++ sbc.spec ++
--- /var/tmp/diff_new_pack.bEIvgj/_old  2021-01-15 19:44:26.157859592 +0100
+++ /var/tmp/diff_new_pack.bEIvgj/_new  2021-01-15 19:44:26.161859599 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sbc
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 # Copyright (c) 2012 B1 Systems GmbH, Vohburg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -20,12 +20,12 @@
 %define sonum 1
 
 Name:   sbc
-Version:1.4
+Version:1.5
 Release:0
 Summary:Bluetooth Low-Complexity, Sub-Band Codec Utilities
 License:GPL-2.0-or-later
 Group:  Hardware/Mobile
-Url:http://www.kernel.org/pub/linux/bluetooth
+URL:https://www.kernel.org/pub/linux/bluetooth
 Source: 
https://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.xz
 Source1:baselibs.conf
 BuildRequires:  libsndfile-devel

++ sbc-1.4.tar.xz -> sbc-1.5.tar.xz ++
 25209 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/sbc-1.4/AUTHORS new/sbc-1.5/AUTHORS
--- old/sbc-1.4/AUTHORS 2018-09-19 22:32:29.0 +0200
+++ new/sbc-1.5/AUTHORS 2020-12-07 23:26:08.0 +0100
@@ -9,3 +9,4 @@
 Aur??lien Zanelli 
 Joshua Kessinger 
 Tanu Kaskinen 
+John Keeping 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/sbc-1.4/ChangeLog new/sbc-1.5/ChangeLog
--- old/sbc-1.4/ChangeLog   2018-09-19 22:32:29.0 +0200
+++ new/sbc-1.5/ChangeLog   2020-12-07 23:26:08.0 +0100
@@ -1,3 +1,6 @@
+ver 1.5:
+   Add support for SSE primitives.
+
 ver 1.4:
Fix issue with stack overflow within sbc_crc8 function.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/sbc-1.4/Makefile.am new/sbc-1.5/Makefile.am
--- old/sbc-1.4/Makefile.am 2018-09-19 22:32:29.0 +0200
+++ new/sbc-1.5/Makefile.am 2020-12-07 23:26:08.0 +0100
@@ -6,14 +6,15 @@
 # Interfaces added:CURRENT++ REVISION=0 AGE++
 # Interfaces removed:  CURRENT++ REVISION=0 AGE=0
 
-SBC_CURRENT = 3
-SBC_REVISION = 2
-SBC_AGE = 2
+SBC_CURRENT = 4
+SBC_REVISION = 0
+SBC_AGE = 3
 
 sbc_headers = sbc/sbc.h
 
 sbc_sources = sbc/sbc.c sbc/sbc_private.h sbc/sbc_math.h sbc/sbc_tables.h \
sbc/sbc_primitives.h sbc/sbc_primitives.c \
+   sbc/sbc_primitives_sse.h sbc/sbc_primitives_sse.c \
sbc/sbc_primitives_mmx.h sbc/sbc_primitives_mmx.c \
sbc/sbc_primitives_iwmmxt.h sbc/sbc_primitives_iwmmxt.c \
sbc/sbc_primitives_neon.h sbc/sbc_primitives_neon.c \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/sbc-1.4/compile new/sbc-1.5/compile
--- old/sbc-1.4/compile 2018-09-19 22:32:57.0 +0200
+++ new/sbc-1.5/compile 2020-12-07 23:26:45.0 +0100
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Wrapper for compil