rpms/qps/devel qps-1.9.11.gcc41.patch,NONE,1.1 qps.spec,1.2,1.3

Dawid Gajownik (gajownik) fedora-extras-commits at redhat.com
Sun Dec 18 03:16:39 UTC 2005


Author: gajownik

Update of /cvs/extras/rpms/qps/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20252

Modified Files:
	qps.spec 
Added Files:
	qps-1.9.11.gcc41.patch 
Log Message:
Fix compilation with GCC 4.1 and add COPYING file.


qps-1.9.11.gcc41.patch:

--- NEW FILE qps-1.9.11.gcc41.patch ---
diff -Nurp qps-1.9.11.orig/htable.h qps-1.9.11/htable.h
--- qps-1.9.11.orig/htable.h	2005-11-12 07:32:30.000000000 +0100
+++ qps-1.9.11/htable.h	2005-12-18 03:43:55.000000000 +0100
@@ -76,7 +76,7 @@ class TableBody : public QtTableView
     Q_OBJECT
 public:
     TableBody(HeadedTable *parent = 0);
-    void TableBody::drawGhostCol(int x, int w);
+    void drawGhostCol(int x, int w);
 //DEL	void setProcview(Procview *p) { procview = p ; }
 
 protected slots:
diff -Nurp qps-1.9.11.orig/infobar.h qps-1.9.11/infobar.h
--- qps-1.9.11.orig/infobar.h	2005-05-07 12:51:42.000000000 +0200
+++ qps-1.9.11/infobar.h	2005-12-18 03:44:35.000000000 +0100
@@ -85,7 +85,7 @@ class CpuLabel : public QFrame
 {
     Q_OBJECT
 public:
-    CpuLabel::CpuLabel(QWidget *parent, int cpus);
+    CpuLabel(QWidget *parent, int cpus);
 
     void setValue(int cpu, int field, unsigned long value)
         { values(cpu, field) = value; }
diff -Nurp qps-1.9.11.orig/qps.h qps-1.9.11/qps.h
--- qps-1.9.11.orig/qps.h	2005-11-12 07:32:30.000000000 +0100
+++ qps-1.9.11/qps.h	2005-12-18 03:45:24.000000000 +0100
@@ -34,7 +34,7 @@ class ControlBar : public QFrame
 {
 	Q_OBJECT
 	public:
-		ControlBar::ControlBar(QWidget *parent);
+		ControlBar(QWidget *parent);
 		QPushButton *updateButton() { return b_update; }
 		void setMode(bool treemode);
 	
@@ -60,7 +60,7 @@ class StatusBar : public QStatusBar
 {
 	Q_OBJECT
 	public:
-		StatusBar::StatusBar(QWidget *parent);
+		StatusBar(QWidget *parent);
     		void refresh();
     		void update(int n);
 


Index: qps.spec
===================================================================
RCS file: /cvs/extras/rpms/qps/devel/qps.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- qps.spec	12 Nov 2005 11:06:54 -0000	1.2
+++ qps.spec	18 Dec 2005 03:16:37 -0000	1.3
@@ -1,13 +1,14 @@
 Name:           qps
 Version:        1.9.11
-Release:        1%{?dist}
+Release:        2.1%{?dist}
 Summary:        Visual process status monitor
 
 Group:          Applications/System
 License:        GPL
 URL:            http://qps.kldp.net/
-Source0:        http://kldp.net/frs/download.php/2930/qps-1.9.11.tar.gz
+Source0:        http://kldp.net/frs/download.php/2935/qps-1.9.11-2.tar.gz
 Source1:        qps.desktop
+Patch0:         qps-1.9.11.gcc41.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  desktop-file-utils
@@ -19,6 +20,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 
 %build
@@ -46,7 +48,7 @@
 
 %files
 %defattr(-,root,root,-)
-%doc CHANGES
+%doc CHANGES COPYING
 %{_bindir}/qps
 %{_datadir}/applications/*qps.desktop
 %{_datadir}/pixmaps/qps.xpm
@@ -54,6 +56,14 @@
 
 
 %changelog
+* Sun Dec 18 2005 Dawid Gajownik <gajownik[AT]fedora.pl> - 1.9.11-2.1
+- Fix compilation with GCC 4.1
+- Use funny release tag because tarball name contains `-' character
+- Add COPYING file
+
+* Sat Nov 12 2005 Dawid Gajownik <gajownik[AT]fedora.pl> - 1.9.11-2
+- Increase release tag (always do `cvs ci' before `make tag' ;) )
+
 * Sat Nov 12 2005 Dawid Gajownik <gajownik[AT]fedora.pl> - 1.9.11-1
 - Update to 1.9.11.
 




More information about the fedora-extras-commits mailing list