On Fri, Oct 18, 2024 at 09:42:18AM +0100, Stuart Henderson wrote: > On 2024/10/17 22:07, Bryan Vyhmeister wrote: > > Here is an update to libkiwix from 13.1.0 to 14.0.0. There are a fair > > number of changes listed: > > > > https://github.com/kiwix/libkiwix/releases/tag/14.0.0 > > > > Due to all the changes, I bumped SHARED_LIBS to 1.1. All tests pass. > > Bumping only the minor version means "backwards compatible changes > only: software compiled against the old library will still work if the > old library is replaced with the new one". > > But functions have been removed, so that can't be guaranteed, therefore > the library major version must be bumped i.e. use 2.0.
Thank you. One of these days I will get it right. Here is the updated diff. Bryan Index: www/kiwix/libkiwix/Makefile =================================================================== RCS file: /cvs/ports/www/kiwix/libkiwix/Makefile,v diff -u -p -r1.4 Makefile --- www/kiwix/libkiwix/Makefile 15 Apr 2024 11:06:33 -0000 1.4 +++ www/kiwix/libkiwix/Makefile 18 Oct 2024 13:22:24 -0000 @@ -1,9 +1,9 @@ COMMENT = common code base for all Kiwix ports KIWIX_PROJECT = libkiwix -V = 13.1.0 +V = 14.0.0 -SHARED_LIBS += kiwix 1.0 # 0.0 +SHARED_LIBS += kiwix 2.0 # 0.0 # GPLv3+ PERMIT_PACKAGE = Yes Index: www/kiwix/libkiwix/distinfo =================================================================== RCS file: /cvs/ports/www/kiwix/libkiwix/distinfo,v diff -u -p -r1.3 distinfo --- www/kiwix/libkiwix/distinfo 15 Apr 2024 11:06:33 -0000 1.3 +++ www/kiwix/libkiwix/distinfo 18 Oct 2024 13:22:24 -0000 @@ -1,2 +1,2 @@ -SHA256 (libkiwix-13.1.0.tar.xz) = FVne0nAhBane1/T/OWzqaYCQGPHYPf7AauLJjU4Yy7U= -SIZE (libkiwix-13.1.0.tar.xz) = 993660 +SHA256 (libkiwix-14.0.0.tar.xz) = +9xk0379F/PxlXJUQbUjnIqvAXl6+GQV3E+In0mSENw= +SIZE (libkiwix-14.0.0.tar.xz) = 1003564 Index: www/kiwix/libkiwix/pkg/PLIST =================================================================== RCS file: /cvs/ports/www/kiwix/libkiwix/pkg/PLIST,v diff -u -p -r1.2 PLIST --- www/kiwix/libkiwix/pkg/PLIST 15 Apr 2024 11:06:33 -0000 1.2 +++ www/kiwix/libkiwix/pkg/PLIST 18 Oct 2024 13:22:24 -0000 @@ -5,6 +5,7 @@ include/kiwix/book.h include/kiwix/bookmark.h include/kiwix/common.h include/kiwix/downloader.h +include/kiwix/i18n.h include/kiwix/kiwix_config.h include/kiwix/kiwixserve.h include/kiwix/library.h @@ -15,6 +16,6 @@ include/kiwix/server.h include/kiwix/tools.h include/kiwix/version.h @lib lib/libkiwix.so.${LIBkiwix_VERSION} -lib/pkgconfig/kiwix.pc +lib/pkgconfig/libkiwix.pc @man man/man1/kiwix-compile-i18n.1 @man man/man1/kiwix-compile-resources.1