xdotool: Update x11/xdotool to 3.20160805 pkgsrc changes: - Update MASTER_SITES - Remove unused USE_LIBTOOL (libtool was not and is not used) - Only pod2man is needed as a tool, avoid to include perl bl3 Changes: 3.20160805.1 - Fix release tool problem. cflags.sh was missing from the previous two releases. `make test-package-build` now works correctly on OSX 10.11 and Fedora 23. 3.20160804.2 - Fix some bugs in the Makefile especially for OS X / macOS Sierra (Misty De Meo) 3.20160804.1 - Fix compilation problems on OSX 10.12 aka macOS Sierra. (#138; Jordan Sissel and Misty De Meo) - Fix memory leaks in window search and charcode map lookups (Markus Roth) - xdotool selectwindow (xdo_select_window_with_click) now only selects the window if mouse button 1 is pressed. Any other buttons will cause this selection to be aborted. (#136, #137; Jordan Sissel and Yuri D'Elia) - Fix bug where `xdotool click` with --clearmodifiers can sometimes leave stuck keys or mouse buttons. (#102, Aurelien Lourot) - windowmove now supports coordinates as a percentage of screen size. For example, a move to 50% 50% would move the window such that the top-left corner of the window is in the center of the screen. (#92, #27; Collin Guarino) - Typing commands (key and type) will now try to use XTEST instead of XSendEvent in a special circumstance. If the window id given (by window stack or the --window flag) is the currenly-focused window, key sequences will be sent using XTEST. (#85, mpnolan) - getmouselocation, getwindowgeometry, and search commands: now supports --shell and --prefix for having stdout be consumable by bash or similar shells. (#80, yatsek) - xdotool scripts such as running via `xdotool -` will now execute commands as lines of input are read. The previous behavior waited until stdin closed before executing anything. (#131, abensj) 3.20150503 - Lots of changes over the past 4 years, but with many folks telling me to do another release tarball, here it is. We can backfill the changelog later. Index: Makefile =================================================================== RCS file: /cvsroot/pkgsrc/x11/xdotool/Makefile,v retrieving revision 1.2 diff -u -p -r1.2 Makefile --- Makefile 22 Aug 2018 09:48:05 -0000 1.2 +++ Makefile 12 Sep 2018 12:28:27 -0000 @@ -1,20 +1,22 @@ # $NetBSD: Makefile,v 1.2 2018/08/22 09:48:05 wiz Exp $ -# -DISTNAME= xdotool-2.20110530.1 -PKGREVISION= 1 -CATEGORIES= x11 -MASTER_SITES= https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/semicomplete/ +DISTNAME= xdotool-3.20160805.1 +CATEGORIES= x11 +MASTER_SITES= ${MASTER_SITE_GITHUB:=jordansissel/} +GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= rga@sdf.lonestar.org HOMEPAGE= http://www.semicomplete.com/projects/xdotool/ COMMENT= Simulate keyboard input and mouse activity using X11 xtest extension LICENSE= modified-bsd -NO_CONFIGURE= yes -USE_LIBTOOL= yes -USE_TOOLS+= gmake -USE_TOOLS+= pkg-config +# XXX: The -rpath fix leads to `gcc: Missing argument for -Wl,-rpath' +# XXX: and build failure. +MAKE_ENV+= WITHOUT_RPATH_FIX=1 + +USE_TOOLS+= gmake pod2man pkg-config + +USE_LANGUAGES= c99 SUBST_CLASSES+= fix-getopt SUBST_STAGE.fix-getopt= pre-build @@ -22,8 +24,8 @@ SUBST_MESSAGE.fix-getopt= Fixing getopt SUBST_FILES.fix-getopt= *.c SUBST_SED.fix-getopt+= -e 's,getopt_long_only,getopt_long,g' -.include "../../lang/perl5/buildlink3.mk" .include "../../x11/libX11/buildlink3.mk" .include "../../x11/libXtst/buildlink3.mk" .include "../../x11/libXinerama/buildlink3.mk" +.include "../../x11/libxkbcommon/buildlink3.mk" .include "../../mk/bsd.pkg.mk" Index: PLIST =================================================================== RCS file: /cvsroot/pkgsrc/x11/xdotool/PLIST,v retrieving revision 1.1 diff -u -p -r1.1 PLIST --- PLIST 28 Aug 2017 11:30:53 -0000 1.1 +++ PLIST 12 Sep 2018 12:28:27 -0000 @@ -2,5 +2,5 @@ bin/xdotool include/xdo.h lib/libxdo.so -lib/libxdo.so.2 +lib/libxdo.so.3 man/man1/xdotool.1 Index: distinfo =================================================================== RCS file: /cvsroot/pkgsrc/x11/xdotool/distinfo,v retrieving revision 1.1 diff -u -p -r1.1 distinfo --- distinfo 28 Aug 2017 11:30:53 -0000 1.1 +++ distinfo 12 Sep 2018 12:28:27 -0000 @@ -1,5 +1,7 @@ $NetBSD: distinfo,v 1.1 2017/08/28 11:30:53 bouyer Exp $ -SHA1 (xdotool-2.20110530.1.tar.gz) = bf8372b2e76e8ee3884763cee6e8b3f66bf29aa6 -RMD160 (xdotool-2.20110530.1.tar.gz) = 1aebcd835a4741a9e77aa489a3bdce195c582204 -Size (xdotool-2.20110530.1.tar.gz) = 107204 bytes +SHA1 (xdotool-3.20160805.1.tar.gz) = 1d98f4905f30a6e52922417e54e62bb3b80f92aa +RMD160 (xdotool-3.20160805.1.tar.gz) = b534e475adb220d0d9b3fe0d64e77bd0befa602f +SHA512 (xdotool-3.20160805.1.tar.gz) = cf0b1c31e63a43759ff3f081f3b005dd9fe9cabd2f606d7d1238c7ea9c0526681f6ad7883c69ab9194d19a9584c3707f10306be1e826e5953da30838007dd471 +Size (xdotool-3.20160805.1.tar.gz) = 106026 bytes +SHA1 (patch-Makefile) = fa116f5bd21ed36995acf957983b3f3e5d6bddb0 Index: patches/patch-Makefile =================================================================== RCS file: patches/patch-Makefile diff -N patches/patch-Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-Makefile 12 Sep 2018 12:28:27 -0000 @@ -0,0 +1,15 @@ +$NetBSD$ + +Properly set permissions of header files (do not need executable bit). + +--- Makefile.orig 2016-08-05 17:37:12.000000000 +0000 ++++ Makefile +@@ -98,7 +98,7 @@ installlib: libxdo.$(LIBSUFFIX) + .PHONY: installheader + installheader: xdo.h + install -d $(DINSTALLINCLUDE) +- install xdo.h $(DINSTALLINCLUDE)/xdo.h ++ install -m 644 xdo.h $(DINSTALLINCLUDE)/xdo.h + + .PHONY: installman + installman: xdotool.1