Thomas Petazzoni
dabd983c0d
package/hidapi: fixup Config.in comment
...
The Config.in comment was mentioning both "NPTL" and "threads" as
dependencies, while mentioning only the former is sufficient.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com >
2024-05-09 22:17:20 +02:00
Fabrice Fontaine
8a26801c9f
package/libusb: needs gcc >= 4.9
...
libusb depends on gcc >= 4.9 because of _Thread_local since version
1.0.24 and
https://github.com/libusb/libusb/commit/9a1bc8cafb904c20a869c74ad6d657686a1c4bb1
Fixes:
- http://autobuild.buildroot.org/results/7b7f4b31095f8a7eecb347b574391003a2def8bc
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com >
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr >
2020-12-13 22:01:59 +01:00
Fabrice Fontaine
15f8ff0762
package/hidapi: bump to version 0.9.0
...
- Switch site to github.com/libusb/hidapi to get latest version, see
https://github.com/signal11/hidapi/issues/431
- Add hash for license files
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com >
2019-09-27 23:34:50 +02:00
Dan Walkes
a7404a79c6
package/hidapi: select glibc gconv libs copy
...
Hidapi source uses iconv_open UTF-16 conversion [1] which requires
gconv libararies when buiding with glibc in order to successfully
find serial number, manufacturer and product strings [2].
Use select in the config file to autmatically select gconv libararies
for inclusion on the target when building with glibc
Tested with ./utils/test-pkg -c hidapi.cfg -p hidapi and hidapi.cfg file
contents:
BR2_PACKAGE_HIDAPI=y
BR2_PACKAGE_EUDEV=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_USE_MMU=y
BR2_USE_WCHAR=y
Also tested on x86-64 build target with application using hidapi
[1]: https://github.com/signal11/hidapi/blob/a6a622ffb680c55da0de787ff93b80280498330f/libusb/hid.c#L446
[2]: https://www.silabs.com/community/interface/forum.topic.html/cp2114_linux_sta-RtWg
Signed-off-by: Dan Walkes <danwalkes@trellis-logic.com >
Tested-by: Dan Walkes <danwalkes@trellis-logic.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com >
2018-06-26 23:33:51 +02:00
Romain Naour
023bba7797
package/hidapi: depends on NPTL threads
...
hidapi use NPTL threads functions like pthread_barrier_wait() and
pthread_barrier_destroy(). So the dependency on threads support
doesn't come from libusb package but by hidapi itself.
Fixes:
[microblaze]
http://autobuild.buildroot.net/results/f7e/f7e778562aa1a65ba46f3b2f705d13ace8870805
[m68k]
http://autobuild.buildroot.net/results/2ec/2ecd240ccb15de76017942a8960faac6b3f973b4
Signed-off-by: Romain Naour <romain.naour@gmail.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2016-08-06 23:59:38 +02:00
Thomas Petazzoni
97f6ba2e7b
hidapi: add libiconv handling
...
hidapi uses iconv functions, which on uClibc without locale support is
provided by the external libiconv library. This commit adds the
necessary libiconv handling to make the hidapi package build on
!locale toolchains.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2015-12-30 22:18:11 +01:00
Yegor Yefremov
e739dd5a11
Use libgudev as regular dependency
...
Since eudev 3.1.3 libgudev is not shipped with this package,
so libgudev can be used as regular dependency regardless of
udev implementation selected.
Fixes following build error:
http://autobuild.buildroot.net/results/320/320c052bda0f1b5afb1e5c83a7fb4dca6227c5a1//
http://autobuild.buildroot.net/results/3b0/3b096f882030325b9290ad8860bd9cd373a11dc2//
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com >
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr >
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr >
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com >
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2015-12-08 21:49:10 +01:00
Vicente Olivert Riera
6267f34afd
hidapi: new package
...
[Thomas:
- use BR2_INIT_SYSTEMD instead of BR2_PACKAGE_SYSTEMD for the
libgudev handling. This is consistent with what we do in libmbim,
modem-manager and network-manager. Only udisks is diverging from
this by using BR2_PACKAGE_SYSTEMD.
- Fix the license info: it is GPLv3 *or* BSD-3c *or* the specific
HIDAPI license. Added LICENSE-orig.txt to LICENSE_FILES.]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2015-11-17 21:49:43 +01:00