Hello community,

here is the log from the commit of package xdotool for openSUSE:Factory checked 
in at 2018-02-21 14:12:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xdotool (Old)
 and      /work/SRC/openSUSE:Factory/.xdotool.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xdotool"

Wed Feb 21 14:12:10 2018 rev:10 rq:578403 version:3.20160805.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/xdotool/xdotool.changes  2017-07-25 
11:41:04.658570368 +0200
+++ /work/SRC/openSUSE:Factory/.xdotool.new/xdotool.changes     2018-02-21 
14:12:17.412420395 +0100
@@ -1,0 +2,46 @@
+Sun Feb 18 07:42:02 UTC 2018 - [email protected]
+
+- update to 3.20160805.1
+  * Fix release tool problem. cflags.sh was missing from the
+    previous two releases. 
+  * `make test-package-build` now works correctly on Fedora and OSX
+- includes 3.20160804.2
+  * Fix some bugs in the Makefile
+- includes 3.20160804.1
+  * Fix memory leaks in window search and charcode map lookups
+  * 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.
+  * Fix bug where `xdotool click` with --clearmodifiers can
+    sometimes leave stuck keys or mouse buttons.
+  * 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.
+  * 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.
+  * getmouselocation, getwindowgeometry, and search commands: now
+    supports --shell and --prefix for having stdout be consumable by
+    bash or similar shells.
+  * 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.
+- includes 3.20150503 ()
+  * Fix sending wrong keys when using multiple keyboard layouts 
+  * Add --repeat and --repeat-delay to allow repetition of a key
+    sequence
+  * Fix handling of empty files in type command
+  * consume regexp argument only if present.
+  * update URLs to Github
+  * Changes determined via:
+    https://github.com/jordansissel/xdotool/compare/65cb0b1...v3.20150503.1
+with an optional delay in between each full sequence.
+- drop _service file in favor of github release tarball
+- use https for site
+- cleanup with spec-cleaner
+- add remove-dead-function.patch
+  * removes reference to function in header file that was removed
+
+-------------------------------------------------------------------

Old:
----
  _service
  xdotool-2.2012+git.20130201.65cb0b1.tar.bz2

New:
----
  remove-dead-function.patch
  xdotool-3.20160805.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xdotool.spec ++++++
--- /var/tmp/diff_new_pack.AfBQBC/_old  2018-02-21 14:12:19.456346790 +0100
+++ /var/tmp/diff_new_pack.AfBQBC/_new  2018-02-21 14:12:19.456346790 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xdotool
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,22 +17,24 @@
 
 
 Name:           xdotool
-Version:        2.2012+git.20130201.65cb0b1
+Version:        3.20160805.1
 Release:        0
 Summary:        Fake keyboard/mouse input
 License:        BSD-3-Clause
 Group:          System/X11/Utilities
-#Source:         
http://semicomplete.googlecode.com/files/xdotool-%{version}.tar.gz
-Source:         xdotool-%{version}.tar.bz2
+Url:            https://www.semicomplete.com/projects/xdotool/
+Source:         
https://github.com/jordansissel/xdotool/releases/download/v%{version}/%{name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM bmwiedemann 
https://github.com/jordansissel/xdotool/pull/159
 Patch0:         xdotool-2.2012-reproducible.patch
-Url:            http://www.semicomplete.com/projects/xdotool/
+# PATCH-FIX-UPSTREAM https://github.com/jordansissel/xdotool/pull/203.patch
+Patch1:         
https://patch-diff.githubusercontent.com/raw/jordansissel/xdotool/pull/203.patch#/remove-dead-function.patch
 BuildRequires:  gcc-c++
 BuildRequires:  make
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xinerama)
+BuildRequires:  pkgconfig(xkbcommon)
 BuildRequires:  pkgconfig(xtst)
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 This tool lets you programatically (or manually) simulate keyboard input and
@@ -55,44 +57,35 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 # Fix file permissions
 chmod 0644 examples/ffsp.sh
-export WARNFLAGS="$RPM_OPT_FLAGS"
-%__make %{?_smp_mflags}
+export WARNFLAGS="%{optflags}"
+make %{?_smp_mflags}
 
 %install
-%{__make} \
-    DESTDIR=%{buildroot} \
+%make_install \
     PREFIX=%{_prefix} \
     INSTALLLIB=%{_libdir} \
     INSTALLMAN=%{_mandir} \
-    install
 
-%__chmod 0644 examples/*
+chmod 0644 examples/*
 
 %post -p /sbin/ldconfig
-
 %post devel -p /sbin/ldconfig
-
 %postun -p /sbin/ldconfig
-
 %postun devel -p /sbin/ldconfig
 
-%clean
-%{__rm} -rf '%{buildroot}'
-
 %files
-%defattr(-,root,root)
 %{_bindir}/%{name}
 %doc CHANGELIST COPYRIGHT README
 %doc examples
-%{_mandir}/man1/%{name}.1*
+%{_mandir}/man1/%{name}.1%{ext_man}
 %{_libdir}/libxdo.so.*
 
 %files devel
-%defattr(-,root,root)
 %attr(0644,root,root) %{_includedir}/*.h
 %{_libdir}/libxdo.so
 

++++++ remove-dead-function.patch ++++++
>From 11a76b01e93cfbca31f1514c92078bf7f4110d60 Mon Sep 17 00:00:00 2001
From: William Woodruff <[email protected]>
Date: Thu, 28 Dec 2017 16:40:51 -0500
Subject: [PATCH] Remove declaration of xdo_get_active_keys_to_keycode_list

This function was removed in 7cf1eaaf3178c46a12b73cf6454818b5d9feda75,
but the header declaration was never removed.
---
 xdo.h | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/xdo.h b/xdo.h
index 79c653c..9154507 100644
--- a/xdo.h
+++ b/xdo.h
@@ -411,15 +411,6 @@ int xdo_send_keysequence_window_list_do(const xdo_t *xdo, 
Window window,
                             charcodemap_t *keys, int nkeys,
                             int pressed, int *modifier, useconds_t delay);
 
-/**
- * Get a list of active keys. Uses XQueryKeymap.
- *
- * @param keys Pointer to the array of charcodemap_t that will be allocated
- *    by this function.
- * @param nkeys Pointer to integer where the number of keys will be stored.
- */
-int xdo_get_active_keys_to_keycode_list(const xdo_t *xdo, charcodemap_t **keys,
-                                         int *nkeys);
 
 /**
  * Wait for a window to have a specific map state.

Reply via email to