From owner-svn-ports-all@freebsd.org Tue Mar 21 21:03:50 2017 Return-Path: Delivered-To: svn-ports-all@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 94E53D17388; Tue, 21 Mar 2017 21:03:50 +0000 (UTC) (envelope-from tobik@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 6F7A01B30; Tue, 21 Mar 2017 21:03:50 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2LL3nKD020283; Tue, 21 Mar 2017 21:03:49 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2LL3nJJ020278; Tue, 21 Mar 2017 21:03:49 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201703212103.v2LL3nJJ020278@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Tue, 21 Mar 2017 21:03:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r436655 - in head/graphics: . guetzli guetzli/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-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2017 21:03:50 -0000 Author: tobik Date: Tue Mar 21 21:03:48 2017 New Revision: 436655 URL: https://svnweb.freebsd.org/changeset/ports/436655 Log: New port: graphics/guetzli Guetzli is a JPEG encoder that aims for excellent compression density at high visual quality. Guetzli-generated images are typically 20-30% smaller than images of equivalent quality generated by libjpeg. Guetzli generates only sequential (nonprogressive) JPEGs due to faster decompression speeds they offer. WWW: https://github.com/google/guetzli PR: 217872 Approved by: lme (mentor) Submitted by: Yuri Victorovich Differential Revision: https://reviews.freebsd.org/D10074 Added: head/graphics/guetzli/ head/graphics/guetzli/Makefile (contents, props changed) head/graphics/guetzli/distinfo (contents, props changed) head/graphics/guetzli/files/ head/graphics/guetzli/files/patch-guetzli.make (contents, props changed) head/graphics/guetzli/pkg-descr (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Tue Mar 21 21:00:32 2017 (r436654) +++ head/graphics/Makefile Tue Mar 21 21:03:48 2017 (r436655) @@ -329,6 +329,7 @@ SUBDIR += gtk-update-icon-cache SUBDIR += gtkam SUBDIR += gts + SUBDIR += guetzli SUBDIR += guilib SUBDIR += gwenview-kde4 SUBDIR += gx Added: head/graphics/guetzli/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/guetzli/Makefile Tue Mar 21 21:03:48 2017 (r436655) @@ -0,0 +1,27 @@ +# Created by: Yuri Victorovich +# $FreeBSD$ + +PORTNAME= guetzli +PORTVERSION= 1.0.1 +DISTVERSIONPREFIX= v +CATEGORIES= graphics + +MAINTAINER= yuri@rawbw.com +COMMENT= Perceptual JPEG encoder + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libpng.so:graphics/png + +USE_GITHUB= yes +GH_ACCOUNT= google + +USES= compiler:c++11-lib gmake pkgconfig +PLIST_FILES= bin/guetzli +MAKE_FLAGS= verbose=1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/Release/guetzli ${STAGEDIR}${PREFIX}/bin + +.include Added: head/graphics/guetzli/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/guetzli/distinfo Tue Mar 21 21:03:48 2017 (r436655) @@ -0,0 +1,3 @@ +TIMESTAMP = 1490123236 +SHA256 (google-guetzli-v1.0.1_GH0.tar.gz) = e52eb417a5c0fb5a3b08a858c8d10fa797627ada5373e203c196162d6a313697 +SIZE (google-guetzli-v1.0.1_GH0.tar.gz) = 97251 Added: head/graphics/guetzli/files/patch-guetzli.make ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/guetzli/files/patch-guetzli.make Tue Mar 21 21:03:48 2017 (r436655) @@ -0,0 +1,20 @@ +--- guetzli.make.orig 2017-03-21 19:09:12 UTC ++++ guetzli.make +@@ -19,8 +19,8 @@ ifeq ($(config),release) + INCLUDES += -I. -Ithird_party/butteraugli + FORCE_INCLUDE += + ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES) +- ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -O3 -g `pkg-config --cflags libpng` +- ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -O3 -g -std=c++11 `pkg-config --cflags libpng` ++ ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) `pkg-config --cflags libpng` ++ ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -std=c++11 `pkg-config --cflags libpng` + ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES) + LIBS += + LDDEPS += +@@ -210,4 +210,4 @@ $(OBJDIR)/butteraugli.o: third_party/butteraugli/butte + -include $(OBJECTS:%.o=%.d) + ifneq (,$(PCH)) + -include $(OBJDIR)/$(notdir $(PCH)).d +-endif +\ No newline at end of file ++endif Added: head/graphics/guetzli/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/guetzli/pkg-descr Tue Mar 21 21:03:48 2017 (r436655) @@ -0,0 +1,7 @@ +Guetzli is a JPEG encoder that aims for excellent compression density +at high visual quality. Guetzli-generated images are typically 20-30% +smaller than images of equivalent quality generated by libjpeg. +Guetzli generates only sequential (nonprogressive) JPEGs due to faster +decompression speeds they offer. + +WWW: https://github.com/google/guetzli