Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410679 - dev-embedded/libftdi-9999.1.0: add ability to install ftdi_eeprom utility
Summary: dev-embedded/libftdi-9999.1.0: add ability to install ftdi_eeprom utility
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Embedded Team (OBSOLETE)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-04-03 17:16 UTC by Ole Henrik Jahren
Modified: 2015-05-13 10:42 UTC (History)
1 user (show)

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


Attachments
Add use flag for installing ftdi_eeprom util (libftdi-install-eeprom-util.patch,1.05 KB, patch)
2012-04-03 17:17 UTC, Ole Henrik Jahren
Details | Diff
Another proposal + bump (libftdi-1.0.diff,1.17 KB, patch)
2013-02-06 04:19 UTC, Malte Starostik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Henrik Jahren 2012-04-03 17:16:02 UTC
The attached patch adds the ability to install the ftdi_eeprom utility.

Reproducible: Always
Comment 1 Ole Henrik Jahren 2012-04-03 17:17:00 UTC
Created attachment 307637 [details, diff]
Add use flag for installing ftdi_eeprom util
Comment 2 SpanKY gentoo-dev 2012-04-03 21:39:17 UTC
we've got dev-embedded/ftdi_eeprom already.  i don't think libftdi should be installing that.
Comment 3 Malte Starostik 2013-02-06 04:19:56 UTC
Created attachment 338064 [details, diff]
Another proposal + bump

dev-embedded/ftdi_eeprom can't configure the FT232Rx's CBUS pins and libftdi1-1.0 was apparently released recently with ftdi_eeprom included in its source tree.
The attached patch bumps the version and installs the utility with USE=utils.
I've slotted it, as the whole lib changed name libftdi => libftdi1 and thus I assume it's not API/ABI compatible.

Builds fine and the included utility manages to fix my device's CBUS config that was broken by dev-embedded/ftdi_eeprom-0.30-r1.  That's as far as testing went.

Guess I should file another bug for just the bump?  Holding back just now as I'm not sure whether ftdi_eeprom should be merged like this or still be split out as a separate ebuild.  It's tiny, but for many users maybe it's also the single reason to install this lib at all and so does deserve its own package.
In the latter case, it should be bumped accordingly.

Leave it at this or file another?
Comment 4 jannis 2015-04-02 08:15:06 UTC
This is resolved in tree. Emerge with USE=tools
Comment 5 SpanKY gentoo-dev 2015-05-13 10:42:55 UTC
Commit message: Add ebuild to transition to new libftdi[tools]
http://sources.gentoo.org/dev-embedded/ftdi_eeprom/ftdi_eeprom-1.0.ebuild?rev=1.1