First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 145253
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pekka Paalanen <pq@iki.fi>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
digitemp-ebuild-3.3.2-r1.diff Diff to be applied on digitemp-3.3.2.ebuild patch Pekka Paalanen 2006-08-27 05:55 0000 2.77 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 145253 depends on: Show dependency tree
Bug 145253 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-08-27 05:52 0000
Hello

Please find attached diff to app-misc/digitemp-3.3.2 ebuild. I rewrote the
1-wire adapter type selection stuff to allow several types to be used in the
same system, and enabled building of the USB-adapter version. I suggest the new
ebuild will be named digitemp-3.3.2-r1.

Digitemp is a program that operates on the Dallas 1-wire bus, especially for
reading temperature and other sensors. 1-wire is connected to PC via an
adapter, usually in a serial port.

Previously, only one type of adapter could be used, because the type is
selected at compile time and the 3.3.2 ebuild only installs one binary with a
name independent of adapter type. The compile time selection is also the reason
why the new ebuild rebuilds everything for different adapter types, just to be
sure. There are new USE-flags to select the adapter type.

Summary for changelog:

Rewrote the 1-wire adapter selection: remove SERIAL_DRIVER variable and use new
USE-flags instead: ds9097, ds9097u, ds2490. If no USE-flags selected, builds
the ds9097u version. Added compilation support for the DS9490 USB-adapter
(ds2490). Allow to install multiple executables for different adapters.

New package specific USE-flags:

ds2490: Support the USB-to-1-wire adapter, e.g. DS9490.
ds9097: Support the passive DS9097 serial-to-1-wire adapter.
ds9097u: Support the DS9097U serial-to-1-wire adapter, that uses DS2480B chip.

------- Comment #1 From Pekka Paalanen 2006-08-27 05:55:03 0000 -------
Created an attachment (id=95197) [edit]
Diff to be applied on digitemp-3.3.2.ebuild

------- Comment #2 From Pekka Paalanen 2006-08-27 06:11:33 0000 -------
Ok, seems that the SERIAL_DRIVER env variable approach would have been
preferable over USE-flags. However, I could not find documentation about how to
create such a variable (like VIDEO_CARDS in xorg-server), and the currently
used SERIAL_DRIVER does not show up in 'emerge -va digitemp'. I tried to do it,
but failed. I thought it is better to see the options before the actual
compilation begins.

Any pointers?

------- Comment #3 From Charlie Shepherd (RETIRED) 2007-01-02 15:42:29 0000 -------
Great! I've modified your changes slightly, see the ebuild in portage. Thanks
for your work, fixed in CVS.

First Last Prev Next    No search results available      Search page      Enter new bug