| Summary: | vlc 0.6.2 failed compiling | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | navidson <grumpy1947> |
| Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Patch to build vlc plugin for mozilla-1.5
Patch to build with ffmpeg-0.4.8 vlc-0.6.2-r1.ebuild Patch to build vlc plugin for mozilla-1.5 (v2) vlc-0.6.2-r1.ebuild (v2) Patch to build vlc plugin for mozilla-1.5 (v3) |
||
|
Description
navidson
2003-11-19 07:04:06 UTC
when recompilg vlc after updated mozilla from 1.4-r3 to 1.5-r1 vlc failed on compiling in module "mozilla" if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYS_LINUX -I../include `top_builddir=".." ../vlc-config --cxxflags mozilla pic` -Imozilla -Wsign-compare -Wsign-compare -Wall -finline-limit-30000 -pipe -MT libplugin_a-vlcshell.o -MD -MP -MF ".deps/libplugin_a-vlcshell.Tpo" \ -c -o libplugin_a-vlcshell.o `test -f 'vlcshell.cpp' || echo './'`vlcshell.cpp; \ then mv -f ".deps/libplugin_a-vlcshell.Tpo" ".deps/libplugin_a-vlcshell.Po"; \ else rm -f ".deps/libplugin_a-vlcshell.Tpo"; exit 1; \ fi vlcshell.cpp:209: erreur de syntaxes avantle jeton « ) » vlcshell.cpp: Dans function « NPError NPP_SetWindow(NPP_t*, NPWindow*) »: vlcshell.cpp:456: «struct NPSetWindowCallbackStruct» n'a pas de membre nommé « display » make[3]: *** [libplugin_a-vlcshell.o] Erreur 1 make[3]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/mozilla' make[2]: *** [all] Erreur 2 make[2]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/mozilla' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2' make: *** [all] Erreur 2 Reproducible: Always Steps to Reproduce: 1.update mozilla to 1.5-r1 2.compile vlc 0.6.2 3.use : +arts +qt +ncurses +dvd +gtk +nls -3dfx +svga +fbcon +esd +kde +X +alsa +ggi +oggvorbis +gnome +xv +oss +sdl +aalib +slp +truetype -v4l +xvid -lirc +wxwindows +imlib +mozilla -dvb -debug -faad +xosd +matroska -altivec Actual Results: i use 0.6.2 installed previously Expected Results: compiling done gcc flags options : CFLAGS="-mmmx -m3dnow -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -maccumulate-outgoing-args" mozilla 1.5-r1 compiled with USE options +java +crypt -ipv6 +gtk2 +ssl -ldap -gnome -debug -mozcalendar -mozaccess -mozxmlterm -moznoirc -moznomail -moznocompose -moznoxft Created attachment 20956 [details, diff]
Patch to build vlc plugin for mozilla-1.5
This issue is not x86 specific, I have the same problem both on ppc and x86.
This is due to changes in mozilla headers. I've created a small patch to add
the correct header references in the code. There's another small patch to cope
with ffmpeg-0.4.8 instead of downgrading to ffmpeg-0.4.7, and finally the
ebuild vlc-0.6.2-r1. Seems to work fine on x86 (but not as fine as mplayer with
some wmv and I won't compare with a build against ffmpeg-0.4.7), I'll report
later for ppc.
Created attachment 20957 [details, diff]
Patch to build with ffmpeg-0.4.8
Created attachment 20958 [details]
vlc-0.6.2-r1.ebuild
Created attachment 20996 [details, diff] Patch to build vlc plugin for mozilla-1.5 (v2) Corrections for the patch and the ebuild : the build was done but the plugin always made mozilla crash... (there's was an undefined reference in the lib). x86 version seems to behave correctly when testing at http://fredrik.hubbe.net/plugger/test.html Tested on PPC with both ffmpeg-0.4.7 and ffmpeg-0.4.8 (some problems with asf files not present on x86) Are there some issues when both vlcplugin and mplayerplug-in are installed ? Created attachment 20997 [details]
vlc-0.6.2-r1.ebuild (v2)
vlc-0.6.2 now depends on =mozilla-1.4* Created attachment 21042 [details, diff] Patch to build vlc plugin for mozilla-1.5 (v3) Removed stuff which was useless in the patch since '-DMOZ_X11 -DOJI' was introduced in the CFLAGS. The plugin was still broken on PPC (but not x86) because of ffmpeg build : created bug #34013 and uploaded a patch. Now builds against -1.5, the new mozilla has a mozilla-config.h that you should include before any other mozilla include ^^; About the ppc issue, as I said in the other bug you filled, please one issue per bug if isn't really related. |