Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2014 17:40:01 GMT
From:      Vitaly Magerya <vmagerya@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/186892: x11-fonts/gnu-unifont: update from 20131020 to 20140214
Message-ID:  <201402201740.s1KHe1KD021857@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/186892; it has been noted by GNATS.

From: Vitaly Magerya <vmagerya@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/186892: x11-fonts/gnu-unifont: update from 20131020 to 20140214
Date: Thu, 20 Feb 2014 19:36:26 +0200

 This is a multi-part message in MIME format.
 --------------070401050809050806090205
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 OK, so here's an update. Previously Unifont only distributed one .ttf
 file; currently it distributes 4 of them: one the same as previously,
 one for glyphs above the Basic Multilingual Plane, and two files with
 added glyphs from ConScript Unicode Registry (an unofficial project to
 add glyphs for artificial scripts into the Unicode Private Use Area).
 
 The patch above only installs one file; this update installs all four of
 them. It also employs mkfontscale and mkfontdir properly.
 
 Finally, could someone change this bug's category to "ports"?
 
 --------------070401050809050806090205
 Content-Type: text/plain; charset=UTF-8;
  name="unifont.diff.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="unifont.diff.txt"
 
 diff -ruN gnu-unifont.orig/Makefile gnu-unifont/Makefile
 --- gnu-unifont.orig/Makefile	2014-01-27 01:15:37.000000000 +0200
 +++ gnu-unifont/Makefile	2014-02-18 18:45:16.000000000 +0200
 @@ -2,9 +2,10 @@
  # $FreeBSD: head/x11-fonts/gnu-unifont/Makefile 341305 2014-01-26 23:15:37Z thierry $
  
  PORTNAME=	gnu-unifont
 -PORTVERSION=	20131020
 +PORTVERSION=	20140214
  CATEGORIES=	x11-fonts
 -MASTER_SITES=	http://unifoundry.com/pub/unifont-6.3.${PORTVERSION}/font-builds/
 +MASTER_SITES=	${MASTER_SITE_GNU}
 +MASTER_SITE_SUBDIR=unifont/unifont-6.3.${PORTVERSION}
  DISTNAME=	unifont-6.3.${PORTVERSION}.pcf
  EXTRACT_SUFX=	.gz
  EXTRACT_ONLY=
 diff -ruN gnu-unifont.orig/distinfo gnu-unifont/distinfo
 --- gnu-unifont.orig/distinfo	2014-01-27 01:15:37.000000000 +0200
 +++ gnu-unifont/distinfo	2014-02-18 18:38:09.000000000 +0200
 @@ -1,2 +1,2 @@
 -SHA256 (unifont-6.3.20131020.pcf.gz) = 6510709cb485a1393852b7e3540787a31f55137126d679fde47344bbf1349c53
 -SIZE (unifont-6.3.20131020.pcf.gz) = 1353939
 +SHA256 (unifont-6.3.20140214.pcf.gz) = 60c5954fcfcaf26c27392c6337dfd8f23353378090a5f918e4c776a0cb4a095d
 +SIZE (unifont-6.3.20140214.pcf.gz) = 1357499
 diff -ruN gnu-unifont-ttf.orig/Makefile gnu-unifont-ttf/Makefile
 --- gnu-unifont-ttf.orig/Makefile	2014-01-27 01:15:37.000000000 +0200
 +++ gnu-unifont-ttf/Makefile	2014-02-20 19:11:25.000000000 +0200
 @@ -2,24 +2,39 @@
  # $FreeBSD: head/x11-fonts/gnu-unifont-ttf/Makefile 341305 2014-01-26 23:15:37Z thierry $
  
  PORTNAME=	gnu-unifont-ttf
 -PORTVERSION=	20131020
 +PORTVERSION=	20140214
  CATEGORIES=	x11-fonts
 -MASTER_SITES=	http://unifoundry.com/pub/unifont-6.3.${PORTVERSION}/font-builds/
 -DISTNAME=	unifont-6.3.${PORTVERSION}.ttf
 -EXTRACT_SUFX=	.gz
 +MASTER_SITES=	${MASTER_SITE_GNU}
 +MASTER_SITE_SUBDIR=unifont/unifont-6.3.${PORTVERSION}
 +DISTNAME=	unifont-6.3.${PORTVERSION}
  
  MAINTAINER=	bsdports@gmail.com
  COMMENT=	Unicode TrueType Font
  
 -EXTRACT_CMD=	${GZIP_CMD}
 -EXTRACT_BEFORE_ARGS=	-dc
 -EXTRACT_AFTER_ARGS=	> ${WRKDIR}/${DISTNAME}
 +BUILD_DEPENDS=	mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \
 +		mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
  
 -NO_WRKSUBDIR=	yes
  NO_BUILD=	yes
 -PLIST_FILES=	lib/X11/fonts/local/unifont.ttf
 +FONTSDIR=	lib/X11/fonts/unifont
 +INSTALLDIR=	${STAGEDIR}${PREFIX}/${FONTSDIR}
 +PLIST_SUB=	FONTSDIR="${FONTSDIR}"
 +WRKSRC_SUBDIR=	font/precompiled
  
  do-install:
 -	${INSTALL_DATA} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/lib/X11/fonts/local/unifont.ttf
 +	${MKDIR} ${INSTALLDIR}
 +	${INSTALL_DATA} \
 +		${WRKSRC}/unifont-6.3.${PORTVERSION}.ttf \
 +		${INSTALLDIR}/unifont.ttf
 +	${INSTALL_DATA} \
 +		${WRKSRC}/unifont_csur-6.3.${PORTVERSION}.ttf \
 +		${INSTALLDIR}/unifont_csur.ttf
 +	${INSTALL_DATA} \
 +		${WRKSRC}/unifont_upper-6.3.${PORTVERSION}.ttf \
 +		${INSTALLDIR}/unifont_upper.ttf
 +	${INSTALL_DATA} \
 +		${WRKSRC}/unifont_upper_csur-6.3.${PORTVERSION}.ttf \
 +		${INSTALLDIR}/unifont_upper_csur.ttf
 +	${LOCALBASE}/bin/mkfontscale ${INSTALLDIR}
 +	${LOCALBASE}/bin/mkfontdir ${INSTALLDIR}
  
  .include <bsd.port.mk>
 diff -ruN gnu-unifont-ttf.orig/distinfo gnu-unifont-ttf/distinfo
 --- gnu-unifont-ttf.orig/distinfo	2014-01-27 01:15:37.000000000 +0200
 +++ gnu-unifont-ttf/distinfo	2014-02-20 18:34:14.000000000 +0200
 @@ -1,2 +1,2 @@
 -SHA256 (unifont-6.3.20131020.ttf.gz) = 2ed6b629cb03ae0f58cdf6c3a8538499d20c1618abfcfbcdabf9649067c4d251
 -SIZE (unifont-6.3.20131020.ttf.gz) = 3080523
 +SHA256 (unifont-6.3.20140214.tar.gz) = 8238b21c105b0af9574c2eac647073513e6c008710a116c7c9e271743cbfd5a7
 +SIZE (unifont-6.3.20140214.tar.gz) = 17337004
 diff -ruN gnu-unifont-ttf.orig/pkg-plist gnu-unifont-ttf/pkg-plist
 --- gnu-unifont-ttf.orig/pkg-plist	1970-01-01 03:00:00.000000000 +0300
 +++ gnu-unifont-ttf/pkg-plist	2014-02-20 19:12:38.000000000 +0200
 @@ -0,0 +1,7 @@
 +%%FONTSDIR%%/fonts.dir
 +%%FONTSDIR%%/fonts.scale
 +%%FONTSDIR%%/unifont.ttf
 +%%FONTSDIR%%/unifont_csur.ttf
 +%%FONTSDIR%%/unifont_upper.ttf
 +%%FONTSDIR%%/unifont_upper_csur.ttf
 +@dirrm %%FONTSDIR%%
 
 --------------070401050809050806090205--



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