debian/0000755000000000000000000000000012465472776007212 5ustar debian/watch0000644000000000000000000000011312465471542010224 0ustar version=3 https://fedorahosted.org/released/dogtail/ dogtail-(.*)\.tar\.gz debian/copyright0000644000000000000000000000220512465471542011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Dogtail Upstream-Contact: Mailing list for developers Source: https://fedorahosted.org/released/dogtail/ Files: * Copyright: 2005-2014 Red Hat, Inc. License: GPL-2+ Files: debian/* Copyright: 2013-2014 Alessio Treglia License: GPL-2+ License: GPL-2+ 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. . On Debian systems, the complete text of the GNU General Public License can be found in the file `/usr/share/common-licenses/GPL-2'. . You should have received a copy of the GNU General Public License along with this program. If not, see . debian/changelog0000644000000000000000000001334112465472776011066 0ustar dogtail (0.9.0-2) unstable; urgency=medium * QA upload. * Fix VCS tag. * Update copyright holders references. * Depends on gir1.2-gtk-3.0. (Closes: #738547) * Depends on at-spi2-core. (Closes: #485783) * Orphaning the package. -- Alessio Treglia Sat, 07 Feb 2015 20:30:44 +0000 dogtail (0.9.0-1) unstable; urgency=low * New upstream release. * Refresh patches. -- Alessio Treglia Tue, 22 Apr 2014 17:13:47 +0100 dogtail (0.8.2-2) unstable; urgency=low * Don't use os.getlogin() to get the name of the user currently logged on. Thanks to Jakub Wilk to pointing this out. (Closes: #743500) * Update debian/copyright. * Bump Standards. -- Alessio Treglia Thu, 03 Apr 2014 15:01:52 +0100 dogtail (0.8.2-1) unstable; urgency=low * Upload to unstable. * New upstream maintenance release: - Added the dogtail-run-headless-next to replace the dogtail-run-headless in future. - Unittests vastly improved and updated. - Fixed a missing reset of FocusWindow to None on application refocus. - Fixed the dogtail-logout to use gnome-shell instead of old gnome-panel. * Drop 0001-homedirornamedtemp.patch, applied upstream. -- Alessio Treglia Mon, 03 Jun 2013 22:39:32 +0100 dogtail (0.8.1-2) experimental; urgency=low * Fix mistake in 0001-homedirornamedtemp.patch. This should unblock LP: #460210 -- Alessio Treglia Thu, 14 Feb 2013 18:12:50 +0000 dogtail (0.8.1-1) experimental; urgency=low * New maintainer. (Closes: #696136) (Closes: #553898) * Set packaging format to 3.0 (quilt). * New upstream release (Closes: #486452): - String exceptions are not used anymore. (Closes: #585287) - Fix missing check in findChildren(), tree.py (Closes: #485758) * ACK NMUs: - Convert APT's API patch into the quilt format. (Closes: #572087) - Convert Ludovico Gardenghi's patch into the quilt format. (Closes: #485752) * Fix desktop file as Freedesktop.org's per-spec. * Migrate from CDBS + python-support to DH short-form + dh_python2. * Move to section python. * Refresh {,Build-}Depends lists. * Remove xbase-clients from Depends. (Closes: #601486) * Add Homepage field. (Closes: #572570) * Add watch file. * Add gbp config file. * Refresh debian/copyright to meet copyright format 1.0. * Install NEWS as upstream changelog. * Bump Standards. -- Alessio Treglia Sat, 09 Feb 2013 16:01:44 +0000 dogtail (0.6.1-3.2) unstable; urgency=high * Non-maintainer upload. * Apply patch by Julian Andres Klode to make it API compliant with python-apt 0.8 (Closes: #572087). -- Mehdi Dogguy Wed, 01 Jun 2011 16:18:42 +0200 dogtail (0.6.1-3.1) unstable; urgency=low * Non-maintainer upload. * Fix "[DoS] use of /tmp/dogtail prevents use by multiple users" Applied patch by Ludovico Gardenghi (Closes: #485752) -- Bastian Venthur Sun, 21 Feb 2010 14:57:10 +0100 dogtail (0.6.1-3) unstable; urgency=low * pyhton-at-spi has to be added as dependency (Closes: #402752) -- Jose Carlos Garcia Sogo Sat, 16 Dec 2006 10:57:30 +0100 dogtail (0.6.1-2) unstable; urgency=low * Yay! As this has been actually uploaded to Debian... close the ITP (Closes: #399327) -- Jose Carlos Garcia Sogo Sun, 19 Nov 2006 23:32:50 +0100 dogtail (0.6.1-1) unstable; urgency=low * New upstream version. * Upload to Debian. * Use python-support. * debian/rules: - remove dh_iconcache, as Debian does not support it. * debian/control: - add Depends on python-gnome2, python-apt, xvfb and xbase-clients -- Jose Carlos Garcia Sogo Sun, 19 Nov 2006 21:50:49 +0100 dogtail (0.5.1-0ubuntu1) edgy; urgency=low * New upstream release. * debian/rules: - add dh_iconcache. -- Daniel Holbach Tue, 1 Aug 2006 22:59:27 +0200 dogtail (0.4.3+cvs2006.02.14-0ubuntu2) dapper; urgency=low * debian/control: Add missing build dependency on python2.4, fixes FTBFS. Thanks, Stuart Langridge (Closes: Malone #39827). -- Daniel T Chen Sun, 16 Apr 2006 21:55:34 -0400 dogtail (0i.4.3+cvs2006.02.14-0ubuntu1) dapper; urgency=low * [Zack Cerza ] - New upstream release. - Build-Depend on python-at-spi (>=0.5.3-1). - Add post-install script that calls gtk-update-icon-cache. * [Daniel Holbach] - changed versioning and sponsored upload - debian/python-dogtail.post-install: - dropped, we can't update hicolor icon cache. - debian/control: - new description. - bumped Standards-Version. - changed python-at-spi Depends. -- Daniel Holbach Wed, 22 Feb 2006 12:31:33 +0100 dogtail (0.4.3-1) unstable; urgency=low * New upstream release. -- Zack Cerza Mon, 24 Oct 2005 02:32:14 -0400 dogtail (0.4.2-3) unstable; urgency=low * Correct website URL. -- Zack Cerza Wed, 19 Oct 2005 19:16:14 -0400 dogtail (0.4.2-2) unstable; urgency=low * Add Recommends for xvfb. -- Zack Cerza Tue, 11 Oct 2005 16:59:04 -0400 dogtail (0.4.2-1) unstable; urgency=low * New upstream release. -- Zack Cerza Thu, 6 Oct 2005 23:25:03 -0400 dogtail (0.4.1-1) unstable; urgency=low * New upstream release. -- Zack Cerza Thu, 6 Oct 2005 17:23:03 -0400 dogtail (0.4.0-1) unstable; urgency=low * New upstream release. -- Zack Cerza Thu, 6 Oct 2005 16:54:16 -0400 dogtail (0.0.1.90-1) unstable; urgency=low * Initial Release -- Zack Cerza Sun, 10 Jul 2006 22:40:36 -0400 debian/control0000644000000000000000000000143712465472735010615 0ustar Source: dogtail Section: python Priority: optional Maintainer: Debian QA Group Build-Depends: debhelper (>= 9~), python-all, python-pyatspi X-Python-Version: >= 2.6 Homepage: https://fedorahosted.org/dogtail/ Standards-Version: 3.9.5 Package: python-dogtail Architecture: all Depends: at-spi2-core, gir1.2-gtk-3.0, python-apt (>= 0.7.93), python-gi, python-gi-cairo, python-pyatspi, xvfb, ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Recommends: imagemagick, python-celementtree | python-elementtree Description: GUI test tool and automation framework dogtail is a GUI test tool and automation framework written in Python. It uses Accessibility (a11y) technologies to communicate with desktop applications. dogtail scripts are written in Python. debian/compat0000644000000000000000000000000212465471542010376 0ustar 9 debian/rules0000755000000000000000000000060412465471542010260 0ustar #!/usr/bin/make -f %: dh $@ -Spython_distutils --with python2 override_dh_auto_install: dh_auto_install mkdir -p debian/python-dogtail/usr/share/doc/python-dogtail/ mv debian/python-dogtail/usr/share/doc/dogtail/* \ debian/python-dogtail/usr/share/doc/python-dogtail/ rm -rf debian/python-dogtail/usr/share/doc/dogtail/ override_dh_installchangelogs: dh_installchangelogs NEWS debian/source/0000755000000000000000000000000012465471542010500 5ustar debian/source/format0000644000000000000000000000001412465471542011706 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000003612465471542010616 0ustar [DEFAULT] pristine-tar = True debian/patches/0000755000000000000000000000000012465471542010627 5ustar debian/patches/series0000644000000000000000000000011412465471542012040 0ustar 0002-apt_api_update.patch 0003-desktop_file.patch 1001-logged_on_user.patch debian/patches/0002-apt_api_update.patch0000644000000000000000000000424612465471542015214 0ustar Description: make it API compliant with python-apt 0.8 Author: Julian Andres Klode Bug-Debian: http://bugs.debian.org/572087 Bug: https://fedorahosted.org/dogtail/ticket/48 Applied-Upstream: https://git.fedorahosted.org/cgit/dogtail.git/commit/?id=4a65a95a8dcb5 --- dogtail/distro.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) --- dogtail.orig/dogtail/distro.py +++ dogtail/dogtail/distro.py @@ -143,12 +143,12 @@ class _AptPackageDb(PackageDb): if not self.cache: import apt_pkg apt_pkg.init() - self.cache = apt_pkg.GetCache() - packages = self.cache.Packages + self.cache = apt_pkg.Cache() + packages = self.cache.packages for package in packages: - if package.Name == packageName: + if package.name == packageName: verString = re.match( - '.*Ver:\'(.*)-.*\' Section:', str(package.CurrentVer)).group(1) + '.*Ver:\'(.*)-.*\' Section:', str(package.current_ver)).group(1) return Version.fromString(verString) raise PackageNotFoundError(packageName) @@ -171,17 +171,17 @@ class _AptPackageDb(PackageDb): if not self.cache: import apt_pkg apt_pkg.init() - self.cache = apt_pkg.GetCache() - packages = self.cache.Packages + self.cache = apt_pkg.Cache() + packages = self.cache.packages for package in packages: - if package.Name == packageName: - current = package.CurrentVer + if package.name == packageName: + current = package.current_ver if not current: raise PackageNotFoundError(packageName) - depends = current.DependsList + depends = current.depends_list list = depends['Depends'] for dependency in list: - name = dependency[0].TargetPkg.Name + name = dependency[0].target_pkg.name # Add to the hash using a dummy value result[name] = None return result.keys() debian/patches/1001-logged_on_user.patch0000644000000000000000000000143112465471542015221 0ustar Description: Don't use os.getlogin() to get the name of the user currently logged on. Author: Alessio Treglia Bug-Debian: http://bugs.debian.org/743500 Bug: https://fedorahosted.org/dogtail/ticket/46 Forwarded: yes --- dogtail/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- dogtail.orig/dogtail/config.py +++ dogtail/dogtail/config.py @@ -6,11 +6,13 @@ __author__ = "Zack Cerza Forwarded: no --- sniff/sniff.desktop | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- dogtail.orig/sniff/sniff.desktop +++ dogtail/sniff/sniff.desktop @@ -1,5 +1,4 @@ [Desktop Entry] -Encoding=UTF-8 Name=AT-SPI Browser Name[en_CA]=AT-SPI Browser Name[en_GB]=AT-SPI Browser @@ -11,4 +10,4 @@ Terminal=false Type=Application Icon=dogtail-head StartupNotify=true -Categories=Application;Development; +Categories=Development;