Skip site navigation (1)Skip section navigation (2)
Date:      29 Nov 1999 14:12:09 +0100
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        Julian Elischer <julian@whistle.com>
Cc:        ports@freebsd.org
Subject:   Re: Threads diagrams
Message-ID:  <xzpaenx30ie.fsf@flood.ping.uio.no>
In-Reply-To: Julian Elischer's message of "Fri, 26 Nov 1999 14:47:13 -0800 (PST)"
References:  <Pine.BSF.4.10.9911261445120.544-100000@current1.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer <julian@whistle.com> writes:
> (gee I find xfig unintuitive..

xfig is fine once you get used to it, but the port maintainer has for
some unknown reason chosen to optimize the port for very small
displays. Attached is a replacement for graphics/xfig/patches/patch-aa
which should make xfig more usable on real-world displays; I've
removed the hunk that selected scaled-down toolbar icons instead of
the default large ones, and added defines which allow the horizontal
and vertical rulers to grow to 1600 and 1200 pixels, respectively.

BTW, our xfig port is still at version 3.2 patchlevel 2. The newest
version is 3.2 patchlevel 2c, though it doesn't seem to be available
from the usual MASTER_SITE_XCONTRIB sites.

DES
-- 
Dag-Erling Smorgrav - des@flood.ping.uio.no

--- Imakefile.orig	Thu Jul  2 19:37:09 1998
+++ Imakefile	Mon Aug  2 10:27:43 1999
@@ -54,7 +54,7 @@
 XCOMM Uncomment the following definition for XAWLIB if you want to use
 XCOMM the 3d Athena Widget Set (highly recommended!)
 
-XCOMM XAWLIB = -lXaw3d
+XAWLIB = -lXaw3d
 
 XCOMM Uncomment the following if needed for DECstations running older X11R4
 XCOMM INCROOT=/usr/include/mit
@@ -70,12 +70,12 @@
 XCOMM Change XPMLIBS if necessary to point to the xpm library (libXpm)
 XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
 
-XCOMM #define USEXPM
-XCOMM #define USEXPM_ICON
+#define USEXPM
+#define USEXPM_ICON
 
 #ifdef USEXPM
 XPMLIBDIR = $(USRLIBDIR)
-XPMINC = -I$(INCDIR)
+XPMINC = -I$(INCDIR)/X11 -I$(INCDIR)
 XPMLIBS = -L$(XPMLIBDIR) -lXpm
 #endif
 
@@ -101,7 +101,7 @@
 XCOMM inline functions. With the "INLINE" keyword, you should notice that
 XCOMM the display will be a bit faster in complex figures
 
-XCOMM USEINLINE = -DUSE_INLINE
+USEINLINE = -DUSE_INLINE
 
 XCOMM use (and change) the following if you want the multi-key data base file
 XCOMM somewhere other than the standard X11 library directory
@@ -169,7 +169,7 @@
 
 #ifdef USEJPEG
 #ifdef USEINSTALLEDJPEG
-JPEGINCDIR = -I/usr/include/X11
+JPEGINCDIR = -I/usr/local/include
 JPEGLIB = -L$(JPEGLIBDIR) -ljpeg
 #else
 JPEGCONF = configure
@@ -226,7 +226,8 @@
 #endif
 #endif
 
-DEFINES =             $(STRDEFINES) -DGSBIT $(USEINLINE) $(DUSEXPM) \
+DEFINES =             $(STRDEFINES) $(USEINLINE) $(DUSEXPM) \
+			-DMAX_TOPRULER_WD=1600 -DMAX_SIDERULER_HT=1200 \
 			$(DUSEXPMICON) $(DUSEGIF) $(DUSEJPEG) $(I18N_DEFS)
 
 XFIGSRC =	d_arc.c d_arcbox.c d_box.c d_ellipse.c d_picobj.c \


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpaenx30ie.fsf>