or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or
via buildlink3.mks
- introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm
in the !modular case
- fix some cases where the check for libX11 couldn't work at all by using
C++ for compilation without including the proper headers
Verified using a full X11_TYPE=xorg bulk build without additional
breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
-----------------------> tgif-4.1.44 => tgif-4.1.45 <-----------------------
1) Fix a bug with the create_arc_obj() internal command. Thanks to
Jack Tucker for pointing out the bug.
2) Fix a bug with measurements in the ruler window when Tgif.ShowMeasure is
active. Thanks to Olin Johnson for pointing out the bug.
3) Fix a bug with "tgif -print -pdf". Thanks to Rob for pointing out the
problem.
4) Fix a bug with copy and paste in cygwin. Thanks to Tobias Naehring for
fixing the bug.
5) Move tgif's web server to a standard web server port (80). The new tgif
home page is now at:
http://bourbon.usc.edu/tgif/
6) Please note that as of 5/16/2006, postings to tgif related groups at
Yahoo!Groups are restricted to members only. This is done to cut down
SPAM. The affected groups are at:
http://groups.yahoo.com/group/tgif4-discusshttp://groups.yahoo.com/group/tgif4-howtohttp://groups.yahoo.com/group/tgif4-bugshttp://groups.yahoo.com/group/tgif4-develop
If you have registered as a member in a group above, you can now only
post via the web interface or by sending an e-mail from your registered
e-mail address. Sorry about this inconvenience. But there have been
just too much SPAM on these lists.
7) Use the X Selections mechanism to perform copy and paste.
8) Add support for linking to an external JPEG file to save file size (under
File->Import). Some editing operations cannot be performed on these
linked JPEG objects. However, these objects do not have the color
limitation of X11 pixmap objects. Therefore, when they are exported in
the PS/EPS formation, they will have a lot more colors.
9) The standard Linux distribution now use Xtoolkit by default (this is done
by including -DUSE_XT_INITIALIZE in the MISCDEFINES line and -lXt in the
SYS_LIBRARIES line of Tgif.tmpl-linux). One advantage of this is that now
it's easy to override X defaults. For example, one can use:
tgif -xrm "Tgif.Foreground: red"
10) Add support for Tgif.PSDistillerNoImageCompress so that images in a
generated PostScript file will \fInot\fR be compressed by a distiller
program such as ps2pdf. Thanks to Dirk Farin for supplying the PostScript
code. Please use Tgif.PSDistillerNoImageCompress with care. It has been
noticed that generated EPS file may not work well with LaTeX.
11) Add support for Tgif.AdditionalPSSetup (and -pssetup commandline option)
so that a user can add additiional user specified PostScript code in the
PostScript file header (right before %%EndSetup).
12) Support a new commandline option "-noshowpageineps" so that the "showpage"
PostScript command is not generated when printing/exporting in the EPS
format when tgif is run with "-print"..
13) Add support for Tgif.PSFontNeedCharSubs and Tgif.PSCharSubs.* so that
some characters in the non-ASCII portion of a non-iso8859-1 font can be
replaced by user specified PostScript characters. Thanks to Peter
Dembinski for the suggestion.
14) Add a new X default, Tgif.DrawTextFuncKey_F#, so that a function key
can be associated with a list of internal commands (and activiated only
in the text drawing mode).
15) Add the following internal commands:
set_selected_text_style(<textstyle>)
objs_bbox_intersect(<obj1_name>,<obj2_name>,<result_attr>)
delete_all_attr_from_selected_objs()
changes:
Fix a bug with imagemap generation.
Replace "eq4.sym" and "eq4-2x.sym". These new LaTeX equation symbols do *not*
use pstoepsi, ps2epsi, etc. It only requires "latex", "dvips", and "gs" to
function.
Add the following new internal commands:
pstoepsi(<target_eps_path>,<src_ps_path>,<scale>)
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
file to use. Also, on Solaris, avoid passing "-a" to xmkmf which will
cause the openwindows makedepend to be called which in turn will fail
as it was compiled with MAXFILES set too low. These changes fix
compilation on Solaris.
added features/bug fixes.
1) Fix <Meta> key problem with Mac OS X (Darwin). The Apple Command Key
is mapped to Mod2Mask by default. This will be treated as the <Meta>
(or <Alt>) key in tgif.
2) Fix a bug with importing an EPS file generated by ps2epsi. Thanks to
Ambrose Li <acli@ada.dhs.org> for the patch.
3) Fix tgif to be able to import an EPS file with an 8 bit-per-sample
preview bitmap (such as the ones generated by ps2epsi).
4) Get tgif to work with out-of-the-box xcin on Red Hat Linux. Thanks to
Ambrose Li <acli@ada.dhs.org> for all the help.
5) Add support a new built-in double-byte input method, tgtwb5, to
support the
input of big5 encoded traditional Chinese characters using a graphical
zhu-yin-fu-hao keypad. This input method is activated by typing
<Cntrl><Space> when a double-byte chinese font is selected.
6) Add chat to tgwb.
7) Support a new commandline option "-sbim xim" to use XIM as the input
method for single-byte fonts. This is useful if the X Keyboard
Extension
is used in inputing international characters (with dead keys).
Thanks to Daniel Sadoc Menasche <sadoc@land.ufrj.br> for the
contribution.
8) Add a new X default, Tgif.IgnoreSlideShowOfffsetsInFile, so that the
slideshow offsets stored in a file can be ignored in the slideshow
mode.
The reason for this is that the offsets mainly depends on the display
and not on the content of the file. The slideshow offsets should
be set
using the Tgif.SlideShowWindowOffset X default.
9) Add a new LaTeX equation symbol file "eq4-lyx-ps2epsi.sym" in the
release
to edit the equation with LyX. Thanks to Ed Gatzke <gatzke@sc.edu>
for the contribution.
10) Update "ru.po". Thanks to Andrew W. Nosenko for the update.
11) Add -D__EMX__ in Tgif.tmpl-cygwin to fix the problem with calling
stat()
on pathnames that begins with "//". Thanks to Dr. Ing. Dieter
Jurzitza
<Dieter.Jurzitza@t-online.de> for pointing out the problem.
12) Add support for importing tgif files with the import_file() internal
command.
13) Add the following new internal commands:
shuffle_obj_to_bottom(<obj_name>)
set_file_unsavable()
Here's a list of added features/bug fixes.
1) Tgif's home has moved from University of Maryland to University of
Southern California.
2) If there's no domain resources specified in the X resource file,
tgif will use the library path specified when tgif is compiled as the
default. This is the directory where the equation symbols are installed.
Thanks to A. Sengupta <osegu@iitk.ac.in> for pointing out the problem.
3) For Red Hat 7.2, /usr/bin/xpmtoppm cannot handle input file whose
format is XPM version 1. Suport for a new compiler option,
-D_XPM3TOPPM, is added so that tgif can generate XPM format version 3 by
default. This is has the same effect as setting Tgif.XPmOutputVersion to 3
and Tgif.UseXPmVersion1ForImageMap to false.
4) Add more information in the tooltip when
Tgif.MeasureTooltipVerbose is set to true.
5) Add a new LaTeX equation symbol file "eq4xpm.sym" in the release.
Instead of generating and embedding an EPS file, this new object
will generate and embed an XPM file with additional controls. Please
open this file with tgif for more details and check out
http://bourbon.usc.edu:8001/tgif/faq/eq4xpm.html.
Thanks to Kai Sattler <kaisat@post.tele.dk> for the contribution.
6) Fix a bug in tgwb when a text object is being edited.
7) Obsolete the Tgif.LandscapePdfSetPageDevice X default (because the
name was misleading) and add support for a new X default,
Tgif.PdfSetPageDevice. As mentioned in the release notes for
tgif-4.1.39, the use of this should
not be necessary in the future (and is considered a bug in
should not be necessary in the future (and is considered a bug in
ps2pdf).
The old commandline option, "-nolandpdfspd" is also obsolete and
is replaced by "-pdfspd=yes" and "-pdfspd=no".
8) Add a new X default, Tgif.NoModeWindow, so that tgif can start
without a mode window.
9) Add a new X default, Tgif.MakeUnsavableInSlideShow, so that the
current file will be made unsavable when slideshow mode is entered. (If
the current file contains auto page numbering objects, the file will
be made
unsavable regardless of the setting of this X default.)
10) Update the Reliable IP-multicast Library (distributed in the
rmcast subdirectory of this distribution). The new version allows
point-to-point connection between 2 whiteboards. Please see the updated
README.tgwb file. Thanks to the team members of the research group lead by
Professor Edmundo de Souze e Silva <edmundo@land.ufrj.br> at the
Federal University of Rio de Janeiro.
Partial list of changes are:
-fixes the bugs addressed by the patches in tgif-4.1.40nb3
-several other bug fixes.
-Fix a bug with "on_resize=" attribute
-Fix a bug with Tgif.DeleteCmdAsCut
-Remove a redundant "a4" string in the generates PS file if A4 paper is requested
-Add horizontal scroll for mouse wheel
-Add a compiler option -D_DONT_REENCODE
-Add ConvertToBezier in the Poly/Polygon submenu of the Edit Menu
-Add a bunch of commands for adding tick marks to a poly/polygon/spline object.
-New Tgif.tmpl-darwin file for Darwin/Mac OS X (with XFree86)
-Update tgwb (the tgif-based whiteboard application) to use a new
Reliable IP-multicast Library
-Add a new X default, Tgif.UseXPmVersion1ForXPmDeck
-Add new X defaults, Tgif.SlideShowWindowOffsets
-Add the following new internal commands:
edit_attr_in_text_mode(<attr_name>)
for a more detailed list refer to the HISTORY file included with tgif.
changes from the authors announcement are:
--- tgif-4.1.40 ----
1) Fix a crashing bug in Specify An Arc when the input is something like
"0.9,-,10,20". Thanks to Adrian Bridgett <adrian.bridgett@iname.com>
and Jano van Hemert <jvhemert@cs.leidenuniv.nl> for pointing out the
problem.
2) Fix a uninitialized variable bug. This causes crashes sometimes when
running tgif with -print -xbm commandline options. Thanks to
Alexander Tenbusch <alexander.tenbusch@masch-bau.uni-magdeburg.de>
for pointing out the problem.
3) Fix a bug with exporting landscape TiffEPSI files. Thanks to Geert Carron
<gca@adc-itcl.ce.philips.com> for pointing out the bug.
4) Fix a bug with displaying text objects when Color Layers are used and
some colors are turned off. Thanks to Johan Vromans
<jvromans@squirrel.nl> for pointing out the bug.
5) Add scroll support for mouse wheel. By default, mouse wheel up is mapped
to Button4 and mouse wheel down is mapped to Button5. A new X default,
Tgif.EnableMouseWheel, is added so that this can be turned off. Some
mouse wheel can generate Button2 events, and this may interfere with
scrolling; therefore, another X default, Tgif.Btn2PopupMainMenu, is added
so that Button2 events will not popup the Main Menu in the canvas window.
Thanks to Juha Takala <juha.takala@vtt.fi> for providing the information.
6) New Tgif.tmpl-cgywin file. Thanks to Simon Moore
<Simon.Moore@cl.cam.ac.uk> for providing it.
7) New Tgif.tmpl-uw7 file. Thanks to Ron Record <rr@sco.com> for providing it.
8) Add a new X default, Tgif.DeleteCmdAsCut so that <Cntrl>x can be used
Cut selected objects. (Pressing the <DEL> key on the keyboard will still
perform a regular Delete in this case.)
--- tgif-4.1.39 ----
1) Add a new X default, Tgif.LandscapePdfSetPageDevice. Currently, when
when exporting landscape PDF files, tgif will use a PostScript
"setpagedevice" command to rotate the generated PostScript file 270 degrees
before calling ps2pdf. This should not be necessary (and is considered a
bug in ps2pdf). In the future, this X default can be used to turn off the
generation of the "setpagedevice" command when ps2pdf can handle landscape
PostScript files correctly. A new commandline option, -nolandpdfspd, to be
used in conjunction with -print is also added for the same purpose. Thanks
to Johan Vromans <JVromans@Squirrel.nl> for the suggestion.
* Fix a bug in Latest Release Info under the Help Menu.
* Fix a bug in handling the Edit Attribute in Editor Context Menu when the
edit_attrs_in_context_menu attribute is used.
* Fix a bug that may cause seg faults when reading tgif files.
* Fix a bug in Print Selected Objects that imported EPS objects are not
exported.
* For a tgif file in landscape mode, generate the correct (rotated) PDF
file.
* Update ja.po.
* Add a README file in the spice subdirectory to include some notes on the
ports and components feature of tgif.
* Add a compiler option -D_PRTGIF_USE_ISO_LATIN_1_ALWAYS to always use ISO
8859-1 character set for single-byte characters when running tgif with
the -print commandline option. Please only use this if you are sure that
you will *never* use other encoding. You can selectively turn off
reencoding by using either the Tgif.DontReencode X default or the
-dontreencode commandline option.
Changes from the previous version from the authors announcement are:
1) Fix a bug with Copy and Paste operations in edit text mode for
mixed text objects when the Edit Text Size is non-zero. Thanks to
Heiko Scheit <Heiko.Scheit@mpi-hd.mpg.de> for pointing out the problem.
2) Propagate certain DSC comments, such as %%DocumentFonts, %%LanguageLevel,
%%Extensions, %%DocumentNeededFonts, and %%DocumentNeedResources, of
imported EPS files when printing/exporting in PS/EPS formats. Please note
that this does not work with embedded EPS files (until the next major
release when a new file format is introduced). Thanks to Johan Vroman
<JVromans@squirrel.nl> for pointing out the problem.
3) Support the use of tempnam() instead of mktemp() due to some security
considerations. On systems that do support tempnam(), the _DONT_USE_MKTEMP
compiler option can be used to use tempnam() instead of mktemp().
Tgif.tmpl-linux (which is identical to the default Tgif.tmpl),
Tgif.tmpl-freebsd, Tgif.tmpl-openbsd, and Tgif.tmpl-netbsd uses
-D_DONT_USE_MKTEMP by default. Thanks to Adrian Bridgett
<adrian.bridgett@iname.com> for pointing out the problem.
4) Add new X defaults: Tgif.TmpDirInHomeDir and Tgif.TmpDir. Together with
the _TMP_DIR_IN_HOME_DIR compiler option, the temporary directory can be
specified in a flexible way.
5) Add Create Thumbnails in the Browse submenu of the Import submenu of the
File Menu. Add new X defaults, Tgif.ThumbnailGeometry,
Tgif.ThumbnailPadding, Tgif.ThumbnailXGap, Tgif.ThumbnailYGap,
Tgif.ThumbnailX, and Tgif.ThumbnailY to control the size and placement of
the thumbnails.
6) Modify CutPoly() so that it can be used to cut polylines/polygons into
segments in select mode.
7) New Tgif.tmpl-sco file. Thanks to Jason Moore <jason.moore@marconi.com>
for providing it.
8) Add Ports and Signals submenu to the Special Menu. Please see the
CONNECTING OBJECTS section of the man pages for details. The symbol files
in the spice directory is updated to use the new port symbol.
9) A new License file is included in this release.
Changes include:
* Fix a crashing bug in drawing linearly transformed arc objects.
* Support the JPEG export format. Add new X defaults, Tgif.XpmToJpeg and
Tgif.JpegFileExtension. The default value them are
"xpmtoppm %s | cjpeg" and "jpg", respectively.
* Add a new X default, Tgif.AutoEPSPreviewBitmap, to enable the automatic
generation of a preview bitmap when importing a PS/EPS file, if the
file does not contain a preview bitmap.
Changes include:
* tons of bug fixes
* support for importing JPEG files
* new X default, Tgif.JpegToXpm, so that the import filter can
be replaced.
* a new X default, Tgif.AutoWrapMenubar
* a new X default, Tgif.NoMinWinSize
* -usexlib commandline option to force tgif to ignore the
-DUSE_XT_INITIALIZE compile option and use Xlib only.
* French locale
* ImageProc context submenu for XPM objects
* Get Property context submenu
* f an object has an attribute called "edit_attrs_in_context_menu=",
* the values (starting from the 2nd line and separated by
linebreaks) of this attribute are treated as attribute names.
The named attributes will be visible in the Edit Attribute In
Editor submenu of the Context Menu.
* Add tooltip support for Show Measurement. Thanks to Raphael
Dechenaux <raph_d@club-internet.fr> for the contribution.
The following new X defaults are supported (with their default
values shown):
Tgif.UseMeasureTooltip: true
Tgif.MeasureTooltipXFollowMouse: true
Tgif.MeasureTooltipYFollowMouse: true
Tgif.MeasureTooltipHorizontalPosition: left
Tgif.MeasureTooltipVerticalPosition: top
There's a bug in tgif-4.1.26 and tgif-4.1.27 with undoing and redoing
delete operation when more than 1 object is involved. This bug is fixed
in tgif-4.1.28.
1) Fix a divide-by-zero bug in creating an arc (of the 2nd kind). Thanks to
Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
for pointing out the problem.
2) Fix a crashing bug in exiting tgif. Thanks to Wolfgang Glunz
<Wolfgang.Glunz@icn.siemens.de> for pointing out the problem.
3) Fix a menuing bug in using tgif with the NetManage PC X Server. Thanks to
Wolfgang Glunz <Wolfgang.Glunz@icn.siemens.de> for pointing out
the problem.
4) Fix a bug in exporting to PDF format. With the previous implementation,
the PDF file may be generated in the wrong directory. The Tgif.PsToPdf
X default now must contain 2 "%s" substrings. The new default value for
it is "ps2pdf %s %s".
5) Fix a bug in exporting to GIF format using Print One File Per Page
when page file names are specified. Thanks to Hal Snyder
<hal@vailsys.com> for pointing out the problem.
6) The current implementation of the whiteboard has a buffer size limitation.
When the buffer size is exceeded, tgif will now print an error message
and cancel the operation that causes the buffer overflow.