ERROR: Slooooow dooooown... this page load was delayed.


mpeg2dec - mpeg 1 and 2 decoder library and test program for it ChangeLog

HOWTO


# mpeg2dec 0.4.1
# ===============
# Slackware 9.0 and 9.1's 'mpeg2dec' packages include version 0.3.1, 10.0
# and 10.1's include 0.4.0b  Slackware 10.2 and up don't include Gnome, and
# since the mpeg2dec package was considered a Gnome package, it's no longer
# included.

# Prerequisites:
# XFree86 or X.org
# SDL
# pkg-config

cd
test -f installed/mpeg2dec-0.4.1.tar.gz &&
mv installed/mpeg2dec-0.4.1.tar.gz .
test ! -f mpeg2dec-0.4.1.tar.gz &&
wget http://libmpeg2.sourceforge.net/files/mpeg2dec-0.4.1.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "mpeg2dec-*" -exec rm -r {} \;
tar xzvf ~/mpeg2dec-0.4.1.tar.gz
cd mpeg2dec-0.4.1
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --enable-shared
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg mpeg2dec
( cd /usr/lib ; rm -f libmpeg2.* mpeg2convert.* )
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/mpeg2dec-*.tar.*
mv mpeg2dec-0.4.1.tar.gz installed/


# If you ever want to uninstall mpeg2dec, this should do it:
cd
su
test -d src/mpeg2dec-* && ( cd src/mpeg2dec-* ; make uninstall )
( cd /usr/bin ; rm -f corrupt_mpeg2 extract_mpeg2 mpeg2dec )
test -d /usr/include/mpeg2dec && rm -r /usr/include/mpeg2dec
( cd /usr/lib ; rm -f libmpeg2.* libmpeg2convert.* )
( /usr/lib/pkgconfig ; rm -f libmpeg2.pc libmpeg2convert.pc )
( cd /usr/man/man1 ; rm -f extract_mpeg2.1 mpeg2dec.1 )
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "mpeg2dec-*" -exec rm -r {} \;
rm -f ~/installed/mpeg2dec-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2006-11-07 10:52am
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]