1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

sysutils/iichid: Update to 0.0.3

Most important changes:

* USB transport backend is stable now and included in to port. It is disabled
  by default as it has greater priority than OS drivers.
* hcons - Consumer page AKA Multimedia keys and hsctrl - System control page
  AKA Power keys drivers are added. They should replace sysutils/uhidd port
  that became unusable since recent X11 switchover to evdev.
* hidraw - Exports raw HID data in uhid(4) and Linux hidraw-compatible way.

Take maintainership, as suggested by imp@

PR:		247787
Submitted by:	Miguel Gocobachi <miguel@gocobachi.dev>
Reviewed by:	koobs (ports)
Approved by:	koobs (ports), imp (maintainer)
Differential Revision:	https://reviews.freebsd.org/D25538
This commit is contained in:
Vladimir Kondratyev 2020-07-24 22:10:22 +00:00
parent 687829ba7e
commit 3fb4b981ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543383
3 changed files with 24 additions and 11 deletions

View File

@ -2,18 +2,18 @@
# $FreeBSD$
PORTNAME= iichid
DISTVERSION= 0.0.1
DISTVERSION= 0.0.3
CATEGORIES= sysutils
MAINTAINER= imp@FreeBSD.org
MAINTAINER= wulf@FreeBSD.org
COMMENT= Generic FreeBSD HID layer for I2C and USB devices
LICENSE= BSD2CLAUSE
#LICENSE_FILE= Not yet packaged
LICENSE_FILE= ${WRKSRC}/LICENSE
IGNORE_FreeBSD_11= Requires FreeBSD 12.1 or later
ONLY_FOR_ARCHS= aarch64 amd64 i386
ONLY_FOR_ARCHS_REASON= Requires architecture supporting ACPI
ONLY_FOR_ARCHS_REASON= I2C transport requires architecture supporting ACPI
USES= kmod uidfix
@ -26,9 +26,16 @@ MAKE_ENV= WERROR=""
PLIST_FILES= ${KMODDIR}/iichid.ko
# USB backend is not yet complete and
# interferes with existing USB drivers
post-patch:
${REINPLACE_CMD} -e '/usbhid.c/s/^/#/' ${WRKSRC}/Makefile
# USB backend is disabled by default as it interferes with existing USB drivers
OPTIONS_DEFINE= DEBUG I2C USB
OPTIONS_DEFAULT= I2C
I2C_DESC= HID over I2C support
USB_DESC= HID over USB support
I2C_MAKE_ARGS_OFF= -DDISABLE_I2CHID
USB_MAKE_ARGS_OFF= -DDISABLE_USBHID
post-patch-DEBUG-off:
${REINPLACE_CMD} -e '/iichid_debug =/s/1/0/' ${WRKSRC}/iichid.c
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1581662226
SHA256 (wulf7-iichid-0.0.1_GH0.tar.gz) = 282540487df1eb3f202f7beb440f68f43801662cb8f817931f09879c1f007a98
SIZE (wulf7-iichid-0.0.1_GH0.tar.gz) = 51001
TIMESTAMP = 1594041772
SHA256 (wulf7-iichid-0.0.3_GH0.tar.gz) = a548af4c2bfd121ec766d4203c70900b256a4b6e99cf4d9f643b9cfc8818efc7
SIZE (wulf7-iichid-0.0.3_GH0.tar.gz) = 88651

View File

@ -1,5 +1,11 @@
[
{ type: install
message: <<EOM
iichid is currently in-development and EXPERIMENTAL. This port provides
an easy and quick method for users to test this code to encourage early
testing, feedback and bug reports.
Please report successes and issues to: https://github.com/wulf7/iichid
EOM
}
]