Bug 240261 - [NEW PORT] misc/utouch-kmod: Kernel driver for absolute USB HID mouses
Summary: [NEW PORT] misc/utouch-kmod: Kernel driver for absolute USB HID mouses
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Vladimir Kondratyev
URL: https://github.com/wulf7/utouch
Keywords: feature, needs-patch
Depends on:
Blocks:
 
Reported: 2019-09-01 21:40 UTC by Vladimir Kondratyev
Modified: 2019-09-09 20:46 UTC (History)
1 user (show)

See Also:


Attachments
utouch-kmod.patch (3.93 KB, patch)
2019-09-01 21:40 UTC, Vladimir Kondratyev
no flags Details | Diff
poudriere build log (14.99 KB, text/plain)
2019-09-01 21:42 UTC, Vladimir Kondratyev
no flags Details
utouch-kmod.patch (3.96 KB, patch)
2019-09-03 20:36 UTC, Vladimir Kondratyev
koobs: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kondratyev freebsd_committer freebsd_triage 2019-09-01 21:40:49 UTC
Created attachment 207082 [details]
utouch-kmod.patch

utouch - driver for absolute USB HID mouses emulated by some virtualization
systems like Virtual Box, BHyve etc. It uses evdev protocol to communicate
with userland applications like libinput and xf86-input-evdev.

The driver should be installed in to the guest FreeBSD system. Host system
should be configured to emulate mouse as a single-touch USB tablet.

WWW: https://github.com/wulf7/utouch

It is a temporary solution until absolute coords support is added to ums(4) driver. That is why it is not imported into the base system.
Comment 1 Vladimir Kondratyev freebsd_committer freebsd_triage 2019-09-01 21:42:05 UTC
Created attachment 207083 [details]
poudriere build log
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2019-09-03 09:28:49 UTC
^Triage: Reporter is committer, assign accordingly

Review items:

* Add LICENSE_FILE where one is available/provided in the source distribution

* You may want to consider a PORTVERSION other than 20181114, to ease a transition to x.y.z in the future without having to add PORTEPOCH. 

0.0.0.20181114 or similar is fine, or you can tag the version in the repository with 0.0.1 now (recommended) and use that.

* Couple you explain what the value of the SOURCE option and having the sources installed is?

* GH_TUPLE is usually only used for ports with multiple GitHub dependencies or across multiple projects. Switch to GH_* variables instead.
Comment 3 Vladimir Kondratyev freebsd_committer freebsd_triage 2019-09-03 20:36:22 UTC
Created attachment 207166 [details]
utouch-kmod.patch

> * Add LICENSE_FILE where one is available/provided in the source distribution
Done

> * You may want to consider a PORTVERSION other than 20181114, to ease a transition to x.y.z in the future without having to add PORTEPOCH. 
> 0.0.0.20181114 or similar is fine, or you can tag the version in the repository with 0.0.1 now (recommended) and use that.
Done. Tagged as 0.0.1

> * Couple you explain what the value of the SOURCE option and having the sources installed is?
That is done to make possible compiling of the module at the buildkernel pass. See https://lists.freebsd.org/pipermail/freebsd-current/2019-August/074015.html

> * GH_TUPLE is usually only used for ports with multiple GitHub dependencies or across multiple projects. Switch to GH_* variables instead.
Done
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2019-09-04 01:22:42 UTC
Comment on attachment 207166 [details]
utouch-kmod.patch

If the port passes QA (portlint, poudriere):

Approved by: koobs (ports)

Also, don't forget to add the port to misc/Makefile
Comment 5 commit-hook freebsd_committer freebsd_triage 2019-09-09 20:38:29 UTC
A commit references this bug:

Author: wulf
Date: Mon Sep  9 20:37:46 UTC 2019
New revision: 511703
URL: https://svnweb.freebsd.org/changeset/ports/511703

Log:
  utouch - driver for absolute USB HID mouses emulated by some virtualization
  systems like Virtual Box, BHyve, e.t.c. It uses evdev protocol to communicate
  with userland applications like libinput and xf86-input-evdev.

  The driver should be installed in to the guest FreeBSD system. Host system
  should be configured to emulate mouse as a single-touch USB tablet.

  WWW: https://github.com/wulf7/utouch

  It is a temporary solution until absolute coords support is added to ums(4)
  driver. That is why it is not imported into the base system.

  PR:		240261
  Approved by:	koobs

Changes:
  head/misc/Makefile
  head/misc/utouch-kmod/
  head/misc/utouch-kmod/Makefile
  head/misc/utouch-kmod/distinfo
  head/misc/utouch-kmod/pkg-descr
  head/misc/utouch-kmod/pkg-message