rpms/qdevelop/devel qdevelop-0.27.4-qt451.patch, NONE, 1.1 qdevelop.spec, 1.7, 1.8

Kevin Kofler kkofler at fedoraproject.org
Thu Apr 30 22:25:29 UTC 2009


Author: kkofler

Update of /cvs/pkgs/rpms/qdevelop/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8695/devel

Modified Files:
	qdevelop.spec 
Added Files:
	qdevelop-0.27.4-qt451.patch 
Log Message:
* Thu Apr 30 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 0.27.4-3
- Fix failure to compile a project with Qt 4.5.1 (#497734, patch by Than Ngo)

qdevelop-0.27.4-qt451.patch:

--- NEW FILE qdevelop-0.27.4-qt451.patch ---
diff -up qdevelop-0.27.4/src/mainimpl.cpp.orig qdevelop-0.27.4/src/mainimpl.cpp
--- qdevelop-0.27.4/src/mainimpl.cpp.orig	2009-04-30 23:15:56.000000000 +0200
+++ qdevelop-0.27.4/src/mainimpl.cpp	2009-04-30 23:34:25.000000000 +0200
@@ -431,6 +431,7 @@ void MainImpl::createConnections()
     m_buildingGroup->addAction( actionDebug_mode );
     m_buildingGroup->addAction( actionRelease_mode );
     m_buildingGroup->addAction( action_Forget_last_used_mode );
+    m_buildingGroup->setEnabled( false );
 }
 //
 void MainImpl::slotShortcuts()
@@ -1133,6 +1134,7 @@ bool MainImpl::openProject(QString s)
     setWindowTitle( s );
     setCurrentProject( s );
     m_projectGroup->setEnabled( true );
+    m_buildingGroup->setEnabled( true );
     slotClickTreeFiles( treeFiles->topLevelItem ( 0 ), 0);
     return true;
 }
@@ -1165,6 +1167,7 @@ bool MainImpl::slotCloseProject(bool /*h
     m_projectManager = 0;
     setWindowTitle( "QDevelop" );
     m_projectGroup->setEnabled( false );
+    m_buildingGroup->setEnabled( false );
     delete m_findInFiles;
     m_findInFiles = 0;
     return true;


Index: qdevelop.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qdevelop/devel/qdevelop.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- qdevelop.spec	22 Apr 2009 20:59:47 -0000	1.7
+++ qdevelop.spec	30 Apr 2009 22:24:59 -0000	1.8
@@ -1,6 +1,6 @@
 Name:           qdevelop
 Version:        0.27.4
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Development environment dedicated to Qt4
 
 Group:          Development/Tools
@@ -8,6 +8,8 @@ License:        GPLv2+
 URL:            http://qdevelop.org/
 Source0:        %{name}-%{version}.tar.gz
 Source1:        %{name}.desktop
+# fix failure to compile a project with Qt 4.5.1 (#497734)
+Patch0:         qdevelop-0.27.4-qt451.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  desktop-file-utils
@@ -21,6 +23,7 @@ possibly gdb for program debugging and c
 
 %prep
 %setup -q
+%patch0 -p1 -b .qt451
 # for wrong-script-end-of-line-encoding
 sed -i -e 's/\r//' README.txt
 # hardcoded lib path 
@@ -55,6 +58,8 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Apr 30 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 0.27.4-3
+- Fix failure to compile a project with Qt 4.5.1 (#497734, patch by Than Ngo)
 * Wed Apr 22 2009 Nicoleau Fabien <nicoleau.fabien at gmail.com> - 0.27.4-2
 - Rebuild for Qt 4.5
 * Thu Mar  5 2009 Nicoleau Fabien <nicoleau.fabien at gmail.com> - 0.27.4-1




More information about the fedora-extras-commits mailing list