debian/0000755000000000000000000000000011666206331007172 5ustar debian/changelog0000644000000000000000000000121411666206331011042 0ustar x52pro (0.1.1-2.1) unstable; urgency=medium * Non-maintainer upload. * Make the calls to udevadm in the maintainer scripts conditional on the existence of udevadm (Closes: #640595) * Set urgency to medium due to rc bug fix -- Alexander Reichle-Schmehl Fri, 02 Dec 2011 18:33:14 +0100 x52pro (0.1.1-2) unstable; urgency=low * Change Standards-Version to 3.9.2 -- Grzegorz Kolorz Wed, 18 May 2011 16:34:53 +0200 x52pro (0.1.1-1) unstable; urgency=low * Initial release (Closes: #626266) * Add pkg-config support -- Grzegorz Kolorz Tue, 10 May 2011 14:39:51 +0200 debian/rules0000755000000000000000000000100111564754475010260 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 %: dh $@ override_dh_installudev: dh_installudev --name=x52pro --priority=99 debian/control0000644000000000000000000000215511564754475010616 0ustar Source: x52pro Priority: extra Maintainer: Grzegorz Kolorz Build-Depends: debhelper (>= 7.0.50~), libusb-dev Standards-Version: 3.9.2 Section: libs Homepage: http://plasma.hasenleithner.at/x52pro/ Package: libx52pro-dev Section: libdevel Architecture: any Depends: libx52pro0 (= ${binary:Version}), ${misc:Depends} Description: MFD and LED library for Saitek X52pro joysticks - dev files libx52pro is a library designed to support Saitek X52 and X52pro HOTAS joystick. Library does not deal with the HID part of the joystick since this feature is already fully support by the linux kernel 2.6.x . This package contains development files. Package: libx52pro0 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: MFD and LED library for Saitek x52pro joysticks libx52pro is a library designed to support MFD and LED found on Saitek X52 and X52pro joystick. Library does not deal with the HID part of the joystick since this feature is already fully support by the linux kernel 2.6.x. . This package also includes x52output utility, that can be used for scripting purposes. debian/libx52pro0.dirs0000644000000000000000000000001011564754475011770 0ustar usr/lib debian/libx52pro-dev.dirs0000644000000000000000000000002411564754475012471 0ustar usr/lib usr/include debian/libx52pro0.docs0000644000000000000000000000000711564754475011765 0ustar README debian/libx52pro-dev.install0000644000000000000000000000006211564754475013200 0ustar usr/include/* usr/lib/lib*.so usr/lib/pkgconfig/* debian/libx52pro0.postrm0000644000000000000000000000221511666205713012351 0ustar #!/bin/sh # postrm script for x52pro # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) case $(uname -s) in Linux) if which udevadm >/dev/null 2>&1; then udevadm control --reload-rules udevadm trigger fi ;; esac ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/libx52pro0.manpages0000644000000000000000000000001511564754475012627 0ustar x52output.1 debian/source/0000755000000000000000000000000011564754475010510 5ustar debian/source/format0000644000000000000000000000001411564754475011716 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211564754475010406 0ustar 7 debian/libx52pro0.x52pro.udev0000777000000000000000000000000011564754475016023 2../99-x52pro.rulesustar debian/libx52pro0.install0000644000000000000000000000004411564754475012504 0ustar usr/lib/lib*.so.* usr/bin/x52output debian/patches/0000755000000000000000000000000011564754475010637 5ustar debian/patches/series0000644000000000000000000000005011564754475012047 0ustar 0001-add-pkg-config-configuration.patch debian/patches/0001-add-pkg-config-configuration.patch0000644000000000000000000000213511564754475017656 0ustar From: Grzegorz Kolorz Date: Tue, 10 May 2011 12:24:40 +0200 Subject: add pkg-config configuration --- Makefile | 1 + x52pro.pc | 10 ++++++++++ 2 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 x52pro.pc diff --git a/Makefile b/Makefile index a54b424..894465f 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,7 @@ install: install -D x52output $(DESTDIR)/usr/bin/x52output install -D -m 644 99-x52pro.rules $(DESTDIR)/etc/udev/rules.d/99-x52pro.rules install -D -m 644 x52output.1.gz $(DESTDIR)/usr/share/man/man1/x52output.1.gz + install -D -m 644 x52pro.pc $(DESTDIR)/usr/lib/pkgconfig/x52pro.pc x52output: x52output.o $(X52LIB) -lusb x52output.1.gz: x52output.1 diff --git a/x52pro.pc b/x52pro.pc new file mode 100644 index 0000000..389ea66 --- /dev/null +++ b/x52pro.pc @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: libx52pro +Description: MFD and LED configuration library for the Saitek X52 Pro Joystick +Version: 0.1.1 +Libs: -L${libdir} -lx52pro +Cflags: -I${includedir} -- debian/libx52pro-dev.examples0000644000000000000000000000001511564754475013346 0ustar x52output.c debian/copyright0000644000000000000000000000244511564754475011150 0ustar This work was packaged for Debian by: Grzegorz Kolorz on Tue, 10 May 2011 11:04:11 +0200 It was downloaded from: http://plasma.hasenleithner.at/x52pro/ Upstream Author(s): Eduard Hasenleithner Copyright: Copyright (C) 2007 Eduard Hasenleithner License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package 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 Lesser General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-2". The Debian packaging is: Copyright (C) 2011 Grzegorz Kolorz and is licensed under the GPL version 2, see "/usr/share/common-licenses/GPL-2". debian/watch0000644000000000000000000000010611564754475010236 0ustar version=3 http://plasma.hasenleithner.at/x52pro/x52pro-(.*)\.tar\.gz debian/libx52pro0.postinst0000644000000000000000000000225011666205713012707 0ustar #!/bin/sh # postinst script for x52pro # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) case $(uname -s) in Linux) if which udevadm >/dev/null 2>&1; then udevadm control --reload-rules udevadm trigger fi ;; esac ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0