pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkgsrc/fonts/ricty-ttf update to 3.2.0



hi

I have been updated to ricty 3.2.0 .
and "post-build" phase add to Makefile.

[post-build]
Ricty has known issue. (sorry japanese)

プログラミング用フォント Ricty
http://save.sys.t.u-tokyo.ac.jp/~yusa/fonts/ricty.html

>>
既知の問題
一部の環境において、生成されたフォントの全角文字の文字間隔が不自然に大きくなることがあります。
生成されたフォントを os2version_reviser.sh に食べさせることで修正できます。
<<

This problem is caused environment Ubuntu 11.10 and NetBSD :-(
so I add os2version_reviser.sh to Makefile.
Please review.
Makefile diff:


% diff -u Makefile.orig Makefile
--- Makefile.orig       2012-04-30 17:58:30.000000000 +0900
+++ Makefile    2012-05-01 00:31:17.000000000 +0900
@@ -1,10 +1,10 @@
 # $NetBSD: Makefile,v 1.7 2012/03/22 18:25:44 ryoon Exp $
 #

-DISTNAME=      yascentur-Ricty-3.1.3-0-gfe68161.tar.gz
-PKGNAME=       ricty-ttf-3.1.3
+DISTNAME=      yascentur-Ricty-3.2.0-0-gb9d8b9c.tar.gz
+PKGNAME=       ricty-ttf-3.2.0
 CATEGORIES=    fonts japanese
-MASTER_SITES=  -https://github.com/yascentur/Ricty/tarball/3.1.3
+MASTER_SITES=  -https://github.com/yascentur/Ricty/tarball/3.2.0

 MAINTAINER=    ryoon%NetBSD.org@localhost
 HOMEPAGE=      http://save.sys.t.u-tokyo.ac.jp/~yusa/fonts/ricty.html
@@ -27,7 +27,7 @@
 USE_X11BASE=   YES
 NO_CONFIGURE=  YES

-WRKSRC=                ${WRKDIR}/yascentur-Ricty-fe68161
+WRKSRC=                ${WRKDIR}/yascentur-Ricty-b9d8b9c

 INSTALLATION_DIRS=     lib/X11/fonts/TTF

@@ -53,6 +53,11 @@
        ${MIGUDIR}/lib/X11/fonts/TTF/migu-1m-regular.ttf \
        ${MIGUDIR}/lib/X11/fonts/TTF/migu-1m-bold.ttf

+post-build:
+       set -e; \
+       cd ${WRKSRC}; \
+       ./misc/os2version_reviser.sh Ricty*.ttf
+
 do-install:
 .for f in ${INSTALL_FONTS}
        ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${FONTDIR}

-- 
miwarin


Home | Main Index | Thread Index | Old Index