rpms/pianobooster/devel pianobooster-0.6.4b-explicit-linking.patch, NONE, 1.1 pianobooster.spec, 1.5, 1.6

chkr chkr at fedoraproject.org
Thu May 6 04:10:39 UTC 2010


Author: chkr

Update of /cvs/pkgs/rpms/pianobooster/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv9023

Modified Files:
	pianobooster.spec 
Added Files:
	pianobooster-0.6.4b-explicit-linking.patch 
Log Message:
* Thu May 06 2010 Christian Krause <chkr at fedoraproject.org> - 0.6.4b-2
- Link libpthread and libGL explicitly


pianobooster-0.6.4b-explicit-linking.patch:
 CMakeLists.txt |    2 ++
 1 file changed, 2 insertions(+)

--- NEW FILE pianobooster-0.6.4b-explicit-linking.patch ---
diff -uNr pianobooster-src-0.6.4b.old/src/CMakeLists.txt pianobooster-src-0.6.4b/src/CMakeLists.txt
--- pianobooster-src-0.6.4b.old/src/CMakeLists.txt	2009-11-27 22:25:35.000000000 +0100
+++ pianobooster-src-0.6.4b/src/CMakeLists.txt	2010-05-06 05:47:22.000000000 +0200
@@ -57,6 +57,8 @@
     #IF(ALSA_FOUND)
         ADD_DEFINITIONS(-D__LINUX_ALSASEQ__)
         LINK_LIBRARIES (asound)
+    LINK_LIBRARIES (pthread)
+    LINK_LIBRARIES (GL)
     #ELSE(ALSA_FOUND)
     #    MESSAGE(FATAL_ERROR "Please install the 'libasound2-dev' package and then try again")
     #ENDIF(ALSA_FOUND)


Index: pianobooster.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pianobooster/devel/pianobooster.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- pianobooster.spec	6 May 2010 03:22:47 -0000	1.5
+++ pianobooster.spec	6 May 2010 04:10:39 -0000	1.6
@@ -1,12 +1,14 @@
 Name:            pianobooster
 Summary:         A MIDI file player that teaches you how to play the piano
 Version:         0.6.4b
-Release:         1%{?dist}
+Release:         2%{?dist}
 License:         GPLv3+
 Group:           Applications/Multimedia
 URL:             http://pianobooster.sourceforge.net/
 Source0:         http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.gz
 Source1:         %{name}.desktop
+# link libpthread and libGL explicitly
+Patch0:          pianobooster-0.6.4b-explicit-linking.patch
 BuildRoot:       %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires:   cmake
 BuildRequires:   qt4-devel
@@ -26,6 +28,7 @@ MIDI keyboard.
 
 %prep
 %setup -q -n %{name}-src-%{version}
+%patch0 -p1 -b .linkpthread
 
 sed -e 's|\r||g' README.txt > README.txt.tmp
 touch -r README.txt README.txt.tmp
@@ -85,6 +88,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/icons/hicolor/*/apps/*
 
 %changelog
+* Thu May 06 2010 Christian Krause <chkr at fedoraproject.org> - 0.6.4b-2
+- Link libpthread and libGL explicitly
+
 * Thu May 06 2010 Christian Krause <chkr at fedoraproject.org> - 0.6.4b-1
 - Update to new upstream version 0.6.4b (fixes BZ 571030)
 - Fix permission problem on source files in debuginfo package



More information about the scm-commits mailing list