Bug 200064 - [patch] japanese/kanji18: Fix installation of fonts.alias and some fix
Summary: [patch] japanese/kanji18: Fix installation of fonts.alias and some fix
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: MIHIRA Sanpei Yoshiro
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-05-09 08:26 UTC by WATANABE Kazuhiro
Modified: 2015-07-18 02:11 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sanpei)


Attachments
A patch for japanese/kanji18 (1.02 KB, patch)
2015-05-09 08:26 UTC, WATANABE Kazuhiro
no flags Details | Diff
A patch for japanese/kanji18 (1.52 KB, patch)
2015-05-09 08:29 UTC, WATANABE Kazuhiro
no flags Details | Diff
poudriere testport log without the patch (10.1-RELEASE amd64) (18.10 KB, text/x-log)
2015-05-09 08:32 UTC, WATANABE Kazuhiro
no flags Details
poudriere testport log with the patch (10.1-RELEASE amd64) (17.28 KB, text/x-log)
2015-05-09 08:33 UTC, WATANABE Kazuhiro
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description WATANABE Kazuhiro 2015-05-09 08:26:55 UTC
Created attachment 156539 [details]
A patch for japanese/kanji18

Due to massive updates which is related with USES=fonts [1],
japanese/kanji18 fails to update fonts.alias.

(1) Fix pathnames in INSTALL.tmpl and DEINSTALL.tmpl.

(2) Remove mkfontdir from INSTALL.tmpl and DEINSTALL.tmpl.
    It is handled by USES=fonts automatically.

(3) Remove fonts.dir deleting code from DEINSTALL.tmpl.
    It is handled by USES=fonts automatically.

A small problem still remains.  If "%%LOCALBASE%%/bin/xset fp rehash"
is failed, these scripts shows the message below:

| **********************************************************
| You should restart X server or do 'xset fp rehash' command
| to enable this update.
| **********************************************************

But now the fonts are installed to ${PREFIX}/share/fonts/kanji
which is not listed in the default X's FontPath.  So the message is
not enough for appropriate fontpath setting.

[1] https://svnweb.freebsd.org/ports?view=revision&revision=381876
Comment 1 WATANABE Kazuhiro 2015-05-09 08:29:19 UTC
Created attachment 156540 [details]
A patch for japanese/kanji18

The previos one is an another patch.  Sorry.
Comment 2 WATANABE Kazuhiro 2015-05-09 08:32:52 UTC
Created attachment 156541 [details]
poudriere testport log without the patch (10.1-RELEASE amd64)
Comment 3 WATANABE Kazuhiro 2015-05-09 08:33:50 UTC
Created attachment 156542 [details]
poudriere testport log with the patch (10.1-RELEASE amd64)
Comment 4 commit-hook freebsd_committer freebsd_triage 2015-07-18 02:11:48 UTC
A commit references this bug:

Author: sanpei
Date: Sat Jul 18 02:10:58 UTC 2015
New revision: 392404
URL: https://svnweb.freebsd.org/changeset/ports/392404

Log:
  fix issues related with USES=fonts

  PR:		200064, 200065
  Submitted by:	WATANABE Kazuhiro

Changes:
  head/japanese/kanji18/Makefile
  head/japanese/kanji18/files/DEINSTALL.tmpl
  head/japanese/kanji18/files/INSTALL.tmpl
  head/japanese/kanji26/files/DEINSTALL.tmpl
  head/japanese/kanji26/files/INSTALL.tmpl