debian/0000775000000000000000000000000012256457106007200 5ustar debian/copyright0000664000000000000000000000364112252446521011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: evemu Upstream-Contact: input-tools@lists.freedesktop.org Source: http://cgit.freedesktop.org/evemu/ Files: * Copyright: 2010-2012 Canonical Ltd. 2010 Henrik Rydberg 2013 Benjamin Tissoires 2013 Peter Hutterer License: LGPL-3 This program is free software: you can redistribute it and/or modify it under the terms of version 3 of the GNU Lesser General Public License as published by the Free Software Foundation. . 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 full text of the GNU LesserGeneral Public License version 3 can be found in the file `/usr/share/common-licenses/LGPL-3'. Files: tools/* Copyright: 2010-2012 Canonical Ltd. 2010 Henrik Rydberg 2013 Benjamin Tissoires 2013 Keith Packard 2013 Peter Hutterer License: GPL-3 Files: debian/* Copyright: 2013 Canonical Ltd. License: GPL-3 License: GPL-3 This program is free software: you can redistribute it and/or modify it under the terms of version 3 of the GNU General Public License as published by the Free Software Foundation. . 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 full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. debian/python3-evemu.install0000664000000000000000000000003112252421766013304 0ustar usr/lib/python3*/*/evemu debian/evemu-tools.install0000664000000000000000000000003212117400560013026 0ustar usr/bin/* usr/share/man/* debian/changelog0000664000000000000000000000735512256457057011071 0ustar evemu (1.2.0-1ubuntu1) trusty; urgency=low * Adapted build dependency to python3-all now that 3.4 is supported via py3versions, resolving FTBFS. -- Daniel T Chen Tue, 24 Dec 2013 23:09:34 -0500 evemu (1.2.0-1) unstable; urgency=low * New upstream release. * debian/patches/0001-add-evemu-event-manpage.patch: removed * debian/control: un-forced Python3 version - updated to Standards-Version 3.9.5 (no changes) * debian/python3-evemu: fixed paths * debian/patches/0005-python3-raise-syntax.patch: - fix exception raise syntax for Python3 (closes: #706155) * debian/libevemu1.symbols: added new symbols * debian/copyright: added new maintainers -- Stephen M. Webb Thu, 12 Dec 2013 19:12:23 -0500 evemu (1.0.10-1) experimental; urgency=low * initial Debian package (closes: #663877) * changed upstream source location and package name * New upstream release. * debian/control: updated Standards-Version to 3.9.4 (no changes required) * debian/patches/0001-add-evemu-event-manpage.patch: manpage fix from upstream * debian/patches/0002-check-test-conditions.patch: disable unrunnable unit tests * debian/patches/0003-fix-python-startup-crash.patch: fix a crash in python bindings due to incorrect search string * debian/patches/0004-out-of-source-compile.patch: fix out-of-source builds -- Stephen M. Webb Tue, 19 Feb 2013 14:00:29 -0500 utouch-evemu (1.0.9-1) precise; urgency=low * debian/copyright: changed Format to URL of official format * debian/control: updated Standards-Version to 3.9.3 (no changes required) * removed udeb binary package * debian/control: moved python-utouch-evemu into Python section * updated to debhelper compat level 9 - added multi-arch support * New upstream release. - fixes C++ compile problems (lp: #771763) - fixes node search problems (lp: #735614) - change library license to LGPLv3 (lp: #963167) -- Stephen M. Webb Sat, 24 Mar 2012 15:48:43 -0400 utouch-evemu (1.0.8-0ubuntu1) precise; urgency=low * Restored required autoreconf invocation. * Ran control file through wrap-and-sort. * Enriched package descriptions to silence lintian warnings. * New upstream release. - added python bindings (LP: #731678). - fixed buffer overflow (LP: #884848). * Converted to dh packaging. -- Stephen M. Webb Thu, 01 Dec 2011 07:18:23 -0500 utouch-evemu (1.0.7-0ubuntu1) precise; urgency=low * New upstream release. - Fix corrupted recordings when terminated * Bump lintian standards to 3.9.2 * Removed unnecessary autoreconf invocation -- Chase Douglas Sun, 30 Oct 2011 14:40:55 -0700 utouch-evemu (1.0.5-0ubuntu1) natty; urgency=low [ Henrik Rydberg ] * New upstream release. * Add the new functions to the symbols file * Feature freeze exception LP: #735558 -- Chase Douglas Wed, 16 Mar 2011 16:02:44 -0400 utouch-evemu (1.0.4-0ubuntu1) natty; urgency=low [ Henrik Rydberg ] * New upstream release. * Install man pages for utouch-evemu-tools. [ Stephen M. Webb ] * Added GPL-3 licensing to source files. * Fixed debian/copyright format. * Removed breaks: from debian/control. -- Stephen M. Webb Thu, 03 Feb 2011 12:51:21 -0500 utouch-evemu (1.0.3-0ubuntu2) natty; urgency=low * Initial load of upstream version utouch-evemu-1.0.0 * Initial debian directory for utouch-evemu. * New upstream release utouch-evemu-1.0.2. * New upstream release utouch-evemu-1.0.3. * Fix exported symbols list * Fix package descriptions. -- Henrik Rydberg Mon, 03 Jan 2011 17:41:55 +0100 debian/libevemu1.symbols0000664000000000000000000000174512252445223012503 0ustar libevemu.so.1 libevemu1 #MINVER# (symver)EVEMU_1.0 1.0.5 (symver)EVEMU_1.1 1.2.0 evemu_create@EVEMU_1.0 1.0.3 evemu_delete@EVEMU_1.0 1.0.3 evemu_destroy@EVEMU_1.0 1.0.3 evemu_extract@EVEMU_1.0 1.0.3 evemu_get_abs_flat@EVEMU_1.0 1.0.3 evemu_get_abs_fuzz@EVEMU_1.0 1.0.3 evemu_get_abs_maximum@EVEMU_1.0 1.0.3 evemu_get_abs_minimum@EVEMU_1.0 1.0.3 evemu_get_abs_resolution@EVEMU_1.0 1.0.3 evemu_get_id_bustype@EVEMU_1.0 1.0.3 evemu_get_id_product@EVEMU_1.0 1.0.3 evemu_get_id_vendor@EVEMU_1.0 1.0.3 evemu_get_id_version@EVEMU_1.0 1.0.3 evemu_get_name@EVEMU_1.0 1.0.3 evemu_get_version@EVEMU_1.0 1.0.3 evemu_has_bit@EVEMU_1.1 1.2.0 evemu_has_event@EVEMU_1.0 1.0.3 evemu_has_prop@EVEMU_1.0 1.0.3 evemu_new@EVEMU_1.0 1.0.3 evemu_play@EVEMU_1.0 1.0.3 evemu_read@EVEMU_1.0 1.0.3 evemu_read_event@EVEMU_1.0 1.0.3 evemu_read_event_realtime@EVEMU_1.0 1.0.5 evemu_record@EVEMU_1.0 1.0.3 evemu_set_name@EVEMU_1.0 1.0.5 evemu_write@EVEMU_1.0 1.0.3 evemu_write_event@EVEMU_1.0 1.0.3 debian/python-evemu.install0000664000000000000000000000003112117403463013213 0ustar usr/lib/python2*/*/evemu debian/patches/0000775000000000000000000000000012252450430010614 5ustar debian/patches/0004-out-of-source-compile.patch0000664000000000000000000000113712117410005016347 0ustar Description: fix python/Makefile.am for out-of-source builds Author: Stephen M. Webb --- a/python/Makefile.am +++ b/python/Makefile.am @@ -17,7 +17,7 @@ # with this program. If not, see . nobase_python_PYTHON = \ - $(wildcard evemu/*.py) + $(wildcard $(srcdir)/evemu/*.py) check_SCRIPTS = if HAVE_DEV_INPUT @@ -36,5 +36,5 @@ chmod +x $@ BUILT_SOURCES = evemu-test-runner -EXTRA_DIST = evemu-test-runner.in $(wildcard evemu/test*) +EXTRA_DIST = evemu-test-runner.in $(wildcard $(srcdir)/evemu/test*) CLEANFILES = $(BUILT_SOURCES) debian/patches/0003-fix-python-startup-crash.patch0000664000000000000000000000107312117400002017107 0ustar Description: fix crash in python bindings The python bindings were using an incorrect search string to locate the DSO and would crash unless the -dev binary package was also installed. Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/evemu/+bug/1152774 Author: Stephen M. Webb === modified file 'python/evemu/const.py' --- a/python/evemu/const.py +++ b/python/evemu/const.py @@ -1,4 +1,4 @@ -LIB = "libevemu.so" +LIB = "evemu" DEFAULT_LIB = "/usr/lib/libevemu.so" LOCAL_LIB = "../src/.libs/libevemu.so" UINPUT_NODE = "/dev/uinput" debian/patches/series0000664000000000000000000000020612252423174012034 0ustar 0002-check-test-conditions.patch 0003-fix-python-startup-crash.patch 0004-out-of-source-compile.patch 0005-python3-raise-syntax.patch debian/patches/0002-check-test-conditions.patch0000664000000000000000000000163512252412467016432 0ustar Description: add a check if conditions exist for running self-test suite The self-tests are designed for a full Linux runtime, which does not exist in a pbuild or sbuild chroot (missing device files). Those tests need to be skipped at package build time. Author: Stephen M. Webb === modified file 'configure.ac' --- a/configure.ac +++ b/configure.ac @@ -43,6 +43,9 @@ AC_MSG_WARN([xmlto or asciidoc not found - cannot create man pages without it]) fi +# required self-test conditions +AM_CONDITIONAL([HAVE_DEV_INPUT], [test -d /dev/input -a -w /dev/input]) + AC_SUBST(AM_CFLAGS, "-Wall -Wextra -pedantic") --- a/python/Makefile.am +++ b/python/Makefile.am @@ -19,7 +19,10 @@ nobase_python_PYTHON = \ $(wildcard evemu/*.py) -check_SCRIPTS = evemu-test-runner +check_SCRIPTS = +if HAVE_DEV_INPUT +check_SCRIPTS += evemu-test-runner +endif TESTS = $(check_SCRIPTS) debian/patches/0005-python3-raise-syntax.patch0000664000000000000000000000205512252423703016255 0ustar Description: fixes the syntax for raising exceptions to be Python2 and Python3 acceptable. Author: Stephen M. Webb Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706155 --- a/python/evemu/base.py +++ b/python/evemu/base.py @@ -19,15 +19,15 @@ def _call0(self, api_call, *parameters): result = api_call(*parameters) if result == 0 and self.get_c_errno() != 0: - raise exception.ExecutionError, "%s: %s" % ( - api_call.__name__, self.get_c_error()) + raise exception.ExecutionError("%s: %s" % ( + api_call.__name__, self.get_c_error())) return result def _call(self, api_call, *parameters): result = api_call(*parameters) if result < 0 and self.get_c_errno() != 0: - raise exception.ExecutionError, "%s: %s" % ( - api_call.__name__, self.get_c_error()) + raise exception.ExecutionError("%s: %s" % ( + api_call.__name__, self.get_c_error())) return result def get_c_errno(self): debian/watch0000664000000000000000000000012412252411301010205 0ustar version=3 http://www.freedesktop.org/software/evemu evemu-([0-9.]+)\.tar\.(?:xz|gz) debian/libevemu-dev.install0000664000000000000000000000011312117400560013133 0ustar usr/include usr/lib/*/libevemu.a usr/lib/*/libevemu.so usr/lib/*/pkgconfig debian/libevemu1.install0000664000000000000000000000003112117400560012437 0ustar usr/lib/*/libevemu.so.1* debian/control0000664000000000000000000000554612256457101010610 0ustar Source: evemu Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Stephen M. Webb Build-Depends: asciidoc, debhelper (>= 9), dh-autoreconf, pkg-config, python, python3-all, xmlto Standards-Version: 3.9.5 Homepage: http://www.freedesktop.org/wiki/Evemu/ Vcs-Bzr: https://code.launchpad.net/~oif-packaging/evemu/debian X-Python-Version: 2.7 Package: libevemu1 Architecture: linux-any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: Linux Input Event Device Emulation Library The evemu library and tools are used to describe devices, record data, create emulation devices and replay data from kernel evdev (input event) devices. Package: python-evemu Section: python Architecture: linux-any Multi-Arch: allowed Pre-Depends: ${misc:Pre-Depends} Depends: libevemu1 (= ${binary:Version}), ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Description: Linux Input Event Device Emulation Library - Python bindings The evemu library and tools are used to describe devices, record data, create emulation devices and replay data from kernel evdev (input event) devices. . This package contains the Python bindings for the evemu library. Package: python3-evemu Section: python Architecture: linux-any Multi-Arch: allowed Pre-Depends: ${misc:Pre-Depends} Depends: libevemu1 (= ${binary:Version}), ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} Description: Linux Input Event Device Emulation Library - Python3 bindings The evemu library and tools are used to describe devices, record data, create emulation devices and replay data from kernel evdev (input event) devices. . This package contains the Python3 bindings for the evemu library. Package: libevemu-dev Section: libdevel Architecture: linux-any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: libevemu1 (= ${binary:Version}), ${misc:Depends} Description: Linux Input Event Device Emulation Library - development files The evemu library and tools are used to describe devices, record data, create emulation devices and replay data from kernel evdev (input event) devices. . This package contains files that are needed to build applications. Package: evemu-tools Architecture: linux-any Pre-Depends: ${misc:Pre-Depends} Depends: libevemu1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Linux Input Event Device Emulation Library - test tools The evemu library and tools are used to describe devices, record data, create emulation devices and replay data from kernel evdev (input event) devices. . This package provides test tools for the evemu library. debian/source/0000775000000000000000000000000012252450430010465 5ustar debian/source/format0000664000000000000000000000001412037400166011675 0ustar 3.0 (quilt) debian/compat0000664000000000000000000000000212037400166010365 0ustar 9 debian/rules0000775000000000000000000000165212117407563010262 0ustar #!/usr/bin/make -f python2 := $(shell pyversions --requested --version debian/control) python3 := $(shell py3versions --requested --version debian/control) %: dh $@ --with python2,python3,autoreconf override_dh_auto_configure: set -e && for pyver in $(python2) $(python3); do \ dh_auto_configure \ --builddirectory=build-python$$pyver \ -- \ PYTHON=/usr/bin/python$$pyver \ --disable-silent-rules \ --disable-integration-tests \ ; \ done override_dh_auto_build: dh_auto_install --builddirectory=build-python$(python3) dh_auto_install --builddirectory=build-python$(python2) override_dh_auto_test: dh_auto_test --builddirectory=build-python$(python3) override_dh_auto_install: dh_auto_install --builddirectory=build-python$(python3) -- install dh_auto_install --builddirectory=build-python$(python2) -- -C python install override_dh_install: dh_install --fail-missing -X.la -X.pyo -X.pyc