Commit graph

29 commits

Author SHA1 Message Date
gutteridge
b45313dc82 dia: apply an upstream security fix
Fix endless loop on filenames with invalid encoding (CVE-2019-19451).
2021-01-16 00:25:33 +00:00
rillig
16ef7aed36 graphics/dia: fix hard-coded /usr/pkg
Detected by both pkglint and SUBST_NOOP_OK=no.
2020-05-01 20:19:23 +00:00
gutteridge
a6af57baf3 dia: note new bug report URL in a patch (NFC)
Update bug report URL to the migrated site; the old version of the bug
has been closed upstream.
2019-03-23 18:12:32 +00:00
wiz
23ea0ae13a Update dia to 0.97.3, provided by David H. Gutteridge in PR 49954.
dia-0.97.3: 2014-09-05

 * Fix double free with some SVG rendering (regression from Dia 0.97.2)
 * Fixes to cope better with updated versions of Dia's dependencies:
   - don't crash at start-up with ABI breaking GLib 2-36
   - don't assert in cairo 1.12 with invalid arc parameters
   - avoid kerning problems (character overlap) for all Pango versions
   - fix image files to be loadable by libpng16
 * Backport fixes for some seldom crashes and other annoyances, see:
   http://bugzilla.gnome.org/buglist.cgi?product=dia&target_milestone=0.97.3
 * Update translations for Brazilian Portuguese, German, Hungarian,
   Polish, Romanian, Serbian and Slovenian
2015-06-09 08:55:22 +00:00
asau
85d82584f6 <sys/types.h> is needed to define clockid_t in <glib/gstdio.h> on FreeBSD 10. 2014-04-15 20:34:36 +00:00
spz
cbac10222a build fix following the freetype2 update 2014-03-23 09:07:15 +00:00
prlw1
f20556b9d6 Fix dia crash on start reported by Jan Danielsson in
http://mail-index.netbsd.org/pkgsrc-users/2013/07/12/msg018329.html
using fix from https://bugzilla.gnome.org/show_bug.cgi?id=694025
commited to dia git-head.
2013-07-16 12:11:29 +00:00
dholland
61ba858ea6 More build fixes for new glib2. 2012-05-07 00:46:25 +00:00
dholland
63a78dfbe7 Build fix for latest glib2. 2012-05-06 20:25:02 +00:00
drochner
78a629db9b update to 0.97.2
changes:
-bugfixes
-translation updates
-more colors for SADT
2012-01-18 18:36:51 +00:00
tnn
ce4c3c4b00 png-1.5 build fix 2011-01-16 17:03:06 +00:00
drochner
ae36a2706a update to 0.97.1
changes: misc bugfixes
2010-01-27 19:38:51 +00:00
drochner
03f47e76fe update to 0.97
changes:
-High quality cross-platform print and pdf output by use of cairo
-Rotated text, but only with the new "Standard - Ouline" object
-Object properties dialog finally does handle multiple objects
-Improved text edit mode for consistent handling of the Delete key
-A new integrated user interface mode with diagrams in tabs
-Almost 200 bugs and feature requests resolved

pkgsrc note: the printing problem mentioned in TODO is resolved
 (some outdated nonsense in options.mk disabled use of "cairo")
2009-12-09 10:22:04 +00:00
rillig
737de34270 Second try, this time with testing whether the fix works. 2007-11-17 14:14:01 +00:00
rillig
bea05be913 Fixed an empty "for" loop for Solaris' ksh. 2007-11-17 14:08:35 +00:00
drochner
497989ea5b update to 0.96.1
changes:
* Text rendering is now based on the TextLine objects, each of which
  contain one line of text along with font and font height.  This has
  allowed proper control of text width and speedier rendering.
* Visio VXD files can now be imported and exported, thanks to Ian
  Redfern.
-internal API changes
* A number of new keyboard shortcuts.
* Layer visibility is now undoable.
* New sheets for Business Process Modelling
-bugfixes
2007-04-19 20:14:58 +00:00
rillig
a28c1c2518 Fixed "test ==". 2006-10-10 19:43:32 +00:00
drochner
fdf9bcb767 fix help file installation in the !gnome case, problem found by
Lubomir Sedlacik
(no PKGREVISION bump because the default case is not affected)
Help display seems fundamentally broken to me in the !gnome case;
the code looks for an "index.html" which is not installed (and which
no make rule is present for).
2006-06-11 16:55:35 +00:00
drochner
98f401acd8 update to 0.95
changes:
-"mainpoint" system allows lines to always point towards the middle
-Python plug-ins added
-automatically change grid size depending on zoom level
-Text input now highlights the object
-security problems fixed in XFig import and Python plug-in
-new shapes added
-new UML objects added
-Full screen mode
-Improved SVG import
-Plug-in loading and unloading doesn't require restart
-i18n problems fixed
-bugs have been fixed
-Command line usage has improved
-ses the new GTK+ File Dialog

pkgsrc change:
-precompile Python files
2006-05-02 16:23:30 +00:00
salo
2a654f617f Security fix for CVE-2006-1550:
"Multiple buffer overflows in the xfig import code (xfig-import.c) in Dia 0.87
 and later before 0.95-pre6 allow user-complicit attackers to have an unknown
 impact via a crafted xfig file, possibly involving an invalid (1) color index,
 (2) number of points, or (3) depth."

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1550
http://mail.gnome.org/archives/dia-list/2006-March/msg00149.html

Fix from Dia CVS.
2006-04-04 14:52:15 +00:00
minskim
89872a35e4 Do not declare a static function as non-static. This makes the package
build with gcc-4.
2006-02-24 02:52:22 +00:00
drochner
bd20fa0c37 update to 0.93
changes:
-faster text rendering
-minor feature additions
-bugfixes
2004-05-06 10:21:47 +00:00
recht
f167609795 update to 0.92.2
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@
2003-12-02 22:32:48 +00:00
mycroft
ac5f504f17 Trivial fix for GCC3. 2003-09-30 09:36:27 +00:00
drochner
a4191d7e19 update to 0.91, provided by Marc Recht per PR pkg/20750
Most notable changes:
-uses gtk2 now
-Python support
-cleanups, UI improvements, fixes...
2003-05-09 15:21:29 +00:00
jmcneill
8dfae664e5 Fix warning message so we display the current charset properly. 2002-12-30 20:26:08 +00:00
jmcneill
90d9e209c5 Make dia fallback to UTF-8 if it doesn't understand our charset instead of
segfaulting -- from Jarkko Torppa. Closes pkg/19008.

Now that dia works again, remove the BROKEN tag from the Makefile.
2002-12-30 19:19:18 +00:00
mjl
b2b1a2390d Add patches from freebsd I forgot last time around 2002-09-07 17:40:50 +00:00
mjl
c87f596c34 Update dia to 0.90
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.
2002-09-01 00:38:08 +00:00