[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#724801: ITP: yt -- yt is a command-line front-end to YouTube



Attached is a patch that renames all relevant parts to youtube-cli (why
didn't upstream stick with whitey, in the first place?) and implements
the Depends I suggested. You could use it for the new upstream version.
I am attaching all files relevant for the new upstream version.

The patch needs to be applied on top the debian directory resulting from
applying my last patch.

-nik

-- 
<Natureshadow> Auf welchem Server liegt das denn jetzt…?
<mirabilos> Wenn es nicht übers Netz kommt bei Hetzner, wenn es nicht
            gelesen wird bei STRATO, wenn es klappt bei manitu.

PGP-Fingerprint: 3C9D 54A4 7575 C026 FB17  FD26 B79A 3C16 A0C4 F296
diff -Naupr yt-0~20130928+git6e577736d0/debian/changelog youtube-cli-0~20130928+gitbee8fd44c0/debian/changelog
--- yt-0~20130928+git6e577736d0/debian/changelog	2013-09-28 13:07:48.345923292 +0200
+++ youtube-cli-0~20130928+gitbee8fd44c0/debian/changelog	2013-09-28 14:36:08.989307161 +0200
@@ -1,4 +1,4 @@
-yt (0~20130928+git6e577736d0-1) unstable; urgency=low
+youtube-cli (0~20130928+gitbee8fd44c0-1) unstable; urgency=low
 
   * Initial release, closes: #724801.
 
diff -Naupr yt-0~20130928+git6e577736d0/debian/control youtube-cli-0~20130928+gitbee8fd44c0/debian/control
--- yt-0~20130928+git6e577736d0/debian/control	2013-09-28 13:12:47.853395413 +0200
+++ youtube-cli-0~20130928+gitbee8fd44c0/debian/control	2013-09-28 14:37:38.090379600 +0200
@@ -1,4 +1,4 @@
-Source: yt
+Source: youtube-cli
 Section: web
 Priority: extra
 Maintainer: Javier P.L. <chilicuil@ubuntu.com>
@@ -14,10 +14,9 @@ Homepage: https://github.com/rjw57/yt
 Vcs-Git: git://github.com/chilicuil/yt-deb.git
 Vcs-Browser: https://github.com/chilicuil/yt-deb.git
 
-Package: yt
+Package: youtube-cli
 Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}
-Recommends: mplayer2, youtube-dl
+Depends: ${misc:Depends}, ${python:Depends}, mplayer2 | mplayer, youtube-dl
 Description: command-line YouTube client
  yt is a command-line front-end to YouTube which allows you to browse YouTube
  videos and play them directly from the command-line. It uses youtube-dl and
diff -Naupr yt-0~20130928+git6e577736d0/debian/rules youtube-cli-0~20130928+gitbee8fd44c0/debian/rules
--- yt-0~20130928+git6e577736d0/debian/rules	2013-09-28 13:43:11.631326270 +0200
+++ youtube-cli-0~20130928+gitbee8fd44c0/debian/rules	2013-09-28 14:48:31.246470827 +0200
@@ -7,9 +7,17 @@ DEB_MASTER_VERSION:=$(shell DEB_UPSTREAM
 %:
 	dh $@ --with python2 --buildsystem=python_distutils
 
+override_dh_install:
+	dh_install
+	mv debian/youtube-cli/usr/bin/{yt,youtube-cli}
+
 override_dh_installdocs:
 	dh_installdocs
-	mv debian/yt/usr/share/doc/yt/{NEWS,CHANGELOG}.txt
+	mv debian/youtube-cli/usr/share/doc/youtube-cli/{NEWS,CHANGELOG}.txt
+
+override_dh_installmanpages:
+	dh_installmanpages
+	mv debian/usr/share/man/man1/{yt,youtube-cli}.1.gz
 
 override_dh_clean:
 	dh_clean
@@ -19,6 +27,6 @@ get-orig-source:
 	rm -rf debian/tmp; mkdir debian/tmp
 	cd debian/tmp; wget https://github.com/rjw57/yt/archive/${DEB_MASTER_VERSION}.tar.gz
 	cd debian/tmp; tar xvzf ${DEB_MASTER_VERSION}.tar.gz
-	cd debian/tmp; mv yt-* yt-${DEB_UPSTREAM_VERSION}
-	cd debian/tmp; tar cvJf yt_${DEB_UPSTREAM_VERSION}.orig.tar.xz yt-${DEB_UPSTREAM_VERSION}
-	mv debian/tmp/yt_${DEB_UPSTREAM_VERSION}.orig.tar.xz .
+	cd debian/tmp; mv yt-* youtube-cli-${DEB_UPSTREAM_VERSION}
+	cd debian/tmp; tar cvJf youtube-cli_${DEB_UPSTREAM_VERSION}.orig.tar.xz youtube-cli-${DEB_UPSTREAM_VERSION}
+	mv debian/tmp/youtube-cli_${DEB_UPSTREAM_VERSION}.orig.tar.xz .
diff -Naupr yt-0~20130928+git6e577736d0/debian/youtube-cli.manpages youtube-cli-0~20130928+gitbee8fd44c0/debian/youtube-cli.manpages
--- yt-0~20130928+git6e577736d0/debian/youtube-cli.manpages	1970-01-01 01:00:00.000000000 +0100
+++ youtube-cli-0~20130928+gitbee8fd44c0/debian/youtube-cli.manpages	2013-09-28 10:47:52.000000000 +0200
@@ -0,0 +1 @@
+yt.1
diff -Naupr yt-0~20130928+git6e577736d0/debian/yt.manpages youtube-cli-0~20130928+gitbee8fd44c0/debian/yt.manpages
--- yt-0~20130928+git6e577736d0/debian/yt.manpages	2013-09-28 10:47:52.000000000 +0200
+++ youtube-cli-0~20130928+gitbee8fd44c0/debian/yt.manpages	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-yt.1

Attachment: youtube-cli_0~20130928+gitbee8fd44c0.orig.tar.xz
Description: Binary data

Format: 3.0 (quilt)
Source: youtube-cli
Binary: youtube-cli
Architecture: all
Version: 0~20130928+gitbee8fd44c0-1
Maintainer: Javier P.L. <chilicuil@ubuntu.com>
Uploaders: Dominik George <nik@naturalnet.de>
Homepage: https://github.com/rjw57/yt
Standards-Version: 3.9.4
Vcs-Browser: https://github.com/chilicuil/yt-deb.git
Vcs-Git: git://github.com/chilicuil/yt-deb.git
Build-Depends: debhelper (>= 9), python-setuptools
Build-Depends-Indep: python
Package-List: 
 youtube-cli deb web extra
Checksums-Sha1: 
 057031bb56fa8d3ec61c3fcf135c2fc8156e4f49 10292 youtube-cli_0~20130928+gitbee8fd44c0.orig.tar.xz
 bd255732fba733724f1d99b741c6ce4dbe43a861 2639 youtube-cli_0~20130928+gitbee8fd44c0-1.debian.tar.gz
Checksums-Sha256: 
 25c0e64472e3ea517d8492a41c72194b92feb782a4f0618c8e561187ec4a4a7f 10292 youtube-cli_0~20130928+gitbee8fd44c0.orig.tar.xz
 778c16d995fc0a1afa4eb4c89e66feea9b1b63a0bbee7acbb397ef64345e3766 2639 youtube-cli_0~20130928+gitbee8fd44c0-1.debian.tar.gz
Files: 
 1ff9ee56be34695f5d7a4ab374ca18fb 10292 youtube-cli_0~20130928+gitbee8fd44c0.orig.tar.xz
 033d9fc9e59bc880d997413a97c22d5d 2639 youtube-cli_0~20130928+gitbee8fd44c0-1.debian.tar.gz

Attachment: youtube-cli_0~20130928+gitbee8fd44c0-1.debian.tar.gz
Description: Binary data

Attachment: signature.asc
Description: Digital signature


Reply to: