pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/clive Update to 2.2.1. Set LICENSE.
details: https://anonhg.NetBSD.org/pkgsrc/rev/419cf47e6c2c
branches: trunk
changeset: 396109:419cf47e6c2c
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Jul 18 19:52:27 2009 +0000
description:
Update to 2.2.1. Set LICENSE.
Version 2.2.1
(June 21, 2009)
User-visible changes:
* Add: support for Vimeo (closes issue #19)
* Add: return codes for each error case (closes issue #22)
* Fix: return code is always 0 (closes issue #20)
* Change: --hosts output now matches cclive output
Version 2.2.0
(June 14, 2009)
FOREWORD
--------
This release is a major overhaul aimed to fix the previous design flaws
and clean up the codebase. Note that 2.2.0 breaks compatibility with
the earlier versions of clive.
Most users will not notice much differences after upgrading to 2.2.0
but those users who have used clive for anything more than "clive URL"
should read the changes carefully. The summary of changes section
includes more detailed changes that is recommended reading for all
users and maintainers.
2.2.0 changes the license from ISC to GPLv3. The license was last
changed in 2.1.0 to ISC but has now been reverted back to GPLv3 after
some further consideration.
Config::Tiny has been replaced with Getopt::ArgvFile. The latter had
some advantages over Config::Tiny that lead to the switch. For example,
instead of trying to memorize the (often confusing) config variable
names, users can now use command line options in the config file.
This also means that everytime a new feature is added to the program,
we are no longer required to modify the code responsible for parsing
the config file. Using Getopt::ArgvFile also required adding only one
line of code to the project whereas Config::Tiny required several.
cache no longer reads by default. This means that --cache-read option
must be invoked for clive to read previously stored video records
from the cache. The change was made after seeing how most users found
the reading from cache too confusing and frequently reported expired
link errors such as HTTP 403 as bugs even though the behaviour was
documented in the manual page. DAERTM?
--emit-csv now outputs very few details about the videos. Only those
fields that are known to be any use are printed out.
2.2.0 also removes a number of less used features that have lingered
in the project since the 1.x. Most of these features were never
requested and have only been burdening the program codebase since
their introduction.
Part time hackers and/or developers will notice that clive now follows
a new OO design -- as well as Perl5 allows it. While there are still
some considerations regarding the design and limitations that could not
quite be ported from C++ used in cclive, WYSIWYG.
Package/port maintainers will want to read the README file. The previously
used GNU Makefile is no longer used and clive installation now depends on
ExtUtils::MakeMaker instead.
SUMMARY of CHANGES
------------------
User-visible changes:
* License change
1. ISC -> GPLv3
2. Last changed in 2.1.0 (-> ISC)
* Slight improvements to program startup time
* Config file format changes (Config::Tiny -> Getopt::ArgvFile)
1. Command line options can now be used in config file
2. Breaks compatibility with previous versions
3. Cleaner and new format allows using cmdline options in configs
4. Format was last changed in 2.0.0
Example:
-----------------------------------------------
# Config::Tiny: clive 2.0 - 2.1
cat >> ~/.config/clive/config
[http]
proxy = "http://foo:1234"
[output]
savedir = "/home/user/videos"
# Getopt::ArgvFile: clive 2.2
cat >> ~/.cliverc
--proxy="http://foo:1234"
--savedir="/home/user/videos"
-----------------------------------------------
* Fix: Redtube video title parsing
* Cache changes
1. Cache is now passive (read:no, write:yes)
2. Add: --cache- option prefix
3. New option: --cache-read, --no-cache
5. Rename: misc. options (e.g. --show -> --cache-dump)
6. Record field changes
o Breaks compatibility with previous versions
7. New field delimiter '#'
8. New field order
* File path changes
1. ~/.config/clive/config -> ~/.cliverc
2. ~/.config/clive/recall -> ~/.clivelast
3. ~/.config/clive/cache -> ~/.clivecache
* --format changes
1. Add: --format=best support (closes issue #15 )
2. Rename: mp4 -> fmt18 (Youtube)
3. Rename: Dailymotion ID spark -> flv
* Bugfixes
1. cURL error handling
2. Google mp4 support
3. Do not strip link params (closes debian bug #530659)
4. --format=fmt6 (no longer supported by Youtube?)
5. Dailymotion ID parsing
* New options:
1. --home-dir
2. --recall-file
3. --cache-file
4. --no-cclass
5. --raw
6. --stop-after (closes issue #18)
* --emit-csv: changes to CSV fields (cleanup, print only the necessary fields)
1. clive 2.0 - 2.1:
page_link, video_link, filename, file_length_mb,
file_length_bytes, video_id, time_stamp, page_title,
initial_length, remaining_bytes
2. clive 2.2:
base_filename, file_length, video_link
* Remove options:
1. --savebatch
2. --renew (now obsolete)
3. --youtube-user (broken since 2.1)
4. --youtube-pass (...)
5. --no-login (...)
6. --clivepass (...)
7. --emit-xml
8. --background
9. --progress
10. --output
11. --append
12. --paste
13. --format=fmt6
* Other changes:
1. Long options: aliases (e.g. --output_file | --output-file | --outputfile)
2. --filename-format: new specifiers, rename some of the old ones
3. --format: exit with an error if id is not recognized by clive
4. Rename: -r -> -l (--recall)
5. Many short options have been removed (or reused)
Version 2.1.14
(May 25, 2009)
User-visible changes:
* Add: support for youtube-nocookie.com (closes issue #12)
* Add: fmt35 format ID for Youtube [closes issue #10 (and #13)]
* Fix: liveleak id parsing
* Rename: --format IDs for Youtube
** mp4_hd -> fmt22
** 3gpp -> fmt17
** xflv -> fmt6
* Rename: --output-video -> --output-file
* Rename: output:file -> output:filename_format (config file)
* Remove: --overwrite option (use --output-file instead)
diffstat:
net/clive/Makefile | 23 +++++++----------------
net/clive/PLIST | 3 ---
net/clive/distinfo | 8 ++++----
3 files changed, 11 insertions(+), 23 deletions(-)
diffs (68 lines):
diff -r ba7a90783052 -r 419cf47e6c2c net/clive/Makefile
--- a/net/clive/Makefile Sat Jul 18 19:37:54 2009 +0000
+++ b/net/clive/Makefile Sat Jul 18 19:52:27 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2009/06/08 09:15:08 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2009/07/18 19:52:27 wiz Exp $
#
-DISTNAME= clive-2.1.13
+DISTNAME= clive-2.2.1
CATEGORIES= net multimedia www
MASTER_SITES= http://clive.googlecode.com/files/
EXTRACT_SUFX= .tar.bz2
@@ -9,29 +9,20 @@
MAINTAINER= wiz%NetBSD.org@localhost
HOMEPAGE= http://clive.sourceforge.net/
COMMENT= Command line video extraction tool for user-uploaded video hosts
-# similar, but not exact wording
-#LICENSE= mit
+LICENSE= gnu-gpl-v3
DEPENDS+= p5-BerkeleyDB>=0.34:../../databases/p5-BerkeleyDB
-DEPENDS+= p5-Clipboard>=0.09:../../x11/p5-Clipboard
-DEPENDS+= p5-Config-Tiny>=2.12:../../devel/p5-Config-Tiny
+DEPENDS+= p5-Class-Singleton-[0-9]*:../../devel/p5-Class-Singleton
+DEPENDS+= p5-Getopt-ArgvFile-[0-9]*:../../devel/p5-Getopt-ArgvFile
DEPENDS+= p5-Digest-SHA-[0-9]*:../../security/p5-Digest-SHA
-DEPENDS+= p5-Expect>=1.21:../../devel/p5-Expect
DEPENDS+= p5-HTML-Parser>=2.37:../../www/p5-HTML-Parser
-DEPENDS+= p5-IO-Pager>=0.05:../../devel/p5-IO-Pager
DEPENDS+= p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey
DEPENDS+= p5-URI>=1.37:../../www/p5-URI
DEPENDS+= p5-WWW-Curl>=4.05:../../www/p5-WWW-Curl
PKG_DESTDIR_SUPPORT= user-destdir
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
-
-do-build:
+PERL5_PACKLIST= auto/clive/.packlist
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/clive ${DESTDIR}${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/clive.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
-
-.include "../../lang/perl5/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff -r ba7a90783052 -r 419cf47e6c2c net/clive/PLIST
--- a/net/clive/PLIST Sat Jul 18 19:37:54 2009 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.9 2009/01/08 16:08:57 wiz Exp $
-bin/clive
-man/man1/clive.1
diff -r ba7a90783052 -r 419cf47e6c2c net/clive/distinfo
--- a/net/clive/distinfo Sat Jul 18 19:37:54 2009 +0000
+++ b/net/clive/distinfo Sat Jul 18 19:52:27 2009 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.17 2009/06/08 09:15:08 wiz Exp $
+$NetBSD: distinfo,v 1.18 2009/07/18 19:52:27 wiz Exp $
-SHA1 (clive-2.1.13.tar.bz2) = 16f0420df703de7b1c5b69aa2ecd1ba6e7a044a1
-RMD160 (clive-2.1.13.tar.bz2) = fe53913f9deca3331faafbc41fa42e05557bc077
-Size (clive-2.1.13.tar.bz2) = 32556 bytes
+SHA1 (clive-2.2.1.tar.bz2) = 973e83fbcc530d8eacf8a5e702d6ec997379fd7c
+RMD160 (clive-2.2.1.tar.bz2) = 43a15c09c1135dcde68d757975057730b07c4976
+Size (clive-2.2.1.tar.bz2) = 39479 bytes
Home |
Main Index |
Thread Index |
Old Index