LibHID is a user-space HID access library written in C. It provides a
generic and flexible way to access and interact with USB HID devices,
much like libusb does for plain USB devices. It is based on libusb, thus
it requires no HID support in the kernel. Furthermore, it aims to
support all operating system supported by libusb: Linux, BSD, OS X, and
Windows.
WWW: http://libhid.alioth.debian.org/
Remove most expired ports that depend on Python 2.7:
Exceptions are:
- mail/mailman, our listservers still use it
- www/chromium, solely because of popular demand,
upstream is (slowly) working on porting it to Python 3
- ports that have actual patches for Python 3 against
them (Cinnamon and a few unrelated other ports)
- llvm70 and qt5-webengine because they seem to have a lot
of dependencies which need further analysis
- sysutils/uefi-edk2-bhyve because bhyve seems to use them
- python2 and python27 themselves
I'm sure there will be complaints, but the nice thing about
a version control system is that we can revert and adjust things.
(Only the first 15 lines of the commit message are shown above )
- Move BUILD_DEPENDS to the right place
- Replace HAS_CONFIGURE with GNU_CONFIGURE
- Add USES=libtool and INSTALL_TARGET=install-strip
- Replace patch with USES=pathfix
In preparation of removing devel/libusb (expires 2013-04-30), remove it
from these ports.
Other changes:
- convert Makefile header
- convert to optionsNG
- remove indefinite article from comment
- drop support for FreeBSD < 8.0
- pet portlint (leave library ABI versions in LIB_DEPENDS)
- net-mgmt/spectools: change option name from GTK to GTK2 to use default
description from bsd.options.desc.mk
Approved by: portmgr (bapt)
Force numerous ports that fail to build with clang over to instead always
rely on gcc. The patch uses the new USE_GCC=any code in Mk/bsd.gcc.mk to
accomplish this.
The ports chosen were ports that blocked 2 or more ports from building with
clang. (There are several hundred other ports that still fail to build with
clang, even with this patch. This is merely one step along the way.)
Those interested in fixing these ports with clang, and have clang as their
default compiler, can simply set FORCE_BASE_CC_FOR_TESTING=yes.
For those who have gcc as their default compiler, this change is believed
to cause no change.
Hat: portmgr
Tested with: multiple runs on amd64-8-exp-bcm and 9-exp-clang, with various
combinations of patch/no-patch and flag settings.
- Chase libusb20 rename in r189585.
- Mark sane-backends broken on current due to changes
in USB stack.
Reviewed by: thompsa (old version), miwi
Tested by: miwi
[patch] Have devel/libhid also install its python site-package
When devel/swig13 is installed, building of devel/libhid
fails, due to my overlooking of the swig detection bits in
the ports configure script. However, swig is used to build
the python site-package of the port, so I've bumped the
portrevision and turned these bits on by default (the
additional patch-Makefile.in hunk is to suppress a warning).
PR: ports/116076
Submitted by: Nikos Ntarmos <ntarmos@ceid.upatras.gr>