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

  • 02/21(火) mr 誕生日
  • 02/25() Interface
  • 02/28(火) NTT 東 払込期日
  • 02/28(火) ○ 固定資産税振替・支払
  • 03/01(水) atactl check
  • 03/01(水) 不燃ごみ
  • 03/04() 0900 ARRL Phone
  • 03/11() たれさん誕生日
  • 03/15(水) 所得税申告期限
  • 03/15(水) 不燃ごみ
  • 03/18() 木之本会議
  • 03/19() CQ Ham Radio
  • 403 JNUG 総会/BOF 2015/07/11 (土)
  • 402 用途別 Emacs ( C, LaTeX, 日本語 )
  • 380 cvsweb の移行
  • 370 tamago 辞書登録
  • 368 CROSS (cross/i386-mingw32, cross/powerpc-linux ) Framework --- binutils + gcc
  • 363 Wanderlust+HyperEstraier
  • 360 evbppc 用 patch / 玄箱
  • 335 /dev/battery is missing hack | libgcc_s_pic.a is missing | samba の -PIE 問題335 ntpd monitor
  • 325 tcode頁の更新
  • 322 software |hardware
  • 321 emacs-22 | IPv6
  • 320 bulk build (Mac OS X 10.4 and NetBSD/macppc)
  • 310 Wanderlust の Namazu の挙動
  • 290 WordPress 1.2 -> 1.5 migration
  • 220 Wanderlust で日本語題名の wl-summary-print-buffer
  • 215 NetBSD/ofppc
便利なツール
Emacs
らくらく 入門
rakuraku-emacs-cover

先月 2017年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 による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2017年02月16日(木) 旧暦 [n年日記] [更新:"2017/02/16 14:50:11"]

#2 [pkgsrc] pdf viewer

Just by my memory, not really investigated


JapaneseNetBSD/amd64

namepkgsrc versioncapabilitypkgin binarylicensecomments
xpdf3.0.4


evince3.22.1×
GPL v2

sumatra0.0

GPL v3(windows only ?)
okular16.08.0
15.12.0
(comes with full KDE set ?)
mupdf1.10a1.10a


◎ OK
○ OK with minor modification (or add more pacakge)
△  all characters (fonts)  are merged to CJK
▲
× ng

#1 [pkgsrc] Japanese processing with platex and xpdf

久し振りに、新しい環境で wip/ja-ptex を加えて (make package-install して) platex と xpdf を使ったら、 いろいろ問題があって
  • platex の方は 2016/12/27 の日記を見て、 file を追加
  • xpdf は font を追加し
    ghostscript-cidfonts-ryumin-9.06nb9 
    kochi-ttf-20030809nb6
    
    /usr/pkg/etc/xpdfrc 
    
    (以前とは違う文字列への)変更 を加えたら、再び使えるようになった ghost-script を作る時に、
    PKG_OPTIONS.ghostscript-agpl+=       disable-compile-inits
    PKG_OPTIONS.ghostscript-gpl+= disable-compile-inits
    PKG_OPTIONS.ghostscript+= disable-compile-inits
    
    のような option を加えておく。
    「のような」の意味は、多分本当に必要なのは、上のうちの一つだけれど、 一応全部書いておく、の意味。
    こうしておかないと、上記
     ghostscript-cidfonts-ryumin-9.06nb9 
    
    は package 出来ない。(実はこれはずうっと以前の情報だけれど、多分今も有効のはず)
ここ に書いてあることは調べておく必要があるかも知れない


2017年02月04日() 旧暦 [n年日記] [更新:"2017/02/03 23:18:13"]

#1 [Machine] Synaptics device works on CF-N10, but not on CF-N9

Error enabling device in /var/log/messages:

grep synaptic /var/log/messages
Jan 10 22:00:59 CF-S9 /netbsd: pms0: synaptics_enable: Error enabling device.
Jan 22 20:55:23 CF-S9 /netbsd: pms0: synaptics_enable: Error enabling device.
Jan 27 07:55:53 CF-S9 /netbsd: pms0: synaptics_enable: Error enabling device.
synaptics.c#384
   383  void
   384  pms_synaptics_enable(void *vsc)
   385  {
   ....
   405          res = pms_sliced_command(psc->sc_kbctag, psc->sc_kbcslot,
   406              SYNAPTICS_MODE_ABSOLUTE | SYNAPTICS_MODE_W | SYNAPTICS_MODE_RATE);
   407          cmd[0] = PMS_SET_SAMPLE;
   408          cmd[1] = SYNAPTICS_CMD_SET_MODE2;
   409          res |= pckbport_enqueue_cmd(psc->sc_kbctag, psc->sc_kbcslot, cmd, 2, 0,
   410              1, NULL);
   411          sc->up_down = 0;
   412          sc->prev_fingers = 0;
   413          sc->gesture_start_x = sc->gesture_start_y = 0;
   414          sc->gesture_start_packet = 0;
   415          sc->gesture_tap_packet = 0;
   416          sc->gesture_type = 0;
   417          sc->gesture_buttons = 0;
   418          sc->rem_x = sc->rem_y = 0;
   419          sc->movement_history = 0;
   420          if (res) {
   421                  aprint_error_dev(psc->sc_dev,
   422                      "synaptics_enable: Error enabling device.\n");
   423          }
   424  }


2017年01月29日() 旧暦 [n年日記] [更新:"2017/01/29 00:02:41"]

#1 [foreach] copying ruby-*32 to ruby-45*

CF-S9@makoto 08:56:55/170129(..usr/pkgsrc)% foreach i (`(ls -1d */ruby*32| sed 's/32//')`)
echo $i | awk -F/ '{print "rsync --exclude=CVS -avH " $1 "/" $2 "32/ wip/" $2 "45/" }'
end
rsync --exclude=CVS -avH databases/ruby-activerecord32/ wip/ruby-activerecord45/
rsync --exclude=CVS -avH devel/ruby-activemodel32/ wip/ruby-activemodel45/
rsync --exclude=CVS -avH devel/ruby-activesupport32/ wip/ruby-activesupport45/
rsync --exclude=CVS -avH devel/ruby-railties32/ wip/ruby-railties45/
rsync --exclude=CVS -avH mail/ruby-actionmailer32/ wip/ruby-actionmailer45/
rsync --exclude=CVS -avH www/ruby-actionpack32/ wip/ruby-actionpack45/
rsync --exclude=CVS -avH www/ruby-activeresource32/ wip/ruby-activeresource45/
rsync --exclude=CVS -avH www/ruby-coffee-rails32/ wip/ruby-coffee-rails45/
rsync --exclude=CVS -avH www/ruby-rails32/ wip/ruby-rails45/
rsync --exclude=CVS -avH www/ruby-sass-rails32/ wip/ruby-sass-rails45/


2017年01月08日() 旧暦 [n年日記] [更新:"2017/01/09 13:21:25"]

#1 [git] cloning IIJ git repository with hard disk

(clock is 9h ahead)
CF-N10@makoto 09:44:13/170108(/export/git-work)% \
time git clone http://github.com/IIJ-NetBSD/netbsd-src
Cloning into 'netbsd-src'...
remote: Counting objects: 2796142, done.
remote: Compressing objects: 100% (461/461), done.
remote: Total 2796142 (delta 237), reused 0 (delta 0), pack-reused 2795676
Receiving objects: 100% (2796142/2796142), 3.41 GiB | 995.00 KiB/s, done.
Resolving deltas: 100% (2194830/2194830), done.
Checking out files: 100% (162145/162145), done.
348.75s 69.28s 1:07:27.80 10% 0+0k 113+20717io 10757pf+0w
CF-N10@makoto 10:51:49/170108(/export/git-work)% 
(With SSD)
CF-N10@makoto 20:21:51/170109(/export/git-work)%  \
time git clone http://github.com/IIJ-NetBSD/netbsd-src
Cloning into 'netbsd-src'...
remote: Counting objects: 2797060, done.
remote: Compressing objects: 100% (1361/1361), done.
remote: Total 2797060 (delta 667), reused 0 (delta 0), pack-reused 2795676
Receiving objects: 100% (2797060/2797060), 3.41 GiB | 1.01 MiB/s, done.
Resolving deltas: 100% (2195260/2195260), done.
Checking out files: 100% (162337/162337), done.
401.50s 81.52s 1:01:04.05 13% 0+0k 82+21667io 11733pf+0w
CF-N10@makoto 21:22:58/170109(/export/git-work)% 
===> Tools built to /export/git-work/netbsd-src/obj/tooldir.NetBSD-7.0.2-amd64
===> build.sh ended:      Mon Jan  9 21:34:48 JST 2017
===> Summary of results:
         build.sh command:    ./build.sh -j 8 tools
         build.sh started:    Mon Jan  9 21:25:47 JST 2017
         NetBSD version:      7.99.56
         MACHINE:             amd64
         MACHINE_ARCH:        x86_64
         Build platform:      NetBSD 7.0.2 amd64
         HOST_SH:             /bin/sh
         No $TOOLDIR/bin/nbmake, needs building.
         Bootstrapping nbmake
         MAKECONF file:       /etc/mk.conf (File not found)
         TOOLDIR path:        /export/git-work/netbsd-src/obj/tooldir.NetBSD-7.0.2-amd64
         DESTDIR path:        /export/git-work/netbsd-src/obj/destdir.amd64
         RELEASEDIR path:     /export/git-work/netbsd-src/obj/releasedir
         Created /export/git-work/netbsd-src/obj/tooldir.NetBSD-7.0.2-amd64/bin/nbmake
         Updated makewrapper: /export/git-work/netbsd-src/obj/tooldir.NetBSD-7.0.2-amd64/bin/nbmake-amd64
         Tools built to /export/git-work/netbsd-src/obj/tooldir.NetBSD-7.0.2-amd64
         build.sh ended:      Mon Jan  9 21:34:48 JST 2017
===> .
1368.03s 193.92s 9:00.88 288% 0+0k 240+2253io 1052pf+0w
0.01s 0.59s 9:00.87 0% 0+0k 1+135io 0pf+0w
CF-N10@makoto 21:36:28/170109(..git-work/netbsd-src)% 
#      link  GENERIC/netbsd
/export/git-work/netbsd-src/obj/tooldir.NetBSD-7.0.2-amd64/bin/x86_64--netbsd-ld
-Map netbsd.map --cref -T netbsd.ldscript -Ttext 0xffffffff80100000 -e
start -z max-page-size=0x100000 -X -o netbsd
${SYSTEM_OBJ:[@]:Nswapnetbsd.o} ${EXTRA_OBJ} vers.o swapnetbsd.o

NetBSD 7.99.56 (GENERIC) #0: Mon Jan  9 21:44:50 JST 2017
   text    data     bss     dec     hex filename
16898622         812412  999424 18710458        11d7fba netbsd
mv -f netbsd netbsd.gdb

/export/git-work/netbsd-src/obj/tooldir.NetBSD-7.0.2-amd64/bin/x86_64--netbsd-strip
-g -o netbsd netbsd.gdb

===> Kernels built from GENERIC:
  /export/O/sys/arch/amd64/compile/GENERIC/netbsd
===> build.sh ended:      Mon Jan  9 21:45:33 JST 2017
===> Summary of results:

         build.sh command: ./build.sh -j 8 -T
         /export/git-work/netbsd-src/obj/tooldir.NetBSD-7.0.2-amd64 -O
         /export/O kernel=GENERIC

         build.sh started:    Mon Jan  9 21:38:02 JST 2017
         NetBSD version:      7.99.56
         MACHINE:             amd64
         MACHINE_ARCH:        x86_64
         Build platform:      NetBSD 7.0.2 amd64
         HOST_SH:             /bin/sh
         MAKECONF file:       /etc/mk.conf (File not found)
         TOOLDIR path:        /export/git-work/netbsd-src/obj/tooldir.NetBSD-7.0.2-amd64
         DESTDIR path:        /export/O/destdir.amd64
         RELEASEDIR path:     /export/O/releasedir

         Updated makewrapper:
         /export/git-work/netbsd-src/obj/tooldir.NetBSD-7.0.2-amd64/bin/nbmake-amd64

         Building kernel without building new tools
         Building kernel:     GENERIC
         Build directory:     /export/O/sys/arch/amd64/compile/GENERIC
         Kernels built from GENERIC:
          /export/O/sys/arch/amd64/compile/GENERIC/netbsd
         build.sh ended:      Mon Jan  9 21:45:33 JST 2017
===> .
1430.30s 166.96s 7:34.08 351% 0+0k 23+1299io 9pf+0w
0.03s 0.70s 7:34.08 0% 0+0k 0+116io 0pf+0w
CF-N10@makoto 21:45:51/170109(..git-work/netbsd-src)% 
time cvs -d :ext:mef@cvs.netbsd.org:/cvsroot co pkgsrc
...
cvs checkout: Updating pkgsrc/x11/zenity/patches
U pkgsrc/x11/zenity/patches/patch-src_notification.c
7.87s 31.26s 13:08.29 4% 0+0k 70+69970io 20pf+0w


2016年12月31日() 旧暦 [n年日記] [更新:"2016/12/31 14:44:21"]

#1 [pkgsrc] dvipdfmx

dvipdfmx hoge.dvi
hoge.dvi -> hoge.pdf
[1
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+199/600 --dpi 799 rml
mktexpk: don't know how to create bitmap font for rml.
mktexpk: perhaps rml is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.

dvipdfmx:warning: Could not locate a virtual/physical font for TFM "rml".
dvipdfmx:warning: >> There are no valid font mapping entry for this font.
dvipdfmx:warning: >> Font file name "rml" was assumed but failed to locate that font.
dvipdfmx:fatal: Cannot proceed without .vf or "physical" font for PDF output...

Output file removed.
*** Error code 1
Usually the file is under texmf-dist, but this time under texmf
lets-note-N9@makoto 22:26:28/161231(..Manuals/hoge)% \
diff -u  /usr/pkg/etc/texmf/dvipdfmx/dvipdfmx.cfg.orig /usr/pkg/etc/texmf/dvipdfmx/dvipdfmx.cfg
--- /usr/pkg/etc/texmf/dvipdfmx/dvipdfmx.cfg.orig       2016-12-27 22:24:54.000000000 +0900
+++ /usr/pkg/etc/texmf/dvipdfmx/dvipdfmx.cfg    2016-12-31 22:26:23.000000000 +0900
@@ -215,7 +215,7 @@
 %f psfonts.map
 
 %% Put additional fontmap files here (usually for Type0 fonts)
-%f  cid-x.map
+f  cid-x.map
lets-note-N9@makoto 23:38:09/161231(~)% pulseaudio --verbose   
W: [(null)] caps.c: Normally all extra capabilities would be dropped now, 
   but that's impossible because PulseAudio was built without capabilities support.
E: [(null)] core-util.c: Failed to connect to system bus: Failed to connect to socket 
   /var/run/dbus/system_bus_socket: No such file or directory



最近の日記
2017年02月16日
Japanese processing with platex and xpdf
pdf viewer
2017年02月04日
Synaptics device works on CF-N10, but not on CF-N9
2017年01月29日
copying ruby-*32 to ruby-45*
2017年01月08日
cloning IIJ git repository with hard disk
2016年12月31日
dvipdfmx
以上、5 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)