OBSOLETE Cygutils - Utilities for Cygwin

UP
Obsolete CygUtils Home
Obsolete V1.1 Home

jpeg-6b

News

Download:

jpeg-6b-cygwin-pre21-dll.README

unpack jpegsrc.v6b.tar.gz
cd jpeg-6b
tar xvf ../ljpeg-6b.tar.gz
patch < ljpeg-6b.patch
patch -p1 < ../jpeg-6b-cygwin-pre21-dll.patch
make

HALT the make once the library has been created, and remove any .exe's that
have been created.

mkdir tmp
cp libjpeg.a tmp
dlltool-def libjpeg.a --export-all-symbols --output-def libjpeg.def
cd tmp
ar x libjpeg.a
dllwrap *.o --def ../libjpeg.def -o ../libjpeg.dll
rm *
cd ..
rmdir tmp
mv libjpeg.a libjpeg.static.a
dlltool --def libjpeg.def --output-lib libjpeg.dll.a
ln -s libjpeg.dll.a libjpeg.a
cp libjpeg.dll /usr/local/bin
chmod 755 /usr/local/bin/libjpeg.dll

RESTART the make

make test
strip *.exe
make install
  /usr/local/bin/cjpeg.exe
  /usr/local/bin/djpeg.exe
  /usr/local/bin/jpegtran.exe
  /usr/local/bin/rdjpgcom.exe
  /usr/local/bin/wrjpegcom.exe
  /usr/local/man/man1/cjpeg.1
  /usr/local/man/man1/djpeg.1
  /usr/local/man/man1/jpegtran.1
  /usr/local/man/man1/rdjpgcom.1
  /usr/local/man/man1/wrjpgcom.1
make install-lib
  /usr/local/include/jconfig.h
  /usr/local/include/jpeglib.h
  /usr/local/include/jmorecfg.h
  /usr/local/include/jerror.h
  /usr/local/lib/libjpeg.a



cp libpng.static.a /usr/local/lib
cp libpng.dll.a /usr/local/lib
cp dl_import.h /usr/local/include
chmod 755 /usr/local/lib/libpng.static.a
chmod 755 /usr/local/lib/libpng.dll.a
chmod 644 /usr/local/include/dl_import.h
cd /usr/local/lib
rm libpng.a
ln -s libpng.dll.a libpng.a

jpeg-6b-cygwin-pre21.README

unpack jpegsrc.v6b.tar.gz
cd jpeg-6b
tar xvf ../ljpeg-6b.tar.gz
patch < ljpeg-6b.patch
patch < ../jpeg-6b-cygwin-pre21.patch

./configure --prefix=/usr/local --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-static

make
make test
strip *.exe
make install
  /usr/local/bin/cjpeg.exe
  /usr/local/bin/djpeg.exe
  /usr/local/bin/jpegtran.exe
  /usr/local/bin/rdjpegcom.exe
  /usr/local/bin/wrjpegcom.exe
  /usr/local/man/man1/cjpeg.1
  /usr/local/man/man1/djpeg.1
  /usr/local/man/man1/jpegtran.1
  /usr/local/man/man1/rdjpgcom.1
  /usr/local/man/man1/wrjpgcom.1
make install-lib
  /usr/local/include/jconfig.h
  /usr/local/include/jpeglib.h
  /usr/local/include/jmorecfg.h
  /usr/local/include/jerror.h
  /usr/local/lib/libjpeg.a


Obsolete V1.1 Home

Obsolete CygUtils Home

Last modified: Mon Jul 31 17:18:48 Eastern Daylight Time 2000