Date: Wed, 11 Nov 2020 19:03:59 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> 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 Message-ID: <202011111903.0ABJ3x9Z037920@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011111903.0ABJ3x9Z037920>