Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 1999 14:30:52 -0600
From:      "Eric L. Hernes" <erich@lodgenet.com>
To:        multimedia@FreeBSD.ORG
Subject:   building x11amp-0.9
Message-ID:  <199902112030.OAA01917@jake.lodgenet.com>

next in thread | raw e-mail | index | archive | help

Howdy,
I finally got x11amp-0.9 to build and run acceptably... here's what
you'll need:

1) linuxthreads port
     -- get the bits and instructions at http://lt.tar.com
2) linuxthread enabled glib11d and gtk11d
     -- follow the instructions from http://lt.tar.com on how to set this up
3) thread-safe libX11 and libXext
     -- either build you own from the XFree86 port, or
        grab mine from http://www.freebsd.org/~erich/x11amp/tsXlibs.tgz
        This tar contains libX11_t.so* and libXext_t.so*, anything linked
        against them must also be linked with -lpthread.
        There was some indication that these just put a giant-lock around
        the Xlib calls, so there is some penalty for single-threaded apps.
        So I re-named 'em, so that there wouldn't be a conflict.

after you've got this stuff set up, edit /usr/X11R6/bin/gtk11d-config
to use -lXext_t, -lX11_t and -lpthread. You'll probably want to set
the glib_cflags to 
glib_cflags="-DLINUXTHREADS -D_THREAD_SAFE -I/usr/local/include/glib11d"
while you're there.

You'll need to install the automake and autoconf ports as well if you want
to build from source.

Then get the latest x11amp from cvs
(CVSROOT=":pserver:anonymous@cvs.gdev.net:/cvs)

apply the patches in http://www.freebsd.org/~erich/x11amp/x11amp-patches.tgz,
and configure with something like:

$ GTK_CONFIG=/usr/X11R6/bin/gtk11d-config
$ GLIB_CONFIG=/usr/local/bin/glib11d-config

$ export GTK_CONFIG GLIB_CONFIG

$ ./autogen.sh --prefix=/usr/X11R6

and then
$ gmake
to compile the thing

if you want to run from the build directory, have a look at the `#if 1's
in x11amp/input.c and x11amp/output.c to see how to get it to not
coredump ;-)  Basically, it can't find any input or output plugins, and it
doesn't handle it very gracefully.

There are bugs in the code, and some stuff isn't implemented yet, 
check their web page for already reported bugs...
http//www.x11amp.org

If you just want binaries, you can get 'em at
http://www.freebsd.org/~erich/x11amp/x11amp-bin-0.9-elh.tgz
make sure you grab the thread-safe x-libs too. You'll still need the
gtk11-devel, glib11-devel, and linuxthreads to run (of course).

Eric.


-- 
Eric L. Hernes
erich@lodgenet.com




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



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