packages: xfce4-datetime-plugin/xfce4-datetime-plugin.spec, xfce4-datetime-...

baggins baggins at pld-linux.org
Tue Mar 1 12:49:40 CET 2011


Author: baggins                      Date: Tue Mar  1 11:49:40 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3
- port to libxfce4ui

---- Files affected:
packages/xfce4-datetime-plugin:
   xfce4-datetime-plugin.spec (1.18 -> 1.19) , xfce4-datetime-plugin-ui.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/xfce4-datetime-plugin/xfce4-datetime-plugin.spec
diff -u packages/xfce4-datetime-plugin/xfce4-datetime-plugin.spec:1.18 packages/xfce4-datetime-plugin/xfce4-datetime-plugin.spec:1.19
--- packages/xfce4-datetime-plugin/xfce4-datetime-plugin.spec:1.18	Thu Feb 17 12:48:40 2011
+++ packages/xfce4-datetime-plugin/xfce4-datetime-plugin.spec	Tue Mar  1 12:49:35 2011
@@ -3,17 +3,18 @@
 Summary(pl.UTF-8):	Wtyczka panelu Xfce pokazująca datę i czas
 Name:		xfce4-datetime-plugin
 Version:	0.6.1
-Release:	2
+Release:	3
 License:	GPL v2
 Group:		X11/Applications
 Source0:	http://goodies.xfce.org/releases/xfce4-datetime-plugin/%{name}-%{version}.tar.bz2
 # Source0-md5:	e82f51ff0e75a63e5cbd139e43e094f9
+Patch0:		%{name}-ui.patch
 URL:		http://goodies.xfce.org/projects/panel-plugins/xfce4-datetime-plugin
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	intltool
 BuildRequires:	libtool
-BuildRequires:	libxfcegui4-devel >= 4.4.0
+BuildRequires:	libxfce4ui-devel
 BuildRequires:	xfce4-dev-tools >= 4.4.0
 BuildRequires:	xfce4-panel-devel >= 4.4.0
 Requires:	xfce4-panel >= 4.4.0
@@ -29,6 +30,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__intltoolize}
@@ -68,6 +70,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2011/03/01 11:49:35  baggins
+- rel 3
+- port to libxfce4ui
+
 Revision 1.18  2011/02/17 11:48:40  megabajt
 - release 2
 

================================================================
Index: packages/xfce4-datetime-plugin/xfce4-datetime-plugin-ui.patch
diff -u /dev/null packages/xfce4-datetime-plugin/xfce4-datetime-plugin-ui.patch:1.1
--- /dev/null	Tue Mar  1 12:49:40 2011
+++ packages/xfce4-datetime-plugin/xfce4-datetime-plugin-ui.patch	Tue Mar  1 12:49:35 2011
@@ -0,0 +1,151 @@
+diff -ur xfce4-datetime-plugin-0.6.1-orig/config.h.in xfce4-datetime-plugin-0.6.1/config.h.in
+--- xfce4-datetime-plugin-0.6.1-orig/config.h.in	2008-11-19 08:10:47.000000000 +0100
++++ xfce4-datetime-plugin-0.6.1/config.h.in	2011-03-01 12:45:13.000000000 +0100
+@@ -57,6 +57,10 @@
+ /* Define to 1 if you have the <unistd.h> header file. */
+ #undef HAVE_UNISTD_H
+ 
++/* Define to the sub-directory in which libtool stores uninstalled libraries.
++   */
++#undef LT_OBJDIR
++
+ /* Name of package */
+ #undef PACKAGE
+ 
+@@ -72,21 +76,39 @@
+ /* Define to the one symbol short name of this package. */
+ #undef PACKAGE_TARNAME
+ 
++/* Define to the home page for this package. */
++#undef PACKAGE_URL
++
+ /* Define to the version of this package. */
+ #undef PACKAGE_VERSION
+ 
+ /* Define to 1 if you have the ANSI C header files. */
+ #undef STDC_HEADERS
+ 
+-/* Version number of package */
+-#undef VERSION
+-
+-/* Define to 1 if on AIX 3.
+-   System headers sometimes define this.
+-   We just want to avoid a redefinition error message.  */
++/* Enable extensions on AIX 3, Interix.  */
+ #ifndef _ALL_SOURCE
+ # undef _ALL_SOURCE
+ #endif
++/* Enable GNU extensions on systems that have them.  */
++#ifndef _GNU_SOURCE
++# undef _GNU_SOURCE
++#endif
++/* Enable threading extensions on Solaris.  */
++#ifndef _POSIX_PTHREAD_SEMANTICS
++# undef _POSIX_PTHREAD_SEMANTICS
++#endif
++/* Enable extensions on HP NonStop.  */
++#ifndef _TANDEM_SOURCE
++# undef _TANDEM_SOURCE
++#endif
++/* Enable general extensions on Solaris.  */
++#ifndef __EXTENSIONS__
++# undef __EXTENSIONS__
++#endif
++
++
++/* Version number of package */
++#undef VERSION
+ 
+ /* Define to 1 if on MINIX. */
+ #undef _MINIX
+diff -ur xfce4-datetime-plugin-0.6.1-orig/configure.in xfce4-datetime-plugin-0.6.1/configure.in
+--- xfce4-datetime-plugin-0.6.1-orig/configure.in	2008-11-19 08:10:31.000000000 +0100
++++ xfce4-datetime-plugin-0.6.1/configure.in	2011-03-01 12:45:09.698889237 +0100
+@@ -31,7 +31,7 @@
+ 
+ dnl Check for required packages
+ XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0])
+-XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.3.99.2])
++XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.8.0])
+ XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.3.99.2])
+ XDT_CHECK_PACKAGE([LIBXFCE4PANEL],[libxfce4panel-1.0],[4.3.99.2])
+ 
+diff -ur xfce4-datetime-plugin-0.6.1-orig/panel-plugin/datetime.c xfce4-datetime-plugin-0.6.1/panel-plugin/datetime.c
+--- xfce4-datetime-plugin-0.6.1-orig/panel-plugin/datetime.c	2008-10-25 19:07:51.000000000 +0200
++++ xfce4-datetime-plugin-0.6.1/panel-plugin/datetime.c	2011-03-01 12:45:09.698889237 +0100
+@@ -28,10 +28,9 @@
+ #include <string.h>
+ 
+ /* xfce includes */
+-#include <libxfcegui4/libxfcegui4.h>
++#include <libxfce4ui/libxfce4ui.h>
+ #include <libxfce4util/libxfce4util.h>
+-#include <libxfce4panel/xfce-panel-plugin.h>
+-#include <libxfce4panel/xfce-panel-convenience.h>
++#include <libxfce4panel/libxfce4panel.h>
+ 
+ #include "datetime.h"
+ #include "datetime-dialog.h"
+diff -ur xfce4-datetime-plugin-0.6.1-orig/panel-plugin/datetime-dialog.c xfce4-datetime-plugin-0.6.1/panel-plugin/datetime-dialog.c
+--- xfce4-datetime-plugin-0.6.1-orig/panel-plugin/datetime-dialog.c	2008-11-19 08:06:14.000000000 +0100
++++ xfce4-datetime-plugin-0.6.1/panel-plugin/datetime-dialog.c	2011-03-01 12:47:56.425889238 +0100
+@@ -28,9 +28,9 @@
+ #include <string.h>
+ 
+ /* xfce includes */
+-#include <libxfcegui4/libxfcegui4.h>
++#include <libxfce4ui/libxfce4ui.h>
+ #include <libxfce4util/libxfce4util.h>
+-#include <libxfce4panel/xfce-panel-plugin.h>
++#include <libxfce4panel/libxfce4panel.h>
+ 
+ #include "datetime.h"
+ #include "datetime-dialog.h"
+@@ -388,7 +388,7 @@
+   /*
+    * layout frame
+    */
+-  frame = xfce_create_framebox(_("Layout"), &bin);
++  frame = xfce_gtk_frame_box_new(_("Layout"), &bin);
+   gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dlg)->vbox), frame,
+       FALSE, FALSE, 0);
+   gtk_container_set_border_width(GTK_CONTAINER(frame), 6);
+@@ -422,7 +422,7 @@
+   /*
+    * Date frame
+    */
+-  datetime->date_frame = xfce_create_framebox(_("Date"), &bin);
++  datetime->date_frame = xfce_gtk_frame_box_new(_("Date"), &bin);
+   gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dlg)->vbox), datetime->date_frame,
+       FALSE, FALSE, 0);
+   gtk_container_set_border_width(GTK_CONTAINER(datetime->date_frame), 6);
+@@ -525,7 +525,7 @@
+   /*
+    * time frame
+    */
+-  datetime->time_frame = xfce_create_framebox(_("Time"), &bin);
++  datetime->time_frame = xfce_gtk_frame_box_new(_("Time"), &bin);
+   gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dlg)->vbox), datetime->time_frame,
+       FALSE, FALSE, 0);
+   gtk_container_set_border_width(GTK_CONTAINER(datetime->time_frame), 6);
+diff -ur xfce4-datetime-plugin-0.6.1-orig/panel-plugin/Makefile.am xfce4-datetime-plugin-0.6.1/panel-plugin/Makefile.am
+--- xfce4-datetime-plugin-0.6.1-orig/panel-plugin/Makefile.am	2008-04-21 06:21:45.000000000 +0200
++++ xfce4-datetime-plugin-0.6.1/panel-plugin/Makefile.am	2011-03-01 12:45:09.703889237 +0100
+@@ -14,7 +14,7 @@
+ 	-DLOCALEDIR=\"$(localedir)\"		\
+ 	$(GTK_CFLAGS)				\
+ 	$(LIBXFCE4PANEL_CFLAGS)			\
+-	$(LIBXFCEGUI4_CFLAGS)			\
++	$(LIBXFCE4UI_CFLAGS)			\
+ 	$(LIBXFCE4UTIL_CFLAGS)
+ 
+ libdatetime_la_LDFLAGS = 			\
+@@ -29,7 +29,7 @@
+ libdatetime_la_LIBADD = 			\
+ 	$(GTK_LIBS)				\
+ 	$(LIBXFCE4PANEL_LIBS)			\
+-	$(LIBXFCEGUI4_LIBS)			\
++	$(LIBXFCE4UI_LIBS)			\
+ 	$(LIBXFCE4UTIL_LIBS)
+ 
+ desktopdir = $(datadir)/xfce4/panel-plugins
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xfce4-datetime-plugin/xfce4-datetime-plugin.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list