summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2011-10-19 07:03:36 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2011-10-19 07:03:36 +0000
commit62ddfaff9e90690b4c5c019a23e6f9f42446d9da (patch)
tree194c8b3c04742db54eaeee7ace949fa5f468e732 /dev-libs/totem-pl-parser/files
parentFix compilation of ld64, add back wrongly dropped LD64LIBS, thanks Charles Da... (diff)
downloadgentoo-2-62ddfaff9e90690b4c5c019a23e6f9f42446d9da.tar.gz
gentoo-2-62ddfaff9e90690b4c5c019a23e6f9f42446d9da.tar.bz2
gentoo-2-62ddfaff9e90690b4c5c019a23e6f9f42446d9da.zip
Change dep from quvi to libquvi (radhermit recommendation), apply marienzs
(Portage version: 2.2.0_alpha69/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/totem-pl-parser/files')
-rw-r--r--dev-libs/totem-pl-parser/files/totem-pl-parser-2.32.6-quvi-0.4.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-libs/totem-pl-parser/files/totem-pl-parser-2.32.6-quvi-0.4.patch b/dev-libs/totem-pl-parser/files/totem-pl-parser-2.32.6-quvi-0.4.patch
new file mode 100644
index 000000000000..23917853a58c
--- /dev/null
+++ b/dev-libs/totem-pl-parser/files/totem-pl-parser-2.32.6-quvi-0.4.patch
@@ -0,0 +1,29 @@
+Use "media" interface instead of "video" (deprecated in libquvi-0.2.15,
+removed in 0.2.20). Fixes compatibility with libquvi-0.4.
+
+See https://bugs.gentoo.org/show_bug.cgi?id=386651,
+https://bugzilla.gnome.org/show_bug.cgi?id=661451
+
+--- a/plparse/totem-pl-parser-videosite.c
++++ b/plparse/totem-pl-parser-videosite.c
+@@ -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;
+@@ -104,8 +104,8 @@
+ 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;
+