Bug 219264

Summary: x11/libwacom: install the profiles of tablets
Product: Ports & Packages Reporter: Henry Hu <henry.hu.sh>
Component: Individual Port(s)Assignee: freebsd-x11 (Nobody) <x11>
Status: Closed FIXED    
Severity: Affects Only Me CC: rezny, zeising
Priority: --- Flags: rezny: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to install profiles
none
fix the replacement command none

Description Henry Hu 2017-05-13 21:39:15 UTC
Created attachment 182575 [details]
patch to install profiles

Due to a linux-only command in the Makefiles (find -printf), libwacom port is not correctly finding and installing the profiles and tablets. This defeats its main purpose: supplying metadata about Wacome tablets. This patch fixes this.

The attached patch replaces
    find ... -printf "%P\n"
with
    find ... -print0 | xargs -0 basename
which works on FreeBSD.

pkg-plist is updated to include the newly installed profiles.
Comment 1 Henry Hu 2017-05-13 21:40:36 UTC
Created attachment 182576 [details]
fix the replacement command
Comment 2 Matthew Rezny freebsd_committer freebsd_triage 2017-08-06 09:37:17 UTC
Thank you for submitting this correction.
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-05-20 14:42:26 UTC
A commit references this bug:

Author: zeising
Date: Sun May 20 14:41:44 UTC 2018
New revision: 470461
URL: https://svnweb.freebsd.org/changeset/ports/470461

Log:
  x11/libwacom: install the profiles of tablets

  Due to a linux only command in the makefile libwacom isn't finding and
  installing tablet profiles.  Fix the command to work on FreeBSD and thus
  install tablet profiles.

  PR:		219264
  Submitted by:	Henry Hu

Changes:
  head/x11/libwacom/Makefile
  head/x11/libwacom/pkg-plist
Comment 4 Niclas Zeising freebsd_committer freebsd_triage 2018-05-20 14:52:12 UTC
Fixed, thanks for the report!