CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

deskutils/foliate 3.3.0_2

Simple and modern GTK eBook viewer

Port info

Maintainer
fox@FreeBSD.org
Packages
latest: 3.3.0_2
Upstream
up to date
Last update
to 3.3.0_2 · f3ea14a823
Quarterly
2026Q4: 3.3.0_2
WWW
https://johnfactotum.github.io/foliate/
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install foliate
installs 3.3.0_2 from latest; from quarterly (2026Q4) 3.3.0_2
Port
# cd /usr/ports/deskutils/foliate && make install clean
# make -C /usr/ports/deskutils/foliate config  # change options first
Size
3.2 MiB download · 12 MiB installed
Depends on
accessibility/at-spi2-core 2.60.4, devel/desktop-file-utils 0.28, devel/gettext-runtime 1.0_1, devel/glib20 2.88.3,2, devel/gobject-introspection 1.86.0,1, graphics/cairo 1.18.2,3, lang/gjs 1.82.3, lang/python312 3.12.15, print/harfbuzz 14.6.0, www/webkit2-gtk 2.46.6_8, x11-toolkits/gtk40 4.20.4, x11-toolkits/libadwaita 1.8.5.1, x11-toolkits/pango 1.57.1
License
GPLv3
Options
1 of 1 on in the package: NLS

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 163.3.0_23.3.0_2–
FreeBSD 153.3.0_23.3.0_2–
FreeBSD 143.3.0_23.3.0_2✗

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 153.3.0_23.3.0_2–
FreeBSD 143.3.0_23.3.0_2✗

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 3.3.0_2.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (37)

Santhosh Raju (fox) · 3.3.0_2
deskutils/foliate: Remove the accidentally added patch file.
f3ea14a823
Santhosh Raju (fox) · 3.3.0_2
deskutils/foliate: Clean up NLS depends, add helpers

PR:		274769
Reported by:	Nuno Teixeira <eduardo@FreeBSD.org>
948c7dde75
Santhosh Raju (fox) · 3.3.0_1
deskutils/foliate: Explicity add msgfmt to build dependency.

This prevents build failures when NLS is turned off.

PR:		274769
Reported by:	Benjamin Takacs <nimaje+fbz@bureaucracy.de>
372e6fa1b7
Rene Ladan (rene) · 3.3.0_1
all: bump PORTREVISION after updating graphics/libyuv

Using the Tools/scripts/bump_revision.pl script
b304d8ab18
Santhosh Raju (fox) · 3.3.0
deskutils/foliate: Fix LIB_DEPENDS and plist entries.
8da9deb0f0
Santhosh Raju (fox) · 3.3.0
deskutils/foliate: Fix build dependencies.
e2517da27f
Santhosh Raju (fox) · 3.3.0
deskutils/foliate: Update to 3.3.0

Foliate 3.0.0 has been completely rewritten from scratch with the latest
platform libraries, GTK 4 and Adwaita.

Changes since 2.6.4:

- https://github.com/johnfactotum/foliate/releases/tag/3.3.0
- https://github.com/johnfactotum/foliate/releases/tag/3.2.1
- https://github.com/johnfactotum/foliate/releases/tag/3.2.0
- https://github.com/johnfactotum/foliate/releases/tag/3.1.1
- https://github.com/johnfactotum/foliate/releases/tag/3.1.0
- https://github.com/johnfactotum/foliate/releases/tag/3.0.1
- https://github.com/johnfactotum/foliate/releases/tag/3.0.0
50abd79a88
Charlie Li (vishwin) · 2.6.4_3
www/webkit2-gtk: bump consumer PORTREVISIONs after port consolidation

With hat: gnome
PR: 275914
bc2e3ed90b
Charlie Li (vishwin) · 2.6.4_2
www/webkit2-gtk: update to 2.46.5

Changelog: https://github.com/WebKit/WebKit/blob/webkitgtk-2.46.5/Source/WebKit/gtk/NEWS

Now consolidated into one port with flavours since the codebase is
the same, just linked with different libraries resulting in different
SONAMEs and APIs. SONAMEs/flavours:

* GTK3 + libsoup = libwebkit2gtk-4.0 (40)
* GTK3 + libsoup3 = libwebkit2gtk-4.1 (41)
* GTK4 + libsoup3 = libwebkitgtk-6.0 (60)

Despite upstream's recommendation to use clang for better skia
optimisation, this port now USE_GCC due to extensive std::pair copy
constructor use that is not trivial to continue patching to stay
working with our libc++ version 1 ABI. See review D35327 for some
details.

Reported by: eduardo
PR: 275914
Differential Revision: https://reviews.freebsd.org/D45878
9431001288
Nuno Teixeira (eduardo) · 2.6.4_2
*/*: Bump consumers of x11-toolkits/gtk30

New version of gtk3 in tree
3572ca3e01
Rene Ladan (rene) · 2.6.4_1
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
3d9a815d9c
Tobias C. Berner (tcberner) · 2.6.4_1
accessibility/at-spi2-core: update to 2.46.0

What's new in at-spi2-core 2.46.0:
* Fix GetInterfaces documentation on org.a11y.atspi.Accessible
  interface.

What's new in at-spi2-core 2.45.91:
* Send device event controller events using the same signature as other
  events.
* Document the Accessible, Action, and Cache dbus interfaces.
* Fix license of atspi-gmain.c (#87).

What's new in at-spi2-core 2.45.90:
* xml: Add some documentation.
* xml: Fix event arguments.
* xml: Add some missing DeviceEventController methods.
* Bind the AT-SPI bus to the graphical session.
* Mark bus service as belonging to the session slice.
* Add ATSPI_ROLE_PUSH_BUTTON_MENU.
* Add an "announcement" event/signal to allow objects to send
  notifications (!63).
* Various code clean-ups and test improvements.

What's new in at-spi2-core 2.45.1:
* Atk and at-spi2-atk are now merged into this project.
* Now requires meson 0.56.2 and glib 2.67.4.
* at-spi2-atk: Expose the accessible hierarchy via dbus introspection.
* Properly escape the AT-SPI bus address; fixes warnings about the address
  not containing a colon (!55).
* Add a text value to AtspiValue, so that a value can expose a textual
  description, as in the new Atk value API.
* Add atspi_event_listener_register_with_app, to allow an event listener
  to be registered only for a given application (!52).

- accessibility/atk and accessibility/at-spi2-atk have been merged into
  accessibility/at-spi2-core

- accessibility/at-spi2-core: bump consumers of removed ports atk and at-spi2-atk

PR:		269704
Exp-run by:	antoine
---
fa81a4f5f8
Stefan Eßer (se) · 2.6.4
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se) · 2.6.4
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Santhosh Raju (fox) · 2.6.4
deskutils/foliate: Update to 2.6.4

Changes since 2.6.3:

2.6.4

Changes:

  * Fixed various bugs
befa41655c
Tobias Kortkamp (tobik) · 2.6.3_1
*: apply refactor.remove-consecutive-empty-lines

Submitted by:	portedit
ce1af7fdc2
Baptiste Daroussin (bapt) · 2.6.3_1
INSTALLS_ICONS: retire the macro and rework the related dependencies

While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2c672a4de9
Tobias C. Berner (tcberner) · 2.6.3_1
gnome.mk: fix usage of GLIB_SCHEMAS in five ports

Glib schema files should be registered using the GLIB_SCHEMAS
variable provided by gnome.mk. This will add them and additionally
the required glib-schemas keyword to the plist.

The following ports were touched:

 * deskutils/foliate
 * deskutils/gnome-tweaks
 * deskutils/maliit-keyboard
 * games/swell-foop
 * textproc/ibus-m17n
421153ecce
Mathieu Arnold (mat) · 2.6.3
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat) · 2.6.3
Remove # $FreeBSD$ from Makefiles.
305f148f48
Santhosh Raju (fox) · 2.6.3
deskutils/foliate: Updates to 2.6.3

Changes since 2.6.2:

2.6.3

Changes:

  * Fixed a performance issue with zipped files (including EPUB files)
    (Stuk/jszip#716)
570a7bea99
Santhosh Raju (fox) · 2.6.2
deskutils/foliate: Updates to 2.6.2

Changes since 2.5.0:

2.6.2


  * Fix UI when running with libhandy 1.x

2.6.1


  * Fixed automatic layout

2.6.0


  * Added support for opening HTML files (#641)
  * Consistent inner and outer margins (#255)
  * The automatic layout no longer supports 4 columns (58d5e50)
  * Fixed long words overflowing (#654)
  * Fixed custom themes not saved across sessions (#660)
  * Fixed shortcuts for key pads (#677)
  * Fixed opening non-UTF-8 zipped FB2 files (#629)
  * Fixed books not opening on GNOME 40 (#689)
05476b7349
Tobias C. Berner (tcberner) · 2.5.0
deskutils/foliate: fix plist

===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: share/locale/eu/LC_MESSAGES/com.github.johnfactotum.Foliate.mo
Error: Orphaned: share/locale/nb/LC_MESSAGES/com.github.johnfactotum.Foliate.mo
Error: Orphaned: share/locale/nn/LC_MESSAGES/com.github.johnfactotum.Foliate.mo
3d723ae4ce
Santhosh Raju (fox) · 2.5.0
deskutils/foliate: Updates to 2.5.0

Changes since 2.4.2:


  * Improved support for touch screen (#591)
  * OPDS credentials can now be remembered (#569)
  * Various fixes for GNOME 3.38 (#548, #603, #608)
  * Fixed Wiktionary internal links (#577)
  * Added Basque (#579), Korean (#604), and Norwegian (#574, #575) translations
8d938c613e
Tobias Kortkamp (tobik) · 2.4.2
deskutils/foliate: Fix check-plist

===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: share/glib-2.0/schemas/com.github.johnfactotum.Foliate.gschema.xml

GLIB_SCHEMAS are auto-added to the plist.  No need to list them
twice.
833f8e33ee
Santhosh Raju (fox) · 2.4.2
deskutils/foliate: Updates to 2.4.2

Changes since 2.4.0:


  * Fixed unable to open Mobipocket files
  * Fixed unable to open some EPUB files
e4b5be9685
Santhosh Raju (fox) · 2.4.0
deskutils/foliate: Updates to 2.4.0

Changes since 2.3.0:


  * Improved metadata display
  * Improved FictionBook rendering
  * Improved UI for acquiring books from OPDS (#404, #405)
  * Fixed unique identifier extraction for EPUB files
  * Fixed missing window icon (#456)
  * Fixed TTS environment variables not set when using Flatpak
  * Fixed eSpeak NG voice not selected when testing TTS configuration
  * Fixed wrong __ibooks_internal_theme attribute when "Invert" is
    enabled

Technical changes:

  * Foliate no longer depends on libsoup (gir1.2-soup-2.4 on Debian based
    distributions). Previously, it was an optional dependency for opening
    remote files.
7fb2ce343f
Santhosh Raju (fox) · 2.3.0
deskutils/foliate: Updates to 2.3.0

Changes since 2.2.1:

OPDS catalogs:

  * Catalogs are now opened in the main library window (#403)
  * View current location
  * Go to catalog start page
  * Reload catalog
  * Add current feed to catalogs
  * HTTP authentication support (#421)

Other changes:

  * Fixed unique identifier extraction for FictionBook (.fb2, .fb2.zip)
    files (#462)
  * Fixed newlines being ignored when copying text (#463)
  * "Turn page on tap" is now disabled in non-paginated layouts (#464)
  * Opening a book from the library view now closes the library window (#446)
  * Language and publication dates in metadata are now parsed and formatted
  * Export annotations from the library view

Technical changes:

  * New optional dependency iso-codes (>= 3.67), which provides display
    names for languages and regions. It is highly recommended to install
    this dependency.
  * Flag emojis are now displayed for books whose language property contains
    a country/region code. For the best experience, an emoji font should be
    installed.
bbc0206cc8
Santhosh Raju (fox) · 2.2.1
deskutils/foliate: Updates to 2.2.1

Changes since 2.2.0:


  * Fixed blurry book covers on HiDPI
  * Fixed OPDS links to Standard Ebooks and Project Gutenberg
  * Fixed wrong view icon on startup
621b2c22a4
Santhosh Raju (fox) · 2.2.0
deskutils/foliate: Updates to 2.2.0

- Updates and documents a patch.

Changes since 2.1.1:

Library:

  * A library view showing recent books and reading progress (#119)
  * Search books by metadata
  * E-book discovery with OPDS (#6, #253)

New supported formats:

  * FictionBook (.fb2, .fb2.zip) (#128)
  * Comic book archive (.cbr, .cbz, .cbt, .cb7) (#254)
  * Plain text (.txt) (#226)
  * Unpacked EPUB files

Layout:

  * Option to set maximum page width (#192)
  * The "Automatic" layout will now show four columns when the page width is
    wide (#257)

Image viewer:

  * Improved image viewer, with new shortcuts and the ability to rotate (#299)
    and invert images
  * Option to disable image viewer, or to open images on double, middle, or
    right click (#315)

Text-to-speech:

  * Improved text-to-speech configuration UI
  * Ability to set text-to-speech voice based on book language (#134)

Annotations

  * Import annotations from JSON
  * Search in annotations
  * Annotations are now sorted in the same order as they appear in the book (#318)


  * "Allow Unsafe Content" now only enables JavaScript; external content will no
    longer be loaded. This is an important security fix. If you are running an
    old version of Foliate and cannot upgrade, you should disable "Allow Unsafe
    Content".
  * WebKit processes are now sandboxed

Other featues and fixes:

  * Improved support for vertical and right-to-left books
  * Support for StarDict dictionaries (#302) (requires new optional dependency
    sdcv)
  * Fixed current location not preserved when resizing (#152, #204)
  * Fixed auto-hiding header bar under some themes (#316)
  * Command-line options for showing version and adding books to library
  * Option to clear or disable cache
  * When an HTML page contains invalid self-closing anchor tags, it is now
    parsed as XHTML (#275, #288)

Technical changes:

  * Foliate now stores file locations in
    ~/.local/share/com.github.johnfactotum.Foliate/library/uri-store.json, and
    saves book covers to ~/.cache/com.github.johnfactotum.Foliate. Both can be
    disabled.
  * New optional dependency tracker (gir1.2-tracker-2.0 on Debian based
    distributions), which can be used to get file locations.
  * New optional dependency libhandy (gir1.2-handy-0.0). It's not absolutely
    required, but installing it would make the experience better on larger as
    well as smaller screens.
  * To open remote files, Foliate now optionally depends on libsoup
    (gir1.2-soup-2.4).

Foliate now bundles two additional libraries:

  * libarchivejs, which is MIT licensed. It is a WASM port of the popular
    libarchive C library.
  * crypto-js, which is MIT licensed. The MD5 module is used to generate
    identifiers for files that don't have unique identifiers.
90c3c4f598
Santhosh Raju (fox) · 2.1.1_1
deskutils/foliate: Fix the desktop shortcut.

Bump the PORTREVISION.

PR:		245489
Reported by:	Patricio Villar <patovm04@gmail.com>
2950e685b5
Santhosh Raju (fox) · 2.1.1
deskutils/foliate: Updates to 2.1.1

Changes since 2.1.0:

Fixes:

   * Fixed wrong version number
   * Fixed dictionary, translation, and Wikipedia not working in the Snap
     package (#284)
5444235728
Santhosh Raju (fox) · 2.1.0
deskutils/foliate: Updates to 2.1.0

Changes since 2.0.0:

New features:

   * New and improved icon (#268)
   * Option to disable turn page on tap (#270)
   * A menu on the welcome screen for opening recent files (#69)
   * Restored shortcuts for showing ToC, annotations, and bookmarks

Fixes:

   * Fixed application not translated (#274)
fc1f819e46
Santhosh Raju (fox) · 2.0.0
deskutils/foliate: Updates to 2.0.0

Changes since 1.5.3:

Interface:

    * A redesigned interface that works better for smaller screens (#176)
    * Improved fullscreen mode with an overlaid headerbar (#4)
    * The headerbar and the progress bar now auto-hide, for a distraction-free
      reading experience
    * Various location information, as well as a clock, can now be displayed in
      the footer (#175, #233)
    * A new location popover (Ctrl + L) that shows reading time estimates and
      allows skipping to locations (#155)
    * E-reader style navigation: go to the previous or next page by tapping on
      the left or right part of the view; tap on the middle to toggle header bar
      and progress bar
    * Annotations, bookmarks, and find results now show chapter titles (#162)
    * When looking up words in dictionaries, the query can now be edited (#156)
    * New shortcut for viewing metadata (Ctrl + I) and preferences (Ctrl + ,)
    * A new traditional menubar, which may be displayed depending on the desktop
      environment
    * Option to use a traditional titlebar and menubar instead of a headerbar
      (experimental)

Reading:

    * Continuous scrolling layout
    * Option to show decorative shadows that mimic the appearance of a real book
    * Ability to zoom in and zoom out (#117)
    * Improved image viewer with "save as" option
    * Open copies of a book in new windows (Ctrl + N)
    * Reload book (Ctrl + R)
    * New built-in themes: Gray, Solarized, Gruvbox, Nord

Text selection:

    * Ability to select text across pages
    * Find selected text in book
    * Speak selected text or from the selected location (#141)

Annotations:

    * Spellcheck notes (requires new optional dependency "gspell")
    * Export annotations to Markdown (#180)
    * Options to use custom colors for highlights

For publishers and developers:

    * Support for Apple Books theme attribute, which allows books to detect
      themes without JavaScript (#178)
    * WebKit's developer tools can be enabled

Breaking changes:

    * The settings schemas has been reorganized
    * The format for custom themes has changed
    * Locations are now 1024 characters in size

Bug fixes:

    * Fixed not restoring exact last location
    * Fixed navigation not working with scrolled layout
    * Fixed font size not changing when the book uses absolute-size keywords
      (#173)
    * Fixed text cut off at margin edge (#177)
    * Fixed unable to open books with "#" or "?" in the file name
caa1589515
Tobias Kortkamp (tobik) · 1.5.3
deskutils/foliate: Fix check-plist

GLIB_SCHEMAS already appends the schemas to the plist.
cfdb40325d
Tobias Kortkamp (tobik) · 1.5.3
Drop nop INSTALLATION_DIRS pkgsrcism
cdcf27e665
Santhosh Raju (fox) · 1.5.3
Add deskutils/foliate 1.5.3.

Foliate is a simple and modern GTK eBook viewer, built with GJS and
Epub.js.

WWW: https://johnfactotum.github.io/foliate/

Approved by:	philip (mentor)
f53f8bdb4e