On Mon, 16 Dec 2019 22:26:48 +0100
Matthias Kilian <[email protected]> wrote:

> Update to poppler-0.83.0.
> 
> Tests (at least build tests) on non-base-clang archs are welcome.

I built your 0.83.0 with ports-gcc on powerpc (macppc).  The good news
is that the build completed, so I can still build other ports that
depend on poppler.

I looked for a port that would use poppler to view a PDF file.  I found
and built x11/lumina and tried lumina-pdf.  A PDF of 89 pages causes
lumina-pdf to run out of memory and crash.  A PDF of 7 pages almost
works, but colors are wrong.  White is still white, but some black text
becomes blue, and other colors are worse.  These symptoms might not be
new; I didn't try viewing a PDF with poppler before 0.83.0, and I don't
know whether the color problem is in lumina or in poppler.  The macppc
is big-endian, but some code might assume little-endian color.

--George

> 
> From the Changelog:
> 
>       core:
>        * Improve when a file is recognized as Linearized
>        * Improve const-ness of the code
>        * Make code a bit more readable/maintanable
>        * Fix uninitialized memory uses in broken files
> 
>       utils:
>        * pdffonts: Make code a bit more readable/maintanable
>        * pdftohtml: Make code a bit more readable/maintanable
> 
>       qt5:
>        * Remove a bunch of unused internal functions
>        * trUtf8 -> tr (less warnings)
> 
>       build system:
>        * make-glib-api-docs: switch to python3
> 
> I've adde a major bump do libpoppler-cpp.so because check_sym reported
> this:
> 
>       Dynamic export changes:
>       added:
>               _ZNK13BaseMemStreamIKcE7getKindEv
> 
>       removed:
>               _ZN13BaseMemStreamIKcE7getKindEv
> 
> This breaks the following ports (because of the use of unique
> pointers and some constification): editors/calligra, editors/libreoffice,
> graphics/gdcm, graphics/inkscape, graphics/pdf2djvu.
> 
> Diffs for those ports are in my queue (still waiting for that little
> calligra monster) -- I'll send them later today or tomorrow.
> 
> Ciao,
>       Kili
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/print/poppler/Makefile,v
> retrieving revision 1.150
> diff -u -p -r1.150 Makefile
> --- Makefile  12 Nov 2019 22:03:41 -0000      1.150
> +++ Makefile  16 Dec 2019 21:14:21 -0000
> @@ -4,7 +4,7 @@ COMMENT-main= PDF rendering library
>  COMMENT-qt5= Qt5 interface to PDF rendering library
>  COMMENT-utils=       PDF conversion tools and utilities
>  
> -V=           0.82.0
> +V=           0.83.0
>  DISTNAME=    poppler-$V
>  CATEGORIES=  print
>  PKGNAME-main=        poppler-$V
> @@ -13,10 +13,10 @@ PKGNAME-qt5=      poppler-qt5-$V
>  
>  EXTRACT_SUFX=        .tar.xz
>  
> -SHARED_LIBS +=       poppler              57.0     # 92.0
> +SHARED_LIBS +=       poppler              58.0     # 93.0
>  SHARED_LIBS +=       poppler-glib         19.4     # 8.15
>  SHARED_LIBS +=       poppler-qt5          7.3      # 1.21
> -SHARED_LIBS +=       poppler-cpp          12.0     # 0.7
> +SHARED_LIBS +=       poppler-cpp          13.0     # 0.7
>  
>  HOMEPAGE=    https://poppler.freedesktop.org/
>  
> @@ -33,7 +33,7 @@ MULTI_PACKAGES=-main -qt5 -utils
>  
>  .include <bsd.port.arch.mk>
>  
> -# c++-11
> +# c++-14
>  COMPILER=    base-clang ports-gcc
>  
>  cWANTLIB=    expat freetype fontconfig jpeg m pthread tiff z
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/print/poppler/distinfo,v
> retrieving revision 1.77
> diff -u -p -r1.77 distinfo
> --- distinfo  12 Nov 2019 22:03:41 -0000      1.77
> +++ distinfo  16 Dec 2019 21:14:21 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (poppler-0.82.0.tar.xz) = I0+OVz6lf7agCOfB5Wv64a9dGt8OZfR1VeGuEDh05N8=
> -SIZE (poppler-0.82.0.tar.xz) = 1553336
> +SHA256 (poppler-0.83.0.tar.xz) = aFxlDZdx4cNA6iIrV8i9P3UC4hkcz+it655jjcsLeZs=
> +SIZE (poppler-0.83.0.tar.xz) = 1555456
> 

Reply via email to