Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156067 - media-video/vlc-0.8.6-beta2 ebuild does not build moz plugin
Summary: media-video/vlc-0.8.6-beta2 ebuild does not build moz plugin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 156066 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-23 15:02 UTC by Tavin Cole
Modified: 2006-12-01 05:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
partial fix (vlc-0.8.6_beta2.ebuild.diff,888 bytes, patch)
2006-11-23 15:07 UTC, Tavin Cole
Details | Diff
fix it (vlc-nsplugin.patch,1.27 KB, patch)
2006-12-01 04:33 UTC, Vlastimil Babka (Caster) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tavin Cole 2006-11-23 15:02:52 UTC
older versions of the ebuild configure with --enable-mozilla=firefox or --enable-mozilla=seamonkey etc. to build the plugin.  this syntax is not supported upstream and the plugin is not built with the latest upstream version.  instead, --enable-mozilla must be given to configure, and the env vars XPIDL and MOZILLA_CONFIG must be set correctly.
Comment 1 Tavin Cole 2006-11-23 15:07:04 UTC
Created attachment 102609 [details, diff]
partial fix

this is a partial fix that fixes the configure args and also cleans up handling of the directories associated with the plugin installation.

you have to use a command like this to get it to work:

XPIDL=/usr/lib/mozilla-firefox/ MOZILLA_CONFIG=/usr/lib/mozilla-firefox/firefox-config emerge vlc

sorry, i'm not sure how to fix the ebuild to set those env vars.

also, sorry about the duplicate bug, i got an internal server error from bugzilla and ended up POSTing it twice.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-24 00:49:50 UTC
*** Bug 156066 has been marked as a duplicate of this bug. ***
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-30 18:18:58 UTC
This will be fixed in 0.8.6_rc1.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-30 18:39:46 UTC
Thanks for the info, this is now fixed in 0.8.6_rc1.
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-01 03:52:06 UTC
No, I didn't get the plugin (nsplugin + seamonkey). Will try to investigate more.
Btw I think that the src_install() part related to this should be inside 'if use nsplugin; then' ...
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-01 04:33:02 UTC
Created attachment 103118 [details, diff]
fix it

Looks like you just forgot the "--enable-mozilla" part, here's the patch.
Now it builds fine with seamonkey (the one who gave you the seamonkey-config path must be a genius :)
Comment 7 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-01 05:16:29 UTC
Commited with Diego's permission.