ports/161909: [patch update] fix to adapt to new libquvi
Kurt Jaeger
fbsd-ports at opsec.eu
Sat Oct 22 21:00:23 UTC 2011
>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 at 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:
More information about the freebsd-ports-bugs
mailing list