rpms/hydrogen/EL-5 hydrogen-0.9.3-gcc43.patch, NONE, 1.1 hydrogen.spec, 1.1, 1.2

Lubomir Kundrak (lkundrak) fedora-extras-commits at redhat.com
Sun Apr 13 08:58:14 UTC 2008


Author: lkundrak

Update of /cvs/pkgs/rpms/hydrogen/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19443/EL-5

Modified Files:
	hydrogen.spec 
Added Files:
	hydrogen-0.9.3-gcc43.patch 
Log Message:
Import from devel

hydrogen-0.9.3-gcc43.patch:

--- NEW FILE hydrogen-0.9.3-gcc43.patch ---
The STL headers in gcc-4.3 have been cleaned up, so that the headers don't drag in
unnecessary dependencies which aren't requested by the standard.
This fixes build for gcc-4.3

Lubomir Kundrak <lkundrak at redhat.com>

diff -rup hydrogen-0.9.3.orig/src/gui/DrumkitManager.h hydrogen-0.9.3/src/gui/DrumkitManager.h
--- hydrogen-0.9.3.orig/src/gui/DrumkitManager.h	2005-10-18 00:32:04.000000000 +0200
+++ hydrogen-0.9.3/src/gui/DrumkitManager.h	2008-01-03 21:45:23.000000000 +0100
@@ -43,6 +43,7 @@
 #include <qwidget.h>
 
 #include <vector>
+#include <cstdlib>
 
 #include "UI/DrumkitManager_UI.h"
 #include "lib/Object.h"
diff -rup hydrogen-0.9.3.orig/src/gui/main.cpp hydrogen-0.9.3/src/gui/main.cpp
--- hydrogen-0.9.3.orig/src/gui/main.cpp	2005-11-08 15:52:51.000000000 +0100
+++ hydrogen-0.9.3/src/gui/main.cpp	2008-01-03 21:51:21.000000000 +0100
@@ -43,6 +43,7 @@
 #include "lib/Exception.h"
 
 #include <iostream>
+#include <cstdlib>
 using namespace std;
 
 void showInfo();
diff -rup hydrogen-0.9.3.orig/src/lib/FLACFile.cpp hydrogen-0.9.3/src/lib/FLACFile.cpp
--- hydrogen-0.9.3.orig/src/lib/FLACFile.cpp	2008-01-03 21:06:25.000000000 +0100
+++ hydrogen-0.9.3/src/lib/FLACFile.cpp	2008-01-03 21:39:52.000000000 +0100
@@ -27,6 +27,7 @@
 
 #include <vector>
 #include <fstream>
+#include <cstring>
 
 #ifdef FLAC_SUPPORT
 
diff -rup hydrogen-0.9.3.orig/src/tools/HydrogenPlayer.cpp hydrogen-0.9.3/src/tools/HydrogenPlayer.cpp
--- hydrogen-0.9.3.orig/src/tools/HydrogenPlayer.cpp	2005-10-18 00:32:04.000000000 +0200
+++ hydrogen-0.9.3/src/tools/HydrogenPlayer.cpp	2008-01-04 23:30:06.000000000 +0100
@@ -28,6 +28,7 @@
 #include <iostream>
 #include <stdio.h>
 #include <string>
+#include <cstdlib>
 
 #include "lib/Hydrogen.h"
 #include "lib/LocalFileMng.h"


Index: hydrogen.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hydrogen/EL-5/hydrogen.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hydrogen.spec	9 Oct 2007 06:20:08 -0000	1.1
+++ hydrogen.spec	13 Apr 2008 08:57:37 -0000	1.2
@@ -1,7 +1,7 @@
 Summary:      Advanced drum machine for GNU/Linux
 Name:         hydrogen
 Version:      0.9.3
-Release:      9%{?dist}
+Release:      13%{?dist}
 URL:          http://www.hydrogen-music.org/
 Source0:      http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Patch0:       hydrogen-0.9.3-g++4.patch
@@ -9,17 +9,14 @@
 Patch3:       hydrogen-0.9.3-wasp.patch
 Patch4:       hydrogen-0.9.3-libdir.patch
 Patch5:       hydrogen-0.9.3-null-sample.patch
+Patch6:       hydrogen-0.9.3-gcc43.patch
 License:      GPLv2+
 Group:        Applications/Multimedia
 BuildRoot:    %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: flac-devel jack-audio-connection-kit-devel liblrdf-devel
-BuildRequires: qt-devel libsndfile-devel alsa-lib-devel
-BuildRequires: libxml2-devel
-
-BuildRequires:    desktop-file-utils
-Requires(post):   desktop-file-utils
-Requires(postun): desktop-file-utils
+BuildRequires: qt3-devel libsndfile-devel alsa-lib-devel
+BuildRequires: libxml2-devel desktop-file-utils
 
 %description
 Hydrogen is an advanced drum machine for GNU/Linux. It's main goal is
@@ -33,10 +30,9 @@
 %patch3 -p1 -b .wasp
 %patch4 -p1 -b .libdir
 %patch5 -p0 -b .null-sample
+%patch6 -p1 -b .gcc43
 
 %build
-unset QTDIR || : ; . /etc/profile.d/qt.sh
-export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include
 %configure --disable-oss-support
 # Not using _smp_mflags macro: Dependencies are not tracked correctly in
 # Makefiles, concurrency problems would occur
@@ -81,6 +77,20 @@
 %{_datadir}/applications/fedora-hydrogen.desktop
 
 %changelog
+* Fri Apr 04 2008 Lubomir Kundrak <lkundrak at redhat.com> - 0.9.3-13
+- QT3 changes by rdieter
+- Fix build
+
+* Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.9.3-12
+- Autorebuild for GCC 4.3
+
+* Thu Jan 03 2008 Lubomir Kundrak <lkundrak at redhat.com> 0.9.3-11
+- Previous change was not a good idea
+- Adding missing includes to fix build with gcc-4.3
+
+* Sun Oct 14 2007 Lubomir Kundrak <lkundrak at redhat.com> 0.9.3-10
+- Remove unneeded dependencies on desktop-file-utils
+
 * Mon Oct 09 2007 Lubomir Kundrak <lkundrak at redhat.com> 0.9.3-9
 - Incorporate fixes from #190040, thanks to Hans de Goede
 - Removed useless LIBDIR introduced in previous revision




More information about the fedora-extras-commits mailing list