Update to 2.3.

- Patch to fix XM support.
This commit is contained in:
Ville Skyttä 2013-03-15 01:18:30 +02:00
parent c251409cdf
commit 9368b43b70
3 changed files with 35 additions and 3 deletions

View File

@ -0,0 +1,25 @@
From d391f253530b8503000627207e770a2cc2d903b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi>
Date: Thu, 14 Mar 2013 23:08:40 +0200
Subject: [PATCH] Fix precision loss in Taglib XM support test.
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2227630..2d5bf9b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -291,7 +291,7 @@ if (TAGLIB_LIBRARIES AND TAGLIB_CFLAGS)
set(_CMAKE_REQUIRED_DEFINITIONS_TMP ${CMAKE_REQUIRED_DEFINITIONS})
set(CMAKE_REQUIRED_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} ${TAGLIB_CFLAGS})
CHECK_CXX_SOURCE_COMPILES("#include <mpegfile.h>\nint main() {\n TagLib::MPEG::File file(\"somefile.mp3\");\n file.save(3, false, 3);\n return 0;\n}\n" HAVE_TAGLIB_ID3V23_SUPPORT)
- CHECK_CXX_SOURCE_COMPILES("#include <mpegfile.h>\n#include <xmfile.h>\nint main() {\n TagLib::MPEG::File file(\"somefile.mp3\");\n return (int)dynamic_cast<TagLib::XM::Properties*>(file.audioProperties());\n}\n" HAVE_TAGLIB_XM_SUPPORT)
+ CHECK_CXX_SOURCE_COMPILES("#include <mpegfile.h>\n#include <xmfile.h>\nint main() {\n TagLib::MPEG::File file(\"somefile.mp3\");\n return dynamic_cast<TagLib::XM::Properties*>(file.audioProperties()) != 0;\n}\n" HAVE_TAGLIB_XM_SUPPORT)
set(CMAKE_REQUIRED_LIBRARIES ${_CMAKE_REQUIRED_LIBRARIES_TMP})
set(CMAKE_REQUIRED_DEFINITIONS ${_CMAKE_REQUIRED_DEFINITIONS_TMP})
endif (TAGLIB_LIBRARIES AND TAGLIB_CFLAGS)
--
1.7.11.7

View File

@ -1,11 +1,13 @@
Name: kid3
Version: 2.2.1
Release: 3%{?dist}
Version: 2.3
Release: 1%{?dist}
Summary: Efficient KDE ID3 tag editor
License: GPLv2+
URL: http://kid3.sourceforge.net/
Source0: http://downloads.sourceforge.net/kid3/%{name}-%{version}.tar.gz
# Sent upstream 2013-03-15
Patch0: 0001-Fix-precision-loss-in-Taglib-XM-support-test.patch
BuildRequires: kdelibs4-devel
BuildRequires: cmake
@ -41,6 +43,7 @@ built without KDE dependencies.
%prep
%setup -q
%patch0 -p1
%build
@ -128,6 +131,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
* Thu Mar 14 2013 Ville Skyttä <ville.skytta@iki.fi> - 2.3-1
- Update to 2.3.
- Patch to fix XM support.
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

View File

@ -1 +1 @@
79a4e1e4d18672337539a15256cc52f4 kid3-2.2.1.tar.gz
ea78a5a1346b6c7a9cfab91a60feeb63 kid3-2.3.tar.gz