Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23130 - xdvik-22.40y.ebuild (New Package)
Summary: xdvik-22.40y.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: CJK Team
URL: http://sourceforge.net/projects/xdvi/
Whiteboard:
Keywords: EBUILD
Depends on: 23131
Blocks:
  Show dependency tree
 
Reported: 2003-06-19 13:18 UTC by Mamoru KOMACHI (RETIRED)
Modified: 2003-07-26 09:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xdvik-22.40w.ebuild (xdvik-22.40w.ebuild,1.14 KB, text/plain)
2003-06-19 13:21 UTC, Mamoru KOMACHI (RETIRED)
Details
xdvik-22.40y-22.40w.ebuild.patch (a patch to update xdvik-22.40w.ebuild to xdvik-22.40y.ebuild) (xdvik-22.40y-22.40w.ebuild.patch,991 bytes, patch)
2003-06-21 00:13 UTC, Mamoru KOMACHI (RETIRED)
Details | Diff
xdvik-22.40y-man.ebuild.patch (xdvik-22.40y-man.ebuild.patch,288 bytes, patch)
2003-07-18 00:19 UTC, Mamoru KOMACHI (RETIRED)
Details | Diff
xdvik-22.40y.ebuild (xdvik-22.40y.ebuild,1.33 KB, text/plain)
2003-07-20 05:33 UTC, Mamoru KOMACHI (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mamoru KOMACHI (RETIRED) gentoo-dev 2003-06-19 13:18:52 UTC
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
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-06-19 13:21:58 UTC
Created attachment 13563 [details]
xdvik-22.40w.ebuild
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-06-19 13:53:29 UTC
My god, obviously IUSE="" should be IUSE="cjk libwww".
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-06-21 00:13:02 UTC
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)
Comment 4 Timmy Douglas 2003-07-17 14:26:33 UTC
>>> 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...
Comment 5 Timmy Douglas 2003-07-17 14:42:58 UTC
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
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-07-18 00:19:16 UTC
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?
Comment 7 Timmy Douglas 2003-07-19 17:12:27 UTC
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....

Comment 8 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-07-20 05:33:02 UTC
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.
Comment 9 Timmy Douglas 2003-07-21 13:08:32 UTC
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 
Comment 10 Timmy Douglas 2003-07-22 08:42:01 UTC
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?
Comment 11 Timmy Douglas 2003-07-22 13:24:20 UTC
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)

Comment 12 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-07-23 05:10:07 UTC
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.
 
Comment 13 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-07-26 09:39:46 UTC
It's in CVS.