Hello community, here is the log from the commit of package libbluray for openSUSE:Factory checked in at 2014-01-08 20:07:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libbluray (Old) and /work/SRC/openSUSE:Factory/.libbluray.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libbluray" Changes: -------- --- /work/SRC/openSUSE:Factory/libbluray/libbluray.changes 2013-12-13 13:07:20.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libbluray.new/libbluray.changes 2014-01-08 20:07:13.000000000 +0100 @@ -1,0 +2,12 @@ +Wed Jan 1 22:21:18 UTC 2014 - crrodriguez@opensuse.org + +- Select the C standard to be used with autoconf macros + instead of passing std=c99. +- Correct CPPFLAGS and CFLAGS +- Ensure config.h is always included, in 32 bit OS the library + was using both fopen() and fopen64() this will cause + problems with largefiles due to _FILE_OFFSET_BITS=64 beign + used inconsistenly. +- Patch name : libbluray-autotools.patch + +------------------------------------------------------------------- New: ---- libbluray-autotools.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libbluray.spec ++++++ --- /var/tmp/diff_new_pack.1xn5gx/_old 2014-01-08 20:07:14.000000000 +0100 +++ /var/tmp/diff_new_pack.1xn5gx/_new 2014-01-08 20:07:14.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libbluray # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -28,7 +28,9 @@ # PATCH-FIX-UPSTREAM use-recommended-freetype-include.patch -- Freetype upstream recommends using their macros together with # ft2build include. Positive sideeffect is that this patch makes it build with both freetype2 2.5.1, and older versions Patch0: use-recommended-freetype-include.patch +Patch1: libbluray-autotools.patch Source99: baselibs.conf +BuildRequires: libtool BuildRequires: pkg-config BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(libxml-2.0) >= 2.6 @@ -70,8 +72,9 @@ %prep %setup -q %patch0 -p1 - +%patch1 -p1 %build +autoreconf -fiv %configure --disable-static make %{?_smp_mflags} ++++++ libbluray-autotools.patch ++++++ --- libbluray-0.4.0.orig/configure.ac +++ libbluray-0.4.0/configure.ac @@ -99,8 +99,9 @@ AC_ARG_WITH([bdj-bootclasspath], [BDJ_BOOTCLASSPATH=]) dnl required programs -AC_PROG_CC -AC_PROG_LIBTOOL +AC_PROG_CC_STDC +AC_USE_SYSTEM_EXTENSIONS +LT_INIT([disable-static pic-only]) dnl required types AC_TYPE_SIGNAL @@ -115,23 +116,12 @@ AC_STRUCT_DIRENT_D_TYPE 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"], [ --- libbluray-0.4.0.orig/src/Makefile.am +++ libbluray-0.4.0/src/Makefile.am @@ -1,7 +1,7 @@ -SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -D_REENTRANT SET_INCLUDES = -I$(top_srcdir) -Ifile -Ilibbluray -Ilibbluray/bdnav -AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_INCLUDES) $(LIBXML2_CFLAGS) $(FT2_CFLAGS) +AM_CFLAGS = -pthread $(LIBXML2_CFLAGS) $(FT2_CFLAGS) +AM_CPPFLAGS = $(SET_INCLUDES) -include config.h EXTRA_DIST = \ libbluray/bdj/build.xml \ @@ -109,8 +109,8 @@ endif endif -libbluray_la_LDFLAGS= -version-info $(LT_VERSION_INFO) -libbluray_la_LIBADD= $(LIBXML2_LIBS) $(FT2_LIBS) +libbluray_la_LDFLAGS= -no-undefined -version-info $(LT_VERSION_INFO) +libbluray_la_LIBADD= $(LIBXML2_LIBS) $(FT2_LIBS) -ldl pkginclude_HEADERS = \ file/filesystem.h \ --- libbluray-0.4.0.orig/src/examples/Makefile.am +++ libbluray-0.4.0/src/examples/Makefile.am @@ -1,7 +1,8 @@ -SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -D_REENTRANT +SET_FEATURES = -D_REENTRANT SET_INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/file -I$(top_srcdir)/src/libbluray/bdnav -AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_INCLUDES) +AM_CFLAGS = $(SET_FEATURES) $(SET_INCLUDES) +AM_CPPFLAGS = -include config.h if USING_EXAMPLES -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org