hns - 日記自動生成システム - Version 2.19.9

先月 2011年02月 来月
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2011年02月24日(木) 旧暦 [n年日記] [更新:"2011/02/24 23:05:03"]

#1 [pkgsrc] print/teTeX3-texmf has problem with tex-ptex-3.1.9nb1

=> Becoming ``root'' to make su-real-package-install (/usr/pkg/bin/sudo)
Password:
===> Install binary package of teTeX-texmf-3.0nb29
pkg_add: Conflicting PLIST with tex-ptex-3.1.9nb1: share/texmf-dist/tex/platex/config/hyphen.cfg
pkg_add: 1 package addition failed
*** Error code 1

Stop.
make: stopped in /export/pkgsrc/print/teTeX3-texmf
I had following patch and it builds OK, but not works, probably teTeX3-texmf side should be fixed.
Index: print/tex-ptex/Makefile
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/print/tex-ptex/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- print/tex-ptex/Makefile	7 Feb 2011 19:59:44 -0000	1.2
+++ print/tex-ptex/Makefile	24 Feb 2011 13:10:29 -0000
@@ -30,5 +30,9 @@
 
 post-install:
 	${LN} -sf ptex ${DESTDIR}${PREFIX}/bin/platex
+	${MV} ${DESTDIR}${PREFIX}/share/texmf-dist/tex/platex/config/hyphen.cfg	\
+	      ${DESTDIR}${PREFIX}/share/texmf-dist/tex/platex/config/hyphen.cfg.ptex
+	${MV} ${DESTDIR}${PREFIX}/share/texmf-dist/tex/platex/config/platex.ini\
+	      ${DESTDIR}${PREFIX}/share/texmf-dist/tex/platex/config/platex.ini.ptex
 
 .include "../../mk/bsd.pkg.mk"
Index: print/tex-ptex/PLIST
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/print/tex-ptex/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- print/tex-ptex/PLIST	7 Feb 2011 19:59:44 -0000	1.2
+++ print/tex-ptex/PLIST	24 Feb 2011 13:11:02 -0000
@@ -230,8 +230,8 @@
 share/texmf-dist/tex/platex/base/tsize10.clo
 share/texmf-dist/tex/platex/base/tsize11.clo
 share/texmf-dist/tex/platex/base/tsize12.clo
-share/texmf-dist/tex/platex/config/hyphen.cfg
-share/texmf-dist/tex/platex/config/platex.ini
+share/texmf-dist/tex/platex/config/hyphen.cfg.ptex
+share/texmf-dist/tex/platex/config/platex.ini.ptex
 share/texmf-dist/tex/ptex/base/ascii-jplain.tex
 share/texmf-dist/tex/ptex/base/kinsoku.tex
 share/texmf-dist/tex/ptex/base/ptex.tex

Instead, print/teTeX3-texmf patch will fix this problem and platex works now.

Let me rephrase the problem:

(cd print/teTeX3-texmf; make package-install)
(cd print/tex-ptex;	make package-install)
will give the error message as:
=> Becoming ``root'' to make su-real-package-install (/usr/pkg/bin/sudo)
Password:
===> Install binary package of teTeX-texmf-3.0nb29
pkg_add: Conflicting PLIST with tex-ptex-3.1.9nb1: share/texmf-dist/tex/platex/config/hyphen.cfg
pkg_add: 1 package addition failed
*** Error code 1

Stop.
make: stopped in /export/pkgsrc/print/teTeX3-texmf
Removing two files on platex/config from teTeX3-texmf will fix the problem. (Is it worth send-pr ?)
Another thing to add, to use platex provided here, the Kanji code should be UTF-8.
And more, dvipdfmx of this version won't work if *.eps file has Ryumin-Light-EUC-H.



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)