Hello community,

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



--------
--- xfce4-panel-plugin-diskperf/xfce4-panel-plugin-diskperf.changes     
2011-03-09 22:34:42.000000000 +0100
+++ 
/mounts/work_src_done/STABLE/xfce4-panel-plugin-diskperf/xfce4-panel-plugin-diskperf.changes
        2011-09-19 14:37:53.000000000 +0200
@@ -1,0 +2,14 @@
+Mon Sep 19 12:35:50 UTC 2011 - [email protected]
+
+- removed unrelated autoconf from the underlinking patch which
+  broke the build on older releases
+- added xfce4-panel-plugin-diskperf-fix-transparency-colors.patch
+  which fixes transparency and bar colors (backported from upstream
+  git)
+
+-------------------------------------------------------------------
+Sun Sep 18 21:10:27 UTC 2011 - [email protected]
+
+- Link with libm as well. 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  xfce4-diskperf-plugin-fix-libm-underlinking.patch
  xfce4-panel-plugin-diskperf-fix-transparency-colors.patch

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

Other differences:
------------------
++++++ xfce4-panel-plugin-diskperf.spec ++++++
--- /var/tmp/diff_new_pack.HT7tUn/_old  2011-09-21 17:27:23.000000000 +0200
+++ /var/tmp/diff_new_pack.HT7tUn/_new  2011-09-21 17:27:23.000000000 +0200
@@ -30,9 +30,14 @@
 BuildRequires:  intltool
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig(libxfce4panel-1.0)
+BuildRequires:  xfce4-dev-tools
 Requires:       xfce4-panel >= 4.8.0
 Recommends:     %{name}-lang = %{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+# PATCH-FIX-UPSTREAM xfce4-diskperf-plugin-fix-libm-underlinking.patch 
bxo#7982 [email protected] -- Link explicitly against libm
+Patch0:         xfce4-diskperf-plugin-fix-libm-underlinking.patch
+# PATCH-FIX-UPDSTREAM 
xfce4-panel-plugin-diskperf-fix-transparency-colors.patch [email protected] -- 
Fixes transparency and bar colors (backported from upstream git)
+Patch1:         xfce4-panel-plugin-diskperf-fix-transparency-colors.patch
 
 %description
 The DiskPerf plugin displays the disk/partition performance as trasferred data
@@ -43,8 +48,11 @@
 %lang_package
 %prep
 %setup -q -n %{plugin_name}-%{version}
+%patch0 -p1
+%patch1 -p1
 
 %build
+xdt-autogen
 %configure --disable-static
 make %{_smp_mflags} V=1
 

++++++ xfce4-diskperf-plugin-fix-libm-underlinking.patch ++++++
diff -ur xfce4-diskperf-plugin-2.3.0.orig/configure.ac 
xfce4-diskperf-plugin-2.3.0/configure.ac
--- xfce4-diskperf-plugin-2.3.0.orig/configure.ac       2011-01-21 
02:03:08.000000000 +0100
+++ xfce4-diskperf-plugin-2.3.0/configure.ac    2011-09-19 14:20:05.642999822 
+0200
@@ -56,6 +56,8 @@
 XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.90])
 XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.3.90])
 
+AC_SEARCH_LIBS(sin, m)
+
 dnl ***********************************
 dnl *** Check for debugging support ***
 dnl ***********************************
++++++ xfce4-panel-plugin-diskperf-fix-transparency-colors.patch ++++++
>From 4d708bb4d2754328c0da6fe62a5b17b579c6f4c8 Mon Sep 17 00:00:00 2001
From: Florian Rivoal <[email protected]>
Date: Sat, 26 Feb 2011 10:48:30 +0000
Subject: Appearance improvements

Fixes transparency and bar colors, thanks to the patch from bug #7342.
---
diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index d6ff862..43b0390 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -293,14 +293,15 @@ static int SetSingleBarColor (struct diskperf_t 
*p_poPlugin, int p_iBar)
     Widget_t       *pwBar;
 
     pwBar = poMonitor->aoPerfBar[p_iBar].pwBar;
-    poStyle = gtk_widget_get_modifier_style (GTK_WIDGET (*pwBar));
-    if (!poStyle)
-       poStyle = gtk_rc_style_new ();
-    else {
-       poStyle->color_flags[GTK_STATE_PRELIGHT] |= GTK_RC_BG;
-       poStyle->bg[GTK_STATE_PRELIGHT] = poConf->aoColor[p_iBar];
-    }
-    gtk_widget_modify_style (GTK_WIDGET (*pwBar), poStyle);
+       gtk_widget_modify_bg(GTK_WIDGET(*pwBar),
+                                                GTK_STATE_PRELIGHT,
+                                                &poConf->aoColor[p_iBar]);
+       gtk_widget_modify_bg(GTK_WIDGET(*pwBar),
+                                                GTK_STATE_SELECTED,
+                                                &poConf->aoColor[p_iBar]);
+       gtk_widget_modify_base(GTK_WIDGET(*pwBar),
+                                                GTK_STATE_SELECTED,
+                                                &poConf->aoColor[p_iBar]);
     return (0);
 }                              /* SetSingleBarColor() */
 
--
cgit 

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



Remember to have fun...

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

Reply via email to