Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2018 09:16:20 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458811 - head/x11-fonts/encodings
Message-ID:  <201801120916.w0C9GKE4036634@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Fri Jan 12 09:16:20 2018
New Revision: 458811
URL: https://svnweb.freebsd.org/changeset/ports/458811

Log:
  x11-fonts/encodings: run mkfontscale to fix encodings.dir post-install
  
  - Since only *.enc.gz files are installed while the encodings.dir file is
    genareted for directories containing both *.enc and *.enc.gz files,
    the installed encodings.dir file includes bogus entries for *.enc.
  - It causes libfontenc to fail to find encoding files, then X to fail to
    open TrueType fonts with some encodings such as ascii-0 or jisx0208.1990-0.
  
  PR:		170852
  Submitted by:	hiroto.kagotani@gmail.com, Jia-Shiun Li <jiashiun@gmail.com>

Modified:
  head/x11-fonts/encodings/Makefile
  head/x11-fonts/encodings/pkg-descr

Modified: head/x11-fonts/encodings/Makefile
==============================================================================
--- head/x11-fonts/encodings/Makefile	Fri Jan 12 09:03:49 2018	(r458810)
+++ head/x11-fonts/encodings/Makefile	Fri Jan 12 09:16:20 2018	(r458811)
@@ -2,18 +2,24 @@
 
 PORTNAME=	encodings
 PORTVERSION=	1.0.4
-PORTREVISION=	3
+PORTREVISION=	4
 PORTEPOCH=	1
-MASTER_SITES=	XORG/individual/font
 CATEGORIES=	x11-fonts
+MASTER_SITES=	XORG/individual/font
 
 MAINTAINER=	x11@FreeBSD.org
 COMMENT=	X.Org Encoding fonts
 
+LICENSE=	PD
+
+BUILD_DEPENDS=	mkfontscale:x11-fonts/mkfontscale
+
 USES=		tar:bzip2
 USE_XORG=	fontutil
-BUILD_DEPENDS=	mkfontscale:x11-fonts/mkfontscale
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-fontrootdir=${PREFIX}/share/fonts
+
+post-install:
+	cd ${STAGEDIR}/usr/local/share/fonts/encodings && /usr/local/bin/mkfontscale -b -s -l -n -r -p /usr/local/share/fonts/encodings -e . -e large .
 
 .include <bsd.port.mk>

Modified: head/x11-fonts/encodings/pkg-descr
==============================================================================
--- head/x11-fonts/encodings/pkg-descr	Fri Jan 12 09:03:49 2018	(r458810)
+++ head/x11-fonts/encodings/pkg-descr	Fri Jan 12 09:16:20 2018	(r458811)
@@ -1,3 +1,3 @@
-This package contains encondings X.Org fonts.
+This package contains encodings of X.Org fonts.
 
 WWW: https://www.x.org/



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