Bug 186892 - x11-fonts/gnu-unifont: update from 20131020 to 20140214
Summary: x11-fonts/gnu-unifont: update from 20131020 to 20140214
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-19 12:10 UTC by Vitaly Magerya
Modified: 2014-02-25 21:10 UTC (History)
0 users

See Also:


Attachments
file.diff (2.23 KB, patch)
2014-02-19 12:10 UTC, Vitaly Magerya
no flags Details | Diff
unifont.diff.txt (3.82 KB, text/plain; charset=UTF-8)
2014-02-20 17:36 UTC, Vitaly Magerya
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Magerya 2014-02-19 12:10:00 UTC
Update x11-fonts/gnu-unifont and x11-fonts/gnu-unifont-ttf
from from 20131020 to 20140214.

Note that in theory the gnu-unifont-ttf port should either
run mkfonscale and mkfontdir after installation and
deinstallation (which creates a run-time dependency on both),
or run them during build and install the font, fonts.scale and
fonts.dir files in a separate directory.

In practice however, just copying the .ttf file works fine for
me, so until someone complains, I'm leaving it as it is.

Fix: Patch attached with submission follows:
Comment 1 Vitaly Magerya 2014-02-20 17:36:26 UTC
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"?
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2014-02-21 03:16:40 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

ports PR.
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-21 03:16:56 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-21 03:16:56 UTC
Maintainer of x11-fonts/gnu-unifont,

Please note that PR ports/186892 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/186892

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 5 bsdports 2014-02-21 03:54:35 UTC
please commit.
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2014-02-24 05:50:22 UTC
State Changed
From-To: feedback->open

Maintainer approved.
Comment 7 Pawel Pekala freebsd_committer freebsd_triage 2014-02-25 20:30:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 8 dfilter service freebsd_committer freebsd_triage 2014-02-25 21:03:35 UTC
Author: pawel
Date: Tue Feb 25 21:03:26 2014
New Revision: 346077
URL: http://svnweb.freebsd.org/changeset/ports/346077
QAT: https://qat.redports.org/buildarchive/r346077/

Log:
  Update to version 20140214
  
  PR:		ports/186892
  Submitted by:	Vitaly Magerya <vmagerya@gmail.com>
  Approved by:	maintainer

Added:
  head/x11-fonts/gnu-unifont-ttf/pkg-plist   (contents, props changed)
Modified:
  head/x11-fonts/gnu-unifont-ttf/Makefile
  head/x11-fonts/gnu-unifont-ttf/distinfo
  head/x11-fonts/gnu-unifont/Makefile
  head/x11-fonts/gnu-unifont/distinfo

Modified: head/x11-fonts/gnu-unifont-ttf/Makefile
==============================================================================
--- head/x11-fonts/gnu-unifont-ttf/Makefile	Tue Feb 25 20:55:46 2014	(r346076)
+++ head/x11-fonts/gnu-unifont-ttf/Makefile	Tue Feb 25 21:03:26 2014	(r346077)
@@ -2,24 +2,35 @@
 # $FreeBSD$
 
 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>

Modified: head/x11-fonts/gnu-unifont-ttf/distinfo
==============================================================================
--- head/x11-fonts/gnu-unifont-ttf/distinfo	Tue Feb 25 20:55:46 2014	(r346076)
+++ head/x11-fonts/gnu-unifont-ttf/distinfo	Tue Feb 25 21:03:26 2014	(r346077)
@@ -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

Added: head/x11-fonts/gnu-unifont-ttf/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/gnu-unifont-ttf/pkg-plist	Tue Feb 25 21:03:26 2014	(r346077)
@@ -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%%

Modified: head/x11-fonts/gnu-unifont/Makefile
==============================================================================
--- head/x11-fonts/gnu-unifont/Makefile	Tue Feb 25 20:55:46 2014	(r346076)
+++ head/x11-fonts/gnu-unifont/Makefile	Tue Feb 25 21:03:26 2014	(r346077)
@@ -2,9 +2,10 @@
 # $FreeBSD$
 
 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=

Modified: head/x11-fonts/gnu-unifont/distinfo
==============================================================================
--- head/x11-fonts/gnu-unifont/distinfo	Tue Feb 25 20:55:46 2014	(r346076)
+++ head/x11-fonts/gnu-unifont/distinfo	Tue Feb 25 21:03:26 2014	(r346077)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 9 Pawel Pekala freebsd_committer freebsd_triage 2014-02-25 21:03:39 UTC
State Changed
From-To: open->closed

Committed. Thanks!