From owner-freebsd-multimedia Thu Feb 11 12:32:10 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA12741 for freebsd-multimedia-outgoing; Thu, 11 Feb 1999 12:32:10 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from garbo.lodgenet.com (garbo.lodgenet.com [204.124.122.252]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA12731 for ; Thu, 11 Feb 1999 12:32:06 -0800 (PST) (envelope-from erich@lodgenet.com) Received: from jake.lodgenet.com (jake.lodgenet.com [10.0.122.30]) by garbo.lodgenet.com (8.6.12/8.6.9) with ESMTP id OAA15980 for ; Thu, 11 Feb 1999 14:31:47 -0600 Received: from jake.lodgenet.com (localhost [127.0.0.1]) by jake.lodgenet.com (8.9.3/8.8.5) with ESMTP id OAA01917 for ; Thu, 11 Feb 1999 14:30:52 -0600 (CST) Message-Id: <199902112030.OAA01917@jake.lodgenet.com> X-Mailer: exmh version 2.0.2 2/24/98 To: multimedia@FreeBSD.ORG Subject: building x11amp-0.9 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 11 Feb 1999 14:30:52 -0600 From: "Eric L. Hernes" Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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