Your message dated Sat, 11 May 2013 23:18:17 +0000
with message-id <[email protected]>
and subject line Bug#707313: fixed in keynav 0.20110708.0-2
has caused the Debian Bug report #707313,
regarding Patch to fix keynav build against the new libxdo3 API
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
707313: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707313
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: keynav
Version: 0.20110708.0-1
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu saucy ubuntu-patch



In Ubuntu, the attached patch was applied to achieve the following:

  * port-to-libxdo3.diff: Follow API changes in the new libxdo version.

This should be fairly self-explanatory.  xdotools upstream renamed
a ton of functions between libxdo2 and libxdo3, this patch tracks
that so it can build with the new version.

... Adam

-- System Information:
Debian Release: wheezy/sid
  APT prefers saucy-updates
  APT policy: (500, 'saucy-updates'), (500, 'saucy-security'), (500, 'saucy')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9.0-0-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru keynav-0.20110708.0/debian/changelog keynav-0.20110708.0/debian/changelog
diff -Nru keynav-0.20110708.0/debian/patches/port-to-libxdo3.diff keynav-0.20110708.0/debian/patches/port-to-libxdo3.diff
--- keynav-0.20110708.0/debian/patches/port-to-libxdo3.diff	1969-12-31 17:00:00.000000000 -0700
+++ keynav-0.20110708.0/debian/patches/port-to-libxdo3.diff	2013-05-08 18:24:14.000000000 -0600
@@ -0,0 +1,88 @@
+Description: Follow API changes in the new libxdo version.
+Author: Adam Conrad <[email protected]>
+Forwarded: no
+
+--- keynav-0.20110708.0.orig/keynav.c
++++ keynav-0.20110708.0/keynav.c
+@@ -290,7 +290,7 @@ int parse_mods(char *keyseq) {
+ 
+   int i = 0;
+   /* Use all but the last token as modifiers */
+-  const char **symbol_map = xdo_symbol_map();
++  const char **symbol_map = xdo_get_symbol_map();
+   for (i = 0; i < mods->len; i++) {
+     KeySym keysym = 0;
+     int j = 0;
+@@ -857,7 +857,7 @@ void cmd_start(char *args) {
+ 
+     zone = XCreateSimpleWindow(dpy, viewport->root,
+                                wininfo.x, wininfo.y, wininfo.w, wininfo.h, 0, 0, 0);
+-    xdo_window_setclass(xdo, zone, "keynav", "keynav");
++    xdo_set_window_class(xdo, zone, "keynav", "keynav");
+     canvas_gc = XCreateGC(dpy, zone, 0, NULL);
+ 
+     canvas = XCreatePixmap(dpy, zone, viewport->w, viewport->h,
+@@ -1020,7 +1020,7 @@ void cmd_cursorzoom(char *args) {
+     height = width;
+   }
+ 
+-  xdo_mouselocation(xdo, &xloc, &yloc, NULL);
++  xdo_get_mouse_location(xdo, &xloc, &yloc, NULL);
+ 
+   wininfo.x = xloc - (width / 2);
+   wininfo.y = yloc - (height / 2);
+@@ -1035,7 +1035,7 @@ void cmd_windowzoom(char *args) {
+   int x, y;
+   unsigned int width, height, border_width, depth;
+ 
+-  xdo_window_get_active(xdo, &curwin);
++  xdo_get_active_window(xdo, &curwin);
+   XGetGeometry(xdo->xdpy, curwin, &rootwin, &x, &y, &width, &height,
+                &border_width, &depth);
+   XTranslateCoordinates(xdo->xdpy, curwin, rootwin, 
+@@ -1064,8 +1064,8 @@ void cmd_warp(char *args) {
+   mouseinfo.y = y - wininfo.y;
+   openpixel(dpy, zone, &mouseinfo);
+ 
+-  xdo_mousemove(xdo, x, y, viewports[wininfo.curviewport].screen_num);
+-  xdo_mouse_wait_for_move_to(xdo, x, y);
++  xdo_move_mouse(xdo, x, y, viewports[wininfo.curviewport].screen_num);
++  xdo_wait_for_mouse_move_to(xdo, x, y);
+ 
+   /* TODO(sissel): do we need to open again? */
+   openpixel(dpy, zone, &mouseinfo);
+@@ -1078,7 +1078,7 @@ void cmd_click(char *args) {
+   int button;
+   button = atoi(args);
+   if (button > 0)
+-    xdo_click(xdo, CURRENTWINDOW, button);
++    xdo_click_window(xdo, CURRENTWINDOW, button);
+   else
+     fprintf(stderr, "Negative mouse button is invalid: %d\n", button);
+ }
+@@ -1116,19 +1116,19 @@ void cmd_drag(char *args) {
+ 
+   if (ISDRAGGING) { /* End dragging */
+     appstate.dragging = False;
+-    xdo_mouseup(xdo, CURRENTWINDOW, button);
++    xdo_mouse_up(xdo, CURRENTWINDOW, button);
+   } else { /* Start dragging */
+     cmd_warp(NULL);
+     appstate.dragging = True;
+-    xdo_keysequence_down(xdo, 0, drag_modkeys, 12000);
+-    xdo_mousedown(xdo, CURRENTWINDOW, button);
++    xdo_send_keysequence_window_down(xdo, 0, drag_modkeys, 12000);
++    xdo_mouse_down(xdo, CURRENTWINDOW, button);
+ 
+     /* Sometimes we need to move a little to tell the app we're dragging */
+     /* TODO(sissel): Make this a 'mousewiggle' command */
+-    xdo_mousemove_relative(xdo, 1, 0);
+-    xdo_mousemove_relative(xdo, -1, 0);
++    xdo_move_mouse_relative(xdo, 1, 0);
++    xdo_move_mouse_relative(xdo, -1, 0);
+     XSync(xdo->xdpy, 0);
+-    xdo_keysequence_up(xdo, 0, drag_modkeys, 12000);
++    xdo_send_keysequence_window_up(xdo, 0, drag_modkeys, 12000);
+   }
+ }
+ 
diff -Nru keynav-0.20110708.0/debian/patches/series keynav-0.20110708.0/debian/patches/series
--- keynav-0.20110708.0/debian/patches/series	2011-08-05 12:56:04.000000000 -0600
+++ keynav-0.20110708.0/debian/patches/series	2013-05-08 18:23:48.000000000 -0600
@@ -1 +1,2 @@
 remove-unnecessarily-linking-libxtst.diff
+port-to-libxdo3.diff

--- End Message ---
--- Begin Message ---
Source: keynav
Source-Version: 0.20110708.0-2

We believe that the bug you reported is fixed in the latest version of
keynav, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Axel Beckert <[email protected]> (supplier of updated keynav package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 12 May 2013 00:47:08 +0200
Source: keynav
Binary: keynav
Architecture: source amd64
Version: 0.20110708.0-2
Distribution: unstable
Urgency: low
Maintainer: Axel Beckert <[email protected]>
Changed-By: Axel Beckert <[email protected]>
Description: 
 keynav     - keyboard-driven mouse cursor mover
Closes: 707313
Changes: 
 keynav (0.20110708.0-2) unstable; urgency=low
 .
   * Add patch by Adam Conrad to follow API changes in libxdo version 3.
     - Fixes FTBFS with libxdo version 3. (Closes: #707313)
     - Bump build dependency on libxdo-dev to >= 1:3
   * Add patch to properly pass dpkg build flags.
   * Bump Standards-Version to 3.9.4 (no changes)
   * Fixes the following lintian warnings:
     - vcs-field-not-canonical
     - out-of-date-copyright-format-uri
   * Update copyright information in debian/copyright (years, packaging)
Checksums-Sha1: 
 386f9ce4de1cd02997aa20cfa5da2807effc7215 1301 keynav_0.20110708.0-2.dsc
 18eab37b4308a36478c1804d2bf747c8fcdb6cf7 7092 
keynav_0.20110708.0-2.debian.tar.gz
 a3f7b46e0251dca8bca24baaad2c28bb96a0ea5e 28452 keynav_0.20110708.0-2_amd64.deb
Checksums-Sha256: 
 bf74abfd3ef481b4dab621eceb0c5bd049fa6de7e7f3a100d76db6c813b3f0a0 1301 
keynav_0.20110708.0-2.dsc
 7586258fdb8e6cb6955353eba54d51720b3509b5e222da2aa41b834c276d965d 7092 
keynav_0.20110708.0-2.debian.tar.gz
 5738d9ed24eb3551eeb113ddffa02f1ba148673d971dcb2da785e9ab19b7fd39 28452 
keynav_0.20110708.0-2_amd64.deb
Files: 
 b5bb67b6c1b7c0864b4f9ea42c0f7efa 1301 utils extra keynav_0.20110708.0-2.dsc
 e5a5225920785af217262048f8785ff3 7092 utils extra 
keynav_0.20110708.0-2.debian.tar.gz
 b84bb00e0a9bc9b94c75e32566e89a44 28452 utils extra 
keynav_0.20110708.0-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlGOyt8ACgkQwJ4diZWTDt7yHACbB5RHbmR43J7v5C/jzynhqWxT
JzAAn0rC1Rn4dZXMICF4Hvvkq0TXBUz5
=t3Qu
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to