Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26516 - new ebuild: digitemp, software for external themometers
Summary: new ebuild: digitemp, software for external themometers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Seemant Kulleen (RETIRED)
URL: http://www.digitemp.com
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-12 19:11 UTC by mike wakerly
Modified: 2003-09-15 07:07 UTC (History)
1 user (show)

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


Attachments
app-misc/digitemp-3.2.0 ebuild (digitemp-3.2.0.ebuild,1.93 KB, text/plain)
2003-08-12 19:12 UTC, mike wakerly
Details
digitemp-3.2.0 revised ebuild (digitemp-3.2.0.ebuild,1.77 KB, text/plain)
2003-08-23 18:33 UTC, mike wakerly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mike wakerly 2003-08-12 19:11:21 UTC
Here is an ebuild for digitemp, a program that uses Dallas Semiconductor
ibuttons (http://www.ibutton.com/) to log temperatures. It supports networks of
sensors, and can produce neat MRTG-like logs.

I have this hardware, and it works nicely.

For the maintainer, there are a few things to note. First, the software can be
made with one of two targets, depending on the serial adapter: ds9097, or
ds9097u. I have chosen ds9097u as the default, but this can be overridden with a
local USE="ds9097"

Second, there are a number of examples that may or may not belong in
/usr/share/doc. I have suggested two methods for installing these examples
within the ebuild. Feel free to use one, or devise a better one.

Finally, a rrd local use flag controls whether or not rrd examples are installed
(as with the global perl and python flags).

Thanks. Feel free to make changes to any particularly cumbersome or unusal code
bits.
Comment 1 mike wakerly 2003-08-12 19:12:45 UTC
Created attachment 16009 [details]
app-misc/digitemp-3.2.0 ebuild

Here is the ebuild. Suggested category is app-misc/digitemp.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-08-23 17:32:43 UTC
Mike,

I am willing to check this in, if you are willing to handle bug reports related to it.  
Comment 3 mike wakerly 2003-08-23 17:55:24 UTC
No problem-o.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-08-23 18:05:23 UTC
ok, in that case what's the purpose of the rrd and the ds9097 USE flags (in laypeople's terms)?
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-08-23 18:06:10 UTC
in fact, rather than a USE flag, I reckon an environment flag would be more appropriate (Along the lines of xfree-drm and alsa-driver)
Comment 6 mike wakerly 2003-08-23 18:19:41 UTC
Basically the DigiTemp makefile requires you to build for one of two types of hardware adapters: the 9097, or the 9097u, with the latter being (I believe to be) the more common.

Regarding the rrd flag -- probably not necessary; the perl/python/rrd flags just install examples for that language. (this is the part that I thought was cumersome.)

Since it doesn't affect the builds, lets just blow away the use flags for the examples, eliminating the rrd flag in the process. Not a big space-hit. Does the place where the examples are stored look sane, or is there a better convention?

cheers..
Comment 7 mike wakerly 2003-08-23 18:33:25 UTC
Created attachment 16514 [details]
digitemp-3.2.0 revised ebuild

changed to remove all the use flags; ds9097 controller with
SERIAL_DRIVER="ds9097" env
Comment 8 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-15 07:07:03 UTC
added to portage. Thanks Mike.