Hello community,

here is the log from the commit of package mpg123 for openSUSE:Factory checked 
in at 2017-12-06 08:52:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mpg123 (Old)
 and      /work/SRC/openSUSE:Factory/.mpg123.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mpg123"

Wed Dec  6 08:52:03 2017 rev:9 rq:547634 version:1.25.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/mpg123/mpg123.changes    2017-09-29 
11:53:25.899340655 +0200
+++ /work/SRC/openSUSE:Factory/.mpg123.new/mpg123.changes       2017-12-06 
08:52:10.463074455 +0100
@@ -1,0 +2,14 @@
+Sun Dec  3 05:08:39 UTC 2017 - aloi...@gmx.com
+
+- Update to version 1.25.8
+  mpg123:
+  * Also disable cursor/video games for empty TERM (not just unset
+    and dumb).
+  libmpg123:
+  * Accept changing mode extension bits when looking for next
+    header for detecting free-format streams (bug 257).
+  * Fix compute_bpf() for free format streams (needed to estimate
+    track length and working fuzzy seeking in absence of an Info
+    tag).
+
+-------------------------------------------------------------------

Old:
----
  mpg123-1.25.7.tar.bz2
  mpg123-1.25.7.tar.bz2.sig

New:
----
  mpg123-1.25.8.tar.bz2
  mpg123-1.25.8.tar.bz2.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mpg123.spec ++++++
--- /var/tmp/diff_new_pack.bXg3z6/_old  2017-12-06 08:52:11.195047658 +0100
+++ /var/tmp/diff_new_pack.bXg3z6/_new  2017-12-06 08:52:11.195047658 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           mpg123
-Version:        1.25.7
+Version:        1.25.8
 Release:        0
 Summary:        Console MPEG audio player and decoder library
 License:        LGPL-2.1

++++++ mpg123-1.25.7.tar.bz2 -> mpg123-1.25.8.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mpg123-1.25.7/NEWS new/mpg123-1.25.8/NEWS
--- old/mpg123-1.25.7/NEWS      2017-09-25 23:28:08.000000000 +0200
+++ new/mpg123-1.25.8/NEWS      2017-11-30 09:11:32.000000000 +0100
@@ -1,3 +1,13 @@
+1.25.8
+------
+- mpg123:
+-- Also disable cursor/video games for empty TERM (not just unset and dumb).
+- libmpg123:
+-- Accept changing mode extension bits when looking for next header for
+   detecting free-format streams (bug 257).
+-- Fix compute_bpf() for free format streams (needed to estimate track
+   length and working fuzzy seeking in absence of an Info tag).
+
 1.25.7
 ------
 - mpg123:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mpg123-1.25.7/configure new/mpg123-1.25.8/configure
--- old/mpg123-1.25.7/configure 2017-08-23 14:47:40.000000000 +0200
+++ new/mpg123-1.25.8/configure 2017-11-30 09:12:33.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for mpg123 1.25.7.
+# Generated by GNU Autoconf 2.69 for mpg123 1.25.8.
 #
 # Report bugs to <maintai...@mpg123.org>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='mpg123'
 PACKAGE_TARNAME='mpg123'
-PACKAGE_VERSION='1.25.7'
-PACKAGE_STRING='mpg123 1.25.7'
+PACKAGE_VERSION='1.25.8'
+PACKAGE_STRING='mpg123 1.25.8'
 PACKAGE_BUGREPORT='maintai...@mpg123.org'
 PACKAGE_URL=''
 
@@ -1567,7 +1567,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures mpg123 1.25.7 to adapt to many kinds of systems.
+\`configure' configures mpg123 1.25.8 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1637,7 +1637,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of mpg123 1.25.7:";;
+     short | recursive ) echo "Configuration of mpg123 1.25.8:";;
    esac
   cat <<\_ACEOF
 
@@ -1863,7 +1863,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-mpg123 configure 1.25.7
+mpg123 configure 1.25.8
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2469,7 +2469,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by mpg123 $as_me 1.25.7, which was
+It was created by mpg123 $as_me 1.25.8, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2822,7 +2822,7 @@
 
 
 API_VERSION=44
-LIB_PATCHLEVEL=6
+LIB_PATCHLEVEL=7
 
 OUTAPI_VERSION=2
 OUTLIB_PATCHLEVEL=1
@@ -3425,7 +3425,7 @@
 
 # Define the identity of the package.
  PACKAGE='mpg123'
- VERSION='1.25.7'
+ VERSION='1.25.8'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -20241,7 +20241,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by mpg123 $as_me 1.25.7, which was
+This file was extended by mpg123 $as_me 1.25.8, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -20307,7 +20307,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-mpg123 config.status 1.25.7
+mpg123 config.status 1.25.8
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mpg123-1.25.7/configure.ac 
new/mpg123-1.25.8/configure.ac
--- old/mpg123-1.25.7/configure.ac      2017-08-23 14:43:11.000000000 +0200
+++ new/mpg123-1.25.8/configure.ac      2017-11-30 09:11:45.000000000 +0100
@@ -8,12 +8,12 @@
 AC_PREREQ(2.57)
 
 dnl ############# Initialisation
-AC_INIT([mpg123], [1.25.7], [maintai...@mpg123.org])
+AC_INIT([mpg123], [1.25.8], [maintai...@mpg123.org])
 dnl Increment API_VERSION when the API gets changes (new functions).
 
 dnl libmpg123
 API_VERSION=44
-LIB_PATCHLEVEL=6
+LIB_PATCHLEVEL=7
 
 dnl libout123
 OUTAPI_VERSION=2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mpg123-1.25.7/mpg123.spec 
new/mpg123-1.25.8/mpg123.spec
--- old/mpg123-1.25.7/mpg123.spec       2017-08-23 16:01:08.000000000 +0200
+++ new/mpg123-1.25.8/mpg123.spec       2017-11-30 09:15:46.000000000 +0100
@@ -3,7 +3,7 @@
 # - devel packages for alsa, sdl, etc... to build the respective output 
modules.
 Summary:       The fast console mpeg audio decoder/player.
 Name:          mpg123
-Version:       1.25.7
+Version:       1.25.8
 Release:       1
 URL:           http://www.mpg123.org/
 License:       GPL
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mpg123-1.25.7/src/common.c 
new/mpg123-1.25.8/src/common.c
--- old/mpg123-1.25.7/src/common.c      2017-08-23 16:14:27.000000000 +0200
+++ new/mpg123-1.25.8/src/common.c      2017-11-30 09:06:56.000000000 +0100
@@ -44,7 +44,7 @@
                char *tname = compat_getenv("TERM");
                if(tname)
                {
-                       if(strcmp(tname, "dumb"))
+                       if(strcmp(tname, "") && strcmp(tname, "dumb"))
                                term_is_fun = 1;
                        free(tname);
                }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mpg123-1.25.7/src/libmpg123/mpeghead.h 
new/mpg123-1.25.8/src/libmpg123/mpeghead.h
--- old/mpg123-1.25.7/src/libmpg123/mpeghead.h  2017-08-23 14:05:45.000000000 
+0200
+++ new/mpg123-1.25.8/src/libmpg123/mpeghead.h  2017-11-30 09:08:52.000000000 
+0100
@@ -78,7 +78,7 @@
 #define HDR_CMPMASK (HDR_SYNC|HDR_VERSION|HDR_LAYER|HDR_SAMPLERATE)
 
 /* A stricter mask, for matching free format headers. */
-#define HDR_SAMEMASK 
(HDR_SYNC|HDR_VERSION|HDR_LAYER|HDR_BITRATE|HDR_SAMPLERATE|HDR_CHANNEL|HDR_CHANEX)
+#define HDR_SAMEMASK 
(HDR_SYNC|HDR_VERSION|HDR_LAYER|HDR_BITRATE|HDR_SAMPLERATE|HDR_CHANNEL)
 
 /* Free format headers have zero bitrate value. */
 #define HDR_FREE_FORMAT(head) (!(head & HDR_BITRATE))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mpg123-1.25.7/src/libmpg123/parse.c 
new/mpg123-1.25.8/src/libmpg123/parse.c
--- old/mpg123-1.25.7/src/libmpg123/parse.c     2017-08-23 14:05:45.000000000 
+0200
+++ new/mpg123-1.25.8/src/libmpg123/parse.c     2017-11-30 09:10:25.000000000 
+0100
@@ -889,26 +889,7 @@
 
 double compute_bpf(mpg123_handle *fr)
 {
-       double bpf;
-
-       switch(fr->lay) 
-       {
-               case 1:
-                       bpf = tabsel_123[fr->lsf][0][fr->bitrate_index];
-                       bpf *= 12000.0 * 4.0;
-                       bpf /= freqs[fr->sampling_frequency] <<(fr->lsf);
-               break;
-               case 2:
-               case 3:
-                       bpf = tabsel_123[fr->lsf][fr->lay-1][fr->bitrate_index];
-                       bpf *= 144000;
-                       bpf /= freqs[fr->sampling_frequency] << (fr->lsf);
-               break;
-               default:
-                       bpf = 1.0;
-       }
-
-       return bpf;
+       return (fr->framesize > 0) ? fr->framesize + 4.0 : 1.0;
 }
 
 int attribute_align_arg mpg123_spf(mpg123_handle *mh)



Reply via email to