Hello. xdvik is a DVI previewer running on X. It is included teTeX distribution by default, but the xdvik in teTeX package doesn't display Japanese character correctly so people who want to use Japanese would prefer emerge this ebuild with USE="cjk". This package DEPENDs on VFlib2 if you turn CJK support on, so I will submit vflib ebuild accordingly. I prefer app-text/xdvik to media-gfx/xdvik because its primary use is to see text, although it is more like a graphic viewer when there are a lot of pictures and figures in a DVI file. regards, Mamoru KOMACHI aka usata
Created attachment 13563 [details] xdvik-22.40w.ebuild
My god, obviously IUSE="" should be IUSE="cjk libwww".
Created attachment 13628 [details, diff] xdvik-22.40y-22.40w.ebuild.patch (a patch to update xdvik-22.40w.ebuild to xdvik-22.40y.ebuild) I modified the Japanese patch simply to apply for 22.40y and so I bumped the version of the ebuild. The patch includes 1. Fix incorrect IUSE described above. 2. Added SRC_URI for new Japanese patch. 3. Added ~alpha, ~ppc and ~sparc to KEYWORDS. 4. dodoc README* changed to dodoc README.* as it included the directory READMEs and got an error (not fatal)
>>> Install xdvik-22.40y into /var/tmp/portage/xdvik-22.40y/image/ category dev-tex /bin/sh ./../mkinstalldirs /var/tmp/portage/xdvik-22.40y/image//usr/bin mkdir /var/tmp/portage/xdvik-22.40y/image/usr/bin for p in xdvi.bin; do INSTALL_PROGRAM='/bin/install -c' ./../klibtool install-prog /var/tmp/portage/xdvik-22.40y/image//usr/bin $p; done /bin/install -c xdvi.bin /var/tmp/portage/xdvik-22.40y/image//usr/bin/xdvi.bin /bin/install -c ./t1mapper /var/tmp/portage/xdvik-22.40y/image//usr/bin/t1mapper /bin/install -c ./xdvi-sh /var/tmp/portage/xdvik-22.40y/image//usr/bin/xdvi chmod +x ./xdvizilla /bin/install -c ./xdvizilla /var/tmp/portage/xdvik-22.40y/image//usr/bin/xdvizilla /bin/install -c -m 644 xdvi.1 /var/tmp/portage/xdvik-22.40y/image//usr/share/man/man1/xdvi.1 /bin/install: cannot create regular file `/var/tmp/portage/xdvik-22.40y/image//usr/share/man/man1/xdvi.1': No such file or directory make: *** [install-data] Error 1 !!! ERROR: dev-tex/xdvik-22.40y failed. !!! Function einstall, Line 8, Exitcode 2 !!! einstall failed i'm not sure what i did wrong. i got dvipdfmx and ptex installed and they worked...
and i got that with: ACCEPT_KEYWORDS="~x86" emerge xdvik root:r66h13:/usr/portage/dev-tex/xdvik$ ls -lR . .: total 4 drwxr-xr-x 2 root root 58 2003-07-17 17:22 files -rw-r--r-- 1 root root 1258 2003-07-17 17:20 xdvik-22.40y.ebuild ./files: total 8 -rw-r--r-- 1 root root 65 2003-07-17 17:20 digest-xdvik-22.40w -rw-r--r-- 1 root root 65 2003-07-17 17:22 digest-xdvik-22.40y
Created attachment 14649 [details, diff] xdvik-22.40y-man.ebuild.patch Thank you for testing it. I guess you set USE="-cjk" (or more probably not specified cjk flag). xdvik is not going to create /usr/share/man/man1 when USE="-cjk" therefore it fails to install when it comes to man pages. Would you please apply the patch I've just attached and see whether it solves the problem or not?
It installs fine but when I try xdvi on a file, I get a popup error message: Could not find config file xdvi.cfg in path "/usr/share/texmf/xdvi:/usr/share/texmf/web2c" - disabling T1lib. it still works though. I'm not sure why I didn't get an email notificaton when you posted though. hm..maybe i'll remove my CC....
Created attachment 14761 [details] xdvik-22.40y.ebuild Hum... Even though I unmerged all the TeX related softwares and emerged xdvik again, I didn't get the error message (of course it complained about missing kpathsea). xdvi.cfg should be located on /usr/share/texmf/xdvi, but your error messages says it isn't. Could you tell me the output of emerge -pv xdvik and qpkg -l xdvik? And also, I made xdvik DEPEND on t1lib, so if t1lib is the cause of your problem, it will be solved with the attached ebuild.
root:r66h13:/usr/portage/dev-tex/xdvik$ ACCEPT_KEYWORDS="~x86" emerge -pv xdvik These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-tex/xdvik-22.40y root:r66h13:/usr/portage/dev-tex/xdvik$ /usr/portage/app-admin/gentoolkit/files/scripts/qpkg -l xdvik dev-tex/xdvik-22.40y * CONTENTS: /usr /usr/share /usr/share/texmf /usr/share/texmf/xdvi /usr/share/texmf/xdvi/xdvi.cfg /usr/share/man /usr/share/man/man1 /usr/share/man/man1/xdvi.1.gz /usr/share/man/man1/t1mapper.1.gz /usr/share/man/man1/xdvizilla.1.gz /usr/share/doc /usr/share/doc/xdvik-22.40y /usr/share/doc/xdvik-22.40y/ANNOUNCE.gz /usr/share/doc/xdvik-22.40y/BUGS.gz /usr/share/doc/xdvik-22.40y/FAQ.gz /usr/share/doc/xdvik-22.40y/README.src-specials.gz /usr/share/doc/xdvik-22.40y/README.t1fonts.gz /usr/share/doc/xdvik-22.40y/README.t1mapper.gz /usr/share/doc/xdvik-22.40y/README.VMS.gz /usr/bin /usr/bin/xdvi.bin /usr/bin/t1mapper /usr/bin/xdvi /usr/bin/xdvizilla root:r66h13:/usr/portage/dev-tex/xdvik$ emerge -pv t1lib These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-libs/t1lib-1.3.1
huh that's weird. i have the file, so i don't know why it isn't finding it. I tried this and got a new error: timmy:r66h13:~/docs/cs1050$ XDVIINPUTS=/usr/share/texmf/xdvi xdvi /home/timmy/docs/cs1050/hw10.dvi Xdvi Error: Could not find dvips map ps2pk.map - disabling T1lib. [snip info about T1lib] that file exists also (/usr/share/texmf/dvips/config/ps2pk.map) there might be a problem with my xdvi script?
ok I fixed it. I unmerged all the packages, mv'd /var/lib/texmf and /usr/share/texmf to get rid of any corruption that I might have done, and then I remerged the packages in this order: ptex, xdvik, dvipdfmx. I don't think xdvi worked until I merged dvipdfmx. So now I'm to the part where xdvi works (uses t1lib) on normal files and xpdf can display kanji that's made with platex and dvipdfmx. But if I use xdvi after a platex file, I get a messages like: Virtual character X in font min10 ignored. (where X goes from like all the numbers in between ~8000-32000, so I get a lot of output on the terminal)
Thank you for tracking the problem down. I emerged every tex related packages yesterday and got the same conclusion. As for the error after your merge of ptex, did you emerge xdvi with USE="cjk"? If so, it will also emerge vflib in bugs #23131 and then you will not have that problem. Please note that I changed vflib ebuild a little since there is no media-fonts/kochi-fonts but kochi-substitute.
It's in CVS.