Date: Sat, 22 Oct 2011 22:50:30 +0200 From: Kurt Jaeger <fbsd-ports@opsec.eu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/161909: [patch update] fix to adapt to new libquvi Message-ID: <E1RHiWU-0006M4-OQ@zfs.opsec.eu> Resent-Message-ID: <201110222100.p9ML0MnZ062719@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161909 >Category: ports >Synopsis: [patch update] fix to adapt to new libquvi >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Oct 22 21:00:22 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Kurt Jaeger >Release: FreeBSD 9.0-BETA2 amd64 >Organization: - >Environment: System: FreeBSD zfs.opsec.eu 9.0-BETA2 FreeBSD 9.0-BETA2 #0 r216425M: Thu Sep 15 10:20:53 CEST 2011 pi@zfs.opsec.eu:/usr/obj/usr/src/sys/VPNKERN amd64 >Description: totem-pl-parser uses libquvi, which changed some definitions when going to 0.4. >How-To-Repeat: make totem-pl-parser fails without the patch >Fix: Add this file as files/patch-totem-pl-parser-videosite to the port. ------------------ --- plparse/totem-pl-parser-videosite.c.orig 2010-12-14 15:39:59.000000000 +0100 +++ plparse/totem-pl-parser-videosite.c 2011-10-22 22:45:40.317902126 +0200 @@ -75,7 +75,7 @@ #ifdef HAVE_QUVI QUVIcode rc; quvi_t handle; - quvi_video_t v; + quvi_media_t v; char *uri; /* properties */ const char *video_uri; @@ -100,13 +100,13 @@ 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; getprop (QUVIPROP_PAGETITLE, title); - getprop (QUVIPROP_VIDEOID, id); + getprop (QUVIPROP_MEDIAID, id); getprop (QUVIPROP_PAGEURL, page_uri); getprop (QUVIPROP_STARTTIME, starttime); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1RHiWU-0006M4-OQ>