From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=DATE_IN_PAST_12_24,DMARC_QUAR, FREEMAIL_FROM,INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from mail.gmx.net ([213.165.64.20]) by cvs.gentoo.org with smtp (Exim 3.30 #1) id 15txGE-0001Dw-00 for gentoo-dev@cvs.gentoo.org; Wed, 17 Oct 2001 14:25:54 -0600 Received: (qmail 21179 invoked by uid 0); 17 Oct 2001 20:25:44 -0000 Received: from dsl-213-023-054-123.arcor-ip.net (HELO there) (213.23.54.123) by mail.gmx.net (mp009-rz3) with SMTP; 17 Oct 2001 20:25:44 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Corvus Corax To: gentoo-dev@cvs.gentoo.org X-Mailer: KMail [version 1.3.1] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Subject: [gentoo-dev] avifile-0.53.5-r1.ebuild error workaround Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Wed Oct 17 14:26:01 2001 X-Original-Date: Wed, 17 Oct 2001 22:25:01 +0200 X-Archives-Salt: e482e79e-3a0a-4aee-a276-4fffe668039d X-Archives-Hash: cada24ad7a66a300c448c925539d84d1 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 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