Linux HOWTOs

About | Home | Search

HOWTO: libraw1394
Description: IEEE 1394 (aka. Firewire, i.Link) library
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything

# libraw1394 1.3.0
# ================
# This project was deleted from freshmeat on September 19, 2005 and at
# around the same time, neither DNS server was working for the domain.
# It's still not on freshmeat, but everything seems to be OK now.

test -f installed/libraw1394-1.3.0.tar.gz &&
 mv installed/libraw1394-1.3.0.tar.gz .
test ! -f libraw1394-1.3.0.tar.gz &&

# Verify tarball w/ md5sum:
echo "c5d9ab62bd25dba96af010b3471e816a  libraw1394-1.3.0.tar.gz" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libraw1394-*" -exec rm -r {} \;
tar xzvf ~/libraw1394-1.3.0.tar.gz
cd libraw1394-1.3.0
test $UID = 0 && chown -R root:root .
chmod -R u+w .

# Become root to clean up old files and to install it

rm -f /usr/local/lib/libraw1394.*
make install
chown -R $USER .

# If you DON'T use udev, create the /dev/raw1394 device file if it
# doesn't already exist:
test -c /dev/raw1394 || make dev

# If you do use udev, read the FAQ entry titled "How do I setup udev rules to
# create the device nodes for the various drivers?"

# Become yourself again

mkdir -p -m 0700 installed
rm -f installed/libraw1394-*.tar.*
mv libraw1394-1.3.0.tar.gz installed/

# If you ever want to uninstall libraw1394, this should do it:
test -d src/libraw1394-* && ( cd src/libraw1394-* ; make uninstall )
( cd /usr/local/bin ; rm -f dumpiso sendiso testlibraw )
test -d /usr/local/include/libraw1394 &&
 rm -r /usr/local/include/libraw1394
( cd /usr/local/man/man1 ; rm -f dumpiso.1 sendiso.1 testlibraw.1 )
rm -f /usr/local/lib/libraw1394.* \
 /usr/local/lib/pkgconfig/libraw1394.pc \
find ~/src -maxdepth 1 -type d -name "libraw1394-*" -exec rm -r {} \;
rm -f ~/installed/libraw1394-*.tar.*

Back to the list

Last updated: Wed, 29 Apr 2020 22:04:50 -0400
Jason Englander <jason at englanders dot us>