rpms/kdelibs/FC-6 kdelibs-3.5.7-ICEauthority.patch, NONE, 1.1 kdelibs.spec, 1.207, 1.208

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Jun 6 14:21:36 UTC 2007


Author: than

Update of /cvs/dist/rpms/kdelibs/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv22416

Modified Files:
	kdelibs.spec 
Added Files:
	kdelibs-3.5.7-ICEauthority.patch 
Log Message:
3.5.7


kdelibs-3.5.7-ICEauthority.patch:
 kapplication.cpp |    6 ++++++
 1 files changed, 6 insertions(+)

--- NEW FILE kdelibs-3.5.7-ICEauthority.patch ---
--- kdelibs-3.5.7/kdecore/kapplication.cpp.orig	2007-05-20 22:04:53.000000000 +0200
+++ kdelibs-3.5.7/kdecore/kapplication.cpp	2007-05-20 22:38:53.000000000 +0200
@@ -774,6 +774,12 @@
 
 void KApplication::init(bool GUIenabled)
 {
+  if (getuid() == 0) { 
+    setenv("ICEAUTHORITY", "/root/.ICEauthority", 0); 
+    setenv("KDEROOTHOME", "/root/.kde", 0); 
+    setenv("HOME", "/root", 1); 
+  } 
+
   d->guiEnabled = GUIenabled;
   if ((getuid() != geteuid()) ||
       (getgid() != getegid()))


Index: kdelibs.spec
===================================================================
RCS file: /cvs/dist/rpms/kdelibs/FC-6/kdelibs.spec,v
retrieving revision 1.207
retrieving revision 1.208
diff -u -r1.207 -r1.208
--- kdelibs.spec	5 Jun 2007 14:01:38 -0000	1.207
+++ kdelibs.spec	6 Jun 2007 14:21:34 -0000	1.208
@@ -46,7 +46,11 @@
 Patch39: kdelibs-3.5.4-kabc-make.patch
 Patch40: kdelibs-3.5.4-kdeprint-utf8.patch
 Patch41: kdelibs-3.5.6-utempter.patch
-Patch42: kdelibs-3.5.6-lang.patch
+Patch42: kdelibs-3.5.7-ICEauthority.patch
+Patch43: kdelibs-3.5.6-lang.patch
+
+# upstream patches
+Patch505: kdelibs-3.5.7-kde#146105.patch
 
 Requires: arts >= %{arts_epoch}:%{arts_version}
 Requires: qt >= %{qt_epoch}:%{qt_version}
@@ -171,7 +175,11 @@
 %patch39 -p1 -b .kabc-make
 %patch40 -p1 -b .kdeprint-utf8
 %patch41 -p1 -b .utempter
-%patch42 -p1 -b .lang
+%patch42 -p1 -b .ICEauthority
+%patch43 -p1 -b .lang
+
+# upstream patches
+%patch505 -p0 -b .kde#146105
 
 perl -pi -e "s,^#define KDE_VERSION_STRING .*,#define KDE_VERSION_STRING \"%{version}-%{release} %{distname}\"," kdecore/kdeversion.h
 




More information about the fedora-cvs-commits mailing list