ports/168075: [UPDATE] sysutils/xfce4-systemload-plugin to 1.1.0
Olivier Duchateau
duchateau.olivier at gmail.com
Thu May 17 20:50:02 UTC 2012
>Number: 168075
>Category: ports
>Synopsis: [UPDATE] sysutils/xfce4-systemload-plugin to 1.1.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu May 17 20:50:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Olivier Duchateau
>Release: FreeBSD 8.2-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
Announce: http://mail.xfce.org/pipermail/xfce/2012-April/030321.html
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -urN /usr/ports/sysutils/xfce4-systemload-plugin/Makefile xfce4-systemload-plugin/Makefile
--- /usr/ports/sysutils/xfce4-systemload-plugin/Makefile 2011-07-03 14:04:37.000000000 +0200
+++ xfce4-systemload-plugin/Makefile 2012-05-09 06:15:43.000000000 +0200
@@ -6,8 +6,7 @@
#
PORTNAME= xfce4-systemload-plugin
-PORTVERSION= 1.0.0
-PORTREVISION= 2
+PORTVERSION= 1.1.0
CATEGORIES= sysutils xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR= src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
@@ -16,14 +15,16 @@
MAINTAINER= thorsten.greiner at web.de
COMMENT= System Load plugin for XFce4
+LIB_DEPENDS= upower-glib.1:${PORTSDIR}/sysutils/upower
+
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= gnomehack gtk20 intltool intlhack pkgconfig
-USE_XFCE= configenv libgui panel
+USE_XFCE= configenv libmenu libutil panel
-CONFIGURE_ARGS= --disable-debug
+CONFIGURE_ARGS+=--enable-upower
OPTIONS= NLS "Enable Native Language Support" on
diff -urN /usr/ports/sysutils/xfce4-systemload-plugin/distinfo xfce4-systemload-plugin/distinfo
--- /usr/ports/sysutils/xfce4-systemload-plugin/distinfo 2010-12-27 20:56:57.000000000 +0100
+++ xfce4-systemload-plugin/distinfo 2012-05-09 06:15:43.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (xfce4/xfce4-systemload-plugin-1.0.0.tar.bz2) = 4a2ffe49572105e301b5bf6666fff9e48126f1ef7e5fbed9f4b495fd48c192f9
-SIZE (xfce4/xfce4-systemload-plugin-1.0.0.tar.bz2) = 305892
+SHA256 (xfce4/xfce4-systemload-plugin-1.1.0.tar.bz2) = bc4ca8a7f66acb598d3f11bf0ee1fa650b869b3483176d708905d4ce9b1889f3
+SIZE (xfce4/xfce4-systemload-plugin-1.1.0.tar.bz2) = 294853
diff -urN /usr/ports/sysutils/xfce4-systemload-plugin/files/patch-panel-plugin__memswap.c xfce4-systemload-plugin/files/patch-panel-plugin__memswap.c
--- /usr/ports/sysutils/xfce4-systemload-plugin/files/patch-panel-plugin__memswap.c 2011-07-03 14:04:37.000000000 +0200
+++ xfce4-systemload-plugin/files/patch-panel-plugin__memswap.c 1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
---- ./panel-plugin/memswap.c.orig 2010-12-09 19:04:10.000000000 +0300
-+++ ./panel-plugin/memswap.c 2011-07-03 15:39:52.384882846 +0400
-@@ -228,8 +228,8 @@
- return -1;
- }
-
-- *MT = (total_pages*pagesize) >> 10;
-- *MU = ((total_pages-free_pages-inactive_pages) * pagesize) >> 10;
-+ *MT = CONVERT(total_pages);
-+ *MU = CONVERT(total_pages-free_pages-inactive_pages);
- *mem = *MU * 100 / *MT;
-
- if((*swap = swapmode(&swap_avail, &swap_free)) >= 0) {
diff -urN /usr/ports/sysutils/xfce4-systemload-plugin/files/patch-panel-plugin__uptime.c xfce4-systemload-plugin/files/patch-panel-plugin__uptime.c
--- /usr/ports/sysutils/xfce4-systemload-plugin/files/patch-panel-plugin__uptime.c 2011-07-03 14:04:37.000000000 +0200
+++ xfce4-systemload-plugin/files/patch-panel-plugin__uptime.c 1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- ./panel-plugin/uptime.c.orig 2010-12-09 19:04:10.000000000 +0300
-+++ ./panel-plugin/uptime.c 2011-07-03 15:39:52.391879944 +0400
-@@ -93,7 +93,7 @@
- int mib[2] = {CTL_KERN, KERN_BOOTTIME};
- struct timeval boottime;
- time_t now;
-- int size = sizeof(boottime);
-+ size_t size = sizeof(boottime);
- gulong uptime;
-
- if((sysctl(mib, 2, &boottime, &size, NULL, 0) != -1)
diff -urN /usr/ports/sysutils/xfce4-systemload-plugin/pkg-plist xfce4-systemload-plugin/pkg-plist
--- /usr/ports/sysutils/xfce4-systemload-plugin/pkg-plist 2010-12-27 20:56:57.000000000 +0100
+++ xfce4-systemload-plugin/pkg-plist 2012-05-09 06:15:43.000000000 +0200
@@ -1,15 +1,19 @@
-libexec/xfce4/panel-plugins/xfce4-systemload-plugin
+lib/xfce4/panel/plugins/libsystemload.a
+lib/xfce4/panel/plugins/libsystemload.la
+lib/xfce4/panel/plugins/libsystemload.so
%%NLS%%share/locale/ar/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/ast/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/ca/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/cs/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/da/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/de/LC_MESSAGES/xfce4-systemload-plugin.mo
+%%NLS%%share/locale/el/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/en_GB/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/es/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/eu/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/fr/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/gl/LC_MESSAGES/xfce4-systemload-plugin.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/hu/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/id/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/it/LC_MESSAGES/xfce4-systemload-plugin.mo
@@ -23,6 +27,7 @@
%%NLS%%share/locale/pt/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/ru/LC_MESSAGES/xfce4-systemload-plugin.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/sq/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/sv/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/tr/LC_MESSAGES/xfce4-systemload-plugin.mo
@@ -33,8 +38,9 @@
%%NLS%%share/locale/vi/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/xfce4-systemload-plugin.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/xfce4-systemload-plugin.mo
-share/xfce4/panel-plugins/systemload.desktop
- at dirrmtry share/xfce4/panel-plugins
+share/xfce4/panel/plugins/systemload.desktop
+ at dirrmtry share/xfce4/panel/plugins
+ at dirrmtry share/xfce4/panel
@dirrmtry share/xfce4
%%NLS%%@dirrmtry share/locale/ur_PK/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ur_PK
@@ -44,5 +50,6 @@
%%NLS%%@dirrmtry share/locale/ug
%%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ast
- at dirrmtry libexec/xfce4/panel-plugins
- at dirrmtry libexec/xfce4
+ at dirrmtry lib/xfce4/panel/plugins
+ at dirrmtry lib/xfce4/panel
+ at dirrmtry lib/xfce4
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list