From owner-freebsd-hackers Thu May 13 13:38:42 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id 26BA114D68 for ; Thu, 13 May 1999 13:35:15 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.14]) by david.siemens.de (8.9.3/8.9.3) with ESMTP id WAA26893 for ; Thu, 13 May 1999 22:35:11 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail2.siemens.de (8.9.3/8.9.3) with ESMTP id WAA02672 for ; Thu, 13 May 1999 22:35:10 +0200 (MET DST) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.9.3/8.9.3) id WAA05241 for ; Thu, 13 May 1999 22:35:10 +0200 (CEST) Date: Thu, 13 May 1999 22:35:07 +0200 From: Andre Albsmeier To: Ted Faber Cc: hackers list Subject: Re: FreeBSD native xanim (was Re: Native Applixware for FreeBSD -- When? ) Message-ID: <19990513223507.A86122@internal> References: <199905111850.LAA24153@boreas.isi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <199905111850.LAA24153@boreas.isi.edu>; from Ted Faber on Tue, May 11, 1999 at 11:50:04AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 11-May-1999 at 11:50:04 -0700, Ted Faber wrote: > -----BEGIN PGP SIGNED MESSAGE----- > > > Bill Fumerola wrote: > >How often do I see a author make a program and release _one_ FreeBSD > >binary and about 5 different binaries depending on what linux libc format > >you have. > > On a related note, I don't know if people use xanim, a movie viewer in > the ports collection, but it's recently been upgraded to support > dynamically loadable codecs. The problem is that none of the codecs > are compiled for FreeBSD, although there are three Linux versions :-). > To use them (really to use the program at all) you have to compile a > Linux version of xanim and run under emulation (which works really well, thanks > emulation guys!). > > Yes, I've tried using the Linux codecs on the FreeBSD binary. No dice. It works here with the FreeBSD binary. There are two things I have done: 1. copy the DLL's in the following order to /usr/X11R6/lib/X11/xanim vid_iv32_2.1_linuxELFx86c5.xa vid_iv41_1.0_linuxELFx86c5.xa vid_iv50_1.0_linuxELFx86c5.xa vid_cvid_2.0_linuxELFx86c5.xa vid_cyuv_1.0_linuxELFx86c5.xa vid_h261_1.0_linuxELFx86c5.xa vid_h263_1.0_linuxELFx86c5.xa 2. run xanim through the following script (of course, you need the linuxemu). #!/bin/sh export XANIM_MOD_DIR=/usr/X11R6/lib/X11/xanim export LD_LIBRARY_PATH=/compat/linux/lib exec xanim.bin +Aev90 +Sr +Wp +Zper +v "$@" BTW, there is a bug in the ports Makefile: --- Makefile.ORI Mon Apr 12 10:57:50 1999 +++ Makefile Mon Apr 12 10:53:29 1999 @@ -18,8 +18,8 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz USE_IMAKE= yes MAN1= xanim.1 -MAKE_ENV= XA_IV32_DEF=-DXA_INDEO \ - XA_CVID_DEF=-DXA_CINEPAK \ +MAKE_ENV= XA_IV32_DEF=-DXA_IV32 \ + XA_CVID_DEF=-DXA_CVID \ XA_CYUV_DEF=-DXA_CYUV .include -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message