On 2023/06/05 02:25, Brad Smith wrote: > Here is an update to libvips 8.14.2. > > This is dependent on the new libspng port I posted.
I don't use this, but they moved gif support from giflib to cgif. So if anyone needs libvips to work with gifs, that will need to be ported too. > > Index: Makefile > =================================================================== > RCS file: /home/cvs/ports/graphics/libvips/Makefile,v > retrieving revision 1.3 > diff -u -p -u -p -r1.3 Makefile > --- Makefile 5 Nov 2022 17:06:27 -0000 1.3 > +++ Makefile 3 Jun 2023 12:24:50 -0000 > @@ -1,14 +1,13 @@ > COMMENT = fast image processing library with low memory needs > > -VERSION = 8.9.2 > +VERSION = 8.14.2 > DISTNAME = vips-${VERSION} > PKGNAME = lib${DISTNAME} > -REVISION = 0 > - > CATEGORIES = graphics > +EXTRACT_SUFX = .tar.xz > > -SHARED_LIBS += vips 0.0 > -SHARED_LIBS += vips-cpp 0.0 > +SHARED_LIBS += vips 1.0 > +SHARED_LIBS += vips-cpp 1.0 > > HOMEPAGE = https://libvips.github.io/libvips/ > > @@ -17,52 +16,45 @@ MAINTAINER = Stephane Guedon <stephane@2 > # LGPLv2+ > PERMIT_PACKAGE = Yes > > -WANTLIB += ${COMPILER_LIBCXX} c expat ffi gif glib-2.0 gmodule-2.0 > -WANTLIB += gobject-2.0 gthread-2.0 iconv intl jpeg lzma m pcre2-8 > -WANTLIB += png tiff webp webpdemux webpmux z zstd > +WANTLIB += ${COMPILER_LIBCXX} c expat gio-2.0 glib-2.0 gmodule-2.0 > +WANTLIB += gobject-2.0 intl jpeg m spng tiff webp webpdemux webpmux > > MASTER_SITES = > https://github.com/libvips/libvips/releases/download/v${VERSION}/ > > -LIB_DEPENDS += archivers/xz \ > - archivers/zstd \ > - devel/glib2 \ > - graphics/giflib \ > - graphics/jpeg \ > +MODULES = devel/meson > + > +BUILD_DEPENDS += devel/gettext,-tools > +LIB_DEPENDS += devel/gettext \ > + devel/glib2 \ > + graphics/jpeg \ > graphics/libwebp \ > - graphics/png \ > + graphics/libspng \ > graphics/tiff > > -USE_GMAKE = Yes > -COMPILER = base-clang ports-gcc > -CONFIGURE_STYLE = gnu > - > -CONFIGURE_ARGS += --disable-gtk-doc \ > - --disable-gtk-doc-html \ > - --disable-introspection \ > - --with-analyze \ > - --with-giflib \ > - --with-png \ > - --with-tiff \ > - --with-ppm \ > - --with-radiance \ > - --with-jpeg \ > - --with-libwebp \ > - --without-magick \ > - --without-matio \ > - --without-nifti \ > - --without-openslide \ > - --without-orc \ > - --without-pangoft2 \ > - --without-pdfium \ > - --without-poppler \ > - --without-rsvg \ > - --without-OpenEXR \ > - --without-lcms \ > - --without-libexif \ > - --without-gsf \ > - --without-heif \ > - --without-imagequant \ > - --without-cfitsio \ > - --without-fftw > +COMPILER = base-clang ports-gcc > + > +CONFIGURE_ARGS += -Ddefault_library=both \ > + -Dcfitsio=disabled \ > + -Dcgif=disabled \ > + -Dexif=disabled \ > + -Dfftw=disabled \ > + -Dimagequant=disabled \ > + -Dgsf=disabled \ > + -Dheif=disabled \ > + -Djpeg-xl=disabled \ > + -Dlcms=disabled \ > + -Dmagick=disabled \ > + -Dmagick-package=disabled \ > + -Dmatio=disabled \ > + -Dnifti=disabled \ > + -Dopenexr=disabled \ > + -Dopenjpeg=disabled \ > + -Dopenslide=disabled \ > + -Dorc=disabled \ > + -Dpangocairo=disabled \ > + -Dpdfium=disabled \ > + -Dpoppler=disabled \ > + -Dquantizr=disabled \ > + -Drsvg=disabled > > .include <bsd.port.mk> > Index: distinfo > =================================================================== > RCS file: /home/cvs/ports/graphics/libvips/distinfo,v > retrieving revision 1.1.1.1 > diff -u -p -u -p -r1.1.1.1 distinfo > --- distinfo 15 May 2020 07:58:41 -0000 1.1.1.1 > +++ distinfo 3 Jun 2023 09:57:37 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (vips-8.9.2.tar.gz) = roSRsRVs0uucu6ov1sqh3J7T3tC3BEPSjNf+p5irKic= > -SIZE (vips-8.9.2.tar.gz) = 17238831 > +SHA256 (vips-8.14.2.tar.xz) = J9rQIfCDWlqxTlQdAqvUHkw70BLSGWQ431qedUmE984= > +SIZE (vips-8.14.2.tar.xz) = 18693660 > Index: patches/patch-libvips_include_vips_dispatch_h > =================================================================== > RCS file: patches/patch-libvips_include_vips_dispatch_h > diff -N patches/patch-libvips_include_vips_dispatch_h > --- patches/patch-libvips_include_vips_dispatch_h 11 Mar 2022 19:22:46 > -0000 1.2 > +++ /dev/null 1 Jan 1970 00:00:00 -0000 > @@ -1,22 +0,0 @@ > -From cfe50903dffd576f6c25b0f24882b38a38085644 Mon Sep 17 00:00:00 2001 > -From: John Cupitt <jcup...@gmail.com> > -Date: Tue, 9 Feb 2021 16:07:51 +0000 > -Subject: [PATCH] don't put glib includes inside extern "C" blocks > - > -Index: libvips/include/vips/dispatch.h > ---- libvips/include/vips/dispatch.h.orig > -+++ libvips/include/vips/dispatch.h > -@@ -33,11 +33,12 @@ > - #ifndef IM_DISPATCH_H > - #define IM_DISPATCH_H > - > -+#include <glib-object.h> > -+ > - #ifdef __cplusplus > - extern "C" { > - #endif /*__cplusplus*/ > - > --#include <glib-object.h> > - #include <vips/vips.h> > - #include <vips/util.h> > - > Index: patches/patch-libvips_include_vips_vips_h > =================================================================== > RCS file: patches/patch-libvips_include_vips_vips_h > diff -N patches/patch-libvips_include_vips_vips_h > --- patches/patch-libvips_include_vips_vips_h 11 Mar 2022 19:22:46 -0000 > 1.2 > +++ /dev/null 1 Jan 1970 00:00:00 -0000 > @@ -1,27 +0,0 @@ > -From cfe50903dffd576f6c25b0f24882b38a38085644 Mon Sep 17 00:00:00 2001 > -From: John Cupitt <jcup...@gmail.com> > -Date: Tue, 9 Feb 2021 16:07:51 +0000 > -Subject: [PATCH] don't put glib includes inside extern "C" blocks > - > -Index: libvips/include/vips/vips.h > ---- libvips/include/vips/vips.h.orig > -+++ libvips/include/vips/vips.h > -@@ -80,14 +80,14 @@ > - #ifndef VIPS_VIPS_H > - #define VIPS_VIPS_H > - > --#ifdef __cplusplus > --extern "C" { > --#endif /*__cplusplus*/ > -- > - #include <glib.h> > - #include <glib/gstdio.h> > - #include <gmodule.h> > - #include <glib-object.h> > -+ > -+#ifdef __cplusplus > -+extern "C" { > -+#endif /*__cplusplus*/ > - > - /* If we're being parsed by SWIG, remove gcc attributes. > - */ > Index: pkg/PLIST > =================================================================== > RCS file: /home/cvs/ports/graphics/libvips/pkg/PLIST,v > retrieving revision 1.2 > diff -u -p -u -p -r1.2 PLIST > --- pkg/PLIST 11 Mar 2022 19:22:46 -0000 1.2 > +++ pkg/PLIST 3 Jun 2023 11:51:14 -0000 > @@ -1,10 +1,4 @@ > -bin/batch_crop > -bin/batch_image_convert > -bin/batch_rubber_sheet > -bin/light_correct > -bin/shrink_width > @bin bin/vips > -bin/vips-8.9 > @bin bin/vipsedit > @bin bin/vipsheader > bin/vipsprofile > @@ -14,11 +8,11 @@ include/vips/VConnection8.h > include/vips/VError8.h > include/vips/VImage8.h > include/vips/VInterpolate8.h > +include/vips/VRegion8.h > include/vips/almostdeprecated.h > include/vips/arithmetic.h > include/vips/basic.h > include/vips/buf.h > -include/vips/cimg_funcs.h > include/vips/colour.h > include/vips/connection.h > include/vips/conversion.h > @@ -53,7 +47,6 @@ include/vips/region.h > include/vips/resample.h > include/vips/sbuf.h > include/vips/semaphore.h > -include/vips/soname.h > include/vips/thread.h > include/vips/threadpool.h > include/vips/transform.h > @@ -62,115 +55,23 @@ include/vips/util.h > include/vips/vector.h > include/vips/version.h > include/vips/video.h > -include/vips/vips-operators.h > include/vips/vips.h > include/vips/vips7compat.h > include/vips/vips8 > +lib/girepository-1.0/ > +lib/girepository-1.0/Vips-8.0.typelib > @static-lib lib/libvips-cpp.a > -lib/libvips-cpp.la > @lib lib/libvips-cpp.so.${LIBvips-cpp_VERSION} > @static-lib lib/libvips.a > -lib/libvips.la > @lib lib/libvips.so.${LIBvips_VERSION} > lib/pkgconfig/vips-cpp.pc > lib/pkgconfig/vips.pc > -@man man/man1/batch_crop.1 > -@man man/man1/batch_image_convert.1 > -@man man/man1/batch_rubber_sheet.1 > -@man man/man1/light_correct.1 > @man man/man1/vips.1 > @man man/man1/vipsedit.1 > @man man/man1/vipsheader.1 > @man man/man1/vipsprofile.1 > @man man/man1/vipsthumbnail.1 > -share/gtk-doc/ > -share/gtk-doc/html/ > -share/gtk-doc/html/libvips/ > -share/gtk-doc/html/libvips/Cite.md.html > -share/gtk-doc/html/libvips/Combine.png > -share/gtk-doc/html/libvips/Examples.md.html > -share/gtk-doc/html/libvips/How-it-opens-files.md.html > -share/gtk-doc/html/libvips/How-it-works.md.html > -share/gtk-doc/html/libvips/Making-image-pyramids.md.html > -share/gtk-doc/html/libvips/Memtrace.png > -share/gtk-doc/html/libvips/Sequence.png > -share/gtk-doc/html/libvips/Sink.png > -share/gtk-doc/html/libvips/Using-vipsthumbnail.md.html > -share/gtk-doc/html/libvips/Vips-smp.png > -share/gtk-doc/html/libvips/VipsForeignSave.html > -share/gtk-doc/html/libvips/VipsImage.html > -share/gtk-doc/html/libvips/VipsInterpolate.html > -share/gtk-doc/html/libvips/VipsObject.html > -share/gtk-doc/html/libvips/VipsOperation.html > -share/gtk-doc/html/libvips/VipsRegion.html > -share/gtk-doc/html/libvips/VipsSbuf.html > -share/gtk-doc/html/libvips/VipsTargetCustom.html > -share/gtk-doc/html/libvips/VipsThreadState.html > -share/gtk-doc/html/libvips/annotation-glossary.html > -share/gtk-doc/html/libvips/api-index-full.html > -share/gtk-doc/html/libvips/binding.md.html > -share/gtk-doc/html/libvips/ch01.html > -share/gtk-doc/html/libvips/ch02.html > -share/gtk-doc/html/libvips/ch03.html > -share/gtk-doc/html/libvips/ch04.html > -share/gtk-doc/html/libvips/colour-management.html > -share/gtk-doc/html/libvips/compiled-language-which-can-call-c.html > -share/gtk-doc/html/libvips/cropping.html > -share/gtk-doc/html/libvips/documentation.html > -share/gtk-doc/html/libvips/dynamic-langauge-without-ffi.html > -share/gtk-doc/html/libvips/dynamic-language-with-ffi.html > -share/gtk-doc/html/libvips/extending.html > -share/gtk-doc/html/libvips/file-format.html > -share/gtk-doc/html/libvips/final-suggestion.html > -share/gtk-doc/html/libvips/full-decompression.html > -share/gtk-doc/html/libvips/func-list.html > -share/gtk-doc/html/libvips/gobject-introspection.html > -share/gtk-doc/html/libvips/home.png > -share/gtk-doc/html/libvips/index.html > -share/gtk-doc/html/libvips/interconvert.png > -share/gtk-doc/html/libvips/left-insensitive.png > -share/gtk-doc/html/libvips/left.png > -share/gtk-doc/html/libvips/libvips-arithmetic.html > -share/gtk-doc/html/libvips/libvips-basic.html > -share/gtk-doc/html/libvips/libvips-buf.html > -share/gtk-doc/html/libvips/libvips-colour.html > -share/gtk-doc/html/libvips/libvips-conversion.html > -share/gtk-doc/html/libvips/libvips-convolution.html > -share/gtk-doc/html/libvips/libvips-create.html > -share/gtk-doc/html/libvips/libvips-draw.html > -share/gtk-doc/html/libvips/libvips-error.html > -share/gtk-doc/html/libvips/libvips-freqfilt.html > -share/gtk-doc/html/libvips/libvips-generate.html > -share/gtk-doc/html/libvips/libvips-header.html > -share/gtk-doc/html/libvips/libvips-histogram.html > -share/gtk-doc/html/libvips/libvips-memory.html > -share/gtk-doc/html/libvips/libvips-morphology.html > -share/gtk-doc/html/libvips/libvips-mosaicing.html > -share/gtk-doc/html/libvips/libvips-rect.html > -share/gtk-doc/html/libvips/libvips-resample.html > -share/gtk-doc/html/libvips/libvips-semaphore.html > -share/gtk-doc/html/libvips/libvips-transform.html > -share/gtk-doc/html/libvips/libvips-type.html > -share/gtk-doc/html/libvips/libvips-util.html > -share/gtk-doc/html/libvips/libvips-version.html > -share/gtk-doc/html/libvips/libvips-vips.html > -share/gtk-doc/html/libvips/libvips.devhelp2 > -share/gtk-doc/html/libvips/linear-light.html > -share/gtk-doc/html/libvips/looping.html > -share/gtk-doc/html/libvips/object-tree.html > -share/gtk-doc/html/libvips/output-directory.html > -share/gtk-doc/html/libvips/output-format-and-options.html > -share/gtk-doc/html/libvips/owl.jpg > -share/gtk-doc/html/libvips/random-access-via-load-library.html > -share/gtk-doc/html/libvips/right-insensitive.png > -share/gtk-doc/html/libvips/right.png > -share/gtk-doc/html/libvips/sequential-access.html > -share/gtk-doc/html/libvips/style.css > -share/gtk-doc/html/libvips/thumbnail-size.html > -share/gtk-doc/html/libvips/tn_owl.jpg > -share/gtk-doc/html/libvips/up-insensitive.png > -share/gtk-doc/html/libvips/up.png > -share/gtk-doc/html/libvips/using-cli.html > -share/gtk-doc/html/libvips/using-from-c.html > -share/gtk-doc/html/libvips/using-from-cpp.html > -share/gtk-doc/html/libvips/using-threads.html > +share/gir-1.0/ > +share/gir-1.0/Vips-8.0.gir > +share/locale/de/LC_MESSAGES/vips8.14.mo > +share/locale/en_GB/LC_MESSAGES/vips8.14.mo >