There is an outstanding bug in the plugin source which results in ACPI batteries on FreeBSD always showing 0%. The previous version of the port included a patch to address this, but that was sent to the attic with the 1.0.0 update. Some years ago, two patches were submitted to the Xfce folks but insufficient testers were available to convince the developers to commit. <http://bugzilla.xfce.org/show_bug.cgi?id=2814> I took what looks to be the preferred patch (submitted by Shigeru Fujiwara on 2007-01-28) and realigned it to suit the current version of the source file. It "works for me" on FreeBSD/i386 8.2 and Xfce 4.8.0. Fix: - Modify Makefile: Bump PORTREVISION - Add files/patch-panel-plugin_libacpi.c
Responsible Changed From-To: freebsd-ports-bugs->miwi Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed. Thanks!
miwi 2011-03-27 10:36:11 UTC FreeBSD ports repository Modified files: sysutils/xfce4-battery-plugin Makefile Added files: sysutils/xfce4-battery-plugin/files patch-panel-plugin_libacpi.c Log: - Fix Battery Status PR: 155745 Submitted by: John Marshall <john.marshall@riverwillow.com.au> Revision Changes Path 1.42 +1 -0 ports/sysutils/xfce4-battery-plugin/Makefile 1.1 +82 -0 ports/sysutils/xfce4-battery-plugin/files/patch-panel-plugin_libacpi.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Hi, I want to inform you that the xfce project just merge the freebsd patch submited in this PR into their HEAD. See the link below : http://git.xfce.org/panel-plugins/xfce4-battery-plugin/commit/?id=5fdc701440f97cee111a2a47c85f7d838aab7e13 Future versions of xfce probably doesn't require this patch anymore. Regards, - Rodrigo
I'm following recent updates (to prepare Xfce 4.10), and I saw this commit. 2012/4/17 Rodrigo OSORIO <rodrigo@bebik.net>: > Hi, > > I want to inform you that the xfce project just merge the > freebsd patch submited in this PR into their HEAD. > > See the link below : > http://git.xfce.org/panel-plugins/xfce4-battery-plugin/commit/?id=5fdc701440f97cee111a2a47c85f7d838aab7e13 > > Future versions of xfce probably doesn't require this patch anymore. > > Regards, > > - Rodrigo > > > _______________________________________________ > freebsd-xfce@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-xfce > To unsubscribe, send any mail to "freebsd-xfce-unsubscribe@freebsd.org" -- olivier