From owner-svn-ports-head@freebsd.org Wed Oct 19 17:36:55 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA997C19F3A; Wed, 19 Oct 2016 17:36:55 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AC7FEFEA; Wed, 19 Oct 2016 17:36:55 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9JHas8O061535; Wed, 19 Oct 2016 17:36:54 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9JHasWT061529; Wed, 19 Oct 2016 17:36:54 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201610191736.u9JHasWT061529@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Wed, 19 Oct 2016 17:36:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424274 - in head/graphics/giflib: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2016 17:36:56 -0000 Author: antoine Date: Wed Oct 19 17:36:54 2016 New Revision: 424274 URL: https://svnweb.freebsd.org/changeset/ports/424274 Log: - Update to 5.1.4 - Add LICENSE - Add regression tests Added: head/graphics/giflib/files/patch-tests_makefile (contents, props changed) Modified: head/graphics/giflib/Makefile head/graphics/giflib/distinfo head/graphics/giflib/files/extra-patch-hide-reallocarray 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/Makefile Wed Oct 19 16:22:48 2016 (r424273) +++ head/graphics/giflib/Makefile Wed Oct 19 17:36:54 2016 (r424274) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= giflib -PORTVERSION= 5.1.3 +PORTVERSION= 5.1.4 PORTREVISION= 0 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME} @@ -10,7 +10,10 @@ MASTER_SITES= SF/${PORTNAME} MAINTAINER= portmgr@FreeBSD.org COMMENT= Tools and library routines for working with GIF images -CONFLICTS= libungif-[0-9]* +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +TEST_DEPENDS= ghead:sysutils/coreutils USES= tar:bzip2 libtool GNU_CONFIGURE= yes @@ -20,6 +23,7 @@ OPTIONS_DEFINE= DOCBOOK DOCS OPTIONS_SUB= yes DOCBOOK_DESC= Generate API documentation (requires DOCS) INSTALL_TARGET= install-strip +TEST_TARGET= check-TESTS .include Modified: head/graphics/giflib/distinfo ============================================================================== --- head/graphics/giflib/distinfo Wed Oct 19 16:22:48 2016 (r424273) +++ head/graphics/giflib/distinfo Wed Oct 19 17:36:54 2016 (r424274) @@ -1,2 +1,3 @@ -SHA256 (giflib-5.1.3.tar.bz2) = 5096d27805283599b01074d487ad3f8e02bd26b84d759b9017be876ca3d5b81d -SIZE (giflib-5.1.3.tar.bz2) = 639420 +TIMESTAMP = 1476601913 +SHA256 (giflib-5.1.4.tar.bz2) = df27ec3ff24671f80b29e6ab1c4971059c14ac3db95406884fc26574631ba8d5 +SIZE (giflib-5.1.4.tar.bz2) = 639703 Modified: head/graphics/giflib/files/extra-patch-hide-reallocarray ============================================================================== --- head/graphics/giflib/files/extra-patch-hide-reallocarray Wed Oct 19 16:22:48 2016 (r424273) +++ head/graphics/giflib/files/extra-patch-hide-reallocarray Wed Oct 19 17:36:54 2016 (r424274) @@ -1,4 +1,4 @@ ---- lib/dgif_lib.c.orig 2016-01-07 10:44:44 UTC +--- lib/dgif_lib.c.orig 2016-04-02 15:34:00 UTC +++ lib/dgif_lib.c @@ -41,6 +41,9 @@ static int DGifDecompressInput(GifFileTy static int DGifBufferedInput(GifFileType *GifFile, GifByteType *Buf, Modified: head/graphics/giflib/files/extra-patch-unbundle-reallocarray ============================================================================== --- head/graphics/giflib/files/extra-patch-unbundle-reallocarray Wed Oct 19 16:22:48 2016 (r424273) +++ head/graphics/giflib/files/extra-patch-unbundle-reallocarray Wed Oct 19 17:36:54 2016 (r424274) @@ -1,4 +1,4 @@ ---- lib/Makefile.in.orig 2016-01-07 12:54:02 UTC +--- lib/Makefile.in.orig 2016-04-02 15:36:45 UTC +++ lib/Makefile.in @@ -134,7 +134,7 @@ am__installdirs = "$(DESTDIR)$(libdir)" LTLIBRARIES = $(lib_LTLIBRARIES) Modified: head/graphics/giflib/files/patch-lib_gif__lib.h ============================================================================== --- head/graphics/giflib/files/patch-lib_gif__lib.h Wed Oct 19 16:22:48 2016 (r424273) +++ head/graphics/giflib/files/patch-lib_gif__lib.h Wed Oct 19 17:36:54 2016 (r424274) @@ -1,4 +1,4 @@ ---- lib/gif_lib.h.orig 2016-01-07 12:51:53 UTC +--- lib/gif_lib.h.orig 2016-04-02 15:35:30 UTC +++ lib/gif_lib.h @@ -244,9 +244,6 @@ extern ColorMapObject *GifUnionColorMap( GifPixelType ColorTransIn2[]); Added: head/graphics/giflib/files/patch-tests_makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/giflib/files/patch-tests_makefile Wed Oct 19 17:36:54 2016 (r424274) @@ -0,0 +1,24 @@ +--- tests/makefile.orig 2014-05-16 10:46:53 UTC ++++ tests/makefile +@@ -27,7 +27,7 @@ rebuild: render-rebuild \ + UTILS = ../util + PICS = ../pic + +-GIFS := $(shell ls ../pic/*.gif) ++GIFS := `ls ../pic/*.gif` + + # 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: + + giffix-rebuild: + @echo "Rebuilding giffix test." +- @head --bytes=-20 <$(PICS)/treescap.gif | $(UTILS)/giffix 2>/dev/null | $(UTILS)/gifbuild -d >giffixed.ico ++ @ghead --bytes=-20 <$(PICS)/treescap.gif | $(UTILS)/giffix 2>/dev/null | $(UTILS)/gifbuild -d >giffixed.ico + giffix-regress: + @echo "giffix: Testing giffix behavior" +- @head --bytes=-20 <$(PICS)/treescap.gif | $(UTILS)/giffix 2>/dev/null | $(UTILS)/gifbuild -d | diff -u giffixed.ico - ++ @ghead --bytes=-20 <$(PICS)/treescap.gif | $(UTILS)/giffix 2>/dev/null | $(UTILS)/gifbuild -d | diff -u giffixed.ico - + + gifinto-regress: + @echo "gifinto: Checking behavior on short files."