Fixes and enhancements in chemtool 1.6.14
- Updated configure script to support ARM64.
- Fixed potential crash during EPS output.
- Fixed detection of openbabel 2.3.x
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
Changelog:
Fixes and enhancements in chemtool 1.6.13
- New export option "ASY" for Asymptote files (http://asymptote.sourceforge.net)
- Added support for Unicode symbol characters inserted e.g. by cut-and-paste from LibreOffice
- Fixed build with newer linkers that do not resolve indirect requirements automatically
- Rewritten logic for choosing to include national language support during build
- Fixed crash on startup due to errors in menu icon setup
- Batch mode could crash due to incomplete initialisation of color arrays
- Undo/redo in "move fragment"-mode did not work as intended
- Default extension is now appended to the save filename as needed
- Fixed exporting to files or directories containing spaces in their names
Changes since previous package:
Chemtool-1.6.12 (June 7, 2009)
This release contains another round of fixes for label positioning
and clipping of bonds around labels. The pen color button has been
replaced by a drop-down menu, and a "white" pen for drawing on
colored backgrounds has been added. Chemtool now automatically
resizes its main window on small (netbook) screens, and it can also
be used in an non-interactive mode to create postscript (etc.) output
from previously created chemtool structure files. The Polish
translation has been updated, and a new Bulgarian translation
has been added.
Chemtool-1.6.11 (August 26, 2007)
This release contains numerous fixes for label positioning and
sub/superscript kerning. Bond length and zoom factor are now
stored with the drawing, bond clipping of multiple bonds was
improved and new special key sequences for circled plus and
minus symbols were added. The configuration dialog now lists
gtklp among the supported print commands. Source layout and
build system were reorganized to make addition of translations
easier, and a Portuguese localization file was added.
Chemtool-1.6.10 (April 8th, 2007)
This release adds PNG export, round brackets, text output in
east-european locales and some new templates. Several bugs
related to special character handling in GTK2, screen display
of labels and exporting to EPS and SVG have been fixed. The
configuration dialog has been redone and now includes support
for kprinter, and the labeling shortcuts no longer interfere
with GTK's menu accelerators.
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries. From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
This release fixes a bug i(crash on startup) that was exposed by gcc 4.
It also adds detection of the recently released OpenBabel 2.0 and the ability
to use Openbabel for exporting to foreign file formats. Subscript encoding in
the SVG export was tweaked again to work around current limitations in the SVG
support of Firefox 1.5 and Konqueror 3.x.
- Fixed several serious bugs related to label rendering and printing
that occured when chemtool was built with GTK 2 instead of GTK 1.2
(see ChangeLog for details)
- SVG export now adds a namespace header as required by current builds
of the firefox browser
- SVG export now uses color values instead of color names for better
SVGT compatibility
- The separation between the lines of multiple bonds is configurable
- The keys of the numeric keypad now create two dots instead of a line
for free electron pairs when the Shift key is pressed
- Two new bond types for drawing filled and unfilled p orbital lobes
- chemtool now checks for fig2sxd (sourceforge.net) and offers to export
to OpenOffice Draw format when it is present.
- rpm packages did not install the dutch locale file.
Chnges 1.6.6:
- Fixed bug in molfile preview that caused an immediate crash in 1.6.5
- Made drawing of wiggly bonds work again
Several changes are involved since they are all interrelated. These
changes affect about 1000 files.
The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files. Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred. This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.
The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.
The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc. The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.
The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files. Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories. These files are used as input
to imake since imake can't use stdin for that purpose.
The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead. This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed. Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries. Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
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.
New features in chemtool 1.6
- universal import mode based on BABEL (both openbabel and babel supported)
- Formula weight calculator now handles all main group elements and the first
row of transition elements, and accepts greek phi as phenyl substituent.
- Movable hexagonal or square grid backdrop
- Improved SVG export, optional preview bitmaps in EPS export, optional EMF
export
- Cursor key support for pixel-precise drawing and moving
- The cleanup function now corrects bonds that deviate from ideal
horizontal or vertical orientation by a single pixel
- Color support (bonds and text can be red,green,blue,cyan,magenta or yellow).
- Default bond length now configurable, additional grid positions at two and
three times this length added
- Added a brief help text to accompany the 'About' window in the 'Help' menu.
- Added alternate text font (Times Roman)
- An attachment site can be marked before saving a molecule or fragment,
which act as reference point for adding this fragment to other molecules
(previously, this had to be the first atom in a file). Attachment sites are
marked in the preview window by a small x.
- Background color can now be chosen for screen display and EPS export, and
drawing whiteout boxes under labels is now an option ( off by default !).
- Text at 8,10,12,14,17,20 and 24pt can now coexist in a drawing.
- Increased allowed label length to 100.
- Improved rendering of dashed wedge and dotted lines
- Improved text kerning in xfig-based print and export.
- It is now possible to place an auto-incrementing counter at the cursor
position for numbering sites.
- Changed double bond drawing code to no longer switch sides depending
on drawing (or rotation) angle. (As a result of this, some older drawings
will need fixing)
- Rescaling a molecule now also scales its labels. Downscaling beyond
zero size (causing strange inversions) is no longer possible.
- Renamed the "Orbitals" template menu to "Symbols" and added "plus",
"minus" and a rearrangement arrow to it.
- Added two new bond types, a triple bond with all three lines equal,
and a quadruple bond.