libmpeg3 - Library that decodes mp2, mp3, ac3, mpeg-1 video, mpeg-2 video, and DVD ChangeLog

HOWTO


# libmpeg3 1.8
# ============
# If you ever want to uninstall libmpeg3 or just clean up files from
# an old version before installing the new one, skip down to the bottom for
# instructions

# Prerequisites:
# nasm

# Get it
cd
test -f installed/libmpeg3-1.8-src.tar.bz2 &&
mv installed/libmpeg3-1.8-src.tar.bz2 .
test ! -f libmpeg3-1.8-src.tar.bz2 &&
wget http://downloads.sf.net/heroines/libmpeg3-1.8-src.tar.bz2

# Extract it
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libmpeg3-*" -exec rm -r {} \;
tar xjvf ~/libmpeg3-1.8-src.tar.bz2
cd libmpeg3-1.8
test $UID = 0 && chown -R root:root .

# The configure used here is not an autoconf one.
# Right now it just verifies that you have nasm installed as either
# /usr/bin/nasm or /usr/local/bin/nasm.

# There's something screwey with the Makefile, so we create the OBJDIR for
# it - otherwise make would fail, the first time
mkdir -p `uname -m`

# Build it
./configure
make

# Become root to install it
su

# Install it
make install PREFIX=/usr/local
mkdir -p /usr/local/include/libmpeg3
cp *.h /usr/local/include/libmpeg3/
ln -sf /usr/local/include/libmpeg3/libmpeg3.h /usr/local/include/libmpeg3.h
ln -sf /usr/local/include/libmpeg3/mpeg3private.h \
/usr/local/include/mpeg3private.h
cp `uname -m`/libmpeg3.a /usr/local/lib/

# Make sure your non-root user can remove the source later
chown -R $(logname) .
chmod -R u+w .

# Become yourself again
exit

# Save the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/libmpeg3-*.tar.*
mv libmpeg3-1.8-src.tar.bz2 installed/


# If you ever want to uninstall libmpeg3, this should do it:
su
( cd /usr/local/bin ; rm -f mpeg3cat mpeg3dump mpeg3peek mpeg3toc )
rm -f /usr/local/lib/libmpeg3.a /usr/local/include/libmpeg3.h \
/usr/local/include/mpeg3private.h
test -d /usr/local/include/libmpeg3 && rm -r /usr/local/include/libmpeg3
exit
find ~/src -maxdepth 1 -type d -name "libmpeg3-*" -exec rm -r {} \;
rm -f ~/installed/libmpeg3-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2013-05-24 5:32pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]