From owner-svn-ports-head@freebsd.org Mon Jul 16 18:28:18 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 974DB103477B; Mon, 16 Jul 2018 18:28:18 +0000 (UTC) (envelope-from yuri@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 4BDF27D255; Mon, 16 Jul 2018 18:28:18 +0000 (UTC) (envelope-from yuri@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 2A21B2041C; Mon, 16 Jul 2018 18:28:18 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6GISI4k056135; Mon, 16 Jul 2018 18:28:18 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6GISHhT056130; Mon, 16 Jul 2018 18:28:17 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201807161828.w6GISHhT056130@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 16 Jul 2018 18:28:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474753 - in head/graphics/flam3: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/graphics/flam3: . files X-SVN-Commit-Revision: 474753 X-SVN-Commit-Repository: ports 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.27 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: Mon, 16 Jul 2018 18:28:18 -0000 Author: yuri Date: Mon Jul 16 18:28:17 2018 New Revision: 474753 URL: https://svnweb.freebsd.org/changeset/ports/474753 Log: graphics/flam3: Update 2.7.18 -> 3.1.1-5 Port changes: * Use DISTVERSION * Change to github * Update COMMENT * Add LICENSE/LICENSE_FILE * Change to shared library * Add the ad-hoc implemantation for sincos linuxism PR: 229193 Approved by: maintainer's timeout (john.c.prather@gmail.com; 25 days) Added: head/graphics/flam3/files/sincos.c (contents, props changed) Deleted: head/graphics/flam3/files/patch-png.c Modified: head/graphics/flam3/Makefile head/graphics/flam3/distinfo head/graphics/flam3/pkg-plist Modified: head/graphics/flam3/Makefile ============================================================================== --- head/graphics/flam3/Makefile Mon Jul 16 18:11:44 2018 (r474752) +++ head/graphics/flam3/Makefile Mon Jul 16 18:28:17 2018 (r474753) @@ -2,22 +2,34 @@ # $FreeBSD$ PORTNAME= flam3 -PORTVERSION= 2.7.18 -PORTREVISION= 5 +DISTVERSIONPREFIX= v +DISTVERSION= 3.1.1-5 +DISTVERSIONSUFFIX= -g7fb50c8 CATEGORIES= graphics -MASTER_SITES= http://flam3.com/ \ - http://interwebfun.org/distfiles/ MAINTAINER= john.c.prather@gmail.com -COMMENT= Flame Renderer +COMMENT= Algorithmically generated fractal flames images and animations +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libpng.so:graphics/png \ libxml2.so:textproc/libxml2 +USES= gmake jpeg libtool localbase pathfix +USE_GITHUB= yes +GH_ACCOUNT= scottdraves GNU_CONFIGURE= yes -USES= gmake jpeg libtool pathfix pkgconfig +CONFIGURE_ARGS= --enable-shared --disable-static +INSTALL_TARGET= install-strip +USE_LDCONFIG= yes -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib +post-patch: + @${REINPLACE_CMD} -e 's|^libflam3_la_SOURCES = .*|& sincos.c| ; s| isaac.lo$$|& sincos.lo|' \ + ${WRKSRC}/Makefile.in # sincos is missing on some systems: bug#218300 + @${REINPLACE_CMD} -e 's| -g -O3||' ${WRKSRC}/Makefile.in # https://github.com/scottdraves/flam3/issues/25 + +pre-build: + @${CP} ${FILESDIR}/sincos.c ${WRKSRC} .include Modified: head/graphics/flam3/distinfo ============================================================================== --- head/graphics/flam3/distinfo Mon Jul 16 18:11:44 2018 (r474752) +++ head/graphics/flam3/distinfo Mon Jul 16 18:28:17 2018 (r474753) @@ -1,2 +1,3 @@ -SHA256 (flam3-2.7.18.tar.gz) = f3f8155d8a0ea11a23412566e18b2751da84f9ae24bd0f37a5f6484b10ad817e -SIZE (flam3-2.7.18.tar.gz) = 1093666 +TIMESTAMP = 1531765360 +SHA256 (scottdraves-flam3-v3.1.1-5-g7fb50c8_GH0.tar.gz) = d44bbf76e36857067d63832f4a15982cb54533a91ee189971705a1791f0a59d0 +SIZE (scottdraves-flam3-v3.1.1-5-g7fb50c8_GH0.tar.gz) = 1245265 Added: head/graphics/flam3/files/sincos.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/flam3/files/sincos.c Mon Jul 16 18:28:17 2018 (r474753) @@ -0,0 +1,6 @@ +#include + +void sincos(double x, double *s, double *c) { + *s = sin(x); + *c = cos(x); +} Modified: head/graphics/flam3/pkg-plist ============================================================================== --- head/graphics/flam3/pkg-plist Mon Jul 16 18:11:44 2018 (r474752) +++ head/graphics/flam3/pkg-plist Mon Jul 16 18:28:17 2018 (r474753) @@ -5,7 +5,10 @@ bin/flam3-convert include/flam3.h include/isaac.h include/isaacs.h -lib/libflam3.a +include/rect.c +lib/libflam3.so +lib/libflam3.so.0 +lib/libflam3.so.0.0.0 libdata/pkgconfig/flam3.pc share/flam3/flam3-palettes.xml man/man1/flam3-animate.1.gz