svn commit: r458811 - head/x11-fonts/encodings
Kurt Jaeger
pi at FreeBSD.org
Fri Jan 12 09:16:21 UTC 2018
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 at gmail.com, Jia-Shiun Li <jiashiun at 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 at 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/
More information about the svn-ports-all
mailing list