From owner-svn-ports-head@freebsd.org Tue Dec 11 20:29:30 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AE2A1312E32; Tue, 11 Dec 2018 20:29:30 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E42C16B894; Tue, 11 Dec 2018 20:29:29 +0000 (UTC) (envelope-from lwhsu@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C2F92504C; Tue, 11 Dec 2018 20:29:29 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBBKTTVB096393; Tue, 11 Dec 2018 20:29:29 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBBKTSZu096388; Tue, 11 Dec 2018 20:29:28 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <201812112029.wBBKTSZu096388@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Tue, 11 Dec 2018 20:29:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487254 - in head/graphics: . webp-pixbuf-loader webp-pixbuf-loader/files X-SVN-Group: ports-head X-SVN-Commit-Author: lwhsu X-SVN-Commit-Paths: in head/graphics: . webp-pixbuf-loader webp-pixbuf-loader/files X-SVN-Commit-Revision: 487254 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E42C16B894 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-0.75 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.75)[-0.747,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Tue, 11 Dec 2018 20:29:30 -0000 Author: lwhsu Date: Tue Dec 11 20:29:28 2018 New Revision: 487254 URL: https://svnweb.freebsd.org/changeset/ports/487254 Log: Add graphics/webp-pixbuf-loader, gdkpixbuf2 loader and thumbnailer for webp PR: 232872 Submitted by: Greg V Added: head/graphics/webp-pixbuf-loader/ head/graphics/webp-pixbuf-loader/Makefile (contents, props changed) head/graphics/webp-pixbuf-loader/distinfo (contents, props changed) head/graphics/webp-pixbuf-loader/files/ head/graphics/webp-pixbuf-loader/files/gdk-pixbuf-webp-thumbnailer.thumbnailer (contents, props changed) head/graphics/webp-pixbuf-loader/files/patch-wscript (contents, props changed) head/graphics/webp-pixbuf-loader/pkg-descr (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Tue Dec 11 20:28:12 2018 (r487253) +++ head/graphics/Makefile Tue Dec 11 20:29:28 2018 (r487254) @@ -1135,6 +1135,7 @@ SUBDIR += wayland-protocols SUBDIR += waylandpp SUBDIR += webp + SUBDIR += webp-pixbuf-loader SUBDIR += wings SUBDIR += wmicons SUBDIR += wxsvg Added: head/graphics/webp-pixbuf-loader/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/webp-pixbuf-loader/Makefile Tue Dec 11 20:29:28 2018 (r487254) @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= webp-pixbuf-loader +PORTVERSION= 20160329 +CATEGORIES= graphics + +MAINTAINER= greg@unrelenting.technology +COMMENT= WebP image loader plugin for GdkPixbuf2 + +LICENSE= LGPL20+ + +LIB_DEPENDS= libwebp.so:graphics/webp + +USES= gnome perl5 pkgconfig waf +USE_GNOME= gdkpixbuf2 +USE_GITHUB= yes +GH_ACCOUNT= aruiz +GH_TAGNAME= 9b92950d49d7 + +PLIST_FILES= lib/gdk-pixbuf-2.0/${GTK2_VERSION}/loaders/libpixbufloader-webp.so \ + share/thumbnailers/gdk-pixbuf-webp-thumbnailer.thumbnailer + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gdk-pixbuf-2.0/*/loaders/* + ${MKDIR} ${STAGEDIR}${PREFIX}/share/thumbnailers + ${SED} -e 's|@PREFIX@|${LOCALBASE}|g' ${FILESDIR}/gdk-pixbuf-webp-thumbnailer.thumbnailer \ + > ${STAGEDIR}${PREFIX}/share/thumbnailers/gdk-pixbuf-webp-thumbnailer.thumbnailer + +.include Added: head/graphics/webp-pixbuf-loader/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/webp-pixbuf-loader/distinfo Tue Dec 11 20:29:28 2018 (r487254) @@ -0,0 +1,3 @@ +TIMESTAMP = 1541025028 +SHA256 (aruiz-webp-pixbuf-loader-20160329-9b92950d49d7_GH0.tar.gz) = 98bc7726ce18363b559253c698769921500f1a583d4d8deffb937c787f3792b0 +SIZE (aruiz-webp-pixbuf-loader-20160329-9b92950d49d7_GH0.tar.gz) = 86102 Added: head/graphics/webp-pixbuf-loader/files/gdk-pixbuf-webp-thumbnailer.thumbnailer ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/webp-pixbuf-loader/files/gdk-pixbuf-webp-thumbnailer.thumbnailer Tue Dec 11 20:29:28 2018 (r487254) @@ -0,0 +1,4 @@ +[Thumbnailer Entry] +TryExec=@PREFIX@/bin/gdk-pixbuf-thumbnailer +Exec=@PREFIX@/bin/gdk-pixbuf-thumbnailer -s %s %u %o +MimeType=image/webp; Added: head/graphics/webp-pixbuf-loader/files/patch-wscript ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/webp-pixbuf-loader/files/patch-wscript Tue Dec 11 20:29:28 2018 (r487254) @@ -0,0 +1,13 @@ +--- wscript.orig 2018-10-31 22:31:58 UTC ++++ wscript +@@ -5,8 +5,8 @@ def options(opt): + def configure(conf): + conf.load('compiler_c glib2') + conf.find_program('gdk-pixbuf-query-loaders') +- conf.check_cc(lib='webp', header_name='webp/decode.h', +- uselib_store='WEBP', mandatory=True) ++ conf.check_cfg(package='libwebp', uselib_store='WEBP', ++ args='--cflags --libs', mandatory=True) + conf.check_cfg(package='gdk-pixbuf-2.0', uselib_store='GDK_PIXBUF', + atleast_version='2.22.0', args='--cflags --libs', + mandatory=True) Added: head/graphics/webp-pixbuf-loader/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/webp-pixbuf-loader/pkg-descr Tue Dec 11 20:29:28 2018 (r487254) @@ -0,0 +1,4 @@ +A WebP image loader for GdkPixbuf2. +Also a thumbnailer definition file for e.g. Nautilus. + +WWW: https://github.com/aruiz/webp-pixbuf-loader