Changes against current version: 1. Short homepage URL. 2. Don't use ./rebuild-formats, because it... is bad. 3. Customize texmf.cnf and fmutil.cnf via /etc/texmf/*.d/. 4. Comment magyar and serbian in language.dat. 5. Use texmf-update in pkg_postinst, pkg_postrm. Unsolved problems: 1. Side effect: modifying language.dat not owned by xetex. 2. texmf.cnf installed as 000xelatex.cnf because 10xelatex.cnf doesn't work. Why? 3. I don't know how to install hyphen/ directory to be visible only for xetex. This ebuild also works as xetex-0.996 but xetex itself has problem. Reproducible: Always Steps to Reproduce:
Created attachment 130402 [details] xetex-0.995.ebuild
Created attachment 130404 [details] texmf.cnf
Created attachment 130406 [details] fmtutil.cnf
Please, attach a unified diff for the ebuild. A whole lot easier to review the changes.
Created attachment 130408 [details, diff] xetex-0.995.ebuild.diff
You might consider adding a message to the "die" here: sh -x install-xetex || die More relevant, this is a reasonable place to add an RDEPEND=">app-text/xdvipdfmx-0.3" The ChangeLog and corresponding Bug explain why we really want that. xe[la]tex uses xdvipdfmx to build its output, and as the Changelog says and I have experienced, xdvipdfmx-0.3 now loves to SegFault on some TTF fonts (like "Linux Libertine", "Galicia SIL", "Charis SIL", ...). Forcing an upgrade of xdvipdfmx when building xetex avoids that problem. Your revised ebuild works fine for me. I'd force a version bump to xetex-0.995-r1.ebuild though.
Created attachment 133706 [details] xetex-0.995.ebuild Also added symlink xplain.tex -> unicode-letters.tex - for ConTeXt.
Um, ${PN}-install.patch won't work --- you still need the version. So ${P}-install.patch is OK. But I suspect you just forgot something and wanted something like ${PN}-${PV}-install.patch. It works fine that way.
(In reply to comment #8) > Um, ${PN}-install.patch won't work --- you still need the version. So > ${P}-install.patch is OK. But I suspect you just forgot something and wanted > something like ${PN}-${PV}-install.patch. It works fine that way. > Oh, yes. I've renamed xetex-0.995-install.patch to xetex-install.patch because it is common for 0.995 and 0.996. Maybe ${P}-install.patch is better...
Moving to herd since joslwah left Gentoo.
Package will be removed, so nothing to fix. See bug 227593. Thank you for the contribution, even if it didn't make it into Portage.