--- inputlirc-19.orig/debian/inputlirc.init +++ inputlirc-19/debian/inputlirc.init @@ -0,0 +1,44 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: inputlirc +# Required-Start: $remote_fs +# Required-Stop: $remote_fs +# Should-Start: $syslog udev lirc +# Should-Stop: $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start inputlirc daemon +### END INIT INFO + +DAEMON="/usr/sbin/inputlircd" +NAME="inputlirc" +DESC="inputlirc" + +test -x $DAEMON || exit 0 + +[ -r /etc/default/$NAME ] && . /etc/default/$NAME + +case "$1" in + start) + mkdir -p /var/run/lirc + echo "Starting $DESC" + start-stop-daemon --exec $DAEMON --start -- $OPTIONS $EVENTS + # retain compatibility with old clients + [ -S /var/run/lirc/lircd ] && ln -sf /var/run/lirc/lircd /dev/lircd + ;; + stop) + echo "Stopping $DESC" + start-stop-daemon --exec $DAEMON --stop + ;; + restart|reload|force-reload) + echo "Restarting $DESC configuration" + start-stop-daemon --exec $DAEMON --stop + start-stop-daemon --exec $DAEMON --start -- $OPTIONS $EVENTS + ;; + *) + echo "Usage: invoke-rc.d $NAME {start|stop|reload|restart|force-reload}" + exit 1 + ;; +esac + +exit 0 --- inputlirc-19.orig/debian/inputlirc.install +++ inputlirc-19/debian/inputlirc.install @@ -0,0 +1,2 @@ +debian/tmp/usr/sbin +debian/tmp/usr/share/man/man8 --- inputlirc-19.orig/debian/changelog +++ inputlirc-19/debian/changelog @@ -0,0 +1,63 @@ +inputlirc (19-1) unstable; urgency=low + + * New upstream release. + - Don't set repeat flag when two different keys are pressed in rapid + succession. Closes: #602083 + - Change socket location to /var/run/lirc/lircd. Closes: #617523 + * Bump Standards-Version. + * Add $remote_fs to the Required-Start and -Stop fields in the init script. + + -- Guus Sliepen Thu, 19 May 2011 22:42:33 +0200 + +inputlirc (16-1) unstable; urgency=low + + * New upstream release. + - Allow selection of devices by name. Closes: #564959 + * Convert source package to 3.0 (quilt) format. + * Bump Standards-Version. + * Depend on ${misc:Depends}. + + -- Guus Sliepen Sun, 24 Jan 2010 15:59:30 +0100 + +inputlirc (15-1) unstable; urgency=low + + * New upstream release. + * Add lirc to Should-Start field in the init script. Closes: #514800 + + -- Guus Sliepen Wed, 29 Jul 2009 15:09:49 +0200 + +inputlirc (13-1) unstable; urgency=low + + * New upstream release. + + -- Guus Sliepen Thu, 25 Sep 2008 18:13:35 +0200 + +inputlirc (11-2) unstable; urgency=low + + * Add LSB section to the init script. Closes: #468162 + * Don't ignore make clean errors in debian/rules. + * Update copyright file. + + -- Guus Sliepen Sun, 02 Mar 2008 21:12:55 +0100 + +inputlirc (11-1) unstable; urgency=low + + * New upstream release. + + -- Guus Sliepen Thu, 27 Apr 2006 21:17:06 +0200 + +inputlirc (10-1) unstable; urgency=low + + * New upstream release. + * Changed Provides: lirc into Suggests: lirc, since liblircclient0 does not + actually depend on lirc, and we do want to suggest the lirc package for + the irw binary. + + -- Guus Sliepen Fri, 24 Feb 2006 21:05:27 +0100 + +inputlirc (8-1) unstable; urgency=low + + * Initial Release. + + -- Guus Sliepen Mon, 06 Feb 2006 20:15:11 +0100 + --- inputlirc-19.orig/debian/rules +++ inputlirc-19/debian/rules @@ -0,0 +1,126 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + + + +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 + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +#Architecture +build: build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: configure-stamp + + # Add here commands to compile the arch part of the package. + $(MAKE) + +build-indep: build-indep-stamp +build-indep-stamp: configure-stamp + + # Add here commands to compile the indep part of the package. + #$(MAKE) doc + +clean: + dh_testdir + dh_testroot + rm -f build-arch-stamp build-indep-stamp config-stamp + + # Add here commands to clean up after the build process. + $(MAKE) clean + + dh_clean + +install: install-arch +install-indep: + dh_testdir + dh_testroot + dh_prep -i + dh_installdirs -i + + # Add here commands to install the indep part of the package into + # debian/-doc. + #INSTALLDOC# + + dh_install -i + +install-arch: + dh_testdir + dh_testroot + dh_prep -a + dh_installdirs -a + + # Add here commands to install the arch part of the package into + # debian/tmp. + + $(MAKE) install PREFIX=/usr DESTDIR=$(CURDIR)/debian/tmp + + dh_install -a + +# Must not depend on anything. This is to be called by +# binary-arch/binary-multi +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# 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_shlibdeps + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb +# Build architecture independant packages using the common target. +binary-indep: build-indep install-indep + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build-arch install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary: binary-arch +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure --- inputlirc-19.orig/debian/format +++ inputlirc-19/debian/format @@ -0,0 +1 @@ +3.0 (quilt) --- inputlirc-19.orig/debian/compat +++ inputlirc-19/debian/compat @@ -0,0 +1 @@ +7 --- inputlirc-19.orig/debian/inputlirc.default +++ inputlirc-19/debian/inputlirc.default @@ -0,0 +1,3 @@ +# Options to be passed to inputlirc. +EVENTS="/dev/input/event*" +OPTIONS= --- inputlirc-19.orig/debian/control +++ inputlirc-19/debian/control @@ -0,0 +1,17 @@ +Source: inputlirc +Section: utils +Priority: extra +Maintainer: Guus Sliepen +Build-Depends: debhelper (>> 7) +Standards-Version: 3.9.2 + +Package: inputlirc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: lirc, input-utils +Description: Zeroconf LIRC daemon using input event devices + This is a small LIRC-compatible daemon that reads from /dev/input/eventX + devices and sends the received keycodes to connecting LIRC clients. Inputlircd + needs no configuration, it uses the standardised names for the keycodes as + used by the kernel. Many USB remote controls that present HID devices, as well + as multimedia keyboards should work out of the box. --- inputlirc-19.orig/debian/copyright +++ inputlirc-19/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Guus Sliepen on +Mon, 06 Feb 2006 20:15:11 +0100 + +It was downloaded from http://svn.sliepen.eu.org/inputlirc/. + +Upstream Author: Guus Sliepen + +Copyright © 2006 Guus Sliepen + + 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. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, + USA. + +On Debian systems, the complete text of the GNU General Public +License, version 2, can be found in /usr/share/common-licenses/GPL-2.