FreeBSD Bugzilla – Attachment 125205 Details for
Bug 168789
[UPDATE] sysutils/xfce4-systemload-plugin to 1.1.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 6.04 KB, created by
Olivier Duchateau
on 2012-06-07 06:10:06 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Olivier Duchateau
Created:
2012-06-07 06:10:06 UTC
Size:
6.04 KB
patch
obsolete
>diff -urN /usr/ports/sysutils/xfce4-systemload-plugin/Makefile xfce4-systemload-plugin/Makefile >--- /usr/ports/sysutils/xfce4-systemload-plugin/Makefile 2012-06-01 05:24:31.000000000 +0000 >+++ xfce4-systemload-plugin/Makefile 2012-06-06 22:44:19.000000000 +0000 >@@ -6,8 +6,7 @@ > # > > PORTNAME= xfce4-systemload-plugin >-PORTVERSION= 1.0.0 >-PORTREVISION= 4 >+PORTVERSION= 1.1.0 > CATEGORIES= sysutils xfce > MASTER_SITES= ${MASTER_SITE_XFCE} > MASTER_SITE_SUBDIR= src/panel-plugins/${PORTNAME}/${PORTVERSION:R} >@@ -16,20 +15,22 @@ > MAINTAINER= thorsten.greiner@web.de > COMMENT= System Load plugin for XFce4 > >-USE_AUTOTOOLS= libtool >+LIB_DEPENDS= upower-glib.1:${PORTSDIR}/sysutils/upower >+ > 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 >+OPTIONS_DEFINE= NLS >+OPTIONS_DEFAULT= NLS > > .include <bsd.port.pre.mk> > >-.if !defined(WITHOUT_NLS) >+.if ${PORT_OPTIONS:MNLS} > USE_GETTEXT= yes > CONFIGURE_ARGS+=--enable-nls > PLIST_SUB+= NLS="" >diff -urN /usr/ports/sysutils/xfce4-systemload-plugin/distinfo xfce4-systemload-plugin/distinfo >--- /usr/ports/sysutils/xfce4-systemload-plugin/distinfo 2010-12-27 19:56:57.000000000 +0000 >+++ xfce4-systemload-plugin/distinfo 2012-06-06 22:44:19.000000000 +0000 >@@ -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 12:04:37.000000000 +0000 >+++ xfce4-systemload-plugin/files/patch-panel-plugin__memswap.c 1970-01-01 00:00:00.000000000 +0000 >@@ -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 12:04:37.000000000 +0000 >+++ xfce4-systemload-plugin/files/patch-panel-plugin__uptime.c 1970-01-01 00:00:00.000000000 +0000 >@@ -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 19:56:57.000000000 +0000 >+++ xfce4-systemload-plugin/pkg-plist 2012-06-06 22:44:19.000000000 +0000 >@@ -1,15 +1,18 @@ >-libexec/xfce4/panel-plugins/xfce4-systemload-plugin >+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 +26,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 +37,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 >-@dirrmtry share/xfce4/panel-plugins >+share/xfce4/panel/plugins/systemload.desktop >+@dirrmtry share/xfce4/panel/plugins >+@dirrmtry share/xfce4/panel > @dirrmtry share/xfce4 > %%NLS%%@dirrmtry share/locale/ur_PK/LC_MESSAGES > %%NLS%%@dirrmtry share/locale/ur_PK >@@ -44,5 +49,6 @@ > %%NLS%%@dirrmtry share/locale/ug > %%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES > %%NLS%%@dirrmtry share/locale/ast >-@dirrmtry libexec/xfce4/panel-plugins >-@dirrmtry libexec/xfce4 >+@dirrmtry lib/xfce4/panel/plugins >+@dirrmtry lib/xfce4/panel >+@dirrmtry lib/xfce4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 168789
: 125205