public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] avifile-0.53.5-r1.ebuild error workaround
@ 2001-10-17 14:26 Corvus Corax
  0 siblings, 0 replies; only message in thread
From: Corvus Corax @ 2001-10-17 14:26 UTC (permalink / raw
  To: gentoo-dev

Hello folks.
i tried to compile avi-xmms to view my DivX´s under xmms (like i
did so many times before under other Distributions) when i found
out that avifile prior to 0.7 (which there is no ebuild yet)
has been disabled in packages.mask
and thus makes of course avi-xmms broken (thus disabled, too)

of course i didnt accept this since it worked before for me >;>>
after enabling those 2 packages in the
/usr/portage/profiles/package.mask again, i tried to emerge avifile, what
FAILED to compile doe to an "redifinition of struct option" in one of the 
files

traceback of this (well known from other packages)
(tetex has an similar error depending on your USE flags)
this error leeds back this time to ./samples/qtvidcap/parsecl.h
and .../parsecl.cpp
(during emerge compilation normally in
/var/tmp/portage/avifile-0.53.5-r1/work/avifile-0.53.5/samples/qtvidcap/.)

so all we had to do is to patch all "option" variable type identifiers
we find in this 2 files exchange to "parsecl_option".
(but dont do all "option" strings. option is a common name, which is also 
used in a variable name named "options" which is not to change, as well as 
some strings)

i dont have a patch file,(and didn´t have mood to do one) so i just added a 
"bash" command after the
untar command into the ebuild script and did this all by hand before typing 
"exit".
feel free to write a patch and distribute it with the next ebuild >;>>>

this WORKED -> avifile installed

NEXT thing: avi-xmms-1.2.2-r2.ebuild.
the dependencies string seems to be messed up in the ebuild
so you just have to install xmms and avifile 1st <g>
i emerged the xmms (no problems), smpeg-xmms

HEY!! smpeg-xmms NEEDS GLU but dependency not set!!!

(after emerging mesa-glu (the newest version is marked incompatible)
this worked, too),
and divx4linux-20010824
(seems to have worked, even if it still tryed to install stuff into /opt/kde)
!!!
now emerge avi-xmms-1.2.2-r2.ebuild -- and YES it WORKED



and u know what?    DivX watching with xmms is working again!!!!
(tested with a DivX encoded movie )

any questions left??


Eric Noack




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-17 20:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-17 14:26 [gentoo-dev] avifile-0.53.5-r1.ebuild error workaround Corvus Corax

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox