graphics/pdfpc: fix build on GCC architectures
In file included from /usr/local/include/webkitgtk-4.0/jsc/jsc.h:25,
from /usr/local/include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h:28,
from /usr/local/include/webkitgtk-4.0/webkit2/webkit2.h:57,
from src/classes/view/markdown.c:4:
/usr/local/include/webkitgtk-4.0/jsc/JSCClass.h:37: error: redefinition of typedef 'JSCClass'
/usr/local/include/webkitgtk-4.0/jsc/JSCValue.h:43: error: previous declaration of 'JSCClass' was here
/usr/local/include/webkitgtk-4.0/jsc/JSCClass.h:40: error: redefinition of typedef 'JSCContext'
/usr/local/include/webkitgtk-4.0/jsc/JSCValue.h:44: error: previous declaration of 'JSCContext' was here
MFH: 2021Q131ba16c076Port details
graphics/pdfpc 4.7.0_4
Keynote-like multi-monitor presentation viewer
Port info
- Maintainer
- bapt@FreeBSD.org
- Packages
- latest: 4.7.0_4
- Upstream
- up to date
- Last update
- to 4.7.0_4 · 7ddc6804bf
- Quarterly
- 2026Q4: 4.7.0_4
- WWW
- https://pdfpc.github.io/
- Links
- cgit · VuXML · Report wrong data
Install
- Package
# pkg install pdfpcinstalls 4.7.0_4 fromlatest; fromquarterly(2026Q4) 4.7.0_4- Port
# cd /usr/ports/graphics/pdfpc && make install clean- Size
- 173 KiB download · 525 KiB installed
- Depends on
- accessibility/at-spi2-core 2.60.4, devel/gettext-runtime 1.0_1, devel/glib20 2.88.3,2, devel/json-glib 1.10.8, devel/libgee 0.20.8, devel/libsoup3 3.7.3, graphics/cairo 1.18.2,3, graphics/gdk-pixbuf2 2.44.1, graphics/libqrencode 4.1.1, graphics/poppler-glib 26.04.0_1, multimedia/gstreamer1 1.28.8_1, multimedia/gstreamer1-plugins 1.28.8, print/harfbuzz 14.6.0, textproc/discount 3.0.2.0, www/webkit2-gtk 2.46.6_8, x11-toolkits/gtk30 3.24.52, x11-toolkits/pango 1.57.1, x11/libX11 1.8.14,1
- License
- GPLv2
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 4.7.0_4 | 4.7.0_4 | – |
| FreeBSD 15 | 4.7.0_4 | 4.7.0_4 | – |
| FreeBSD 14 | 4.7.0_4 | 4.7.0_4 | 4.7.0_4 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 4.7.0_4 | 4.7.0_4 | – |
| FreeBSD 14 | 4.7.0_4 | 4.7.0_4 | 4.7.0_4 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 4.7.0_4.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (94)
graphics/poppler: update to 21.01.0
Release 21.01.0:
core:
* Faster routines for jpeg decoding
* Fix reading signatures in encrypted files
* Add white point correction when lcms is used
* JBIG2Stream: Fix byte counting
* Fix potential data loss if we try to fetch a non existing Ref after modifying the document
* Specifically use DeviceGray instead of DefaultGray for softmasks
* Fix various issues handling broken files
utils:
* pdftocairo: Setmode binary for windows
* pdfsig: Add hability to digitally sign files
* pdftoppm: add options to set DeviceGray/DeviceRGB/DeviceCMYK
* pdftops: add options to set DeviceGray/DeviceRGB/DeviceCMYK
* pdfimages: Account for rotation in PPI calculation
qt5:
* Add hability to digitally sign files
qt6:
* Add hability to digitally sign files
build system:
* Enable clang-tidy bugprone-signed-char-misuse
PR: 252377
Exp-run by: antoinec565bdb335Add a missing build dependencyc792d4aec3
pdfpc: update to 4.5.05e92952e85
graphics/poppler: update to 20.12.0
Changelog:
core:
* Draw better circles for circle annotations
* Fix annotation line width if no appearance stream or style are given
* Tweak rendering of highlight annotations
* Fix border rendering of some annotations
* Fix rendering of some files. Issue #976 Issue #567
* PSOutputDev: provide options to set the rasterization color space and ICC profile
* PSOutputDev: for splashModeCMYK8 and language level >=2 activate overprint emulation
* PSOutputDev: use the DeviceN8 bitmap for rasterization with CMYK-output + overprint
* Use the font name without subset tag when querying for a system font
* Splash: Fix wrong x adjustment during clipping
* Splash: Fix blitImage in uncolored tiling patterns
* timeToDateString: We forgot the ' after the minutes
* Move psLevel to PSOutputDev creation
* Fix several issues in broken files
utils:
* pdftops: provide options to set the rasterization color space and ICC profile
* pdftops: for splashModeCMYK8 and language level >=2 activate overprint emulation
cpp:
* New fuzzers
glib:
* New fuzzers
qt5:
* New fuzzers
build system:
* gcc: Enable -fno-operator-names
* Remove obsolete bool-to-binary macro
* Remove obsolete version-check macro for pkgconfig
* Remove .pc files for private back-ends
* Remove redundant unit-test macro
PR: 251537
Exp-run by: antoine773872818cUpdate to 4.4.13bf4a03a7b
graphics/poppler: update to 20.11.0
Release 20.11.0:
core:
* More work on rendering of standalone Annot Widgets. Issue #806
* Fix crashes in embedded file handling on broken files. Issue #967
* Fix uninitialized memory read on broken files
* Save a bit of memory in Dict data
cpp:
* Fix crashes in embedded file handling on broken files. Issue #966
utils:
* pdftohtml: HTML and XML output includes font opacity.
qt5:
* Rename ArthurOutputDev to QPainterOutputDev
build system:
* Fix linker error when gtk is not in a default location
* Add some checks for gtk-doc support
* Reorganize GObject introspection config
* Enable CMAKE_LINK_DEPENDS_NO_SHARED
PR: 250786
Exp-run by: antoinea831c679c4graphics/poppler: update to 20.10.0
Release 20.10.0:
core:
* Filter out repeated forms
* Implement EmbedStream::reset()
* CairoOutputDev: evict just font faces owned solely by cache.
* Splash: Rename Yd to Ydown, Xu to Xup, etc.
* Splash: fix crash in out-of-memory situation.
* Fix some undefined behaviour situation with forged files
PR: 250052
Exp-run by: antoineaa3db148fcgraphics/poppler: update to 20.09.0
Release 20.09.0:
core:
* Compability fix for Forms
* Fix fetching of Objects failing in some cases
* Fix clearing date in Annot setModified/setDate
* TextSelectionPainter: support glyphless fonts
* Splash: Don't try read past end of image
* avoid abort() on large memory allocation
* Fix memory leak on broken files
* Fix potential invalid memory read
* Small code improvements
qt5:
* Document TextAnnotation::inplaceAlign
* Make Annotation::setModification/CreationDate work on existing annots
* Be a bit more stubborn converting dates that come from xml
* Clean as many null characters from the end as possible when converting strings
glib:
* Add accessor functions for PopplerAttachment
* Deprecate PopplerAttachment GTime fields
* Deprecate PopplerDocument date properties
utils:
* pdftoppm: report error and exit if output file cannot be written
* Document that PDF-file can be '-' to read it from stdin
build system:
* cmake: Modern way to link against libpng, zlib and libtiff
* cmake: Remove stray support for lcms1 in pdftocairo
PR: 249060
Exp-run by: antoine5dc59a82aeBump revisions of poppler consumers after r54486397cf82ea46
graphics/poppler: update to 0.90
Release 0.90.0:
core:
* Color profile tweaks
* Small signature improvements
* BBoxOutputDev: Fix calculation when type3 fonts are involved
* Fix potential crash when reading Forms
* Fix infinite loop in broken file
glib:
* Fix adding annots in rotated pages
* Add ability to reset forms
* Several fixes to the documentation
qt5:
* Make it clear we require Qt 5.5
* demo: Fix crash on broken files
* Small documentation improvements
utils:
* pdftoppm: Add option to set display profile
* pdftops: Add a -rasterize option with values always, never, or whenneeded
build system:
* Require cmake 3.5
* More modern cmake way to link against curl
PR: 247736
Exp-run by: antoine5060d003efgraphics/poppler: update to 0.89.0
Release 0.89.0:
core:
* Add support for ResetForm action. Issue #225
* Fix crash in PDFDoc::getSignatureFields when there's no Forms at all
* Fix exporting to PS of some files with CID fonts
* Use ICC profiles in PS output (if new enough lcms is used)
* Allow almost-singular tiling pattern matrices. Issue #894
* Fix memory leak when failing to load some fonts
* CairoOutputDev: Use stroke opacity when clipping to a stroke path
* CairoOutputDev: Fix tiling patterns when pattern cell is too far. Issue #190
glib:
* Add poppler_movie_get_aspect
cpp:
* Add the font infos to the text_box object
Exp-run by: antoine
PR: 24684899bd3bb02dgraphics/poppler: update to 0.88.0
Release 0.88.0:
core:
* Support Widget Annotation Buttons not linked to any Form
* SplashOuputDev: Use stroking opacity when clipping to a stroke path
* Handle 1 bit RGB images in ICC colorspace
* Internal code improvements
qt5:
* Add Document::signatures. Returns signatures not attached to any page
* ArthurOutputDev: Fix font hinting
* ArthurOutputDev: Set the opacity when filling with axial gradients
* ArthurOutputDev: Implement the clipToStrokePath method
* ArthurOutputDev: Use stroking opacity when clipping to a stroke path
glib:
* Add poppler_page_get_bounding_box
* Add poppler_form_field_get_alternate_ui_name
* Implement rotation for 'flagNoRotate' annots. Issue #767
cpp:
* Add non_raw_non_physical layout for page::text()
utils:
* pdftohtml: Fix noRoundedCoordinates->noroundcoord in man page
* pdfsig: Show also signatures that aren't attached to any page1c19339682graphics/poppler: update to 0.87.0
Release 0.87.0:
core:
* Fix crashes due to inconsistent vtables for Clang builds
* Fix leak in broken files
* Internal code improvements
qt5:
* Add option to get form choice for export value
* ArthurOutputDev: Avoid division by zero in updateLineDash. Issue #695
glib:
* Internal code improvements
utils:
* pdftohtml: Fix memory leak in HtmlOutputDev::getLinkDest
PR: 245150
Exp-run by: antoineff3b39857eUpdate poppler to 0.86.1
Release 0.86.1:
core:
* Fix regression in Browse Link handling
* Internal code improvements
Release 0.86.0:
core:
* Fix link content exfiltration attack
* Splash: Implement gouraudTriangleShadedFill for some non parametrized shadings. Issue #881
* Fix case unsensitive search for Old Hungarian, Warang Citi, Medefaidrin and Adlam
* Internal code improvements
glib:
* Automatic handle of page's cropbox on annots. Issue #129
* Fix memory leak if poppler_document_new_from_file fails
* Minor speed optimization on poppler_page_get_annot_mapping
utils:
* pdfdetach: add 'savefile' option
* pdftoppm/pdftocairo: Fix more odd/even mismatch
qt5:
* Fix loading from iodevice
PR: 244827
Exp-run by: antoine8e124cb8fbUpdate to 4.4.07fe4131ce6
Bump revision of poppler dependencies - poppler was updated in r525051, bump revisions336f10c8b0
graphics/poppler: update to 0.84.0
Release 0.84.0:
core:
* Fix crash when converting from Unicode to ASCII-7
* Splash::scaleImageYdXu: Protect against crash if srcWidth is too big
* JBIG2Stream: fix potential crash in malformed documents
* JBIG2Stream: fix leak in reset() if called several times
* Internal code improvements
utils:
* pdfimages: Add error message if first page is larger then number of pages.
* pdfinfo: Improved paper size recognition
* pdfsig: Fix exit code when dumping signatures
* pdftocairo: Error out when even/odd selects 0 pages
* pdftohtml: Fix memory leak
* pdftoppm: Add an option to scale before rotate
* pdftoppm: Add -hide-annotations option
* pdftoppm: Error out when even/odd selects 0 pages
* pdftops: Improve -optimizecolorspace
qt5:
* Code cleanups
glib:
* Fix compiler warnings
Release 0.83.0
core:
* Improve when a file is recognized as Linearized
* Improve const-ness of the code
* Make code a bit more readable/maintanable
* Fix uninitialized memory uses in broken files
utils:
* pdffonts: Make code a bit more readable/maintanable
* pdftohtml: Make code a bit more readable/maintanable
qt5:
* Remove a bunch of unused internal functions
* trUtf8 -> tr (less warnings)
build system:
* make-glib-api-docs: switch to python3
PR: 243433
Exp-run by: antoine90a4ed701agraphics/poppler: update to 0.82.0
Release 0.82.0:
core:
* Fix not being able to open some files. Issue #832
* Fix crashes in malformed files
* Fix memory leak on broken files
* Minor performance improvements
* Minor code improvements
glib:
* Add poppler_document_new_from_bytes
* PopplerAttachment: Silence deprecation warnings for ctime/mtime
build system:
* pdf-inspector: Support builddir != srcdir
* Install Cairo* headers if Cairo has been found
Thanks to adridg@ for fixing all the fallout.
Exp-run by: antoine
PR: 241532
Approved by: gnome (kwm, implicit)3ca3ffe455graphics/poppler: update to 0.81.0
Release 0.81.0:
core:
* Splash: Always enable support for CMYK rasterization
* CairoOutputDev: Check scaled dimensions for 0. Issue #737
* BaseCryptStream: Fix potential uninitialized memory read
* SplashBitmap: Fix wrong width condition for splashModeDeviceN8
* Fix crashes in malformed files
PR: 240781
Exp-run by: antoine
Approved by: gnome (kwm, implicit)f4566d704agraphics/poppler: update to 0.80.0 Release 0.80.0: core: * Annotations: Implement support for setting a different text in the appearance stream than the real text * Splash: Optionally use small_vector from boost * Fix memory leaks on broken files * Fix abort on broken files * Small code simplifications * Remove USE_FIXEDPOINT support. Issue #821 qt5: * Fix MSVC build * Add subsitute-font information * Fix since marker of some functions * Fix leak when aborting text extraction * Small code simplifications glib: * Make print scaling getter visible * Make Duplex/NumCopies/PrintPageRange preference available in API * Implement Movie API utils: * pdftotext: Add -nodiag flag to remove diagonal text on output build system: * Mark external lib include dirs as SYSTEM PR: 240176 Exp-run by: antoine Approved by: gnome (kwm, implicit)0ee39c1b52
graphics/poppler: update to 0.79.0
Release 0.79.0:
core:
* Fix regression on TextSelectionPainter
* Fix parsing of DefaultAppearance
* Fix memory leak in PostScriptFunction
* Fix crashes in fuzzed files
qt5:
* Implemented support for setIcon by changing appearance
* Added option to set the form available to print
* QString::null is deprecated, use QString()
* Replace deprecated qStableSort with std::stable_sort
build system:
* Turn README into README.md and expand it
PR: 239277
Exp-run by: antoine
Approved by: gnome (kwm, implicit)a5b210399agraphics/poppler: update to 0.78.0
Release 0.78.0:
core:
* Fix line annotation arrows for usage in dimensioning
* Handle Ink annots without an InkList but with an AP
* Fix typos preventing parsing of Movie start and duration
* Fix crash on malformed files
glib:
* Add poppler_document_create_dests_tree()
* Don't use the deprecated g_type_class_add_private()
* Document the differences between render() and render_for_printing()
* Fix introspection for poppler_document_new_from_data
* Don't create PopplerInputStream with length 0. Issue #414
* Document G_IO_ERROR as a possible error condition
* docs: Add index for API new in 0.78
build system:
* Fixes cross compilation of gir in Void Linux
* Add -Wshadow to the default warning flags
* install pkg-config pc files if pkg-config is found
PR: 238857
Exp-run by: antoine
Approved by: gnome (kwm, implicit)4d160bfcf5Update to 4.3.45378cb304e
graphics/poppler: update to 0.77.0
Release 0.77.0:
core:
* Fix crash on signature handling. Issue #766
* Fix small memory leak in SignatureHandler::getCertificateInfo
* Splash: Restrict filling of overlapping boxes. Issue #750
* Fix crash on malformed files
qt5:
* Fix optional content handling with exclusive layers
cpp:
* Make render_page thread-safe
utils:
* pdfsig: Fix small memory leak
* pdftotext: Fix typo in manpage
PR: 238115
Exp-run by: antoine
Approved by: gnome (kwm, implicit)d163307e80graphics/pdfpc: Spell LICENSE_FILE correctly22a5c07383
graphics/poppler: update to 0.76.1
From Changelog at https://poppler.freedesktop.org/releases.html :
Release 0.76.1:
core:
* Make the mul tables be calculated at compile time with constexpr.
* splash: Fix compile with SPLASH_CMYK enabled
* Some typo fixing in error messages
qt5:
* Fix regression in annotation handling
build system:
* Fix some typos in build system output and comments
Release 0.76.0:
core:
* Fix regression on case-insensitive search. Issue #743
* Remove GooList, use std::vector instead
* Fix radiobutton reporting wrong state. Issue #159
* Handle UTF16-LE strings
* Don't error out if there's no DA in FreeText annotation
* cairo: Compute correct coverage values for box filter.
* cairo: Constrain number of cycles in rescale filter.
* Read more fields from ViewerPreferences
* Introduce and use Ref::INVALID
* Fix crashes in broken files
* Fix mismatched free/delete
* Add missing include guards
utils:
* pdftohtml: Properly initialize HtmlOutputDev::page to avoid SIGSEGV upon error exit. Issue #742
All the required patches have been obtained via gentoo.
PR: 237846
Exp-run by: antoine
Approved by: kwm753388101eUpdate to 4.3.27630bb4bde
Update to 4.3.1_0d19feb57ce
Update to 4.3.05d2df0dd9c
Update to 4.2.1f83c04ea27
Update to 4.1.2 While here remove pathfix which has now become useless392c93335b
Update to 4.1.14b369c2cfc
- Fix plist Approved by: portmgr blanket26f71dedd2
Update to v4.13c862c5130
Update to 4.0.8-2bfc87df70b
Add missed PORTREVISION bumps after recent poppler update40db78cf06
Update to 4.0.775adc6e547
Update to 4.0.63f2c6cdeb6
Update to 4.0.5 Take maintainership Approved by: kwm (former maintainer)0896133f5e
Chase update of graphics/poppler (and slaves ports) in revision r43077747706eca19
Chase update of Poppler after revision r421386548adee57e
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight4e1b79a0a6Add pdfpc. pdfpc is a GTK based presentation viewer application which uses Keynote like multi-monitor output to provide meta information to the speaker during the presentation. It is able to show a normal presentation window on one screen, while showing a more sophisticated overview on the other one providing information like a picture of the next slide, as well as the left over time till the end of the presentation. The input files processed by pdfpc are PDF documents, which can be created using nearly any of today's presentation software.1fc8027955