rpms/cairo-dock/F-8 .cvsignore, 1.5, 1.6 cairo-dock-fix-insecure-tmpfile.patch, 1.1, 1.2 cairo-dock.spec, 1.10, 1.11 sources, 1.5, 1.6

Mamoru Tasaka (mtasaka) fedora-extras-commits at redhat.com
Sat Jun 21 06:22:46 UTC 2008


Author: mtasaka

Update of /cvs/extras/rpms/cairo-dock/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24953/F-8

Modified Files:
	.cvsignore cairo-dock-fix-insecure-tmpfile.patch 
	cairo-dock.spec sources 
Log Message:
* Sat Jun 21 2008 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.6.0.2-1.date20080621
- 1.6.0.2



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/cairo-dock/F-8/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- .cvsignore	19 Jun 2008 04:10:53 -0000	1.5
+++ .cvsignore	21 Jun 2008 06:21:58 -0000	1.6
@@ -1 +1 @@
-cairo-dock-sources-20080619.tar.bz2
+cairo-dock-sources-20080621.tar.bz2

cairo-dock-fix-insecure-tmpfile.patch:

Index: cairo-dock-fix-insecure-tmpfile.patch
===================================================================
RCS file: /cvs/extras/rpms/cairo-dock/F-8/cairo-dock-fix-insecure-tmpfile.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cairo-dock-fix-insecure-tmpfile.patch	19 Jun 2008 03:52:51 -0000	1.1
+++ cairo-dock-fix-insecure-tmpfile.patch	21 Jun 2008 06:21:58 -0000	1.2
@@ -1,61 +1,10 @@
---- trunk/plug-ins/compiz-icon/src/applet-notifications.c.tmpuse	2008-06-15 02:04:01.000000000 +0900
-+++ trunk/plug-ins/compiz-icon/src/applet-notifications.c	2008-06-15 20:51:54.000000000 +0900
-@@ -8,6 +8,8 @@
- 
- ******************************************************************************/
- 
-+#define _BSD_SOURCE
-+#include <unistd.h>
- #include <stdlib.h>
- #include <string.h>
- #include <glib/gi18n.h>
-@@ -23,13 +25,26 @@
- CD_APPLET_ABOUT (D_("This is the compiz-icon applet\n made by ChAnGFu for Cairo-Dock"))
- 
- static void _compiz_get_version (void) {
-+	char *tmpfile = g_strdup("/tmp/cd-compiz-version.XXXXXX");
-+	char *cmd_header = "compiz.real --version | awk '{print $2}' > ";
-+	char *cmd = g_malloc(strlen(cmd_header) + strlen(tmpfile) + 2);
-+	int fds = mkstemp(tmpfile);
-+	if (fds == -1) {
-+		free (tmpfile);
-+		free (cmd);
-+		return;
-+	}
-+	close(fds);
-+
- 	if (myData.iCompizMajor != 0 || myData.iCompizMinor != 0 || myData.iCompizMicro != 0)
- 		return ;
--	system ("compiz.real --version | awk '{print $2}' > /tmp/cd-compiz-version");
-+	sprintf(cmd, "%s%s", cmd_header, tmpfile);
-+	system (cmd);
-+	g_free (cmd);
- 	GError *erreur = NULL;
- 	gsize length = 0;
- 	gchar *cContent = NULL;
--	g_file_get_contents ("/tmp/cd-compiz-version", &cContent, &length, &erreur);
-+	g_file_get_contents (tmpfile, &cContent, &length, &erreur);
- 	if (erreur != NULL) {
- 		cd_warning ("Attention : couldn't guess Compiz's version [%s]", erreur->message);
- 		g_error_free (erreur);
-@@ -40,7 +55,9 @@
- 		g_free (cContent);
+--- ./plug-ins/compiz-icon/src/applet-notifications.c.tmpuse	2008-06-21 10:12:26.000000000 +0900
++++ ./plug-ins/compiz-icon/src/applet-notifications.c	2008-06-21 12:18:54.000000000 +0900
+@@ -35,6 +35,7 @@
+ 		g_free (cTmpFile);
+ 		return;
  	}
- 	cd_message ("Compiz : %d.%d.%d", myData.iCompizMajor, myData.iCompizMinor, myData.iCompizMicro);
--	g_remove ("/tmp/cd-compiz-version");
-+	g_remove (tmpfile);
-+	g_free (tmpfile);
-+	tmpfile = NULL;
- }
- 
- static void _compiz_dbus_action (const gchar *cCommand) {
---- trunk/plug-ins/nVidia/src/applet-nvidia.c.tmpuse	2008-06-15 12:37:12.000000000 +0900
-+++ trunk/plug-ins/nVidia/src/applet-nvidia.c	2008-06-15 21:15:21.000000000 +0900
-@@ -100,6 +100,7 @@
- 	gchar *cCommand = g_strdup_printf ("bash %s/nvidia-config %s", MY_APPLET_SHARE_DATA_DIR, s_cTmpFileConfig);
++	close(fds);
+ 	gchar *cCommand = g_strdup_printf ("compiz.real --version | awk '{print $2}' > %s", cTmpFile);
  	system (cCommand);
  	g_free (cCommand);
-+	close(fds);
- }
- 
- static gboolean _nvidia_get_values_from_file (gchar *cContent) {


Index: cairo-dock.spec
===================================================================
RCS file: /cvs/extras/rpms/cairo-dock/F-8/cairo-dock.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- cairo-dock.spec	19 Jun 2008 19:09:53 -0000	1.10
+++ cairo-dock.spec	21 Jun 2008 06:21:58 -0000	1.11
@@ -1,15 +1,14 @@
 # For svn
 # svn checkout http://svn.berlios.de/svnroot/repos/cairo-dock/trunk
-# mkdir -p opt/cairo-dock
-# mv trunk opt/cairo-dock
-# tar cjf cairo-dock-sources-%%{tag}.tar.bz2 opt/
+# cd trunk
+# tar cjf ../cairo-dock-sources-%%{tag}.tar.bz2 .
 
-%define		tarballver	20080619
-%define		mainver		1.6.0.1
+%define		tarballver	20080621
+%define		mainver		1.6.0.2
 %define		build_gecko	1
 
 
-%define		fedora_rel	2.date%{tarballver}
+%define		fedora_rel	1.date%{tarballver}
 
 
 %if 0%{?fedora} >= 9
@@ -133,7 +132,6 @@
 find . -type d -name \.svn | sort -r | xargs %{__rm} -rf
 find . -type d -name \*CVS\* | sort -r | xargs %{__rm} -rf
 
-#pushd opt/cairo-dock/trunk/cairo-dock
 pushd .
 %patch0 -p1 -b .tmpuse
 %patch1 -p0 -b .rootwin -R
@@ -195,16 +193,8 @@
 %endif
 
 # temporary fix
-## AC_SUBST fix
-%{__sed} -i.acdebug \
-	-e 's|\(AC_SUBST([^ ,][^ ,]*\) |\1, |'\
-	configure.ac
 
 # First deal with subdirs in topdir configure.ac, then else
-%{__sed} -i.typo \
-	-e 's|^xfce_dir=.*$|xfce_dir=xfce-integration|' \
-	Makefile.am
-
 Subdirs_1=$(%{__sed} -n '\@SUBDIR@,\@^.*[^\\]$@s|\\$||p' Makefile.am | tail -n +2)
 %{__sed} -n -e '\@_dir=@p' Makefile.am > eval.sh
 
@@ -254,7 +244,6 @@
 status=0
 
 # A. main
-#pushd opt/cairo-dock/trunk/cairo-dock
 pushd cairo-dock
 
 %configure
@@ -314,7 +303,6 @@
 TOPDIR=$(pwd)
 
 # A. main
-#pushd opt/cairo-dock/trunk/cairo-dock
 pushd cairo-dock
 export PKG_CONFIG_PATH=$(pwd):${PKG_CONFIG_PATH}
 
@@ -506,6 +494,9 @@
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Sat Jun 21 2008 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.6.0.2-1.date20080621
+- 1.6.0.2
+
 * Fri Jun 20 2008 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.6.0.1-2.date20080619
 - Revert XCompositeRedirectSubwindows() part in 
   cairo-dock-X-utilities.c


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/cairo-dock/F-8/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources	19 Jun 2008 04:10:53 -0000	1.5
+++ sources	21 Jun 2008 06:21:58 -0000	1.6
@@ -1 +1 @@
-fcf4f8f660a72fbbcd3eafe3144c7b9d  cairo-dock-sources-20080619.tar.bz2
+5b0affd64320a2903e63f901df4716ef  cairo-dock-sources-20080621.tar.bz2




More information about the fedora-extras-commits mailing list