Antonio Ospite [Sat, 9 Jan 2016 14:34:08 +0000 (15:34 +0100)]
debian/postinst: fix kinect_fetch_fw usage for the new upstream version
While at it also remove the redirection to stderr, and make the
maintainer script return the status of kinect_fetch_fw if the latter
fails.
Antonio Ospite [Fri, 8 Jan 2016 21:58:26 +0000 (22:58 +0100)]
debian/rules: install and patch the udev rules file at install time
The kinect_fetch_fw script does not patch the file automatically at
runtime anymore; so do that once and for all when the package is
created.
Antonio Ospite [Fri, 8 Jan 2016 09:27:41 +0000 (10:27 +0100)]
debian: fix broken links to the Kinect For Windows EULA
Antonio Ospite [Sat, 9 Jan 2016 14:26:00 +0000 (15:26 +0100)]
debian/copyright: add kinect_patch_udev_rules
Antonio Ospite [Sat, 9 Jan 2016 14:24:43 +0000 (15:24 +0100)]
debian/kinect_fetch_fw.8: update to match the new script from upstream
Antonio Ospite [Sat, 9 Jan 2016 14:23:40 +0000 (15:23 +0100)]
debian: update contact info and copyright dates
Antonio Ospite [Sat, 9 Jan 2016 14:16:50 +0000 (15:16 +0100)]
Merge tag 'v0.5' into debian
Release v0.5
Antonio Ospite [Sat, 9 Jan 2016 14:14:57 +0000 (15:14 +0100)]
NEWS: release v0.5
Antonio Ospite [Sat, 9 Jan 2016 12:33:00 +0000 (13:33 +0100)]
Makefile: remove the changelog target it's not used anymore
Antonio Ospite [Sat, 9 Jan 2016 12:32:31 +0000 (13:32 +0100)]
Remove trailing spaces here and there
Antonio Ospite [Sat, 9 Jan 2016 12:27:45 +0000 (13:27 +0100)]
README: document how to install the udev rules
Antonio Ospite [Sat, 9 Jan 2016 12:25:26 +0000 (13:25 +0100)]
Makefile: don't install the udev rules automatically in the install target
Also use kinect_patch_udev_rules to be able to patch the udev rules tile
after installing it.
Antonio Ospite [Sat, 9 Jan 2016 12:04:22 +0000 (13:04 +0100)]
Update copyright info
Antonio Ospite [Sat, 9 Jan 2016 12:03:25 +0000 (13:03 +0100)]
kinect_fetch_fw: remove an unneeded space
Antonio Ospite [Sat, 9 Jan 2016 11:59:53 +0000 (12:59 +0100)]
Factor out a kinect_patch_udev_rules script
This allows to prepare the udev rules file at "make install" time, while
still being able to fetch the firmware at some later stage.
This makes it easier for packages to have a stable udev rules file.
Antonio Ospite [Sat, 9 Jan 2016 11:34:48 +0000 (12:34 +0100)]
kinect_fetch_fw: install the firmware as UACFirmware
This makes it easier to handle it, and it is also in line with newer SDK
versions which use this name.
Antonio Ospite [Sat, 9 Jan 2016 11:29:32 +0000 (12:29 +0100)]
kinect_fetch_fw: use curly braces when they are actually useful
Antonio Ospite [Sat, 9 Jan 2016 11:25:31 +0000 (12:25 +0100)]
kinect_fetch_fw: declare FIRMWARE_PATH earlier and use it when installing
This is in preparation for renaming the destination firmware file.
Antonio Ospite [Sat, 9 Jan 2016 11:20:08 +0000 (12:20 +0100)]
kinect_fetch_fw: don't use curly braces when they are not needed
Antonio Ospite [Sat, 9 Jan 2016 11:12:07 +0000 (12:12 +0100)]
kinect_fetch_fw: don't use DESTDIR, it's not needed
If there is the need to install stuff under some common destination
directory at installation time, the caller can prepend the path to the
arguments passed to the script.
Antonio Ospite [Sat, 9 Jan 2016 11:01:46 +0000 (12:01 +0100)]
kinect_fetch_fw: use readlink -m when setting FW_DESTDIR
This way the normalization succeeds even when the parent directory in
"$1" does not exists.
For example, if FW_DESTDIR is going to be set to /lib/firmware/kinect
but /lib/firmware does not exist yet, there is no reason to fail as the
install command below is going to create all the needed sub-paths.
Antonio Ospite [Fri, 8 Jan 2016 09:29:48 +0000 (10:29 +0100)]
Fix broken links to the Kinect For Windows EULA
Antonio Ospite [Thu, 7 Jan 2016 16:56:56 +0000 (17:56 +0100)]
debian/changelog: release package version 0.4-1
Gbp-Dch: ignore
Antonio Ospite [Thu, 7 Jan 2016 16:48:35 +0000 (17:48 +0100)]
debian/rules: install the NEWS file as the upstream changelog
Antonio Ospite [Thu, 7 Jan 2016 16:43:38 +0000 (17:43 +0100)]
debian/control: bump Standards-Version to 3.9.6
Antonio Ospite [Thu, 7 Jan 2016 16:41:39 +0000 (17:41 +0100)]
debian/patches: drop all patches, they have been applied upstream
Antonio Ospite [Thu, 7 Jan 2016 16:38:44 +0000 (17:38 +0100)]
debian/po: add Brazilian Portuguese translation of debconf templates
Closes: #810010
Thanks: Leonardo Santiago Sidon da Rocha
Antonio Ospite [Thu, 7 Jan 2016 16:36:24 +0000 (17:36 +0100)]
Merge tag 'v0.4' into debian
Release v0.4
Antonio Ospite [Tue, 5 Jan 2016 21:29:52 +0000 (22:29 +0100)]
Drop the Changelog file and use a NEWS file
The NEWS file is intended for humans, all the other species can look at
the git history.
There is no need to keep a detailed Changelog around which is the exact
copy of the git history anyways.
Antonio Ospite [Tue, 5 Jan 2016 22:43:04 +0000 (23:43 +0100)]
kinect_upload_fw: detach possible kernel drivers
Antonio Ospite [Tue, 5 Jan 2016 22:41:07 +0000 (23:41 +0100)]
kinect_upload_fw: make libusb initialization more robust
Check the return values of all the libusb functions.
Also return more sensible values when ret is not immediately useful.
Antonio Ospite [Tue, 5 Jan 2016 22:25:43 +0000 (23:25 +0100)]
kinect_upload_fw: return -errno when fopen fails
This way all the error paths return negative codes.
Antonio Ospite [Tue, 5 Jan 2016 22:20:36 +0000 (23:20 +0100)]
kinect_upload_fw: some cosmetic changes
Adjust the code style a little bit, no functional changes.
Antonio Ospite [Tue, 5 Jan 2016 22:15:00 +0000 (23:15 +0100)]
kinect_upload_fw: rename "res" to "ret" in main()
For me it's more a return value than the actual result of some operation.
Antonio Ospite [Tue, 5 Jan 2016 22:11:53 +0000 (23:11 +0100)]
kinect_upload_fw: factor out an upload_firmware function
Antonio Ospite [Tue, 5 Jan 2016 22:02:53 +0000 (23:02 +0100)]
kinect_upload_fw: fix some warnings from clang -Weverything
Antonio Ospite [Tue, 5 Jan 2016 22:02:14 +0000 (23:02 +0100)]
kinect_upload_fw: Makefile: don't enable unsupported options with clang
Antonio Ospite [Tue, 5 Jan 2016 22:01:07 +0000 (23:01 +0100)]
kinect_upload_fw: check the return value of get_first_reply() and get_reply()
Antonio Ospite [Tue, 5 Jan 2016 20:54:05 +0000 (21:54 +0100)]
kinect_upload_fw: release the interface when exiting
Antonio Ospite [Tue, 5 Jan 2016 20:39:48 +0000 (21:39 +0100)]
kinect_upload_fw: use symbolic constants instead of magic values
Antonio Ospite [Tue, 5 Jan 2016 19:08:18 +0000 (20:08 +0100)]
kinect_upload_fw: initialize current_configuration before libusb_get_configuration()
Initialize the variable as suggested by http://libusb.sourceforge.net/api-1.0/caveats.html
Antonio Ospite [Mon, 17 Nov 2014 13:52:47 +0000 (14:52 +0100)]
debian/po: add Swedish translation of debconf templates
Closes: #769869
Thanks: Martin Bagge, Anders Jonsson
Antonio Ospite [Tue, 4 Nov 2014 23:36:42 +0000 (00:36 +0100)]
debian/copyright: use GPL-2+ as a fallback license
This fixes the file-without-copyright-information lintian warning
Antonio Ospite [Tue, 4 Nov 2014 23:42:01 +0000 (00:42 +0100)]
debian/copyright: split the license texts from file attribution
Antonio Ospite [Mon, 3 Nov 2014 13:51:17 +0000 (14:51 +0100)]
debian/po: add Dutch translation of debconf templates
Closes: #767491
Thanks: Frans Spiesschaert
Antonio Ospite [Wed, 27 Aug 2014 12:31:43 +0000 (14:31 +0200)]
debian/po: add Turkish translation of debconf templates
Closes: #757871
Thanks: Mert Dirik
Antonio Ospite [Thu, 19 Jun 2014 11:01:03 +0000 (13:01 +0200)]
debian/changelog: release package version 0.3-2
Git-Dch: ignore
Antonio Ospite [Thu, 19 Jun 2014 10:03:42 +0000 (12:03 +0200)]
Merge branch 'translations' into debian
Antonio Ospite [Thu, 19 Jun 2014 09:59:54 +0000 (11:59 +0200)]
debian/po: add Czech translation of debconf templates
Closes: #751415
Thanks: Michal Šimůnek
Antonio Ospite [Thu, 19 Jun 2014 09:57:52 +0000 (11:57 +0200)]
debian/po: reformat and cleanup translations
Thanks: Christian PERRIER
Antonio Ospite [Tue, 4 Mar 2014 10:59:26 +0000 (11:59 +0100)]
debian/po: add Japanese translation of debconf templates
Closes: #740713
Thanks: victory
Antonio Ospite [Mon, 3 Mar 2014 21:54:28 +0000 (22:54 +0100)]
debian/po: add Polish translation of debconf templates
Closes: #740629
Thanks: Michał Kułach
Antonio Ospite [Mon, 3 Mar 2014 15:19:54 +0000 (16:19 +0100)]
debian/po: add Spanish translation of debconf templates
Closes: #740570
Thanks: Matías A. Bellone
Antonio Ospite [Mon, 3 Mar 2014 15:16:55 +0000 (16:16 +0100)]
debian/po: update templates.pot
Add the templates.pot from which the *.po files have been created.
Antonio Ospite [Tue, 25 Feb 2014 14:31:13 +0000 (15:31 +0100)]
debian/po/pt.po: remove the old untranslated strings
Antonio Ospite [Tue, 25 Feb 2014 12:10:32 +0000 (13:10 +0100)]
debian/po: update Italian translation fo the debconf templates
Closes: #740075
Antonio Ospite [Tue, 25 Feb 2014 11:37:39 +0000 (12:37 +0100)]
debian/po: add German translation of debconf templates
Closes: #739948
Thanks: Stephan Beck, Christian PERRIER
Antonio Ospite [Tue, 25 Feb 2014 11:32:21 +0000 (12:32 +0100)]
debian/po: add French translation of debconf templates
Closes: #739870
Thanks: Julien Patriarca
Antonio Ospite [Tue, 25 Feb 2014 11:30:03 +0000 (12:30 +0100)]
debian/po: add Danish translation of debconf templates
Closes: #739747
Thanks: Joe Hansen
Antonio Ospite [Tue, 25 Feb 2014 11:27:59 +0000 (12:27 +0100)]
debian/po: add Russian translation of debconf templates
Closes: #739421
Thanks: Yuri Kozlov
Antonio Ospite [Tue, 25 Feb 2014 11:23:05 +0000 (12:23 +0100)]
debian/po: update Portuguese translation of debconf templates
Closes: #733259
Thanks: Américo Monteiro
Antonio Ospite [Tue, 25 Feb 2014 14:23:18 +0000 (15:23 +0100)]
debian: update Maintainer email address
Antonio Ospite [Thu, 9 Jan 2014 13:48:31 +0000 (14:48 +0100)]
debian/{control,templates}: use the text reviewed by debian-l10n
Closes: #733300
Thanks: Christian PERRIER and Justin B Rye
Antonio Ospite [Sat, 28 Dec 2013 11:41:01 +0000 (12:41 +0100)]
debian/po/pt.po: fix a typo in a comment s/Translalion/Translation/
Antonio Ospite [Sat, 28 Dec 2013 11:36:52 +0000 (12:36 +0100)]
debian/po: add Portuguese translation for debconf messages
Closes: #733259
Thanks: Américo Monteiro
Antonio Ospite [Wed, 11 Dec 2013 11:43:12 +0000 (12:43 +0100)]
debian/changelog: prepare for 0.3-2
Git-Dch: ignore
Antonio Ospite [Wed, 11 Dec 2013 11:37:19 +0000 (12:37 +0100)]
debian/patches: add a patch to make kinect_upload_fw work with more devices
Kristof Robot [Sun, 8 Dec 2013 14:46:50 +0000 (15:46 +0100)]
kinect_upload_fw: fix setting configuration for some devices
On some Kinect devices where the desired configuration is already the
currently active one libusb_set_configuration() fails in some way
causing the subsequent bulk transfer to fail, and the program to exit,
with this message:
libusbx: error [op_set_configuration] failed, error -1 errno 110
About to send: 09 20 02 06 01 00 00 00 60 00 00 00 00 00 00 00 15 00 00 00 00 00 00 00
libusbx: error [submit_bulk_transfer] submiturb failed error -1 errno=2
Error: res: -1 transferred: 0 (expected 24)
Only set the desired configuration if it hasn't been set already.
This prevents the problems from above.
Do the configuration check as illustrated in
http://libusbx.sourceforge.net/api-1.0/caveats.html that is by checking
that the current configuration is still the desired one after claiming
the device.
Antonio Ospite [Fri, 6 Dec 2013 22:30:12 +0000 (23:30 +0100)]
debian/changelog: refresh for 0.3-1 once again
Git-Dch: ignore
Antonio Ospite [Fri, 6 Dec 2013 22:28:50 +0000 (23:28 +0100)]
debian/copyright: update copyright years for the package files
Antonio Ospite [Fri, 6 Dec 2013 21:26:54 +0000 (22:26 +0100)]
debian/changelog: refresh for 0.3-1
Git-Dch: ignore
Antonio Ospite [Fri, 6 Dec 2013 20:16:46 +0000 (21:16 +0100)]
debian/control: reformatting done by cme
cme also added the XS-Autobuild field, its value could be changed to yes in
future, according to:
http://www.debian.org/doc/manuals/developers-reference/pkgs.html#non-free-buildd
Antonio Ospite [Fri, 6 Dec 2013 17:03:42 +0000 (18:03 +0100)]
debian/changelog: refresh changelog for 0.3-1
Git-Dch: ignore
Antonio Ospite [Fri, 6 Dec 2013 16:59:54 +0000 (17:59 +0100)]
debian/postrm: do not try to remove /lib/firmware/
/lib/firmware/ is owned by udev, so it's not of our business to remove
it; actually with recent piuparts it's not even there anymore when the
package is purged as udev is removed before kinect-audio-setup.
Antonio Ospite [Fri, 6 Dec 2013 16:57:49 +0000 (17:57 +0100)]
debian: remove kinect-audio-setup.lintian-overrides
The override about the empty lib/firmware/kinect/ is not needed anymore
as the upstream installation does not create it beforehand.
Antonio Ospite [Fri, 6 Dec 2013 16:52:09 +0000 (17:52 +0100)]
Merge tag 'v0.3' into debian
Release v0.3
Antonio Ospite [Fri, 6 Dec 2013 16:46:39 +0000 (17:46 +0100)]
ChangeLog: refresh for v0.3
Antonio Ospite [Fri, 6 Dec 2013 16:45:36 +0000 (17:45 +0100)]
Makefile: remove a trailing space
Antonio Ospite [Fri, 6 Dec 2013 16:43:22 +0000 (17:43 +0100)]
Makefile: don't create the empty dir /lib/firmware/kinect
Let kinect_fetch_fw create the frmware destination dir when necessary.
Antonio Ospite [Fri, 6 Dec 2013 16:42:43 +0000 (17:42 +0100)]
kinect_upload_fw/Makefile: fix double spacing
Remove a double space before an assignment.
Antonio Ospite [Fri, 6 Dec 2013 16:36:12 +0000 (17:36 +0100)]
kinect_upload_fw/endian.c: fix warning and rename a function
Remove the bigend() function, it is never used and causes a compiler
warning:
endian.c:10:12: warning: ‘bigend’ defined but not used [-Wunused-function]
static int bigend(void) {
Also rename the litend() function to little_endian(), there is no need
to use a short name in this case.
Antonio Ospite [Tue, 19 Nov 2013 16:50:42 +0000 (17:50 +0100)]
debian/changelog: refresh entries for 0.2-3
Antonio Ospite [Tue, 19 Nov 2013 16:44:35 +0000 (17:44 +0100)]
debian/po/it.po: add Italian translation for the debconf dialogs
Antonio Ospite [Tue, 19 Nov 2013 16:43:51 +0000 (17:43 +0100)]
debian/po/templates.pot: fill in some info in the header
Antonio Ospite [Tue, 19 Nov 2013 15:17:54 +0000 (16:17 +0100)]
debian/changelog: prepare for 0.2-3
Git-Dch: ignore
Antonio Ospite [Tue, 19 Nov 2013 15:16:18 +0000 (16:16 +0100)]
README: reword and re-indent some paragraphs
Antonio Ospite [Tue, 19 Nov 2013 15:13:47 +0000 (16:13 +0100)]
debian/control: fix short and long descriptions
Short description should be a noun phrase.
Also reword and re-indent the long description.
Antonio Ospite [Tue, 19 Nov 2013 15:06:28 +0000 (16:06 +0100)]
debian/rules: remove some unneeded comments
Antonio Ospite [Tue, 19 Nov 2013 15:02:39 +0000 (16:02 +0100)]
Makefile: misc fixes
Use $(MAKE) for recursive invocations, fix a typo s/prare/prepare/, and
fix wording in a comment.
Antonio Ospite [Tue, 19 Nov 2013 14:59:43 +0000 (15:59 +0100)]
debian/watch: add a watch file
Antonio Ospite [Tue, 19 Nov 2013 14:56:39 +0000 (15:56 +0100)]
debian/copyright: update to Copyright-Format 1.0
Antonio Ospite [Tue, 19 Nov 2013 14:54:54 +0000 (15:54 +0100)]
debian/control: bump Standards-Version to 3.9.5
Antonio Ospite [Tue, 19 Nov 2013 14:54:12 +0000 (15:54 +0100)]
debian/control: specify the debian package branch in Vcs-Git
This is what is suggested in
http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-VCS-fields
Antonio Ospite [Tue, 19 Nov 2013 14:53:09 +0000 (15:53 +0100)]
debian/gbp.conf: explicitly disable pristine-tar
This fixes build when users have pristine-tar set to True in the global
configuration file.
Antonio Ospite [Tue, 19 Nov 2013 14:52:05 +0000 (15:52 +0100)]
debian/control: switch to debhelper >= 9
Antonio Ospite [Tue, 19 Nov 2013 14:50:50 +0000 (15:50 +0100)]
debian/install: drop debian/lintian/kinect-audio-setup
Now that the override is in debian/kinect-audio-setup.lintian-overrides
dh_lintian should pick it up.
Antonio Ospite [Tue, 19 Nov 2013 14:46:20 +0000 (15:46 +0100)]
debian/kinect-audio-setup.lintian-overrides: move from debian/lintian
Also add a comment describing the reason for the override.
Antonio Ospite [Thu, 23 Feb 2012 21:48:22 +0000 (22:48 +0100)]
kinect_upload_fw: initialize 'transferred' before USB transfers
This makes sure the subsequent error messages print a sane value when
libusb fails without touching the variable.
Antonio Ospite [Fri, 3 Feb 2012 12:12:01 +0000 (13:12 +0100)]
README: acknowledge Steven Toth's sponsorship
Antonio Ospite [Fri, 3 Feb 2012 12:03:04 +0000 (13:03 +0100)]
debian: release package version 0.2-2
Git-Dch: Ignore