Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2018 11:56:48 +0000 (UTC)
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r477322 - in head/www/googler: . files
Message-ID:  <201808161156.w7GBumDo034996@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nivit
Date: Thu Aug 16 11:56:47 2018
New Revision: 477322
URL: https://svnweb.freebsd.org/changeset/ports/477322

Log:
  - Update to 3.6
  - Add x11/xclip as run dependency (x11/xsel does not work)
  
  Changes:	https://github.com/jarun/googler/releases/tag/v3.6

Added:
  head/www/googler/files/
  head/www/googler/files/patch-googler   (contents, props changed)
Modified:
  head/www/googler/Makefile
  head/www/googler/distinfo

Modified: head/www/googler/Makefile
==============================================================================
--- head/www/googler/Makefile	Thu Aug 16 11:38:58 2018	(r477321)
+++ head/www/googler/Makefile	Thu Aug 16 11:56:47 2018	(r477322)
@@ -2,9 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	googler
-PORTVERSION=	3.2
+PORTVERSION=	3.6
 DISTVERSIONPREFIX=	v
-PORTREVISION=	1
+PORTREVISION=	0
 CATEGORIES=	www
 
 MAINTAINER=	nivit@FreeBSD.org
@@ -12,6 +12,8 @@ COMMENT=	Google Search, Google Site Search, Google New
 
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	xclip:x11/xclip
 
 USES=		python:3.3+ shebangfix
 SHEBANG_FILES=	googler

Modified: head/www/googler/distinfo
==============================================================================
--- head/www/googler/distinfo	Thu Aug 16 11:38:58 2018	(r477321)
+++ head/www/googler/distinfo	Thu Aug 16 11:56:47 2018	(r477322)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1500360091
-SHA256 (jarun-googler-v3.2_GH0.tar.gz) = 62c43871e2095fc05a2b632173f3d80b952531dc7bb306b24dcacdbc0472ae5a
-SIZE (jarun-googler-v3.2_GH0.tar.gz) = 58102
+TIMESTAMP = 1534410147
+SHA256 (jarun-googler-v3.6_GH0.tar.gz) = 514218f5155a2c1bd653462a503507beafca9d7ddff7203aeabb3ab4812e4b44
+SIZE (jarun-googler-v3.6_GH0.tar.gz) = 71738

Added: head/www/googler/files/patch-googler
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/googler/files/patch-googler	Thu Aug 16 11:56:47 2018	(r477322)
@@ -0,0 +1,14 @@
+--- googler.orig	2018-05-23 03:22:46 UTC
++++ googler
+@@ -2083,9 +2083,9 @@ class GooglerCmd(object):
+                     try:
+                         # try copying the url to clipboard using native utilities
+                         if sys.platform.startswith(('linux', 'freebsd', 'openbsd')):
+-                            if shutil.which('xsel') is None:
++                            if shutil.which('xclip') is None:
+                                 raise FileNotFoundError
+-                            copier_params = ['xsel', '-b', '-i']
++                            copier_params = ['xclip', '-selection', 'clipboard']
+                         elif sys.platform == 'darwin':
+                             copier_params = ['pbcopy']
+                         elif sys.platform == 'win32':



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808161156.w7GBumDo034996>