Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 1999 22:35:07 +0200
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        Ted Faber <faber@ISI.EDU>
Cc:        hackers list <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: FreeBSD native xanim (was Re: Native Applixware for FreeBSD -- When? )
Message-ID:  <19990513223507.A86122@internal>
In-Reply-To: <199905111850.LAA24153@boreas.isi.edu>; from Ted Faber on Tue, May 11, 1999 at 11:50:04AM -0700
References:  <199905111850.LAA24153@boreas.isi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>




	-Andre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990513223507.A86122>