[arch-commits] Commit in xfce4-netload-plugin/trunk (3 files)

andyrtr at archlinux.org andyrtr at archlinux.org
Tue Jan 4 15:48:55 EST 2011


    Date: Tuesday, January 4, 2011 @ 15:48:54
  Author: andyrtr
Revision: 104754

upgpkg: xfce4-netload-plugin 1.0.0-1
new upstream release - part of Xfce 4.8pre3 release candidate

Added:
  xfce4-netload-plugin/trunk/xfce4-netload-plugin.install
Modified:
  xfce4-netload-plugin/trunk/PKGBUILD
Deleted:
  xfce4-netload-plugin/trunk/missing_tooltip.diff

------------------------------+
 PKGBUILD                     |   34 ++++++++++++++++++++--------------
 missing_tooltip.diff         |   17 -----------------
 xfce4-netload-plugin.install |   12 ++++++++++++
 3 files changed, 32 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-04 20:45:21 UTC (rev 104753)
+++ PKGBUILD	2011-01-04 20:48:54 UTC (rev 104754)
@@ -3,26 +3,32 @@
 # Contributor: Aurelien Foret <orelien at chez.com>
 
 pkgname=xfce4-netload-plugin
-pkgver=0.4.0
-pkgrel=5
+pkgver=1.0.0
+pkgrel=1
 pkgdesc="A netload plugin for the Xfce panel"
 arch=(i686 x86_64)
 license=('GPL2')
 url="http://xfce-goodies.berlios.de/"
 groups=('xfce4-goodies')
-depends=('xfce4-panel>=4.6.1')
-makedepends=('pkgconfig' 'intltool')
+depends=('xfce4-panel>=4.7.4' 'libxfcegui4' 'hicolor-icon-theme')
+makedepends=('intltool')
 options=('!libtool')
-source=(http://goodies.xfce.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2
-	missing_tooltip.diff)
-md5sums=('a15ee479089ba7703c5dde33ff439573'
-         '66a412b73712cab71447ba740e49e8d6')
+install=${pkgname}.install
+source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/1.0/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('cab53e8cc2b9bfdf7ffd2230916ca3df')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  patch -Np0 -i $srcdir/missing_tooltip.diff || return 1
-  ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
-    --localstatedir=/var --disable-static
-  make || return 1
-  make DESTDIR=${startdir}/pkg install
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+	--sysconfdir=/etc \
+	--libexecdir=/usr/lib \
+	--localstatedir=/var \
+	--disable-static \
+	--disable-debug
+  make
 }
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Deleted: missing_tooltip.diff
===================================================================
--- missing_tooltip.diff	2011-01-04 20:45:21 UTC (rev 104753)
+++ missing_tooltip.diff	2011-01-04 20:48:54 UTC (rev 104754)
@@ -1,17 +0,0 @@
---- panel-plugin/netload.c	2009-05-14 17:03:57.987823647 +0000
-+++ panel-plugin/netload.c.new	2009-05-14 17:04:10.663656158 +0000
-@@ -237,6 +237,14 @@
- 
-     if (global->monitor->options.update_interval > 0)
-     {
-+        /* 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",
-+                global->monitor->options.update_interval - 10, NULL);
-+
-         global->timeout_id =  g_timeout_add( global->monitor->options.update_interval, 
-             (GtkFunction)update_monitors, global);
-     }

Added: xfce4-netload-plugin.install
===================================================================
--- xfce4-netload-plugin.install	                        (rev 0)
+++ xfce4-netload-plugin.install	2011-01-04 20:48:54 UTC (rev 104754)
@@ -0,0 +1,12 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+



More information about the arch-commits mailing list