Hello community,

here is the log from the commit of package xfce4-panel-plugin-wavelan for 
openSUSE:Factory
checked in at Wed Sep 21 17:28:47 CEST 2011.



--------
--- xfce4-panel-plugin-wavelan/xfce4-panel-plugin-wavelan.changes       
2011-03-09 22:48:59.000000000 +0100
+++ 
/mounts/work_src_done/STABLE/xfce4-panel-plugin-wavelan/xfce4-panel-plugin-wavelan.changes
  2011-09-21 09:22:44.000000000 +0200
@@ -1,0 +2,10 @@
+Wed Sep 21 06:58:04 UTC 2011 - [email protected]
+
+- added xfce4-wavelan-plugin-0.5.6-fix-libm-underlinking.patch in
+  order to explicitly link against libm
+- added
+  xfce4-panel-plugin-wavelan-0.5.6-fix-transparency-and-bar-color.patch
+  in order to fix transparency and bar color (backported from
+  upstream git)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  xfce4-panel-plugin-wavelan-0.5.6-fix-transparency-and-bar-color.patch
  xfce4-wavelan-plugin-0.5.6-fix-libm-underlinking.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xfce4-panel-plugin-wavelan.spec ++++++
--- /var/tmp/diff_new_pack.iNKAhT/_old  2011-09-21 17:28:08.000000000 +0200
+++ /var/tmp/diff_new_pack.iNKAhT/_new  2011-09-21 17:28:08.000000000 +0200
@@ -26,10 +26,15 @@
 Summary:        WLAN monitoring plugin for the Xfce panel
 Url:            
http://goodies.xfce.org/projects/panel-plugins/xfce4-wavelan-plugin
 Source0:        xfce4-wavelan-plugin-0.5.6.tar.bz2
+# PATCH-FIX-UPSTREAM xfce4-wavelan-plugin-0.5.6-fix-libm-underlinking.patch 
bxo#7991 [email protected] -- Link explicitly against libm
+Patch0:         xfce4-wavelan-plugin-0.5.6-fix-libm-underlinking.patch
+# PATCH-FIX-UPSTREAM 
xfce4-panel-plugin-wavelan-0.5.6-fix-transparency-and-bar-color.patch 
[email protected] -- Fixes transparency and bar color (backported from upstream 
git)
+Patch1:         
xfce4-panel-plugin-wavelan-0.5.6-fix-transparency-and-bar-color.patch
 Group:          System/GUI/XFCE
 BuildRequires:  intltool
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig(libxfce4panel-1.0)
+BuildRequires:  xfce4-dev-tools
 Requires:       xfce4-panel >= 4.8.0
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -40,8 +45,11 @@
 
 %prep
 %setup -q -n %{plugin_name}-%{version}
+%patch0 -p1
+%patch1 -p1
 
 %build
+xdt-autogen
 %configure --disable-static
 make %{_smp_mflags} V=1
 

++++++ xfce4-panel-plugin-wavelan-0.5.6-fix-transparency-and-bar-color.patch 
++++++
>From 06533339cbaec817b94455c6159cf8093635e70c Mon Sep 17 00:00:00 2001
From: Florian Rivoal <[email protected]>
Date: Sat, 26 Feb 2011 05:07:08 +0000
Subject: Fix transparency and bar color

Fixes bug #7346.
---
diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index 3146d63..5838024 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -91,10 +91,6 @@ wavelan_set_state(t_wavelan *wavelan, gint state)
 
    if (wavelan->signal_colors) {
     /* set color */
-    rc = gtk_widget_get_modifier_style(GTK_WIDGET(wavelan->signal));
-    if (rc) {
-     rc->color_flags[GTK_STATE_PRELIGHT] |= GTK_RC_BG;
-     rc->color_flags[GTK_STATE_SELECTED] |= GTK_RC_BASE;
      if (state > 70)
       gdk_color_parse(signal_color_strong, &color);
      else if (state > 55)
@@ -103,15 +99,16 @@ wavelan_set_state(t_wavelan *wavelan, gint state)
       gdk_color_parse(signal_color_weak, &color);
      else
       gdk_color_parse(signal_color_bad, &color);
-     rc->bg[GTK_STATE_PRELIGHT] = color;
-     rc->base[GTK_STATE_SELECTED] = color;
-     gtk_widget_modify_style(GTK_WIDGET(wavelan->signal), rc);
-     }
-    }
-   else {
-    rc = gtk_rc_style_new();
-    gtk_widget_modify_style(GTK_WIDGET(wavelan->signal), rc);
-    g_object_unref(rc);
+
+        gtk_widget_modify_bg(GTK_WIDGET(wavelan->signal),
+                             GTK_STATE_PRELIGHT,
+                             &color);
+        gtk_widget_modify_bg(GTK_WIDGET(wavelan->signal),
+                             GTK_STATE_SELECTED,
+                             &color);
+        gtk_widget_modify_base(GTK_WIDGET(wavelan->signal),
+                             GTK_STATE_SELECTED,
+                             &color);
     }
 
    }
--
cgit 
++++++ xfce4-wavelan-plugin-0.5.6-fix-libm-underlinking.patch ++++++
diff -ur xfce4-wavelan-plugin-0.5.6.orig/configure.ac 
xfce4-wavelan-plugin-0.5.6/configure.ac
--- xfce4-wavelan-plugin-0.5.6.orig/configure.ac        2010-12-04 
01:51:47.000000000 +0100
+++ xfce4-wavelan-plugin-0.5.6/configure.ac     2011-09-21 08:55:53.549999963 
+0200
@@ -41,6 +41,7 @@
                   sys/socket.h sys/ioctl.h linux/types.h linux/if.h \
                   linux/wireless.h string.h \
                   ctype.h], [], [], [#include <sys/socket.h>])
+AC_SEARCH_LIBS(sin, m)
 
 dnl Check for i18n support
 XDT_I18N([ar ast be ca cs da de en_GB es eu fr gl hu id it ja kk ko lv nb pl 
pt_BR pt ru sq sv tr ug uk ur_PK ur vi zh_CN ])

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to