Re: git: ca21dddc0e31 - main - graphics/libnsgif: Update to 1.0.0

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Sat, 17 Feb 2024 07:26:22 UTC
Did you do a consumers test?

-include/libnsgif.h
+include/nsgif.h

graphics/imv:
../src/backend_libnsgif.c:9:10: fatal error: 'libnsgif.h' file not found
    9 | #include <libnsgif.h>

Any clues on recomended way to fix?

Neel Chauhan <nc@freebsd.org> escreveu (sexta, 16/02/2024 à(s) 18:24):
>
> The branch main has been updated by nc:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=ca21dddc0e31a6be1db1f5966a283f52d89cddf5
>
> commit ca21dddc0e31a6be1db1f5966a283f52d89cddf5
> Author:     Neel Chauhan <nc@FreeBSD.org>
> AuthorDate: 2024-02-16 17:42:44 +0000
> Commit:     Neel Chauhan <nc@FreeBSD.org>
> CommitDate: 2024-02-16 18:24:27 +0000
>
>     graphics/libnsgif: Update to 1.0.0
> ---
>  graphics/libnsgif/Makefile             |  2 +-
>  graphics/libnsgif/distinfo             |  6 +++---
>  graphics/libnsgif/files/patch-Makefile | 10 ----------
>  graphics/libnsgif/pkg-plist            |  4 ++--
>  4 files changed, 6 insertions(+), 16 deletions(-)
>
> diff --git a/graphics/libnsgif/Makefile b/graphics/libnsgif/Makefile
> index 09c07dda9f9a..7e0697f3b78c 100644
> --- a/graphics/libnsgif/Makefile
> +++ b/graphics/libnsgif/Makefile
> @@ -1,5 +1,5 @@
>  PORTNAME=      libnsgif
> -PORTVERSION=   0.2.1
> +PORTVERSION=   1.0.0
>  CATEGORIES=    graphics
>  MASTER_SITES=  http://download.netsurf-browser.org/libs/releases/
>  EXTRACT_SUFX=  -src.tar.gz
> diff --git a/graphics/libnsgif/distinfo b/graphics/libnsgif/distinfo
> index 0f4a659e5127..cad7fc32105e 100644
> --- a/graphics/libnsgif/distinfo
> +++ b/graphics/libnsgif/distinfo
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1536011356
> -SHA256 (libnsgif-0.2.1-src.tar.gz) = 9eaea534cd70b53c5aaf45317ae957701685a6b4a88dbe34ed26f4faae879a4b
> -SIZE (libnsgif-0.2.1-src.tar.gz) = 268328
> +TIMESTAMP = 1708105248
> +SHA256 (libnsgif-1.0.0-src.tar.gz) = 6014c842f61454d2f5a0f8243d7a8d7bde9b7da3ccfdca2d346c7c0b2c4c061b
> +SIZE (libnsgif-1.0.0-src.tar.gz) = 282568
> diff --git a/graphics/libnsgif/files/patch-Makefile b/graphics/libnsgif/files/patch-Makefile
> deleted file mode 100644
> index f85b15704108..000000000000
> --- a/graphics/libnsgif/files/patch-Makefile
> +++ /dev/null
> @@ -1,10 +0,0 @@
> ---- Makefile.orig      2016-01-03 11:46:21 UTC
> -+++ Makefile
> -@@ -45,5 +45,5 @@ include $(NSBUILD)/Makefile.top
> - # Extra installation rules
> - I := /$(INCLUDEDIR)
> - INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libnsgif.h
> --INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
> --INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT)
> -+INSTALL_ITEMS := $(INSTALL_ITEMS) /libdata/pkgconfig:lib$(COMPONENT).pc.in
> -+INSTALL_ITEMS := $(INSTALL_ITEMS) /lib:$(OUTPUT)
> diff --git a/graphics/libnsgif/pkg-plist b/graphics/libnsgif/pkg-plist
> index 38365be87a3a..927929719b65 100644
> --- a/graphics/libnsgif/pkg-plist
> +++ b/graphics/libnsgif/pkg-plist
> @@ -1,5 +1,5 @@
> -include/libnsgif.h
> +include/nsgif.h
>  lib/libnsgif.so
> -lib/libnsgif.so.0
> +lib/libnsgif.so.1
>  lib/libnsgif.so.%%VERSION%%
>  libdata/pkgconfig/libnsgif.pc



-- 
Nuno Teixeira
FreeBSD Committer (ports)