notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
libkiwix Software library to read and write ZIM files
14.0.0 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 14.0.0Version of this port present on the latest quarterly branch.
Maintainer: olce.freebsd.ports@certner.fr search for ports maintained by this maintainer
Port Added: 2023-06-12 19:48:09
Last Update: 2025-01-13 18:04:22
Commit Hash: 66ad622
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
License: GPLv3+
WWW:
https://github.com/kiwix/libkiwix
Description:
Kiwix is an offline reader for web content archived in ZIM format. It is particularly tailored towards Wikipedia and other wikis. Libkiwix provides the Kiwix software suite core. It contains the code shared by all Kiwix ports.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (29 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libkiwix-14.0.0/catalog.mk
  3. /usr/local/share/licenses/libkiwix-14.0.0/LICENSE
  4. /usr/local/share/licenses/libkiwix-14.0.0/GPLv3+
  5. bin/kiwix-compile-i18n
  6. bin/kiwix-compile-resources
  7. include/kiwix/book.h
  8. include/kiwix/bookmark.h
  9. include/kiwix/common.h
  10. include/kiwix/downloader.h
  11. include/kiwix/i18n.h
  12. include/kiwix/kiwix_config.h
  13. include/kiwix/kiwixserve.h
  14. include/kiwix/library.h
  15. include/kiwix/manager.h
  16. include/kiwix/name_mapper.h
  17. include/kiwix/search_renderer.h
  18. include/kiwix/server.h
  19. include/kiwix/tools.h
  20. include/kiwix/version.h
  21. lib/libkiwix.so
  22. lib/libkiwix.so.14
  23. lib/libkiwix.so.14.0.0
  24. libdata/pkgconfig/libkiwix.pc
  25. share/man/man1/kiwix-compile-i18n.1.gz
  26. share/man/man1/kiwix-compile-resources.1.gz
  27. @owner
  28. @group
  29. @mode
Collapse this list.
Dependency lines:
  • libkiwix>0:devel/libkiwix
Conflicts:
CONFLICTS_INSTALL:
  • libkiwix13
To install the port:
cd /usr/ports/devel/libkiwix/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/libkiwix
  • pkg install libkiwix
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libkiwix
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1736786938 SHA256 (libkiwix-14.0.0.tar.xz) = fbdc64d37efd17f3f195725441b5239c8aaf01797af86415dc4f889f499210dc SIZE (libkiwix-14.0.0.tar.xz) = 1003564

Packages (timestamps in pop-ups are UTC):
libkiwix
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest14.0.014.0.0-13.1.014.0.0---
FreeBSD:13:quarterly13.1.014.0.0-13.1.014.0.012.1.0_112.1.0_112.1.0_1
FreeBSD:14:latest14.0.014.0.0-14.0.014.0.0--12.0.0_1
FreeBSD:14:quarterly14.0.014.0.0-13.1.014.0.012.1.0_112.1.0_112.1.0_1
FreeBSD:15:latest14.0.014.0.0n/a14.0.0n/a12.1.0_212.1.0_212.1.0_2
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. bash : shells/bash
  2. mustache.hpp : devel/mustache
  3. googletest>0 : devel/googletest
  4. meson : devel/meson
  5. ninja : devel/ninja
  6. pkgconf>=1.3.0_1 : devel/pkgconf
  7. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
Library dependencies:
  1. libzim.so : devel/libzim
  2. libpugixml.so : textproc/pugixml
  3. libaria2.so : www/aria2
  4. libicui18n.so : devel/icu
  5. libicuuc.so : devel/icu
  6. libxapian.so : databases/xapian-core
  7. libctpp2.so : textproc/ctpp2
  8. libcurl.so : ftp/curl
  9. libmicrohttpd.so : www/libmicrohttpd
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_libkiwix
USES:
compiler:c++17-lang meson pkgconfig python shebangfix tar:xz
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://download.kiwix.org/release/libkiwix/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2025-01-09
    Affects: users of www/kiwix-tools and devel/libkiwix
    Author: olce@FreeBSD.org
    Reason: 
      Upstream released a new version (14.0.0) of kiwix-tools' dependency libkiwix
      that the latest release of kiwix-tools (unchanged at 3.7.0) does not
      support, and the devel/libkiwix port was updated to it by mistake.
    
      In order to fix the situation without reverting devel/libkiwix to 13.1.0 and
      bumping its PORTEPOCH, the new port devel/libkiwix13 has been created and
      www/kiwix-tools has been updated to depend on it rather than devel/libkiwix.
      This is expected to be temporary.
    
      As devel/libkiwix13 and devel/libkiwix conflict with each other, which
      apparently can confuse pkg (which proposes to delete www/kiwix-tools), users
      having www/kiwix-tools installed are advised to upgrade it first separately,
      e.g., by running:
    
      # pkg upgrade www/kiwix-tools
    
    
Port Moves
  • port moved here from devel/kiwix-lib on 2023-06-12
    REASON: Renamed to match upstream naming

Number of commits found: 12

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
14.0.0
13 Jan 2025 18:04:22
commit hash: 66ad62270065459982b0455e8357c635548b82c7commit hash: 66ad62270065459982b0455e8357c635548b82c7commit hash: 66ad62270065459982b0455e8357c635548b82c7commit hash: 66ad62270065459982b0455e8357c635548b82c7 files touched by this commit
Olivier Certner (olce) search for other commits by this committer
devel/libkiwix: Fetch from official site; Enable tests

Fetch from the official site instead of Github.

Also, stop downloading Mustache by hand and rely on devel/mustache.

While here, remove a useless link flag for 'libz.so'.

While here, revise the description.

Sponsored by:   The FreeBSD Foundation
14.0.0
10 Jan 2025 13:19:35
commit hash: 0009322d2223e315dfde0563a367c694cae92d91commit hash: 0009322d2223e315dfde0563a367c694cae92d91commit hash: 0009322d2223e315dfde0563a367c694cae92d91commit hash: 0009322d2223e315dfde0563a367c694cae92d91 files touched by this commit
Olivier Certner (olce) search for other commits by this committer
devel/libkiwix: Update 13.1.0 → 14.0.0 again

Now that devel/libkiwix13 has been created and www/kiwix-tools changed
to depend on it, fixing the latter's build and avoiding a bump of
PORTEPOCH here, we can reapply the update.

This commit is different than the initial update's one, as local patches
here match what was upstreamed in the meantime (see
https://github.com/kiwix/libkiwix/pull/1173).

Selected list of changes:
- Support of IPv6
- Better public IP configuration/detection
- Fix API errors in catalog searches if Xapian keyword in used
- Improve welcome page download buttons
(Only the first 15 lines of the commit message are shown above View all of this commit message)
13.1.0
10 Jan 2025 13:02:20
commit hash: 70fd76ed56d1fa6ddb86c8dfd70c271adfea7c8bcommit hash: 70fd76ed56d1fa6ddb86c8dfd70c271adfea7c8bcommit hash: 70fd76ed56d1fa6ddb86c8dfd70c271adfea7c8bcommit hash: 70fd76ed56d1fa6ddb86c8dfd70c271adfea7c8b files touched by this commit
Olivier Certner (olce) search for other commits by this committer
devel/libkiwix13: New port for libkiwix 13

This port is assumed to be temporary, as the reason for its creation is
that kiwix-tools 3.7.0, the latest released version at time of this
writing, relies on libkiwix with major version 13, whereas
devel/libkiwix was updated too soon to 14.

An alternative would be to bump PORTEPOCH for libkiwix, but such bumps
are forever and should be reserved for changes in version numbering as
much as possible.

Suggested by:   jrtc27, jrm
Reviewed by:    jrm
Fixes:          dafb538b3fd6 ("devel/libkiwix: Update to 14.0.0")
MFH:            2025Q1
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D48395
13.1.0
08 Jan 2025 14:40:08
commit hash: 6caffd033b02defbf11db7a593331c4adbffb808commit hash: 6caffd033b02defbf11db7a593331c4adbffb808commit hash: 6caffd033b02defbf11db7a593331c4adbffb808commit hash: 6caffd033b02defbf11db7a593331c4adbffb808 files touched by this commit
Olivier Certner (olce) search for other commits by this committer
devel/libkiwix: Revert update to 14.0.0 (so, → 13.1.0)

The latest release of www/kiwix-tools, which is still 3.7.0, does not
work with libkiwix 14.0.0, so the update was premature.

We will be able to update libkiwix only when the new release of
www/kiwix-tools is out. (The alternative of maintaining a few libkiwix
ports with different versions does not seem worth it.)

This is a maintainer update (olce.freebsd.ports@certner.fr).

This reverts commit dafb538b3fd6 (devel/libkiwix: Update to 14.0.0, 2024-12-26).

Fixes:          dafb538b3fd6 ("devel/libkiwix: Update to 14.0.0")
14.0.0
26 Dec 2024 02:50:51
commit hash: dafb538b3fd6eabe519f34c3f83027cf17e286e8commit hash: dafb538b3fd6eabe519f34c3f83027cf17e286e8commit hash: dafb538b3fd6eabe519f34c3f83027cf17e286e8commit hash: dafb538b3fd6eabe519f34c3f83027cf17e286e8 files touched by this commit
Wen Heping (wen) search for other commits by this committer
devel/libkiwix: Update to 14.0.0

PR:		282559
Reported by:	wenheping2000@hotmail.com
Approved by:	maintainer(timeout, > 50 days)
13.1.0
21 May 2024 12:40:14
commit hash: 36da97e343156959dc6cecb8ec0ad49453ca0004commit hash: 36da97e343156959dc6cecb8ec0ad49453ca0004commit hash: 36da97e343156959dc6cecb8ec0ad49453ca0004commit hash: 36da97e343156959dc6cecb8ec0ad49453ca0004 files touched by this commit
Olivier Certner (olce) search for other commits by this committer
devel/libkiwix: Update 12.1.0 → 13.1.0

Selected list of improvements:
- C++17 compatible code
- Improved look & feel of kiwix-serve UI
- Increase tolerance to malformed (control characters) ZIM entry titles
- API allowing to filter many categories at once
- Cookie-less user language control
- Properly translated error pages
- Properly translated search result page
- Default UI language is resolved in frontend
- Better support of older Web browsers by polyfilling replaceAll()
- New API to migrate bookmarks between books

See also:
https://github.com/kiwix/libkiwix/releases/tag/13.0.0
https://github.com/kiwix/libkiwix/releases/tag/13.1.0

This is a maintainer update (olce.freebsd.ports@certner.fr).

Approved by:    jrm (ports)
Approved by:    emaste (mentor)
12.1.0_2
12 Jan 2024 22:40:48
commit hash: 9f8f710b3ec3945ede5cf5d996c3391081d32df1commit hash: 9f8f710b3ec3945ede5cf5d996c3391081d32df1commit hash: 9f8f710b3ec3945ede5cf5d996c3391081d32df1commit hash: 9f8f710b3ec3945ede5cf5d996c3391081d32df1 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Sanitize MANPREFIX for meson ports

Approved by:	portmgr
12.1.0_1
17 Nov 2023 11:46:00
commit hash: e55b80195e2af4bd63088de216ccd3e23be81c1fcommit hash: e55b80195e2af4bd63088de216ccd3e23be81c1fcommit hash: e55b80195e2af4bd63088de216ccd3e23be81c1fcommit hash: e55b80195e2af4bd63088de216ccd3e23be81c1f files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
devel/icu: update to 74.1

Changes:	https://github.com/unicode-org/icu/releases/tag/release-74-1
Reported by:	GitHub (watch releases)
PR:		274317
Exp-run by:	antoine (incomplete)
Approved by:	fluffy
12.1.0
10 Sep 2023 16:13:06
commit hash: 48a52b7c645234ad0b6ac4f5a1c3b0f3d5281ca9commit hash: 48a52b7c645234ad0b6ac4f5a1c3b0f3d5281ca9commit hash: 48a52b7c645234ad0b6ac4f5a1c3b0f3d5281ca9commit hash: 48a52b7c645234ad0b6ac4f5a1c3b0f3d5281ca9 files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
Author: Olivier Certner
devel/libkiwix: Update to 12.1.0

Notably, a new /nojs endpoint (still leaves much to be desired), and lots of bug
fixes, including our local patch for meson that was integrated upstream.

More details here:
https://github.com/kiwix/libkiwix/releases/tag/12.1.0

PR:		273644
12.0.0_1
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
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>
12.0.0_1
13 Jun 2023 10:06:13
commit hash: 2f4369553624f34cf2f23a7d6239a3e8ad87b7aacommit hash: 2f4369553624f34cf2f23a7d6239a3e8ad87b7aacommit hash: 2f4369553624f34cf2f23a7d6239a3e8ad87b7aacommit hash: 2f4369553624f34cf2f23a7d6239a3e8ad87b7aa files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Pass MAINTAINERSHIP

- Pass the MAINTAINERHSIP of the following ports
  devel/libzim [1]
  devel/libkiwix [2]
  www/kiwix-tools [2]
PR:		271975
Approved by:	me@int19h.org [2] bofh [1]
12.0.0
12 Jun 2023 19:45:15
commit hash: 74535ecc140ff3ed89f831d13e4a26d9a0c78182commit hash: 74535ecc140ff3ed89f831d13e4a26d9a0c78182commit hash: 74535ecc140ff3ed89f831d13e4a26d9a0c78182commit hash: 74535ecc140ff3ed89f831d13e4a26d9a0c78182 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
Author: Olivier Certner
devel/{kiwix-lib,libkiwix}: Update version 9.4.1=>12.0.0

- Rename port to match upstream renaming
- Pet portclippy
- Update is done without MAINTAINER approval as currently this is BROKEN
  on 14 and this version fixes the build on 14.

Changelog: https://github.com/kiwix/libkiwix/releases
PR:		271649
Approved by:	portmgr (blanket)

Number of commits found: 12