Hello community,

here is the log from the commit of package audiofile for openSUSE:Factory
checked in at Mon Sep 19 22:49:10 CEST 2011.



--------
--- audiofile/audiofile.changes 2010-05-10 11:39:42.000000000 +0200
+++ /mounts/work_src_done/STABLE/audiofile/audiofile.changes    2011-09-19 
19:48:56.000000000 +0200
@@ -1,0 +2,14 @@
+Mon Sep 19 17:32:53 UTC 2011 - appleon...@opensuse.org
+
+- Update to version 0.3.1:
+  + Support u-law and A-law compression in Core Audio Format files
+  + Add support for Creative Voice File format 
+  + Define AFframecount and AFfileoffset as 64-bit signed integers
+  + Add support for extensible WAVE format
+- Added audiofile-remove-unused-variables.patch for -Werror
+- Added audiofile-add-lm-linker.patch to fix build error
+- Drop audiofile-oldstyle.patch, fixed by upstream in a different way.
+- Split documentation of the library into doc package
+- Removed Obsoletes/Provides audiofil, seems outdated
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  audiofile-0.2.7.tar.bz2
  audiofile-oldstyle.patch

New:
----
  audiofile-0.3.1.tar.bz2
  audiofile-add-lm-linker.patch
  audiofile-remove-unused-variables.patch

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

Other differences:
------------------
++++++ audiofile.spec ++++++
--- /var/tmp/diff_new_pack.oP1oC9/_old  2011-09-19 22:49:05.000000000 +0200
+++ /var/tmp/diff_new_pack.oP1oC9/_new  2011-09-19 22:49:05.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package audiofile (Version 0.2.7)
+# spec file for package audiofile
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -22,8 +22,6 @@
 Url:            http://www.68k.org/~michael/audiofile/
 License:        GPLv2+ ; LGPLv2.1+
 Group:          System/Libraries
-Obsoletes:      audiofil
-Provides:       audiofil
 AutoReqProv:    on
 # bug437293
 %ifarch ppc64
@@ -31,13 +29,16 @@
 %endif
 #
 Summary:        An Audio File Library
-Version:        0.2.7
+Version:        0.3.1
 Release:        1
-Source:         
ftp://ftp.gnome.org/pub/GNOME/sources/audiofile/0.2/audiofile-%{version}.tar.bz2
+Source:         
ftp://ftp.gnome.org/pub/GNOME/sources/audiofile/0.3/audiofile-%{version}.tar.bz2
 Source2:        baselibs.conf
-Patch2:         %{name}-oldstyle.patch
+Patch1:         %{name}-remove-unused-variables.patch
+Patch2:         %{name}-add-lm-linker.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  pkg-config
+BuildRequires:  gcc-c++
+BuildRequires:  alsa-devel
 
 %description
 This audio file library is an implementation of the SGI audio file
@@ -63,8 +64,24 @@
 files of many common formats (currently AIFF, AIFC, WAVE, and
 NeXT/Sun).
 
+%package doc
+License:        GPLv2+ ; LGPLv2.1+
+Summary:        An audio file library
+Group:          Documentation/Man
+Requires:       %{name} = %{version}
+
+%description doc
+This Audio File Library is an implementation of the SGI Audio File
+library. At present, not all features of the SGI Audio File library are
+implemented.
+
+This library allows the processing of audio data to and from audio
+files of many common formats (currently AIFF, AIFC, WAVE, and
+NeXT/Sun).
+
 %prep
 %setup -q
+%patch1
 %patch2
 
 %build
@@ -72,7 +89,7 @@
 %{configure} \
     --with-pic \
     --disable-static
-%{__make} %{?jobs:-j%jobs}
+make %{?_smp_flags}
 %{__cp} -a docs install_docs
 %{__rm} install_docs/Makefile*
 
@@ -94,19 +111,23 @@
 
 %files
 %defattr(-, root, root)
-%doc README TODO COPYING* ACKNOWLEDGEMENTS AUTHORS NEWS NOTES install_docs/*
+%doc README TODO COPYING* ACKNOWLEDGEMENTS AUTHORS NEWS NOTES 
 %{_bindir}/s*
 %{_libdir}/*.so.*
+%{_mandir}/man1/sfconvert.1*
+%{_mandir}/man1/sfinfo.1*
 
 %files devel
 %defattr(-, root, root)
-%{_bindir}/*-config
 %{_includedir}/*
-%{_datadir}/aclocal/*
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 %if 0%{?suse_version} <= 1110
 %{_libdir}/*.la
 %endif
 
+%files doc
+%defattr(-, root, root)
+%{_mandir}/man3/af*.3*
+
 %changelog

++++++ audiofile-0.2.7.tar.bz2 -> audiofile-0.3.1.tar.bz2 ++++++
++++ 155291 lines of diff (skipped)

++++++ audiofile-add-lm-linker.patch ++++++
--- examples/Makefile.am        2011-05-31 20:04:50.000000000 +0200
+++ examples/Makefile.am        2011-09-19 13:54:39.809320901 +0200
@@ -23,6 +23,6 @@
 osxplay_SOURCES = osxplay.c
 osxplay_LDFLAGS = -framework AudioUnit -framework CoreServices
 
-LDADD = $(LIBAUDIOFILE)
+LDADD = $(LIBAUDIOFILE) -lm
 
 DEPENDENCIES = $(LIBAUDIOFILE)
--- test/Makefile.am    2011-09-14 03:19:46.000000000 +0200
+++ test/Makefile.am    2011-09-19 13:58:05.762342163 +0200
@@ -52,7 +52,7 @@
 
 LIBAUDIOFILE = $(top_builddir)/libaudiofile/libaudiofile.la
 
-LDADD = $(LIBAUDIOFILE)
+LDADD = $(LIBAUDIOFILE) -lm
 
 DEPENDENCIES = $(LIBAUDIOFILE)
 
++++++ audiofile-remove-unused-variables.patch ++++++
--- libaudiofile/AIFF.cpp       2011-08-21 01:08:20.000000000 +0200
+++ libaudiofile/AIFF.cpp       2011-09-19 13:21:40.667506863 +0200
@@ -477,11 +477,7 @@
        uint32_t type, size, formtype;
 
        bool hasCOMM = false;
-       bool hasFVER = false;
        bool hasSSND = false;
-       bool hasMARK = false;
-       bool hasINST = false;
-       bool hasAESD = false;
 
        fh->seek(0, File::SeekFromBeginning);
 
@@ -533,22 +529,18 @@
                }
                else if (chunkid == "FVER")
                {
-                       hasFVER = true;
                        parseFVER(chunkid, chunksize);
                }
                else if (chunkid == "INST")
                {
-                       hasINST = true;
                        parseINST(chunkid, chunksize);
                }
                else if (chunkid == "MARK")
                {
-                       hasMARK = true;
                        parseMARK(chunkid, chunksize);
                }
                else if (chunkid == "AESD")
                {
-                       hasAESD = true;
                        parseAESD(chunkid, chunksize);
                }
                else if (chunkid == "NAME" ||
--- libaudiofile/WAVE.cpp       2011-08-20 23:22:26.000000000 +0200
+++ libaudiofile/WAVE.cpp       2011-09-19 13:28:20.621490114 +0200
@@ -711,11 +711,7 @@
 
        bool hasFormat = false;
        bool hasData = false;
-       bool hasCue = false;
-       bool hasList = false;
-       bool hasPlayList = false;
        bool hasFrameCount = false;
-       bool hasINST = false;
 
        instruments = NULL;
        instrumentCount = 0;
@@ -796,28 +792,24 @@
                }
                else if (chunkid == "cue ")
                {
-                       hasCue = true;
                        result = parseCues(chunkid, chunksize);
                        if (result == AF_FAIL)
                                return AF_FAIL;
                }
                else if (chunkid == "LIST" || chunkid == "list")
                {
-                       hasList = true;
                        result = parseList(chunkid, chunksize);
                        if (result == AF_FAIL)
                                return AF_FAIL;
                }
                else if (chunkid == "INST")
                {
-                       hasINST = true;
                        result = parseInstrument(chunkid, chunksize);
                        if (result == AF_FAIL)
                                return AF_FAIL;
                }
                else if (chunkid == "plst")
                {
-                       hasPlayList = true;
                        result = parsePlayList(chunkid, chunksize);
                        if (result == AF_FAIL)
                                return AF_FAIL;

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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to