Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2019 08:19:18 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r513555 - head/graphics/openimageio
Message-ID:  <201910020819.x928JIPF062078@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Wed Oct  2 08:19:18 2019
New Revision: 513555
URL: https://svnweb.freebsd.org/changeset/ports/513555

Log:
  graphics/openimageio:
  - Depend on x11-fonts/droid-fonts-ttf instead of installing own copies:
    Droid fonts shipped with openimageio don't have Cyrillic symbols.
    For some reason LibreOffice picks up Droid fonts from openimageio
    and this breaks LibreOffice UI for non-Latin locales.
  
  PR:		240963
  Approved by:	maintainer

Modified:
  head/graphics/openimageio/Makefile
  head/graphics/openimageio/pkg-plist

Modified: head/graphics/openimageio/Makefile
==============================================================================
--- head/graphics/openimageio/Makefile	Wed Oct  2 07:05:34 2019	(r513554)
+++ head/graphics/openimageio/Makefile	Wed Oct  2 08:19:18 2019	(r513555)
@@ -4,7 +4,7 @@
 PORTNAME=	openimageio
 DISTVERSIONPREFIX=	Release-
 DISTVERSION=	2.0.10
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES?=	graphics multimedia
 
 MAINTAINER?=	FreeBSD@Shaneware.biz
@@ -30,7 +30,7 @@ GH_PROJECT=	oiio
 CONFLICTS=	fbm-[0-9]*
 
 CMAKE_ARGS=	USE_CPP:STRING=11
-CMAKE_OFF=	BUILDSTATIC LINKSTATIC NOTHREADS STOP_ON_WARNING USE_OPENSSL
+CMAKE_OFF=	BUILDSTATIC INSTALL_FONTS LINKSTATIC NOTHREADS STOP_ON_WARNING USE_OPENSSL
 
 OPTIONS_DEFINE=		DICOM DOCS FFMPEG FREETYPE GIF IMAGEVIEWER OCIO \
 			OPENCV OPENJPEG RAW TBB TEST TOOLS VDB
@@ -49,8 +49,8 @@ FFMPEG_CMAKE_BOOL=	USE_FFMPEG
 FFMPEG_LIB_DEPENDS=	libavutil.so:multimedia/ffmpeg
 
 FREETYPE_CMAKE_BOOL=	USE_FREETYPE
-FREETYPE_CMAKE_ON=	-DFONTS_INSTALL_DIR:STRING=share/fonts/oiio_dev
 FREETYPE_LIB_DEPENDS=	libfreetype.so:print/freetype2
+FREETYPE_RUN_DEPENDS=	${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf
 
 GIF_CMAKE_BOOL=		USE_GIF
 GIF_LIB_DEPENDS=	libgif.so:graphics/giflib

Modified: head/graphics/openimageio/pkg-plist
==============================================================================
--- head/graphics/openimageio/pkg-plist	Wed Oct  2 07:05:34 2019	(r513554)
+++ head/graphics/openimageio/pkg-plist	Wed Oct  2 08:19:18 2019	(r513555)
@@ -71,13 +71,6 @@ lib/libOpenImageIO_Util.so.2.0
 lib/libOpenImageIO_Util.so.%%LIBVERS%%
 libdata/pkgconfig/OpenImageIO.pc
 share/cmake/Modules/FindOpenImageIO.cmake
-%%FREETYPE%%share/fonts/OpenImageIO/DroidSans-Bold.ttf
-%%FREETYPE%%share/fonts/OpenImageIO/DroidSans.ttf
-%%FREETYPE%%share/fonts/OpenImageIO/DroidSansMono.ttf
-%%FREETYPE%%share/fonts/OpenImageIO/DroidSerif-Bold.ttf
-%%FREETYPE%%share/fonts/OpenImageIO/DroidSerif-BoldItalic.ttf
-%%FREETYPE%%share/fonts/OpenImageIO/DroidSerif-Italic.ttf
-%%FREETYPE%%share/fonts/OpenImageIO/DroidSerif.ttf
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES.md
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES-0.x.md
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES-1.x.md



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