Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2018 06:53:41 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r475049 - in head: . graphics graphics/yafaray graphics/yafaray/files graphics/yafray
Message-ID:  <201807210653.w6L6rfiV009070@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Jul 21 06:53:41 2018
New Revision: 475049
URL: https://svnweb.freebsd.org/changeset/ports/475049

Log:
  Rename graphics/yafray to graphics/yafaray; Update 0.0.9 -> 3.0-5
  
  The project was renamed. http://www.yafray.org redirects to http://www.yafaray.org
  
  Port changes (almost everything has changed):
  * Change COMMENT
  * Add LICENSE, etc
  * Add ONLY_FOR_ARCHS, etc
  * Add LIB_DEPENDS
  * Uses github now
  * Add options
  * Remove do-install
  * Add post-install
  * Update description and WWW

Added:
  head/graphics/yafaray/
     - copied from r475048, head/graphics/yafray/
Deleted:
  head/graphics/yafaray/files/
  head/graphics/yafray/
Modified:
  head/MOVED
  head/graphics/Makefile
  head/graphics/yafaray/Makefile
  head/graphics/yafaray/distinfo
  head/graphics/yafaray/pkg-descr
  head/graphics/yafaray/pkg-plist

Modified: head/MOVED
==============================================================================
--- head/MOVED	Sat Jul 21 06:50:36 2018	(r475048)
+++ head/MOVED	Sat Jul 21 06:53:41 2018	(r475049)
@@ -10353,3 +10353,4 @@ x11-fonts/hasklig|x11-fonts/Hasklig|2018-07-16|Name co
 misc/artikulate-kde4||2018-07-17|Has expired: broken for more than three years
 vietnamese/kde4-l10||2018-07-17|Has expired: broken for more than three years
 graphics/projectm-libvisual|graphics/libprojectm|2018-07-17|Code of projectm-libvisual was merged into graphics/libprojectm
+graphics/yafray|graphics/yafaray|2018-07-20|Project renamed

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Sat Jul 21 06:50:36 2018	(r475048)
+++ head/graphics/Makefile	Sat Jul 21 06:53:41 2018	(r475049)
@@ -1152,7 +1152,7 @@
     SUBDIR += xv
     SUBDIR += xv-m17n
     SUBDIR += xwpick
-    SUBDIR += yafray
+    SUBDIR += yafaray
     SUBDIR += yagf
     SUBDIR += yed
     SUBDIR += yukon

Modified: head/graphics/yafaray/Makefile
==============================================================================
--- head/graphics/yafray/Makefile	Sat Jul 21 06:50:36 2018	(r475048)
+++ head/graphics/yafaray/Makefile	Sat Jul 21 06:53:41 2018	(r475049)
@@ -1,32 +1,55 @@
 # Created by: David Yeske <dyeske@gmail.com>
 # $FreeBSD$
 
-PORTNAME=	yafray
-PORTVERSION=	0.0.9
-PORTREVISION=	3
+PORTNAME=	yafaray
+DISTVERSIONPREFIX=	v
+DISTVERSION=	3.0-5
+DISTVERSIONSUFFIX=	-g3a98966
 CATEGORIES=	graphics
-MASTER_SITES=	http://freebsd.nsu.ru/distfiles/ \
-		#http://www.yafaray.org/sites/default/files/download/builds/
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES=	38ca47aeca670c9bd5d21c24c0444be1d8fd22b0.patch:-p1 \
+		135c2aad275382f3a95d905e08d4c9e883a0b461.patch:-p1
+
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Fast XML based raytracer
+COMMENT=	Montecarlo raytracing engine
 
-USES=		jpeg scons
+LICENSE=	GPLv2 LGPL21
+LICENSE_COMB=	dual
+LICENSE_FILE_GPLv2=	${WRKSRC}/LICENSES
+LICENSE_FILE_LGPL21=	${WRKSRC}/LICENSES
+
+ONLY_FOR_ARCHS=	amd64
+ONLY_FOR_ARCHS_EASON=	assembly is only for amd64 and i386, but it breaks on i386: https://github.com/YafaRay/Core/issues/111
+
+LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
+		libfreetype.so:print/freetype2 \
+		libHalf.so:graphics/ilmbase \
+		libIlmImf.so:graphics/OpenEXR \
+		libopencv_photo.so:graphics/opencv \
+		libopencv_core.so:graphics/opencv-core \
+		libpng16.so:graphics/png \
+		libtiff.so:graphics/tiff
+
+USES=		cmake:outsource jpeg
+USE_GITHUB=	yes
+GH_ACCOUNT=	YafaRay
+GH_PROJECT=	Core
+USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
+CMAKE_OFF=	WITH_YAF_PY_BINDINGS
 
-pre-patch:
-	@${MV} ${WRKSRC}/linux-settings.py ${WRKSRC}/freebsd-settings.py
+OPTIONS_DEFINE=	DOCS QT
+OPTIONS_DEFAULT=	QT
+OPTIONS_SUB=	yes
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
-		-e 's|%%CXXFLAGS%%|${CXXFLAGS}|' \
-		${WRKSRC}/freebsd-settings.py
+QT_DESC=	Enable Qt Gui build
+QT_USES=	qt:4
+QT_CMAKE_BOOL=	WITH_QT
+QT_USE=		QT=corelib,gui,moc_build,qmake_build,rcc_build,uic_build
 
-do-install:
-	(cd ${WRKSRC} && ${MAKE_CMD} prefix=${STAGEDIR}${PREFIX} install)
-	(cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/${PORTNAME} \
-		lib/*.so lib/yafray/*.so)
+post-install:
+	@${RM} ${STAGEDIR}${DOCSDIR}/LICENSES
 
 .include <bsd.port.mk>

Modified: head/graphics/yafaray/distinfo
==============================================================================
--- head/graphics/yafray/distinfo	Sat Jul 21 06:50:36 2018	(r475048)
+++ head/graphics/yafaray/distinfo	Sat Jul 21 06:53:41 2018	(r475049)
@@ -1,2 +1,7 @@
-SHA256 (yafray-0.0.9.tar.gz) = f803e7058fb65cab9c0d00599daa85ca291fb57941822d622426e3466ec0aefb
-SIZE (yafray-0.0.9.tar.gz) = 316033
+TIMESTAMP = 1532153459
+SHA256 (YafaRay-Core-v3.0-5-g3a98966_GH0.tar.gz) = e6366183810538a33f1ae29a88b8b26710af1dbdb9d60f4c159dda002036e7d4
+SIZE (YafaRay-Core-v3.0-5-g3a98966_GH0.tar.gz) = 1135013
+SHA256 (38ca47aeca670c9bd5d21c24c0444be1d8fd22b0.patch) = f1b1656effde7d71353ab961c83c0f56797d8260d2d97e1d48b42d930f738438
+SIZE (38ca47aeca670c9bd5d21c24c0444be1d8fd22b0.patch) = 898
+SHA256 (135c2aad275382f3a95d905e08d4c9e883a0b461.patch) = c7be74412c8f32ebd91927f82794c9103fa1df48f49720a5fda40b4548501fb5
+SIZE (135c2aad275382f3a95d905e08d4c9e883a0b461.patch) = 783

Modified: head/graphics/yafaray/pkg-descr
==============================================================================
--- head/graphics/yafray/pkg-descr	Sat Jul 21 06:50:36 2018	(r475048)
+++ head/graphics/yafaray/pkg-descr	Sat Jul 21 06:53:41 2018	(r475049)
@@ -1,3 +1,9 @@
-This is an advanced raytracer that uses XML.
+YafaRay is a free open-source montecarlo raytracing engine released under the
+LGPL 2.1 license. Raytracing is a rendering technique for generating realistic
+images by tracing the path of light through a 3D scene. A render engine consists
+of a specialised computer program that interacts with a host 3D application to
+provide specific raytracing capabilities "on demand". The YafaRay engine can be
+used in the following 3D applications: Blender, Edificius, pCon-planner and
+Wings 3D.
 
-WWW: http://www.yafray.org/
+WWW: http://www.yafaray.org/

Modified: head/graphics/yafaray/pkg-plist
==============================================================================
--- head/graphics/yafray/pkg-plist	Sat Jul 21 06:50:36 2018	(r475048)
+++ head/graphics/yafaray/pkg-plist	Sat Jul 21 06:53:41 2018	(r475049)
@@ -1,22 +1,224 @@
-bin/yafray
-etc/gram.yafray
-lib/libyafraycore.so
-lib/libyafrayplugin.so
-lib/yafray/libpathlight.so
-lib/yafray/libsunlight.so
-lib/yafray/libpointlight.so
-lib/yafray/libphotonlight.so
-lib/yafray/libhemilight.so
-lib/yafray/libspotlight.so
-lib/yafray/libsoftlight.so
-lib/yafray/libarealight.so
-lib/yafray/libglobalphotonlight.so
-lib/yafray/libspherelight.so
-lib/yafray/libbasicshaders.so
-lib/yafray/libbasicblocks.so
-lib/yafray/libmixblocks.so
-lib/yafray/libblendershader.so
-lib/yafray/libhdri.so
-lib/yafray/libshaderback.so
-lib/yafray/libsss.so
-lib/yafray/libsunsky.so
+bin/yafaray-xml
+include/yafaray/cameras/angularCamera.h
+include/yafaray/cameras/architectCamera.h
+include/yafaray/cameras/orthographicCamera.h
+include/yafaray/cameras/perspectiveCamera.h
+include/yafaray/core_api/background.h
+include/yafaray/core_api/bound.h
+include/yafaray/core_api/camera.h
+include/yafaray/core_api/color.h
+include/yafaray/core_api/color_console.h
+include/yafaray/core_api/color_ramp.h
+include/yafaray/core_api/environment.h
+include/yafaray/core_api/imagefilm.h
+include/yafaray/core_api/imagehandler.h
+include/yafaray/core_api/imagesplitter.h
+include/yafaray/core_api/integrator.h
+include/yafaray/core_api/light.h
+include/yafaray/core_api/logging.h
+include/yafaray/core_api/material.h
+include/yafaray/core_api/matrix4.h
+include/yafaray/core_api/mcintegrator.h
+include/yafaray/core_api/object3d.h
+include/yafaray/core_api/output.h
+include/yafaray/core_api/params.h
+include/yafaray/core_api/primitive.h
+include/yafaray/core_api/ray.h
+include/yafaray/core_api/renderpasses.h
+include/yafaray/core_api/sampling.h
+include/yafaray/core_api/scene.h
+include/yafaray/core_api/session.h
+include/yafaray/core_api/shader.h
+include/yafaray/core_api/surface.h
+include/yafaray/core_api/sysinfo.h
+include/yafaray/core_api/texture.h
+include/yafaray/core_api/tiledintegrator.h
+include/yafaray/core_api/vector3d.h
+include/yafaray/core_api/volume.h
+include/yafaray/core_api/yafsystem.h
+include/yafaray/gui/yafqtapi.h
+include/yafaray/integrators/integr_utils.h
+include/yafaray/integrators/photonintegr.h
+include/yafaray/integrators/sppm.h
+include/yafaray/interface/xmlinterface.h
+include/yafaray/interface/yafrayinterface.h
+include/yafaray/lights/arealight.h
+include/yafaray/lights/bglight.h
+include/yafaray/lights/bgportallight.h
+include/yafaray/lights/meshlight.h
+include/yafaray/materials/blendmat.h
+include/yafaray/materials/maskmat.h
+include/yafaray/materials/microfacet.h
+include/yafaray/materials/roughglass.h
+include/yafaray/materials/shinydiff.h
+include/yafaray/resources/guifont.h
+include/yafaray/resources/qtanim/00001.h
+include/yafaray/resources/qtanim/00002.h
+include/yafaray/resources/qtanim/00003.h
+include/yafaray/resources/qtanim/00004.h
+include/yafaray/resources/qtanim/00005.h
+include/yafaray/resources/qtanim/00006.h
+include/yafaray/resources/qtanim/00007.h
+include/yafaray/resources/qtanim/00008.h
+include/yafaray/resources/qtanim/00009.h
+include/yafaray/resources/qtanim/00010.h
+include/yafaray/resources/qtanim/00011.h
+include/yafaray/resources/qtanim/00012.h
+include/yafaray/resources/qtanim/00013.h
+include/yafaray/resources/qtanim/00014.h
+include/yafaray/resources/qtanim/00015.h
+include/yafaray/resources/qtanim/00016.h
+include/yafaray/resources/qtanim/00017.h
+include/yafaray/resources/qtanim/00018.h
+include/yafaray/resources/qtanim/00019.h
+include/yafaray/resources/qtanim/00020.h
+include/yafaray/resources/qtanim/00021.h
+include/yafaray/resources/qtanim/00022.h
+include/yafaray/resources/qtanim/00023.h
+include/yafaray/resources/qtanim/00024.h
+include/yafaray/resources/qtanim/00025.h
+include/yafaray/resources/qtanim/00026.h
+include/yafaray/resources/qtanim/00027.h
+include/yafaray/resources/qtanim/00028.h
+include/yafaray/resources/qtanim/00029.h
+include/yafaray/resources/qtanim/00030.h
+include/yafaray/resources/qtanim/00031.h
+include/yafaray/resources/qtanim/00032.h
+include/yafaray/resources/qtanim/00033.h
+include/yafaray/resources/qtanim/00034.h
+include/yafaray/resources/qtanim/00035.h
+include/yafaray/resources/qtanim/00036.h
+include/yafaray/resources/qtanim/00037.h
+include/yafaray/resources/qtanim/00038.h
+include/yafaray/resources/qtanim/00039.h
+include/yafaray/resources/qtanim/00040.h
+include/yafaray/resources/qtanim/00041.h
+include/yafaray/resources/qtanim/00042.h
+include/yafaray/resources/qtanim/00043.h
+include/yafaray/resources/qtanim/00044.h
+include/yafaray/resources/qtanim/00045.h
+include/yafaray/resources/qtanim/00046.h
+include/yafaray/resources/qtanim/00047.h
+include/yafaray/resources/qtanim/00048.h
+include/yafaray/resources/qtanim/00049.h
+include/yafaray/resources/qtanim/00050.h
+include/yafaray/resources/toolbar_alpha_icon.h
+include/yafaray/resources/toolbar_cancel_icon.h
+include/yafaray/resources/toolbar_colorbuffer_icon.h
+include/yafaray/resources/toolbar_drawparams_icon.h
+include/yafaray/resources/toolbar_quit_icon.h
+include/yafaray/resources/toolbar_render_icon.h
+include/yafaray/resources/toolbar_save_as_icon.h
+include/yafaray/resources/toolbar_savedepth_icon.h
+include/yafaray/resources/toolbar_show_alpha_icon.h
+include/yafaray/resources/toolbar_z_buffer_icon.h
+include/yafaray/resources/toolbar_zoomin_icon.h
+include/yafaray/resources/toolbar_zoomout_icon.h
+include/yafaray/resources/yafLogoTiny.h
+include/yafaray/resources/yafarayicon.h
+include/yafaray/textures/basicnodes.h
+include/yafaray/textures/basictex.h
+include/yafaray/textures/imagetex.h
+include/yafaray/textures/layernode.h
+include/yafaray/textures/noise.h
+include/yafaray/utilities/ColorConv.h
+include/yafaray/utilities/buffer.h
+include/yafaray/utilities/console_utils.h
+include/yafaray/utilities/curveUtils.h
+include/yafaray/utilities/fileUtils.h
+include/yafaray/utilities/geometry.h
+include/yafaray/utilities/iesUtils.h
+include/yafaray/utilities/image_buffers.h
+include/yafaray/utilities/interpolation.h
+include/yafaray/utilities/mathOptimizations.h
+include/yafaray/utilities/math_utils.h
+include/yafaray/utilities/mcqmc.h
+include/yafaray/utilities/sample_utils.h
+include/yafaray/utilities/spectralData.h
+include/yafaray/utilities/stringUtils.h
+include/yafaray/utilities/threadUtils.h
+include/yafaray/utilities/tiled_array.h
+include/yafaray/utilities/winunistd.h
+include/yafaray/utilities/y_alloc.h
+include/yafaray/utilities/y_alloc.h.orig
+include/yafaray/yaf_version.h
+include/yafaray/yafray_config.h
+include/yafaray/yafray_constants.h
+include/yafaray/yafraycore/hashgrid.h
+include/yafaray/yafraycore/image.h
+include/yafaray/yafraycore/imageOutput.h
+include/yafaray/yafraycore/kdtree.h
+include/yafaray/yafraycore/memoryIO.h
+include/yafaray/yafraycore/meshtypes.h
+include/yafaray/yafraycore/monitor.h
+include/yafaray/yafraycore/nodematerial.h
+include/yafaray/yafraycore/octree.h
+include/yafaray/yafraycore/photon.h
+include/yafaray/yafraycore/pkdtree.h
+include/yafaray/yafraycore/ray_kdtree.h
+include/yafaray/yafraycore/scr_halton.h
+include/yafaray/yafraycore/spectrum.h
+include/yafaray/yafraycore/std_primitives.h
+include/yafaray/yafraycore/timer.h
+include/yafaray/yafraycore/triangle.h
+include/yafaray/yafraycore/triangle_inline.h
+include/yafaray/yafraycore/xmlparser.h
+lib/libyafaray_v3_core.so
+lib/libyafaray_v3_plugin.so
+%%QT%%lib/libyafarayqt.so
+lib/yafaray-plugins/libDebugIntegrator.so
+lib/yafaray-plugins/libEmissionIntegrator.so
+lib/yafaray-plugins/libEmptyVolumeIntegrator.so
+lib/yafaray-plugins/libExpDensityVolume.so
+lib/yafaray-plugins/libNoiseVolume.so
+lib/yafaray-plugins/libSingleScatterIntegrator.so
+lib/yafaray-plugins/libSkyIntegrator.so
+lib/yafaray-plugins/libSkyVolume.so
+lib/yafaray-plugins/libSunSky2.so
+lib/yafaray-plugins/libUniformVolume.so
+lib/yafaray-plugins/libangularCamera.so
+lib/yafaray-plugins/libarealight.so
+lib/yafaray-plugins/libbasicnodes.so
+lib/yafaray-plugins/libbasictex.so
+lib/yafaray-plugins/libbglight.so
+lib/yafaray-plugins/libbidirpath.so
+lib/yafaray-plugins/libblend.so
+lib/yafaray-plugins/libcoatedglossy.so
+lib/yafaray-plugins/libdirectional.so
+lib/yafaray-plugins/libdirectlight.so
+lib/yafaray-plugins/libexrHandler.so
+lib/yafaray-plugins/libglass.so
+lib/yafaray-plugins/libglossy.so
+lib/yafaray-plugins/libgradientback.so
+lib/yafaray-plugins/libhdrHandler.so
+lib/yafaray-plugins/libieslight.so
+lib/yafaray-plugins/libjpgHandler.so
+lib/yafaray-plugins/liborthographicCamera.so
+lib/yafaray-plugins/libpathtrace.so
+lib/yafaray-plugins/libperspectiveCamera.so
+lib/yafaray-plugins/libphotonmap.so
+lib/yafaray-plugins/libpngHandler.so
+lib/yafaray-plugins/libpointlight.so
+lib/yafaray-plugins/libroughglass.so
+lib/yafaray-plugins/libshinydiffuse.so
+lib/yafaray-plugins/libsimple.so
+lib/yafaray-plugins/libspherelight.so
+lib/yafaray-plugins/libspotlight.so
+lib/yafaray-plugins/libsppm.so
+lib/yafaray-plugins/libsunlight.so
+lib/yafaray-plugins/libsunsky.so
+lib/yafaray-plugins/libtextureback.so
+lib/yafaray-plugins/libtgaHandler.so
+lib/yafaray-plugins/libtifHandler.so
+lib/yafaray-plugins/libvolumetric.so
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%DATADIR%%/tests/test01/test01 - expected render result.png
+%%DATADIR%%/tests/test01/test01.xml
+%%DATADIR%%/tests/test01/test01_tex.exr
+%%DATADIR%%/tests/test01/test01_tex.hdr
+%%DATADIR%%/tests/test01/test01_tex.jpg
+%%DATADIR%%/tests/test01/test01_tex.png
+%%DATADIR%%/tests/test01/test01_tex.tga
+%%DATADIR%%/tests/test01/test01_tex.tif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807210653.w6L6rfiV009070>