Bug 26516 - new ebuild: digitemp, software for external themometers
|
Bug#:
26516
|
Product: Gentoo Linux
|
Version: 1.4_rc4
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: seemant@gentoo.org
|
Reported By: mikew@wakerly.com
|
|
Component: Ebuilds
|
|
|
URL:
http://www.digitemp.com
|
|
Summary: new ebuild: digitemp, software for external themometers
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2003-08-12 19:11 0000
|
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.
Mike,
I am willing to check this in, if you are willing to handle bug reports related to it.
ok, in that case what's the purpose of the rrd and the ds9097 USE flags (in
laypeople's terms)?
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)
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..
added to portage. Thanks Mike.