Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43839 - x11-plugins/desklet-psisensors wrong memory reported with >=gnome-extra/gdesklet-core-0.25.1
Summary: x11-plugins/desklet-psisensors wrong memory reported with >=gnome-extra/gdesk...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High trivial (vote)
Assignee: Mike Gardiner (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-05 16:03 UTC by Sven Wegener
Modified: 2004-05-06 03:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
desklet-psisensors-20031028.ebuild.patch (desklet-psisensors-20031028.ebuild.patch,457 bytes, patch)
2004-03-05 16:05 UTC, Sven Wegener
Details | Diff
gdesklet-0.26-memory.patch (gdesklet-0.26-memory.patch,409 bytes, patch)
2004-03-05 16:05 UTC, Sven Wegener
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Wegener gentoo-dev 2004-03-05 16:03:56 UTC
Hi,

with version gnome-extra/gdesklet-core-0.25.1 the memory (ram/swap) values reported by libdesklets has changed. In prior version the memory reported
was in kilobytes. From 0.25.1 the values are in bytes which confuses
psisensors (Memory sensor) and will report wrong values.

I'll mark this one as trivial, as packages are ~arch masked so I don't think many people will notice this error. Don't know when the next version from
Psi will be released, so I think that this should be fixed.

See attached patch for the ebuild and FILESDIR

Sven
Comment 1 Sven Wegener gentoo-dev 2004-03-05 16:05:04 UTC
Created attachment 26922 [details, diff]
desklet-psisensors-20031028.ebuild.patch
Comment 2 Sven Wegener gentoo-dev 2004-03-05 16:05:18 UTC
Created attachment 26923 [details, diff]
gdesklet-0.26-memory.patch
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2004-03-09 21:42:14 UTC
We should take this one upstream, thanks for your patch Sven. Most likely, I'll send it to psi (giving you credit of course), and depending on how quick psi's response is/plans for next version are, I'll either apply it locally, or wait until a new version.

Thanks.
Comment 4 Sven Wegener gentoo-dev 2004-05-06 03:34:50 UTC
Bug has been fixed in x11-plugins/desklet-psisensors-20040420

How about an updated dependency on >=gnome-extra/gdesklets-core-0.25.1
in x11-plugins/desklet-psisensors-20040420? When using prior versions
of gnome-extra/gdesklets-core ram/swap values will still be wrong. Prior
versions have been removed from portage, but just to be on the safe side.