Date: Wed, 4 Jun 2008 18:07:54 GMT From: nrg milk <bsdports@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/124278: [UPDATE] sysutils/gnu-unifont update and category moved to x11-fonts & jfbterm patch Message-ID: <200806041807.m54I7r3N035020@www.freebsd.org> Resent-Message-ID: <200806041810.m54IA1aY067045@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124278 >Category: ports >Synopsis: [UPDATE] sysutils/gnu-unifont update and category moved to x11-fonts & jfbterm patch >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jun 04 18:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: nrg milk >Release: 7.0-STABLE >Organization: null >Environment: FreeBSD 7.0-STABLE FreeBSD 7.0-STABLE #16: Fri May 30 20:23:00 JST 2008 root@:/usr/obj/usr/src/sys/GENERIC i386 >Description: gnu-unifont was updated. http://unifoundry.com/unifont.html I let I was elaborate and become you and moved a category of ports from sysutils to x11-fonts. In addition, I revised jfbterm with the dependence. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -Nru sysutils/gnu-unifont/Makefile x11-fonts/gnu-unifont/Makefile --- sysutils/gnu-unifont/Makefile 2008-03-19 15:34:25.000000000 +0900 +++ x11-fonts/gnu-unifont/Makefile 2008-06-05 02:51:29.000000000 +0900 @@ -5,24 +5,28 @@ # $FreeBSD: ports/sysutils/gnu-unifont/Makefile,v 1.1 2008/03/19 06:34:25 vanilla Exp $ PORTNAME= gnu-unifont -PORTVERSION= 1.0.0 -CATEGORIES= sysutils -MASTER_SITES= http://chirashi-no-ura.net/files/ -DISTNAME= unifont.hex -EXTRACT_SUFX= .tar.bz +PORTVERSION= 20080510 +CATEGORIES= x11-fonts +MASTER_SITES= http://unifoundry.com/ \ + http://chirashi-no-ura.net/files/ +DISTNAME= gnu-unifont-2008-05-10.bdf +EXTRACT_SUFX= .gz MAINTAINER= bsdports@gmail.com COMMENT= Unicode font BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf -USE_PERL= 5.8 NO_BUILD= yes PLIST_FILES= lib/X11/fonts/local/unifont.pcf.gz +do-extract: + ${MKDIR} ${WRKDIR} + ${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKDIR} + ${GUNZIP_CMD} ${WRKDIR}/${DISTNAME}${EXTRACT_SUFX} + do-install: - ${CHMOD} +x ${FILESDIR}/hex2bdf - ${CAT} ${WRKDIR}/unifont.hex | ${FILESDIR}/hex2bdf | ${LOCALBASE}/bin/bdftopcf | ${GZIP_CMD} > ${WRKDIR}/unifont.pcf.gz + ${LOCALBASE}/bin/bdftopcf ${WRKDIR}/${DISTNAME} | ${GZIP_CMD} > ${WRKDIR}/unifont.pcf.gz ${CP} ${WRKDIR}/unifont.pcf.gz ${LOCALBASE}/lib/X11/fonts/local/unifont.pcf.gz .include <bsd.port.mk> diff -Nru sysutils/gnu-unifont/distinfo x11-fonts/gnu-unifont/distinfo --- sysutils/gnu-unifont/distinfo 2008-03-19 15:34:25.000000000 +0900 +++ x11-fonts/gnu-unifont/distinfo 2008-06-05 02:22:28.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (unifont.hex.tar.bz) = 8cc304ab7a4c84ae3845ee7ef76639c9 -SHA256 (unifont.hex.tar.bz) = bc4fbd356946a4267b28aa3053bb77859d56456eed0323d6db5590d455891c12 -SIZE (unifont.hex.tar.bz) = 554325 +MD5 (gnu-unifont-2008-05-10.bdf.gz) = 25bfb7d0213cf8cd415e61eeb9d2b038 +SHA256 (gnu-unifont-2008-05-10.bdf.gz) = 75ef7421c5e299a8f00bd0fde78efb4d9a6981bf0e72bc7e4e08be6cbb46e187 +SIZE (gnu-unifont-2008-05-10.bdf.gz) = 1265800 diff -Nru sysutils/gnu-unifont/files/hex2bdf x11-fonts/gnu-unifont/files/hex2bdf --- sysutils/gnu-unifont/files/hex2bdf 2008-03-19 15:34:26.000000000 +0900 +++ x11-fonts/gnu-unifont/files/hex2bdf 1970-01-01 09:00:00.000000000 +0900 @@ -1,36 +0,0 @@ -#!/usr/bin/perl - -while (<>) { $glyph{$1} = $2 if /(....):(.+)\n/; } -@chars = sort keys %glyph; $[ = 1; -# dbmopen (%charname, "/usr/share/unicode/unidata/charname.db", 0); - -print "STARTFONT 2.1 -FONT -gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1 -SIZE 16 75 75 -FONTBOUNDINGBOX 16 16 0 -2 -STARTPROPERTIES 3 -FONT_ASCENT 14 -FONT_DESCENT 2 -DEFAULT_CHAR 32 -ENDPROPERTIES -CHARS $#chars\n"; - -foreach $character (@chars) -{ - $encoding = hex($character); $glyph = $glyph{$character}; - $width = length ($glyph) > 32 ? 2 : 1; - $dwidth = $width * 8; $swidth= $width * 500; - $glyph =~ s/((..){$width})/\n$1/g; - $character = "$character $charname" - if $charname = $charname{pack("n",hex($character))}; - - print "STARTCHAR U+$character -ENCODING $encoding -SWIDTH $swidth 0 -DWIDTH $dwidth 0 -BBX $dwidth 16 0 -2 -BITMAP $glyph -ENDCHAR\n"; -} - -print "ENDFONT\n"; diff -Nru sysutils/gnu-unifont/pkg-descr x11-fonts/gnu-unifont/pkg-descr --- sysutils/gnu-unifont/pkg-descr 2008-03-19 15:34:25.000000000 +0900 +++ x11-fonts/gnu-unifont/pkg-descr 2008-06-05 02:22:28.000000000 +0900 @@ -2,5 +2,5 @@ the Unicode Basic Multilingual Plane (BMP), using an intermediate bitmapped font format. -Auther: Roman Czyborra <roman@czyborra.com> -WWW: http://czyborra.com/unifont/ +Auther: Paul Hardy <unifoundry@unifoundry.com> +WWW: http://unifoundry.com/unifont.html --- jfbterm/Makefile.org 2008-06-05 02:09:45.000000000 +0900 +++ jfbterm/Makefile 2008-06-05 02:51:53.000000000 +0900 @@ -6,7 +6,7 @@ PORTNAME= jfbterm PORTVERSION= 0.5.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://www.ac.auone-net.jp/~baba/jfbterm/ \ http://chirashi-no-ura.net/files/ @@ -16,7 +16,7 @@ COMMENT= Multilanguage can be displayed on the console LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png -RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/local/unifont.pcf.gz:${PORTSDIR}/sysutils/gnu-unifont +RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/local/unifont.pcf.gz:${PORTSDIR}/x11-fonts/gnu-unifont USE_ICONV= yes USE_GNOME= pkgconfig >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806041807.m54I7r3N035020>