Hello community,

here is the log from the commit of package quvi for openSUSE:Factory checked in 
at 2013-05-07 07:34:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/quvi (Old)
 and      /work/SRC/openSUSE:Factory/.quvi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "quvi"

Changes:
--------
--- /work/SRC/openSUSE:Factory/quvi/quvi.changes        2012-01-24 
12:21:36.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.quvi.new/quvi.changes   2013-05-07 
07:34:22.000000000 +0200
@@ -1,0 +2,7 @@
+Sat May  4 20:54:51 UTC 2013 - [email protected]
+
+- Update to version 0.4.2
+  + Add "%e" to print the extension of the linked file
+  + Add "%h" to print the thumbnail URL for a link
+
+-------------------------------------------------------------------

Old:
----
  quvi-0.4.1.tar.bz2

New:
----
  quvi-0.4.2.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ quvi.spec ++++++
--- /var/tmp/diff_new_pack.cnj9K3/_old  2013-05-07 07:34:23.000000000 +0200
+++ /var/tmp/diff_new_pack.cnj9K3/_new  2013-05-07 07:34:23.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           quvi
-Version:        0.4.1
+Version:        0.4.2
 Release:        0
 Summary:        Command line tool for parsing flash media stream URLs
 License:        LGPL-2.1+

++++++ quvi-0.4.1.tar.bz2 -> quvi-0.4.2.tar.bz2 ++++++
++++ 2639 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/quvi-0.4.1/ChangeLog new/quvi-0.4.2/ChangeLog
--- old/quvi-0.4.1/ChangeLog    2011-11-28 19:44:16.000000000 +0100
+++ new/quvi-0.4.2/ChangeLog    2012-03-01 18:46:16.000000000 +0100
@@ -1,3 +1,67 @@
+commit dfa468d
+Author: Toni Gundogdu <[email protected]>
+Date:   2012-03-01
+
+    Update NEWS for v0.4.2
+
+NEWS
+
+commit 15bb2ae
+Author: Toni Gundogdu <[email protected]>
+Date:   2012-03-01
+
+    Bump version to v0.4.2
+
+m4/version.m4
+
+commit 3b67a3f
+Author: Toni Gundogdu <[email protected]>
+Date:   2012-02-29
+
+    Add gen-news.sh (repo only)
+
+gen-news.sh
+
+commit c9a2d32
+Author: Toni Gundogdu <[email protected]>
+Date:   2012-02-29
+
+    Add license to misc. scripts
+    
+     * autogen.sh
+     * gen-ver.sh
+
+autogen.sh
+gen-ver.sh
+
+commit d283fef
+Author: Toni Gundogdu <[email protected]>
+Date:   2012-02-29
+
+    Do not pass quvi_t as an arg, use the global var instead
+
+src/quvi/quvi.c
+
+commit 9e463f0
+Author: Bastien Nocera <[email protected]>
+Date:   2011-12-06
+
+    Add "%h" to print the thumbnail URL for a link
+
+doc/man1/quvi.1.pod
+src/quvi/quvi.c
+
+commit 8c82966
+Author: Bastien Nocera <[email protected]>
+Date:   2011-12-06
+
+    Add "%e" to print the extension of the linked file
+    
+    useful to automatically save links to files.
+
+doc/man1/quvi.1.pod
+src/quvi/quvi.c
+
 commit baa28a1
 Author: Toni Gundogdu <[email protected]>
 Date:   2011-11-28
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/quvi-0.4.1/NEWS new/quvi-0.4.2/NEWS
--- old/quvi-0.4.1/NEWS 2011-11-28 19:43:43.000000000 +0100
+++ new/quvi-0.4.2/NEWS 2012-03-01 18:45:08.000000000 +0100
@@ -1,3 +1,9 @@
+v0.4.2 (2012-03-01) / Toni Gundogdu
+
+Bastien Nocera:
+  - Add "%e" to print the extension of the linked file [8c82966]
+  - Add "%h" to print the thumbnail URL for a link [9e463f0]
+
 
 0.4.1  Mon Nov 28 2011  Toni Gundogdu
 Changes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/quvi-0.4.1/VERSION new/quvi-0.4.2/VERSION
--- old/quvi-0.4.1/VERSION      2011-11-28 19:44:16.000000000 +0100
+++ new/quvi-0.4.2/VERSION      2012-03-01 18:46:16.000000000 +0100
@@ -1 +1 @@
-v0.4.1
+v0.4.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/quvi-0.4.1/config.aux/missing new/quvi-0.4.2/config.aux/missing
--- old/quvi-0.4.1/config.aux/missing   2011-11-28 19:43:58.000000000 +0100
+++ new/quvi-0.4.2/config.aux/missing   2012-03-01 18:45:53.000000000 +0100
@@ -1,10 +1,10 @@
 #! /bin/sh
 # Common stub for a few missing GNU programs while installing.
 
-scriptversion=2009-04-28.21; # UTC
+scriptversion=2012-01-06.13; # UTC
 
 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
-# 2008, 2009 Free Software Foundation, Inc.
+# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
 # Originally by Fran,cois Pinard <[email protected]>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -84,7 +84,6 @@
   help2man     touch the output file
   lex          create \`lex.yy.c', if possible, from existing .c
   makeinfo     touch the output file
-  tar          try tar, gnutar, gtar, then tar without non-portable flags
   yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
 
 Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
@@ -122,15 +121,6 @@
     # Not GNU programs, they don't have --version.
     ;;
 
-  tar*)
-    if test -n "$run"; then
-       echo 1>&2 "ERROR: \`tar' requires --run"
-       exit 1
-    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
-       exit 1
-    fi
-    ;;
-
   *)
     if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
        # We have it, but it failed.
@@ -226,7 +216,7 @@
          \`Bison' from any GNU archive site."
     rm -f y.tab.c y.tab.h
     if test $# -ne 1; then
-        eval LASTARG="\${$#}"
+        eval LASTARG=\${$#}
        case $LASTARG in
        *.y)
            SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
@@ -256,7 +246,7 @@
          \`Flex' from any GNU archive site."
     rm -f lex.yy.c
     if test $# -ne 1; then
-        eval LASTARG="\${$#}"
+        eval LASTARG=\${$#}
        case $LASTARG in
        *.l)
            SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
@@ -318,41 +308,6 @@
     touch $file
     ;;
 
-  tar*)
-    shift
-
-    # We have already tried tar in the generic part.
-    # Look for gnutar/gtar before invocation to avoid ugly error
-    # messages.
-    if (gnutar --version > /dev/null 2>&1); then
-       gnutar "$@" && exit 0
-    fi
-    if (gtar --version > /dev/null 2>&1); then
-       gtar "$@" && exit 0
-    fi
-    firstarg="$1"
-    if shift; then
-       case $firstarg in
-       *o*)
-           firstarg=`echo "$firstarg" | sed s/o//`
-           tar "$firstarg" "$@" && exit 0
-           ;;
-       esac
-       case $firstarg in
-       *h*)
-           firstarg=`echo "$firstarg" | sed s/h//`
-           tar "$firstarg" "$@" && exit 0
-           ;;
-       esac
-    fi
-
-    echo 1>&2 "\
-WARNING: I can't seem to be able to run \`tar' with the given arguments.
-         You may want to install GNU tar or Free paxutils, or check the
-         command line arguments."
-    exit 1
-    ;;
-
   *)
     echo 1>&2 "\
 WARNING: \`$1' is needed, and is $msg.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/quvi-0.4.1/doc/man1/quvi.1 new/quvi-0.4.2/doc/man1/quvi.1
--- old/quvi-0.4.1/doc/man1/quvi.1      2011-11-28 19:43:59.000000000 +0100
+++ new/quvi-0.4.2/doc/man1/quvi.1      2012-03-01 18:45:55.000000000 +0100
@@ -124,7 +124,7 @@
 .\" ========================================================================
 .\"
 .IX Title "quvi 1"
-.TH quvi 1 "2011-11-28" "v0.4.1" "quvi manual"
+.TH quvi 1 "2012-03-01" "v0.4.2" "quvi manual"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -263,9 +263,11 @@
 Invoke \fIarg\fR after each successfully parsed \s-1URL\s0. The following
 specifiers are supported:
 .PP
-.Vb 2
+.Vb 4
 \& %u  ..  Media stream URL
 \& %t  ..  Media title
+\& %e  ..  Media file suffix (extension)
+\& %h  ..  Media thumbnail URL
 .Ve
 .PP
 Note that \fIeach\fR occurence of the specifier will be replaced within
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/quvi-0.4.1/doc/man1/quvi.1.pod new/quvi-0.4.2/doc/man1/quvi.1.pod
--- old/quvi-0.4.1/doc/man1/quvi.1.pod  2011-11-28 19:42:39.000000000 +0100
+++ new/quvi-0.4.2/doc/man1/quvi.1.pod  2012-03-01 18:44:12.000000000 +0100
@@ -133,6 +133,8 @@
 
  %u  ..  Media stream URL
  %t  ..  Media title
+ %e  ..  Media file suffix (extension)
+ %h  ..  Media thumbnail URL
 
 Note that I<each> occurence of the specifier will be replaced within
 the I<arg>. quvi accepts multiple occurrences of C<--exec>. See also
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/quvi-0.4.1/gen-ver.sh new/quvi-0.4.2/gen-ver.sh
--- old/quvi-0.4.1/gen-ver.sh   2011-11-28 10:27:53.000000000 +0100
+++ new/quvi-0.4.2/gen-ver.sh   2012-03-01 18:44:12.000000000 +0100
@@ -1,5 +1,24 @@
 #!/bin/sh
-# gen-ver.sh for quvi.
+#
+# gen-ver.sh for quvi
+# Copyright (C) 2011  Toni Gundogdu
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301  USA
+#
+set -e
 
 from_file()
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/quvi-0.4.1/m4/version.m4 new/quvi-0.4.2/m4/version.m4
--- old/quvi-0.4.1/m4/version.m4        2011-11-28 19:43:43.000000000 +0100
+++ new/quvi-0.4.2/m4/version.m4        2012-03-01 18:44:38.000000000 +0100
@@ -1 +1 @@
-m4_define([_QUVI_VERSION], [0.4.1])
+m4_define([_QUVI_VERSION], [0.4.2])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/quvi-0.4.1/src/quvi/quvi.c new/quvi-0.4.2/src/quvi/quvi.c
--- old/quvi-0.4.1/src/quvi/quvi.c      2011-11-28 19:42:39.000000000 +0100
+++ new/quvi-0.4.2/src/quvi/quvi.c      2012-03-01 18:44:12.000000000 +0100
@@ -97,7 +97,7 @@
   va_end(ap);
 }
 
-static void dump_error_json(quvi_t quvi, QUVIcode rc)
+static void dump_error_json(QUVIcode rc)
 {
   spew_e("{\n"
          "  \"error\": [\n"
@@ -108,7 +108,7 @@
          "}\n", quvi_strerror(quvi, rc));
 }
 
-static void dump_error_xml(quvi_t quvi, QUVIcode rc)
+static void dump_error_xml(QUVIcode rc)
 {
   spew_e("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
          "<error>\n"
@@ -117,7 +117,7 @@
          quvi_strerror(quvi, rc));
 }
 
-static void dump_error(quvi_t quvi, QUVIcode rc)
+static void dump_error(QUVIcode rc)
 {
   switch (opts->export_level_arg)
     {
@@ -132,10 +132,10 @@
         case export_format_arg_json:
         case export_format__NULL:
         default:
-          dump_error_json(quvi, rc);
+          dump_error_json(rc);
           break;
         case export_format_arg_xml:
-          dump_error_xml(quvi, rc);
+          dump_error_xml(rc);
           break;
         }
     }
@@ -288,7 +288,7 @@
 }
 
 /* Wraps quvi_supported_ident. */
-static void supported(quvi_t quvi)
+static void supported()
 {
   quvi_ident_t ident;
   unsigned int i;
@@ -308,14 +308,14 @@
           quvi_supported_ident_close(&ident);
         }
       else
-        dump_error(quvi,rc);
+        dump_error(rc);
     }
   cleanup();
   exit (rc);
 }
 
 /* Query which formats are available for the URL */
-static void query_formats(quvi_t quvi)
+static void query_formats()
 {
   unsigned int i;
   QUVIcode rc;
@@ -338,14 +338,14 @@
           quvi_free(formats);
         }
       else
-        dump_error(quvi,rc);
+        dump_error(rc);
     }
   cleanup();
   exit (rc);
 }
 
 /* dumps all supported hosts to stdout. */
-static void support(quvi_t quvi)
+static void support()
 {
   int done = 0;
 
@@ -395,6 +395,8 @@
 {
   char *cmd, *media_url, *q_media_url;
   char *page_title, *q_page_title, *t;
+  char *suffix, *q_suffix;
+  char *thumb_url, *q_thumb_url;
   int rc;
 
   quvi_getprop(media, QUVIPROP_PAGETITLE, &page_title);
@@ -409,12 +411,28 @@
   asprintf(&q_media_url, "%s", t);
   _free(t);
 
+  quvi_getprop(media, QUVIPROP_FILESUFFIX, &suffix);
+  t = strdup(suffix);
+  t = shell_escape(t);
+  asprintf(&q_suffix, "%s", t);
+  _free(t);
+
+  quvi_getprop(media, QUVIPROP_MEDIATHUMBNAILURL, &thumb_url);
+  t = strdup(thumb_url);
+  t = shell_escape(t);
+  asprintf(&q_thumb_url, "%s", t);
+  _free(t);
+
   cmd = strdup(exec_arg);
   cmd = strepl(cmd, "%t", q_page_title);
   cmd = strepl(cmd, "%u", q_media_url);
+  cmd = strepl(cmd, "%e", q_suffix);
+  cmd = strepl(cmd, "%h", q_thumb_url);
 
   _free(q_page_title);
   _free(q_media_url);
+  _free(q_suffix);
+  _free(q_thumb_url);
 
   rc = system(cmd);
 
@@ -701,7 +719,7 @@
 
   if ((rc = quvi_init(&quvi)) != QUVI_OK)
     {
-      dump_error(quvi, rc);
+      dump_error(rc);
       cleanup();
       exit (rc);
     }
@@ -1020,7 +1038,7 @@
         }
       else
         {
-          dump_error(quvi, rc);
+          dump_error(rc);
           last_error = rc;
           ++errors;
         }

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to