Hello community, here is the log from the commit of package taglib-sharp checked in at Fri Nov 7 15:50:32 CET 2008. -------- --- taglib-sharp/taglib-sharp.changes 2008-01-27 21:28:40.000000000 +0100 +++ /mounts/work_src_done/STABLE/taglib-sharp/taglib-sharp.changes 2008-11-06 23:41:26.000000000 +0100 @@ -1,0 +2,15 @@ +Thu Nov 6 16:36:30 CST 2008 - gburt@suse.de + +- Fix bug caused by redundant attribute from patch + +------------------------------------------------------------------- +Mon Oct 27 12:05:36 CDT 2008 - gburt@suse.de + +- Merge changes from openSUSE:Factory project + +------------------------------------------------------------------- +Sun Oct 26 16:26:35 CDT 2008 - gburt@suse.de + +- Fixes bgo#532561 (recognize oga/ogv extensions) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- add_extensions_mimetypes_thorough_mpeg_checking.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ taglib-sharp.spec ++++++ --- /var/tmp/diff_new_pack.u14059/_old 2008-11-07 15:49:31.000000000 +0100 +++ /var/tmp/diff_new_pack.u14059/_new 2008-11-07 15:49:31.000000000 +0100 @@ -2,14 +2,22 @@ # spec file for package taglib-sharp (Version 2.0.3.0) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild + Name: taglib-sharp AutoReqProv: on License: LGPL v2.1 or later @@ -17,8 +25,9 @@ Summary: Multimedia metadata reading/writing library for popular formats Url: http://taglib-sharp.com Version: 2.0.3.0 -Release: 1 +Release: 70 Source0: %{name}-%{version}.tar.bz2 +Patch1: add_extensions_mimetypes_thorough_mpeg_checking.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: mono-devel @@ -54,6 +63,7 @@ %prep %setup -q +%patch1 -p0 %build %{?env_options} @@ -70,6 +80,12 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Nov 06 2008 gburt@suse.de +- Fix bug caused by redundant attribute from patch +* Mon Oct 27 2008 gburt@suse.de +- Merge changes from openSUSE:Factory project +* Sun Oct 26 2008 gburt@suse.de +- Fixes bgo#532561 (recognize oga/ogv extensions) * Sun Jan 27 2008 abockover@suse.de - Initial checkin of taglib-sharp - Version 2.0.3.0 ++++++ add_extensions_mimetypes_thorough_mpeg_checking.patch ++++++ Index: src/TagLib/Mpeg/AudioHeader.cs =================================================================== --- src/TagLib/Mpeg/AudioHeader.cs (revision 94327) +++ src/TagLib/Mpeg/AudioHeader.cs (revision 94328) @@ -252,7 +252,13 @@ throw new CorruptFileException ( "First byte did not match MPEG synch."); - if (data [1] < 0xE0) + // Checking bits from high to low: + // + // First 3 bits MUST be set. Bits 4 and 5 can + // be 00, 10, or 11 but not 01. One or more of + // bits 6 and 7 must be set. Bit 8 can be + // anything. + if ((data [1] & 0xE6) <= 0xE0 || (data [1] & 0x18) == 0x08) throw new CorruptFileException ( "Second byte did not match MPEG synch."); Index: src/TagLib/Ape/File.cs =================================================================== --- src/TagLib/Ape/File.cs (revision 117109) +++ src/TagLib/Ape/File.cs (working copy) @@ -40,6 +40,8 @@ /// </remarks> [SupportedMimeType("taglib/ape", "ape")] [SupportedMimeType("audio/x-ape")] + [SupportedMimeType("audio/ape")] + [SupportedMimeType("application/x-ape")] public class File : TagLib.NonContainer.File { #region Private Fields @@ -275,4 +277,4 @@ #endregion } -} \ No newline at end of file +} Index: src/TagLib/Asf/File.cs =================================================================== --- src/TagLib/Asf/File.cs (revision 117109) +++ src/TagLib/Asf/File.cs (working copy) @@ -33,6 +33,7 @@ [SupportedMimeType("taglib/wmv", "wmv")] [SupportedMimeType("taglib/asf", "asf")] [SupportedMimeType("audio/x-ms-wma")] + [SupportedMimeType("audio/x-ms-asf")] [SupportedMimeType("video/x-ms-asf")] public class File : TagLib.File { Index: src/TagLib/Ogg/File.cs =================================================================== --- src/TagLib/Ogg/File.cs (revision 117109) +++ src/TagLib/Ogg/File.cs (working copy) @@ -35,6 +35,8 @@ /// and properties support for Ogg files. /// </summary> [SupportedMimeType("taglib/ogg", "ogg")] + [SupportedMimeType("taglib/oga", "oga")] + [SupportedMimeType("taglib/ogv", "ogv")] [SupportedMimeType("application/ogg")] [SupportedMimeType("application/x-ogg")] [SupportedMimeType("audio/vorbis")] @@ -42,6 +44,10 @@ [SupportedMimeType("audio/x-vorbis+ogg")] [SupportedMimeType("audio/ogg")] [SupportedMimeType("audio/x-ogg")] + [SupportedMimeType("video/ogg")] + [SupportedMimeType("video/x-ogm+ogg")] + [SupportedMimeType("video/x-theora+ogg")] + [SupportedMimeType("video/x-theora")] public class File : TagLib.File { #region Private Fields Index: examples/ReadFromUri.cs =================================================================== --- examples/ReadFromUri.cs (revision 117109) +++ examples/ReadFromUri.cs (working copy) @@ -114,7 +114,11 @@ Console.WriteLine ("Total running time: " + (end - start)); Console.WriteLine ("Total files read: " + songs_read); - Console.WriteLine ("Average time per file: " + new TimeSpan ((end - start).Ticks / songs_read)); + + if (songs_read > 0) + { + Console.WriteLine ("Average time per file: " + new TimeSpan ((end - start).Ticks / songs_read)); + } } } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org