pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/xdotool



Module Name:    pkgsrc
Committed By:   leot
Date:           Wed Sep 19 09:33:52 UTC 2018

Modified Files:
        pkgsrc/x11/xdotool: Makefile PLIST distinfo
Added Files:
        pkgsrc/x11/xdotool/patches: patch-Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/x11/xdotool/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/x11/xdotool/PLIST pkgsrc/x11/xdotool/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/xdotool/patches/patch-Makefile

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

Modified files:

Index: pkgsrc/x11/xdotool/Makefile
diff -u pkgsrc/x11/xdotool/Makefile:1.2 pkgsrc/x11/xdotool/Makefile:1.3
--- pkgsrc/x11/xdotool/Makefile:1.2     Wed Aug 22 09:48:05 2018
+++ pkgsrc/x11/xdotool/Makefile Wed Sep 19 09:33:52 2018
@@ -1,20 +1,22 @@
-# $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@localhost
 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: pkgsrc/x11/xdotool/PLIST
diff -u pkgsrc/x11/xdotool/PLIST:1.1 pkgsrc/x11/xdotool/PLIST:1.2
--- pkgsrc/x11/xdotool/PLIST:1.1        Mon Aug 28 11:30:53 2017
+++ pkgsrc/x11/xdotool/PLIST    Wed Sep 19 09:33:52 2018
@@ -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
Index: pkgsrc/x11/xdotool/distinfo
diff -u pkgsrc/x11/xdotool/distinfo:1.1 pkgsrc/x11/xdotool/distinfo:1.2
--- pkgsrc/x11/xdotool/distinfo:1.1     Mon Aug 28 11:30:53 2017
+++ pkgsrc/x11/xdotool/distinfo Wed Sep 19 09:33:52 2018
@@ -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

Added files:

Index: pkgsrc/x11/xdotool/patches/patch-Makefile
diff -u /dev/null pkgsrc/x11/xdotool/patches/patch-Makefile:1.1
--- /dev/null   Wed Sep 19 09:33:52 2018
+++ pkgsrc/x11/xdotool/patches/patch-Makefile   Wed Sep 19 09:33:52 2018
@@ -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



Home | Main Index | Thread Index | Old Index