Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libbluray for openSUSE:Factory 
checked in at 2022-04-13 21:04:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libbluray (Old)
 and      /work/SRC/openSUSE:Factory/.libbluray.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libbluray"

Wed Apr 13 21:04:25 2022 rev:43 rq:969231 version:1.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libbluray/libbluray.changes      2021-05-07 
16:45:52.552263637 +0200
+++ /work/SRC/openSUSE:Factory/.libbluray.new.1900/libbluray.changes    
2022-04-13 21:04:52.380560780 +0200
@@ -1,0 +2,9 @@
+Sat Apr  9 11:37:54 UTC 2022 - Dirk M??ller <[email protected]>
+
+- update to 1.3.1:
+  * Add support for Java 13 ... 16.
+  * Improve JVM probing in Windows.
+  * Fix playback issues with some discs when using recent libbdplus.
+  * Fix loading dlopen'd libraries on OpenBSD.
+
+-------------------------------------------------------------------

Old:
----
  libbluray-1.3.0.tar.bz2

New:
----
  libbluray-1.3.1.tar.bz2

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

Other differences:
------------------
++++++ libbluray.spec ++++++
--- /var/tmp/diff_new_pack.BLbz23/_old  2022-04-13 21:04:54.244562271 +0200
+++ /var/tmp/diff_new_pack.BLbz23/_new  2022-04-13 21:04:54.248562274 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libbluray
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands
 #
 # All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
 
 %define         sover 2
 Name:           libbluray
-Version:        1.3.0
+Version:        1.3.1
 Release:        0
 Summary:        Library to access Blu-Ray disk
 License:        LGPL-2.1-or-later

++++++ libbluray-1.3.0.tar.bz2 -> libbluray-1.3.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/ChangeLog 
new/libbluray-1.3.1/ChangeLog
--- old/libbluray-1.3.0/ChangeLog       2021-04-05 16:12:22.000000000 +0200
+++ new/libbluray-1.3.1/ChangeLog       2022-03-03 18:05:27.000000000 +0100
@@ -1,3 +1,9 @@
+2022-03-03: Version 1.3.1
+- Add support for Java 13 ... 16.
+- Improve JVM probing in Windows.
+- Fix playback issues with some discs when using recent libbdplus.
+- Fix loading dlopen'd libraries on OpenBSD.
+
 2021-04-05: Version 1.3.0
 - Add bd_event_name().
 - Add return value to bd_refcnt_inc().
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/Makefile.am 
new/libbluray-1.3.1/Makefile.am
--- old/libbluray-1.3.0/Makefile.am     2021-04-05 16:12:22.000000000 +0200
+++ new/libbluray-1.3.1/Makefile.am     2022-03-03 18:05:27.000000000 +0100
@@ -12,7 +12,7 @@
        COPYING \
        doc \
        player_wrappers \
-       README.txt \
+       README.md \
        src/libbluray/bdj/build.xml \
        src/libbluray/bdj/java \
        src/libbluray/bdj/java-build-support \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/Makefile.in 
new/libbluray-1.3.1/Makefile.in
--- old/libbluray-1.3.0/Makefile.in     2021-04-05 16:13:12.000000000 +0200
+++ new/libbluray-1.3.1/Makefile.in     2022-03-03 18:45:28.000000000 +0100
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.16.2 from Makefile.am.
+# Makefile.in generated by automake 1.16.4 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994-2020 Free Software Foundation, Inc.
+# Copyright (C) 1994-2021 Free Software Foundation, Inc.
 
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -620,9 +620,6 @@
   unique=`for i in $$list; do \
     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
   done | $(am__uniquify_input)`
-ETAGS = etags
-CTAGS = ctags
-CSCOPE = cscope
 AM_RECURSIVE_TARGETS = cscope
 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
        $(top_srcdir)/build-aux/ar-lib $(top_srcdir)/build-aux/compile \
@@ -635,7 +632,7 @@
        $(top_srcdir)/doxygen-include.am \
        $(top_srcdir)/src/libbluray.pc.in \
        $(top_srcdir)/src/libbluray/bluray-version.h.in COPYING \
-       ChangeLog build-aux/ar-lib build-aux/compile \
+       ChangeLog README.md build-aux/ar-lib build-aux/compile \
        build-aux/config.guess build-aux/config.sub build-aux/depcomp \
        build-aux/install-sh build-aux/ltmain.sh build-aux/missing
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -651,6 +648,8 @@
 GZIP_ENV = --best
 DIST_ARCHIVES = $(distdir).tar.bz2
 DIST_TARGETS = dist-bzip2
+# Exists only to be overridden by the user if desired.
+AM_DISTCHECK_DVI_TARGET = dvi
 distuninstallcheck_listfiles = find . -type f -print
 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
   | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
@@ -674,6 +673,8 @@
 CFLAGS = @CFLAGS@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
 CYGPATH_W = @CYGPATH_W@
 DEFS = @DEFS@
 DEPDIR = @DEPDIR@
@@ -709,6 +710,7 @@
 ECHO_N = @ECHO_N@
 ECHO_T = @ECHO_T@
 EGREP = @EGREP@
+ETAGS = @ETAGS@
 EXEEXT = @EXEEXT@
 EXTRA_LIBS = @EXTRA_LIBS@
 FGREP = @FGREP@
@@ -843,7 +845,7 @@
        COPYING \
        doc \
        player_wrappers \
-       README.txt \
+       README.md \
        src/libbluray/bdj/build.xml \
        src/libbluray/bdj/java \
        src/libbluray/bdj/java-build-support \
@@ -2322,7 +2324,6 @@
 distclean-tags:
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
        -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
-
 distdir: $(BUILT_SOURCES)
        $(MAKE) $(AM_MAKEFLAGS) distdir-am
 
@@ -2443,7 +2444,7 @@
            $(DISTCHECK_CONFIGURE_FLAGS) \
            --srcdir=../.. --prefix="$$dc_install_base" \
          && $(MAKE) $(AM_MAKEFLAGS) \
-         && $(MAKE) $(AM_MAKEFLAGS) dvi \
+         && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
          && $(MAKE) $(AM_MAKEFLAGS) check \
          && $(MAKE) $(AM_MAKEFLAGS) install \
          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/README.md 
new/libbluray-1.3.1/README.md
--- old/libbluray-1.3.0/README.md       1970-01-01 01:00:00.000000000 +0100
+++ new/libbluray-1.3.1/README.md       2022-03-03 18:05:27.000000000 +0100
@@ -0,0 +1,67 @@
+# Libbluray
+**Libbluray** is an open-source **lib**rary designed for **Blu-Ray** Discs 
playback for media players, like **VLC** or **MPlayer**.
+
+
+
+## Goals and features
+
+This research project is developed by an **international team** of developers 
from **Doom9**.
+
+The library integrates navigation, playlist parsing, menus and BD-J.
+
+Most commercial Blu-Ray are protected by **AACS** or **BD+** technologies and 
this library is not enough to playback those discs.
+
+People interested in AACS technologies should have a look at 
[libaacs](https://code.videolan.org/videolan/libaacs).
+
+People interested in BD+ technologies should have a look at 
[libbdplus](https://code.videolan.org/videolan/libbdplus).
+
+## Licence
+
+**Libbluray** is released under a Free Software license, LGPL, ensuring it 
will stay free.
+A copy of LGPL is available 
[here](https://code.videolan.org/videolan/libbluray/-/blob/master/COPYING)
+
+## CoC
+
+The [VideoLAN Code of Conduct](https://wiki.videolan.org/CoC) applies to this 
project.
+
+## Disclaimer
+
+This library is written for the purpose of playing Blu-ray movies. It is
+intended for software that want to support Blu-ray playback (such as VLC and
+MPlayer). We, the authors of this library, do not condone nor endorse piracy.
+
+This library is simply a tool for playback of Blu-ray movies. Like any tool, 
the
+use of this tool can also be abused. There are already numerous laws in
+different countries and juridictions all over the world that protect 
copyrighted
+material, such as Blu-ray movies. With that said, it would have been
+inappropriate for us to distribute this library with terms such as "you cannot
+use this library for piracy". Instead, we present to everyone this disclaimer.
+
+As a reminder, here is also the disclaimer found at the beginning of any movie
+in relation to copyrights.
+
+## ATTENTION
+
+International agreement and national laws protect copyrighted motion pictures,
+videotapes, and sound recordings.
+
+UNAUTHORIZED REPRODUCTION, EXHIBITION OR DISTRIBUTION OF COPYRIGHTED MOTION
+PICTURES CAN RESULT IN SEVERE CRIMINAL AND CIVIL PENALTIES UNDER THE LAWS OF
+YOUR COUNTRY.
+
+
+The International Criminal Police Organization - INTERPOL, has expressed its
+concern about motion picture and sound recording piracy to all of its member
+national police forces. (Resolution adopted at INTERPOL General Assembly,
+Stockholm, Sweden, September 8, 1977.)
+
+
+## Mailing list
+
+You can discuss about libbluray on the [libbluray-devel mailing 
list](https://mailman.videolan.org/listinfo/libbluray-devel).
+
+## Documentation and support
+
+For support or more informations, look 
[here](https://www.videolan.org/developers/libbluray.html)
+
+All documentation about libbluray is available 
[here](https://videolan.videolan.me/libbluray/)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/README.txt 
new/libbluray-1.3.1/README.txt
--- old/libbluray-1.3.0/README.txt      2021-04-05 16:12:22.000000000 +0200
+++ new/libbluray-1.3.1/README.txt      1970-01-01 01:00:00.000000000 +0100
@@ -1,30 +0,0 @@
-Disclaimer
-----------
-
-This library is written for the purpose of playing Blu-ray movies. It is
-intended for software that want to support Blu-ray playback (such as VLC and
-MPlayer). We, the authors of this library, do not condone nor endorse piracy.
-
-This library is simply a tool for playback of Blu-ray movies. Like any tool, 
the
-use of this tool can also be abused. There are already numerous laws in
-different countries and juridictions all over the world that protect 
copyrighted
-material, such as Blu-ray movies. With that said, it would have been
-inappropriate for us to distribute this library with terms such as "you cannot
-use this library for piracy". Instead, we present to everyone this disclaimer.
-
-As a reminder, here is also the disclaimer found at the beginning of any movie
-in relation to copyrights.
-
-ATTENTION
-
-International agreement and national laws protect copyrighted motion pictures,
-videotapes, and sound recordings.
-
-UNAUTHORIZED REPRODUCTION, EXHIBITION OR DISTRIBUTION OF COPYRIGHTED MOTION
-PICTURES CAN RESULT IN SEVERE CRIMINAL AND CIVIL PENALTIES UNDER THE LAWS OF
-YOUR COUNTRY.
-
-The International Criminal Police Organization - INTERPOL, has expressed its
-concern about motion picture and sound recording piracy to all of its member
-national police forces. (Resolution adopted at INTERPOL General Assembly,
-Stockholm, Sweden, September 8, 1977.)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/aclocal.m4 
new/libbluray-1.3.1/aclocal.m4
--- old/libbluray-1.3.0/aclocal.m4      2021-04-05 16:13:10.000000000 +0200
+++ new/libbluray-1.3.1/aclocal.m4      2022-03-03 18:45:26.000000000 +0100
@@ -1,6 +1,6 @@
-# generated automatically by aclocal 1.16.2 -*- Autoconf -*-
+# generated automatically by aclocal 1.16.4 -*- Autoconf -*-
 
-# Copyright (C) 1996-2020 Free Software Foundation, Inc.
+# Copyright (C) 1996-2021 Free Software Foundation, Inc.
 
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -20,7 +20,7 @@
 If you have problems, you may need to regenerate the build system entirely.
 To do so, use the procedure documented by the package, typically 
'autoreconf'.])])
 
-# Copyright (C) 2002-2020 Free Software Foundation, Inc.
+# Copyright (C) 2002-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -35,7 +35,7 @@
 [am__api_version='1.16'
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 dnl require some minimum version.  Point them to the right macro.
-m4_if([$1], [1.16.2], [],
+m4_if([$1], [1.16.4], [],
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 ])
 
@@ -51,12 +51,12 @@
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.16.2])dnl
+[AM_AUTOMAKE_VERSION([1.16.4])dnl
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
 
-# Copyright (C) 2011-2020 Free Software Foundation, Inc.
+# Copyright (C) 2011-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -118,7 +118,7 @@
 
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
-# Copyright (C) 2001-2020 Free Software Foundation, Inc.
+# Copyright (C) 2001-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -170,7 +170,7 @@
 
 # AM_CONDITIONAL                                            -*- Autoconf -*-
 
-# Copyright (C) 1997-2020 Free Software Foundation, Inc.
+# Copyright (C) 1997-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -201,7 +201,7 @@
 Usually this means the macro was only invoked conditionally.]])
 fi])])
 
-# Copyright (C) 1999-2020 Free Software Foundation, Inc.
+# Copyright (C) 1999-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -392,7 +392,7 @@
 
 # Generate code to set up dependency tracking.              -*- Autoconf -*-
 
-# Copyright (C) 1999-2020 Free Software Foundation, Inc.
+# Copyright (C) 1999-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -460,7 +460,7 @@
 
 # Do all the work for Automake.                             -*- Autoconf -*-
 
-# Copyright (C) 1996-2020 Free Software Foundation, Inc.
+# Copyright (C) 1996-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -524,7 +524,7 @@
 [_AM_SET_OPTIONS([$1])dnl
 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
 m4_if(
-  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
+  m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
   [ok:ok],,
   [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
@@ -576,6 +576,20 @@
                  [m4_define([AC_PROG_OBJCXX],
                             
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
 ])
+# Variables for tags utilities; see am/tags.am
+if test -z "$CTAGS"; then
+  CTAGS=ctags
+fi
+AC_SUBST([CTAGS])
+if test -z "$ETAGS"; then
+  ETAGS=etags
+fi
+AC_SUBST([ETAGS])
+if test -z "$CSCOPE"; then
+  CSCOPE=cscope
+fi
+AC_SUBST([CSCOPE])
+
 AC_REQUIRE([AM_SILENT_RULES])dnl
 dnl The testsuite driver may need to know about EXEEXT, so add the
 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
@@ -657,7 +671,7 @@
 done
 echo "timestamp for $_am_arg" 
>`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
 
-# Copyright (C) 2001-2020 Free Software Foundation, Inc.
+# Copyright (C) 2001-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -678,7 +692,7 @@
 fi
 AC_SUBST([install_sh])])
 
-# Copyright (C) 2003-2020 Free Software Foundation, Inc.
+# Copyright (C) 2003-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -699,7 +713,7 @@
 
 # Check to see how 'make' treats includes.                 -*- Autoconf -*-
 
-# Copyright (C) 2001-2020 Free Software Foundation, Inc.
+# Copyright (C) 2001-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -742,7 +756,7 @@
 
 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
 
-# Copyright (C) 1997-2020 Free Software Foundation, Inc.
+# Copyright (C) 1997-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -763,12 +777,7 @@
 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 AC_REQUIRE_AUX_FILE([missing])dnl
 if test x"${MISSING+set}" != xset; then
-  case $am_aux_dir in
-  *\ * | *\    *)
-    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
-  *)
-    MISSING="\${SHELL} $am_aux_dir/missing" ;;
-  esac
+  MISSING="\${SHELL} '$am_aux_dir/missing'"
 fi
 # Use eval to expand $SHELL
 if eval "$MISSING --is-lightweight"; then
@@ -781,7 +790,7 @@
 
 # Helper functions for option handling.                     -*- Autoconf -*-
 
-# Copyright (C) 2001-2020 Free Software Foundation, Inc.
+# Copyright (C) 2001-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -810,7 +819,7 @@
 AC_DEFUN([_AM_IF_OPTION],
 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
 
-# Copyright (C) 1999-2020 Free Software Foundation, Inc.
+# Copyright (C) 1999-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -857,7 +866,7 @@
 # For backward compatibility.
 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
 
-# Copyright (C) 2001-2020 Free Software Foundation, Inc.
+# Copyright (C) 2001-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -876,7 +885,7 @@
 
 # Check to make sure that the build environment is sane.    -*- Autoconf -*-
 
-# Copyright (C) 1996-2020 Free Software Foundation, Inc.
+# Copyright (C) 1996-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -957,7 +966,7 @@
 rm -f conftest.file
 ])
 
-# Copyright (C) 2009-2020 Free Software Foundation, Inc.
+# Copyright (C) 2009-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -1017,7 +1026,7 @@
 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
 ])
 
-# Copyright (C) 2001-2020 Free Software Foundation, Inc.
+# Copyright (C) 2001-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -1045,7 +1054,7 @@
 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 AC_SUBST([INSTALL_STRIP_PROGRAM])])
 
-# Copyright (C) 2006-2020 Free Software Foundation, Inc.
+# Copyright (C) 2006-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -1064,7 +1073,7 @@
 
 # Check how to create a tarball.                            -*- Autoconf -*-
 
-# Copyright (C) 2004-2020 Free Software Foundation, Inc.
+# Copyright (C) 2004-2021 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/build-aux/ar-lib 
new/libbluray-1.3.1/build-aux/ar-lib
--- old/libbluray-1.3.0/build-aux/ar-lib        2021-04-05 16:13:12.000000000 
+0200
+++ new/libbluray-1.3.1/build-aux/ar-lib        2022-03-03 18:45:28.000000000 
+0100
@@ -4,7 +4,7 @@
 me=ar-lib
 scriptversion=2019-07-04.01; # UTC
 
-# Copyright (C) 2010-2020 Free Software Foundation, Inc.
+# Copyright (C) 2010-2021 Free Software Foundation, Inc.
 # Written by Peter Rosin <[email protected]>.
 #
 # This program is free software; you can redistribute it and/or modify
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/build-aux/compile 
new/libbluray-1.3.1/build-aux/compile
--- old/libbluray-1.3.0/build-aux/compile       2021-04-05 16:13:12.000000000 
+0200
+++ new/libbluray-1.3.1/build-aux/compile       2022-03-03 18:45:28.000000000 
+0100
@@ -3,7 +3,7 @@
 
 scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1999-2020 Free Software Foundation, Inc.
+# Copyright (C) 1999-2021 Free Software Foundation, Inc.
 # Written by Tom Tromey <[email protected]>.
 #
 # This program is free software; you can redistribute it and/or modify
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/build-aux/depcomp 
new/libbluray-1.3.1/build-aux/depcomp
--- old/libbluray-1.3.0/build-aux/depcomp       2021-04-05 16:13:12.000000000 
+0200
+++ new/libbluray-1.3.1/build-aux/depcomp       2022-03-03 18:45:28.000000000 
+0100
@@ -3,7 +3,7 @@
 
 scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1999-2020 Free Software Foundation, Inc.
+# Copyright (C) 1999-2021 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/build-aux/install-sh 
new/libbluray-1.3.1/build-aux/install-sh
--- old/libbluray-1.3.0/build-aux/install-sh    2021-04-05 16:13:12.000000000 
+0200
+++ new/libbluray-1.3.1/build-aux/install-sh    2022-03-03 18:45:28.000000000 
+0100
@@ -1,7 +1,7 @@
 #!/bin/sh
 # install - install a program, script, or datafile
 
-scriptversion=2018-03-11.20; # UTC
+scriptversion=2020-11-14.01; # UTC
 
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
 # later released in X11R6 (xc/config/util/install.sh) with the
@@ -69,6 +69,11 @@
 # Desired mode of installed file.
 mode=0755
 
+# Create dirs (including intermediate dirs) using mode 755.
+# This is like GNU 'install' as of coreutils 8.32 (2020).
+mkdir_umask=22
+
+backupsuffix=
 chgrpcmd=
 chmodcmd=$chmodprog
 chowncmd=
@@ -99,18 +104,28 @@
      --version  display version info and exit.
 
   -c            (ignored)
-  -C            install only if different (preserve the last data modification 
time)
+  -C            install only if different (preserve data modification time)
   -d            create directories instead of installing files.
   -g GROUP      $chgrpprog installed files to GROUP.
   -m MODE       $chmodprog installed files to MODE.
   -o USER       $chownprog installed files to USER.
+  -p            pass -p to $cpprog.
   -s            $stripprog installed files.
+  -S SUFFIX     attempt to back up existing files, with suffix SUFFIX.
   -t DIRECTORY  install into DIRECTORY.
   -T            report an error if DSTFILE is a directory.
 
 Environment variables override the default commands:
   CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
   RMPROG STRIPPROG
+
+By default, rm is invoked with -f; when overridden with RMPROG,
+it's up to you to specify -f if you want it.
+
+If -S is not specified, no backups are attempted.
+
+Email bug reports to [email protected].
+Automake home page: https://www.gnu.org/software/automake/
 "
 
 while test $# -ne 0; do
@@ -137,8 +152,13 @@
     -o) chowncmd="$chownprog $2"
         shift;;
 
+    -p) cpprog="$cpprog -p";;
+
     -s) stripcmd=$stripprog;;
 
+    -S) backupsuffix="$2"
+        shift;;
+
     -t)
         is_target_a_directory=always
         dst_arg=$2
@@ -255,6 +275,10 @@
     dstdir=$dst
     test -d "$dstdir"
     dstdir_status=$?
+    # Don't chown directories that already exist.
+    if test $dstdir_status = 0; then
+      chowncmd=""
+    fi
   else
 
     # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
@@ -301,22 +325,6 @@
   if test $dstdir_status != 0; then
     case $posix_mkdir in
       '')
-        # Create intermediate dirs using mode 755 as modified by the umask.
-        # This is like FreeBSD 'install' as of 1997-10-28.
-        umask=`umask`
-        case $stripcmd.$umask in
-          # Optimize common cases.
-          *[2367][2367]) mkdir_umask=$umask;;
-          .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
-
-          *[0-7])
-            mkdir_umask=`expr $umask + 22 \
-              - $umask % 100 % 40 + $umask % 20 \
-              - $umask % 10 % 4 + $umask % 2
-            `;;
-          *) mkdir_umask=$umask,go-w;;
-        esac
-
         # With -d, create the new directory with the user-specified mode.
         # Otherwise, rely on $mkdir_umask.
         if test -n "$dir_arg"; then
@@ -326,52 +334,49 @@
         fi
 
         posix_mkdir=false
-        case $umask in
-          *[123567][0-7][0-7])
-            # POSIX mkdir -p sets u+wx bits regardless of umask, which
-            # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
-            ;;
-          *)
-            # Note that $RANDOM variable is not portable (e.g. dash);  Use it
-            # here however when possible just to lower collision chance.
-            tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
-
-            trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 
2>/dev/null; exit $ret' 0
-
-            # Because "mkdir -p" follows existing symlinks and we likely work
-            # directly in world-writeable /tmp, make sure that the '$tmpdir'
-            # directory is successfully created first before we actually test
-            # 'mkdir -p' feature.
-            if (umask $mkdir_umask &&
-                $mkdirprog $mkdir_mode "$tmpdir" &&
-                exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 
2>&1
-            then
-              if test -z "$dir_arg" || {
-                   # Check for POSIX incompatibilities with -m.
-                   # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
-                   # other-writable bit of parent directory when it shouldn't.
-                   # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
-                   test_tmpdir="$tmpdir/a"
-                   ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
-                   case $ls_ld_tmpdir in
-                     d????-?r-*) different_mode=700;;
-                     d????-?--*) different_mode=755;;
-                     *) false;;
-                   esac &&
-                   $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
-                     ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
-                     test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
-                   }
-                 }
-              then posix_mkdir=:
-              fi
-              rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
-            else
-              # Remove any dirs left behind by ancient mkdir implementations.
-              rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
-            fi
-            trap '' 0;;
-        esac;;
+       # The $RANDOM variable is not portable (e.g., dash).  Use it
+       # here however when possible just to lower collision chance.
+       tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
+
+       trap '
+         ret=$?
+         rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null
+         exit $ret
+       ' 0
+
+       # Because "mkdir -p" follows existing symlinks and we likely work
+       # directly in world-writeable /tmp, make sure that the '$tmpdir'
+       # directory is successfully created first before we actually test
+       # 'mkdir -p'.
+       if (umask $mkdir_umask &&
+           $mkdirprog $mkdir_mode "$tmpdir" &&
+           exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
+       then
+         if test -z "$dir_arg" || {
+              # Check for POSIX incompatibilities with -m.
+              # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
+              # other-writable bit of parent directory when it shouldn't.
+              # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
+              test_tmpdir="$tmpdir/a"
+              ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
+              case $ls_ld_tmpdir in
+                d????-?r-*) different_mode=700;;
+                d????-?--*) different_mode=755;;
+                *) false;;
+              esac &&
+              $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
+                ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
+                test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
+              }
+            }
+         then posix_mkdir=:
+         fi
+         rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
+       else
+         # Remove any dirs left behind by ancient mkdir implementations.
+         rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
+       fi
+       trap '' 0;;
     esac
 
     if
@@ -382,7 +387,7 @@
     then :
     else
 
-      # The umask is ridiculous, or mkdir does not conform to POSIX,
+      # mkdir does not conform to POSIX,
       # or it failed possibly due to a race condition.  Create the
       # directory the slow way, step by step, checking for races as we go.
 
@@ -411,7 +416,7 @@
           prefixes=
         else
           if $posix_mkdir; then
-            (umask=$mkdir_umask &&
+            (umask $mkdir_umask &&
              $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
             # Don't fail if two instances are running concurrently.
             test -d "$prefix" || exit 1
@@ -488,6 +493,13 @@
     then
       rm -f "$dsttmp"
     else
+      # If $backupsuffix is set, and the file being installed
+      # already exists, attempt a backup.  Don't worry if it fails,
+      # e.g., if mv doesn't support -f.
+      if test -n "$backupsuffix" && test -f "$dst"; then
+        $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
+      fi
+
       # Rename the file to the real destination.
       $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
 
@@ -502,9 +514,9 @@
         # file should still install successfully.
         {
           test ! -f "$dst" ||
-          $doit $rmcmd -f "$dst" 2>/dev/null ||
+          $doit $rmcmd "$dst" 2>/dev/null ||
           { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
-            { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
+            { $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
           } ||
           { echo "$0: cannot unlink or rename $dst" >&2
             (exit 1); exit 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/build-aux/ltmain.sh 
new/libbluray-1.3.1/build-aux/ltmain.sh
--- old/libbluray-1.3.0/build-aux/ltmain.sh     2021-04-05 16:13:07.000000000 
+0200
+++ new/libbluray-1.3.1/build-aux/ltmain.sh     2022-03-03 18:45:24.000000000 
+0100
@@ -31,7 +31,7 @@
 
 PROGRAM=libtool
 PACKAGE=libtool
-VERSION="2.4.6 Debian-2.4.6-14"
+VERSION="2.4.6 Debian-2.4.6-15"
 package_revision=2.4.6
 
 
@@ -2141,7 +2141,7 @@
        compiler:       $LTCC
        compiler flags: $LTCFLAGS
        linker:         $LD (gnu? $with_gnu_ld)
-       version:        $progname $scriptversion Debian-2.4.6-14
+       version:        $progname $scriptversion Debian-2.4.6-15
        automake:       `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
        autoconf:       `($AUTOCONF --version) 2>/dev/null |$SED 1q`
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/build-aux/missing 
new/libbluray-1.3.1/build-aux/missing
--- old/libbluray-1.3.0/build-aux/missing       2021-04-05 16:13:12.000000000 
+0200
+++ new/libbluray-1.3.1/build-aux/missing       2022-03-03 18:45:28.000000000 
+0100
@@ -3,7 +3,7 @@
 
 scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1996-2020 Free Software Foundation, Inc.
+# Copyright (C) 1996-2021 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/configure 
new/libbluray-1.3.1/configure
--- old/libbluray-1.3.0/configure       2021-04-05 16:13:11.000000000 +0200
+++ new/libbluray-1.3.1/configure       2022-03-03 18:45:27.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libbluray 1.3.0.
+# Generated by GNU Autoconf 2.69 for libbluray 1.3.1.
 #
 # Report bugs to <http://www.videolan.org/developers/libbluray.html>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='libbluray'
 PACKAGE_TARNAME='libbluray'
-PACKAGE_VERSION='1.3.0'
-PACKAGE_STRING='libbluray 1.3.0'
+PACKAGE_VERSION='1.3.1'
+PACKAGE_STRING='libbluray 1.3.1'
 PACKAGE_BUGREPORT='http://www.videolan.org/developers/libbluray.html'
 PACKAGE_URL=''
 
@@ -764,6 +764,9 @@
 AM_DEFAULT_VERBOSITY
 AM_DEFAULT_V
 AM_V
+CSCOPE
+ETAGS
+CTAGS
 am__untar
 am__tar
 AMTAR
@@ -1444,7 +1447,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 libbluray 1.3.0 to adapt to many kinds of systems.
+\`configure' configures libbluray 1.3.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1515,7 +1518,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libbluray 1.3.0:";;
+     short | recursive ) echo "Configuration of libbluray 1.3.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1678,7 +1681,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libbluray configure 1.3.0
+libbluray configure 1.3.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2104,7 +2107,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libbluray $as_me 1.3.0, which was
+It was created by libbluray $as_me 1.3.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2729,12 +2732,7 @@
 am_aux_dir=`cd "$ac_aux_dir" && pwd`
 
 if test x"${MISSING+set}" != xset; then
-  case $am_aux_dir in
-  *\ * | *\    *)
-    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
-  *)
-    MISSING="\${SHELL} $am_aux_dir/missing" ;;
-  esac
+  MISSING="\${SHELL} '$am_aux_dir/missing'"
 fi
 # Use eval to expand $SHELL
 if eval "$MISSING --is-lightweight"; then
@@ -3039,7 +3037,7 @@
 
 # Define the identity of the package.
  PACKAGE='libbluray'
- VERSION='1.3.0'
+ VERSION='1.3.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3205,6 +3203,20 @@
 
 
 
+# Variables for tags utilities; see am/tags.am
+if test -z "$CTAGS"; then
+  CTAGS=ctags
+fi
+
+if test -z "$ETAGS"; then
+  ETAGS=etags
+fi
+
+if test -z "$CSCOPE"; then
+  CSCOPE=cscope
+fi
+
+
 
 # POSIX will say in a future version that running "rm -f" with no argument
 # is OK; and we want to be able to make that assumption in our Makefile
@@ -7997,11 +8009,11 @@
       # to the OS version, if on x86, and 10.4, the deployment
       # target defaults to 10.4. Don't you love it?
       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
-       10.0,*86*-darwin8*|10.0,*-darwin[91]*)
+       10.0,*86*-darwin8*|10.0,*-darwin[912]*)
          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
        10.[012][,.]*)
          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined 
${wl}suppress' ;;
-       10.*)
+       10.*|11.*)
          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
       esac
     ;;
@@ -16331,10 +16343,10 @@
 
 BLURAY_VERSION_MINOR=3
 
-BLURAY_VERSION_MICRO=0
+BLURAY_VERSION_MICRO=1
 
 
-LT_VERSION_INFO="6:0:4"
+LT_VERSION_INFO="6:1:4"
 
 
 
@@ -16990,7 +17002,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libbluray $as_me 1.3.0, which was
+This file was extended by libbluray $as_me 1.3.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17056,7 +17068,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-libbluray config.status 1.3.0
+libbluray config.status 1.3.1
 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/libbluray-1.3.0/configure.ac 
new/libbluray-1.3.1/configure.ac
--- old/libbluray-1.3.0/configure.ac    2021-04-05 16:12:22.000000000 +0200
+++ new/libbluray-1.3.1/configure.ac    2022-03-03 18:05:27.000000000 +0100
@@ -1,7 +1,7 @@
 dnl library version number
 m4_define([bluray_major], 1)
 m4_define([bluray_minor], 3)
-m4_define([bluray_micro], 0)
+m4_define([bluray_micro], 1)
 m4_define([bluray_version],[bluray_major.bluray_minor.bluray_micro])
 
 dnl shared library version (.so version)
@@ -13,7 +13,7 @@
 dnl Library file name will be libbluray.so.(current-age).age.revision
 dnl
 m4_define([lt_current],  6)
-m4_define([lt_revision], 0)
+m4_define([lt_revision], 1)
 m4_define([lt_age],      4)
 
 dnl initilization
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/m4/libtool.m4 
new/libbluray-1.3.1/m4/libtool.m4
--- old/libbluray-1.3.0/m4/libtool.m4   2021-04-05 16:13:07.000000000 +0200
+++ new/libbluray-1.3.1/m4/libtool.m4   2022-03-03 18:45:24.000000000 +0100
@@ -1071,11 +1071,11 @@
       # to the OS version, if on x86, and 10.4, the deployment
       # target defaults to 10.4. Don't you love it?
       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
-       10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
+       10.0,*86*-darwin8*|10.0,*-darwin[[912]]*)
          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
        10.[[012]][[,.]]*)
          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined 
${wl}suppress' ;;
-       10.*)
+       10.*|11.*)
          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
       esac
     ;;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/src/devtools/bdj_test.c 
new/libbluray-1.3.1/src/devtools/bdj_test.c
--- old/libbluray-1.3.0/src/devtools/bdj_test.c 2021-04-05 16:12:22.000000000 
+0200
+++ new/libbluray-1.3.1/src/devtools/bdj_test.c 2022-03-03 18:05:27.000000000 
+0100
@@ -91,6 +91,15 @@
       return -1;
     }
 
+    /* Check for special titles */
+
+    if (!di->first_play_supported) {
+        printf("FirstPlay title not supported\n");
+    }
+    if (!di->top_menu_supported) {
+        printf("TopMenu title not supported\n");
+    }
+
     bd_get_titles(bd, TITLES_ALL, 0);
 
     if (!bd_start_bdj(bd, argv[2])) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/src/file/dl_posix.c 
new/libbluray-1.3.1/src/file/dl_posix.c
--- old/libbluray-1.3.0/src/file/dl_posix.c     2021-04-05 16:12:22.000000000 
+0200
+++ new/libbluray-1.3.1/src/file/dl_posix.c     2022-03-03 18:05:27.000000000 
+0100
@@ -85,11 +85,15 @@
 #endif
 
     for (i = 0 ; search_paths[i] ; ++i) {
+#ifdef __OpenBSD__
+        name = str_printf("%s%s%s", search_paths[i], path, ext);
+#else
         if (version) {
             name = str_printf("%s%s%s.%s", search_paths[i], path, ext, 
version);
         } else {
             name = str_printf("%s%s%s", search_paths[i], path, ext);
         }
+#endif
 
         if (!name) {
             BD_DEBUG(DBG_FILE | DBG_CRIT, "out of memory\n");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/src/libbluray/bdj/bdj.c 
new/libbluray-1.3.1/src/libbluray/bdj/bdj.c
--- old/libbluray-1.3.0/src/libbluray/bdj/bdj.c 2021-04-05 16:12:22.000000000 
+0200
+++ new/libbluray-1.3.1/src/libbluray/bdj/bdj.c 2022-03-03 18:05:27.000000000 
+0100
@@ -128,6 +128,10 @@
         wcscpy(buf_loc, L"SOFTWARE\\JavaSoft\\JRE\\");
         r = RegOpenKeyExW(HKEY_LOCAL_MACHINE, buf_loc, 0, KEY_READ, &hkey);
     }
+    if (r != ERROR_SUCCESS) {
+        wcscpy(buf_loc, L"SOFTWARE\\JavaSoft\\JDK\\");
+        r = RegOpenKeyExW(HKEY_LOCAL_MACHINE, buf_loc, 0, KEY_READ, &hkey);
+    }
 # endif
     if (r != ERROR_SUCCESS) {
         BD_DEBUG(DBG_BDJ | DBG_CRIT, "Error opening registry key 
SOFTWARE\\JavaSoft\\Java Runtime Environment\\\n");
@@ -406,11 +410,10 @@
                                             "/usr/lib/jvm/default",
                                             "/usr/lib/jvm/",
                                             
"/etc/java-config-2/current-system-vm",
-                                            "/usr/lib/jvm/java-7-openjdk",
-                                            "/usr/lib/jvm/java-7-openjdk-" 
JAVA_ARCH,
                                             "/usr/lib/jvm/java-8-openjdk",
                                             "/usr/lib/jvm/java-8-openjdk-" 
JAVA_ARCH,
-                                            "/usr/lib/jvm/java-6-openjdk",
+                                            "/usr/lib/jvm/java-11-openjdk",
+                                            "/usr/lib/jvm/java-11-openjdk-" 
JAVA_ARCH,
 #    endif
     };
     static const char * const jvm_dir[]  = {"jre/lib/" JAVA_ARCH "/server",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libbluray-1.3.0/src/libbluray/bdj/java/java/awt/BDGraphicsEnvironment.java 
new/libbluray-1.3.1/src/libbluray/bdj/java/java/awt/BDGraphicsEnvironment.java
--- 
old/libbluray-1.3.0/src/libbluray/bdj/java/java/awt/BDGraphicsEnvironment.java  
    2021-04-05 16:12:22.000000000 +0200
+++ 
new/libbluray-1.3.1/src/libbluray/bdj/java/java/awt/BDGraphicsEnvironment.java  
    2022-03-03 18:05:27.000000000 +0100
@@ -24,7 +24,7 @@
 
 import org.videolan.Logger;
 
-class BDGraphicsEnvironment extends GraphicsEnvironment {
+public class BDGraphicsEnvironment extends GraphicsEnvironment {
     private BDGraphicsDevice graphicsDevice;
 
     public BDGraphicsEnvironment() {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libbluray-1.3.0/src/libbluray/bdj/java/org/videolan/Logger.java 
new/libbluray-1.3.1/src/libbluray/bdj/java/org/videolan/Logger.java
--- old/libbluray-1.3.0/src/libbluray/bdj/java/org/videolan/Logger.java 
2021-04-05 16:12:22.000000000 +0200
+++ new/libbluray-1.3.1/src/libbluray/bdj/java/org/videolan/Logger.java 
2022-03-03 18:05:27.000000000 +0100
@@ -152,8 +152,11 @@
     }
 
     public static String dumpStack(Throwable t) {
+        String sup = "";
+        if (t.getCause() != null)
+            sup += "\n    Caused by: " + t.getCause() + "\n" + 
dumpStack(t.getCause());
         StackTraceElement e[] = t.getStackTrace();
-        return printStackTrace(e, 0);
+        return printStackTrace(e, 0) + sup;
     }
 
     public void unimplemented(String func) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libbluray-1.3.0/src/libbluray/bdj/java-j2se/sun/awt/PlatformGraphicsInfo.java
 
new/libbluray-1.3.1/src/libbluray/bdj/java-j2se/sun/awt/PlatformGraphicsInfo.java
--- 
old/libbluray-1.3.0/src/libbluray/bdj/java-j2se/sun/awt/PlatformGraphicsInfo.java
   1970-01-01 01:00:00.000000000 +0100
+++ 
new/libbluray-1.3.1/src/libbluray/bdj/java-j2se/sun/awt/PlatformGraphicsInfo.java
   2022-03-03 18:05:27.000000000 +0100
@@ -0,0 +1,46 @@
+/*
+ * This file is part of libbluray
+ * Copyright (C) 2021  VideoLAN
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see
+ * <http://www.gnu.org/licenses/>.
+ */
+
+package sun.awt;
+
+/* This class replaces java.awt.graphicsenv property in Java 13+ */
+
+import java.awt.GraphicsEnvironment;
+import java.awt.Toolkit;
+
+public class PlatformGraphicsInfo {
+
+    public static GraphicsEnvironment createGE() {
+        return new java.awt.BDGraphicsEnvironment();
+    }
+
+    public static Toolkit createToolkit() {
+        return new java.awt.BDToolkit();
+    }
+
+    public static boolean getDefaultHeadlessProperty() {
+        return false;
+    }
+
+    public static String getDefaultHeadlessMessage() {
+        org.videolan.Logger.getLogger(PlatformGraphicsInfo.class.getName())
+            .error("Headless graphics environment ?\n" + 
org.videolan.Logger.dumpStack());
+        return "Internal error: headless graphics environment ?";
+    }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/src/libbluray/bdnav/meta_parse.c 
new/libbluray-1.3.1/src/libbluray/bdnav/meta_parse.c
--- old/libbluray-1.3.0/src/libbluray/bdnav/meta_parse.c        2021-04-05 
16:12:22.000000000 +0200
+++ new/libbluray-1.3.1/src/libbluray/bdnav/meta_parse.c        2022-03-03 
18:05:27.000000000 +0100
@@ -161,7 +161,7 @@
     for (res = dir_read(dir, &ent); !res; res = dir_read(dir, &ent)) {
         if (ent.d_name[0] == '.')
             continue;
-        else if (strncasecmp(ent.d_name, "bdmt_", 5) == 0) {
+        else if (strncasecmp(ent.d_name, "bdmt_", 5) == 0 && 
strlen(ent.d_name) == 12) {
             META_DL *new_dl_entries = realloc(meta->dl_entries, 
((meta->dl_count + 1)*sizeof(META_DL)));
             if (new_dl_entries) {
                 uint8_t i = meta->dl_count;
@@ -170,7 +170,7 @@
                 memset(&meta->dl_entries[i], 0, sizeof(meta->dl_entries[i]));
 
                 meta->dl_entries[i].filename = str_dup(ent.d_name);
-                strncpy(meta->dl_entries[i].language_code, ent.d_name+5,3);
+                memcpy(meta->dl_entries[i].language_code, ent.d_name+5,3);
                 meta->dl_entries[i].language_code[3] = '\0';
                 str_tolower(meta->dl_entries[i].language_code);
             }
@@ -193,7 +193,7 @@
                     memset(&meta->tn_entries[i], 0, 
sizeof(meta->tn_entries[i]));
 
                     meta->tn_entries[i].filename = str_dup(ent.d_name);
-                    strncpy(meta->tn_entries[i].language_code, ent.d_name + 5, 
3);
+                    memcpy(meta->tn_entries[i].language_code, ent.d_name + 5, 
3);
                     meta->tn_entries[i].playlist = atoi(ent.d_name + 9);
                     meta->tn_entries[i].language_code[3] = '\0';
                     str_tolower(meta->tn_entries[i].language_code);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/src/libbluray/bluray-version.h 
new/libbluray-1.3.1/src/libbluray/bluray-version.h
--- old/libbluray-1.3.0/src/libbluray/bluray-version.h  2021-04-05 
16:13:21.000000000 +0200
+++ new/libbluray-1.3.1/src/libbluray/bluray-version.h  2022-03-03 
18:45:34.000000000 +0100
@@ -27,9 +27,9 @@
 
 #define BLURAY_VERSION_MAJOR 1
 #define BLURAY_VERSION_MINOR 3
-#define BLURAY_VERSION_MICRO 0
+#define BLURAY_VERSION_MICRO 1
 
-#define BLURAY_VERSION_STRING "1.3.0"
+#define BLURAY_VERSION_STRING "1.3.1"
 
 #define BLURAY_VERSION \
     BLURAY_VERSION_CODE(BLURAY_VERSION_MAJOR, BLURAY_VERSION_MINOR, 
BLURAY_VERSION_MICRO)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/src/libbluray/bluray.c 
new/libbluray-1.3.1/src/libbluray/bluray.c
--- old/libbluray-1.3.0/src/libbluray/bluray.c  2021-04-05 16:12:22.000000000 
+0200
+++ new/libbluray-1.3.1/src/libbluray/bluray.c  2022-03-03 18:05:27.000000000 
+0100
@@ -1132,12 +1132,13 @@
         /* increase player profile and version when 3D or UHD disc is detected 
*/
 
         if (index->indx_version >= ('0' << 24 | '3' << 16 | '0' << 8 | '0')) {
-            BD_DEBUG(DBG_CRIT | DBG_BLURAY, "WARNING: BluRay profile 6 BD-J 
menu support is experimental\n");
+            BD_DEBUG(DBG_BLURAY, "Detected 4K UltraHD (profile 6) disc\n");
             /* Switch to UHD profile */
             psr_init_UHD(bd->regs, 1);
         }
         if (((index->indx_version >> 16) & 0xff) == '2') {
             if (index->app_info.content_exist_flag) {
+                BD_DEBUG(DBG_BLURAY, "Detected Blu-Ray 3D (profile 5) disc\n");
                 /* Switch to 3D profile */
                 psr_init_3D(bd->regs, 
index->app_info.initial_output_mode_preference, 0);
             }
@@ -2419,6 +2420,11 @@
 
 static int _open_playlist(BLURAY *bd, const char *f_name, unsigned angle)
 {
+    if (!bd->title_list && bd->title_type == title_undef) {
+        BD_DEBUG(DBG_BLURAY | DBG_CRIT, "open_playlist(%s): bd_play() or 
bd_get_titles() not called\n", f_name);
+        disc_event(bd->disc, DISC_EVENT_START, bd->disc_info.num_titles);
+    }
+
     _close_playlist(bd);
 
     bd->title = nav_title_open(bd->disc, f_name, angle);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libbluray-1.3.0/src/libbluray/decoders/graphics_controller.c 
new/libbluray-1.3.1/src/libbluray/decoders/graphics_controller.c
--- old/libbluray-1.3.0/src/libbluray/decoders/graphics_controller.c    
2021-04-05 16:12:22.000000000 +0200
+++ new/libbluray-1.3.1/src/libbluray/decoders/graphics_controller.c    
2022-03-03 18:05:27.000000000 +0100
@@ -2060,7 +2060,11 @@
         case GC_CTRL_MOUSE_MOVE:
             result = _mouse_move(gc, param >> 16, param & 0xffff, cmds);
             break;
-
+#ifndef __COVERITY__
+        /* no "default:" :
+         * this chunk is used to trigger a warning when a new enum value is 
added,
+         * but not handled here.
+         */
         case GC_CTRL_RESET:
         case GC_CTRL_PG_RESET:
         case GC_CTRL_PG_UPDATE:
@@ -2068,6 +2072,7 @@
         case GC_CTRL_STYLE_SELECT:
             /* already handled */
             break;
+#endif
     }
 
     if (cmds) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/src/libbluray/disc/bdplus.c 
new/libbluray-1.3.1/src/libbluray/disc/bdplus.c
--- old/libbluray-1.3.0/src/libbluray/disc/bdplus.c     2021-04-05 
16:12:22.000000000 +0200
+++ new/libbluray-1.3.1/src/libbluray/disc/bdplus.c     2022-03-03 
18:05:27.000000000 +0100
@@ -275,6 +275,10 @@
             if (libbdplus_is_mmbd(p)) {
                 return (const uint8_t *)"mmbd";
             }
+            if ((int32_t)_bdplus_get(p, "bdplus_is_cached") > 0) {
+                return (const uint8_t *)"mmbd;libbdplus";
+            }
+            break;
     }
 
     return NULL;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libbluray-1.3.0/src/libbluray/disc/dec.c 
new/libbluray-1.3.1/src/libbluray/disc/dec.c
--- old/libbluray-1.3.0/src/libbluray/disc/dec.c        2021-04-05 
16:12:22.000000000 +0200
+++ new/libbluray-1.3.1/src/libbluray/disc/dec.c        2022-03-03 
18:05:27.000000000 +0100
@@ -369,6 +369,7 @@
         }
     } else {
         if (dec->bdplus) {
+            libbdplus_start(dec->bdplus);
             libbdplus_event(dec->bdplus, 0xffffffff, num_titles, 0);
         }
     }

Reply via email to