Date: Tue, 14 May 2019 18:59:26 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501666 - in head/graphics/giflib: . files Message-ID: <201905141859.x4EIxQ2f022314@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Tue May 14 18:59:26 2019 New Revision: 501666 URL: https://svnweb.freebsd.org/changeset/ports/501666 Log: Update to 5.1.8 Build system switched from gnu configure to gmake Added: head/graphics/giflib/files/patch-Makefile (contents, props changed) Deleted: head/graphics/giflib/files/extra-patch-hide-reallocarray-dfly head/graphics/giflib/files/extra-patch-unbundle-reallocarray head/graphics/giflib/files/patch-lib_gif__lib.h Modified: head/graphics/giflib/Makefile head/graphics/giflib/distinfo head/graphics/giflib/files/patch-tests_makefile head/graphics/giflib/pkg-plist Modified: head/graphics/giflib/Makefile ============================================================================== --- head/graphics/giflib/Makefile Tue May 14 17:25:54 2019 (r501665) +++ head/graphics/giflib/Makefile Tue May 14 18:59:26 2019 (r501666) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= giflib -PORTVERSION= 5.1.4 +PORTVERSION= 5.1.8 PORTREVISION= 0 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME} @@ -15,37 +15,20 @@ LICENSE_FILE= ${WRKSRC}/COPYING TEST_DEPENDS= ghead:sysutils/coreutils -USES= tar:bzip2 libtool -GNU_CONFIGURE= yes +USES= gmake USE_LDCONFIG= yes +CFLAGS+= -DHAVE_REALLOCARRAY +MAKE_ARGS= CC=${CC} LDFLAGS="${LDFLAGS}" MANDIR=${MANPREFIX}/man OFLAGS="${CFLAGS}" -OPTIONS_DEFINE= DOCBOOK DOCS -OPTIONS_SUB= yes -DOCBOOK_DESC= Generate API documentation (requires DOCS) -INSTALL_TARGET= install-strip -TEST_TARGET= check-TESTS +OPTIONS_DEFINE= DOCS +TEST_TARGET= check -.include <bsd.port.options.mk> +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! ( -name Makefile -o -name *\.1 -o -name *\.in -o -name *\.xml )" -.if ${PORT_OPTIONS:MDOCBOOK} && ${PORT_OPTIONS:MDOCS} -BUILD_DEPENDS+= xmlto:textproc/xmlto \ - docbook-xml>0:textproc/docbook-xml -.else -CONFIGURE_ENV+= have_xmlto=no -.endif - -.if ${OPSYS} == FreeBSD -EXTRA_PATCHES= ${FILESDIR}/extra-patch-unbundle-reallocarray -.elif ${OPSYS} == DragonFly -EXTRA_PATCHES= ${FILESDIR}/extra-patch-hide-reallocarray-dfly -.endif - post-install: - ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${PREFIX}/man/man1/ -.if ${PORT_OPTIONS:MDOCBOOK} && ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}/ -.endif + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* + ${STRIP_CMD} --strip-unneeded ${STAGEDIR}${PREFIX}/lib/libgif.so.7.1.0 .include <bsd.port.mk> Modified: head/graphics/giflib/distinfo ============================================================================== --- head/graphics/giflib/distinfo Tue May 14 17:25:54 2019 (r501665) +++ head/graphics/giflib/distinfo Tue May 14 18:59:26 2019 (r501666) @@ -1,3 +1,3 @@ -TIMESTAMP = 1476601913 -SHA256 (giflib-5.1.4.tar.bz2) = df27ec3ff24671f80b29e6ab1c4971059c14ac3db95406884fc26574631ba8d5 -SIZE (giflib-5.1.4.tar.bz2) = 639703 +TIMESTAMP = 1553869894 +SHA256 (giflib-5.1.8.tar.gz) = d105a905df34a7822172d13657cdae3d4b0c8e8c7067ccf05e39a40044f8ca53 +SIZE (giflib-5.1.8.tar.gz) = 419065 Added: head/graphics/giflib/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/giflib/files/patch-Makefile Tue May 14 18:59:26 2019 (r501666) @@ -0,0 +1,46 @@ +--- Makefile.orig 2019-03-17 16:33:02 UTC ++++ Makefile +@@ -9,7 +9,7 @@ + CC = gcc + OFLAGS = -O0 -g + #OFLAGS = -O2 -fwhole-program +-CFLAGS = -std=gnu99 -fPIC -Wall -Wno-format-truncation $(OFLAGS) ++CFLAGS = -std=gnu99 -fPIC -Wall $(OFLAGS) + LDFLAGS = -g + + SHELL = /bin/sh +@@ -58,15 +58,21 @@ UTILS = $(INSTALLABLE) \ + gifsponge \ + gifwedge + +-LDLIBS=libgif.a -lm ++LDLIBS=-Wl,-rpath -Wl,$(LIBDIR) -lm + + all: libgif.so libgif.a $(UTILS) + $(MAKE) -C doc + +-$(UTILS):: libgif.a ++$(UTILS):: libgif.so + +-libgif.so: $(OBJECTS) $(HEADERS) +- $(CC) $(CFLAGS) -shared $(OFLAGS) -Wl,-soname -Wl,libgif.so.$(LIBMAJOR) -o libgif.so $(OBJECTS) ++libgif.so.$(LIBVER): $(OBJECTS) $(HEADERS) ++ $(CC) -shared $(LDFLAGS) -Wl,-soname -Wl,libgif.so.$(LIBMAJOR) -o $@ $(OBJECTS) ++ ++libgif.so.$(LIBMAJOR): libgif.so.$(LIBVER) ++ ln -s $< $@ ++ ++libgif.so: libgif.so.$(LIBMAJOR) ++ ln -s $< $@ + + libgif.a: $(OBJECTS) $(HEADERS) + $(AR) rcs libgif.a $(OBJECTS) +@@ -92,7 +98,7 @@ install-include: + install-lib: + $(INSTALL) -d "$(DESTDIR)$(LIBDIR)" + $(INSTALL) -m 644 libgif.a "$(DESTDIR)$(LIBDIR)/libgif.a" +- $(INSTALL) -m 755 libgif.so "$(DESTDIR)$(LIBDIR)/libgif.so.$(LIBVER)" ++ $(INSTALL) -m 755 libgif.so.$(LIBVER) "$(DESTDIR)$(LIBDIR)/libgif.so.$(LIBVER)" + ln -sf libgif.so.$(LIBVER) "$(DESTDIR)$(LIBDIR)/libgif.so.$(LIBMAJOR)" + ln -sf libgif.so.$(LIBMAJOR) "$(DESTDIR)$(LIBDIR)/libgif.so" + install-man: Modified: head/graphics/giflib/files/patch-tests_makefile ============================================================================== --- head/graphics/giflib/files/patch-tests_makefile Tue May 14 17:25:54 2019 (r501665) +++ head/graphics/giflib/files/patch-tests_makefile Tue May 14 18:59:26 2019 (r501666) @@ -1,15 +1,15 @@ ---- tests/makefile.orig 2014-05-16 10:46:53 UTC +--- tests/makefile.orig 2019-02-10 22:36:27 UTC +++ tests/makefile -@@ -27,7 +27,7 @@ rebuild: render-rebuild \ - UTILS = ../util - PICS = ../pic +@@ -3,6 +3,8 @@ --GIFS := $(shell ls ../pic/*.gif) -+GIFS := `ls ../pic/*.gif` + .SUFFIXES: .gif .rgb - # Test decompression and rendering by unpacking images, - # converting them to RGB, and comparing that result to a check file. -@@ -103,10 +103,10 @@ giffilter-regress: ++export LD_LIBRARY_PATH=$(CURDIR)/.. ++ + # This is what to do by default + test: render-regress \ + gifbuild-regress \ +@@ -103,10 +105,10 @@ giffilter-regress: giffix-rebuild: @echo "Rebuilding giffix test." Modified: head/graphics/giflib/pkg-plist ============================================================================== --- head/graphics/giflib/pkg-plist Tue May 14 17:25:54 2019 (r501665) +++ head/graphics/giflib/pkg-plist Tue May 14 18:59:26 2019 (r501666) @@ -2,15 +2,17 @@ bin/gif2rgb bin/gifbuild bin/gifclrmp bin/gifecho +bin/giffilter bin/giffix bin/gifinto +bin/gifsponge bin/giftext bin/giftool include/gif_lib.h lib/libgif.a lib/libgif.so lib/libgif.so.7 -lib/libgif.so.7.0.0 +lib/libgif.so.7.1.0 man/man1/gif2rgb.1.gz man/man1/gifbg.1.gz man/man1/gifbuild.1.gz @@ -24,21 +26,52 @@ man/man1/giflib.1.gz man/man1/giftext.1.gz man/man1/giftool.1.gz man/man1/gifwedge.1.gz -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/gif2rgb.html -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/gif87.txt -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/gif89.txt -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/gif_lib.html -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/gifbg.html -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/gifbuild.html -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/gifclrmp.html -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/gifcolor.html -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/gifecho.html -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/giffix.html -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/gifhisto.html -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/gifinto.html -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/giflib.html -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/giftext.html -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/giftool.html -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/gifwedge.html -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/intro.html -%%DOCBOOK%%%%PORTDOCS%%%%DOCSDIR%%/lzgif.txt +%%PORTDOCS%%%%DOCSDIR%%/00README +%%PORTDOCS%%%%DOCSDIR%%/gif2rgb.html +%%PORTDOCS%%%%DOCSDIR%%/gif87.txt +%%PORTDOCS%%%%DOCSDIR%%/gif89.txt +%%PORTDOCS%%%%DOCSDIR%%/gif_lib.html +%%PORTDOCS%%%%DOCSDIR%%/gifbg.html +%%PORTDOCS%%%%DOCSDIR%%/gifbuild.html +%%PORTDOCS%%%%DOCSDIR%%/gifclrmp.html +%%PORTDOCS%%%%DOCSDIR%%/gifcolor.html +%%PORTDOCS%%%%DOCSDIR%%/gifecho.html +%%PORTDOCS%%%%DOCSDIR%%/giffix.html +%%PORTDOCS%%%%DOCSDIR%%/gifhisto.html +%%PORTDOCS%%%%DOCSDIR%%/gifinto.html +%%PORTDOCS%%%%DOCSDIR%%/giflib.html +%%PORTDOCS%%%%DOCSDIR%%/giftext.html +%%PORTDOCS%%%%DOCSDIR%%/giftool.html +%%PORTDOCS%%%%DOCSDIR%%/gifwedge.html +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/intro.html +%%PORTDOCS%%%%DOCSDIR%%/lzgif.txt +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/animation_and_transparency.html +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/bits_and_bytes.html +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/comment_ext.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/gif_file_stream.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/global_color_table.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/graphic_control_ext.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/header_block.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/highlight_green.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/highlight_purple.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/image_data_block.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/image_descriptor_block.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/index.html +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/logical_screen_desc_block.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/lzw_decoding_bytes.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/lzw_encoding_codes.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/lzw_image_data.html +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/lzw_image_data_code_table.html +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/sample_1.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/sample_1_enlarged.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/sample_1_trans.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/sample_1_trans_blue.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/sample_1_trans_red.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/sample_2_animation_green.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/sample_2_animation_red.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/sample_2_animation_yellow.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/sample_2_green_large.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/sample_2_green_yellow_diff.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/sample_2_yellow_large.gif +%%PORTDOCS%%%%DOCSDIR%%/whatsinagif/trailer_block.gif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905141859.x4EIxQ2f022314>