From owner-svn-ports-all@freebsd.org Wed Nov 11 19:04:01 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 24C2A463081; Wed, 11 Nov 2020 19:04:01 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CWZ010RTtz3QDy; Wed, 11 Nov 2020 19:04:01 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 02518194D5; Wed, 11 Nov 2020 19:04:01 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0ABJ40K5037929; Wed, 11 Nov 2020 19:04:00 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0ABJ3x9Z037920; Wed, 11 Nov 2020 19:03:59 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <202011111903.0ABJ3x9Z037920@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Wed, 11 Nov 2020 19:03:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r554910 - in head/x11: . xdo xdo/files X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: in head/x11: . xdo xdo/files X-SVN-Commit-Revision: 554910 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2020 19:04:01 -0000 Author: danfe Date: Wed Nov 11 19:03:59 2020 New Revision: 554910 URL: https://svnweb.freebsd.org/changeset/ports/554910 Log: Add a port of `x11/xdo', utility to perform elementary actions on windows. PR: 249352 Added: head/x11/xdo/ head/x11/xdo/Makefile (contents, props changed) head/x11/xdo/distinfo (contents, props changed) head/x11/xdo/files/ head/x11/xdo/files/patch-Makefile (contents, props changed) head/x11/xdo/pkg-descr (contents, props changed) Modified: head/x11/Makefile Modified: head/x11/Makefile ============================================================================== --- head/x11/Makefile Wed Nov 11 18:44:38 2020 (r554909) +++ head/x11/Makefile Wed Nov 11 19:03:59 2020 (r554910) @@ -405,6 +405,7 @@ SUBDIR += xcut SUBDIR += xditview SUBDIR += xdm + SUBDIR += xdo SUBDIR += xdotool SUBDIR += xdpyinfo SUBDIR += xdriinfo Added: head/x11/xdo/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xdo/Makefile Wed Nov 11 19:03:59 2020 (r554910) @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= xdo +PORTVERSION= 0.5.7 +CATEGORIES= x11 + +MAINTAINER= casnix@gmail.com +COMMENT= Utility to perform elementary actions on windows + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libxcb-util.so:x11/xcb-util \ + libxcb-icccm.so:x11/xcb-util-wm + +USES= gmake localbase:ldflags xorg +USE_XORG= xcb +USE_GITHUB= yes +GH_ACCOUNT= baskerville + +PLIST_FILES= bin/xdo man/man1/xdo.1.gz + +.include Added: head/x11/xdo/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xdo/distinfo Wed Nov 11 19:03:59 2020 (r554910) @@ -0,0 +1,3 @@ +TIMESTAMP = 1505736007 +SHA256 (baskerville-xdo-0.5.7_GH0.tar.gz) = b661229f0457939d3867cca1664c5671ae959b309feb58abe9142229c8c7ffb4 +SIZE (baskerville-xdo-0.5.7_GH0.tar.gz) = 7453 Added: head/x11/xdo/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xdo/files/patch-Makefile Wed Nov 11 19:03:59 2020 (r554910) @@ -0,0 +1,24 @@ +--- Makefile.orig 2017-09-18 12:00:07 UTC ++++ Makefile +@@ -2,7 +2,7 @@ NAME := xdo + VERCMD ?= git describe 2> /dev/null + VERSION := $(shell $(VERCMD) || cat VERSION) + +-CPPFLAGS += -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" ++CPPFLAGS += -DVERSION=\"$(VERSION)\" + CFLAGS += -std=c99 -pedantic -Wall -Wextra + LDLIBS := -lxcb -lxcb-util -lxcb-icccm -lxcb-ewmh -lxcb-xtest + +@@ -26,9 +26,9 @@ $(NAME): $(OBJ) + + install: + mkdir -p "$(DESTDIR)$(BINPREFIX)" +- cp -p $(NAME) "$(DESTDIR)$(BINPREFIX)" +- mkdir -p "$(DESTDIR)$(MANPREFIX)/man1" +- cp -p doc/$(NAME).1 "$(DESTDIR)$(MANPREFIX)/man1" ++ $(BSD_INSTALL_PROGRAM) $(NAME) "$(DESTDIR)$(BINPREFIX)" ++ mkdir -p "$(DESTDIR)$(MANPREFIX)/man/man1" ++ $(BSD_INSTALL_MAN) doc/$(NAME).1 "$(DESTDIR)$(MANPREFIX)/man/man1" + + uninstall: + rm -f "$(DESTDIR)$(BINPREFIX)/$(NAME)" Added: head/x11/xdo/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xdo/pkg-descr Wed Nov 11 19:03:59 2020 (r554910) @@ -0,0 +1,6 @@ +Apply the given action to the given windows. + +If no window IDs and no options are given, +the action applies to the focused window. + +WWW: https://github.com/baskerville/xdo