rpms/ks3switch/devel ks3switch-desktop.patch, 1.3, 1.4 ks3switch-exec.patch, 1.2, 1.3

Paul Wouters (pwouters) fedora-extras-commits at redhat.com
Tue Sep 12 03:20:21 UTC 2006


Author: pwouters

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

Added Files:
	ks3switch-desktop.patch ks3switch-exec.patch 
Log Message:
re-instated claimed package


ks3switch-desktop.patch:

Index: ks3switch-desktop.patch
===================================================================
RCS file: ks3switch-desktop.patch
diff -N ks3switch-desktop.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ks3switch-desktop.patch	12 Sep 2006 03:20:21 -0000	1.4
@@ -0,0 +1,18 @@
+--- ks3switch/ks3switch.desktop~	2002-07-11 22:59:31.000000000 +0300
++++ ks3switch/ks3switch.desktop	2005-09-20 23:22:32.000000000 +0300
+@@ -1,12 +1,9 @@
+-# KDE Config File  
+ [Desktop Entry]
+ Encoding=UTF-8
+ Type=Application
+ Exec=ks3switch -caption "%c" %i %m  
+ Icon=ks3switch.png
+-DocPath=ks3switch/index.html
+-Comment=
+-Comment[de]=
+-Terminal=0
++Comment=Manage output devices of S3 chips
++Terminal=false
+ Name=KS3Switch
+-Name[de]=KS3Switch
++Categories=Settings;HardwareSettings;System;TrayIcon;KDE;

ks3switch-exec.patch:

Index: ks3switch-exec.patch
===================================================================
RCS file: ks3switch-exec.patch
diff -N ks3switch-exec.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ks3switch-exec.patch	12 Sep 2006 03:20:21 -0000	1.3
@@ -0,0 +1,15 @@
+Prevent an empty "exec=" in the config file from causing "" to be launched.
+
+--- ks3switch/ks3switch.cpp~	2002-07-12 10:45:13.000000000 +0300
++++ ks3switch/ks3switch.cpp	2004-07-22 16:44:54.000000000 +0300
+@@ -160,6 +160,10 @@
+ 	/** Set the values */
+ 	config->setGroup("General options");
+   s3switch = config->readEntry("exec");
++	if (s3switch.isEmpty())
++	{
++		s3switch = "s3switch";
++	}
+ 	if (config->readBoolEntry("PAL")){
+ 		TV_mode = "PAL";
+ 	}




More information about the fedora-extras-commits mailing list