rpms/kdegames/F-7 kdegames-3.5.8-kpat_background.patch, NONE, 1.1 kdegames.spec, 1.61, 1.62

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Mon Nov 19 14:38:43 UTC 2007


Author: rdieter

Update of /cvs/pkgs/rpms/kdegames/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11466

Modified Files:
	kdegames.spec 
Added Files:
	kdegames-3.5.8-kpat_background.patch 
Log Message:
* Mon Nov 19 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 6:3.5.8-4
- kpat does not start when kdebase not installed (#247746)


kdegames-3.5.8-kpat_background.patch:

--- NEW FILE kdegames-3.5.8-kpat_background.patch ---
diff -up kdegames-3.5.8/kpat/pwidget.cpp.kpat_background kdegames-3.5.8/kpat/pwidget.cpp
--- kdegames-3.5.8/kpat/pwidget.cpp.kpat_background	2005-09-10 03:18:32.000000000 -0500
+++ kdegames-3.5.8/kpat/pwidget.cpp	2007-11-19 08:28:06.000000000 -0600
@@ -125,7 +125,7 @@ pWidget::pWidget()
     }
 
     wallpapers->setItems(list2);
-    wallpapers->setCurrentItem(list2.findIndex("No-Ones-Laughing-3"));
+    wallpapers->setCurrentItem(list2.findIndex("green"));
 
     changeWallpaper();
 
@@ -151,7 +151,7 @@ pWidget::pWidget()
     QString bgpath = config->readPathEntry("Background");
     kdDebug(11111) << "bgpath '" << bgpath << "'" << endl;
     if (bgpath.isEmpty())
-        bgpath = locate("wallpaper", "No-Ones-Laughing-3.jpg");
+        bgpath = locate("wallpaper", "green.png");
     background = QPixmap(bgpath);
 
     bool animate = config->readBoolEntry( "Animation", true);


Index: kdegames.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdegames/F-7/kdegames.spec,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- kdegames.spec	25 Oct 2007 02:42:51 -0000	1.61
+++ kdegames.spec	19 Nov 2007 14:38:03 -0000	1.62
@@ -12,7 +12,7 @@
 Summary: K Desktop Environment - Games
 Epoch:   6
 Version: 3.5.8
-Release: 3%{?dist}
+Release: 4%{?dist}
 
 License: GPLv2
 Group:   Amusements/Games
@@ -22,6 +22,8 @@
 
 Patch0: kdegames-3.1.1-konquest.patch
 Patch1: kdegames-3.5.8-trademarks.patch
+# http://bugzilla.redhat.com/247746
+Patch2: kdegames-3.5.8-kpat_background.patch
 
 Provides: kdegames3 = %{version}-%{release}
 
@@ -30,10 +32,9 @@
 %else
 Obsoletes: %{name}-libs < %{?epoch:%{epoch}:}%{version}-%{release}
 Provides:  %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release}
-%endif
-
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
+%endif
 
 BuildRequires: kdelibs3-devel >= %{version}
 %if %{make_cvs}
@@ -77,6 +78,7 @@
 
 %patch0 -p1 -b .konquest
 %patch1 -p1 -b .trademarks
+%patch2 -p1 -b .kpat_background
 
 %if %{make_cvs}
    make -f admin/Makefile.common cvs
@@ -193,6 +195,9 @@
 
 
 %changelog
+* Mon Nov 19 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 6:3.5.8-4
+- kpat does not start when kdebase not installed (#247746)
+
 * Wed Oct 24 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 6:3.5.8-3 
 - -libs conditional (f8+)
 - -libs: %%post/%%postun -p /sbin/ldconfig




More information about the fedora-extras-commits mailing list