debian/0000755000000000000000000000000012250460644007171 5ustar debian/rules0000755000000000000000000000005312250460644010247 0ustar #!/usr/bin/make -f %: PREFIX=/usr dh $@ debian/kinect_upload_fw.80000644000000000000000000000307212250460644012601 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH KINECT_UPLOAD_FW 8 "September 11, 2011" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME kinect_upload_fw \- Kinect firmware uploader to have an Usb Audio Class device .SH SYNOPSIS .B kinect_upload_fw .SH DESCRIPTION .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBkinect_upload_fw\fP is a program that uploads the Usb Audio Class device firmware to a Microsoft Kinect sensor device. .PP Before the firmware is uploaded the device shows up as a generic usb device with a bulk endpoint, after the firmware upload a reenumeration takes place and a Usb Audio Class device becomes available. .SH SEE ALSO .BR kinect_fetch_fw (8) .br .SH AUTHOR kinect_upload_fw was written by Drew Fisher . .PP This manual page was written by Antonio Ospite , for the Debian project (and may be used by others). debian/install0000644000000000000000000000003212250460644010555 0ustar kinect_fetch_fw /usr/sbin debian/control0000644000000000000000000000255612250460644010604 0ustar Source: kinect-audio-setup Maintainer: Antonio Ospite Section: contrib/sound XS-Autobuild: no Priority: extra Build-Depends: debhelper (>= 9), po-debconf, libusb-1.0-0-dev, pkg-config Standards-Version: 3.9.5 Vcs-Browser: http://git.ao2.it/kinect-audio-setup.git/ Vcs-Git: git://git.ao2.it/kinect-audio-setup.git -b debian Homepage: http://git.ao2.it/kinect-audio-setup.git/ Package: kinect-audio-setup Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, debconf, udev, wget, p7zip-full (>= 9.20) Description: helpers to setup audio input from the Microsoft Kinect sensor When the Kinect is first plugged in the USB port it shows up as a generic USB device with a bulk endpoint; after uploading a certain firmware a reenumeration takes place and a USB Audio Class device becomes available. . kinect-audio-setup provides tools to download the firmware off the net at installation time —since the firmware is not redistributable—, and it sets up udev rules to call the firmware loader when the device is plugged in to finally get the USB Audio Class device. . The UAC firmware is downloaded from the Microsoft Kinect SDK at http://www.kinectforwindows.org, the license of the SDK can be found at http://www.kinectforwindows.org/download/EULA.htm debian/gbp.conf0000644000000000000000000000015312250460644010607 0ustar [DEFAULT] debian-branch = debian upstream-branch = master upstream-tag = v%(version)s pristine-tar = False debian/source/0000755000000000000000000000000012250460644010471 5ustar debian/source/format0000644000000000000000000000001412250460644011677 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000547112250460644011052 0ustar kinect-audio-setup (0.3-1) unstable; urgency=medium * debian: remove kinect-audio-setup.lintian-overrides * debian/postrm: do not try to remove /lib/firmware/ * debian/control: reformatting done by cme * debian/copyright: update copyright years for the package files -- Antonio Ospite Fri, 06 Dec 2013 23:29:42 +0100 kinect-audio-setup (0.2-3) unstable; urgency=low * debian/kinect-audio-setup.lintian-overrides: move from debian/lintian * debian/install: drop debian/lintian/kinect-audio-setup * debian/control: switch to debhelper >= 9 * debian/gbp.conf: explicitly disable pristine-tar * debian/control: specify the debian package branch in Vcs-Git * debian/control: bump Standards-Version to 3.9.5 * debian/copyright: update to Copyright-Format 1.0 * debian/watch: add a watch file * debian/rules: remove some unneeded comments * debian/control: fix short and long descriptions * debian/po/templates.pot: fill in some info in the header * debian/po/it.po: add Italian translation for the debconf dialogs -- Antonio Ospite Tue, 19 Nov 2013 17:49:54 +0100 kinect-audio-setup (0.2-2) unstable; urgency=low * [a3661fb] debian: depend on p7zip-full >= 9.20 * [cb6e177] debian: use debconf to ask if the user accepts the MSK4W EULA -- Antonio Ospite Fri, 03 Feb 2012 13:02:26 +0100 kinect-audio-setup (0.2-1) unstable; urgency=low * [bb49f29] kinect_upload_fw: disable some compiler flags * [061cb66] kinect_upload_fw: fix generating endian.h before compiling kinect_upload_fw * [d377579] kinect_upload_fw: fix a mingw32 compilation error * [15a7d9a] kinect_upload_fw: fix reading the firmware file on Windows * [e1bc8be] Update .gitignore * [54b0fdd] Add info about building kinect_upload_fw for MS Windows * [863d1b3] kinect_upload_fw: specify libraries after objects in the linking command * [f277611] kinect_fetch_fw: mention wget in the internal documentation * [8184ae6] kinect_fetch_fw: download the latest KinectSDK-v1.0-beta2-x86.msi * [c8bf462] kinect_fetch_fw: make the script less verbose when invoking 7z * [73ef2c4] README: fix a typo and add some clarifications * [aaf68f5] README: tell where we are getting the actual firmware from * [24c4089] kinect_fetch_fw: tell where we are getting the firmware from * [41a7237] Add ChangeLog for v0.2 * [7983d17] debian: import upstream version v0.2 * [c4496ae] debian: fix debian-changelog-line-too-long lintian warnings * [a9c382f] debian/control: tell where the UAC firmare if downloaded from -- Antonio Ospite Sun, 27 Nov 2011 13:30:53 +0100 kinect-audio-setup (0.1-1) unstable; urgency=low * Initial release (Closes: #645072) -- Antonio Ospite Wed, 12 Oct 2011 12:51:53 +0200 debian/config0000755000000000000000000000016312250460644010364 0ustar #!/bin/sh set -e . /usr/share/debconf/confmodule db_input critical kinect-audio-setup/accept_eula || true db_go debian/po/0000755000000000000000000000000012250460644007607 5ustar debian/po/it.po0000644000000000000000000000377112250460644010573 0ustar # Italian (Italy) kinect-audio-setup debconf translation # Copyright (C) 2013 Antonio Ospite # This file is distributed under the same license as the kinect-audio-setup package. # Antonio Ospite # msgid "" msgstr "" "Project-Id-Version: kinect-audio-setup\n" "Report-Msgid-Bugs-To: kinect-audio-setup@packages.debian.org\n" "POT-Creation-Date: 2012-02-03 11:51+0100\n" "PO-Revision-Date: 2013-11-19 17:31+0100\n" "Last-Translator: Antonio Ospite \n" "Language-Team: LANGUAGE \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Do you accept the Microsoft KinectForWindows EULA?" msgstr "Accetti la EULA di Microsoft KinectForWindows?" #. Type: boolean #. Description #: ../templates:1001 msgid "" "In order to fetch the binary firmware needed by this package you need to " "agree to the EULA of the Microsoft KinectForWindows SDK:" msgstr "" "Per poter scaricare il firmware binario richiesto da questo pacchetto devi " "accettare la EULA dell'SDK Microsoft KinectForWindows:" #. Type: boolean #. Description #: ../templates:1001 msgid "http://www.kinectforwindows.org/download/EULA.htm" msgstr "http://www.kinectforwindows.org/download/EULA.htm" #. Type: note #. Description #: ../templates:2001 msgid "EULA not accepted" msgstr "EULA non accettata" #. Type: note #. Description #: ../templates:2001 msgid "" "You need to accept the EULA of Microsoft KinectForWindows SDK in order to " "fetch the binary firmware needed by this package." msgstr "" "Devi accettare la EULA dell'SDK Microsoft KinectForWindows per poter " "scaricare il firmware binario richiesto da questo pacchetto." #. Type: note #. Description #: ../templates:2001 msgid "" "You can do this later by calling:\n" " dpkg-reconfigure kinect-audio-setup" msgstr "" "Puoi fare ciò in seguito eseguendo:\n" " dpkg-reconfigure kinect-audio-setup" debian/po/POTFILES.in0000644000000000000000000000004412250460644011362 0ustar [type: gettext/rfc822deb] templates debian/po/templates.pot0000644000000000000000000000301112250460644012324 0ustar # kinect-audio-setup debconf template # Copyright (C) 2013 Antonio Ospite # This file is distributed under the same license as the kinect-audio-setup package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: kinect-audio-setup\n" "Report-Msgid-Bugs-To: kinect-audio-setup@packages.debian.org\n" "POT-Creation-Date: 2012-02-03 11:51+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Do you accept the Microsoft KinectForWindows EULA?" msgstr "" #. Type: boolean #. Description #: ../templates:1001 msgid "" "In order to fetch the binary firmware needed by this package you need to " "agree to the EULA of the Microsoft KinectForWindows SDK:" msgstr "" #. Type: boolean #. Description #: ../templates:1001 msgid "http://www.kinectforwindows.org/download/EULA.htm" msgstr "" #. Type: note #. Description #: ../templates:2001 msgid "EULA not accepted" msgstr "" #. Type: note #. Description #: ../templates:2001 msgid "" "You need to accept the EULA of Microsoft KinectForWindows SDK in order to " "fetch the binary firmware needed by this package." msgstr "" #. Type: note #. Description #: ../templates:2001 msgid "" "You can do this later by calling:\n" " dpkg-reconfigure kinect-audio-setup" msgstr "" debian/compat0000644000000000000000000000000212250460644010367 0ustar 9 debian/postinst0000644000000000000000000000141212250460644010775 0ustar #!/bin/sh # postinst script for kinect-audio-setup # # see: dh_installdeb(1) set -e . /usr/share/debconf/confmodule case "$1" in configure) db_get kinect-audio-setup/accept_eula if [ "$RET" = "false" ]; then db_input high kinect-audio-setup/eula_not_accepted || true db_go else kinect_fetch_fw /lib/firmware/kinect /usr/sbin/kinect_upload_fw 1>&2 || true udevadm control --reload-rules || true fi ;; 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 debian/templates0000644000000000000000000000114712250460644011115 0ustar Template: kinect-audio-setup/accept_eula Type: boolean Default: false _Description: Do you accept the Microsoft KinectForWindows EULA? In order to fetch the binary firmware needed by this package you need to agree to the EULA of the Microsoft KinectForWindows SDK: . http://www.kinectforwindows.org/download/EULA.htm Template: kinect-audio-setup/eula_not_accepted Type: note _Description: EULA not accepted You need to accept the EULA of Microsoft KinectForWindows SDK in order to fetch the binary firmware needed by this package. . You can do this later by calling: dpkg-reconfigure kinect-audio-setup debian/manpages0000644000000000000000000000006312250460644010706 0ustar debian/kinect_fetch_fw.8 debian/kinect_upload_fw.8 debian/README.Debian0000644000000000000000000000117612250460644011237 0ustar kinect-audio-setup for Debian ----------------------------- kinect-audio-setup will download the actual firmware at install time, this is to avoid the problem of distributing the binary blob from the Microsoft Kinect SDK. For the device to work out of the box after kinect-audio-setup installation, a recent version of pulseaudio is needed, the profile for the Kinect has been added in commit e93b327: http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=e93b32744c1bafb33d5f3ee40b422bab2d017ae1 pulseaudio 1.0 will include all the needed bits. -- Antonio Ospite Sun, 11 Sep 2011 20:47:50 +0200 debian/copyright0000644000000000000000000000567412250460644011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: kinect-audio-setup Source: http://git.ao2.it/kinect-audio-setup.git Files: kinect_upload_fw/* Copyright: 2011 Drew Fisher License: BSD-2-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DREW FISHER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of Drew Fisher. Files: debian/* Copyright: 2011-2013 Antonio Ospite License: GPL-2+ This package 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 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 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 General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". Files: kinect_fetch_fw Copyright: 2011 Antonio Ospite License: WTFPL This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See http://sam.zoy.org/wtfpl/COPYING for more details. debian/docs0000644000000000000000000000000712250460644010041 0ustar README debian/kinect_fetch_fw.80000644000000000000000000000276512250460644012416 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH KINECT_FETCH_FW 8 "September 11, 2011" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME kinect_fetch_fw \- download the Usb Audio Class firmware for the Kinect .SH SYNOPSIS .B kinect_fetch_fw [] .SH DESCRIPTION .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBkinect_fetch_fw\fP is a program to download the Usb Audio Class device firmware for the Microsoft Kinect, and to set up udev rules enabling \fBkinect_upload_fw\fP to be called automatically when the device is detected. .SH SEE ALSO .BR kinect_upload_fw (8) .br .SH AUTHOR kinect_fetch_fw was written by Antonio Ospite . .PP This manual page was written by Antonio Ospite , for the Debian project (and may be used by others). debian/watch0000644000000000000000000000033212250460644010220 0ustar version=3 opts=downloadurlmangle=s/shortlog\/refs\/tags\/(v[\d\.]+)/snapshot\/$1.tar.gz/,\ filenamemangle=s/.*v([\d\.]+)$/kinect-audio-setup-$1.tar.gz/ \ http://git.ao2.it/kinect-audio-setup.git/tags ^.*v([\d\.]+) debian/postrm0000644000000000000000000000110712250460644010437 0ustar #!/bin/sh # postrm script for kinect-audio-setup # # see: dh_installdeb(1) set -e case "$1" in purge) rm -rf /lib/firmware/kinect if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi ;; remove|upgrade|failed-upgrade|abort-upgrade|abort-install) ;; *) 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