pkg.soopen package index

brew / rank 6631

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. Also installable with nix: nix profile install nixpkgs#svg2pdf.

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 bottle metadata was recorded.

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
svg2pdfexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version0.1.3
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:svg2pdf
Version0.1.3
Package managerHomebrew
Homepagehttps://cairographics.org/
Bottlenot recorded
Servicenone declared

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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation