file's sole purpose was to provide a dependency on pkg-config and set
some environment variables. Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.
For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
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.
Reason: drop a build time option.
While here, split the Makefile in two parts to allow the addition
of the upcoming dia-python package, which will provide the missing
bits.
binary will be the same (all options turned on by default), currently
there are two options: python gnome.
If you want to disable them, use PKG_OPTIONS.dia=-python -gnome
dia-0.94: 17-Aug-2004
Nothing new happened since last prerelease, releasing.
dia-0.94-pre6: 7-Aug-2004
Fixed crash bug in save as, as well as string sorting issue and crash bug
in UML class and group unhighlighting bug.
dia-0.94-pre5: 2-Aug-2004
Finally fixed memory leak from layout cache.
dia-0.94-pre4: 1-Aug-2004
Important fix for export filters. Still some leaking from layout cache,
but not as awful.
dia-0.94-pre3: 25-Jul-2004
Fixing a number of png issues and a few bugs.
dia-0.94-pre2: 17-Jul-2004
Second prerelease of version 0.94. Bunch of small fixes, but together
important enough to make a new prerelease.
dia-0.94-pre1: 04-Jul-2004
First prerelease of version 0.94. News in this version:
* Highlighting of objects when connecting to them makes it easier to
connect.
* New shape sets include:
- RDP (Petri Networks shapes)
- KAOS (Goal-Directed Requirements Acquisition)
- I* (Intentional STrategic Actor Relationships modelling)
- Jackson (Jackson Diagrams)
- ChemEng (chemical engineering)
* Hexagonal grid, for all you chemists out there.
* Allow selection between layers, selectable in layers dialog.
* Disparate persistence systems replaced by one combined system using XML,
leaves unknown preferences alone.
* New renderer plug-in for Cairo rendering API.
* New renderer plug-in for WMF outside of Windows.
* New arrow head: Backslash.
* Rounded corners on zigzaglines and polylines.
* Automaticall open new diagram if now chosen at start.
* Diagram modified status now based on undo information.
* Wrapping operations arguments in UML objects.
* Better positioning of association texts.
* More persistence of toolbox selections and dialog entries.
* Better handling of dialogs when parent dialogs close.
* Changed from SGML to XML for docs, still DocBook.
* Fix shape background color compatibility problem.
* Many smaller bug fixes, leaks closed and stuff.
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.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:
lib/libfoo.a
lib/libfoo.la
lib/libfoo.so
lib/libfoo.so.0
lib/libfoo.so.0.1
one simply needs:
lib/libfoo.la
and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.
Also make LIBTOOLIZE_PLIST default to "yes".
many changes / fixes (see NEWS for details)
including:
* Autorouting of orthconn lines. Still fairly primitive, doesn't avoid
objects, but at least goes the right way out of connectionpoints (when
connectionpoints have their dirs set).
* Parenting. Objects can now be set to be parents of others (so far, only
the UML Large Package is set so by default). Objects created into these
or explicitly added are moved with the parent and cannot be moved
outside.
* Dynamic grid that changes with zoom scale.
* Grid now has thicker line every n lines (default 5). Stippled grid
option removed.
* Mouse wheel(s) can be used to scroll and zoom.
* More diagram properties can be set for existing diagrams, and are loaded
and saved.
* UML Component features: Event sources and sinks.
* Improved undo of grouping and ungrouping.
* Updates of the Python plugin:
- groups, rgb, and images can be manipulated
- better svg parsing
* Gnome and Gnome HIG conformance better.
* Better text alignment in flowchart objects.
* Better SVG export.
* Better arrow head calculations.
* More tooltips.
This also fixes a gcc3 build problem.
ok'ed by wiz@
Note: dia may crash if LC_CTYPE is unset. Setting it to
"en_US.ISO8859-1" works for me)
* in FreeType mode, dia now looks for the xfs configuration files too
to retrieve the font path.
* Polish version of the manual added
* a load-time compatibility issue with files produced by 0.88.1 was
found and fixed for some UML objects.
* we now better use the intltool facilities
* increased tolerance to broken XML files
* ER objects can have their text size changed
* a couple bugs (i18n, l10n, p9y) fixed
* from now on, all XML files produced by dia will be encoded as UTF-8.
* Metapost renderer
* Faster Postscript files.
* More options in the UML Class dialog.
* An optional menu bar can be added to each display window, in
addition to the popup menu.
* All RenderObjects have been replaced by equivalent shapes, and
RenderObject support code removed.
* All Lazyprop objects have been converted to Standard Properties
instead. Lazyprop support code removed.
* lots of internal changes and cleanups in the StdProp code. This
breaks binary compatibility.
* Shapes can now have a <svg:text> element.
* polybeziers and beziergons now have their bounding box properly computed.
* a few new shapes have been added.
* crashes in the right-click menu have been nailed.
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".]
* Input method support should work correctly now.
* SVG shape files now use namespace from final W3C recommendation.
Addon shapes will have to be modified to use the
http://www.w3.org/2000/SVG namespace for SVG. SVG export filter
also uses correct doctype.
* menus should now work in both gtk+ and gnome builds and have no i18n
related problems. Don't look in app/menus.c.
* pstricks renderer output should now work fine without modification now.
* gdk-pixbuf is now a requirement for building dia. It no longer
falls back to imlib if it can't find gdk-pixbuf.
* handle "file not found" errors better in the image object type.
* Dia now has documentation thanks to the GDP. The help menu now has
more than just an about menu item.
* Antialiased drawing mode probably won't crash dia anymore
* Dia has a splash screen now (which can be turned off with the
--nosplash option).
* Updated bonobo support (when --enable-bonobo is used)
* added expose event compression for the dia canvas, which makes dia
more usable over remote X connections.
* Many objects updated to use properties interface.
* experimental unicode print support (--enable-unicode)
* updates to the python plugin and now distribute it with dia (--with-python)
* many new shapes and export filter plugins.
* other bug fixes.