[Goodies-dev] ANN: xfce4-battery-plugin version 0.5.1 released

Fred Galusik fred.galusik at gmail.com
Sat Sep 6 13:21:05 CEST 2008


Hi,

Successfully built and run on a LFS based (svn) system.

++ fredg

2008/9/6 Christoph Wickert <christoph.wickert at nurfuerspam.de>:
> Am Donnerstag, den 04.09.2008, 21:17 +0000 schrieb
> sofar at foo-projects.org:
>> A minor bugfix release focussing on reducing ACPI interrupts due to the
>> fact that a single battery check causes 4 ACPI interrupts. We don't need
>> to check every 2 seconds. Also an older kfreebsd compilation issue was
>> fixed but never released.
>
> Just like the previous version this one does not build here (Fedora Core
> 9, kernel-2.6.25.14-108.fc9.i686)
>
>> + make
>> make  all-recursive
>> make[1]: Entering directory `/home/chris/fedora/rpmbuild/BUILD/xfce4-battery-plugin-0.5.1'
>> Making all in panel-plugin
>> make[2]: Entering directory `/home/chris/fedora/rpmbuild/BUILD/xfce4-battery-plugin-0.5.1/panel-plugin'
>> gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"xfce4-battery-plugin\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"    -I/usr/include/xfce4/ -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0   -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0   -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT xfce4_battery_plugin-battery.o -MD -MP -MF 
 .
>  deps/xfce4_battery_plugin-battery.Tpo -c -o xfce4_battery_plugin-battery.o `test -f 'battery.c' || echo './'`battery.c
>> In file included from ./libapm.h:21,
>>                  from battery.c:39:
>> /usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
>> /usr/include/linux/types.h:13: error: previous declaration of 'dev_t' was here
>> /usr/include/sys/types.h:67: error: conflicting types for 'gid_t'
>> /usr/include/linux/types.h:27: error: previous declaration of 'gid_t' was here
>> /usr/include/sys/types.h:72: error: conflicting types for 'mode_t'
>> /usr/include/linux/types.h:15: error: previous declaration of 'mode_t' was here
>> /usr/include/sys/types.h:77: error: conflicting types for 'nlink_t'
>> /usr/include/linux/types.h:16: error: previous declaration of 'nlink_t' was here
>> /usr/include/sys/types.h:82: error: conflicting types for 'uid_t'
>> /usr/include/linux/types.h:26: error: previous declaration of 'uid_t' was here
>> In file included from /usr/include/sys/types.h:133,
>>                  from ./libapm.h:21,
>>                  from battery.c:39:
>> /usr/include/time.h:105: error: conflicting types for 'timer_t'
>> /usr/include/linux/types.h:22: error: previous declaration of 'timer_t' was here
>> In file included from /usr/include/sys/types.h:220,
>>                  from ./libapm.h:21,
>>                  from battery.c:39:
>> /usr/include/sys/select.h:78: error: conflicting types for 'fd_set'
>> /usr/include/linux/types.h:12: error: previous declaration of 'fd_set' was here
>> In file included from ./libapm.h:21,
>>                  from battery.c:39:
>> /usr/include/sys/types.h:235: error: conflicting types for 'blkcnt_t'
>> /usr/include/linux/types.h:124: error: previous declaration of 'blkcnt_t' was here
>> make[2]: *** [xfce4_battery_plugin-battery.o] Error 1
>> make[2]: Leaving directory `/home/chris/fedora/rpmbuild/BUILD/xfce4-battery-plugin-0.5.1/panel-plugin'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/chris/fedora/rpmbuild/BUILD/xfce4-battery-plugin-0.5.1'
>> make: *** [all] Error 2
>
> This can be fixed with a pretty trivial patch from
> http://svn.debian.org/wsvn/pkg-xfce/goodies/xfce4-battery-plugin/debian/patches/06_fix-ftbfs-2.6.24.patch?op=file&rev=0&sc=0
>
> Regards,
> Christoph
>
>
> _______________________________________________
> Goodies-dev mailing list
> Goodies-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/goodies-dev
>



-- 
Blog : http://fredgnix.tuxfamily.org
Site : http://www.linuxpedia.fr



More information about the Goodies-dev mailing list