Hello community,

here is the log from the commit of package flac for openSUSE:Factory checked in 
at 2015-03-25 21:03:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/flac (Old)
 and      /work/SRC/openSUSE:Factory/.flac.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "flac"

Changes:
--------
--- /work/SRC/openSUSE:Factory/flac/flac.changes        2014-12-03 
22:49:58.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.flac.new/flac.changes   2015-03-25 
21:03:36.000000000 +0100
@@ -1,0 +2,34 @@
+Fri Mar 20 15:22:04 UTC 2015 - [email protected]
+
+- Cleanup spec file with spec-cleaner
+- Update url
+- Remove no longer needed patches
+  * flac-fix-CVE-2014-8962.patch 
+  * flac-fix-CVE-2014-9028.patch
+  * 0001-getopt_long-not-broken-here.patch
+- Remove following as benefit of using openssl is small
+  * 0001-Allow-use-of-openSSL.patch
+- Add flac-cflags.patch
+- Use doxygen to build documentation
+- Split documentation to separate package
+- Update to 1.3.1
+  * Improved decoding efficiency of all bit depths but especially 
+    so for 24 bits for IA32 architecture (lvqcl and Miroslav Lichvar).
+  * Faster encoding using SSE and AVX (lvqcl).
+  * Fixed bartlett, bartlett_hann and triangle functions.
+  * New apodization functions partial_tukey and punchout_tukey for 
+    improved compression (Martijn van Beurden).
+  * Retuned compression presets to incorporate new apodization 
+    functions (Martijn van Beurden).
+  * Fix -Wcast-align warnings on armhf architecture (Erik de 
+    Castro Lopo).
+  * Help output documentation improvements.
+  * I/O buffering improvements on Windows to reduce disk 
+    fragmentation when writing files.
+  * Only write vorbis-comments if they are non-empty.
+  * Fix symbol visibility in XMMS plugin.
+  * Many fixes and improvements across all the build systems.
+  * Fix CVE-2014-9028 (heap write overflow) and CVE-2014-8962 
+    (heap read overflow) 
+
+-------------------------------------------------------------------

Old:
----
  0001-Allow-use-of-openSSL.patch
  0001-getopt_long-not-broken-here.patch
  flac-1.3.0.tar.xz
  flac-fix-CVE-2014-8962.patch
  flac-fix-CVE-2014-9028.patch

New:
----
  flac-1.3.1.tar.xz
  flac-cflags.patch

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

Other differences:
------------------
++++++ flac.spec ++++++
--- /var/tmp/diff_new_pack.u3WmX2/_old  2015-03-25 21:03:37.000000000 +0100
+++ /var/tmp/diff_new_pack.u3WmX2/_new  2015-03-25 21:03:37.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package flac
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,43 +17,42 @@
 
 
 Name:           flac
-Version:        1.3.0
+Version:        1.3.1
 Release:        0
 Summary:        Free Lossless Audio Codec
 License:        BSD-3-Clause and GPL-2.0+ and GFDL-1.2
 Group:          Productivity/Multimedia/Sound/Utilities
-Url:            http://flac.sourceforge.net/
-
+Url:            https://xiph.org/flac/
 #Git-Web:      https://git.xiph.org/?p=flac.git
 #Git-Clone:    git://git.xiph.org/flac
-Source:         http://downloads.xiph.org/releases/flac/%name-%version.tar.xz
+Source:         
http://downloads.xiph.org/releases/flac/%{name}-%{version}.tar.xz
 Source2:        baselibs.conf
 Patch1:         flac-ocloexec.patch
-Patch2:         0001-Allow-use-of-openSSL.patch  
 Patch3:         flac-fix-pkgconfig.patch
-Patch5:         0001-getopt_long-not-broken-here.patch
-Patch6:         flac-fix-CVE-2014-8962.patch
-Patch7:         flac-fix-CVE-2014-9028.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Patch6:         flac-cflags.patch
 BuildRequires:  autoconf >= 2.60
 BuildRequires:  automake >= 1.11
+BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 BuildRequires:  libogg-devel
 BuildRequires:  libtool
-BuildRequires:  openssl-devel
 BuildRequires:  pkg-config
 BuildRequires:  xz
-%ifarch %{ix86}
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%ifarch %ix86
 BuildRequires:  nasm
 %endif
-%ifarch ppc64
-# bug437293
-Obsoletes:      flac-64bit
-%endif
 
 %description
 FLAC is an open source lossless audio codec developed by Josh Coalson.
 
+%package doc
+Summary:        Free Lossless Audio Codec Library
+Group:          Documentation/HTML
+
+%description doc
+This package contains documentation for flac
+
 %package -n libFLAC8
 Summary:        Free Lossless Audio Codec Library
 Group:          System/Libraries
@@ -87,19 +86,13 @@
 %prep
 %setup -q
 %patch1 -p1
-%patch2 -p1
 %patch3 -p1
-%patch5 -p1
 %patch6 -p1
-%patch7 -p1
 
 %build
-touch config.rpath
-autoreconf --force --install
-%define warn_flags -O3 -W -Wall -Wstrict-prototypes -Wformat-security
-export CFLAGS="%{optflags} %{warn_flags}"
-export CXXFLAGS="$CFLAGS"
-%configure --disable-thorough-tests \
+./autogen.sh
+%configure \
+       --disable-thorough-tests \
        --disable-xmms-plugin \
        --disable-static \
        --disable-rpath \
@@ -109,8 +102,8 @@
 make %{?_smp_mflags} V=1
 
 %install
-make install DESTDIR="%buildroot" docdir="%_docdir/%name"
-rm -f "%buildroot/%_libdir"/*.la
+make install DESTDIR=%{buildroot} docdir="%{_docdir}/%{name}"
+find %{buildroot} -type f -name "*.la" -delete -print
 # documents
 cp -a AUTHORS README COPYING.* %{buildroot}%{_docdir}/%{name}
 
@@ -127,10 +120,13 @@
 
 %files
 %defattr(-, root, root)
-%doc %{_docdir}/%{name}
 %{_bindir}/*
 %{_mandir}/man*/*
 
+%files doc
+%defattr(-, root, root)
+%doc %{_docdir}/%{name}
+
 %files -n libFLAC8
 %defattr(-, root, root)
 %{_libdir}/libFLAC.so.8*

++++++ flac-1.3.0.tar.xz -> flac-1.3.1.tar.xz ++++++
++++ 142436 lines of diff (skipped)

++++++ flac-cflags.patch ++++++
diff -up flac-1.3.1/configure.ac.cflags flac-1.3.1/configure.ac
--- flac-1.3.1/configure.ac.cflags      2014-11-27 03:45:33.598155763 +0100
+++ flac-1.3.1/configure.ac     2014-11-27 13:45:18.092749862 +0100
@@ -352,8 +352,7 @@ if test "x$debug" = xtrue; then
        CFLAGS="-g $CFLAGS"
 else
        CPPFLAGS="-DNDEBUG $CPPFLAGS"
-       CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//;s/-g//')
-       CFLAGS="-O3 -funroll-loops $CFLAGS"
+       CFLAGS="$user_cflags"
 fi
 
 XIPH_GCC_VERSION
@@ -363,7 +362,6 @@ if test x$ac_cv_c_compiler_gnu = xyes ;
        CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings 
-Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-promo -Wundef 
-Wunreachable-code " # -Wcast-qual -Wbad-function-cast -Wwrite-strings 
-Woverloaded-virtual -Wmissing-declarations
 
        XIPH_ADD_CFLAGS([-Wdeclaration-after-statement])
-       XIPH_ADD_CFLAGS([-D_FORTIFY_SOURCE=2])
 
        AC_LANG_PUSH([C++])
        XIPH_ADD_CXXFLAGS([-Weffc++])
@@ -385,10 +383,6 @@ if test x$ac_cv_c_compiler_gnu = xyes ;
                XIPH_ADD_CFLAGS([-fgnu89-inline])
                fi
 
-       if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
-               XIPH_ADD_CFLAGS([-msse2])
-               fi
-
        fi
 
 XIPH_ADD_CFLAGS([-Wextra])
++++++ flac-fix-pkgconfig.patch ++++++
--- /var/tmp/diff_new_pack.u3WmX2/_old  2015-03-25 21:03:38.000000000 +0100
+++ /var/tmp/diff_new_pack.u3WmX2/_new  2015-03-25 21:03:38.000000000 +0100
@@ -1,7 +1,7 @@
-Index: flac-1.2.1_git201212051942/src/libFLAC/flac.pc.in
+Index: flac-1.3.1/src/libFLAC/flac.pc.in
 ===================================================================
---- flac-1.2.1_git201212051942.orig/src/libFLAC/flac.pc.in
-+++ flac-1.2.1_git201212051942/src/libFLAC/flac.pc.in
+--- flac-1.3.1.orig/src/libFLAC/flac.pc.in
++++ flac-1.3.1/src/libFLAC/flac.pc.in
 @@ -1,7 +1,7 @@
  prefix=@prefix@
  exec_prefix=@exec_prefix@
@@ -11,10 +11,10 @@
  
  Name: FLAC
  Description: Free Lossless Audio Codec Library
-Index: flac-1.2.1_git201212051942/src/libFLAC++/flac++.pc.in
+Index: flac-1.3.1/src/libFLAC++/flac++.pc.in
 ===================================================================
---- flac-1.2.1_git201212051942.orig/src/libFLAC++/flac++.pc.in
-+++ flac-1.2.1_git201212051942/src/libFLAC++/flac++.pc.in
+--- flac-1.3.1.orig/src/libFLAC++/flac++.pc.in
++++ flac-1.3.1/src/libFLAC++/flac++.pc.in
 @@ -1,7 +1,7 @@
  prefix=@prefix@
  exec_prefix=@exec_prefix@

++++++ flac-ocloexec.patch ++++++
--- /var/tmp/diff_new_pack.u3WmX2/_old  2015-03-25 21:03:38.000000000 +0100
+++ /var/tmp/diff_new_pack.u3WmX2/_new  2015-03-25 21:03:38.000000000 +0100
@@ -1,6 +1,8 @@
---- flac-1.2.99_git201305252226.orig/src/libFLAC/metadata_iterators.c
-+++ flac-1.2.99_git201305252226/src/libFLAC/metadata_iterators.c
-@@ -420,10 +420,10 @@ static FLAC__bool simple_iterator_prime_
+Index: flac-1.3.1/src/libFLAC/metadata_iterators.c
+===================================================================
+--- flac-1.3.1.orig/src/libFLAC/metadata_iterators.c
++++ flac-1.3.1/src/libFLAC/metadata_iterators.c
+@@ -421,10 +421,10 @@ static FLAC__bool simple_iterator_prime_
  
        FLAC__ASSERT(0 != iterator);
  
@@ -13,20 +15,24 @@
                                iterator->status = 
FLAC__METADATA_SIMPLE_ITERATOR_STATUS_ERROR_OPENING_FILE;
                                return false;
                        }
---- flac-1.2.99_git201305252226.orig/src/libFLAC/stream_decoder.c
-+++ flac-1.2.99_git201305252226/src/libFLAC/stream_decoder.c
+Index: flac-1.3.1/src/libFLAC/stream_decoder.c
+===================================================================
+--- flac-1.3.1.orig/src/libFLAC/stream_decoder.c
++++ flac-1.3.1/src/libFLAC/stream_decoder.c
 @@ -606,7 +606,7 @@ static FLAC__StreamDecoderInitStatus ini
        if(0 == write_callback || 0 == error_callback)
-               return decoder->protected_->state = 
FLAC__STREAM_DECODER_INIT_STATUS_INVALID_CALLBACKS;
+               return decoder->protected_->initstate = 
FLAC__STREAM_DECODER_INIT_STATUS_INVALID_CALLBACKS;
  
 -      file = filename? flac_fopen(filename, "rb") : stdin;
 +      file = filename? flac_fopen(filename, "rbe") : stdin;
  
        if(0 == file)
                return FLAC__STREAM_DECODER_INIT_STATUS_ERROR_OPENING_FILE;
---- flac-1.2.99_git201305252226.orig/src/libFLAC/stream_encoder.c
-+++ flac-1.2.99_git201305252226/src/libFLAC/stream_encoder.c
-@@ -1250,7 +1250,7 @@ static FLAC__StreamEncoderInitStatus ini
+Index: flac-1.3.1/src/libFLAC/stream_encoder.c
+===================================================================
+--- flac-1.3.1.orig/src/libFLAC/stream_encoder.c
++++ flac-1.3.1/src/libFLAC/stream_encoder.c
+@@ -1389,7 +1389,7 @@ static FLAC__StreamEncoderInitStatus ini
        if(encoder->protected_->state != FLAC__STREAM_ENCODER_UNINITIALIZED)
                return FLAC__STREAM_ENCODER_INIT_STATUS_ALREADY_INITIALIZED;
  

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to