Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21608 - New ebuild for gnome-sensors
Summary: New ebuild for gnome-sensors
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Lowest enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-05-24 09:56 UTC by Chris Gianelloni (RETIRED)
Modified: 2003-10-07 03:27 UTC (History)
1 user (show)

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


Attachments
Ebuild for gnome-sensors 0.9c (gnome-sensors-0.9c.ebuild,709 bytes, application/octet-stream)
2003-05-24 09:58 UTC, Chris Gianelloni (RETIRED)
Details
Updated ebuild for gnome-sensors (gnome-sensors-0.9c.ebuild,717 bytes, text/plain)
2003-06-01 20:12 UTC, Chris Gianelloni (RETIRED)
Details
Updated ebuild for gnome-sensors (gnome-sensors-0.9c.ebuild,465 bytes, text/plain)
2003-07-13 13:44 UTC, Chris Gianelloni (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Gianelloni (RETIRED) gentoo-dev 2003-05-24 09:56:46 UTC
Here is an ebuild for the Gnome2 panel applet gnome-sensors.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2003-05-24 09:58:10 UTC
Created attachment 12363 [details]
Ebuild for gnome-sensors 0.9c

A very simple ebuild is attached.
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2003-05-27 02:30:15 UTC
This ebuild works fine for me, compiles and gnome-sensors sits nicely in my panel with no problems. I'd perhaps suggest the following patch, we dont really need the echo lines.

16c16
< #echo ${S}
---
> echo ${S}
19c19
< #     echo ${PWD}
---
>       echo ${PWD}
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2003-05-27 08:37:56 UTC
You're right.  I had forgotten that those were in there.  I put them in while testing the ebuild and must have forgotten to remove them.
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-06-01 19:39:55 UTC
there are a couple of stylistic problems with the ebuild. could you please read:

http://cvs.gentoo.org/~liquidx/ebuildmistakes.html 

and make sure your ebuild doesn't violate any of those? 

oh, and remove the debugging statements :)
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2003-06-01 20:12:28 UTC
Created attachment 12650 [details]
Updated ebuild for gnome-sensors

Here is a fixed ebuild.
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2003-06-01 20:54:09 UTC
wow that was pretty quick :) a few comments though, 

1. not your fault, but lm_sensors got changed to lm-sensors just recently to conform with policy.

2. if you use the gnome2 eclass, you don't need to define src_compile and src_install if they are pretty standard like the ones in your ebuild.

Comment 7 Alastair Tse (RETIRED) gentoo-dev 2003-06-07 11:55:44 UTC
chris,

is this working for you? i tested it myself, but it says that i have "no sensors available" (which is true.) and then i got someone else to test it and it just segfaulted for them. doesn't look too promising to me.

(no debugging symbols found)...[New Thread 16384 (LWP 3565)]
0x40961eb9 in __wait4 () at __wait4:-1
        in __wait4
        #0  0x40961eb9 in __wait4 () at __wait4:-1
        #1  0x409df214 in __DTOR_END__ () from /lib/libc.so.6
        #2  0x4086eae3 in waitpid () from /lib/libpthread.so.0
        #3  0x400b37f6 in libgnomeui_module_info_get () from
/usr/lib/libgnomeui-2.so.0
        #4  <signal handler called>
        #5  0x4092d3fa in strcmp () at strcmp:-1
        #6  0x4002f80e in sensors_match_chip () from /usr/lib/libsensors.so.1
        #7  0x0804df19 in gsensors_applet_start ()
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2003-06-07 11:59:54 UTC
Strangely enough, it is working perfectly for me.  I'll see if I can find anything wrong with it, but it is a very simple program.  Maybe I missed a dependency or something?

What motherboard does the other person have?  Do they have a working and configured lm-sensors package?
Comment 9 Martin Holzer (RETIRED) gentoo-dev 2003-06-09 16:45:08 UTC
compiles fine, segfaults on both machines (gcc 2.95 & gcc 3.2)
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2003-07-13 13:44:42 UTC
Created attachment 14446 [details]
Updated ebuild for gnome-sensors

This is a corrected ebuild for gnome-sensors.  This crashes on my dual Athlon
(MPX chipset) with properly configured lm_sensors, but works perfectly on my
dual Pentium 3 (Via 694x chipset).  Also, there is no version-specific download
of the source from the author, so either a version-dependant copy would need to
be put on the mirrors and the ebuild adjusted accordingly, or some others means
must be taken.

I'm requesting more people to test this and please, if you use this, comment in
this bug.  Hopefully, we can determine the problem and get a possible fix to
keep it from segfaulting on many machines.
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2003-10-07 03:27:31 UTC
I'm resolving this bug, since the author is no longer supporting this program.

http://www.vkcorp.org/gsensors/