libtiff and libjpeg direct compile patch This patch is also found in the xv 3.10a rollup 2001-05-12 patch. If you applied the xv 3.10a rollup 2001-05-12 patch you do NOT need to apply this patch or any of the instructions fould in this file. For details on the xv 3.10a rollup 2001-05-12 patch see: http://www.isthe.com/chongo/src/xv-patch/index.html Systems such as RedHat Linux (7.0 or later) come with libtiff and libjpeg libraries. If your system vendor does not supply these libraries, you can obtain them at: http://freshmeat.net/projects/libtiff/ http://freshmeat.net/projects/libjpeg/ You must install libtiff and libjpeg on your system before appling this patch. If you did NOT use the xv 3.10a rollup 2001-05-12 patch, should MUST also appli the following two patches: ftp://ftp.cis.upenn.edu/pub/xv/xv-3.10a.JPEG-patch ftp://ftp.cis.upenn.edu/pub/xv/xv-3.10a.TIFF-patch =-= Disclaimers This patch is being distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This patch is in the public domain and is NOT copyrighted. That is, use this patch at your own risk. I do NOT maintain xv. Please do NOT send me xv bug reports. Send xv bug reports (and fixes) to the xv tech EMail address: http://www.trilon.com/xv/index.html#email I did NOT write xv. You are welcome to ``Share and Enjoy'' xv and send $25 to John Bradley. :-) chongo (http://www.isthe.com/chongo/index.html) /\oo/\ =-= *** Makefile.init Sun May 13 13:45:24 2001 --- Makefile Sun May 13 13:45:51 2001 *************** *** 46,58 **** ### on your machine, *COMMENT OUT* the following lines ### JPEG = -DDOJPEG ! JPEGDIR = jpeg ! JPEGINC = -I$(JPEGDIR) ! JPEGLIB = $(JPEGDIR)/libjpeg.a ! $(JPEGDIR)/jconfig.h: ! cd $(JPEGDIR) ; ./configure CC='$(CC)' ! $(JPEGLIB): $(JPEGDIR)/jconfig.h ! cd $(JPEGDIR) ; make ### --- 46,59 ---- ### on your machine, *COMMENT OUT* the following lines ### JPEG = -DDOJPEG ! ###JPEGDIR = jpeg ! ###JPEGINC = -I$(JPEGDIR) ! ###JPEGLIB = $(JPEGDIR)/libjpeg.a ! JPEGLIB = -ljpeg ! ###$(JPEGDIR)/jconfig.h: ! ### cd $(JPEGDIR) ; ./configure CC='$(CC)' ! ###$(JPEGLIB): $(JPEGDIR)/jconfig.h ! ### cd $(JPEGDIR) ; make ### *************** *** 60,70 **** ### on your machine, *COMMENT OUT* the following lines ### TIFF = -DDOTIFF ! TIFFDIR = tiff ! TIFFINC = -I$(TIFFDIR) ! TIFFLIB = $(TIFFDIR)/libtiff.a ! $(TIFFLIB): ! ( cd $(TIFFDIR) ; make CC='$(CC)' ) ### --- 61,72 ---- ### on your machine, *COMMENT OUT* the following lines ### TIFF = -DDOTIFF ! ###TIFFDIR = tiff ! ###TIFFINC = -I$(TIFFDIR) ! ###TIFFLIB = $(TIFFDIR)/libtiff.a ! TIFFLIB = -ltiff ! ###$(TIFFLIB): ! ### ( cd $(TIFFDIR) ; make CC='$(CC)' ) ###