--- xautomation-1.03.orig/debian/rules +++ xautomation-1.03/debian/rules @@ -0,0 +1,112 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +# FOR AUTOCONF 2.52 AND NEWER ONLY +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + CONFFLAGS += --build $(DEB_HOST_GNU_TYPE) +else + CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +include /usr/share/quilt/quilt.make + +configure: $(QUILT_STAMPFN) + +configure-stamp: configure + dh_testdir + # Autoconf stuff + autoreconf --force --install + # Configure + CFLAGS="$(CFLAGS)" ./configure \ + $(CONFFLAGS) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + $(MAKE) -f /usr/share/quilt/quilt.make patch + $(MAKE) + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + [ ! -f Makefile ] || $(MAKE) distclean + rm -f configure-stamp build-stamp + # remove autoconf generated stuff + rm -f aclocal.m4 Makefile.in configure \ + depcomp INSTALL install-sh \ + missing mkinstalldirs + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/xautomation + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- xautomation-1.03.orig/debian/upstream.changelog +++ xautomation-1.03/debian/upstream.changelog @@ -0,0 +1,178 @@ +2008-03-17 00:00 bpk + + * This fixes a problem with key modifiers being set for + keysyms that have multiple keycodes, for example 'str <' + did not work for some people. Also debugging is turned on + by default. + +2008-01-23 21:43 bpk + + * Makefile.am, configure.in: Add missing manpages to dist, bump + version + +2007-12-31 16:40 bpk + + * configure.in: Bump version + * xmousepos.c: Fix some compile warnings, add not about where to + get window id and that it must be in hex + +2007-12-31 16:29 bpk + + * Makefile.am, configure.in, pat2ppm.1, patextract.1, png2pat.1, + rgb2pat.1, visgrep.1, xautomation.7, xmousepos.1, xte.1: Patch + to clean up the linking to only use the libs needed and added + the manpages from the debian project thanks to the maintainer + Kapil Hari Paranjape + +2007-12-04 17:27 bpk + + * visgrep.c: More comments and warnings thanks to + mncharity@vendian.org + +2007-12-04 17:25 bpk + + * image.c: This should allow the source and match to be the same + size and also adds some extra warning/errors, thanks to + mncharity@vendian.org + * png2pat.c: Added non-portable image message + +2007-12-04 17:24 bpk + + * kbd.h: Spacing changes + * Makefile.am: Added xmousepos + * xmousepos.c: Small app to get mouse position + +2007-12-04 17:23 bpk + + * xte.c: Fixed up the key and str commands, now key is + specifically for sending a keysym, and str is specifically to + (attempt) to send the characters in a string. + +2007-10-01 15:42 bpk + + * Makefile.am, configure.in, kbd.h, kbd_german.h, kbd_us.h, xte.c: + This patch changes causes xte to query the current keyboard + layout instead of using a hardcoded table and also adds unicode + support, big thanks to Marco Steinacher + +2006-05-18 17:08 bpk + + * dist-info.cf: Added dist-info config for my mkdist command + +2006-05-18 17:07 bpk + + * Makefile.am: Changed CFLAGS to AM_CFLAGS + +2006-05-18 17:06 bpk + + * Makefile.am, configure.in, missing, xte.c: Removed automake + file, updated config for newer autoconf/automake, fixed XFlush + bug in 'str' command pointed out by thorsten@staerk.de + +2005-12-12 16:42 bpk + + * xte.c: Fixed typo in Backspace to BackSpace + +2004-05-13 22:03 bpk + + * configure.in, xte.c: Added -x flag to set display for + controlling remote X sessions, modified patch from Chris + Lalancette + +2004-04-27 20:27 bpk + + * configure.in, xte.c: Fixed segfault bug when running without + exit, prints error message now + +2004-04-21 16:43 bpk + + * configure.in: Inc'd version + +2004-04-21 16:42 bpk + + * visgrep.c: James Cameron * visgrep.c: + change exit status to match grep(1) style; zero for successful + match, 1 for no match, 2 for command error. Wrap usage message + for 80 column default. + +2003-12-15 19:51 bpk + + * configure.in: Inc'd release number + * configure.in, image.c, pat2ppm.c, patextract.c, png2pat.c, + rgb2pat.c, visgrep.c, xte.c: On powerpc, the program loops with + "Unhandled option" error. This is due to the fact that getopt + returns an int and not a char (which is too small to contain EOF + = -1). The attached patch corrects this as well as many warnings + about undeclared functions and unused variables. -- System + Information: Debian Release: testing/unstable Architecture: + powerpc Kernel: Linux guybrush 2.6.0-test11-benh-guybrush.51 #3 + Fri Dec 12 23:44:37 PST 2003 ppc Locale: LANG=fr_FR@euro, + LC_CTYPE=fr_FR@euro + +2003-09-16 20:32 bpk + + * Makefile.am: Removed xgrab + +2003-02-14 20:51 psocccer + + * Makefile.am, configure.in, image.c, visgrep.c, xte.c: Forgot to + include kbd_*.h in distribution + +2003-02-10 23:54 psocccer + + * Makefile.am, configure.in, kbd_german.h, kbd_us.h, xte.c: Added + keymap support for non-us keyboards and a keymap from Stefan + Nickl + +2002-08-15 20:45 psocccer + + * configure.in, xte.c: Fixed annoying uninitialized shift bug, + thanks to Bill Saunders + +2002-08-12 22:42 psocccer + + * configure.in, image.c, visgrep.c, xte.c: Added support for + converting many common characters that are not the same name as + keysyms, e.g. /@#$? + +2002-08-10 06:41 psocccer + + * Makefile.am, image.c, image.h, pat2ppm.c, patextract.c: Added + support to extract subimages, and to convert patterns to ppm + files + +2002-08-06 21:16 psocccer + + * configure.in, xte.c: Added relative mouse movement commands + +2002-07-26 06:43 psocccer + + * README, configure.in, image.c, image.h, png2pat.c, visgrep.c, + xte.c: RGBA png support now, and alpha channel support. Fixed + more typos in xte. Patterns created with old version of + xautomation tools will not be compatible with this and future + releases + +2002-07-26 04:47 psocccer + + * debug.c, debug.h, image.c, image.h, png2pat.c, rgb2pat.c, + visgrep.c, xte.c: Fixed some small bugs with the mousemove + command, thanks Tom Bradley + +2002-07-25 18:20 psocccer + + * README, configure.in: Fixed up some version stuff for initial + release + +2002-07-25 18:18 psocccer + + * AUTHORS, COPYING, INSTALL, Makefile.am, NEWS, README, config.h, + config.h.in, configure.in, debug.c, debug.h, image.c, image.h, + install-sh, missing, mkinstalldirs, png2pat.c, rgb2pat.c, + visgrep.c, xte.c: Initial revision + +2002-07-25 18:18 + + * projects/xautomation/branches, projects/xautomation/tags, .: New + repository initialized by cvs2svn. + --- xautomation-1.03.orig/debian/copyright +++ xautomation-1.03/debian/copyright @@ -0,0 +1,52 @@ +Files under debian/: +-------------------- +This package was debianized by Aurelien Jarno on +Sat, 18 Oct 2003 19:50:44 +0200. +It is currently maintained by Kapil Hari Paranjape +. + +The files under debian/ constitute source for the Debian packaging. +Each such file should be deemed to carry a notice as follows: + + Copyright (c) 2003 Aurelien Jarno + Copyright (c) 2007 Kapil Hari Paranjape + + This program is free software: you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + +Upstream source: +---------------- +The upstream source was downloaded from http://hoopajoo.net/projects/xautomation.html + +The upstream author is Steve Slaven + +The upstream source contains copyright assertions of the +following form (taken from xte.c): + + * Copyright (c) 2002 Steve Slaven, All Rights Reserved. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + +Full texts of licenses: +----------------------- + +On Debian systems, the complete text of the GNU General Public +License(s) can be found in the files "/usr/share/common-licenses/GPL*". + +-- +End of debian/copyright. --- xautomation-1.03.orig/debian/control +++ xautomation-1.03/debian/control @@ -0,0 +1,23 @@ +Source: xautomation +Section: x11 +Priority: extra +Maintainer: Kapil Hari Paranjape +Build-Depends: debhelper (>= 5.0.0), libxtst-dev, libx11-dev, + libpng-dev, automake, quilt +Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint +Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/deb-maint +Homepage: http://hoopajoo.net/projects/xautomation.html +Standards-Version: 3.8.1 + +Package: xautomation +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Control X from the command line, and find things on the screen + Control X from the command line for scripts, and do "visual scraping" to + find things on the screen. The control interface allows mouse movement, + clicking, button up/down, key up/down, etc, and uses the XTest extension so + you don't have the annoying problems that xse has when apps ignore sent + events. The visgrep program find images inside of images and reports the + coordinates, allowing programs to find buttons, etc, on the screen to click + on. + --- xautomation-1.03.orig/debian/changelog +++ xautomation-1.03/debian/changelog @@ -0,0 +1,178 @@ +xautomation (1.03-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix FTBFS with binutils-gold. (Closes: #556688) + * Add build-depend on quilt and some small changes in debian/rules to enable + patching. + + -- Ana Beatriz Guerrero Lopez Mon, 12 Sep 2011 21:17:26 +0200 + +xautomation (1.03-1) unstable; urgency=low + + * New Upstream Release (1.03). + - fixes for different keyboard layouts and multi_key sequences + from Marco Steinacher. Closes: #523199. + - upstream "Changelog" is back. + + debian/upstream.changelog: removed; not required. + + debian/rules: restore dh_installchangelogs to have + no arguments + * debian/control: + - Bumped Standards-Version to 3.8.1. No other changes required. + - Bumped debhelper dependency to 5.0.0. No other changes required. + * debian/compat: Debhelper dependency level to 5 as lower levels + are deprecated. + + -- Kapil Hari Paranjape Thu, 28 May 2009 11:10:31 +0530 + +xautomation (1.02-1) unstable; urgency=low + + * New Upstream Release (1.02). + * Added upstream changelog based on upstream web site + and changelog from version 1.01 + - debian/upstream.changelog: the actual file. + - debian/rules: change name of upstream changelog + in call to dh_installchangelogs. + * debian/control: + - Added Vcs-Svn and Vcs-Browser tags pointing to Debian's + "collab-maint" repository. + - Bumped Standards-Version to 3.8.0. No other changes required. + + -- Kapil Hari Paranjape Sun, 15 Jun 2008 07:22:08 +0530 + +xautomation (1.01-1) unstable; urgency=low + + * New Upstream Release (1.01) + - incorporated manpages from Debian. + - link only to needed libraries. + - fix compile warnings in xmousepos.c + * Incorporated autotools in build process following + /usr/share/doc/autotools-dev/README.Debian.gz. + Thanks to Henrique de Moraes Holschuh. + - debian/control: + + added "automake" to Build-Depends + + added "automake1.4" and "autoconf2.13" to + Build-Conflicts + - debian/rules: + + set variable "CONFFLAGS" using DEB_* variables. + + modified "configure-stamp" and "clean" rules. + * Cleaned up debian/ following upstream's incorporation + of Debian patches and man pages. + - debian/*.[0-9]: removed as these are now in upstream + source. + - debian/control: removed "quilt" from Build-Depends. + - debian/patches: removed this directory as it is not + required. + - debian/rules: no longer include make snippet for quilt. + - debian/manpages: no longer required as manpages are + installed by upstream Makefile. + * Added debian/watch file from qa.debian.org. Thanks people. + + -- Kapil Hari Paranjape Sat, 16 Feb 2008 07:00:25 +0530 + +xautomation (0.99-1) unstable; urgency=low + + * New Maintainer. Closes: #390832. + Thanks to Aurelien Jarno, the previous maintainer. + * New Upstream Release (0.99) + - Added support for non-US keyboards. Closes: #415451. + Thanks to Mitchell N Charity for pointing this out. + - New binary "xmousepos". + * debian/rules: + - removed "rm -f kbd.h" from "clean" rule. + - changed "make" and "rm" calls in "clean" rule + to catch errors. + - added patch/unpatch rules using "quilt". + * debian/control: + - Standards Version 3.7.3. No changes required. + - Moved Homepage to its own field. + - Removed author name from package description. + - added "quilt" to Build-Depends. + * debian/visgrep.1: Fixed hyphen-used-as-minus-sign. + * debian/xmousepos.1: Added this manpage as none is provided + upstream. + * debian/manpages: Added entry for "xmousepos.1" manpage. + * debian/patches: + - avoid_extra_libs: + + patched "configure" to avoid linking all + the binaries with "libpng". + + patched "Makefile.in" to avoid linking "xmousepos" + with "libXtst". + - avoid_extra_libs_upstream: + + above patches applied to "configure.in" and "Makefile.am" + for upstream sources. + + This patch not used by quilt to avoid extract "configure" + calls during build. + * debian/copyright: Added clarifications regarding the location of + license assertions. + * debian/*.[1-7]: Added copyright assertions at the beginning and + authorship remark at the end of all manpages. + + -- Kapil Hari Paranjape Mon, 17 Dec 2007 08:30:09 +0530 + +xautomation (0.96-5) unstable; urgency=low + + * Orphaning this package, setting maintainer field to + packages@qa.debian.org. + + -- Aurelien Jarno Sat, 30 Sep 2006 18:18:49 +0200 + +xautomation (0.96-4) unstable; urgency=low + + * Bumped Standards-Version to 3.7.2 (No changes). + * xte.c, xte.1: s/Backspace/BackSpace/ (closes: bug#369295). + + -- Aurelien Jarno Mon, 29 May 2006 00:57:54 +0200 + +xautomation (0.96-3) unstable; urgency=low + + * Replaced build-dependency on xlibs-dev by libxtst-dev, libx11-dev. + + -- Aurelien Jarno Fri, 2 Dec 2005 23:46:04 +0100 + +xautomation (0.96-2) unstable; urgency=low + + * Bumped Standards-Version to 3.6.2 (No changes). + * Don't ship README file, it is useless. + * Added an xautomation manpage that lists all the xautomation packages + (closes: bug#321914). + + -- Aurelien Jarno Tue, 9 Aug 2005 01:16:26 +0200 + +xautomation (0.96-1) unstable; urgency=low + + * New upstream version. + + -- Aurelien Jarno Wed, 9 Jun 2004 16:15:58 +0200 + +xautomation (0.94-1) unstable; urgency=low + + * New upstream version. + + -- Aurelien Jarno Wed, 21 Apr 2004 18:57:36 +0200 + +xautomation (0.93-2) unstable; urgency=low + + * Added a patch from James Cameron to make visgrep return a status code + according to the result of the search (closes: bug#244813). + + -- Aurelien Jarno Tue, 20 Apr 2004 18:37:46 +0200 + +xautomation (0.93-1) unstable; urgency=low + + * New upstream version. + + -- Aurelien Jarno Sun, 28 Dec 2003 23:10:33 +0100 + +xautomation (0.92-2) unstable; urgency=low + + * Fixed an error with getopt (closes: bug#223939). Thanks to + Vincent Bernat for the patch, which also fixes a lot of warnings. + + -- Aurelien Jarno Sun, 14 Dec 2003 14:29:12 +0100 + +xautomation (0.92-1) unstable; urgency=low + + * Initial Release (closes: bug#216421). + + -- Aurelien Jarno Sat, 18 Oct 2003 21:35:04 +0200 + --- xautomation-1.03.orig/debian/watch +++ xautomation-1.03/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/\.(tar.*|tgz|zip|gz|bz2)$//i,dversionmangle=s/[-.+~]?(cvs|svn|git|snapshot|pre|hg)(.*)$//i,pasv \ +http://hoopajoo.net/projects/xautomation.html (?:.*/)?xautomation-?_?([\d+\.]+|\d+)\.(tar.*|tgz|zip|gz|bz2|) debian uupdate --- xautomation-1.03.orig/debian/compat +++ xautomation-1.03/debian/compat @@ -0,0 +1 @@ +5 --- xautomation-1.03.orig/debian/patches/series +++ xautomation-1.03/debian/patches/series @@ -0,0 +1 @@ +fix-binutils-gold --- xautomation-1.03.orig/debian/patches/fix-binutils-gold +++ xautomation-1.03/debian/patches/fix-binutils-gold @@ -0,0 +1,13 @@ +From: Ana Guerrero +Subject: fix FTBFS with binutils-gold +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,7 +1,7 @@ + bin_PROGRAMS = xte rgb2pat png2pat visgrep pat2ppm patextract xmousepos + man_MANS = pat2ppm.1 patextract.1 png2pat.1 rgb2pat.1 visgrep.1 xautomation.7 xmousepos.1 xte.1 + xte_SOURCES = xte.c debug.c kbd.h keysym_map.h multikey_map.h +-xte_LDADD = $(X_LIBS) $(X_EXTRALIBS) -lXtst ++xte_LDADD = $(X_LIBS) $(X_EXTRALIBS) -lXtst -lX11 + rgb2pat_SOURCES = rgb2pat.c image.c image.h debug.c debug.h + rgb2pat_LDADD = -lpng + png2pat_SOURCES = png2pat.c image.c image.h debug.c debug.h