pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/p5-GraphViz2 p5-GraphViz2: update to 2.46.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e660205b38de
branches: trunk
changeset: 368645:e660205b38de
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Sep 17 15:52:21 2017 +0000
description:
p5-GraphViz2: update to 2.46.
2.46 2017-05-11T09:57:00
- Change the default value for the 'graph' attribute within GraphViz2::Parse::ISA from {} to ''.
This makes it match the default for each other module in the GraphViz2::Parse::* namespace.
The problem was reported by Kevin Ryde (RT#121599) who used GraphViz2::Parse::ISA all by
itself, without using it via GraphViz2, and the BUILD sub has a check on the pre-existing
value of $self -> graph, which returned {} instead of the empty string, so the code did
not initialize $self -> graph properly with a new GraphViz2 object.
2.45 2017-04-16T10:03:00
- In stringify_attributes(), check for undefined hash entries before processing them. If
detected, they are set to ''. Reported by Raphael Crochet. See RT#121122.
- Bump pre-req version of File::Which from V 1.09 to 1.21. This should solve issues of which()
not finding *.exe files under Cygwin. See File::Which's Changes file for details.
Reported by Raphael Crochet. See RT#121090.
- Reduce pre-req version of Test::More from 1.001014 to 1.001002.
2.44 2016-10-24:08:52:00
- The patch in V 2.43 assumed one of the output files had no path, and used that name as a
file name within a temporary directory to generate a *.gv file for dot. The code now just
uses 'temp.gv'. Thanx to jahagirdar for reporting this via the github repo.
2.43 2016-10-20T18:20:00
- Alongside the parameters format and output_file, add im_format and im_output_file for image
maps.
- Add docs for the new parameters.
- User Types::Standard to tighten constraints on parameters passed to new().
- Add maps/ containing various demos.
2.42 2016-08-02T12:29:00
- Seems I misunderstood something simple. This time, I've eliminated shape 'square'.
Thanx again to Daran Davis.
2.41 2016-08-02T09:00:00
- To preempt more problems, I've made the same change as in V 2.40, in
report.nodes.and.edges.pl, html.labels.1.pl, sub.graph.pl, sub.sub.graph.pl, trivial.pl
and sub.graph.frames.pl. I can't explain why the tickets mentioned in 2.40 did not
include these examples.
2.40 2016-08-02T08:41:00
- In scripts/rank.sub.graph.*.pl, change shape 'box' to 'doublecircle'. Some users have
reported errors with 'box'. See RT#81467 (Reported by D. Thomas on 2012-11-26, which I
rejected. My apologies to D. Thomas), and RT#116628 (Reported by Daran Davis on 2016-08-01,
which I now accept). I tested firstly by using 'rect' instead of 'box', and that also
works for me (the output is the same as with 'rect'), but using 'doublecircle' is visually
more impressive. Also, I hope all versions of Graphviz in use will support 'doublecircle'.
I can't see anything in the changelog for Graphviz to say when 'box' became available, but
it must have been years ago now.
2.39 2016-05-23T12:24:00
- Escape { in regexp in t/test.t to keep recent Perls happy.
- Add a dependency on Perl V 5.10.1.
2.38 2016-05-03T15:22:00
- Remove confusing para about $label in docs for add_edge(). See RT#105861. Thanx BOBMATH.
- Change licence to Perl. See LICENSE file.
- Update some pre-reqs.
- Adopt new repo format.
- Wind back min Perl version from 5.14.2 to 5.10.1 and File::Copy from 2.21 to 2.14.
- Remove t/version.t in order to get rid of Test::Version.
2.37 Sun Oct 11 12:19:00 2015
- Fix the default for the graph parameter in GraphViz2::Parse::*, to be '' instead
of {}. See notes for V 2.36 for more info. GraphViz2::Parse::Regexp was fixed in V 2.36.
This versions fixes all the other modules in lib/GraphViz2/Parse/.
- Rename the internal attribute and method 'isa' to 'is_a', to avoid clashing with
UNIVERSAL::isa. Thanx to Kevin Ryde to suggesting this.
- In scripts/html.labels.2.pl, rename palegreen to palegreen.
- Re-generate the demo page with the new version #.
2.36 Tue Oct 6 20:43:00 2015
- Fix the default for the graph parameter in GraphViz2::Parse::Regexp, to be '' instead
of {}. The {} tricked the 'if' in sub BUILD into not initializing the 'graph' attribute
and hence forced the caller to provide a value. See RT#107566. Reported by Kevin Ryde.
- Remove .gitignore from MANIFEST. Add it to MANIFEST.SKIP.
2.35 Wed Feb 18 16:32:00 2015
- Rename CHANGES to Changes as perl CPAN::Spec::Changes.
- Add github repo to Build.PL.
- Add LICENSE to disto and MANIFEST.
2.34 Mon Oct 27 13:31:00 2014
- Expand the algorithm used to find a primary table/key pair for a given foreign table/key.
- Expand the FAQ to explain this algorithm. It's the first Q/A in the FAQ.
- Reformat the docs to have a max of 100 chars per line.
- Reformat this file to have a max of 100 chars per line.
2.33 Sat Aug 30 08:27:00 2014
- Stop emitting empty node labels. Thanx to Fjodor Fedov (see RT#98426).
- Update docs on how to download AT&T's Graphviz. Thanx to Alex Becker (see RT#98405).
2.32 Mon Aug 18 15:57:00 2014
- In subs add_edge() and add_node(), remove leading and trailing whitespace from HTML tables.
This is formatting sugar, but it also affects the regexp used later when
stringify_attributes() is called. The same patch was put into stringify_attributes() in
V 2.20, but there are cases when this whitespace processing must take place somewhat before
that sub is called. See RT#98098. Many thanx to Andrew Beverley for reporting this.
- Add scripts/html.labels.3.pl to test the above.
- Replace Perl6::Slurp with File::Slurp, as part of my policy to reduce the # of modules used.
2.31 Fri Aug 8 11:37:00 2014
- Re-write the code which splits port (and compass) off node names. A single regexp was not good
enough.
2.30 Tue Aug 5 16:22:00 2014
- Expand GraphViz2::DBI to associate foreign keys column names with the corresponding primary
table's primary key name. Fallback is to the previous behaviour. See the FAQ for
GraphViz2::DBI for details.
- The new code requires DBIx::Admin::TableInfo V 3.00, and Lingua::EN::PluralToSingular V 0.14.
- Add sequential numbers to the column names. There are actually the Graphviz port numbers.
The table name is port 0.
- Make foreign key edges point to the table name, rather than the primary key name.
This shifts such edges from entering the right-hand side of the table to entering via the
left, simplifying the image, since they no longer overlap with edges entering or leaving the
right-hand side.
2.29 Wed Jul 9 16:46:00 2014
- Add exclude => [qw/table_1 table_2 .../] and include => [qw/table_3 table_4 .../] options
to GraphViz2::DBI.create().
2.28 Tue Feb 18 15:25:00 2014
- Remove the method get_column_info().
- Patch GraphViz2::DBI method create() to use DBIx::Admin::TableInfo, rather than approximately
duplicate the code.
- The hashref returned by table_info() has some changed some keys:
o New: attributes
o Changed: column_names => columns
o Unchanged: foreign_keys
o New: primary_keys
Further, 'column_names' used to point to an array. 'columns' now points to a hashref.
- Remove 'use utf8' from modules, because it's global (affects all modules loaded I gather).
- Remove 'use open qw(:std :utf8)'.
- Remove 'use charnames qw(:full :short)' because it is never used.
- Update scripts/dbi.schema.pl to use $ENV{DBI_SCHEMA} for Postgres, if set.
2.27 Tue Feb 11 13:40:00 2014
- Stop using bare word file handles (again).
- Change sub BUILD() in all sub-classes to check whether or not a 'graph' parameter was supplied
to new(). If so, use it rather than instantiating a new GraphViz2 object.
This fixes a problem with those script/*.pl demos which use this feature.
- Fiddle t/sample.recdescent.1.dat, since the original test data happened to look like HTML,
and that stopped GraphViz2.stringify_attributes() adding double-quotes to protect the label.
That in turn caused dot to issue a syntax error when the generated DOT data was read.
2.26 Thu Jan 30 12:44:00 2014
- Stop using bare word file handles.
- Remove these lines from GraphViz2.pm (because utf8 is global and the others are not needed):
use utf8;
use open qw(:std :utf8); # Undeclared streams in UTF-8.
use charnames qw(:full :short); # Unneeded in v5.16.
2.25 Mon Jan 6 17:06:00 2014
- Remove debug printing of the output of 'dot -T?' (a list of valid output formats).
- Fix typos in output names in rank.sub.graph.1.pl and rank.sub.graph.2.pl.
rank.sub.graph.1.pl was outputting to html/rank.sub.graph.2.svg and visa versa.
2.24 Mon Dec 2 09:30:00 2013
- Rewrite scripts/extract.output.formats.pl, which used to download a page of documentation from
graphviz.org, and parse it to build a list of output formats. The problems are:
(1) Forgetting to run the script; (2) the on-line docs being out-of-date.
So, as of this version, I now parse the output of 'dot -T?', which will not just be more
accurate, but will also include the formats supported by locally-installed plugins. It's a
win-win result.
- Put that new logic into GraphViz2's load_valid_attributes() method.
- Expand the FAQ to discuss the above operation.
2.23 Sun Dec 1 09:42:00 2013
- Update lists of valid attibutes by running scripts/extract.*.pl, and incorporating the changes
into the source code of GraphViz2.pm (at the end). I use Data::Section::Simple to read this
data. These lists now correspond to Graphviz V 2.34. Changes:
o Remove 'aspect' as an attribute 'graph'.
o Add 'inputscale' as an attribute of 'graph'.
o Add 'overlap_shrink' as an attribute of 'graph'.
o Add 'star' as an attribute of 'node shape'.
o Add 'underline' as an attribute of 'node shape'.
o Add 'xdot1.2' as an attribute of 'output format'.
o Add 'xdot1.4' as an attribute of 'output format'.
See RT#91073. Many thanx for Kent Fredric for bringing this to my attention.
- Add t/version.t, which uses Test::Version.
- Update pre-reqs.
- Add use strict/warnings to Build.PL and Makefile.PL.
2.22 Fri Sep 6 16:03:00 2013
- Fix handling of graph attributes which are for clusters but not for subgraphs.
See scripts/sub.graph.frames.pl for sample code.
See the demo page for the output of that script.
See the new FAQ item 'How do I specify attributes for clusters?' for details.
Many thanx to Bill Hollingsworth (private email) for prompting me to investigate this bug.
- Document method default_subgraph().
2.21 Fri Sep 6 13:00:00 2013
- Replace Path::Tiny with File::Spec, because the former's list of dependencies is soooo long.
Changed files: GraphViz2::Config, scripts/copy.config.pl, scripts/find.config.pl, Build.PL
and Makefile.PL. See: RT#88435 (for Tree::DAG_Node) for an explanation.
2.20 Tue Aug 27 16:22:00 2013
- In sub stringify_attributes(), remove leading and trailing whitespace from HTML tables like
so: s/^\s+(<)/$1/ and s/(>)\s+$/$1/. This is formatting sugar, but it also affects the next
regexp.
- In the same sub, change a regexp from /^<.+>$/ to /^<.+>$/s. Note trailing 's'.
This allows '.' to match newlines within HTML lables. This fixes a bug (not yet reported).
- Both these changes allow HTML labels to be more nicely formatted in the source code of the
module which uses GraphViz2 (such as MarpaX::Grammar::GraphViz2).
- Split scripts/html.labels.pl into scripts/html.labels.1.pl and scripts/html.labels.2.pl.
These demonstrate the 2 types of HTML labels.
- Document sub escape_some_chars().
- Add an FAQ item on using whitespace in HTML labels.
2.19 Tue Aug 20 10:44:00 2013
- Remove the global graph attribute 'record_orientation', as forewarned in V 2.10, in June.
- Fix handling of some global attributes.
Previously, some options mentioned in the call to new(...) were not set by that call.
The options affected were: 'driver', 'format', 'strict', 'subgraph' and 'timeout'.
The options 'driver', 'format', and 'timeout' could be set in the call to run(...),
but in new(...), the value of 'format' was ignored, and the value of 'subgraph' generated an
error referring to '... not a valid attribute ...'.
Thanx to Larry Knibb for reporting this problem, for 'driver'.
- Remove reference to GraphViz2::Parse::Marpa from scripts/pod2html.sh. See comment below for
V 2.15. This module has been replaced by MarpaX::Grammar::GraphViz2, which depends on
MarpaX::Grammar::Parser.
2.18 Wed Aug 7 09:22:00 2013
- Remove print from sub BUILD() left over from debugging.
- Update Build.PL and Makefile.PL to include bugtracker and license items.
Also replace the Perl version checking code with a simple 'require 5.014.002; # For the utf8
stuff.'.
2.17 Sat Aug 3 08:58:00 2013
- Fix handling of record shapes. E.g. label => [] ignored global default shape 'Mrecord'.
Thanx to Kent Fredric for this report. See RT#87560.
- Fix handling of the graph's default name. This is used in 'digraph $name {...}'.
Previously, names like '' or '0' were ignored, and such values defaulted to 'Perl'.
- Add scripts/record.4.pl to demonstrate setting record-style node attributes.
- Fix names of html/utf8*.svg and png files, as output by scripts/utf8*.pl.
- Fix scripts/generate.sh.pl which generates scripts/generate.(png,svg).sh.
2.16 Fri Aug 2 10:54:00 2013
- Patch GraphViz2.pm to handle both SVG and (eg) PNG output. I failed to test this properly.
Thanx to Kent Fredric for this report. See RT#87525.
- Patch scripts/Heawood.pl to use font ArialMT instead of Arial when running under Darwin (OSX).
Thanx to David Jack Olrik for this report. See RT#87478.
- Remove special case code in scripts/jointed.edges.pl. It used png:gd instead of png, to work
round an unknown Graphviz problem. Let's hope /your/ version of Graphviz is up-to-date.
- Patch scripts/circo.pl: Add comment searched for by t/test.t, which is used to label
html/index.html.
- Add scripts/generate.sh.pl to generate scripts/generate.png.sh and scripts/generate.svg.sh.
This adds 2 tests, and 2 images to the demo page, and fixes various typos in those *.sh
files.
- Switch from Hash::FieldHash to Moo.
- Add config/.htgraphviz2 to help the author generate the demo.
- Add GraphViz2::Config.pm, and split GraphViz2::Filer off from GraphViz2::Utils, which alsp
helps generate the demo.
- Switch from Hash::FieldHash to Moo.
- Use File::Slurp except where I need Perl6::Slurp's utf8 option. I needed File::Slurp's
write_file() for the new script scripts/generate.sh.pl, so I decided to use it in most
places.
- Rename scripts/utf8.pl to scripts/utf8.1.pl.
- Rename scripts/utf8.test.pl to scripts/utf8.2.pl.
- Rename html/utf8.svg to html/utf8.1.svg.
- Rename html/utf8.test.svg to html/utf8.2.svg.
2.15 Mon Jul 29 14:42:00 2013
- Remove GraphViz2::Parse::Marpa, until it's re-written to use Jeffrey Kegler's code to dump a
grammar.
- Add scripts/circo.pl and it's output html/circo.svg.
- For non-HTML labels, escape double-quotes if they are not already escaped.
This allows pathological labels such as '\"'.
- For all labels, escape '[' and ']' if they are not already escaped.
The rationale for this is shrouded in the mists of time :-(.
- Put author tests in xt/author.
- Add Algorithm::Dependency::Source::HoA V 1.110 to the pre-reqs to keep my home-grown Build.PL
and Makefile.PL checker a bit quieter.
- Add Config V 0, channames V 0 and open V 0 to the pre-reqs.
- Move t/pod.t to xt/author/.
- Switch from IPC::Run to IPC::Run3. This after a discussion with Larry Knibb re the fact that
his code is hanging under Apache (mod_cgi) on Windows. He suggested using qx//, but I've
gone for IPC::Run3. The other reason to switch is the overly-long bug list for IPC::Run,
including Larry's report RT#87397.
I went thru the same issues with Lee when switching from system() to IPC::Run for V 2.02.
See RT#76459. IPC::Run3 has the advantage of letting me set binmode on various file handles.
- For all modules and some scripts, convert:
use strict;
use warnings;
into:
use strict;
use utf8;
use warnings;
use warnings qw(FATAL utf8); # Fatalize encoding glitches.
use open qw(:std :utf8); # Undeclared streams in UTF-8.
use charnames qw(:full :short); # Unneeded in v5.16.
2.14 Mon Jul 1 10:09:00 2013
- Patch push_subgraph() to correctly handle the case of an unnamed subgraph.
The code was outputting 'subgraph "" {...}'. The extra "" are now suppressed.
The code also handles the case of the name being undef.
There are no doc changes because the docs described precisely what should have happened,
thusly:
So, without $name, 'subgraph {' is written to the output stream.
With $name, 'subgraph "$name" {' is written to the output stream.
Many thanx (again) to Larry Marso for reporting this, with sample code.
- Add scripts/unnamed.sub.graph.pl.
2.13 Fri Jun 28 12:02:00 2013
- Oops - Patch scripts/record.1.pl as was allegedly done for V 2.11.
2.12 Thu Jun 27 14:40:00 2013
- Add scripts/plaintext.pl, which generates a 'Use of uninitialized value...' error under V 2.11
and, after the fix, does not do so under V 2.12. Many thanx to Larry Marso for the (private
email) report.
2.11 Thu Jun 27 09:21:00 2013
- Correct spelling of Kent Fredric's name below, with apologies.
- Patch scripts/record.1.pl and scripts/record.2.pl to use '\\n' to get a literal '\n' in the
output dot file. The original works my Debian machine, but needs fixing in case there's
someone out there not using Debian :-).
- Remove debug log message from add_edge().
2.10 Mon Jun 24 11:05:00 2013
- Overview: Re-work the label and port handing code.
- Note: the global graph attribute 'record_orientation' no longer does anything. The new label
syntax, (next, and in detail in the FAQ
(https://metacpan.org/module/GraphViz2#How-labels-interact-with-ports) ),
is now the recommended way of using labels to specify both ports and orientation.
Using 'record_orientation' will not cause parameter validation to fail, it just won't have
any effect. The attribute will be removed in a future version, so prepare now by deleting it
from your code.
- Labels can be a string, an arrayref of strings, or an arrayref of hashrefs. The latter
alternative is new. The keys to the hashrefs are 'text' and 'port', with the latter being
optional. See the FAQ topic mentioned above. See scripts/record.2.pl for sample code.
Many thanx to Kent Fredric for the report (RT#85976), and the list of suggestions.
- Add scripts/record.3.pl and add it to the demo generating code scripts/generate.*.sh.
It demonstrates deeply nested record structures using a string as a label. The same effect
could be achieved by using an arrayref of hashrefs, of course. scripts/record.2.pl shows
how.
- Stop escaping the 2 label characters { and }, since they are used to orient fields within
records. On the demo page http://savage.net.au/Perl-modules/html/graphviz2/, see
scripts/record.*.pl. Expand the FAQ discussion of escaping to cover this issue.
- Remove restriction that port names in calls to add_edge() had to start with 'port'.
This was due to my misreading of the Graphviz docs, where all examples used a 'port' prefix.
The code also now checks for '*::*', in case the program is using Perl classes for node
names, in which case we don't want the first ':' to be taken as the introduction for a port
name.
- Update words/tokens (arrow shapes etc) stored within the source code, by running
scripts/extract.*.pl and storing the output in lib/GraphViz2.pm after the __DATA__ token.
Yes, I know this is hard-coding.
See the amazing module Data::Section::Simple for details.
The set of words/tokens matches Graphviz 2.30.1, as of today, 2013-06-24.
- Rename CHANGES to Changes as per CPAN::Changes::SPEC.
- Reformat the POD in lib/GraphViz2.pm slightly.
- Remove scripts/parse.marpa.pl and t/sample.marpa.1.dat, as a step in removing all
Marpa-related material, because it uses the deprecated NAIF interface. All new Marpa work
should use the scanless interface (SCIF).
- Change Build.PL and Makefile.PL to check for Perl being at least V 5.14.0. If you are using an
earlier version, you can forgo utf8 support by editing the files to relax this restriction.
Some tests (utf8.pl, utf8.test.pl) will presumably fail as a consequence.
Lastly, my attention has been drawn to Unicode::Semantics::up(), but I've chosen not to use
it.
2.09 Fri May 31 09:57:00 2013
- Re-write the code in Build.PL and Makefile.PL which checks for Graphviz (dot) being installed,
since the previous code, using a pipe, was failing on some versions of Windows.
- Assume Config.pm is installed, and hence remove it from the pre-reqs.
This also stops a warning message generated because Config's version # is undef.
- Likewise assume File::Spec and File::Temp are installed, and 'recent enough'.
This is because the new code uses these 3 modules before specifying the pre-reqs.
- Bump the pre-req for Perl from 5.10.0 to 5.14, since we 'use feature qw/unicode_strings/.
- Re-write the code in Build.PL and Makefile.PL which checks for Perl being 'recent enough',
since the previous code, using a pre-req of "perl => '5.10.0'" generates a warning message
when using Makefile.PL (for my current Perl V 5.14.2). Now we analyze $Config{version}.
- One CPAN Tester found tests failing even though Graphviz was installed.
The problem was that the Times font was missing. The new code should fail during
'perl Build.PL', or 'perl Makefile.PL', rather than during testing, which is good.
2.08 Thu Mar 21 13:16:00 2013
- Add $ENV{DBI_SCHEMA} to scripts/dbi.schema.pl.
- For the MusicBrainz database, use DBI_SCHEMA=musicbrainz,cover_art_archive,report,statistics.
See http://musicbrainz.org/doc/MusicBrainz_Database for details.
Users of cpanm will want 'cpanm Carton' instead of 'sudo cpan Carton' in Perl dependencies.
See https://github.com/metabrainz/musicbrainz-server/blob/master/INSTALL.md for details.
2.07 Wed Mar 13 13:24:00 2013
- Extend GraphViz2::DBI to handle SQLite using pragma foreign_key_list($table_name).
- Add scripts/sqlite.foreign.keys.pl to help analyze that pragma's output.
- Remove the string 'App-Office-CMS' from scripts/dbi.schema.pl. That is, the create() method is
called as $g -> create(name => ''). This has the effect of removing the global node from the
resultant graph. All tables were descendents of this node, but with schemas of dozens or
hundreds of tables, it became confusing.
- Patch dbi.schema.pl to set the DBI connect attr sqlite_unicode and foreign_keys pragma if
using SQLite.
2.06 Thu Nov 8 12:38:00 2012
- No code changes.
- For pre-reqs such as strict, warnings, etc, which ship with Perl, set the version # to 0.
Reported as RT#80663 by Father Chrysostomos for Tree::DAG_Node.
2.05 Tue Oct 2 10:20:00 2012
- No fundamental code changes, so no need to upgrade, unless you need the following new
features.
- After a request from Jack Maney, author of the Perl module Hypatia:
o Document the mutator node_hash(), which returns a hashref keyed by node name.
Use this to get a list of all nodes and their attributes.
o Add a new mutator, edge_hash(), which also returns a hashref keyed by node name.
The node is the one at the arrow/tail/ end of the edge, i.e. where the edge starts from.
Use this to learn all sorts of things about the edge.
o Add scripts/report.nodes.and.edges.pl (a version of scripts/html.labels.pl) to demonstrate
how to access this data.
o Update to POD to match.
2.04 Fri Aug 17 10:48:00 2012
- Add Perl V 5.14.2 to the pre-reqs, for the utf8 stuff.
- Re-write the subgraph handling code, which was broken up to V 2.03.
Add samples, script/rank.sub.graph.[1234].pl, to demonstrate subgraph name effects and node
rankings. script/rank.sub.graph.[12].pl use subgraphs to force a set of nodes to be
horizontally aligned. script/rank.sub.graph.[34].pl show the effects of subgraph name
changes on the same data.
2.03 Mon Jun 18 9:47:00 2012
- Switch from double to single quotes in line 22 of GraphViz2::Parse::Regexp, so the resultant
string, treated as Perl code, runs on Windows. Reported by Max Maischein as RT#77869.
- Also, slightly reformat line 39 of that module.
2.02 Thu Apr 19 11:51:00 2012
- Accept patch from Lee as in RT#76459, to replace the code which writes the dot input file to
a file with binmode, and just pass the data to dot via IPC::Run.
Happily, this allows me to eliminate 'use open qw/:encoding(UTF-8) :std/;' in t/test.t.
- Update the pre-reqs in Build.PL and Makefile.PL.
- Add scripts/utf8.test.pl to the list of scripts shipped with this module.
- Add scripts/utf8* to scripts/generate.*.sh.
- Make scripts/generate.*.sh emit a warning when DBI_DSN is not set.
2.01 Wed Mar 7 08:50:00 2012
- I only tested V 2.00 by outputting to SVG (a text format), but outputting to a binary format
such as PNG was broken.
So, remove the 'use open qw/:encoding(UTF-8) :std/;', and restore binmode, in
GraphViz2.pm.
- Remove log to screen in utf8.pl, since Log::Handler doesn't accept utf8 as a logger option.
- Copy scripts/utf8.pl to scripts/utf8.test.pl and edit to display just 5 delta characters.
See html/utf8.test.svg. PNG is ok too.
This demonstrates (hopefully) we can get the correct output on a binary format despite
the 'Wide character in print...' message.
- Add FAQ topic regarding this 'Wide character in print...' problem.
2.00 Tue Mar 6 16:02:00 2012
- Support utf8 in labels. This required changes to GraphViz2.pm. See scripts/utf8.pl and
html/utf8.svg. I'm using Perl V 5.14.2.
Sample output is online at http://savage.net.au/Perl-modules/html/graphviz2/utf8.svg.
- Add an item to the FAQ about how to write scripts using utf8.
- Re-write GraphViz2::Parse::ISA to draw multiple class hierarchies on 1 graph. This means the
API for that class has changed. Specifically, create() no longer exists. Call add() 1 or
more times instead. Then, call generate_graph(). See the docs for details.
Sample output is online at
http://savage.net.au/Perl-modules/html/graphviz2/parse.isa.svg.
1.13 Sun Dec 25 10:33:00 2011
- Change <img...> to <object...> in the demo creation code, to keep poor old FireFox happy.
- Change various things in html/graphviz2.index.tx to we validate as XHTML 1.0 Strict.
- Unreleased.
diffstat:
graphics/p5-GraphViz2/Makefile | 14 ++++++--------
graphics/p5-GraphViz2/distinfo | 10 +++++-----
2 files changed, 11 insertions(+), 13 deletions(-)
diffs (62 lines):
diff -r 52d444b1c39c -r e660205b38de graphics/p5-GraphViz2/Makefile
--- a/graphics/p5-GraphViz2/Makefile Sun Sep 17 15:46:56 2017 +0000
+++ b/graphics/p5-GraphViz2/Makefile Sun Sep 17 15:52:21 2017 +0000
@@ -1,9 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2017/06/05 14:24:01 ryoon Exp $
-#
+# $NetBSD: Makefile,v 1.11 2017/09/17 15:52:21 wiz Exp $
-DISTNAME= GraphViz2-1.12
+DISTNAME= GraphViz2-2.46
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 8
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=GraphViz2/}
EXTRACT_SUFX= .tgz
@@ -19,27 +17,27 @@
DEPENDS+= p5-Capture-Tiny>=0.10:../../devel/p5-Capture-Tiny
DEPENDS+= p5-Data-Section-Simple>=0.02:../../devel/p5-Data-Section-Simple
DEPENDS+= p5-DBI>=1.616:../../databases/p5-DBI
-#DEPENDS+= {perl>=5.10.1,p5-File-Temp>=0.22}:../../devel/p5-File-Temp
+DEPENDS+= p5-File-Slurp-[0-9]*:../../devel/p5-File-Slurp
DEPENDS+= p5-File-Which>=1.09:../../devel/p5-File-Which
DEPENDS+= p5-HTML-Entities-Interpolate>=1.04:../../www/p5-HTML-Entities-Interpolate
DEPENDS+= p5-HTML-Tree>=4.2:../../www/p5-HTML-Tree
-#DEPENDS+= {perl>=5.14.0,p5-HTTP-Tiny>=0.012}:../../www/p5-HTTP-Tiny
DEPENDS+= p5-Hash-FieldHash>=0.10:../../devel/p5-Hash-FieldHash
DEPENDS+= p5-Log-Handler>=0.71:../../devel/p5-Log-Handler
+DEPENDS+= p5-Moo-[0-9]*:../../devel/p5-Moo
+DEPENDS+= p5-IPC-Run3-[0-9]*:../../devel/p5-IPC-Run3
DEPENDS+= p5-Parse-RecDescent>=1.965.1:../../devel/p5-Parse-RecDescent
DEPENDS+= p5-PathTools>=3.33:../../devel/p5-PathTools
DEPENDS+= p5-Perl6-Slurp>=0.03:../../devel/p5-Perl6-Slurp
-#DEPENDS+= {perl>=5.13.1,p5-Pod-Simple>=3.16}:../../textproc/p5-Pod-Simple
DEPENDS+= p5-Scalar-List-Utils>=1.23:../../devel/p5-Scalar-List-Utils
DEPENDS+= p5-Set-Array>=0.23:../../devel/p5-Set-Array
DEPENDS+= p5-Text-Xslate>=1.2:../../textproc/p5-Text-Xslate
DEPENDS+= p5-TimeDate>=1.20:../../time/p5-TimeDate
DEPENDS+= p5-Tree-DAG_Node>=1.06:../../devel/p5-Tree-DAG_Node
DEPENDS+= p5-Try-Tiny>=0.09:../../devel/p5-Try-Tiny
+DEPENDS+= p5-Type-Tiny-[0-9]*:../../devel/p5-Type-Tiny
DEPENDS+= p5-XML-Bare>=0.45:../../textproc/p5-XML-Bare
DEPENDS+= p5-XML-Tiny>=2.06:../../textproc/p5-XML-Tiny
-PERL5_MODULE_TYPE= Module::Build
PERL5_PACKLIST= auto/GraphViz2/.packlist
USE_LANGUAGES= # none
diff -r 52d444b1c39c -r e660205b38de graphics/p5-GraphViz2/distinfo
--- a/graphics/p5-GraphViz2/distinfo Sun Sep 17 15:46:56 2017 +0000
+++ b/graphics/p5-GraphViz2/distinfo Sun Sep 17 15:52:21 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 21:34:13 agc Exp $
+$NetBSD: distinfo,v 1.3 2017/09/17 15:52:21 wiz Exp $
-SHA1 (GraphViz2-1.12.tgz) = 3dc942c2a114376717dc7979f2d770870c094d0e
-RMD160 (GraphViz2-1.12.tgz) = dbfa38f7a495f490b7528a31c67668683be411f4
-SHA512 (GraphViz2-1.12.tgz) = 7a1e40bef3748c9bb6e787f1da28f8c3ed2d60fae3ab9cb6ad4d7ed9081b16b2b70e126223205f32b956f2cdd9da432aa39c23bda14c06c2c284241e69490c6e
-Size (GraphViz2-1.12.tgz) = 187694 bytes
+SHA1 (GraphViz2-2.46.tgz) = 287f0612f9e2e10727c0b253d3ee9af4cdbd9cc4
+RMD160 (GraphViz2-2.46.tgz) = ae60772098d04308529202bc3a8ad568cd32a76a
+SHA512 (GraphViz2-2.46.tgz) = 8a3a0c8d1e31314fe29800b65186b583a869e868680b75f7360a23faa8d9d1f95bac99fee2d1a7ebfe10b4a950b3759ed3d895ae4420cb2265f1fe2ace5715d7
+Size (GraphViz2-2.46.tgz) = 231387 bytes
Home |
Main Index |
Thread Index |
Old Index