There is a useful but unfinished/unmaintained(?) utility for blackbox called 
bblaunch.  I have been wishing for something like this for quite a while. I was 
able to get it built and running under fedora core 2, but it took me some 
googling and some help from friends who know C.  I scripted the build up in 
case others find it useful.  The script is below.

Pete

P.S. I apologize if this is a duplicate message.  This is my third attempt at 
sending it.

#!/bin/sh
#a script to download, configure, fix, compile, and install bblaunch
#on a Fedora Core 2 system
#see http://use.perl.org/~Ovid/journal/20290 #for how I got this thing to run
#There is no warrantee whatsoever regarding this script
REQ_PACKAGES="xorg-x11-devel xorg-x11-libs"
SCRIPT_PACKAGES="wget perl tar make"
error_out () {
  echo "You are missing one of bblaunches prerequisite packages"
  echo "I think you will need to install $1"
  echo "maybe try:"
  echo "yum install $1"
  exit 1
}

warning_out () {
  echo "bblaunch might work for you, but you are missing $1,"
  echo "and this script needs $1 to work"
  echo "Try reading the source for this script and doing it by hand"
  exit 2
}
for p in $REQ_PACKAGES
do
  rpm -q $p >/dev/null 2>&1|| error_out $p
done
for p in $SCRIPT_PACKAGES
do
  rpm -q $p >/dev/null 2>&1|| warning_out $p
done
cd /tmp
wget -q 
http://http.us.debian.org/debian/pool/main/b/bblaunch/bblaunch_0.0.3.orig.tar.gz
tar xzf bblaunch_0.0.3.orig.tar.gz
cd bblaunch-0.0.3
./configure
perl -pi -e 's#^\s+sprintf\(launchargs\.call.*$##g' bblaunch.c
make
if [ $? = 0 ]; then
  echo "Looks like bblaunch successfully compiled! You can do 'make install' if you 
want to install it"
fi
#make install


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
List archives: http://asgardsrealm.net/lurker/splash/index.html




Reply via email to