ABOUT:

This is a stripped-down version of the Debian ia32-libs source. All source
archives and binary packages have been removed and the package fetching script
has been modified to only download binary packages.

Why? I'm writing a Quake 4 howto that recommends rebuilding ia32-libs. The
original ia32-libs source is 205 MB, which is quite a big download. I know what
it's like to be stuck on dial-up. This stripped package is about 20 KB. You'll
still need to download the component packages with ./fetch-and-build, but this
gets the latest versions and only the binary packages -- still smaller than the
original download size.

I created this specifically for the aforementioned Quake 4 howto. I don't mind
if anybody links to the tar.gz file, but be aware that it may become outdated
if rebuilding ia32-libs is no longer necessary for Quake 4 (so far this hasn't
happened yet).


INSTALLATION:

Note: I'm only going to maintain this for sid. Etch users can probably use it
without modification. If you use sarge and really want a version of
fetch-and-build that will work for you, send me a request at the address listed
at the bottom of this page.

1.  If you want to add/remove libraries, edit fetch-and-build and change the
    list starting on line 11. OSS users will want to change libsdl1.2debian-alsa
    to libsdl1.2debian-oss. Arts and ESD users can try -arts and -esd,
    respectively.

2.  To change what mirror to get the sources/packages from, edit
    sources.list.deb (it's a text file).

3.  Build the ia32-libs package from pre-built binary packages:
    $ ./fetch-and-build
    $ dpkg-buildpackage -rfakeroot -uc -b

4.  Install.
    $ cd ..
    $ su
    # dpkg -i ia32-libs_1.6.q4_amd64.deb ia32-libs-dev_1.6.q4_amd64.deb

5.  Make sure you have the right library paths. Edit /etc/ld.so.conf and add the
    following lines, if you don't have them already:
/emul/ia32-linux/lib
/emul/ia32-linux/usr/lib
/emul/ia32-linux/usr/X11R6/lib

6.  If you changed anything in step 6:
    # ldconfig


URLS:

ia32-libs development page: http://packages.qa.debian.org/i/ia32-libs.html
debian-amd64 Quake 4 howto: http://fatooh.org/q4howto/


---
Corey Hickey
bugfood-c@fatooh.org
