Saturday, July 01, 2023

Re: [update] archives/libzim to 8.2.0

On Thu, Jun 29, 2023 at 01:12:31AM +0000, Lucas Raab wrote:
> Hello,
>
> Here's a small update to 8.2.0 that's worked on amd64 and aarch64 with
> kiwix-tools.
>
> changelog:
> Deprecate SearchIterator::getSize() method (@mgautierfr #774)
> Fix handling of search end iterator (@mgautierfr #774)
> There were cases when we could dereference a end iterator.
> Fix suggestions with titles containing punctuations (@veloman-yunkan #765)
> Correctly publish our public API in Windows's dll (@xiaoyifang #783)
> Fix various warning and compilation error when compiling with
> last xcode version (@mgautierfr #782)
> Fix faulty unit-test checking for async errors (@mgautierfr #776)
> Update subproject wrap zstd to version 1.5.4 (and use upstream
> wrap file.) (@mgautierfr #749)
> Add CI to build on aarch64 (@mgautierfr #784)
> Various CI improvement (@kelson42)

'make test' fills up my /tmp really quickly and a lot of tests fail.
So TMPDIR needs to point at WRKDIR or so, a handful of ports do that.

>
> My question is if the deprecation of SearchIterator::getSize() needs a bump
> for SHARED_LIBS?

/usr/lib/check_sym says
/usr/local/lib/libzim.so.0.0 --> /usr/ports/pobj/libzim-8.2.0/build-amd64/src/libzim.so.0.0
Dynamic export changes:
added:
_ZNK3zim14SearchIterator12InternalData8iteratorEv

removed:
_ZN3zim14SearchIterator12InternalData12get_documentEv
...

So the function is no longer available.
symbol removal warrants a major bump.

>
> Thanks,
> Lucas

> diff /usr/ports
> commit - c3de91bf08fb9015fe63fc8271016b4bd80c0356
> path + /usr/ports
> blob - c9e1c4b2ee470d0b3185cacfa7283b426d0ecce0
> file + archivers/libzim/Makefile
> --- archivers/libzim/Makefile
> +++ archivers/libzim/Makefile
> @@ -1,6 +1,6 @@
> COMMENT = reference implementation of the ZIM specification
>
> -DISTNAME = libzim-8.1.1
> +DISTNAME = libzim-8.2.0
>
> SHARED_LIBS += zim 0.0 # 0.0
>
> blob - a4b62cc805ae78fd900f4376e89ce4036de359bc
> file + archivers/libzim/distinfo
> --- archivers/libzim/distinfo
> +++ archivers/libzim/distinfo
> @@ -1,2 +1,2 @@
> -SHA256 (libzim-8.1.1.tar.xz) = aNQoFwYyyf52LjvMDiHwlvO43Su1vFnhdjfCwhuHR1k=
> -SIZE (libzim-8.1.1.tar.xz) = 192712
> +SHA256 (libzim-8.2.0.tar.xz) = YR+Bal88xyUhDwtNlnbCAzlLkqANGp8rOTSJfMNk/Vk=
> +SIZE (libzim-8.2.0.tar.xz) = 193720

No comments:

Post a Comment