rpms/xfce4-datetime-plugin/devel xfce4-datetime-datetime.c.patch, NONE, 1.1 xfce4-datetime-plugin.spec, 1.10, 1.11

Christoph Wickert (cwickert) fedora-extras-commits at redhat.com
Mon Jan 22 21:34:35 UTC 2007


Author: cwickert

Update of /cvs/extras/rpms/xfce4-datetime-plugin/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17235

Modified Files:
	xfce4-datetime-plugin.spec 
Added Files:
	xfce4-datetime-datetime.c.patch 
Log Message:
rebuild for Xfce 4.4, patch datetime.c

xfce4-datetime-datetime.c.patch:

--- NEW FILE xfce4-datetime-datetime.c.patch ---
--- panel-plugin/datetime.c.orig	2007-01-15 10:16:04.000000000 +0100
+++ panel-plugin/datetime.c	2007-01-21 16:53:42.000000000 +0100
@@ -430,6 +430,7 @@
   gchar *file;
   XfceRc *rc;
   const gchar *date_font, *time_font, *date_format, *time_format;
+  const gchar *val;
 
   /* load defaults */
   date_font = "Bitstream Vera Sans 8";
@@ -445,10 +446,14 @@
 
     if(rc != NULL)
     {
-      date_font	  = xfce_rc_read_entry(rc, "date_font", date_font);
-      time_font	  = xfce_rc_read_entry(rc, "time_font", time_font);
-      date_format = xfce_rc_read_entry(rc, "date_format", date_format);
-      time_format = xfce_rc_read_entry(rc, "time_format", time_format);
+      val = xfce_rc_read_entry(rc, "date_font", date_font);
+      date_font          = g_strdup(val);
+      val = xfce_rc_read_entry(rc, "time_font", time_font);
+      time_font          = g_strdup(val);
+      val = xfce_rc_read_entry(rc, "date_format", date_format);
+      date_format = g_strdup(val);
+      val = xfce_rc_read_entry(rc, "time_format", time_format);
+      time_format = g_strdup(val);
 
       xfce_rc_close(rc);
     }


Index: xfce4-datetime-plugin.spec
===================================================================
RCS file: /cvs/extras/rpms/xfce4-datetime-plugin/devel/xfce4-datetime-plugin.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- xfce4-datetime-plugin.spec	22 Dec 2006 02:45:45 -0000	1.10
+++ xfce4-datetime-plugin.spec	22 Jan 2007 21:34:05 -0000	1.11
@@ -1,12 +1,13 @@
 Name:		xfce4-datetime-plugin
 Version:	0.4.1
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Date/time plugin for the Xfce panel
 
 Group:		User Interface/Desktops
 License:	GPL
 URL:		http://goodies.xfce.org/projects/panel-plugins/%{name}
 Source0:	http://goodies.xfce.org/releases/%{name}/%{name}-%{version}.tar.gz
+Patch0:		xfce4-datetime-datetime.c.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	xfce4-panel-devel >= 4.3.99.2, libxfcegui4-devel  >= 4.3.99.2, libxml2-devel
@@ -19,6 +20,7 @@
 
 %prep
 %setup -q
+%patch0 -b .0.4.1
 
 %build
 %configure --disable-static
@@ -40,6 +42,10 @@
 %{_datadir}/xfce4/panel-plugins/*.desktop
 
 %changelog
+* Mon Jan 22 2007 Christoph Wickert <fedora christoph-wickert de> - 0.4.1-2
+- Rebuild for Xfce 4.4.
+- Patch datetime.c to 0.4.2.
+
 * Fri Dec 22 2006 Christoph Wickert <fedora christoph-wickert de> - 0.4.1-1
 - Update to 0.4.1.
 




More information about the scm-commits mailing list