debian/0000755000000000000000000000000011307341717007172 5ustar debian/changelog0000644000000000000000000000624011307341717011046 0ustar joy2key (1.6.3-1) unstable; urgency=low * New upstream version - Default device now /dev/input/js0 (Closes: #554521) - Better handling of upper/lower case behavior - Fix bug preventing use of highest numbered button - Remove build-dep on autotools-dev: upstream configure works now * Fix a segfault in reading button list (upstream regression from 1.6.1) * New maintainer * Change to source format 3.0 (quilt) * New standards version (3.8.3.0 vs. 3.7.2) * New debhelper version (7 vs. 4) * Updated copyright file * Added Homepage to control file * Added watch on upstream -- Jonathan Niehof Mon, 07 Dec 2009 22:11:02 -0500 joy2key (1.6.1-7) unstable; urgency=low * debian/rules: - Remove an 'hg' command from the patch target. (Closes: #438113) - Instead of ignoring errors from "$(MAKE) distclean" in the clean target, first check for the existence of Makefile. - config.status target now depends on patch-stamp instead of patch, to avoid running './configure' several times during the build process -- John Wright Wed, 15 Aug 2007 11:16:59 -0600 joy2key (1.6.1-6) unstable; urgency=low * Update my email address * Switch to quilt for patches, instead of providing a monolithic .diff.gz. (I'm using Mercurial Queues for development, but they can share the debian/patches metadata.) -- John Wright Mon, 13 Aug 2007 15:19:16 -0600 joy2key (1.6.1-5) unstable; urgency=medium * Apply Matthias Bläsing's correct_string_freeing.diff to fix a segmentation fault when parsing a joy2keyrc file. (Closes: #404550) * Apply Matthias Bläsing's accept_0_as_threshold.diff to allow specifying 0 as a threshold value on the command-line or config file. (Previously, this would cause the built-in calibration function to come up, since a value of 0, evaluating as false, was taken as unspecified.) (Closes: #404543) * Fix an implicit declaration in joy2key.c * Fix some config parsing issues where sometimes some arguments given in a config file would be ignored * debian/rules: - Remove config.{sub,guess} in the clean target, and copy the autotools-dev versions from /usr/share/misc in the configure target. -- John Wright Fri, 5 Jan 2007 18:07:47 -0700 joy2key (1.6.1-4) unstable; urgency=low * Bump Standards-Version to 3.7.2 * Don't install empty NEWS or TODO files -- John Wright Mon, 20 Nov 2006 14:08:11 -0700 joy2key (1.6.1-3) unstable; urgency=low * Fix configure.ac so the configure script will correctly handle the case of X libraries living in the standard library search path, and regenerate configure with autoconf (Closes: #365146) -- John Wright Sat, 6 May 2006 02:56:08 -0600 joy2key (1.6.1-2) unstable; urgency=low * Remove dh_make generated joy2key.doc-base.EX I accidentally left behind (Closes: #349611) -- John Wright Mon, 23 Jan 2006 23:38:39 -0700 joy2key (1.6.1-1) unstable; urgency=low * Initial release (Closes: #345591) -- John Wright Sat, 31 Dec 2005 18:52:04 -0700 debian/examples0000644000000000000000000000002111305605262010720 0ustar joy2keyrc.sample debian/source/0000755000000000000000000000000011305606773010476 5ustar debian/source/format0000644000000000000000000000001411310401141011656 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000263511307313023011120 0ustar This package was debianized by John Wright on Sat, 31 Dec 2005 18:52:04 -0700. The current Debian maintainer is Jonathan Niehof . It was downloaded from http://downloads.sourceforge.net/project/joy2key/joy2key/1.6.3/joy2key-1.6.3.tar.bz2 Upstream authors: Peter Amstutz, Rens Groenewegen, Peter Alfredsen Copyright: Peter Amstutz 1997-2005 Rens Groenewegen 2007 Peter Alfredsen 2008 License: 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 can be found in `/usr/share/common-licenses/GPL-2'. The Debian packaging is copyright 2005-2007, John Wright and copyright 2009, Jonathan Niehof, and is licensed under the GPL, see above. debian/patches/0000755000000000000000000000000011307342300010606 5ustar debian/patches/series0000644000000000000000000000003311307013206012017 0ustar button_list_segfault.patch debian/patches/button_list_segfault.patch0000644000000000000000000000207711307014503016076 0ustar Author: Jonathan Niehof Subject: Fix a segfault when parsing options to -buttons Last-Update: 2009-12-06 Forwarded: yes Bug: https://sourceforge.net/tracker/?func=detail&aid=2909756&group_id=227783&atid=1072387 joy2key segfaults when reading the list of keystrokes to associate with buttons. This is a regression from 1.6.1 and this patch simply reverts the offending line to that earlier version. I have verified that, with the patch applied, all buttons on the joystick are usable and all buttons listed on the command line are processed appropriately. Index: joy2key-1.6.3/joy2key.c =================================================================== --- joy2key-1.6.3.orig/joy2key.c 2009-12-06 15:38:56.000000000 -0500 +++ joy2key-1.6.3/joy2key.c 2009-12-06 15:50:48.000000000 -0500 @@ -576,7 +576,7 @@ exit(1); } button_act_counter=0; - while((i+1)<=argc && (argv[i+1][0]!='-' || + while((i+1) Build-Depends: debhelper (>= 7.0.0), libx11-dev, libxt-dev Standards-Version: 3.8.3.0 Homepage: http://joy2key.sourceforge.net Package: joy2key Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Translate joystick movements into equivalent keystrokes joy2key allows one to choose keyboard events for joystick axes and buttons, so that a joystick or gamepad can be used with an application that doesn't have native joystick support. debian/docs0000644000000000000000000000002411305605262010035 0ustar README rawscancodes debian/watch0000644000000000000000000000007111307001031010177 0ustar version=3 http://sf.net/joy2key/ joy2key-(.+)\.tar\.bz2 debian/rules0000755000000000000000000000472511305620031010245 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # 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) CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif config.status: configure dh_testdir # Add here commands to configure the package. ifneq "$(wildcard /usr/share/misc/config.sub)" "" cp -f /usr/share/misc/config.sub config.sub endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info build: build-stamp build-stamp: config.status dh_testdir # Add here commands to compile the package. $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. if [ -f Makefile ]; then $(MAKE) distclean; fi rm -f config.sub config.guess dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/joy2key. $(MAKE) install DESTDIR=$(CURDIR)/debian/joy2key # 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 ChangeLog 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 debian/dirs0000644000000000000000000000001011305605262010041 0ustar usr/bin debian/compat0000644000000000000000000000000211305617404010365 0ustar 7