debian/0000755000000000000000000000000012313024676007172 5ustar debian/watch0000644000000000000000000000016412312372567010230 0ustar version=3 opts=dversionmangle=s/\+dfsg\d*$// \ http://www.freedesktop.org/software/libevdev/ libevdev-(.*)\.tar.* debian/libevdev-dev.dirs0000644000000000000000000000002412312372567012431 0ustar usr/lib usr/include debian/libevdev2.symbols0000644000000000000000000000630412312372567012475 0ustar libevdev.so.2 libevdev2 #MINVER# LIBEVDEV_1@LIBEVDEV_1 0.9.1 libevdev_change_fd@LIBEVDEV_1 0.9.1 libevdev_disable_event_code@LIBEVDEV_1 0.9.1 libevdev_disable_event_type@LIBEVDEV_1 0.9.1 libevdev_enable_event_code@LIBEVDEV_1 0.9.1 libevdev_enable_event_type@LIBEVDEV_1 0.9.1 libevdev_enable_property@LIBEVDEV_1 0.9.1 libevdev_event_code_from_name@LIBEVDEV_1 0.9.1 libevdev_event_code_from_name_n@LIBEVDEV_1 0.9.1 libevdev_event_code_get_name@LIBEVDEV_1 0.9.1 libevdev_event_is_code@LIBEVDEV_1 0.9.1 libevdev_event_is_type@LIBEVDEV_1 0.9.1 libevdev_event_type_from_name@LIBEVDEV_1 0.9.1 libevdev_event_type_from_name_n@LIBEVDEV_1 0.9.1 libevdev_event_type_get_max@LIBEVDEV_1 0.9.1 libevdev_event_type_get_name@LIBEVDEV_1 0.9.1 libevdev_fetch_event_value@LIBEVDEV_1 0.9.1 libevdev_fetch_slot_value@LIBEVDEV_1 0.9.1 libevdev_free@LIBEVDEV_1 0.9.1 libevdev_get_abs_flat@LIBEVDEV_1 0.9.1 libevdev_get_abs_fuzz@LIBEVDEV_1 0.9.1 libevdev_get_abs_info@LIBEVDEV_1 0.9.1 libevdev_get_abs_maximum@LIBEVDEV_1 0.9.1 libevdev_get_abs_minimum@LIBEVDEV_1 0.9.1 libevdev_get_abs_resolution@LIBEVDEV_1 0.9.1 libevdev_get_current_slot@LIBEVDEV_1 0.9.1 libevdev_get_driver_version@LIBEVDEV_1 0.9.1 libevdev_get_event_value@LIBEVDEV_1 0.9.1 libevdev_get_fd@LIBEVDEV_1 0.9.1 libevdev_get_id_bustype@LIBEVDEV_1 0.9.1 libevdev_get_id_product@LIBEVDEV_1 0.9.1 libevdev_get_id_vendor@LIBEVDEV_1 0.9.1 libevdev_get_id_version@LIBEVDEV_1 0.9.1 libevdev_get_log_priority@LIBEVDEV_1 0.9.1 libevdev_get_name@LIBEVDEV_1 0.9.1 libevdev_get_num_slots@LIBEVDEV_1 0.9.1 libevdev_get_phys@LIBEVDEV_1 0.9.1 libevdev_get_repeat@LIBEVDEV_1 0.9.1 libevdev_get_slot_value@LIBEVDEV_1 0.9.1 libevdev_get_uniq@LIBEVDEV_1 0.9.1 libevdev_grab@LIBEVDEV_1 0.9.1 libevdev_has_event_code@LIBEVDEV_1 0.9.1 libevdev_has_event_pending@LIBEVDEV_1 0.9.1 libevdev_has_event_type@LIBEVDEV_1 0.9.1 libevdev_has_property@LIBEVDEV_1 0.9.1 libevdev_kernel_set_abs_info@LIBEVDEV_1 0.9.1 libevdev_kernel_set_led_value@LIBEVDEV_1 0.9.1 libevdev_kernel_set_led_values@LIBEVDEV_1 0.9.1 libevdev_new@LIBEVDEV_1 0.9.1 libevdev_new_from_fd@LIBEVDEV_1 0.9.1 libevdev_next_event@LIBEVDEV_1 0.9.1 libevdev_property_get_name@LIBEVDEV_1 0.9.1 libevdev_set_abs_flat@LIBEVDEV_1 0.9.1 libevdev_set_abs_fuzz@LIBEVDEV_1 0.9.1 libevdev_set_abs_info@LIBEVDEV_1 0.9.1 libevdev_set_abs_maximum@LIBEVDEV_1 0.9.1 libevdev_set_abs_minimum@LIBEVDEV_1 0.9.1 libevdev_set_abs_resolution@LIBEVDEV_1 0.9.1 libevdev_set_clock_id@LIBEVDEV_1 0.9.1 libevdev_set_event_value@LIBEVDEV_1 0.9.1 libevdev_set_fd@LIBEVDEV_1 0.9.1 libevdev_set_id_bustype@LIBEVDEV_1 0.9.1 libevdev_set_id_product@LIBEVDEV_1 0.9.1 libevdev_set_id_vendor@LIBEVDEV_1 0.9.1 libevdev_set_id_version@LIBEVDEV_1 0.9.1 libevdev_set_log_function@LIBEVDEV_1 0.9.1 libevdev_set_log_priority@LIBEVDEV_1 0.9.1 libevdev_set_name@LIBEVDEV_1 0.9.1 libevdev_set_phys@LIBEVDEV_1 0.9.1 libevdev_set_slot_value@LIBEVDEV_1 0.9.1 libevdev_set_uniq@LIBEVDEV_1 0.9.1 libevdev_uinput_create_from_device@LIBEVDEV_1 0.9.1 libevdev_uinput_destroy@LIBEVDEV_1 0.9.1 libevdev_uinput_get_devnode@LIBEVDEV_1 0.9.1 libevdev_uinput_get_fd@LIBEVDEV_1 0.9.1 libevdev_uinput_get_syspath@LIBEVDEV_1 0.9.1 libevdev_uinput_write_event@LIBEVDEV_1 0.9.1 debian/libevdev-dev.doc-base0000644000000000000000000000037312312372567013154 0ustar Document: libevdev-dev Title: libevdev Manual Author: Red Hat, Inc. Abstract: This manual describes the libevdev API. Section: Programming Format: HTML Index: /usr/share/doc/libevdev-dev/html/index.html Files: /usr/share/doc/libevdev-dev/html/*.html debian/rules0000755000000000000000000000101512312372567010253 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # The tests needs libpthread export CHECK_LIBS=-lpthread $(shell pkg-config --libs check) # doxygen version doxygen_version := $(shell dpkg-query -W -f="\$${source:Version}\n" doxygen) %: dh $@ --with autoreconf override_dh_auto_test: # Tests must be run as root override_dh_auto_configure: dh_auto_configure -- --disable-silent-rules override_dh_gencontrol: dh_gencontrol -- -Vdoxygen:Version=$(doxygen_version) debian/libevdev-dev.links0000644000000000000000000000012012312372567012605 0ustar usr/share/javascript/jquery/jquery.js usr/share/doc/libevdev-dev/html/jquery.js debian/libevdev2.dirs0000644000000000000000000000001012312372567011732 0ustar usr/lib debian/libevdev-dev.docs0000644000000000000000000000001212312372567012415 0ustar doc/html/ debian/copyright0000644000000000000000000000356212312373060011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libevdev Source: http://www.freedesktop.org/wiki/Software/libevdev/ Files-Excluded: doc/html/* doc/html Files: * Copyright: 2013-2014 Red Hat, Inc. 2013 David Herrmann License: X11 Files: debian/* Copyright: 2013-2014 Stephen Kitt License: X11 Files: include/linux/input.h Copyright: 1999-2002 Vojtech Pavlik License: GPL-2 License: X11 Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the copyright holders not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The copyright holders make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. . THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 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 version 2 as published by the Free Software Foundation. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in /usr/share/common-licenses/GPL-2 debian/tests/0000755000000000000000000000000012313024654010330 5ustar debian/tests/check0000755000000000000000000000106212313024654011332 0ustar #!/bin/sh # Copy the package source somewhere safe source=${0%/*}/../.. build=$(mktemp -d --tmpdir=${ADTTMP}) cp -a ${source}/* ${build}/ cd ${build} # Deconfigure if necessary (running in a copy of a built tree) if [ -f debian/autoreconf.before ]; then dh_autoreconf_clean fi # Enforce the use of the installed binaries patch -p1 < debian/patches/use-system-libevdev-for-tests.patch # Reconfigure dh_autoreconf 2>&1 dh_auto_configure 2>&1 # Run the tests make check # Log the test output if [ -f test/test-suite.log ]; then cat test/test-suite.log fi debian/tests/control0000644000000000000000000000007612312413225011731 0ustar Tests: check Restrictions: needs-root Depends: @, @builddeps@ debian/source/0000755000000000000000000000000012312372567010476 5ustar debian/source/format0000644000000000000000000000001412312372567011704 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012312425537010621 5ustar debian/patches/use-system-libevdev-for-tests.patch0000644000000000000000000000335412312425302017475 0ustar Description: Enforce the use of the installed libevdev for tests Author: Stephen Kitt Note that this is only intended for running the autopkgtest test-suite; if used for the build it requires libevdev-dev to be installed... --- a/test/Makefile.am +++ b/test/Makefile.am @@ -6,14 +6,6 @@ TESTS = $(run_tests) -libevdev_sources = $(top_srcdir)/libevdev/libevdev.c \ - $(top_srcdir)/libevdev/libevdev.h \ - $(top_srcdir)/libevdev/libevdev-names.c \ - $(top_srcdir)/libevdev/libevdev-uinput.h \ - $(top_srcdir)/libevdev/libevdev-uinput.c \ - $(top_srcdir)/libevdev/libevdev-uinput-int.h \ - $(top_srcdir)/libevdev/libevdev-util.h \ - $(top_srcdir)/libevdev/libevdev-int.h common_sources = $(libevdev_sources) \ test-common-uinput.c \ test-common-uinput.h \ @@ -21,7 +13,7 @@ test-common.h # include builddir for event-names.h -AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_builddir)/libevdev $(CHECK_CFLAGS) $(GCOV_CFLAGS) +AM_CPPFLAGS = $(CHECK_CFLAGS) $(GCOV_CFLAGS) test_libevdev_SOURCES = \ test-main.c \ @@ -34,19 +26,17 @@ test-uinput.c \ $(common_sources) -test_libevdev_LDADD = $(CHECK_LIBS) $(GCOV_LDFLAGS) +test_libevdev_LDADD = $(CHECK_LIBS) $(GCOV_LDFLAGS) -levdev test_compile_pedantic_SOURCES = test-compile-pedantic.c test_compile_pedantic_CFLAGS = $(AM_CPPFLAGS) -pedantic -Werror -std=c90 test_link_SOURCES = test-link.c -test_link_CFLAGS = -I$(top_srcdir) -test_link_LDADD = $(top_builddir)/libevdev/libevdev.la +test_link_LDADD = -levdev test_kernel_SOURCES = \ test-kernel.c \ $(common_sources) -test_kernel_CFLAGS = -I$(top_srcdir) test_kernel_LDADD = \ $(CHECK_LIBS) \ $(top_builddir)/libevdev/libevdev.la debian/compat0000644000000000000000000000000212312372567010374 0ustar 9 debian/control0000644000000000000000000000267112313006020010562 0ustar Source: libevdev Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Stephen Kitt Build-Depends: check, debhelper (>= 9), dh-autoreconf, doxygen, pkg-config, python Standards-Version: 3.9.5 Section: libs Homepage: http://www.freedesktop.org/wiki/Software/libevdev/ Vcs-Git: git://anonscm.debian.org/collab-maint/libevdev.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libevdev.git;a=summary XS-Testsuite: autopkgtest Package: libevdev-dev Section: libdevel Architecture: linux-any Depends: libevdev2 (= ${binary:Version}), libjs-jquery, ${misc:Depends} Built-Using: doxygen (= ${doxygen:Version}) Description: wrapper library for evdev devices - development files libevdev is a wrapper library for evdev devices. It provides functions covering the common tasks when dealing with evdev devices, thus avoiding erroneous ioctls and other errors. . This package contains the files required to build software using libevdev. Package: libevdev2 Architecture: linux-any Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: wrapper library for evdev devices libevdev is a wrapper library for evdev devices. It provides functions covering the common tasks when dealing with evdev devices, thus avoiding erroneous ioctls and other errors. . This package contains the files required to run software using libevdev. debian/gbp.conf0000644000000000000000000000012512312372567010613 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True debian/libevdev2.install0000644000000000000000000000002412312372567012444 0ustar usr/lib/*/lib*.so.* debian/changelog0000644000000000000000000000541112313024673011042 0ustar libevdev (1.0.99.2+dfsg-2ubuntu2) trusty; urgency=medium * Redirect dh_auto_configure stderr to stdout in autopkgtest too. -- Colin Watson Fri, 21 Mar 2014 11:59:55 +0000 libevdev (1.0.99.2+dfsg-2ubuntu1) trusty; urgency=medium * Redirect dh_autoreconf stderr to stdout in autopkgtest. -- Colin Watson Fri, 21 Mar 2014 09:53:21 +0000 libevdev (1.0.99.2+dfsg-2) unstable; urgency=medium * Copy the autopkgtest tests to a temporary folder, and make sure the tests use the installed libevdev binaries. Thanks to Jakub Wilk and Martin Pitt for their explanations of the autopkgtest features! -- Stephen Kitt Wed, 19 Mar 2014 23:09:46 +0100 libevdev (1.0.99.2+dfsg-1) unstable; urgency=medium * New upstream release candidate. * Correct VCS browser URL. -- Stephen Kitt Wed, 19 Mar 2014 22:40:13 +0100 libevdev (1.0.1+dfsg-1) unstable; urgency=medium * New upstream version. -- Stephen Kitt Fri, 14 Mar 2014 07:57:49 +0100 libevdev (1.0+dfsg-2) unstable; urgency=medium * Add Pre-Depends, thanks to Michael Terry for pointing out that it was missing. * Add DEP8 tests, thanks to Michael Terry (again) for the prod. -- Stephen Kitt Thu, 06 Mar 2014 00:08:28 +0100 libevdev (1.0+dfsg-1) unstable; urgency=medium * New upstream version. -- Stephen Kitt Tue, 18 Feb 2014 22:55:14 +0100 libevdev (0.9.1+dfsg-1) unstable; urgency=medium * Repack, removing doc/html (which is renegerated at build-time) to avoid shipping the sourceless minified jquery.js in the source package (thanks to Ansgar Burchardt for pointing this out). * Update debian/copyright (thanks also to Ansgar Burchardt). * Add Built-Using field to ensure all the source for the generated files is kept in the archive. -- Stephen Kitt Wed, 12 Feb 2014 07:34:32 +0100 libevdev (0.9.1-1) unstable; urgency=medium * New upstream version, with new soname. -- Stephen Kitt Sat, 01 Feb 2014 19:29:30 +0100 libevdev (0.6-1) unstable; urgency=medium * New upstream version. * Standards-Version 3.9.5, no change required. -- Stephen Kitt Tue, 24 Dec 2013 00:04:21 +0100 libevdev (0.5-1) unstable; urgency=low * New upstream version. * libevdev is for Linux only, limit the architectures accordingly. -- Stephen Kitt Fri, 22 Nov 2013 01:04:28 +0100 libevdev (0.4.1-1) unstable; urgency=low * New upstream version. -- Stephen Kitt Tue, 05 Nov 2013 23:07:02 +0100 libevdev (0.4-1) unstable; urgency=low * Initial release (Closes: #722631, LP: #1223304). -- Stephen Kitt Wed, 18 Sep 2013 21:02:30 +0200 debian/libevdev-dev.install0000644000000000000000000000010712312372567013140 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so usr/lib/*/pkgconfig/*