Skip to content

Commit

Permalink
xdotool: Update x11/xdotool to 3.20160805
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
iamleot committed Sep 19, 2018
1 parent 27181aa commit 7216046
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 17 deletions.
24 changes: 13 additions & 11 deletions x11/xdotool/Makefile
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
# $NetBSD: Makefile,v 1.2 2018/08/22 09:48:05 wiz Exp $
#
# $NetBSD: Makefile,v 1.3 2018/09/19 09:33:52 leot 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
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"
4 changes: 2 additions & 2 deletions x11/xdotool/PLIST
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@comment $NetBSD: PLIST,v 1.1 2017/08/28 11:30:53 bouyer Exp $
@comment $NetBSD: PLIST,v 1.2 2018/09/19 09:33:52 leot Exp $
bin/xdotool
include/xdo.h
lib/libxdo.so
lib/libxdo.so.2
lib/libxdo.so.3
man/man1/xdotool.1
10 changes: 6 additions & 4 deletions x11/xdotool/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
$NetBSD: distinfo,v 1.1 2017/08/28 11:30:53 bouyer Exp $
$NetBSD: distinfo,v 1.2 2018/09/19 09:33:52 leot 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
15 changes: 15 additions & 0 deletions x11/xdotool/patches/patch-Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
$NetBSD: patch-Makefile,v 1.1 2018/09/19 09:33:52 leot Exp $

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

0 comments on commit 7216046

Please sign in to comment.