Hello community,

here is the log from the commit of package totem-pl-parser for openSUSE:Factory 
checked in at 2012-01-11 15:38:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/totem-pl-parser (Old)
 and      /work/SRC/openSUSE:Factory/.totem-pl-parser.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "totem-pl-parser", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/totem-pl-parser/totem-pl-parser.changes  
2012-01-09 15:22:28.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.totem-pl-parser.new/totem-pl-parser.changes     
2012-01-11 15:39:01.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Jan 10 13:27:58 UTC 2012 - [email protected]
+
+- Add totem-pl-parser-new-libquvi.patch: add compatibility with
+  libquvi 0.4.x.
+
+-------------------------------------------------------------------

New:
----
  totem-pl-parser-new-libquvi.patch

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

Other differences:
------------------
++++++ totem-pl-parser.spec ++++++
--- /var/tmp/diff_new_pack.aX4lzZ/_old  2012-01-11 15:39:02.000000000 +0100
+++ /var/tmp/diff_new_pack.aX4lzZ/_new  2012-01-11 15:39:02.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package totem-pl-parser
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,14 +15,17 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           totem-pl-parser
 Version:        2.32.6
 Release:        0
-Source0:        
http://download.gnome.org/sources/totem-pl-parser/2.32/%{name}-%{version}.tar.bz2
 Summary:        A simple GObject-based library to parse playlist formats
 License:        LGPL-2.0+
 Group:          Productivity/Multimedia/Video/Players
 Url:            http://www.gnome.org/projects/totem/
+Source0:        
http://download.gnome.org/sources/totem-pl-parser/2.32/%{name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM totem-pl-parser-new-libquvi.patch [email protected] -- 
Work with libquvi 0.4.x
+Patch0:         totem-pl-parser-new-libquvi.patch
 BuildRequires:  intltool
 BuildRequires:  translation-update-upstream
 BuildRequires:  pkgconfig(glib-2.0)
@@ -84,6 +87,7 @@
 %prep
 %setup -q
 translation-update-upstream
+%patch0 -p1
 
 %build
 %configure \

++++++ totem-pl-parser-new-libquvi.patch ++++++
>From 4e15c57a438ee900f6ce601810a59a316b039fa1 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <[email protected]>
Date: Fri, 21 Oct 2011 15:36:26 +0000
Subject: lib: Require quvi 0.4.0

And adapt API usage.

Original patch by Marien Zwart in:
https://bugs.gentoo.org/show_bug.cgi?id=386651

https://bugzilla.gnome.org/show_bug.cgi?id=661451
---
diff --git a/plparse/totem-pl-parser-videosite.c 
b/plparse/totem-pl-parser-videosite.c
index 9706d5a..b1645d6 100644
--- a/plparse/totem-pl-parser-videosite.c
+++ b/plparse/totem-pl-parser-videosite.c
@@ -75,7 +75,7 @@ totem_pl_parser_add_videosite (TotemPlParser *parser,
 #ifdef HAVE_QUVI
        QUVIcode rc;
        quvi_t handle;
-       quvi_video_t v;
+       quvi_media_t v;
        char *uri;
        /* properties */
        const char *video_uri;
@@ -104,8 +104,8 @@ totem_pl_parser_add_videosite (TotemPlParser *parser,
                return TOTEM_PL_PARSER_RESULT_ERROR;
        }
 
-       getprop (QUVIPROP_VIDEOURL, video_uri);
-       if (quvi_getprop (v, QUVIPROP_VIDEOFILELENGTH, &length) == QUVI_OK)
+       getprop (QUVIPROP_MEDIAURL, video_uri);
+       if (quvi_getprop (v, QUVIPROP_MEDIACONTENTLENGTH, &length) == QUVI_OK)
                length_str = g_strdup_printf ("%f", length);
        else
                length_str = NULL;
--
cgit v0.9.0.2
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to