[arch-commits] Commit in xfce4-wavelan-plugin/repos (3 files)
andyrtr at archlinux.org
andyrtr at archlinux.org
Sun Nov 1 19:57:43 UTC 2009
Date: Sunday, November 1, 2009 @ 14:57:43
Author: andyrtr
Revision: 57721
Merged revisions 356,57719 via svnmerge from
svn+ssh://gerolde.archlinux.org/srv/svn-packages/xfce4-wavelan-plugin/trunk
........
r356 | aaron | 2008-04-19 00:56:27 +0200 (Sa, 19 Apr 2008) | 1 line
Added svn:keywords to all PKGBUILDs
........
r57719 | andyrtr | 2009-11-01 20:55:26 +0100 (So, 01 Nov 2009) | 2 lines
upgpkg: xfce4-wavelan-plugin 0.5.5-1
new version 0.5.5; added patch for tooltips
........
Added:
xfce4-wavelan-plugin/repos/extra-i686/tooltip.diff
(from rev 57719, xfce4-wavelan-plugin/trunk/tooltip.diff)
Modified:
xfce4-wavelan-plugin/repos/extra-i686/ (properties)
xfce4-wavelan-plugin/repos/extra-i686/PKGBUILD
--------------+
PKGBUILD | 19 +++++++++++--------
tooltip.diff | 19 +++++++++++++++++++
2 files changed, 30 insertions(+), 8 deletions(-)
Property changes on: xfce4-wavelan-plugin/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
- /xfce4-wavelan-plugin/trunk:1
+ /xfce4-wavelan-plugin/trunk:1-57720
Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2009-11-01 19:56:21 UTC (rev 57720)
+++ extra-i686/PKGBUILD 2009-11-01 19:57:43 UTC (rev 57721)
@@ -3,24 +3,27 @@
# Contributor: Tobias Kieslich <tobias (at) archlinux.org>
pkgname=xfce4-wavelan-plugin
-pkgver=0.5.4
-pkgrel=4
+pkgver=0.5.5
+pkgrel=1
pkgdesc="plugin to monitor wifi connectivity for the Xfce4 panel"
arch=(i686 x86_64)
license=('custom')
-url="http://xfce-goodies.berlios.de/"
+url="http://goodies.xfce.org/projects/panel-plugins/xfce4-wavelan-plugin/"
groups=('xfce4-goodies')
depends=('xfce4-panel')
makedepends=('pkgconfig')
options=('!libtool')
-source=(http://goodies.xfce.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('b13993facb6b7a25ca81ac8cde9a9100')
+source=(http://goodies.xfce.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2 tooltip.diff)
+md5sums=('1fa00ad9f24cc29536cb7622016c6a5e'
+ '923b1f2bf2d26cf01f784b6194f64d93')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
+ cd ${srcdir}/${pkgname}-${pkgver}
+ # fix tooltip, see http://bugzilla.xfce.org/show_bug.cgi?id=5866
+ patch -Np1 -i ${srcdir}/tooltip.diff || return 1
+ ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
--localstatedir=/var --disable-static
make || return 1
- make DESTDIR=${startdir}/pkg install
+ make DESTDIR=${pkgdir} install || return 1
install -Dm644 COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING
}
Copied: xfce4-wavelan-plugin/repos/extra-i686/tooltip.diff (from rev 57719, xfce4-wavelan-plugin/trunk/tooltip.diff)
===================================================================
--- extra-i686/tooltip.diff (rev 0)
+++ extra-i686/tooltip.diff 2009-11-01 19:57:43 UTC (rev 57721)
@@ -0,0 +1,19 @@
+diff -Naur xfce4-wavelan-plugin-0.5.5.old/panel-plugin/wavelan.c xfce4-wavelan-plugin-0.5.5/panel-plugin/wavelan.c
+--- xfce4-wavelan-plugin-0.5.5.old/panel-plugin/wavelan.c 2009-10-09 14:42:54.427988584 +0200
++++ xfce4-wavelan-plugin-0.5.5/panel-plugin/wavelan.c 2009-10-09 14:45:24.351280223 +0200
+@@ -199,6 +199,14 @@
+ if ((wavelan->device = wi_open(wavelan->interface)) != NULL) {
+ /* register the update timer */
+ TRACE ("Opened device");
++ /* reduce the default tooltip timeout to be smaller than the update interval otherwise
++ * we won't see tooltips on GTK 2.16 or newer */
++ GtkSettings *settings;
++ settings = gtk_settings_get_default();
++ if (g_object_class_find_property(G_OBJECT_GET_CLASS(settings), "gtk-tooltip-timeout"))
++ g_object_set(settings, "gtk-tooltip-timeout",
++ 250 - 10, NULL);
++
+ wavelan->timer_id = g_timeout_add(250, wavelan_timer, wavelan);
+ }
+ }
+
More information about the arch-commits
mailing list