Hello community, here is the log from the commit of package libdvdnav for openSUSE:Factory checked in at 2019-10-22 15:39:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdvdnav (Old) and /work/SRC/openSUSE:Factory/.libdvdnav.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdvdnav" Tue Oct 22 15:39:07 2019 rev:29 rq:740895 version:6.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libdvdnav/libdvdnav.changes 2019-08-16 15:31:27.877946748 +0200 +++ /work/SRC/openSUSE:Factory/.libdvdnav.new.2352/libdvdnav.changes 2019-10-22 15:39:08.789285957 +0200 @@ -1,0 +2,9 @@ +Thu Oct 17 16:25:19 UTC 2019 - [email protected] + +- Update to version 6.0.1: + * improve random playback mode, to work-around broken discs + * fix divide-by-zerop issue in tmap search + * fix pthread on OS/2 +- Removed gpg signature (not available) + +------------------------------------------------------------------- Old: ---- libdvdnav-6.0.0.tar.bz2 libdvdnav-6.0.0.tar.bz2.asc New: ---- libdvdnav-6.0.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdvdnav.spec ++++++ --- /var/tmp/diff_new_pack.BTrIF6/_old 2019-10-22 15:39:09.325286568 +0200 +++ /var/tmp/diff_new_pack.BTrIF6/_new 2019-10-22 15:39:09.329286573 +0200 @@ -18,17 +18,17 @@ %define libname libdvdnav4 Name: libdvdnav -Version: 6.0.0 +Version: 6.0.1 Release: 0 Summary: DVD Navigation Library License: GPL-2.0-or-later Group: Productivity/Multimedia/Other URL: https://www.videolan.org/developers/libdvdnav.html Source0: http://download.videolan.org/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2 -Source1: http://download.videolan.org/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2.asc +#Source1: http://download.videolan.org/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2.asc Source1000: baselibs.conf Patch0: libdvdnav-dvdread.patch -BuildRequires: libdvdread-devel >= 5.0.3 +BuildRequires: pkgconfig(dvdread) >= 6.0.0 BuildRequires: libtool BuildRequires: pkgconfig ++++++ libdvdnav-6.0.0.tar.bz2 -> libdvdnav-6.0.1.tar.bz2 ++++++ ++++ 3725 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/libdvdnav-6.0.0/ChangeLog new/libdvdnav-6.0.1/ChangeLog --- old/libdvdnav-6.0.0/ChangeLog 2018-01-18 10:16:25.000000000 +0100 +++ new/libdvdnav-6.0.1/ChangeLog 2019-09-01 16:45:28.000000000 +0200 @@ -1,8 +1,13 @@ +libdvdnav (6.0.1) + * improve random playback mode, to work-around broken discs + * fix divide-by-zerop issue in tmap search + * fix pthread on OS/2 + libdvdnav (6.0.0) * fix crashes on some DVD on describe_title call * fix various crashes related to PGC validity * fix compilation issues - * fix API return codes + * fix API return codes (and bump release) libdvdnav (5.0.3) * added dvdnav_open_stream to read from external read/seek callbacks 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/libdvdnav-6.0.0/compile new/libdvdnav-6.0.1/compile --- old/libdvdnav-6.0.0/compile 2018-01-18 10:28:55.000000000 +0100 +++ new/libdvdnav-6.0.1/compile 2019-09-01 16:46:39.000000000 +0200 @@ -1,9 +1,9 @@ #! /bin/sh # Wrapper for compilers which do not understand '-c -o'. -scriptversion=2012-10-14.11; # UTC +scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2014 Free Software Foundation, Inc. +# Copyright (C) 1999-2018 Free Software Foundation, Inc. # Written by Tom Tromey <[email protected]>. # # This program is free software; you can redistribute it and/or modify @@ -17,7 +17,7 @@ # GNU General 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/>. +# along with this program. If not, see <https://www.gnu.org/licenses/>. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -255,7 +255,8 @@ echo "compile $scriptversion" exit $? ;; - cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ + icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac @@ -339,9 +340,9 @@ # Local Variables: # mode: shell-script # sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: 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/libdvdnav-6.0.0/configure.ac new/libdvdnav-6.0.1/configure.ac --- old/libdvdnav-6.0.0/configure.ac 2018-01-18 10:16:04.000000000 +0100 +++ new/libdvdnav-6.0.1/configure.ac 2019-09-01 16:45:40.000000000 +0200 @@ -5,7 +5,7 @@ dnl -------------------------------------------------------------- m4_define([dvdnav_major], [6]) m4_define([dvdnav_minor], [0]) -m4_define([dvdnav_sub], [0]) +m4_define([dvdnav_sub], [1]) m4_define([dvdnav_pre], []) AC_INIT([libdvdnav], [dvdnav_major.dvdnav_minor.dvdnav_sub[]dvdnav_pre]) @@ -72,9 +72,6 @@ AS_CASE([$host], [*mingw32* | *cygwin*], [AC_CHECK_FUNCS(gettimeofday)]) -AS_CASE([$host], - [*os2*], [LDFLAGS="$LDFLAGS -no-undefined"]) - dnl --------------------------------------------- dnl threads dnl --------------------------------------------- @@ -97,7 +94,7 @@ AC_SUBST(THREAD_LIBS) AC_SUBST(THREAD_CFLAGS) -PKG_CHECK_MODULES([DVDREAD], [dvdread >= 5.0.3]) +PKG_CHECK_MODULES([DVDREAD], [dvdread >= 6.0.0]) dnl --------------------------------------------- dnl Check for bitfield compiler flag @@ -113,6 +110,14 @@ AC_CHECK_PROG(DOXYGEN, doxygen, doxygen, no) dnl --------------------------------------------- +dnl -no-undefined libtool flag +dnl +dnl This should be after all checks +dnl --------------------------------------------- +AS_CASE([$host_os], + [os2*], [LDFLAGS="$LDFLAGS -no-undefined"]) + +dnl --------------------------------------------- dnl Output configuration files dnl --------------------------------------------- AC_OUTPUT([ 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/libdvdnav-6.0.0/m4/libtool.m4 new/libdvdnav-6.0.1/m4/libtool.m4 --- old/libdvdnav-6.0.0/m4/libtool.m4 2018-01-18 10:28:52.000000000 +0100 +++ new/libdvdnav-6.0.1/m4/libtool.m4 2019-09-01 16:46:37.000000000 +0200 @@ -4063,7 +4063,8 @@ if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. nlist=conftest.nm - if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then + $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&AS_MESSAGE_LOG_FD + if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" @@ -4703,6 +4704,12 @@ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; + # flang / f18. f95 an alias for gfortran or flang on Debian + flang* | f18* | f95*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) @@ -6438,7 +6445,7 @@ # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' else GXX=no @@ -6813,7 +6820,7 @@ # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then @@ -6878,7 +6885,7 @@ # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then @@ -7217,7 +7224,7 @@ # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' else # FIXME: insert proper C++ library support @@ -7301,7 +7308,7 @@ # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' else # g++ 2.7 appears to require '-G' NOT '-shared' on this # platform. @@ -7312,7 +7319,7 @@ # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir' 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/libdvdnav-6.0.0/missing new/libdvdnav-6.0.1/missing --- old/libdvdnav-6.0.0/missing 2018-01-18 10:28:55.000000000 +0100 +++ new/libdvdnav-6.0.1/missing 2019-09-01 16:46:39.000000000 +0200 @@ -1,9 +1,9 @@ #! /bin/sh # Common wrapper for a few potentially missing GNU programs. -scriptversion=2013-10-28.13; # UTC +scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1996-2014 Free Software Foundation, Inc. +# Copyright (C) 1996-2018 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard <[email protected]>, 1996. # This program is free software; you can redistribute it and/or modify @@ -17,7 +17,7 @@ # GNU General 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/>. +# along with this program. If not, see <https://www.gnu.org/licenses/>. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -101,9 +101,9 @@ exit $st fi -perl_URL=http://www.perl.org/ -flex_URL=http://flex.sourceforge.net/ -gnu_software_URL=http://www.gnu.org/software +perl_URL=https://www.perl.org/ +flex_URL=https://github.com/westes/flex +gnu_software_URL=https://www.gnu.org/software program_details () { @@ -207,9 +207,9 @@ exit $st # Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: 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/libdvdnav-6.0.0/src/searching.c new/libdvdnav-6.0.1/src/searching.c --- old/libdvdnav-6.0.0/src/searching.c 2015-09-01 18:54:13.000000000 +0200 +++ new/libdvdnav-6.0.1/src/searching.c 2019-09-01 16:43:19.000000000 +0200 @@ -1094,8 +1094,14 @@ } /* calc position of cell relative to lo */ - vobu_pct = ((pos->vobu_idx - lo->vobu_idx) * 1000) - / ( hi->vobu_idx - lo->vobu_idx); + if (hi->vobu_idx == lo->vobu_idx) { + /* We are at the very end - pos should also equal lo so force that + * rather than hit the divide-by-zero. */ + vobu_pct = 0; + } else { + vobu_pct = ((pos->vobu_idx - lo->vobu_idx) * 1000) + / ( hi->vobu_idx - lo->vobu_idx); + } if (vobu_pct < 0 || vobu_pct > 1000) { fprintf(MSG_OUT, "vobu_pct must be between 0 and 1000"); return 0; 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/libdvdnav-6.0.0/src/vm/play.c new/libdvdnav-6.0.1/src/vm/play.c --- old/libdvdnav-6.0.0/src/vm/play.c 2018-01-14 10:49:08.000000000 +0100 +++ new/libdvdnav-6.0.1/src/vm/play.c 2019-09-01 16:43:19.000000000 +0200 @@ -63,6 +63,21 @@ (vm->state).cellN = 0; (vm->state).blockN = 0; + /* Handle random playback mode by choosing our initial program + * number randomly - some discs end up jumping to nowhere if you + * always choose the first cell. + */ + if ((vm->state).pgc->pg_playback_mode!=0 && + ((vm->state).pgc->pg_playback_mode & 0x80)==0) { + int pgCnt = ((vm->state).pgc->pg_playback_mode & 0x7f) + 1; + if (pgCnt > (vm->state).pgc->nr_of_programs) { + pgCnt = (vm->state).pgc->nr_of_programs; + } + if (pgCnt>1) { + (vm->state).pgN = 1 + ((int) ((float) pgCnt * rand()/(RAND_MAX+1.0))); + } + } + /* eval -> updates the state and returns either - some kind of jump (Jump(TT/SS/VTS_TTN/CallSS/link C/PG/PGC/PTTN) - just play video i.e first PG ++++++ libdvdnav-dvdread.patch ++++++ --- /var/tmp/diff_new_pack.BTrIF6/_old 2019-10-22 15:39:09.697286992 +0200 +++ /var/tmp/diff_new_pack.BTrIF6/_new 2019-10-22 15:39:09.697286992 +0200 @@ -9,6 +9,6 @@ Version: @VERSION@ -Requires.private: dvdread >= 4.1.2 -+Requires.private: dvdread >= 5.0.2 ++Requires.private: dvdread >= 6.0.0 Cflags: -I${includedir} @THREAD_CFLAGS@ Libs: -L${libdir} -ldvdnav @THREAD_LIBS@
