FreeBSD Bugzilla – Attachment 86192 Details for
Bug 122594
[maintainer update][patch] www/youtube_dl to 2008.04.07
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 5.09 KB, created by
Pankov Pavel
on 2008-04-09 12:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Pankov Pavel
Created:
2008-04-09 12:50:01 UTC
Size:
5.09 KB
patch
obsolete
>Index: www/youtube_dl/Makefile >=================================================================== >RCS file: /home/ncvs/ports/www/youtube_dl/Makefile,v >retrieving revision 1.19 >diff -u -r1.19 Makefile >--- www/youtube_dl/Makefile 13 Mar 2008 20:57:18 -0000 1.19 >+++ www/youtube_dl/Makefile 9 Apr 2008 11:44:50 -0000 >@@ -6,7 +6,7 @@ > # > > PORTNAME= youtube_dl >-PORTVERSION= 2008.03.08 >+PORTVERSION= 2008.04.07 > CATEGORIES= www > MASTER_SITES= http://www.arrakis.es/~rggi3/youtube-dl/ > DISTNAME= youtube-dl-${PORTVERSION} >Index: www/youtube_dl/distinfo >=================================================================== >RCS file: /home/ncvs/ports/www/youtube_dl/distinfo,v >retrieving revision 1.16 >diff -u -r1.16 distinfo >--- www/youtube_dl/distinfo 13 Mar 2008 20:57:18 -0000 1.16 >+++ www/youtube_dl/distinfo 9 Apr 2008 11:44:50 -0000 >@@ -1,3 +1,3 @@ >-MD5 (youtube-dl-2008.03.08) = 026eee27b6186b3729f842e2cc10cd0e >-SHA256 (youtube-dl-2008.03.08) = 30b491cece2bae9525e95f26dcb7d238eb0487fa689696faf166b590fd50b707 >-SIZE (youtube-dl-2008.03.08) = 15306 >+MD5 (youtube-dl-2008.04.07) = 38633443d0d39db1c658f834e0a38401 >+SHA256 (youtube-dl-2008.04.07) = 0b207a94081eaf38ed365a47476e172b331a3530d875463870bad87fd7c46f9a >+SIZE (youtube-dl-2008.04.07) = 16309 >Index: www/youtube_dl/files/conv2avi.patch >=================================================================== >RCS file: /home/ncvs/ports/www/youtube_dl/files/conv2avi.patch,v >retrieving revision 1.4 >diff -u -r1.4 conv2avi.patch >--- www/youtube_dl/files/conv2avi.patch 13 Mar 2008 20:57:18 -0000 1.4 >+++ www/youtube_dl/files/conv2avi.patch 9 Apr 2008 11:44:50 -0000 >@@ -1,44 +1,37 @@ >-Index: www/youtube_dl/files/conv2avi.patch >-=================================================================== >-RCS file: www/youtube_dl/files/conv2avi.patch >-diff -N www/youtube_dl/files/conv2avi.patch >---- /dev/null 1 Jan 1970 00:00:00 -0000 >-+++ www/youtube_dl/files/conv2avi.patch 31 Jan 2008 19:32:45 -0000 >-@@ -0,0 +1,37 @@ >-+--- youtube-dl.orig Wed Jan 30 14:18:50 2008 >-++++ youtube-dl Thu Jan 31 21:36:49 2008 >-+@@ -208,6 +208,7 @@ >-+ cmdl_parser.add_option('-t', '--title', action='store_true', dest='use_title', help='use title in file name') >-+ cmdl_parser.add_option('-l', '--literal', action='store_true', dest='use_literal', help='use literal title in file name') >-+ cmdl_parser.add_option('-n', '--netrc', action='store_true', dest='use_netrc', help='use .netrc authentication data') >-++cmdl_parser.add_option('-a', '--avi', action='store_true', dest='use_avi', help='output file in avi format') >-+ cmdl_parser.add_option('-g', '--get-url', action='store_true', dest='get_url', help='print final video URL only') >-+ cmdl_parser.add_option('-2', '--title-too', action='store_true', dest='get_title', help='used with -g, print title too') >-+ (cmdl_opts, cmdl_args) = cmdl_parser.parse_args() >-+@@ -382,6 +383,26 @@ >-+ >-+ except KeyboardInterrupt: >-+ sys.exit('\n') >-++ >-++# Convert to avi if needed >-++if cmdl_opts.use_avi: >-++ if cmdl_opts.outfile is None: >-++ avi_filename = '%s.avi' % video_filename[:-4] >-++ else: >-++ avi_filename = '%s.avi' % video_filename >-++ >-++ try: >-++ os.system('%%CONV2AVI_CMD%% "%s" "%s" > %s 2> %s' % (video_filename, avi_filename, os.path.devnull, os.path.devnull)) >-++ cond_print('Video file converted to %s\n' % avi_filename) >-++ except OSError: >-++ sys.exit('Error: unable to convert file.\n') >-++ except KeyboardInterrupt: >-++ sys.exit('\n') >-++ >-++ try: >-++ os.unlink(video_filename) >-++ except OSError: >-++ sys.exit('Error: unable to remove downloaded file.\n') >-+ >-+ # Finish >-+ sys.exit() >+--- youtube-dl.orig Wed Jan 30 14:18:50 2008 >++++ youtube-dl Thu Jan 31 21:36:49 2008 >+@@ -208,6 +208,7 @@ >+ cmdl_parser.add_option('-t', '--title', action='store_true', dest='use_title', help='use title in file name') >+ cmdl_parser.add_option('-l', '--literal', action='store_true', dest='use_literal', help='use literal title in file name') >+ cmdl_parser.add_option('-n', '--netrc', action='store_true', dest='use_netrc', help='use .netrc authentication data') >++cmdl_parser.add_option('-a', '--avi', action='store_true', dest='use_avi', help='convert file to MPEG4 format') >+ cmdl_parser.add_option('-g', '--get-url', action='store_true', dest='get_url', help='print final video URL only') >+ cmdl_parser.add_option('-2', '--title-too', action='store_true', dest='get_title', help='used with -g, print title too') >+ (cmdl_opts, cmdl_args) = cmdl_parser.parse_args() >+@@ -382,6 +383,26 @@ >+ >+ except KeyboardInterrupt: >+ sys.exit('\n') >++ >++# Convert to avi if needed >++if cmdl_opts.use_avi and not cmdl_opts.best_quality: >++ if cmdl_opts.outfile is None: >++ avi_filename = '%s.avi' % video_filename[:-4] >++ else: >++ avi_filename = '%s.avi' % video_filename >++ >++ try: >++ os.system('%%CONV2AVI_CMD%% "%s" "%s" > %s 2> %s' % (video_filename, avi_filename, os.path.devnull, os.path.devnull)) >++ cond_print('Video file converted to %s\n' % avi_filename) >++ except OSError: >++ sys.exit('Error: unable to convert file.\n') >++ except KeyboardInterrupt: >++ sys.exit('\n') >++ >++ try: >++ os.unlink(video_filename) >++ except OSError: >++ sys.exit('Error: unable to remove downloaded file.\n') >+ >+ # Finish >+ sys.exit()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 122594
: 86192