From f7e80325c69c7b92c9a00ee589d4f2fd8057d3ed Mon Sep 17 00:00:00 2001 From: Joseph Koshy Date: Mon, 26 Mar 2001 06:11:19 +0000 Subject: 1. Fix man page installation error; this port installs to MANN not MAN1 2. Fix buglet in clipping zoomed images. PR: ports/26075 Submitted by: Yoshihiko Sarumaru 3. Enable handling Gzip'ped images. 4. Better default image path. PORTREVISION incremented to `1'. --- graphics/xli/files/patch-aa | 26 ++++++++++++++++++++++---- graphics/xli/files/patch-ab | 13 +++++++++++++ 2 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 graphics/xli/files/patch-ab (limited to 'graphics/xli/files') diff --git a/graphics/xli/files/patch-aa b/graphics/xli/files/patch-aa index ef60087f53fa..2ea0ca5ec1dc 100644 --- a/graphics/xli/files/patch-aa +++ b/graphics/xli/files/patch-aa @@ -1,13 +1,31 @@ ---- Imakefile-- Wed Feb 9 09:23:32 2000 -+++ Imakefile Thu Apr 13 00:59:16 2000 +--- Imakefile-- Mon Mar 26 11:31:28 2001 ++++ Imakefile Mon Mar 26 11:32:04 2001 @@ -12,8 +12,8 @@ CCOPTIONS = -Aa -D_HPUX_SOURCE #endif -JPEG_INCLUDES = -JPEG_LDFLAGS = -+JPEG_INCLUDES = -I%%LOCALBASE%%/include -+JPEG_LDFLAGS = -L%%LOCALBASE%%/lib ++JPEG_INCLUDES = -I/usr/local/include ++JPEG_LDFLAGS = -L/usr/local/lib PNG_INCLUDES = PNG_LDFLAGS = +@@ -22,7 +22,7 @@ + DEPLIBS = $(DEPXLIB) + LOCAL_LIBRARIES = $(XLIB) $(JPEG_LDFLAGS) $(PNG_LDFLAGS) -ljpeg -lpng -lz + SYS_LIBRARIES = -lm +-DEFINES = -DHAS_MEMCPY ++DEFINES = -DHAS_MEMCPY -DHAVE_GUNZIP + EXTRA_INCLUDES = $(JPEG_INCLUDES) $(PNG_INCLUDES) + + SRCS1 = bright.c clip.c cmuwmrast.c compress.c dither.c faces.c fbm.c fill.c g3.c gif.c halftone.c imagetypes.c img.c mac.c mcidas.c mc_tables.c merge.c misc.c new.c options.c path.c pbm.c pcx.c reduce.c jpeg.c rle.c rlelib.c root.c rotate.c send.c smooth.c sunraster.c value.c window.c xbitmap.c xli.c xpixmap.c xwd.c zio.c zoom.c ddxli.c tga.c bmp.c pcd.c png.c +@@ -47,7 +47,7 @@ + @echo "*** it for your site. See the xloadimage manual page for" + @echo "*** details on the contents of this file." + cp /dev/null $(SYSPATHFILE) +- echo "path=$(INCDIR)/bitmaps $(INCDIR)/images" \ ++ echo "path=$(INCDIR)/X11/bitmaps $(INCDIR)/X11/pixmaps" \ + >> $(SYSPATHFILE) + echo "extension=.gif .jpg .rle .csun .msun .sun .face .xbm .bm" \ + >>$(SYSPATHFILE) diff --git a/graphics/xli/files/patch-ab b/graphics/xli/files/patch-ab new file mode 100644 index 000000000000..20a416e7bbeb --- /dev/null +++ b/graphics/xli/files/patch-ab @@ -0,0 +1,13 @@ +--- xli.c.orig Wed Feb 9 14:53:35 2000 ++++ xli.c Mon Mar 26 10:37:35 2001 +@@ -369,8 +369,8 @@ + winheight = globals.dinfo.height; + + if (!images[0].ats) { +- atx = (winwidth - inew->width) / 2; +- aty = (winheight - inew->height) / 2; ++ atx = (int)(winwidth - inew->width) / 2; ++ aty = (int)(winheight - inew->height) / 2; + } + /* use clip to put border around image */ + itmp = clip(inew, -atx, -aty, winwidth, winheight, -- cgit v1.2.3