Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2026 10:53:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 293714] [NEW PORT] graphics/pdfium: PDF rendering and manipulation library
Message-ID:  <bug-293714-7788@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293714

            Bug ID: 293714
           Summary: [NEW PORT] graphics/pdfium: PDF rendering and
                    manipulation library
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: matias@pizarro.net

Created attachment 268683
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268683&action=edit
git format-patch for graphics/pdfium

New port: graphics/pdfium v7651

PDFium is a PDF rendering and manipulation library used by Chromium.

This port builds a complete static libpdfium.a with V8 and XFA disabled and
installs the public headers for embedding.

Version: 7651
License: APACHE20 BSD3CLAUSE (multi)
WWW: https://pdfium.googlesource.com/pdfium/

Build system: GN + ninja (Chromium-style build)
BUILD_DEPENDS: gn:devel/gn, llvm19>=19:devel/llvm19, ninja:devel/ninja
USES: compiler:c++20-lang pkgconfig python:build
USE_GITHUB: yes (matias-pizarro/pdfium)

The port fetches 31 additional dependency tarballs from Chromium's Gitiles
repositories (base/allocator, build, buildtools, third_party/abseil-cpp,
third_party/icu, third_party/skia, etc.) required for a standalone PDFium
build outside the Chromium tree.

A pre-checksum target normalizes Gitiles tarballs (which can vary in gzip
headers between fetches) to ensure reproducible checksums.

GN configuration:
- is_debug=false, is_component_build=false
- pdf_is_complete_lib=true, pdf_is_standalone=false
- pdf_enable_v8=false, pdf_enable_xfa=false
- clang_base_path=${LOCALBASE}/llvm19

Installs:
- lib/libpdfium.a (static library)
- include/pdfium/*.h (24 public headers)
- include/pdfium/cpp/*.h (2 C++ helper headers)

Testing (FreeBSD 15.0-RELEASE amd64):
- portlint -AC: clean (DISABLE_SIZE wrapped in .ifnmake portclippy)
- portfmt -D: clean
- portclippy: clean
- make stage && make stage-qa: pass
- make check-plist: pass

Patch generated with git format-patch against
https://git.freebsd.org/ports.git

Maintainer: matias@pizarro.net

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-293714-7788>