debian/0000755000000000000000000000000011377127022007170 5ustar debian/pyrocket.preinst0000644000000000000000000000065711377126711012452 0ustar #!/bin/sh set -e if [ "$1" = install ] || [ "$1" = upgrade ]; then if [ -e "/etc/udev/rules.d/40-rocketlauncher.rules" ]; then if [ "`md5sum \"/etc/udev/rules.d/40-rocketlauncher.rules\" | sed -e \"s/ .*//\"`" = \ "`dpkg-query -W -f='${Conffiles}' pyrocket | sed -n -e \"\\\\' /etc/udev/rules.d/40-rocketlauncher.rules's/.* //p\"`" ] then rm -f "/etc/udev/rules.d/40-rocketlauncher.rules" fi fi fi #DEBHELPER# debian/pyrocket.install0000644000000000000000000000017611377126711012430 0ustar 40-rocketlauncher.rules /lib/udev/rules.d pyrocket.xpm /usr/share/pixmaps debian/pyrocket.desktop /usr/share/applications debian/watch0000644000000000000000000000035411377127022010223 0ustar version=3 opts=\ downloadurlmangle=s|.*[?]name=(.*?)&.*|http://pyrocket.googlecode.com/files/$1|,\ filenamemangle=s|[^/]+[?]name=(.*?)&.*|$1| \ http://code.google.com/p/pyrocket/downloads/detail[?]name=pyrocket_([0-9.]+).orig.tar.gz&.* debian/changelog0000644000000000000000000000160611377127022011045 0ustar pyrocket (0.6-0ubuntu3) maverick; urgency=low * debain/watch: Update for code.google.com (LP: #583719) * debian/control: Bump Standards-version to 3.8.4 (no changes) * Convert to source format 3.0 (quilt) * debian/copyright: Fix error in license location -- Angel Abad Sun, 23 May 2010 19:56:33 +0200 pyrocket (0.6-0ubuntu2) jaunty; urgency=low * debian/pyrocket.install: Install udev rules to /lib/udev/rules.d * debian/pyrocket.preinst: Remove old rules if unmodified * debian/control: Add Breaks on udev to get correct version -- Scott James Remnant Fri, 16 Jan 2009 15:01:27 +0000 pyrocket (0.6-0ubuntu1) jaunty; urgency=low [ Karl Ostmo ] * Initial Ubuntu package (LP: #242910) - Added man page (pyrocket.6) [ Morten Kjeldgaard ] * Fixed debian/watch -- Karl Ostmo Tue, 30 Dec 2008 19:29:33 -0600 debian/pyrocket.menu0000644000000000000000000000020711377126711011721 0ustar ?package(pyrocket):needs="X11" section="Games/Action"\ title="pyrocket" command="pyrocket"\ icon="/usr/share/pixmaps/pyrocket.xpm" debian/copyright0000644000000000000000000000240611377127022011125 0ustar This package was debianized by Karl Ostmo on Sun, 29 Jun 2008 16:00:00 -0500. It was downloaded from http://pyrocket.googlecode.com/ Upstream Author: Karl Ostmo Copyright: Copyright (C) 2008 Karl Ostmo 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 with the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL-2; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA You are free to distribute this software under the terms of the GNU General Public License. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. debian/compat0000644000000000000000000000000211377126711010372 0ustar 5 debian/source/0000755000000000000000000000000011377127022010470 5ustar debian/source/format0000644000000000000000000000001411377127022011676 0ustar 3.0 (quilt) debian/pyrocket.desktop0000644000000000000000000000026211377126711012427 0ustar [Desktop Entry] Name=Dream Cheeky Rocket Control Comment=Enabling Cubicle Warfare on Linux Exec=pyrocket Terminal=false Type=Application Icon=pyrocket Categories=GTK;GNOME;Game; debian/pycompat0000644000000000000000000000000211377126711010743 0ustar 2 debian/rules0000755000000000000000000000052411377126711010255 0ustar #!/usr/bin/make -f DEB_PYTHON_SYSTEM=pysupport include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk build/pyrocket:: pod2man --section=6 --release=$(VERSION) --center "" debian/pyrocket.pod > pyrocket.6 cleanbuilddir/pyrocket:: rm -f pyrocket.6 DEB_INSTALL_MANPAGES_pyrocket = pyrocket.6 debian/control0000644000000000000000000000234511377127022010577 0ustar Source: pyrocket Section: electronics Priority: optional Maintainer: Ubuntu MOTU Developers XSBC-Original-Maintainer: Karl Ostmo Standards-Version: 3.8.4 Build-Depends: debhelper (>= 5), python, cdbs (>= 0.4.49) Build-Depends-Indep: perl, python-support (>= 0.5.3) XB-Python-Version: ${python:Versions} Homepage: http://pyrocket.googlecode.com/ Package: pyrocket Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-gtk2, python-usb, python-pygame, python-opencv Breaks: udev (<< 136-1) Description: control Striker II and Dream Cheeky USB Missile Launchers pyrocket is used to operate USB foam dart launchers. It supports many models, and for some, has considerably more functionality than the drivers provided by the manufacturer. One may find it useful as a starting point for controlling other USB devices, or just for waging cubicle warfare. . pyrocket automatically detects the launcher(s) and a joystick, and a video window is provided for webcam-enabled devices. pyrocket currently supports the "circus cannon", "original" and "webcam" USB Missile Launchers sold by Dream Cheeky, as well as the Striker II USB Laser Guided Missile Launcher marketed by Ninja Gizmos. debian/pyrocket.pod0000644000000000000000000000633211377126711011544 0ustar =head1 NAME pyrocket - PyGTK control of Striker II and Dream Cheeky USB Missile Launchers =head1 SYNOPSIS pyrocket =head1 DESCRIPTION B is used to operate USB foam dart launchers. It supports many models, and for some, has considerably more functionality than the drivers provided by the manufacturer. One may find it useful as a starting point for controlling other USB devices, or just for waging cubicle warfare. pyrocket automatically detects the launcher(s) and a joystick. For a webcam-enabled device, a video window is provided. =head1 HARDWARE SUPPORT B has been thoroughly tested on these devices: =over 2 =item * The Yellow/Red B sold by Dream Cheeky. =item * The "original" Green/Black B sold by Dream Cheeky. =item * The "webcam" Blue/Black B sold by Dream Cheeky. =item * The Striker II B sold by Ninja Gizmos =back All hardware features are supported on these devices, including the Striker II laser control and sensors for position extrema on the Dream Cheeky models. =head1 BUGS =over 2 =item B With a joystick connected, the launcher spontaneously starts moving on startup. It does this every time the program is run after plugging in the joystick, until any one of the joystick buttons (including D-pad) is pressed (this can be done at any time after connecting). This is probably a bug in PyGame. B Press any button on the joystick after connecting it to USB. =item B The "right" limit-switch has been observed to stick in the "on" position. It remains so even after unplugging/replugging the launcher device. This may be a mechanical issue. B Enable the "Override" feature, then move to the right-most extreme and back again. =item B