Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191815 - app-text/xetex reworked ebuild
Summary: app-text/xetex reworked ebuild
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-09-09 11:39 UTC by Constantin Baranov
Modified: 2009-03-18 14:57 UTC (History)
1 user (show)

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


Attachments
xetex-0.995.ebuild (xetex-0.995.ebuild,975 bytes, text/plain)
2007-09-09 11:40 UTC, Constantin Baranov
Details
texmf.cnf (texmf.cnf,60 bytes, text/plain)
2007-09-09 11:40 UTC, Constantin Baranov
Details
fmtutil.cnf (fmtutil.cnf,65 bytes, text/plain)
2007-09-09 11:41 UTC, Constantin Baranov
Details
xetex-0.995.ebuild.diff (xetex.diff,2.78 KB, patch)
2007-09-09 12:17 UTC, Constantin Baranov
Details | Diff
xetex-0.995.ebuild (xetex-0.995.ebuild,1.07 KB, text/plain)
2007-10-17 19:54 UTC, Constantin Baranov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Constantin Baranov 2007-09-09 11:39:38 UTC
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:
Comment 1 Constantin Baranov 2007-09-09 11:40:26 UTC
Created attachment 130402 [details]
xetex-0.995.ebuild
Comment 2 Constantin Baranov 2007-09-09 11:40:55 UTC
Created attachment 130404 [details]
texmf.cnf
Comment 3 Constantin Baranov 2007-09-09 11:41:13 UTC
Created attachment 130406 [details]
fmtutil.cnf
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-09-09 11:50:23 UTC
Please, attach a unified diff for the ebuild. A whole lot easier to review the changes.
Comment 5 Constantin Baranov 2007-09-09 12:17:03 UTC
Created attachment 130408 [details, diff]
xetex-0.995.ebuild.diff
Comment 6 Ferris McCormick (RETIRED) gentoo-dev 2007-10-17 19:32:54 UTC
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.
Comment 7 Constantin Baranov 2007-10-17 19:54:55 UTC
Created attachment 133706 [details]
xetex-0.995.ebuild

Also added symlink xplain.tex -> unicode-letters.tex - for ConTeXt.
Comment 8 Ferris McCormick (RETIRED) gentoo-dev 2007-10-17 20:25:28 UTC
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.
Comment 9 Constantin Baranov 2007-10-17 20:46:23 UTC
(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...
Comment 10 Łukasz Damentko (RETIRED) gentoo-dev 2009-03-17 22:11:55 UTC
Moving to herd since joslwah left Gentoo.
Comment 11 Ulrich Müller gentoo-dev 2009-03-18 14:57:01 UTC
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.