Bug 250902

Summary: www/googler: drop or make conditional xclip dependency
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Nicola Vitale <nivit>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: needs-patch
Priority: --- Flags: bugzilla: maintainer-feedback? (nivit)
Version: Latest   
Hardware: Any   
OS: Any   

Description Jan Beich freebsd_committer freebsd_triage 2020-11-06 13:21:04 UTC
I'm on Wayland, so use wl-copy instead of xclip. googler supports more tools:

     if shutil.which('xsel') is not None:
         copier_params = ['xsel', '-b', '-i']
     elif shutil.which('xclip') is not None:
         copier_params = ['xclip', '-selection', 'clipboard']
     elif shutil.which('wl-copy') is not None:
         copier_params = ['wl-copy']
     elif shutil.which('termux-clipboard-set') is not None:
         copier_params = ['termux-clipboard-set']
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-03-11 08:33:31 UTC
A commit references this bug:

Author: nivit
Date: Thu Mar 11 08:32:39 UTC 2021
New revision: 568070
URL: https://svnweb.freebsd.org/changeset/ports/568070

Log:
  www/googler: update to 4.3.2

  Remove runtime dependency by xclip.  [1]
  Add pkg-message to inform the user that copy URL to clipboard requires
  an external program.

  PR:	250902  [1]
  Submitted by:	jbeich

Changes:
  head/www/googler/Makefile
  head/www/googler/distinfo
  head/www/googler/pkg-message
Comment 2 Nicola Vitale freebsd_committer freebsd_triage 2021-03-11 08:49:13 UTC
Fixed. Thank you for the PR.