Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sphinxbase5 for openSUSE:Factory checked in at 2022-07-07 12:57:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sphinxbase5 (Old) and /work/SRC/openSUSE:Factory/.sphinxbase5.new.1523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sphinxbase5" Thu Jul 7 12:57:12 2022 rev:2 rq:987253 version:5~git20220609.617e536 Changes: -------- --- /work/SRC/openSUSE:Factory/sphinxbase5/sphinxbase5.changes 2020-03-31 17:13:50.731574264 +0200 +++ /work/SRC/openSUSE:Factory/.sphinxbase5.new.1523/sphinxbase5.changes 2022-07-07 12:57:31.839338135 +0200 @@ -1,0 +2,13 @@ +Mon Jul 4 15:45:06 UTC 2022 - Dominique Leuenberger <dims...@opensuse.org> + +- Update to version 20220609: + + Add fn decl needed for sphinxtrain, bio_fread_intv_3d. + + Update OpenAL header location. + + Silence warning about distutils deprecated in python 3.10. + + Make use of stdbool.h when generating Python interface. + + Change python req from 2.6 to 3.0. +- Add explicit dep on libsphinxbase3 from -devel package: the + installed .so symlinks to the real library, which mandates the + dependency (fixes rpmlint warning). + +------------------------------------------------------------------- Old: ---- sphinxbase-5~git20200206.4ffc4b7.tar.xz New: ---- sphinxbase-5~git20220609.617e536.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sphinxbase5.spec ++++++ --- /var/tmp/diff_new_pack.osDLmf/_old 2022-07-07 12:57:32.227338713 +0200 +++ /var/tmp/diff_new_pack.osDLmf/_new 2022-07-07 12:57:32.231338719 +0200 @@ -1,7 +1,7 @@ # -# spec file for package sphinxbase +# spec file for package sphinxbase5 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,14 +15,15 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define sover 3 Name: sphinxbase5 -Version: 5~git20200206.4ffc4b7 +Version: 5~git20220609.617e536 Release: 0 Summary: Support library required by Pocketsphinx License: BSD-2-Clause AND MIT Group: Productivity/Office/Other -Url: http://cmusphinx.sourceforge.net/wiki/download/ +URL: http://cmusphinx.sourceforge.net/wiki/download/ Source: sphinxbase-%{version}.tar.xz # PATCH-FIX-UPSTREAM initialize some variables before usage Patch0: sphinxbase-initialize-vars.patch @@ -32,16 +33,16 @@ BuildRequires: bison BuildRequires: doxygen BuildRequires: fdupes +BuildRequires: lapack-devel BuildRequires: libsndfile-devel BuildRequires: libtool BuildRequires: pkgconfig -BuildRequires: python3-devel -BuildRequires: python3-Cython BuildRequires: python-rpm-macros +BuildRequires: python3-Cython +BuildRequires: python3-devel BuildRequires: swig -BuildRequires: lapack-devel Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives %description CMU Sphinx toolkit is a speech recognition tool and has a number of packages for @@ -62,6 +63,7 @@ Requires: alsa-devel Requires: lapack-devel Requires: libsndfile-devel +Requires: libsphinxbase%{sover} = %{version} Conflicts: sphinxbase-devel %description devel @@ -74,8 +76,8 @@ Summary: Python bindings for sphinxbase required by python-pocketsphinx Group: Development/Languages/Python Requires: %{name} = %{version} -Conflicts: python3-sphinxbase Conflicts: python3-pocketsphinx-python <= 0.1.3 +Conflicts: python3-sphinxbase %description -n python3-sphinxbase5 Python3 bindings for %{name}-%{version} ++++++ sphinxbase-5~git20200206.4ffc4b7.tar.xz -> sphinxbase-5~git20220609.617e536.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxbase-5~git20200206.4ffc4b7/.gitignore new/sphinxbase-5~git20220609.617e536/.gitignore --- old/sphinxbase-5~git20200206.4ffc4b7/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/sphinxbase-5~git20220609.617e536/.gitignore 2022-06-09 13:34:54.000000000 +0200 @@ -0,0 +1,49 @@ +.DS_Store +Makefile +Makefile.in +.deps +ylwrap +*.lo +*.o +*.a +.libs +aclocal.m4 +autom4te.cache +*.la +compile +config.guess +config.log +config.status +config.sub +configure +depcomp +doc/doxyfile +include/config.h +include/config.h.in +include/sphinx_config.h +include/stamp-h1 +include/stamp-h2 +install-sh +libtool +ltmain.sh +m4/libtool.m4 +m4/ltoptions.m4 +m4/ltsugar.m4 +m4/ltversion.m4 +m4/lt~obsolete.m4 +missing +py-compile +sphinxbase.pc +src/sphinx_adtools/sphinx_cont_seg +src/sphinx_adtools/sphinx_pitch +src/sphinx_cepview/sphinx_cepview +src/sphinx_fe/sphinx_fe +src/sphinx_jsgf2fsg/sphinx_jsgf2fsg +src/sphinx_lmtools/sphinx_lm_convert +src/sphinx_lmtools/sphinx_lm_eval +swig/python/sphinxbase.py +swig/python/sphinxbase_wrap.c +test-driver +test/regression/testfuncs.sh +test/unit/testfuncs.sh +swig/sphinxbase_wrap.c diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxbase-5~git20200206.4ffc4b7/AUTHORS new/sphinxbase-5~git20220609.617e536/AUTHORS --- old/sphinxbase-5~git20200206.4ffc4b7/AUTHORS 2020-02-06 08:37:25.000000000 +0100 +++ new/sphinxbase-5~git20220609.617e536/AUTHORS 2022-06-09 13:34:54.000000000 +0200 @@ -1,6 +1,6 @@ The current maintainers are: -Evandro Gouv?a <egou...@cs.cmu.edu> +Evandro Gouv??a <egou...@cs.cmu.edu> Arthur Chan <arc...@cs.cmu.edu> Mosur Ravishankar <r...@cs.cmu.edu> Yitao Sun <yi...@cs.cmu.edu> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxbase-5~git20200206.4ffc4b7/README new/sphinxbase-5~git20220609.617e536/README --- old/sphinxbase-5~git20200206.4ffc4b7/README 2020-02-06 08:37:25.000000000 +0100 +++ new/sphinxbase-5~git20220609.617e536/README 2022-06-09 13:34:54.000000000 +0200 @@ -1,3 +1,11 @@ +DEPRECATED: Please depend on PocketSphinx instead +================================================= + +SphinxBase has been integrated into PocketSphinx, so if you were linking against +it or otherwise depending on it, please switch to use that instead as of the next +release. Thanks! You can find it at https://github.com/cmusphinx/pocketsphinx + + CMU Sphinx common libraries =============================================================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxbase-5~git20200206.4ffc4b7/configure.ac new/sphinxbase-5~git20220609.617e536/configure.ac --- old/sphinxbase-5~git20200206.4ffc4b7/configure.ac 2020-02-06 08:37:25.000000000 +0100 +++ new/sphinxbase-5~git20220609.617e536/configure.ac 2022-06-09 13:34:54.000000000 +0200 @@ -175,7 +175,7 @@ [Enable Python extension, built with swig, enabled by default])) if test "x${with_python}" != "xno"; then - AM_PATH_PYTHON([2.6]) + AM_PATH_PYTHON([3.0]) AX_PYTHON_DEVEL() AX_PKG_SWIG(2.0, [], [AC_MSG_ERROR([swig not found])]) fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxbase-5~git20200206.4ffc4b7/include/sphinxbase/bio.h new/sphinxbase-5~git20220609.617e536/include/sphinxbase/bio.h --- old/sphinxbase-5~git20200206.4ffc4b7/include/sphinxbase/bio.h 2020-02-06 08:37:25.000000000 +0100 +++ new/sphinxbase-5~git20220609.617e536/include/sphinxbase/bio.h 2022-06-09 13:34:54.000000000 +0200 @@ -241,6 +241,18 @@ uint32 swap, uint32 *chksum); +int +bio_fread_intv_3d(void ****arr, + size_t e_sz, + uint32 s, + uint32 e, + uint32 *d1, + uint32 *d2, + uint32 *d3, + FILE *fp, + uint32 swap, + uint32 *chksum); + /** * Read and verify checksum at the end of binary file. Fails fatally if there is * a mismatch. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxbase-5~git20200206.4ffc4b7/m4/ax_python_devel.m4 new/sphinxbase-5~git20220609.617e536/m4/ax_python_devel.m4 --- old/sphinxbase-5~git20200206.4ffc4b7/m4/ax_python_devel.m4 2020-02-06 08:37:25.000000000 +0100 +++ new/sphinxbase-5~git20220609.617e536/m4/ax_python_devel.m4 2022-06-09 13:34:54.000000000 +0200 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_python_devel.html +# https://www.gnu.org/software/autoconf-archive/ax_python_devel.html # =========================================================================== # # SYNOPSIS @@ -12,8 +12,8 @@ # in your configure.ac. # # This macro checks for Python and tries to get the include path to -# 'Python.h'. It provides the $(PYTHON_CPPFLAGS) and $(PYTHON_LDFLAGS) -# output variables. It also exports $(PYTHON_EXTRA_LIBS) and +# 'Python.h'. It provides the $(PYTHON_CPPFLAGS) and $(PYTHON_LIBS) output +# variables. It also exports $(PYTHON_EXTRA_LIBS) and # $(PYTHON_EXTRA_LDFLAGS) for embedding Python in your code. # # You can search for some particular version of Python by passing a @@ -52,7 +52,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see <http://www.gnu.org/licenses/>. +# with this program. If not, see <https://www.gnu.org/licenses/>. # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -67,7 +67,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 17 +#serial 21 AU_ALIAS([AC_PYTHON_DEVEL], [AX_PYTHON_DEVEL]) AC_DEFUN([AX_PYTHON_DEVEL],[ @@ -99,7 +99,7 @@ This version of the AC@&t@_PYTHON_DEVEL macro doesn't work properly with versions of Python before 2.1.0. You may need to re-run configure, setting the -variables PYTHON_CPPFLAGS, PYTHON_LDFLAGS, PYTHON_SITE_PKG, +variables PYTHON_CPPFLAGS, PYTHON_LIBS, PYTHON_SITE_PKG, PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand. Moreover, to disable this check, set PYTHON_NOVERSIONCHECK to something else than an empty string. @@ -137,7 +137,7 @@ # AC_MSG_CHECKING([for the distutils Python package]) ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` - if test -z "$ac_distutils_result"; then + if test $? -eq 0; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) @@ -172,7 +172,7 @@ # Check for Python library path # AC_MSG_CHECKING([for Python library path]) - if test -z "$PYTHON_LDFLAGS"; then + if test -z "$PYTHON_LIBS"; then # (makes two attempts to ensure we've got a version number # from the interpreter) ac_python_version=`cat<<EOD | $PYTHON - @@ -227,25 +227,25 @@ then # use the official shared library ac_python_library=`echo "$ac_python_library" | sed "s/^lib//"` - PYTHON_LDFLAGS="-L$ac_python_libdir -l$ac_python_library" + PYTHON_LIBS="-L$ac_python_libdir -l$ac_python_library" else # old way: use libpython from python_configdir ac_python_libdir=`$PYTHON -c \ "from distutils.sysconfig import get_python_lib as f; \ import os; \ print (os.path.join(f(plat_specific=1, standard_lib=1), 'config'));"` - PYTHON_LDFLAGS="-L$ac_python_libdir -lpython$ac_python_version" + PYTHON_LIBS="-L$ac_python_libdir -lpython$ac_python_version" fi - if test -z "PYTHON_LDFLAGS"; then + if test -z "PYTHON_LIBS"; then AC_MSG_ERROR([ Cannot determine location of your Python DSO. Please check it was installed with - dynamic libraries enabled, or try setting PYTHON_LDFLAGS by hand. + dynamic libraries enabled, or try setting PYTHON_LIBS by hand. ]) fi fi - AC_MSG_RESULT([$PYTHON_LDFLAGS]) - AC_SUBST([PYTHON_LDFLAGS]) + AC_MSG_RESULT([$PYTHON_LIBS]) + AC_SUBST([PYTHON_LIBS]) # # Check for site packages @@ -288,8 +288,10 @@ AC_MSG_CHECKING([consistency of all components of python development environment]) # save current global flags ac_save_LIBS="$LIBS" + ac_save_LDFLAGS="$LDFLAGS" ac_save_CPPFLAGS="$CPPFLAGS" - LIBS="$ac_save_LIBS $PYTHON_LDFLAGS $PYTHON_EXTRA_LDFLAGS $PYTHON_EXTRA_LIBS" + LIBS="$ac_save_LIBS $PYTHON_LIBS $PYTHON_EXTRA_LIBS $PYTHON_EXTRA_LIBS" + LDFLAGS="$ac_save_LDFLAGS $PYTHON_EXTRA_LDFLAGS" CPPFLAGS="$ac_save_CPPFLAGS $PYTHON_CPPFLAGS" AC_LANG_PUSH([C]) AC_LINK_IFELSE([ @@ -300,6 +302,7 @@ # turn back to default flags CPPFLAGS="$ac_save_CPPFLAGS" LIBS="$ac_save_LIBS" + LDFLAGS="$ac_save_LDFLAGS" AC_MSG_RESULT([$pythonexists]) @@ -307,8 +310,8 @@ AC_MSG_FAILURE([ Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. If so, pass it to configure, - via the LDFLAGS environment variable. - Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib" + via the LIBS environment variable. + Example: ./configure LIBS="-L/usr/non-standard-path/python/lib" ============================================================================ ERROR! You probably have to install the development version of the Python package diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxbase-5~git20200206.4ffc4b7/src/libsphinxad/ad_openal.c new/sphinxbase-5~git20220609.617e536/src/libsphinxad/ad_openal.c --- old/sphinxbase-5~git20200206.4ffc4b7/src/libsphinxad/ad_openal.c 2020-02-06 08:37:25.000000000 +0100 +++ new/sphinxbase-5~git20220609.617e536/src/libsphinxad/ad_openal.c 2022-06-09 13:34:54.000000000 +0200 @@ -40,8 +40,8 @@ #include "ad.h" -#include <al.h> -#include <alc.h> +#include <OpenAL/al.h> +#include <OpenAL/alc.h> struct ad_rec_s { ALCdevice * device; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxbase-5~git20200206.4ffc4b7/swig/sphinxbase.i new/sphinxbase-5~git20220609.617e536/swig/sphinxbase.i --- old/sphinxbase-5~git20200206.4ffc4b7/swig/sphinxbase.i 2020-02-06 08:37:25.000000000 +0100 +++ new/sphinxbase-5~git20220609.617e536/swig/sphinxbase.i 2022-06-09 13:34:54.000000000 +0200 @@ -79,9 +79,7 @@ %begin %{ #ifndef __cplusplus -typedef int bool; -#define true 1 -#define false 0 +#include <stdbool.h> #endif #include <sphinxbase/cmd_ln.h>