Hello community, here is the log from the commit of package libopenraw for openSUSE:Factory checked in at 2012-05-10 14:33:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libopenraw (Old) and /work/SRC/openSUSE:Factory/.libopenraw.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libopenraw", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/libopenraw/libopenraw.changes 2012-02-28 14:14:24.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libopenraw.new/libopenraw.changes 2012-05-10 14:33:51.000000000 +0200 @@ -1,0 +2,7 @@ +Thu May 10 01:47:04 UTC 2012 - [email protected] + +- Run make check +- Do not use gcc -ansi flag +- Ensure all C files include "config.h" + +------------------------------------------------------------------- New: ---- openraw-noansiflag.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libopenraw.spec ++++++ --- /var/tmp/diff_new_pack.2OwdWT/_old 2012-05-10 14:33:53.000000000 +0200 +++ /var/tmp/diff_new_pack.2OwdWT/_new 2012-05-10 14:33:53.000000000 +0200 @@ -28,6 +28,7 @@ Source99: baselibs.conf # PATCH-FIX-UPSTREAM libopenraw-orf-thumbnail.patch bnc699678 [email protected] - Decompress otf files Patch2: libopenraw-orf-thumbnail.patch +Patch3: openraw-noansiflag.patch BuildRequires: boost-devel >= 1.33.1 BuildRequires: gcc-c++ BuildRequires: libjpeg-devel @@ -71,7 +72,7 @@ %prep %setup -q %patch2 -p1 - +%patch3 %build autoreconf -fiv export CXXFLAGS="%optflags -fvisibility-inlines-hidden" @@ -82,6 +83,9 @@ %makeinstall find %{buildroot} -type f -name "*.la" -delete -print +%check +make check + %post -n libopenraw1 -p /sbin/ldconfig %postun -n libopenraw1 -p /sbin/ldconfig ++++++ openraw-noansiflag.patch ++++++ --- configure.in.orig +++ configure.in @@ -62,12 +62,13 @@ pkgconfigdir='${libdir}/pkgconfig' AC_SUBST(pkgconfigdir) dnl Checks for programs. -AC_PROG_CC +AC_PROG_CC_STDC +AC_USE_SYSTEM_EXTENSIONS +AC_SYS_LARGEFILE AC_PROG_CPP AC_PROG_CXX AC_PROG_INSTALL -AC_PROG_LIBTOOL - +LT_INIT([disable-static pic-only]) dnl Requirements EXEMPI_REQUIRED=1.99.5 @@ -166,16 +167,13 @@ AM_CONDITIONAL(BUILD_GNOME_SUPPORT, test AX_CFLAGS_GCC_OPTION([-Wextra]) AX_CXXFLAGS_GCC_OPTION([-Wextra]) -CXXFLAGS="$CXXFLAGS -ansi -pedantic -g -Wall -Wshadow" -CFLAGS="$CFLAGS -pedantic -g -Wall" +CXXFLAGS="$CXXFLAGS -g -Wall -Wshadow" +CFLAGS="$CFLAGS -g -Wall" -SHAVE_INIT AC_OUTPUT([ Makefile -shave -shave-libtool include/Makefile include/libopenraw/Makefile include/libopenraw++/Makefile --- lib/Makefile.am.orig +++ lib/Makefile.am @@ -1,5 +1,5 @@ -INCLUDES = -I$(top_srcdir)/include +AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include SUBDIRS = io capi @@ -40,7 +40,7 @@ noinst_HEADERS = or_debug.h \ lib_LTLIBRARIES = libopenraw.la -libopenraw_la_LDFLAGS = \ +libopenraw_la_LDFLAGS = -no-undefined \ -version-info @LIBOPENRAW_VERSION_INFO@ # -export-symbols $(srcdir)/libopenraw.sym --- tools/ordiag.cpp.orig +++ tools/ordiag.cpp @@ -19,6 +19,7 @@ * <http://www.gnu.org/licenses/>. */ +#include "config.h" #include <unistd.h> #include <iostream> --- gnome/gdkpixbuf.c.orig +++ gnome/gdkpixbuf.c @@ -20,6 +20,8 @@ /** @brief gdkpixbuf support */ +#include "config.h" + #include <stdlib.h> #include <string.h> #include <glib.h> --- gnome/pixbuf-loader.c.orig +++ gnome/pixbuf-loader.c @@ -21,6 +21,8 @@ /** @brief gdkpixbuf loader for RAW files */ +#include "config.h" + #include <stdlib.h> #include <libopenraw/libopenraw.h> --- lib/io/Makefile.am.orig +++ lib/io/Makefile.am @@ -1,5 +1,5 @@ -INCLUDES = -I$(top_srcdir)/include -I$(srcdir)/.. +AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include -I$(srcdir)/.. TESTS = teststream --- lib/capi/Makefile.am.orig +++ lib/capi/Makefile.am @@ -1,7 +1,7 @@ -INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib +AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include -I$(top_srcdir)/lib noinst_LTLIBRARIES = libopenrawc.la --- test/Makefile.am.orig +++ test/Makefile.am @@ -4,7 +4,7 @@ TESTS_ENVIRONMENT = OPENRAW_LIB = $(top_builddir)/lib/libopenraw.la -INCLUDES = \ +AM_CPPFLAGS = -include $(top_builddir)/config.h \ -I$(top_srcdir)/include \ -I$(top_srcdir)/lib --- testsuite/Makefile.am.orig +++ testsuite/Makefile.am @@ -4,10 +4,10 @@ TESTS_ENVIRONMENT = OPENRAW_LIB = $(top_builddir)/lib/libopenraw.la -INCLUDES = \ +AM_CFLAGS = @LIBXML_CFLAGS@ @CURL_CFLAGS@ +AM_CPPFLAGS = -include $(top_builddir)/config.h \ -I$(top_srcdir)/include \ - -I$(top_srcdir)/lib \ - @LIBXML_CFLAGS@ @CURL_CFLAGS@ + -I$(top_srcdir)/lib noinst_PROGRAMS = testsuite noinst_HEADERS = testsuitetags.h --- gnome/Makefile.am.orig +++ gnome/Makefile.am @@ -29,7 +29,7 @@ libopenrawgnome_la_LIBADD = ../lib/libop libopenrawgnome_la_SOURCES = gdkpixbuf.c -libopenraw_pixbuf_la_LDFLAGS = -no-undefined -module -avoid-version +libopenraw_pixbuf_la_LDFLAGS = -no-undefined -export-dynamic -shared -module -avoid-version libopenraw_pixbuf_la_LIBADD = ../lib/libopenraw.la \ $(LIBGLIB_LIBS) \ $(LIBGDKPIXBUF_LIBS) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
