head	1.58;
access;
symbols
	pkgsrc-2026Q2:1.55.0.2
	pkgsrc-2026Q2-base:1.55
	pkgsrc-2026Q1:1.54.0.2
	pkgsrc-2026Q1-base:1.54
	pkgsrc-2025Q4:1.52.0.2
	pkgsrc-2025Q4-base:1.52
	pkgsrc-2025Q3:1.51.0.2
	pkgsrc-2025Q3-base:1.51
	pkgsrc-2025Q2:1.50.0.2
	pkgsrc-2025Q2-base:1.50
	pkgsrc-2025Q1:1.47.0.2
	pkgsrc-2025Q1-base:1.47
	pkgsrc-2024Q4:1.46.0.2
	pkgsrc-2024Q4-base:1.46
	pkgsrc-2024Q3:1.41.0.4
	pkgsrc-2024Q3-base:1.41
	pkgsrc-2024Q2:1.41.0.2
	pkgsrc-2024Q2-base:1.41
	pkgsrc-2024Q1:1.38.0.4
	pkgsrc-2024Q1-base:1.38
	pkgsrc-2023Q4:1.38.0.2
	pkgsrc-2023Q4-base:1.38
	pkgsrc-2023Q3:1.34.0.2
	pkgsrc-2023Q3-base:1.34
	pkgsrc-2023Q2:1.33.0.2
	pkgsrc-2023Q2-base:1.33
	pkgsrc-2023Q1:1.32.0.2
	pkgsrc-2023Q1-base:1.32
	pkgsrc-2022Q4:1.29.0.2
	pkgsrc-2022Q4-base:1.29
	pkgsrc-2022Q3:1.28.0.2
	pkgsrc-2022Q3-base:1.28
	pkgsrc-2022Q2:1.26.0.2
	pkgsrc-2022Q2-base:1.26
	pkgsrc-2022Q1:1.25.0.2
	pkgsrc-2022Q1-base:1.25
	pkgsrc-2021Q4:1.23.0.2
	pkgsrc-2021Q4-base:1.23
	pkgsrc-2021Q3:1.21.0.4
	pkgsrc-2021Q3-base:1.21
	pkgsrc-2021Q2:1.21.0.2
	pkgsrc-2021Q2-base:1.21
	pkgsrc-2021Q1:1.19.0.2
	pkgsrc-2021Q1-base:1.19
	pkgsrc-2020Q4:1.18.0.2
	pkgsrc-2020Q4-base:1.18
	pkgsrc-2020Q3:1.15.0.2
	pkgsrc-2020Q3-base:1.15
	pkgsrc-2020Q2:1.12.0.2
	pkgsrc-2020Q2-base:1.12
	pkgsrc-2020Q1:1.4.0.2
	pkgsrc-2020Q1-base:1.4
	pkgsrc-2019Q4:1.1.0.4
	pkgsrc-2019Q4-base:1.1;
locks; strict;
comment	@# @;


1.58
date	2026.09.02.19.04.08;	author wiz;	state Exp;
branches;
next	1.57;
commitid	vXszxoxOqka005UG;

1.57
date	2026.09.02.08.20.42;	author fox;	state Exp;
branches;
next	1.56;
commitid	bZrqEDNHVCBss1UG;

1.56
date	2026.09.01.21.28.14;	author fox;	state Exp;
branches;
next	1.55;
commitid	NZy7oKQvVAYNQXTG;

1.55
date	2026.06.11.07.17.34;	author wiz;	state Exp;
branches;
next	1.54;
commitid	bVZL3OdakDMSLlJG;

1.54
date	2026.01.27.08.40.26;	author wiz;	state Exp;
branches;
next	1.53;
commitid	f4MYtJVcsY7dz0sG;

1.53
date	2026.01.07.08.48.34;	author wiz;	state Exp;
branches;
next	1.52;
commitid	1wQ3ICD8eebefrpG;

1.52
date	2025.10.23.20.38.59;	author wiz;	state Exp;
branches;
next	1.51;
commitid	1V2hBZn9ypXaCJfG;

1.51
date	2025.08.30.22.46.09;	author wiz;	state Exp;
branches;
next	1.50;
commitid	2izPxU30rhec4O8G;

1.50
date	2025.04.24.14.15.33;	author wiz;	state Exp;
branches;
next	1.49;
commitid	A3VBjL8Zdd4LljSF;

1.49
date	2025.04.19.07.58.17;	author wiz;	state Exp;
branches;
next	1.48;
commitid	8J0gu7BGAw8XqDRF;

1.48
date	2025.04.17.21.52.09;	author wiz;	state Exp;
branches;
next	1.47;
commitid	xcIXAVA292fk6sRF;

1.47
date	2024.12.27.08.20.32;	author wiz;	state Exp;
branches;
next	1.46;
commitid	tLKuqVS8lkJCb7DF;

1.46
date	2024.11.17.07.16.35;	author wiz;	state Exp;
branches;
next	1.45;
commitid	xKvmQYB52TGx7YxF;

1.45
date	2024.11.14.22.21.23;	author wiz;	state Exp;
branches;
next	1.44;
commitid	JmuDYqwL4erbdFxF;

1.44
date	2024.11.01.12.54.08;	author wiz;	state Exp;
branches;
next	1.43;
commitid	QB4Wk02mZPuBuWvF;

1.43
date	2024.11.01.00.53.22;	author wiz;	state Exp;
branches;
next	1.42;
commitid	QT27BdVP362gvSvF;

1.42
date	2024.10.20.14.04.28;	author wiz;	state Exp;
branches;
next	1.41;
commitid	iXiXTiwhLpC9hpuF;

1.41
date	2024.05.29.16.34.09;	author adam;	state Exp;
branches;
next	1.40;
commitid	n8aFyEjEVZA0JUbF;

1.40
date	2024.04.07.07.34.52;	author wiz;	state Exp;
branches;
next	1.39;
commitid	oMYDjdZchby5qb5F;

1.39
date	2024.04.06.08.06.33;	author wiz;	state Exp;
branches;
next	1.38;
commitid	xuM7fEJrv2TOC35F;

1.38
date	2023.11.14.14.02.44;	author wiz;	state Exp;
branches;
next	1.37;
commitid	BZ5vzwBRof1beAME;

1.37
date	2023.11.12.13.23.17;	author wiz;	state Exp;
branches;
next	1.36;
commitid	SjpNXQIV5XeZ3kME;

1.36
date	2023.11.08.13.20.41;	author wiz;	state Exp;
branches;
next	1.35;
commitid	PsuHTklAIsF4bOLE;

1.35
date	2023.10.21.17.11.17;	author gdt;	state Exp;
branches;
next	1.34;
commitid	Sr0Nb6aaZLDw2wJE;

1.34
date	2023.08.14.05.25.06;	author wiz;	state Exp;
branches;
next	1.33;
commitid	LOSB79OLVxvXjIAE;

1.33
date	2023.04.19.08.11.18;	author adam;	state Exp;
branches;
next	1.32;
commitid	B8gCWhWtMX9vZGlE;

1.32
date	2023.01.29.21.17.35;	author ryoon;	state Exp;
branches;
next	1.31;
commitid	QL7aBXsBGmQvUtbE;

1.31
date	2023.01.03.17.38.06;	author wiz;	state Exp;
branches;
next	1.30;
commitid	vvAqE6UmuqFFx78E;

1.30
date	2023.01.02.00.11.22;	author wiz;	state Exp;
branches;
next	1.29;
commitid	pspe4xrUm1TdNT7E;

1.29
date	2022.11.23.16.20.57;	author adam;	state Exp;
branches;
next	1.28;
commitid	ju2K3LUYlTJKqQ2E;

1.28
date	2022.08.11.05.09.12;	author gutteridge;	state Exp;
branches;
next	1.27;
commitid	yKydzoO42ClN3qPD;

1.27
date	2022.06.30.11.18.45;	author nia;	state Exp;
branches;
next	1.26;
commitid	AhctUV91Vubws3KD;

1.26
date	2022.04.18.19.11.56;	author adam;	state Exp;
branches;
next	1.25;
commitid	eC9Na3jrfOOUpIAD;

1.25
date	2022.03.13.04.19.03;	author gutteridge;	state Exp;
branches;
next	1.24;
commitid	KdPs1DkyVRBBD0wD;

1.24
date	2022.01.16.04.52.09;	author fox;	state Exp;
branches;
next	1.23;
commitid	u3guuXSr3md7DOoD;

1.23
date	2021.12.08.16.06.13;	author adam;	state Exp;
branches;
next	1.22;
commitid	2PyWjHx5T8rqARjD;

1.22
date	2021.11.15.22.54.27;	author wiz;	state Exp;
branches;
next	1.21;
commitid	IwFN8B1K5bPMBWgD;

1.21
date	2021.04.21.11.42.32;	author adam;	state Exp;
branches;
next	1.20;
commitid	fph0Axs0eT3az9QC;

1.20
date	2021.04.03.02.24.00;	author fox;	state Exp;
branches;
next	1.19;
commitid	2M3bHAdMimA34NNC;

1.19
date	2021.03.27.08.18.29;	author fox;	state Exp;
branches;
next	1.18;
commitid	6NkvxhQamsPNfVMC;

1.18
date	2020.12.04.20.45.37;	author nia;	state Exp;
branches;
next	1.17;
commitid	FPz71MqRX3WN0tyC;

1.17
date	2020.11.05.09.08.59;	author ryoon;	state Exp;
branches;
next	1.16;
commitid	VqGaBtHnBBcd5GuC;

1.16
date	2020.10.15.16.10.23;	author fox;	state Exp;
branches;
next	1.15;
commitid	utKGYpmpZ84x61sC;

1.15
date	2020.08.17.20.19.55;	author leot;	state Exp;
branches;
next	1.14;
commitid	ybGS4iX9Fz8imskC;

1.14
date	2020.07.07.01.28.05;	author fox;	state Exp;
branches;
next	1.13;
commitid	ycPI4WCu53O8r5fC;

1.13
date	2020.07.03.12.18.12;	author fox;	state Exp;
branches;
next	1.12;
commitid	pUF91aMPyAWQ9DeC;

1.12
date	2020.06.21.22.35.42;	author fox;	state Exp;
branches;
next	1.11;
commitid	4zodNiS8wQLRX8dC;

1.11
date	2020.06.08.18.41.02;	author fox;	state Exp;
branches;
next	1.10;
commitid	ZiEj4vQ5Clgk5sbC;

1.10
date	2020.06.02.08.24.38;	author adam;	state Exp;
branches;
next	1.9;
commitid	nisovMpvvZm3RCaC;

1.9
date	2020.05.30.00.01.58;	author fox;	state Exp;
branches;
next	1.8;
commitid	SQCwtyqsJPKgbcaC;

1.8
date	2020.04.12.08.29.08;	author adam;	state Exp;
branches;
next	1.7;
commitid	7jZFLCnc3RCww44C;

1.7
date	2020.04.09.12.40.20;	author fox;	state Exp;
branches;
next	1.6;
commitid	Fr3Rb6jLlzp21I3C;

1.6
date	2020.04.08.23.22.48;	author fox;	state Exp;
branches;
next	1.5;
commitid	5TCaI8HjTMOuBD3C;

1.5
date	2020.04.06.14.15.47;	author fox;	state Exp;
branches;
next	1.4;
commitid	CgdIFgGOHcYPDk3C;

1.4
date	2020.03.10.22.10.51;	author wiz;	state Exp;
branches;
next	1.3;
commitid	UV3Ncm9kwd8O7UZB;

1.3
date	2020.03.08.16.51.03;	author wiz;	state Exp;
branches;
next	1.2;
commitid	rcNYzTQo8icypCZB;

1.2
date	2020.02.29.15.53.24;	author rhialto;	state Exp;
branches;
next	1.1;
commitid	xIP1D0jsEL4TmAYB;

1.1
date	2019.10.12.13.45.20;	author fox;	state Exp;
branches;
next	;
commitid	6zlrp7uL2LN8aAGB;


desc
@@


1.58
log
@*: recursive bump for pcre2 10.48
@
text
@# $NetBSD: Makefile,v 1.57 2026/09/02 08:20:42 fox Exp $

DISTNAME=	foliate-3.3.0
PKGREVISION=	1
CATEGORIES=	print
MASTER_SITES=	${MASTER_SITE_GITHUB:=johnfactotum/}
EXTRACT_USING=	bsdtar

MAINTAINER=	fox@@NetBSD.org
COMMENT=	Simple and modern GTK eBook viewer
HOMEPAGE=	https://johnfactotum.github.io/foliate/
LICENSE=	gnu-gpl-v3

USE_TOOLS+=	pkg-config msgfmt xgettext

DEPENDS+=	gjs>=1.82.0:../../lang/gjs

GITHUB_SUBMODULES=	johnfactotum foliate-js 052123beafed921a9a2a45ef6330c235289a634e src/foliate-js

GLIB_SCHEMAS=	com.github.johnfactotum.Foliate.gschema.xml

INSTALLATION_DIRS+=	libexec/foliate

.include "../../devel/gettext-tools/msgfmt-desktop.mk"
.include "../../devel/meson/build.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/glib2/schemas.mk"
BUILDLINK_API_DEPENDS.libadwaita+=	libadwaita>=1.8
.include "../../devel/libadwaita/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/python/application.mk"
BUILDLINK_API_DEPENDS.webkit-gtk60+=	webkit-gtk60>=2.40.1
.include "../../www/webkit-gtk60/buildlink3.mk"
.include "../../lang/gjs/buildlink3.mk"
.include "../../x11/gtk4/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.57
log
@print/foliate: fix the DEPENDS line.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.56 2026/09/01 21:28:14 fox Exp $
d4 1
@


1.56
log
@print/foliate: Update to 3.3.0

Changes since 2.6.4:

3.3.0

  * Updated for GNOME 48
  * Added support for mouse forward/backward buttons (#1474)
  * Improved text wrapping in headings
  * Improved default link style

3.2.1

  * Fixed tables not displayed in FB2 books (#1445)
  * Updated translations

3.2.0

  * Revamped translation tool, which now remembers the last target
    language (#1159), and allows filtering languages
  * Improved PDF support: the rendering is faster and no longer blurry
  * Improved rendering of fixed layout EPUBs (see comments in #1318)
  * Improved focus handling: the focus is no longer lost when
    navigating to new sections, and tabbing no longer breaks layout
  * Improved text selection across pages, allowing selecting to the
    previous page
  * It now only shows more than one column when the viewport is in
    landscape (or, for vertical writing, in portrait)
  * Changed shortcut for the table of contents from Ctrl+Alt+T to
    Ctrl+T (#1316)
  * Added Space/Shift+Space shortcuts for turning pages (#1336)
  * Added option to open books with external application from the
    library view (#1372)
  * Fixed formatting of copied text (#1191)
  * Fixed extra border in CBZ files (#1421)
  * Fixed handling of bare search template URL in OPDS feeds (#1401)

3.1.1

  * Fixed end of chapter cut off when chapter starts with page break
    (#1179)
  * Fixed incorrect text wrapping in tables (#1278)
  * Fixed a performance issue with OPDS catalogs (#1287)

3.1.0

  * Added support for OPDS catalogs, now with support for OPDS 2.0
  * Added option to override publisher font (#1113)
  * Added option to reduce animation (#1161)
  * Added support for JPEG XL in CBZ (#1193)
  * Fixed getting file from Tracker in Flatpak
  * Fixed parsing of non-year-only first-century and BCE dates

3.0.1

Foliate with a custom theme, using a gradient as the background. In
the previous version, the sidebar can only be themed if the background
is a solid color. This is now fixed in v3.0.1.

  * Updated translations
  * Fixed desktop entry (#1109) and AppData (#1114)
  * Fixed broken layout for some books (#1122)
  * Fixed chromatic abberation in invert mode (#1137)
  * Fixed sidebar background (pictured)

3.0.0

Foliate has been completely rewritten from scratch with the latest
platform libraries, GTK 4 and Adwaita, with refreshed interface and
improved performance. It now has its own e-book parser and renderer,
and no longer uses Epub.js and KindleUnpack.

Some features could not be ported in time. Most notably, this version
has no support for OPDS catalogs and offline dictionaries.

UI changes:

  * The library and the e-book viewer are unified in a single window
    (#509)
  * The library now loads more books as you scroll, no longer requiring
    clicks to load more items (#583).
  * Table of contents, annotations, bookmarks are now in a sidebar,
    which is docked to the side by default, but can also be set to be
    always folded (overlaid on top of content when revealed)
  * The "Add Bookmark" button is moved to the header bar, and the page
    will show a ribbon when bookmarked (#863)
  * Removed "turn page on tap"; use swiping instead
  * Removed option for skeuomorphic shadows
  * Removed experimental traditional titlebar option

Book rendering:

  * It no longer loads the entire file into memory, greatly reducing
    startup time and memory usage, and it no longer loads every item in
    the TOC, further improving startup time (#526, #813)
  * Reloading now properly reloads the file, rather than merely
    re-rendering (#544)
  * Mobipocket and Kindle files are no longer extracted on disk; they
    are processed entirely in memory
  * Mobipocket files are now divided into sections at `<mbp:pagebreak>`
    tags, which greatly improves performance as it no longer requires
    rendering the whole book at once (#764). Unfortunately this also
    means existing annotations for this format will not be displayed
    correctly.
  * When a page is not valid XHTML, it will be processed as HTML (#699)
  * It no longer tries to override fonts with CSS. Instead, you can now
    configure the default serif, sans-serif, and monospace fonts
    (#222), as well as setting the minimum font size (#906).
  * Added support for obfuscated fonts (#721)
  * Added support for user stylesheet (#947)
  * FB2: fixed infinite recursion bug (#935) and comments are now
    correctly ignored (#972)
  * Added experimental support for PDF files (#139)
  * Removed support for CBR, CBT, and CB7 files (CBZ is still
    supported)

Layout:

  * Paginated mode now has animation and 1:1 touchscreen and touchpad
    swipe gestures (#188, #862)
  * Paginated mode supports more than two columns. The number of
    columns is controlled by a maximum width setting. As the window
    gets wider, it will add more columns to prevent lines from getting
    too long.
  * Margins are now relative to the viewport size
  * It is now possible to configure both max width and max height.
  * The page reflows faster when resizing, and reliably stays at the
    same location without flashing (#459)
  * Switching between paginated and scrolled layouts is faster and can
    be done with a shortcut (Ctrl+M)
  * Removed continuous scrolling mode, as the new renderer does not
    support it (yet)

Locations:

  * Locations are now calculated from raw byte size instead of
    character count. The progress slider and reading time estimates are
    available instantly when you first open a book, and locations are
    no longer cached. Old .json files in the cache directory can be
    deleted.
  * The progress slider now turns pages as you drag, and can be used
    with keyboard and mouse wheel (#386)
  * Page-list and landmarks are now supported and can be accessed from
    the location popover

Find in book:

  * Results are now shown in the sidebar (#674)
  * Added option to ignore diacritics (#778) and to match whole words
    only
  * Added shortcuts for going to next and previous matches (Ctrl+G and
    Ctrl+Shift+G) (#693)

Image viewer:

  * Images are opened with double click by default; removed options for
    single, right, and middle click
  * Images are now copied and saved in their original format
    (previously, they were always converted to PNG)

Narration:

  * Text-to-speech now uses Speech Dispatcher, and supports pausing,
    skipping, word highlighting, SSML, and speed and pitch controls
    (#829)
  * Added support for EPUB Media Overlays

Copying:

  * Selected text can now be copied with HTML formatting (#954)
  * Added "Copy with Citation", which adds the author and title info to
    the copied text, (#445)
  * Added "Copy Identifier", which copies the CFI of the text fragment
    (#998)

Security:

  * The WebView no longer has unlimited file access (#391)
  * Flatpak: removed sandbox escape permission.

Other changes:

  * Added underline option for annotations (#378)
  * Annotations are now saved with timestamps (#1048)
  * Added the ability to print chapters and selections (#430)
  * WebKit's inspector is always enabled, and can be accessed from the
    menu, or by pressing F12

Technical changes:

  * The executable has been renamed to `foliate`. Previously it was
    `com.github.johnfactotum.Foliate`.
  * Platform libraries
    - Minimum version for GJS is now 1.76
    - It requires GTK >= 4.12 and WebKitGTK 6.0
    - It requires `libadwaita` (previously, it optionally depended on
      `libhandy`)
    - It no longer depends on `iso-code`, as locales are now handled
      with the `Intl` API in GJS
    - `gspell` is no longer an optional dependency, as it doesn't work
      with GTK 4
    - It no longer depends on Python (previously, it optionally
      required it for running KindleUnpack)
  * JavaScript libraries
    - JavaScript libraries are now built from NPM (#460)
    - It bundles zip.js instead of JSZip
    - It bundles fflate and uses it to decompress fonts for Kindle
      files
    - It no longer bundles libarchive.js
    - It no longer bundles crypto-js. Checksum is now generated by
      GLib.

Note: Don't download the source .zip or .tar.gz from GitHub. Those
don't include submodules and don't work. To download the source code,
use:

  git clone --recurse-submodules https://github.com/johnfactotum/foliate.git
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.55 2026/06/11 07:17:34 wiz Exp $
d15 1
a15 1
RUN_DEPENDS+=	gjs>=1.82.0:../../lang/gjs
@


1.55
log
@gtk3: bump PKGREVISION for wayland option default change

Recursive bump to hopefully fix bulk build fallout due to the
unversioned change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2026/01/27 08:40:26 wiz Exp $
d3 1
a3 2
DISTNAME=	foliate-2.6.4
PKGREVISION=	30
d15 1
a15 1
DEPENDS+=	gjs>=1.52.0:../../lang/gjs
d17 1
a17 5
SUBST_CLASSES+=		pyvers
SUBST_MESSAGE.pyvers=	Substitute the correct python version.
SUBST_STAGE.pyvers=	pre-configure
SUBST_FILES.pyvers=	src/epubView.js
SUBST_VARS.pyvers+=	PYVERSSUFFIX
d19 1
a19 2
REPLACE_PYTHON+=	build-aux/meson/postinstall.py
REPLACE_PYTHON+=	src/assets/KindleUnpack/*.py
a22 9
pre-install:
	${RM} -f ${WRKSRC}/src/assets/KindleUnpack/*.orig

post-install:
	${MV} ${DESTDIR}${PREFIX}/bin/com.github.johnfactotum.Foliate \
		${DESTDIR}${PREFIX}/libexec/foliate/com.github.johnfactotum.Foliate
	${LN} -s -f ${DESTDIR}${PREFIX}/libexec/foliate/com.github.johnfactotum.Foliate \
		${DESTDIR}${PREFIX}/bin/foliate

d27 2
d31 4
a34 2
BUILDLINK_API_DEPENDS.webkit-gtk+=	webkit-gtk>=2.24.0
.include "../../www/webkit-gtk/buildlink3.mk"
@


1.54
log
@*: recursive bump for removal of cairo's xcb option
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2026/01/07 08:48:34 wiz Exp $
d4 1
a4 1
PKGREVISION=	29
@


1.53
log
@*: recursive bump for icu 78.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2025/10/23 20:38:59 wiz Exp $
d4 1
a4 1
PKGREVISION=	28
@


1.52
log
@*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2025/08/30 22:46:09 wiz Exp $
d4 1
a4 1
PKGREVISION=	27
@


1.51
log
@*: recursive bump for tiff growing lerc dependency
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2025/04/24 14:15:33 wiz Exp $
d4 1
a4 1
PKGREVISION=	26
@


1.50
log
@*: recursive bump for jpeg -> libjpeg-turbo switch
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2025/04/19 07:58:17 wiz Exp $
d4 1
a4 1
PKGREVISION=	25
@


1.49
log
@*: recursive bump for default Kerberos implementation switch
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2025/04/17 21:52:09 wiz Exp $
d4 1
a4 1
PKGREVISION=	24
@


1.48
log
@*: recursive bump for icu 77 and libxml2 2.14
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2024/12/27 08:20:32 wiz Exp $
d4 1
a4 1
PKGREVISION=	23
@


1.47
log
@*: recursive bump for pango requiring fontconfig 2.15
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2024/11/17 07:16:35 wiz Exp $
d4 1
a4 1
PKGREVISION=	22
@


1.46
log
@*: recursive bump for default-on option of at-spi2-core
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2024/11/14 22:21:23 wiz Exp $
d4 1
a4 1
PKGREVISION=	21
@


1.45
log
@*: recursive bump for icu 76 shlib major version bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2024/11/01 12:54:08 wiz Exp $
d4 1
a4 1
PKGREVISION=	20
@


1.44
log
@*: revbump for icu downgrade
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2024/11/01 00:53:22 wiz Exp $
d4 1
a4 1
PKGREVISION=	19
@


1.43
log
@*: recursive bump for icu 76.1 shlib bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2024/10/20 14:04:28 wiz Exp $
d4 1
a4 1
PKGREVISION=	18
@


1.42
log
@*: recursive bump for merging at-spi2-atk and atk into at2-spi-core

Remove at-spi2-atk and atk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2024/05/29 16:34:09 adam Exp $
d4 1
a4 1
PKGREVISION=	17
@


1.41
log
@revbump after icu and protobuf updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2024/04/07 07:34:52 wiz Exp $
d4 1
a4 1
PKGREVISION=	16
@


1.40
log
@*: bump for cairo buildlink3.mk change

lzo was made an option
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2024/04/06 08:06:33 wiz Exp $
d4 1
a4 1
PKGREVISION=	15
@


1.39
log
@* recursive bump for libxkbcommon 1.7.0

Marc Baudoin reported problems with using old binary packages
with the new libkxbcommon, so force everything to 1.7.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2023/11/14 14:02:44 wiz Exp $
d4 1
a4 1
PKGREVISION=	14
@


1.38
log
@*: recursive bump for cairo dependency changes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2023/11/12 13:23:17 wiz Exp $
d4 1
a4 1
PKGREVISION=	13
@


1.37
log
@*: revebump for new brotli option for freetype2

Addresses PR 57693
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2023/11/08 13:20:41 wiz Exp $
d4 1
a4 1
PKGREVISION=	12
@


1.36
log
@*: recursive bump for icu 74.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2023/10/21 17:11:17 gdt Exp $
d4 1
a4 1
PKGREVISION=	11
@


1.35
log
@recursive revbump for tiff update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2023/08/14 05:25:06 wiz Exp $
d4 1
a4 1
PKGREVISION=	10
@


1.34
log
@*: recursive bump for Python 3.11 as new default
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2023/04/19 08:11:18 adam Exp $
d4 1
a4 1
PKGREVISION=	9
@


1.33
log
@revbump after textproc/icu update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2023/01/29 21:17:35 ryoon Exp $
d4 1
a4 1
PKGREVISION=	8
@


1.32
log
@*: Recursive revbup from graphics/freetype2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2023/01/03 17:38:06 wiz Exp $
d4 1
a4 1
PKGREVISION=	7
@


1.31
log
@*: recursive bump for tiff shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2023/01/02 00:11:22 wiz Exp $
d4 1
a4 1
PKGREVISION=	6
@


1.30
log
@*: bump PKGREVISION for libsoup (2) library version bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2022/11/23 16:20:57 adam Exp $
d4 1
a4 1
PKGREVISION=	5
@


1.29
log
@massive revision bump after textproc/icu update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2022/08/11 05:09:12 gutteridge Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.28
log
@Bump all dependent packages of wayland (belatedly)

The package changed with the addition of its libepoll-shim dependency.
Otherwise, we can get:
ERROR: libepoll-shim>=0.0.20210418 is not installed; can't buildlink files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2022/06/30 11:18:45 nia Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.27
log
@*: Revbump packages that use Python at runtime without a PKGNAME prefix
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2022/04/18 19:11:56 adam Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.26
log
@revbump for textproc/icu update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2022/03/13 04:19:03 gutteridge Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.25
log
@foliate: replace msgfmt override block with msgfmt-desktop.mk

(This expressed the same intended msgfmt override in a different way
than any other package, and so was missed in nia@@'s bulk change.)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2022/01/16 04:52:09 fox Exp $
d4 1
@


1.24
log
@print/foliate: Update to 2.6.4

Changes since 2.6.3:

2.6.4

Changes:

  * Fixed various bugs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2021/12/08 16:06:13 adam Exp $
a22 3
# Fails without GNU msgfmt
USE_BUILTIN.gettext=	no

d37 1
@


1.23
log
@revbump for icu and libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2021/11/15 22:54:27 wiz Exp $
d3 1
a3 2
DISTNAME=	foliate-2.6.3
PKGREVISION=	3
@


1.22
log
@*: recursive bump for gstreamer 1.18.5
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2021/04/21 11:42:32 adam Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.21
log
@revbump for textproc/icu
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2021/04/03 02:24:00 fox Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.20
log
@print/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)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2021/03/27 08:18:29 fox Exp $
d4 1
@


1.19
log
@print/foliate: Updates to 2.6.2

Changes since 2.5.0:

2.6.2

Changes:

  * Fix UI when running with libhandy 1.x

2.6.1

Changes:

  * Fixed automatic layout

2.6.0

Changes:

  * 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)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2020/12/04 20:45:37 nia Exp $
d3 1
a3 1
DISTNAME=	foliate-2.6.2
@


1.18
log
@Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2020/11/05 09:08:59 ryoon Exp $
d3 1
a3 2
DISTNAME=	foliate-2.5.0
PKGREVISION=	2
@


1.17
log
@*: Recursive revbump from textproc/icu-68.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2020/10/15 16:10:23 fox Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.16
log
@print/foliate: Updates to 2.5.0

Changes since 2.4.2:

Changes:

  * 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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2020/08/17 20:19:55 leot Exp $
d4 1
@


1.15
log
@*: revbump after fontconfig bl3 changes (libuuid removal)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2020/07/07 01:28:05 fox Exp $
d3 1
a3 2
DISTNAME=	foliate-2.4.2
PKGREVISION=	1
@


1.14
log
@print/foliate: Updates to 2.4.2

Changes since 2.4.0:

Changes:

  * Fixed unable to open Mobipocket files
  * Fixed unable to open some EPUB files
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2020/07/03 12:18:12 fox Exp $
d4 1
@


1.13
log
@print/foliate: Updates to 2.4.0

Changes since 2.3.0:

Changes:

  * 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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2020/06/21 22:35:42 fox Exp $
d3 1
a3 1
DISTNAME=	foliate-2.4.0
@


1.12
log
@print/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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2020/06/08 18:41:02 fox Exp $
d3 1
a3 1
DISTNAME=	foliate-2.3.0
@


1.11
log
@print/foliate: Updates to 2.2.1

Changes since 2.2.0:

Changes:

  * Fixed blurry book covers on HiDPI
  * Fixed OPDS links to Standard Ebooks and Project Gutenberg
  * Fixed wrong view icon on startup
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2020/06/02 08:24:38 adam Exp $
d3 1
a3 1
DISTNAME=	foliate-2.2.1
@


1.10
log
@Revbump for icu
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2020/05/30 00:01:58 fox Exp $
d3 1
a3 2
DISTNAME=	foliate-2.2.0
PKGREVISION=	1
@


1.9
log
@print/foliate: Updates to 2.2.0

- Updates 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)

Security:

  * "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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2020/04/12 08:29:08 adam Exp $
d4 1
@


1.8
log
@Recursive revision bump after textproc/icu update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2020/04/09 12:40:20 fox Exp $
d3 1
a3 2
DISTNAME=	foliate-2.1.1
PKGREVISION=	1
@


1.7
log
@print/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)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2020/04/08 23:22:48 fox Exp $
d4 1
@


1.6
log
@print/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)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2020/04/06 14:15:47 fox Exp $
d3 1
a3 1
DISTNAME=	foliate-2.1.0
@


1.5
log
@print/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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2020/03/10 22:10:51 wiz Exp $
d3 1
a3 1
DISTNAME=	foliate-2.0.0
@


1.4
log
@librsvg: update bl3.mk to remove libcroco in rust case

recursive bump for the dependency change
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2020/03/08 16:51:03 wiz Exp $
d3 1
a3 2
DISTNAME=	foliate-1.5.3
PKGREVISION=	3
d20 1
a20 1
SUBST_FILES.pyvers=	src/main.js
@


1.3
log
@*: recursive bump for libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2020/02/29 15:53:24 rhialto Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.2
log
@print/foliate: lang/gjs is a runtime dependency, not build-time.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2019/10/12 13:45:20 fox Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.1
log
@Import of foliate 1.5.3 as print/foliate.

Foliate is a simple and modern GTK eBook viewer, built with GJS and
Epub.js.
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
d16 1
a16 1
BUILD_DEPENDS+=	gjs>=1.52.0:../../lang/gjs
@

