After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 127243 - [PATCH] Get the libdesklets/CPU.py works on FreeBSD.
[PATCH] Get the libdesklets/CPU.py works on FreeBSD.
Status: RESOLVED FIXED
Product: gDesklets
Classification: Deprecated
Component: core
unspecified
Other FreeBSD
: Normal normal
: ---
Assigned To: gDesklets Maintainers
gDesklets Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-11-17 23:41 UTC by Jeremy Messenger
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
An attach of patch to get it works on FreeBSD. (1.92 KB, patch)
2003-11-17 23:42 UTC, Jeremy Messenger
none Details | Review

Description Jeremy Messenger 2003-11-17 23:41:59 UTC
gDesklets version: 0.24.1

It should work on Linux too, we split the function between Linux and 
FreeBSD. An attach is coming in the next submit.
Comment 1 Jeremy Messenger 2003-11-17 23:42:42 UTC
Created attachment 21558 [details] [review]
An attach of patch to get it works on FreeBSD.
Comment 2 Jeremy Messenger 2003-11-17 23:43:29 UTC
I forgot to add something more. FreeBSD doesn't has the CPU cache, so 
it's why we put it returns as " ".
Comment 3 Martin Grimme 2003-11-18 11:33:14 UTC
Thanks. I will integrate this into CVS. But you should not call
'import libdesklets' in CPU.py outside of a function. The reason is
that you get circular inclusion dependency then: libdesklets imports
CPU and CPU imports libdesklets even before libdesklets has been
imported completely.