Commit graph

35 commits

Author SHA1 Message Date
rh
33b93d06cc Add patch provided by Masao Uebayashi that allows using xfig to be used
with non-3d versions of Xaw.
Bring back XAW_TYPE detection and Imakefile modification.
2003-01-15 07:11:43 +00:00
rh
b38ec85b69 Unconditionally depend on Xaw3d since patching the Imakefile no longer
suffices to work with other versions.  Closes PR pkg/19845.
2003-01-14 06:37:07 +00:00
rh
2c821434df Update xfig to 3.2.4. Provided in PR pkg/19660 by Jim Bernard
<jbernard@mines.edu>.  Changes include tons of bugfixes plus the following
new features:

	o "Front" and "Back" labels in depth manager to show relative
	  positioning of depths on drawing.
	o The mu (micro) character is now entered using "Compose | u"
          instead of "Compose / u"
	o If you wish to place a library object at the position it was
	  originally created, e.g. for laser printer labels, hold down the
          Shift key and press mouse button 3 (`place at orign posn')
	o New URL for chemtool, a chemical structure editor:
	  http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool.html
	o The minimum and maximum depth of objects are shown in the edit
          panel for compound objects
	o EMF (Enhanced Metafile) export driver (TransFig/fig2dev)
	o SVG (Scalable Vector Graphics) beta driver
	o The xfig documentation is nearly entirely GIF-free (TM).
	o Xfig reference manual now available in PDF besides html.
	o Dimension lines
	o New Xfig logo courtesy of Marc-Aurele Darche.
	o Can now paste text in text mode using Shift+Middle-mouse-button
          in addition to F20 and Sun's Paste key (F18).
	o If xfig is compiled with #define WHEELMOUSE uncommented in the
	  Imakefile, the wheel may be used for several things
	o New grid/positioning option for inches mode
	o Background (-g to fig2dev) option for tk export honored now.
	o New command-line argument -correct_font_size
	o Added "Stop" button to stop loading library.
	o Much more efficient when copying large imported pictures
	o When changing an attribute of an imported picture that doesn't
          change the picture itself (e.g. depth), the pixmap is not
          regenerated, therefore saving time.  The same is true when
          copying a picture.
	o New X resource Fig.ghostscript and command-line argument
          -ghostscript by which you can tell xfig what your ghostscript
          is called (e.g. "gs" or "gswin32").
	o Can now add ASCII (EPSI) preview to EPS export. See export panel.
	o Can now add monochrome or color TIFF preview to EPS export.
	o Translations of LATEX.AND.XFIG document into two popular Chinese
	  encodings (GB2312 and Big5).
	o When text becomes too small to see (e.g. small zoom), xfig will
	  "Greek" it, meaning it draws a gray line segment for each word
          in the string.
	o When resizing canvas to a smaller height, the number of buttons
          per row of the mode (side) panel increases so that it doesn't
          protrude into the indicator (bottom) panel
	o Smarter redraw when turning on depths from the depth manager.
	o If the user's pointer (mouse) buttons are switched
	  xfig will automatically flip the mouse hints messages.
	o Picture objects are drawn as filled gray boxes when their layer
          is inactive in gray mode.
	o xfig no longer requires fonts that are named "-adobe-..."
	o Updating the attribute panel from a compound object will retrieve
	  (only) the smallest depth from the compound.
	o When scaling an object, the line thickness is no longer scaled
          with it
	o New measuring modes: angle, length, area and tangent.
	o New feature to add tangents and normal lines to curves.
	o Splash screen on startup.
	o New command-line option -grid_color
	o New option to print grid when exporting or printing
	o When drawing an arc by specifying the center point, a circle is
          drawn showing the radius of the arc as the user drags the mouse,
          then when the first end point is clicked an arc is drawn as the
          mouse is dragged.
	o If the Ruler unit is Imperial (in), you may have xfig display
	  measurements using fractions where possible.
	o When opening a compound object, if the middle button us used to
          open the compound, all other objects on the canvas are kept
          visible.
	o When opening a compound object, the "point positioning"
          indicator is enabled, allowing you to set the bounds of the
          compound according to the indicator when you close the compound.
	o Zero-crossing lines on canvas have own command-line parameter
	o Smooth factor when exporting to bitmap format is now a pull-down
          menu with: No smoothing, Some smoothing, More smoothing.
	o Three-D borders for buttons, etc reduced from 2 to 1 pixel
	o Additional JPEG file format (EXIF) added for import.
	o Validation for integer spinners
	o When scaling an object, the scale factor is shown in the message.
	o New url for pstoedit (mentioned in installation.html).
	o When picking points of an object at high zoom, the tolerance has
          been reduced to make it easier to pick the correct point.
	o When "graying" inactive depths, the inactive objects are drawn
          first followed by active objects ensuring visibility of active
          objects.
	o xfig now draws "grayed out" picture objects (inactive depth) as
          a gray box with the filename only.
	o Line style in edit panel now shows graphic of style instead of
	  textual description.
	o Cap style in edit panel was inadvertantly left off open-splines.
	o Popup dialog to edit behavior of spline point now pops up near
          the point being edited.
	o When cancelling drawing a picture object from the popup editor,
          the empty object is removed rather than showing a <empty>
	o Pressing Return or Escape in popup message window will dismiss it
	o In picture browser popup, double clicking or clicking and
          pressing Return will apply the selected picture AND close the
          browser.
	o New popup query if updating the depth in a compound object would
	  result in any depth exceeding the maximum.
	o More consistent placement of Cancel/Ok/Set etc. buttons
	o More meaningful message "Cut buffer is empty"
	o New MetaPost driver for TransFig 3.2.4 supported.
	o New option for binary CGM export (must have TransFig 3.2.4 too).
	o Pressing escape in a popup dialog will dismiss it.
	o Zoom/Unzoom (Shift-Z/z) changes zoom by a factor of 1.5
	o Exporting to JPEG doesn't require compiling with USE_JPEG
	o Minimum and maximum depths of objects in a compound are
          displayed in popup edit panel.
	o Named styles where user can save attributes that are often used
          for quick access.

NEW LIBRARIES and Examples:

	o Poster advertizing German version of "Little Shop of Horrors" in
	  Libraries/Examples/poster.fig.  From Kai-Martin Knaak
	o Three new Examples from Carlo Kopp
	o Many new country flags in the Libraries/Flags directory.
	o New flags of Bosnia and Slovenia with vector coat of arms in
	  Libraries/Flags directory from Roman Maurer
	o New maps of Yugoslavia, Macedonia, Croatia, Bosnia-Herzegovina
          and Slovenia (Libraries/Maps/Europe)
	o New maps of Russia, Kazakstan, Kyrgyzstan, Tajikistan,
          Turkmenistan and Uzbekistan (Libraries/Maps/Asia)
	o New Avery label templates in Libraries/Labels directory,
          including a CD label, Avery_5931, done by William Chimiak.
	o New Avery and PerfectData Corp CD label templates in
          Libraries/Labels directory, done by Len Hickey.
	o New computers and printers in Libraries/Computers library
	o New network library devices
	o New DSP component library from Jakub Stastny (stastnj1@volny.cz)
	o Standard welding bevels library from Erik Engh
	o Canadian map from Seymour Green
	o A Uno hand (card game) drawn by Roland Rosendfeld
2003-01-07 06:30:34 +00:00
jlam
16636c3cf2 buildlink1 -> buildlink2 2002-10-08 13:24:22 +00:00
fredb
b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00
jlam
a17239c066 Move per-package default XAW_TYPE setting above the inclusion of
bsd.prefs.mk so that it is actually used.  Where possible, include
xaw.buildlink.mk instead of setting USE_XAW, and use LIBXAW where needed.
2001-08-23 04:26:51 +00:00
jlam
64cf4e53dd Move XAW_TYPE?=3d setting to before inclusion of bsd.prefs.mk, otherwise
we always use XAW_TYPE=standard as set in bsd.prefs.mk.  Pointed out by
Mark Davies <mark@mcs.vuw.ac.nz> in private email.
2001-08-20 04:17:43 +00:00
tron
57e7d81256 Include "png" buildling glue code to fix build problem. 2001-08-09 15:39:04 +00:00
wiz
ed7bab20f1 Update to 3.2.3d, provided by Jim Bernard in pkg/13325.
Extract of changes since 3.2.3:
o Lots of new libraries (UML objects, knitting symbols, network
  devices, Chen's model of Entity Relations, widgets, aircraft, maps,
  chemical process flowshooets, PMOS&NMOS FET, and others)
o Object library now shows icons of all objects. The size of the icons
  is selectable from 40 pixels to 120 via a pulldown menu and resource
  (Fig.library_icon_size). The the old "list" view is also available.
o Simplistic super/subscripting by typing Ctrl-^ for superscript and
  Ctrl-_ for subscript.  It creates a new string in the proper size
  and position for super- or subscripting.  May be nested.  Does NOT
  work for centered or right-justified text.
o New export shortcut Shift-Alt-x or Shift-Meta-x to export using
  current settings without popping up the panel
o New print shortcut Shift-Alt-p or Shift-Meta-p to print using current
  settings without popping up the panel
o Support for importing PNG image files added
o GIF transparency for imported images honored by fig2dev now
o New option to print only active layers when exporting or printing (see
  printing/exporting section in html docs).
o When loading a compressed Fig file that is either read-only, or is on
  a read-only file system (e.g. a CDROM), xfig uncompresses it into the
  temp directory (env TMPDIR, or /tmp if TMPDIR environvment variable is
  undefined).
o xfig recalculates the bounds of compound objects read in from the file,
  ignoring the bounds values in the file.  This makes it easier for Fig
  file generators to produce compound objects since they don't have to
  know how to calculate the bounds themselves. fig2dev doesn't even use
  those values but recalculates them upon reading the file.
o Increased maximum number of libraries to 100
as well as countless bug fixes (see CHANGES file in distribution).
2001-08-09 14:34:56 +00:00
tron
547a4d0d5f Use wildcard dependence on "transfig" package. 2001-08-07 11:58:41 +00:00
wiz
a2a4d06c6f Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 15:22:13 +00:00
tron
f0b9164cf1 Use "USE_XPM" option instead of direct dependence on the "xpm" package. 2000-08-23 23:14:21 +00:00
jlam
aafdc56fb8 The Xaw3d package wasn't being used. Make it work. 2000-07-27 14:01:00 +00:00
itohy
865d09f18b Use ${PREFIX} instead of ${X11BASE} for documents and examples, a la PR #9933. 2000-06-23 00:22:34 +00:00
itohy
9f1a1107ab Update to 3.2.3a.
Enable I18N.
Make Xaw3d optional.
2000-06-22 08:18:05 +00:00
rh
3bcc10bff1 Add missing '/' to MASTER_SITEs 1999-11-22 22:20:08 +00:00
agc
86aced3a9d Introduce a USE_XAW definition, which is used in package Makefiles, to
denote that the package uses libXaw.

Introduce an XAW_TYPE definition, which is defined in /etc/mk.conf by
the user, to denote the type of libXaw to use. Possible values are:
standard, 3d and xpm.

Define USE_XAW in relevant Makefiles.

Set default XAW_TYPE in Makefiles which previously did a DEPENDS+= Xaw3d...

This means that package builds should not fail because of conflicting
Xaw packages being installed on machines.
1999-08-25 13:37:34 +00:00
tron
23e0063766 Completely replace "MASTER_SITE_SUBDIR" and "PATCH_SITE_SUBDIR" with
variable substituition of "MASTER_SITES" and "PATCH_SITES".
1999-04-15 20:39:38 +00:00
hubertf
2a95ad9c6b Fix CONFLICTS (remove redundancy, mostly) 1999-02-20 22:48:24 +00:00
agc
a19a351795 Correct the primary category field for this package. 1998-10-15 19:51:07 +00:00
garbled
a8877eabd7 Fix some more of my MAINTAINER email addresses that pointed to the
old address.
1998-09-13 19:35:05 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
mycroft
c73ee53134 Update xpm to 3.4k. 1998-07-04 09:18:54 +00:00
mycroft
40060a6677 Update Xaw3d to 1.5. 1998-07-04 05:53:33 +00:00
mycroft
0167d80629 Update libjpeg to v6b. 1998-07-04 05:11:12 +00:00
frueauf
be0b4abae3 Update to xfig-3.2.2. 1998-07-03 14:26:32 +00:00
agc
5aa5bdafe4 Update package Makefiles for automatic manual page handling. 1998-06-22 12:32:17 +00:00
frueauf
6630abd153 Add missing CAT1=xfig.0. 1998-05-19 07:48:45 +00:00
agc
6e7b5cf644 Move to relative paths in the pkgsrc tree. 1998-04-24 09:20:33 +00:00
agc
1f4495b33e Remove the old deprecated DEPENDS definition from bsd.pkg.mk.
Implement a new DEPENDS definition, which looks for an installed
package, building it if not present, and use it in preference to
LIB_DEPENDS.  This should make the package collection more useful on
NetBSD ELF ports.
1998-04-22 14:22:39 +00:00
agc
258b808c9f Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
1998-04-15 10:38:15 +00:00
frueauf
f6508ac8ce portlint: use of backslashes in LIB_DEPENDS is deprecated. 1998-03-10 14:04:55 +00:00
hubertf
0773669df4 DETCH_DEPENDS -> RUN_DEPENDS 1998-02-11 07:21:19 +00:00
hubertf
7e0c391c2b transfig is in print, not graphics 1998-02-09 10:12:56 +00:00
hubertf
926b90dcd8 Via PR 4823 by garbled@garbled.futureone.com 1998-02-08 23:00:37 +00:00