pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

New pkg, xdo



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Sat Jun 27 16:32:28 2020 +0200
Changeset:	df3e76e513eaec5c41c5e6fd755a0e6b1941a97b

Modified Files:
	Makefile
Added Files:
	xdo/DESCR
	xdo/Makefile
	xdo/PLIST
	xdo/distinfo
	xdo/patches/patch-Makefile

Log Message:
New pkg, xdo

Small X utility to perform elementary actions on windows.
Apply the given action to the given windows.
If no window IDs and no options are given, the action applies
to the focused window.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=df3e76e513eaec5c41c5e6fd755a0e6b1941a97b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                   |  1 +
 xdo/DESCR                  |  4 ++++
 xdo/Makefile               | 20 ++++++++++++++++++++
 xdo/PLIST                  |  3 +++
 xdo/distinfo               |  7 +++++++
 xdo/patches/patch-Makefile | 22 ++++++++++++++++++++++
 6 files changed, 57 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 12a69808c2..5d4ee77bf4 100644
--- a/Makefile
+++ b/Makefile
@@ -4992,6 +4992,7 @@ SUBDIR+=	xbsql
 SUBDIR+=	xcb-util-xrm-git
 SUBDIR+=	xchat2-tcl
 SUBDIR+=	xdiskusage
+SUBDIR+=	xdo
 SUBDIR+=	xebece
 SUBDIR+=	xentools48
 SUBDIR+=	xerces-c-2.8.0
diff --git a/xdo/DESCR b/xdo/DESCR
new file mode 100644
index 0000000000..349cf55e78
--- /dev/null
+++ b/xdo/DESCR
@@ -0,0 +1,4 @@
+Small X utility to perform elementary actions on windows.
+Apply the given action to the given windows.
+If no window IDs and no options are given, the action applies
+to the focused window.
diff --git a/xdo/Makefile b/xdo/Makefile
new file mode 100644
index 0000000000..679e2a5d16
--- /dev/null
+++ b/xdo/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	xdo-0.5.7
+CATEGORIES=	x11
+MASTER_SITES=	${MASTER_SITE_GITHUB:=baskerville/}
+GITHUB_TAG=	${PKGVERSION_NOREV}
+
+MAINTAINER=	pin%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/baskerville/xdo/
+COMMENT=	Small X utility to perform elementary actions on windows
+LICENSE=	2-clause-bsd
+
+USE_TOOLS+=	gmake
+
+WRKSRC=	${WRKDIR}/xdo-0.5.7
+
+.include "../../x11/libxcb/buildlink3.mk"
+.include "../../x11/xcb-util-wm/buildlink3.mk"
+.include "../../x11/xcb-util/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/xdo/PLIST b/xdo/PLIST
new file mode 100644
index 0000000000..33a4a8fd60
--- /dev/null
+++ b/xdo/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/xdo
+man/man1/xdo.1
diff --git a/xdo/distinfo b/xdo/distinfo
new file mode 100644
index 0000000000..72e9da1078
--- /dev/null
+++ b/xdo/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (xdo-0.5.7.tar.gz) = 9daa84c47dd213fb3de6ac5ebec5ec4fc1be61a3
+RMD160 (xdo-0.5.7.tar.gz) = 4b0b661f00013d7b6154e88230f9e72bae72f298
+SHA512 (xdo-0.5.7.tar.gz) = 0978a8571a35899c916495c9d38458adb6c766db4d498dfacf2f0a46e373f7caa3c3e227096b3e60e03c67b972777cf7519e5b6eee7ebb91f82d4450ac0ff98d
+Size (xdo-0.5.7.tar.gz) = 7453 bytes
+SHA1 (patch-Makefile) = fe24912205b6bf3064c4753ac0c668dd872391b7
diff --git a/xdo/patches/patch-Makefile b/xdo/patches/patch-Makefile
new file mode 100644
index 0000000000..aa255bdbf0
--- /dev/null
+++ b/xdo/patches/patch-Makefile
@@ -0,0 +1,22 @@
+$NetBSD$
+
+Allow build and re-direct man to proper location
+
+--- Makefile.orig	2017-09-18 12:00:07.000000000 +0000
++++ Makefile
+@@ -2,13 +2,13 @@ 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
+ 
+ PREFIX    ?= /usr/local
+ BINPREFIX ?= $(PREFIX)/bin
+-MANPREFIX ?= $(PREFIX)/share/man
++MANPREFIX ?= $(PREFIX)/man
+ 
+ SRC := $(wildcard *.c)
+ OBJ := $(SRC:.c=.o)


Home | Main Index | Thread Index | Old Index