Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2458 - ksensors-0.6.1.ebuild (new package) & KDE eclass problem
Summary: ksensors-0.6.1.ebuild (new package) & KDE eclass problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 196282
Blocks:
  Show dependency tree
 
Reported: 2002-05-05 05:33 UTC by Michael v.Ostheim
Modified: 2008-11-06 18:38 UTC (History)
1 user (show)

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


Attachments
ksensors-0.6.1.ebuild.tgz (ksensors-0.6.1.ebuild.tgz,1.39 KB, text/plain)
2002-05-05 05:34 UTC, Michael v.Ostheim
Details
ksensors-0.7-r1.ebuild (ksensors-0.7-r1.ebuild,440 bytes, text/plain)
2002-06-11 17:08 UTC, Francisco Gimeno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael v.Ostheim 2002-05-05 05:33:00 UTC
Hi,   
I attached the ksensors-0.6.1.ebuild.tgz.  
  
Description:  KSensors is a nice frontend for lm-sensors, a set of tools for monitoring  
the hardware health of Linux systems containing hardware health monitoring hardware such  
as the LM78 or LM75, as well as a system resource monitor.  
  
Features:  
docking in the panel  
support for multiple sensor chips  
a hard disk temperatur panel (requires HDDtemp)  
 
------------------------------------------------- 
KDE eclass problem: 
The install scripts of ksensors are designed to work with KDE2 and KDE3. For example a 
simple "need-kde 3" does not work, the installation fails with autoconf errors. The 
problem seems to be the "export WANT_AUTOCONF_2_5=1" and "export WANT_AUTOMAKE_1_4=1" in 
kde-functions.eclass, commenting that lines out it works fine (but only for that 
package).  
 
Because that I don't use "need-kde" for this script. Is there another way to handle it?
Comment 1 Michael v.Ostheim 2002-05-05 05:34:29 UTC
Created attachment 827 [details]
ksensors-0.6.1.ebuild.tgz
Comment 2 Francisco Gimeno 2002-06-11 17:08:53 UTC
Created attachment 1462 [details]
ksensors-0.7-r1.ebuild

The new package. It works for me in a gentoo 1.3 with gcc-3.1, qt3 and kde3.

Just try it, maybe the problem is solved ;)
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-06-13 14:04:35 UTC
This is a lot nicer indeed. I'm adding to portage. Mixed kde2/3 projects 
are never Good Things. 
 
Notes about diffs to your submitted 0.7 ebuild: 
- inherit kde-base not kde. 
- S=${WORKDIR}/${P} not necessary (eclasses do that). 
- LICENSE setting removed because I'm going to do a master license 
sweep/update of kde apps this weekend (long story...). 
- SLOT=0 not necessary because eclasses automatiaclly set SLOT=3 for kde3 
apps. 
- Depend on kde-base/kdebase. Don't depend on kde-base/kde, that's all of kde 
which isn't needed. 
 
Please read my Eclass Howto and/or other kde ebuilds for the reasons for some  
of these changes.