Bug 183298 - Update x11-fonts/gnu-unifont and x11-fonts/gnu-unifont-ttf from 20080907 to 20131020
Summary: Update x11-fonts/gnu-unifont and x11-fonts/gnu-unifont-ttf from 20080907 to 2...
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: Thierry Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-25 13:40 UTC by Vitaly Magerya
Modified: 2014-01-26 23:30 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (4.27 KB, patch)
2013-10-25 13:40 UTC, Vitaly Magerya
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Magerya 2013-10-25 13:40:00 UTC
Update x11-fonts/gnu-unifont and x11-fonts/gnu-unifont-ttf
from 5.1.20080907 to 6.3.20131020.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-25 13:40:07 UTC
Maintainer of x11-fonts/gnu-unifont,

Please note that PR ports/183298 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/183298

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-25 13:40:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 bsdports 2013-11-02 17:17:20 UTC
no problem

On Friday, October 25, 2013, Edwin Groothuis wrote:

> Maintainer of x11-fonts/gnu-unifont,
>
> Please note that PR ports/183298 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/183298
>
> --
> Edwin Groothuis via the GNATS Auto Assign Tool
> edwin@FreeBSD.org
>
Comment 4 Thierry Thomas freebsd_committer freebsd_triage 2014-01-26 21:58:14 UTC
State Changed
From-To: feedback->open


Feedback received. 



Comment 5 Thierry Thomas freebsd_committer freebsd_triage 2014-01-26 21:58:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->thierry


Take it.
Comment 6 dfilter service freebsd_committer freebsd_triage 2014-01-26 23:15:45 UTC
Author: thierry
Date: Sun Jan 26 23:15:37 2014
New Revision: 341305
URL: http://svnweb.freebsd.org/changeset/ports/341305
QAT: https://qat.redports.org/buildarchive/r341305/

Log:
  Update x11-fonts/gnu-unifont and x11-fonts/gnu-unifont-ttf from 20080907
  to 20131020.
  
  PR:		ports/183298
  Submitted by:	Vitaly Magerya <vmagerya (at) gmail.com>
  Approved by:	maintainer

Modified:
  head/x11-fonts/gnu-unifont-ttf/Makefile
  head/x11-fonts/gnu-unifont-ttf/distinfo
  head/x11-fonts/gnu-unifont-ttf/pkg-descr
  head/x11-fonts/gnu-unifont/Makefile
  head/x11-fonts/gnu-unifont/distinfo
  head/x11-fonts/gnu-unifont/pkg-descr

Modified: head/x11-fonts/gnu-unifont-ttf/Makefile
==============================================================================
--- head/x11-fonts/gnu-unifont-ttf/Makefile	Sun Jan 26 23:12:29 2014	(r341304)
+++ head/x11-fonts/gnu-unifont-ttf/Makefile	Sun Jan 26 23:15:37 2014	(r341305)
@@ -2,26 +2,24 @@
 # $FreeBSD$
 
 PORTNAME=	gnu-unifont-ttf
-PORTVERSION=	20080907
+PORTVERSION=	20131020
 CATEGORIES=	x11-fonts
-MASTER_SITES=	http://unifoundry.com/ \
-		http://chirashi-no-ura.net/files/
-DISTNAME=	unifont-5.1.${PORTVERSION}.ttf
+MASTER_SITES=	http://unifoundry.com/pub/unifont-6.3.${PORTVERSION}/font-builds/
+DISTNAME=	unifont-6.3.${PORTVERSION}.ttf
 EXTRACT_SUFX=	.gz
 
 MAINTAINER=	bsdports@gmail.com
 COMMENT=	Unicode TrueType Font
 
+EXTRACT_CMD=	${GZIP_CMD}
+EXTRACT_BEFORE_ARGS=	-dc
+EXTRACT_AFTER_ARGS=	> ${WRKDIR}/${DISTNAME}
+
+NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 PLIST_FILES=	lib/X11/fonts/local/unifont.ttf
 
-NO_STAGE=	yes
-do-extract:
-	${MKDIR} ${WRKDIR}
-	${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKDIR}
-	${GUNZIP_CMD} ${WRKDIR}/${DISTNAME}${EXTRACT_SUFX}
-
 do-install:
-	${CP} ${WRKDIR}/${DISTNAME} ${LOCALBASE}/lib/X11/fonts/local/unifont.ttf
+	${INSTALL_DATA} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/lib/X11/fonts/local/unifont.ttf
 
 .include <bsd.port.mk>

Modified: head/x11-fonts/gnu-unifont-ttf/distinfo
==============================================================================
--- head/x11-fonts/gnu-unifont-ttf/distinfo	Sun Jan 26 23:12:29 2014	(r341304)
+++ head/x11-fonts/gnu-unifont-ttf/distinfo	Sun Jan 26 23:15:37 2014	(r341305)
@@ -1,2 +1,2 @@
-SHA256 (unifont-5.1.20080907.ttf.gz) = bccb547b59aa2006f2fb78053627eced4de1339cc6d612facfca2b0b9dee5a0f
-SIZE (unifont-5.1.20080907.ttf.gz) = 3105352
+SHA256 (unifont-6.3.20131020.ttf.gz) = 2ed6b629cb03ae0f58cdf6c3a8538499d20c1618abfcfbcdabf9649067c4d251
+SIZE (unifont-6.3.20131020.ttf.gz) = 3080523

Modified: head/x11-fonts/gnu-unifont-ttf/pkg-descr
==============================================================================
--- head/x11-fonts/gnu-unifont-ttf/pkg-descr	Sun Jan 26 23:12:29 2014	(r341304)
+++ head/x11-fonts/gnu-unifont-ttf/pkg-descr	Sun Jan 26 23:15:37 2014	(r341305)
@@ -4,5 +4,5 @@ using an intermediate bitmapped font for
 
 This is converted to TrueType.
 
-Auther: Paul Hardy <unifoundry@unifoundry.com>
+Author: Paul Hardy <unifoundry@unifoundry.com>
 WWW: http://unifoundry.com/unifont.html

Modified: head/x11-fonts/gnu-unifont/Makefile
==============================================================================
--- head/x11-fonts/gnu-unifont/Makefile	Sun Jan 26 23:12:29 2014	(r341304)
+++ head/x11-fonts/gnu-unifont/Makefile	Sun Jan 26 23:15:37 2014	(r341305)
@@ -2,29 +2,26 @@
 # $FreeBSD$
 
 PORTNAME=	gnu-unifont
-PORTVERSION=	20080820
+PORTVERSION=	20131020
 CATEGORIES=	x11-fonts
-MASTER_SITES=	http://unifoundry.com/ \
-		http://chirashi-no-ura.net/files/
-DISTNAME=	unifont-5.1.${PORTVERSION}.bdf
+MASTER_SITES=	http://unifoundry.com/pub/unifont-6.3.${PORTVERSION}/font-builds/
+DISTNAME=	unifont-6.3.${PORTVERSION}.pcf
 EXTRACT_SUFX=	.gz
+EXTRACT_ONLY=
 
 MAINTAINER=	bsdports@gmail.com
 COMMENT=	Unicode Font
 
-BUILD_DEPENDS=	bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf
+BUILD_DEPENDS=	mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
+RUN_DEPENDS=	mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
 
 NO_BUILD=	yes
-PLIST_FILES=	lib/X11/fonts/local/unifont.pcf.gz
-
-NO_STAGE=	yes
-do-extract:
-	${MKDIR} ${WRKDIR}
-	${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKDIR}
-	${GUNZIP_CMD} ${WRKDIR}/${DISTNAME}${EXTRACT_SUFX}
+PLIST_FILES=	"@unexec mkfontdir %D/lib/X11/fonts/local 2>/dev/null || true" \
+		lib/X11/fonts/local/unifont.pcf.gz	\
+		"@exec mkfontdir %D/lib/X11/fonts/local 2>/dev/null || true"
 
 do-install:
-	${LOCALBASE}/bin/bdftopcf  ${WRKDIR}/${DISTNAME} | ${GZIP_CMD} > ${WRKDIR}/unifont.pcf.gz
-	${CP} ${WRKDIR}/unifont.pcf.gz ${LOCALBASE}/lib/X11/fonts/local/unifont.pcf.gz
+	${INSTALL_DATA} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
+		${STAGEDIR}${PREFIX}/lib/X11/fonts/local/unifont.pcf.gz
 
 .include <bsd.port.mk>

Modified: head/x11-fonts/gnu-unifont/distinfo
==============================================================================
--- head/x11-fonts/gnu-unifont/distinfo	Sun Jan 26 23:12:29 2014	(r341304)
+++ head/x11-fonts/gnu-unifont/distinfo	Sun Jan 26 23:15:37 2014	(r341305)
@@ -1,2 +1,2 @@
-SHA256 (unifont-5.1.20080820.bdf.gz) = bd3bb03b6efb6d40641f84ce70ac69bf24d1cba58b738b041648186b9c731868
-SIZE (unifont-5.1.20080820.bdf.gz) = 1313836
+SHA256 (unifont-6.3.20131020.pcf.gz) = 6510709cb485a1393852b7e3540787a31f55137126d679fde47344bbf1349c53
+SIZE (unifont-6.3.20131020.pcf.gz) = 1353939

Modified: head/x11-fonts/gnu-unifont/pkg-descr
==============================================================================
--- head/x11-fonts/gnu-unifont/pkg-descr	Sun Jan 26 23:12:29 2014	(r341304)
+++ head/x11-fonts/gnu-unifont/pkg-descr	Sun Jan 26 23:15:37 2014	(r341305)
@@ -2,5 +2,5 @@ GNU Unifont is a free bitmap font that c
 the Unicode Basic Multilingual Plane (BMP),
 using an intermediate bitmapped font format.
 
-Auther: Paul Hardy <unifoundry@unifoundry.com>
+Author: Paul Hardy <unifoundry@unifoundry.com>
 WWW: http://unifoundry.com/unifont.html
_______________________________________________
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 7 Thierry Thomas freebsd_committer freebsd_triage 2014-01-26 23:16:03 UTC
State Changed
From-To: open->closed


Committed, thanks! 

Please note that in the meantime, a new version has been released 
(6.3.20131221); would you consider upgrading it? 

Please also consider defining the license (seems GPLv2), and also run 
mkfontdir and mkfontscale? It's not mandatory, but it can help some 
applications.