Hello community, here is the log from the commit of package lxpanel for openSUSE:Factory checked in at Mon Jul 25 12:30:39 CEST 2011.
-------- --- lxpanel/lxpanel.changes 2010-08-12 00:11:32.000000000 +0200 +++ /mounts/work_src_done/STABLE/lxpanel/lxpanel.changes 2011-07-25 00:54:03.000000000 +0200 @@ -1,0 +2,15 @@ +Sun Jul 24 22:53:49 UTC 2011 - [email protected] + +- added lxpanel-0.5.7-fix-gcc-warnings.patch and + lxpanel-0.5.7-fix-gtkrequisition.patch to fix compiler warnings + and wrong usage of gtk functions + +------------------------------------------------------------------- +Sun Jul 24 11:37:25 UTC 2011 - [email protected] + +- new upstream version 0.5.7 + * translations update + * fix bugs in plugins +- removed patch now in upstream code + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- lxpanel-0.5.6-fix-alarm.patch lxpanel-0.5.6.tar.bz2 New: ---- lxpanel-0.5.7-fix-gcc-warnings.patch lxpanel-0.5.7-fix-gtkrequisition.patch lxpanel-0.5.7.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lxpanel.spec ++++++ --- /var/tmp/diff_new_pack.moUmt8/_old 2011-07-25 12:29:26.000000000 +0200 +++ /var/tmp/diff_new_pack.moUmt8/_new 2011-07-25 12:29:26.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package lxpanel (Version 0.5.6) +# spec file for package lxpanel # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,16 +19,15 @@ Name: lxpanel -Version: 0.5.6 -Release: 2 +Version: 0.5.7 +Release: 1 Summary: Lightweight X11 desktop panel based on fbpanel Group: System/GUI/LXDE License: GPL Url: http://www.lxde.org/ Source0: %name-%version.tar.bz2 -# PATCH-FIX-UPSTREAM lxpanel-0.5.6-fix-alarm.patch [email protected] -# this patch fix a compilation error due to a conflicting "alarm" type -Patch0: %name-0.5.6-fix-alarm.patch +Patch0: %name-0.5.7-fix-gtkrequisition.patch +Patch1: %name-0.5.7-fix-gcc-warnings.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: alsa-devel intltool pkg-config update-desktop-files BuildRequires: docbook-utils gtk2-devel menu-cache-devel python-xml @@ -62,24 +61,23 @@ %description devel Haders and development %name files + %lang_package %prep %setup -q %patch0 -p1 +%patch1 -p1 %build -export CFLAGS="$RPM_OPT_FLAGS" -export CXXFLAGS="$RPM_OPT_FLAGS" %configure \ --enable-man \ --with-plugins=all -%__make %{?jobs:-j%jobs} +%__make %{?jobs:-j%jobs} V=1 %install %makeinstall -%__rm -rf %{buildroot}/%{_datadir}/locale/{frp,es_VE,ur_PK} -%fdupes -s %buildroot %find_lang %{name} +%fdupes -s %buildroot %clean rm -rf $RPM_BUILD_ROOT ++++++ lxpanel-0.5.7-fix-gcc-warnings.patch ++++++ diff -uNr old-lxpanel-0.5.7//src/plugins/cpufreq/cpufreq.c lxpanel-0.5.7/src/plugins/cpufreq/cpufreq.c --- old-lxpanel-0.5.7//src/plugins/cpufreq/cpufreq.c 2011-07-23 22:13:48.000000000 +0200 +++ lxpanel-0.5.7/src/plugins/cpufreq/cpufreq.c 2011-07-25 00:51:55.446872907 +0200 @@ -157,7 +157,7 @@ if (!(fp = fopen( sstmp, "r"))) { printf("cpufreq: cannot open %s\n",sstmp); - return; + return 0; } GtkMenu* menu = GTK_MENU(gtk_menu_new()); diff -uNr old-lxpanel-0.5.7//src/plugins/netstatus/netstatus-icon.c lxpanel-0.5.7/src/plugins/netstatus/netstatus-icon.c --- old-lxpanel-0.5.7//src/plugins/netstatus/netstatus-icon.c 2011-07-23 22:13:48.000000000 +0200 +++ lxpanel-0.5.7/src/plugins/netstatus/netstatus-icon.c 2011-07-25 00:52:15.185872659 +0200 @@ -26,6 +26,7 @@ #include <gtk/gtk.h> #include <glib/gi18n.h> +#include <gtk/gtktooltips.h> #include "netstatus-util.h" #include "netstatus-enums.h" @@ -899,7 +900,7 @@ gtk_container_add (GTK_CONTAINER (icon), icon->priv->signal_image); gtk_widget_hide (icon->priv->signal_image); - icon->priv->tooltips = gtk_tooltip_new (); + icon->priv->tooltips = gtk_tooltips_new (); g_object_ref (icon->priv->tooltips); gtk_object_sink (GTK_OBJECT (icon->priv->tooltips)); ++++++ lxpanel-0.5.7-fix-gtkrequisition.patch ++++++ >From 200121f93d7c6ac9aadb53c58f45906ecd1e3b7a Mon Sep 17 00:00:00 2001 From: Julien Lavergne <[email protected]> Date: Sun, 24 Jul 2011 15:43:24 +0200 Subject: [PATCH] Fix usage of GtkRequisition --- src/plugins/menu.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/menu.c b/src/plugins/menu.c index 59a8dad..6d0ad9c 100644 --- a/src/plugins/menu.c +++ b/src/plugins/menu.c @@ -142,10 +142,10 @@ menu_pos(GtkMenu *menu, gint *x, gint *y, gboolean *push_in, GtkWidget *widget) gdk_window_get_origin(widget->window, &ox, &oy); #endif #if GTK_CHECK_VERSION(2,20,0) - GtkRequisition *requisition; - gtk_widget_get_requisition(GTK_WIDGET(menu),requisition); - w = requisition->width; - h = requisition->height; + GtkRequisition requisition; + gtk_widget_get_requisition(GTK_WIDGET(menu), &requisition); + w = requisition.width; + h = requisition.height; #else w = GTK_WIDGET(menu)->requisition.width; -- 1.7.0.1 ++++++ lxpanel-0.5.6.tar.bz2 -> lxpanel-0.5.7.tar.bz2 ++++++ ++++ 89596 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
