./devel/ocamlgraph, Graph library for OCaml

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ]


Branch: CURRENT, Version: 2.2.0, Package name: ocamlgraph-2.2.0, Maintainer: pkgsrc-users

ocamlgraph is a graph library for Objective Caml. It provides an
easy-to-use graph data structure together with several operations
and algorithms over


Required to run:
[lang/ocaml] [devel/ocaml-findlib]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 310.478 KB

Version history: (Expand)


CVS history: (Expand)


   2026-10-25 02:46:17 by Alexander Nasonov | Files touched by this commit (6) | Package updated
Log message:
Update devel/ocamlgraph to version 2.2.0.

This update removes lablgtk option because version 2.2.0 split
it into two opam packages: ocamlgraph and ocamlgraph_gtk.

2.2.0 CHANGES:

    [Topological]: Fix topological stable sort (#149, Maxime Buyse)
    [Path]: new module [Bfs01] to implement 0-1 BFS
    [Classic] new functions [kneser] and [petersen] to build Kneser's
    graphs and the Petersen graph
    [Oper] fixed transitive reduction (#145, reported by sim642)
    and tests for transitive reduction!
    new example depend2dot to turn make-like dependencies
    into a DOT graph, with transitive reduction
    [Graphviz]: added PosPinned to type NeatoAttributes.vertex
    [Oper]: improved efficiency of intersect
    (#136, reported by Ion Chirica)
    [Path.Check]: improved efficiency with a better use of the cache
    (#125 by Paul Patault)
    [Cycles.Johnson]: Enumerate elementary cycles (Johnson, 1975)
    (contributed by Timothy Bourke)
    [Traverse.Bfs]: new function {fold,iter}_component_dist to
    perform a breadth-first traversal with the distance from the source

2.1.0 CHANGES:

    !!! OCamlGraph now requires OCaml >= 4.08
    !!! [Traverse]: fixed [Dfs.fold] and [Dfs.fold_component],
    which were not implementing a proper DFS
    [Classic]: new functions [cycle] and [grid]
    [Eulerian]: Eulerian paths (new module)
    [Components]: strong articulation points (see functors [Connectivity]
    and [BiConnectivity]) (Timothy Bourke)
    [Dominator]: non-trivial dominators (Timothy Bourke)
    #31: fixed documentation of [map_vertex]: the supplied function
    must be injective
    #110: ensure that map_vertex applies the function only once per vertex

2.0.0 CHANGES:

    port to dune and opam 2.0
        !!! opam package now split into two packages: ocamlgraph and ocamlgraph_gtk
        [WeakTopological] fixed incorrect use of generic hash tables
        (#99, Tomáš Dacík)
        [Oper] fixed transitive_reduction (#91)
        fix incorrect uses of polymorphic equality (Steffen Smolka, Boris Yakobowski)
        [Coloring] fixed generation of OCamlDoc documentation
        (contributed by Earnestly)
        !!! [Coloring] functions now fail if the graph is directed
        !!! [Coloring] now uses a single, global exception [NoColoring]
        [Coloring] new function two_color to 2-color a graph (or fail)
        !!! [Fixpoint] Take initial labeling of nodes into account (Johannes Kloos)
   2026-09-29 08:08:46 by Thomas Klausner | Files touched by this commit (3127)
Log message:
*: recursive bump for pcre2 10.49
   2026-09-27 13:39:47 by Tobias Nygren | Files touched by this commit (3126)
Log message:
*: revbump for pcre2 symbol versioning change
   2026-09-02 21:05:38 by Thomas Klausner | Files touched by this commit (3127)
Log message:
*: recursive bump for pcre2 10.48
   2026-03-01 13:38:42 by Greg Troxel | Files touched by this commit (218) | Package updated
Log message:
*: revbump for lang/ocaml micro (security) update
   2026-02-17 14:39:16 by Thomas Klausner | Files touched by this commit (200)
Log message:
*: recursive bump for ocaml-dune becoming a build dependency
   2026-01-27 09:41:10 by Thomas Klausner | Files touched by this commit (1344)
Log message:
*: recursive bump for removal of cairo's xcb option
   2025-10-23 22:40:24 by Thomas Klausner | Files touched by this commit (2999)
Log message:
*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by \ 
/usr/pkg/lib/libglib-2.0.so.0 not defined