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 <jcupitt@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" {
> -
No comments:
Post a Comment