From: Robert S. Edmonds Date: Mon, 8 Oct 2007 23:22:33 +0000 (-0400) Subject: Imported Debian patch 2007.10.09-1 X-Git-Url: https://git.rapsys.eu/youtubedl/commitdiff_plain/bef50809707231789aac55853bc8d7f3f68e829c?hp=788bdd3de995a4369aaa094f2f357733894b8367 Imported Debian patch 2007.10.09-1 --- diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ac9c6f6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,76 @@ +youtube-dl (2007.10.09-1) unstable; urgency=low + + * New upstream release. + + -- Robert S. Edmonds Mon, 08 Oct 2007 19:22:33 -0400 + +youtube-dl (2007.08.24-1) unstable; urgency=low + + * New upstream release; closes: #439363. + + -- Robert S. Edmonds Fri, 24 Aug 2007 13:54:40 -0400 + +youtube-dl (2007.06.22-1) unstable; urgency=low + + * New upstream release: + - regex update. + + -- Robert S. Edmonds Thu, 21 Jun 2007 20:42:57 -0400 + +youtube-dl (2007.06.06-1) unstable; urgency=low + + * New upstream release: + - "--title-too" command line option to print the video's title. + + -- Robert S. Edmonds Thu, 07 Jun 2007 01:04:01 -0400 + +youtube-dl (2007.03.27-1) unstable; urgency=low + + * New upstream release: + - Progress meter. + - "--literal" command line option to use the video title in the filename. + - "--get-url" command line option to print the real video URL. + + -- Robert S. Edmonds Mon, 2 Apr 2007 21:46:56 -0400 + +youtube-dl (2007.02.18-1) unstable; urgency=low + + * New upstream release: + - Diction. + - Catches socket errors. + + -- Robert S. Edmonds Tue, 20 Feb 2007 13:57:32 -0500 + +youtube-dl (2007.01.19-1) unstable; urgency=low + + * New upstream release, closes: #406146. + + -- Robert S. Edmonds Sun, 28 Jan 2007 17:41:44 -0500 + +youtube-dl (2006.12.07-1) unstable; urgency=low + + * New upstream release: + - Use -t to name the downloaded file after the title, closes: #395184. + - Parses URLs without a leading "http://", closes: #400321. + + -- Robert S. Edmonds Sun, 10 Dec 2006 13:52:36 -0500 + +youtube-dl (2006.11.12-1) unstable; urgency=low + + * New upstream release. + + -- Robert S. Edmonds Sat, 25 Nov 2006 16:12:03 -0500 + +youtube-dl (2006.09.25-1) unstable; urgency=low + + * New upstream release. + * python >= 2.4 is now required. + + -- Robert S. Edmonds Wed, 27 Sep 2006 17:43:07 -0400 + +youtube-dl (2006.08.28-1) unstable; urgency=low + + * Initial release, closes: #385748. + + -- Robert S. Edmonds Sun, 3 Sep 2006 19:43:27 -0400 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..08480fa --- /dev/null +++ b/debian/control @@ -0,0 +1,13 @@ +Source: youtube-dl +Section: web +Priority: extra +Maintainer: Robert S. Edmonds +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: youtube-dl +Architecture: all +Depends: python (>= 2.4) +Description: download videos from youtube.com + youtube-dl is a small command-line program to download videos from + YouTube.com. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..936b464 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Robert S. Edmonds on +Sun, 3 Sep 2006 19:43:27 -0400. + +It was downloaded from http://www.arrakis.es/~rggi3/youtube-dl/ + +Copyright Holder: + +Copyright 2006-2007 Ricardo Garcia Gonzalez + +License: + +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR +# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +# OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name(s) of the above copyright +# holders shall not be used in advertising or otherwise to promote the +# sale, use or other dealings in this Software without prior written +# authorization. + +The Debian packaging is (C) 2006, Robert S. Edmonds and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..4aff75b --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +youtube-dl usr/bin diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8271a23 --- /dev/null +++ b/debian/rules @@ -0,0 +1,30 @@ +#!/usr/bin/make -f + +build: + +clean: + dh_testdir + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_install + +binary-arch: +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installman debian/youtube-dl.1 + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/debian/youtube-dl.1 b/debian/youtube-dl.1 new file mode 100644 index 0000000..589bd7b --- /dev/null +++ b/debian/youtube-dl.1 @@ -0,0 +1,42 @@ +.TH YOUTUBE-DL "1" "June 2007" "youtube-dl" "User Commands" +.SH NAME +youtube-dl \- download a video file from YouTube.com +.SH DESCRIPTION +usage: youtube\-dl [options] video_url +.SS "options:" +.TP +\fB\-h\fR, \fB\-\-help\fR +print this help text and exit +.TP +\fB\-v\fR, \fB\-\-version\fR +print program version and exit +.TP +\fB\-u\fR USERNAME, \fB\-\-username\fR=\fIUSERNAME\fR +account username +.TP +\fB\-p\fR PASSWORD, \fB\-\-password\fR=\fIPASSWORD\fR +account password +.TP +\fB\-o\fR FILE, \fB\-\-output\fR=\fIFILE\fR +output video file name +.TP +\fB\-q\fR, \fB\-\-quiet\fR +activates quiet mode +.TP +\fB\-s\fR, \fB\-\-simulate\fR +do not download video +.TP +\fB\-t\fR, \fB\-\-title\fR +use title in file name +.TP +\fB\-l\fR, \fB\-\-literal\fR +use literal title in file name +.TP +\fB\-n\fR, \fB\-\-netrc\fR +use .netrc authentication data +.TP +\fB\-g\fR, \fB\-\-get-url\fR +print final video URL only +.TP +\fB\-2\fR, \fB\-\-title-too\fR +used with -g, print title too diff --git a/youtube-dl b/youtube-dl index c2d195c..3626006 100755 --- a/youtube-dl +++ b/youtube-dl @@ -374,7 +374,7 @@ try: block_size = new_block_size(before, after, dl_bytes) if video_len is not None and byte_counter != video_len: - error_advice_exit('server did not send the expected ammount of data') + error_advice_exit('server did not send the expected amount of data') video_file.close() cond_print('done.\n')