Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142222969
D10074.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D10074.diff
View Options
Index: head/graphics/Makefile
===================================================================
--- head/graphics/Makefile
+++ head/graphics/Makefile
@@ -329,6 +329,7 @@
SUBDIR += gtk-update-icon-cache
SUBDIR += gtkam
SUBDIR += gts
+ SUBDIR += guetzli
SUBDIR += guilib
SUBDIR += gwenview-kde4
SUBDIR += gx
Index: head/graphics/guetzli/Makefile
===================================================================
--- head/graphics/guetzli/Makefile
+++ head/graphics/guetzli/Makefile
@@ -0,0 +1,27 @@
+# Created by: Yuri Victorovich <yuri@rawbw.com>
+# $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 <bsd.port.mk>
Index: head/graphics/guetzli/distinfo
===================================================================
--- head/graphics/guetzli/distinfo
+++ head/graphics/guetzli/distinfo
@@ -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
Index: head/graphics/guetzli/files/patch-guetzli.make
===================================================================
--- head/graphics/guetzli/files/patch-guetzli.make
+++ head/graphics/guetzli/files/patch-guetzli.make
@@ -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
Index: head/graphics/guetzli/pkg-descr
===================================================================
--- head/graphics/guetzli/pkg-descr
+++ head/graphics/guetzli/pkg-descr
@@ -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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 18, 11:15 AM (17 m, 56 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27708889
Default Alt Text
D10074.diff (3 KB)
Attached To
Mode
D10074: New port: graphics/guetzli
Attached
Detach File
Event Timeline
Log In to Comment