Hello community, here is the log from the commit of package pfstmo for openSUSE:Factory checked in at 2013-04-24 09:46:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pfstmo (Old) and /work/SRC/openSUSE:Factory/.pfstmo.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pfstmo", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/pfstmo/pfstmo.changes 2011-12-25 17:40:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pfstmo.new/pfstmo.changes 2013-04-24 09:46:27.000000000 +0200 @@ -1,0 +2,8 @@ +Mon Apr 22 19:51:26 UTC 2013 - [email protected] + +- Add pfsmto-no-debug-mangling.patch: don't drop occurences of + "-g" from CFLAGS. It destroys -grecord-gcc-flags. +- Add libtool BuildRequires and call autoreconf, as above patch + touches the build system. + +------------------------------------------------------------------- New: ---- pfstmo-no-debug-mangling.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pfstmo.spec ++++++ --- /var/tmp/diff_new_pack.w6usTS/_old 2013-04-24 09:46:30.000000000 +0200 +++ /var/tmp/diff_new_pack.w6usTS/_new 2013-04-24 09:46:30.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package pfstmo # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define vversion 1.4 Name: pfstmo @@ -23,10 +24,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fftw3-devel BuildRequires: gcc-c++ +BuildRequires: libtool BuildRequires: pfstools-devel BuildRequires: pkgconfig Source: %{name}-%{vversion}.tar.bz2 -Patch: %{name}-gcc.patch +Patch1: %{name}-gcc.patch +Patch2: pfstmo-no-debug-mangling.patch Url: http://www.mpii.mpg.de/resources/tmo/ Summary: Tone Mapping Operators for High Dynamic Range Images License: GPL-2.0+ @@ -38,24 +41,14 @@ of tone mapping operators suitable for convenient processing of both static images and animations. - - -Authors: --------- - Grzegorz Krawczyk <[email protected]> - %prep %setup -q -n %{name}-%{vversion} -%patch +%patch1 +%patch2 -p1 %build -#autoreconf -fi -CFLAGS="$RPM_OPT_FLAGS" \ -CXXFLAGS="$RPM_OPT_FLAGS" \ -./configure \ - --prefix=/usr \ - --mandir=%{_mandir} \ - --libdir=%{_libdir} +autoreconf -fi +%configure make %{?jobs:-j%jobs} %install ++++++ pfstmo-no-debug-mangling.patch ++++++ Index: pfstmo-1.4/configure.ac =================================================================== --- pfstmo-1.4.orig/configure.ac +++ pfstmo-1.4/configure.ac @@ -37,12 +37,12 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [Enable debug symbols and asserts]), [if test "$enable_debug" = "yes" ; then - temp_CXXFLAGS=`echo $CXXFLAGS | sed "s/-O./ /; s/-g//"` + temp_CXXFLAGS=`echo $CXXFLAGS | sed "s/-O./ /;"` CXXFLAGS="-g $temp_CXXFLAGS" AC_DEFINE([DEBUG]) fi], [enable_debug="no" - temp_CXXFLAGS=`echo $CXXFLAGS | sed "s/-O./ /; s/-g//"` + temp_CXXFLAGS=`echo $CXXFLAGS | sed "s/-O./ /;"` CXXFLAGS="-O3 $temp_CXXFLAGS" AC_DEFINE(NDEBUG, 1, [Disable assertion checks]) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
