Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2024 04:58:02 GMT
From:      Charlie Li <vishwin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5007109903fc - main - graphics/giflib: avoid build dependency on ImageMagick
Message-ID:  <202404280458.43S4w217053007@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by vishwin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5007109903fc271e3ef0ba01d78781c1fed99f3f

commit 5007109903fc271e3ef0ba01d78781c1fed99f3f
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2024-04-28 04:57:21 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2024-04-28 04:57:21 +0000

    graphics/giflib: avoid build dependency on ImageMagick
    
    Otherwise build will try to run convert(1) to generate giflib-logo.gif.
    
    Based on: https://sourceforge.net/p/giflib/code/ci/d54b45b0240d455bbaedee4be5203d2703e59967/
    
    PR: 278621
---
 graphics/giflib/Makefile              |   3 +++
 graphics/giflib/files/giflib-logo.gif | Bin 0 -> 1253 bytes
 2 files changed, 3 insertions(+)

diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile
index ca810da20e5f..0e46ed90404c 100644
--- a/graphics/giflib/Makefile
+++ b/graphics/giflib/Makefile
@@ -34,6 +34,9 @@ do-install-DOCS-on:
 		"! ( -name Makefile -o -name *\.[17] -o -name *\.xml )"
 	${MV} ${STAGEDIR}${DOCSDIR}/index.html.in ${STAGEDIR}${DOCSDIR}/index.html
 
+pre-build:
+	${CP} ${FILESDIR}/giflib-logo.gif ${WRKSRC}/doc
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
 	${STRIP_CMD} --strip-unneeded ${STAGEDIR}${PREFIX}/lib/libgif.so.7.2.0
diff --git a/graphics/giflib/files/giflib-logo.gif b/graphics/giflib/files/giflib-logo.gif
new file mode 100644
index 000000000000..59310645e986
Binary files /dev/null and b/graphics/giflib/files/giflib-logo.gif differ



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404280458.43S4w217053007>