2011-05-09 Rohini S <[email protected]> s11express-2010-11 OSE1011_SRU7_03
authoran230044
Mon, 09 May 2011 12:59:25 +0000
branchs11express-2010-11
changeset 21733 22d7e2ca7ec3
parent 21732 ee45b3d96cf4
child 21843 52f6d2611ebf
2011-05-09 Rohini S <[email protected]> * patches/brasero-02-tmp-dir.diff: * specs/SUNWgnome-cd-burner.spec: * Fixes 6988688
ChangeLog
patches/brasero-02-tmp-dir.diff
specs/SUNWgnome-cd-burner.spec
--- a/ChangeLog	Mon May 09 12:39:25 2011 +0000
+++ b/ChangeLog	Mon May 09 12:59:25 2011 +0000
@@ -1,3 +1,9 @@
+2011-05-09  Rohini S  <[email protected]>
+
+	* patches/brasero-02-tmp-dir.diff:
+	* specs/SUNWgnome-cd-burner.spec:
+	* Fixes 6988688
+
 2011-05-09  Rohini S  <[email protected]>
 
 	* base-specs/avahi.spec: bump to 0.6.30
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/brasero-02-tmp-dir.diff	Mon May 09 12:59:25 2011 +0000
@@ -0,0 +1,11 @@
+--- brasero-2.30.3/libbrasero-burn/brasero-session.c	2010-08-30 19:23:49.000000000 +0530
++++ brasero-2.30.3.warea/libbrasero-burn/brasero-session.c	2011-04-19 12:37:48.816875000 +0530
+@@ -2445,7 +2445,7 @@
+ 	}
+ 
+ 	client = gconf_client_get_default ();
+-	gconf_client_set_string (client, BRASERO_TEMPORARY_DIRECTORY_KEY, priv->tmpdir, NULL);
++	gconf_client_set_string (client, BRASERO_TEMPORARY_DIRECTORY_KEY, priv->tmpdir?priv->tmpdir:g_get_tmp_dir(), NULL);
+ 	g_object_unref (client);
+ 
+ 	if (priv->tmpdir) {
--- a/specs/SUNWgnome-cd-burner.spec	Mon May 09 12:39:25 2011 +0000
+++ b/specs/SUNWgnome-cd-burner.spec	Mon May 09 12:59:25 2011 +0000
@@ -30,6 +30,7 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # date:2009-05-27 owner:lin type:branding
 Patch1:         brasero-01-load-by-gksu.diff
+Patch2:		brasero-02-tmp-dir.diff
 
 %include default-depend.inc
 BuildRequires: SUNWgtk2-devel
@@ -82,6 +83,7 @@
 cd po-sun; make; cd ..
 
 %patch1 -p1
+%patch2 -p1
 
 find . -name "*.[ch]" -exec dos2unix -ascii {} {} \;
 
@@ -202,6 +204,8 @@
 %endif
 
 %changelog
+* Mon May 09 2011 - [email protected]
+- Add patch brasero-02-tmp-dir.diff 
 * Tue Sep 28 2010 - [email protected]
 - Bump to 2.30.3(doo16845)
 * Tue Jun 08 2010 - [email protected]