SHA256
1
0
forked from pool/libbluray

Accepting request 347314 from home:enzokiel:branches:multimedia:libs

Update to version 0.9.2

OBS-URL: https://build.opensuse.org/request/show/347314
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libbluray?expand=0&rev=43
This commit is contained in:
Tomáš Chvátal 2015-12-03 14:14:16 +00:00 committed by Git OBS Bridge
parent c7dd9dd5d8
commit 41874f00dd
6 changed files with 88 additions and 74 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9647fa55802907b33d85e9ffcc6d97e3133490f3721afd649d9b361c42f3940
size 703068

3
libbluray-0.9.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:efc994f42d2bce6af2ce69d05ba89dbbd88bcec7aca065de094fb3a7880ce7ea
size 704357

View File

@ -1,67 +1,65 @@
--- configure.ac.orig 2015-04-10 08:48:23.000000000 +0200
+++ configure.ac 2015-04-30 13:56:24.249955300 +0200
@@ -111,9 +111,10 @@
[BDJ_BOOTCLASSPATH=])
dnl required programs
-AC_PROG_CC
+AC_PROG_CC_STDC
AM_PROG_CC_C_O
-AC_PROG_LIBTOOL
+AC_USE_SYSTEM_EXTENSIONS
+LT_INIT([disable-static pic-only])
dnl required types
AC_TYPE_SIGNAL
@@ -128,23 +129,12 @@
dnl required system services
AC_SYS_LARGEFILE
+AC_FUNC_FSEEKO
dnl required functions
AC_CHECK_FUNC([snprintf],, [AC_MSG_ERROR($function_not_found)])
-dnl required libraries
-dnl pthreads (not on win32)
-AS_IF([test "${SYS}" != "mingw32"], [
- AC_CHECK_HEADERS([pthread.h], ,
- [AC_MSG_ERROR([pthread required])])
- AC_SEARCH_LIBS([pthread_create], [pthread], ,
- [AC_MSG_ERROR([pthread required])])
- AC_SEARCH_LIBS([dlopen], [dl])
- DLOPEN_LIBS="$ac_cv_search_dlopen"
- AS_CASE([$DLOPEN_LIBS],
- [no|none\ required], [DLOPEN_LIBS=""])
- AC_SUBST([DLOPEN_LIBS])
-])
+AC_CHECK_HEADERS_ONCE([pthread.h])
dnl libxml2 for metadata parser
AS_IF([test "x$with_libxml2" != "xno"], [
--- Makefile.am.orig 2015-03-20 11:50:37.000000000 +0100
+++ Makefile.am 2015-04-30 13:56:25.578037800 +0200
@@ -11,10 +11,10 @@
POSIX_C_SOURCE=200112L
endif
-SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=$(POSIX_C_SOURCE) -D_REENTRANT
SET_INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/libbluray -I$(top_builddir)/src/libbluray $(BDJAVA_CFLAGS)
-AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_INCLUDES) $(LIBXML2_CFLAGS) $(FT2_CFLAGS) $(FONTCONFIG_CFLAGS) $(UDF_CFLAGS)
+AM_CFLAGS = -pthread $(LIBXML2_CFLAGS) $(FT2_CFLAGS) $(FONTCONFIG_CFLAGS) $(UDF_CFLAGS)
+AM_CPPFLAGS = $(SET_INCLUDES) -include config.h
EXTRA_DIST = \
bootstrap \
@@ -149,8 +149,8 @@
endif
endif
-libbluray_la_LDFLAGS= -version-info $(LT_VERSION_INFO) -export-symbols-regex "^bd_"
-libbluray_la_LIBADD= $(LIBXML2_LIBS) $(FT2_LIBS) $(FONTCONFIG_LIBS)
+libbluray_la_LDFLAGS= -no-undefined -version-info $(LT_VERSION_INFO)
+libbluray_la_LIBADD= $(LIBXML2_LIBS) $(FT2_LIBS) $(FONTCONFIG_LIBS) -ldl
noinst_HEADERS = \
jni/jni.h \
--- configure.ac.orig 2015-04-10 08:48:23.000000000 +0200
+++ configure.ac 2015-04-30 13:56:24.249955300 +0200
@@ -111,9 +111,10 @@
[BDJ_BOOTCLASSPATH=])
dnl required programs
-AC_PROG_CC
+AC_PROG_CC_STDC
AM_PROG_CC_C_O
-AC_PROG_LIBTOOL
+AC_USE_SYSTEM_EXTENSIONS
+LT_INIT([disable-static pic-only])
dnl required types
AC_TYPE_SIGNAL
@@ -128,23 +129,12 @@
dnl required system services
AC_SYS_LARGEFILE
+AC_FUNC_FSEEKO
dnl required functions
AC_CHECK_FUNC([snprintf],, [AC_MSG_ERROR($function_not_found)])
-dnl required libraries
-dnl pthreads (not on win32)
-AS_IF([test "${SYS}" != "mingw32"], [
- AC_CHECK_HEADERS([pthread.h], ,
- [AC_MSG_ERROR([pthread required])])
- AC_SEARCH_LIBS([pthread_create], [pthread], ,
- [AC_MSG_ERROR([pthread required])])
- AC_SEARCH_LIBS([dlopen], [dl])
- DLOPEN_LIBS="$ac_cv_search_dlopen"
- AS_CASE([$DLOPEN_LIBS],
- [no|none\ required], [DLOPEN_LIBS=""])
- AC_SUBST([DLOPEN_LIBS])
-])
+AC_CHECK_HEADERS_ONCE([pthread.h])
dnl libxml2 for metadata parser
AS_IF([test "x$with_libxml2" != "xno"], [
--- Makefile.am.orig 2015-11-25 09:00:27.000000000 +0100
+++ Makefile.am 2015-12-03 12:49:33.000000000 +0100
@@ -11,10 +11,10 @@
POSIX_C_SOURCE=200112L
endif
-SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=$(POSIX_C_SOURCE) -D_REENTRANT
SET_INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/libbluray -I$(top_builddir)/src/libbluray $(BDJAVA_CFLAGS)
-AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_INCLUDES) $(LIBXML2_CFLAGS) $(FT2_CFLAGS) $(FONTCONFIG_CFLAGS) $(UDF_CFLAGS)
+AM_CFLAGS = -pthread $(LIBXML2_CFLAGS) $(FT2_CFLAGS) $(FONTCONFIG_CFLAGS) $(UDF_CFLAGS)
+AM_CPPFLAGS = $(SET_INCLUDES) -include config.h
EXTRA_DIST = \
bootstrap \
@@ -151,7 +151,7 @@
endif
libbluray_la_LDFLAGS= -no-undefined -version-info $(LT_VERSION_INFO) -export-symbols-regex "^bd_"
-libbluray_la_LIBADD= $(LIBXML2_LIBS) $(FT2_LIBS) $(FONTCONFIG_LIBS)
+libbluray_la_LIBADD= $(LIBXML2_LIBS) $(FT2_LIBS) $(FONTCONFIG_LIBS) -ldl
noinst_HEADERS = \
jni/jni.h \

View File

@ -1,6 +1,6 @@
--- src/libbluray/bdj/bdj.c.orig 2015-04-06 18:25:09.000000000 +0200
+++ src/libbluray/bdj/bdj.c 2015-04-30 13:56:26.765499800 +0200
@@ -169,7 +169,7 @@
--- src/libbluray/bdj/bdj.c.orig 2015-11-22 11:10:40.000000000 +0200
+++ src/libbluray/bdj/bdj.c 2015-12-03 12:54:21.000000000 +0100
@@ -205,7 +205,7 @@
"/usr/lib/jvm/java-6-openjdk",
"/usr/lib/jvm/java-7-openjdk",
"/etc/java-config-2/current-system-vm"};

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Thu Dec 03 12:56:17 UTC 2015 - joerg.lorenzen@ki.tng.de
- Update to version 0.9.2:
+ Add primary audio stream to bd_select_stream().
+ Improve error resilience.
+ Fix Java 8 compability issues.
+ Fix Android build.
+ Fix SecurityException in AWTAutoShutdown.
+ Fix BD-J check when install path in Windows contains
non-ASCII chars.
+ Fix jvm.dll loading in Windows ($JAVA_HOME/bin should be in
dll load path).
+ Fix class translating in recent Java 8 versions.
- Fixed patches libbluray-autotools.patch and libbluray-jvm_dir.patch.
-------------------------------------------------------------------
Wed Nov 4 09:56:23 UTC 2015 - idonmez@suse.com

View File

@ -19,7 +19,7 @@
%define soname 1
Name: libbluray
Version: 0.9.1
Version: 0.9.2
Release: 0
Summary: Library to access Blu-Ray disk
License: LGPL-2.1+