Automic VaultAutomic Vault

brew

Install svg2pdf with Homebrew, Nix

Renders SVG images to a PDF file (using Cairo). Version 0.1.3 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install svg2pdf

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#svg2pdf

nixpkgs package indexes · pkgs/by-name/sv/svg2pdf/package.nix · source: api.github.com

overview

Package summary

Renders SVG images to a PDF file (using Cairo)

Commands and aliases

  • svg2pdf

history

Project history and usage

svg2pdf is a tiny command-line SVG-to-PDF converter built around librsvg and Cairo. Its upstream history is short, but it is representative of small Unix graphics utilities that survive because they do one conversion job cleanly in scripts.

Project history

The official freedesktop cgit summary describes svg2pdf as a simple demo showing how to use librsvg and Cairo to render SVG to PDF. The first commit, dated September 7, 2007, imported a small svg2pdf program rescued from cairo/test, where it was not being used and had been deleted.

The source file documents compilation with `pkg-config` against `librsvg-2.0` and `cairo-pdf`, accepts an input SVG and output PDF path, and renders through a Cairo PDF surface.

Adoption history

svg2pdf appears as a small packaged utility rather than a large standalone project. The input package facts list Homebrew and Nix package names, matching its role as a convenient command-line wrapper around already-packaged graphics libraries.

How it is used

Usage is intentionally narrow: `svg2pdf input_file.svg output_file.pdf`. That simplicity makes it useful in build scripts, documentation pipelines, and packaging tests where a headless SVG-to-PDF conversion is enough.

Why package nerds care

Package nerds care about tools like svg2pdf because they are thin, inspectable glue over shared libraries. They exercise Cairo and librsvg availability, avoid GUI dependencies, and fit naturally into Makefiles and reproducible build steps.

Timeline

  • 2007: svg2pdf is imported into freedesktop cgit from cairo/test.
  • 2007: Follow-up commits add a Makefile, update licensing text, and remove forced white background painting.

Related projects

  • svg2pdf is closely related to Cairo, librsvg, cairo-pdf, cairo/test, and the sibling svg2png utility.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:image

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.
  • Installs with 5 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
svg2pdfcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.1.3
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://cairographics.org/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://cairographics.org/none confidence

install metadata

Package metadata

Package keybrew:svg2pdf
Version0.1.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/svg2pdf
Homepagehttps://cairographics.org/
Repositoryhttps://cgit.freedesktop.org/~cworth/svg2pdf
Upstream docshttps://cgit.freedesktop.org/~cworth/svg2pdf/tree
LicenseHPND-sell-variant
Source archivehttps://cairographics.org/snapshots/svg2pdf-0.1.3.tar.gz
Dependenciescairo, jpeg-turbo, libpng, libsvg, libsvg-cairo
Build dependenciespkgconf
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesvg2pdf
Version Scheme0
Revision2
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

svg2pdf

nix profile install nixpkgs#svg2pdf
  • normalized package name match
  • Matched by: Svg2pdf
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sv/svg2pdf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment