BSD Ports

wip/d2 0.9.0 NetBSD

Modern diagram scripting language that turns text to diagrams

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
Last update
Commit
8235eb12d9
License
mpl-2.0
Categories
wip, textproc

Description

D2 is a diagram scripting language that turns text to diagrams. It stands for Declarative Diagramming. Declarative, as in, you describe what you want diagrammed, it generates the image.

In the other systems

SystemPortVersion
NetBSDwip/d20.9.0
FreeBSDgraphics/d20.9.0_2
DragonFlygraphics/d20.6.9_1
HardenedBSDgraphics/d20.9.0
GhostBSDgraphics/d20.9.0

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/d2 && make install clean

Dependencies

No port depends on this one.

Commit history 2

DateCommitCreditsLog message
8235eb12d9 Iku Iwasa d2: update to 0.9.0
Features * TALA is now open source and bundled with D2, including the JavaScript/WASM package. Select it with d2 --layout=tala, D2_LAYOUT=tala, or vars.d2-config.layout-engine: tala. No separate plugin installation or license key is required. * tala: configure layout attempts with --tala-seeds, D2_TALA_SEEDS, or vars.d2-config.data.tala-seeds. * exports: render PNG, GIF, PDF, and PPTX with the built-in renderer Improvements * performance: reduce repeated work in Dagre ranking, text measurement, SVG preparation, and PNG encoding * performance: reduce repeated work in selective imports, dynamic grid layout, and PNG connection rendering * exports: reduce PNG memory usage and support images above the previous 67-megapixel limit …
4c085321ea Iku Iwasa d2: update to 0.8.2
Pkgsrc changes: * Move non-pattern Go flags to GOFLAGS. * Update GitHub organization and version specifier. Upstream changes: Features 🚀 * exports: gif exports work with animate: true keyword Improvements 🧹 * releases: strip native binaries, build and smoke-test all six archives in CI, produce reproducible archives with checksums, signed provenance, and SBOM attestations, and verify standalone downloads when GitHub provides a digest * plugins: make render post-processing optional and deprecate it for removal after one protocol compatibility cycle; legacy external postprocess commands remain supported during the transition * api: deprecate legacy layout-feature constants, raw-WASM ELK/object-order …