Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#33640 - [i2c-tools] should provide i2c-dev.h file
Attached to Project:
Community Packages
Opened by eS.eF. (Dimorph) - Wednesday, 30 January 2013, 14:50 GMT
Last edited by Jelle van der Waa (jelly) - Friday, 05 April 2013, 18:54 GMT
Opened by eS.eF. (Dimorph) - Wednesday, 30 January 2013, 14:50 GMT
Last edited by Jelle van der Waa (jelly) - Friday, 05 April 2013, 18:54 GMT
|
DetailsDescription:
The i2c-tools should provide the i2c-dev.h file in /usr/include for development. If you write a userspace driver you need the i2c_smbus_*-functions they are inline in the i2c-dev.h diff --git a/PKGBUILD b/PKGBUILD index 679dad5..67443e2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -28,7 +28,8 @@ package() { install -Dm755 eepromer/eeprog eepromer/eeprom eepromer/eepromer "${pkgdir}/usr/sbin" cd py-smbus python2 setup.py install --prefix "${pkgdir}/usr" - rm -rf "${pkgdir}/usr/include" + mv "${pkgdir}/usr/include/linux/i2c-dev.h" "${pkgdir}/usr/include" + rm -rf "${pkgdir}/usr/include/linux" } # vim:set ts=2 sw=2 et: |
This task depends upon
Comment by Jelle van der Waa (jelly) -
Sunday, 10 February 2013, 12:38 GMT
No, i2c-dev.h is already provided by linux-headers. So your method simply won't work.