Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168331 - dev-tex/culmus-latex-0.7 (obsoletes dev-tex/ivritex)
Summary: dev-tex/culmus-latex-0.7 (obsoletes dev-tex/ivritex)
Status: RESOLVED FIXED
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: KEYWORDREQ
: 142312 179251 (view as bug list)
Depends on:
Blocks: 246285
  Show dependency tree
 
Reported: 2007-02-25 15:00 UTC by Guy Rutenberg
Modified: 2009-05-20 07:10 UTC (History)
4 users (show)

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


Attachments
the proposed ebuild (ivritex-1.2.1.ebuild,902 bytes, text/plain)
2007-02-25 15:01 UTC, Guy Rutenberg
Details
the patch that the ebuild uses (ivritex-1.2.1-culmus-tetex3.0.patch,1.00 KB, patch)
2007-02-25 15:02 UTC, Guy Rutenberg
Details | Diff
culmus-latex ebuild (culmus-latex-0.6.ebuild,825 bytes, text/plain)
2008-10-03 07:32 UTC, Alexis Ballier
Details
A patch to the lyx ebuild to use culmus-latex (lyx-1.6.0_rc4.ebuild.diff,1.97 KB, patch)
2008-10-27 15:54 UTC, Guy Rutenberg
Details | Diff
lyx-1.5.5 patch (lyx-1.5.5.ebuild.diff,1.80 KB, patch)
2008-10-27 16:46 UTC, Guy Rutenberg
Details | Diff
lyx-1.5.6 patch (lyx-1.5.6.ebuild.diff,1.80 KB, patch)
2008-10-27 16:47 UTC, Guy Rutenberg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guy Rutenberg 2007-02-25 15:00:09 UTC
I've attached an ebuild and a patch for installing ivritex 1.2.1 on tetex 3.0
Comment 1 Guy Rutenberg 2007-02-25 15:01:00 UTC
Created attachment 111196 [details]
the proposed ebuild
Comment 2 Guy Rutenberg 2007-02-25 15:02:23 UTC
Created attachment 111198 [details, diff]
the patch that the ebuild uses
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-02-25 15:14:26 UTC
*** Bug 142312 has been marked as a duplicate of this bug. ***
Comment 4 Faustus 2008-04-16 20:34:35 UTC
Please put this into portage. Latest ivritex provides culmus fonts support, and the font in previous versions are not true type.
Comment 5 Faustus 2008-04-17 13:59:50 UTC
This ebuild doesn't seem to work with tetex 3.0_p1-r6. I think there's some problem with updmap, tried to fix it, but no luck...
Comment 6 Guy Rutenberg 2008-04-17 17:01:51 UTC
The ivritex project is obsolete for modern TeX distros such as the ones available on portage. The ivritex project is only needed to use Hebrew on teTeX-2.*. The best way to get culmus fonts support (and hebrew fonts on general for LaTeX) in the culmus-latex package available from the ivritex project.

https://sourceforge.net/project/showfiles.php?group_id=33341


As a member of the ivritex project (I maintain the culmus-latex package) I can say this is also the official stance of the project. The ivritex website is planned to be updated soon, in order to reflect this advances that occurred in the Hebrew support in TeX.

Comment 7 Faustus 2008-04-17 17:12:00 UTC
Ok, thanks for the clarification.

In this case, maybe this bug should be closed as a wontfix, and an enhancement request should be opened for culmus-latex package?
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2008-09-05 07:00:37 UTC
TeX team, please have a look at comment #6 and think about removing ivritex from Portage plus adding culmus-latex
Comment 9 Alexis Ballier gentoo-dev 2008-10-03 07:32:26 UTC
Created attachment 167060 [details]
culmus-latex ebuild

please try this culmus-latex ebuild
Comment 10 Faustus 2008-10-03 10:26:03 UTC
>>> Install culmus-latex-0.6 into /tmp/portage/dev-tex/culmus-latex-0.6/image/ category dev-tex
mkdir -p /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/dvips/culmus/ \
                /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/afm/public/culmus/ \
                /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/type1/public/culmus/ \
                /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/enc/dvips/culmus/ \
                /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/map/dvips/ \
                /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/tfm/public/culmus/ \
                /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/vf/public/culmus/ \
                /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/tex/latex/culmus/ \
                /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/tex/generic/0babel/
cp -p /usr/share/fonts/culmus//*.afm /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/afm/public/culmus/
cp -p /usr/share/fonts/culmus//*.pfa /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/type1/public/culmus/
cp -p *.pfb /tmp/portage/dev-tex/culmus-latex-0.6/image//usr/share/texmf-site/fonts/type1/public/culmus/
cp: cannot stat `*.pfb': No such file or directory
make: *** [pkginstall] Error 1
Comment 11 Dror Levin (RETIRED) gentoo-dev 2008-10-25 03:20:46 UTC
culmus-latex-0.7 was released a week ago, is it possible to update the ebuild and test it?
Comment 12 Guy Rutenberg 2008-10-25 07:51:29 UTC
I suggest using culmus-latex-0.7_src.tar.gz for the new ebuild, as it uses the culmus fonts installed in the system. The other package is targeted at other distribution where the Tex font utilities are not part of the core package and not installed by default.

The only change necessary for the current ebuild by Alexis is to change the SRC_URI line to

SRC_URI="mirror://sourceforge/ivritex/${P}_src.tar.gz"

The bug reported in comment #10 was fixed in this version of culmus-latex (the makefile was broken in 0.6).
Comment 13 Alexis Ballier gentoo-dev 2008-10-26 15:47:08 UTC
culmus-latex 0.7 in the tree now :)

now... what to do about ivritex ? simply remove it ?
Comment 14 Dror Levin (RETIRED) gentoo-dev 2008-10-26 17:42:43 UTC
app-office/lyx-1.5.6 depends on ivritex if he is in LINGUAS, so that should be sorted out.
Comment 15 Guy Rutenberg 2008-10-26 17:58:34 UTC
If >=tetex-3.0 or texlive is installed LyX should require culmus-latex if "he" is specified in the Linguas. Ivritex is obsolete for modern TeX distros as they already include the Ivritex patches.
Comment 16 pavel sanda 2008-10-27 12:53:15 UTC
Guy, have you tried if lyx + latex-culmus - ivritex works correctly for hebrew lyx documents?

In lyx ebuild we still have pointer on http://cs.haifa.ac.il/~dekelts/lyx/instructions2.html for hebrew usage. Is it OK to remove it?
Comment 17 Guy Rutenberg 2008-10-27 15:54:11 UTC
Created attachment 170008 [details, diff]
A patch to the lyx ebuild to use culmus-latex
Comment 18 Guy Rutenberg 2008-10-27 15:58:35 UTC
I've been using this configuration for some time now (about a year).

It's ok to remove Ivritex. Also see http://wiki.lyx.org/LyX/HebrewOnLinux

Dekel Tsur's instructions for LyX are pretty old and should be avoided (many things changed since it was written, it predates LyX 1.3).

I've added a patch against lyx-1.6.0_rc4.ebuild, that changes the ebuild to reflect the changes that occured in Hebrew support. I made it depend on culmus-latex, removed Dekel Tsur's bind file and preference file. I also changed the elog message for Hebrew support, to a more general message for RTL support and made it appear also for when Arabic is enabled.

The patch should also apply to the version of Lyx-1.5 in the tree (I can create separate patches if necessary).
Comment 19 pavel sanda 2008-10-27 16:14:14 UTC
>I've added a patch against lyx-1.6.0_rc4.ebuild

great. does it mean hebrew ouput works with rc4 too? (i've seen some complaints from some gentooist recently.)

>The patch should also apply to the version of Lyx-1.5 in the tree (I can create
>separate patches if necessary).

please do

also we need to rekeyword culmus for other archs.
Comment 20 Guy Rutenberg 2008-10-27 16:46:58 UTC
Created attachment 170013 [details, diff]
lyx-1.5.5 patch
Comment 21 Guy Rutenberg 2008-10-27 16:47:36 UTC
Created attachment 170014 [details, diff]
lyx-1.5.6 patch
Comment 22 Guy Rutenberg 2008-10-27 18:09:17 UTC
The lyx-1.4.4 ebuild just requires erplacing dev-tex/ivritex with dev-tex/culmus-latex in its dependencies

> great. does it mean hebrew ouput works with rc4 too? (i've seen some complaints
from some gentooist recently.)

I've just compiled an hebrew document with LyX-1.6.0-rc4 and it works, if he's interested I can help him via the Ivritex mailing list.
Comment 23 Dror Levin (RETIRED) gentoo-dev 2008-10-27 18:26:02 UTC
I think I'm the guy you're talking about :)
Sorry if I shouldn't have posted to the lyx ML but to ask here first.

The problem with 1.6_rc4 was with mixed sentences (starting in hebrew but containing english words) - is that working well for you?

I patched the ebuild and wanted to test rc4 right now but culmus-latex-0.7 doesn't merge:
cp -p *.pfb /var/tmp/portage/dev-tex/culmus-latex-0.7/image//usr/share/texmf-site/fonts/type1/public/culmus/
cp: cannot stat `*.pfb': No such file or directory

Wasn't this supposed to be fixed in 0.7?
BTW, I also get lots of QA notices:
 *      ./mkCLMnkd.sh: line 53: t1binary: command not found
 *      ./mkCLMnkd.sh: line 57: t1binary: command not found

I'll be able to test as soon as this gets fixed :)

PS, the summary should be changed and the ivritex and culmus-latex ebuilds attached should be deleted.
Comment 24 Guy Rutenberg 2008-10-27 18:50:45 UTC
Apparently there is a missing dependency in culmus-latex on app-text/t1utils. The pfb is caused by mkCLMnkd.sh failing to create them (the missing t1binary). I hope there aren't any other missing dependencies :)

BTW culmus-latex doesn't depend on media-fonts/culmus on runtime (as well as on t1utils), so if you like they can be moved out of RDEPEND to DEPEND.

> The problem with 1.6_rc4 was with mixed sentences (starting in hebrew but
> containing english words) - is that working well for you?

Just re-verified it, it should work. What error do you get?

> PS, the summary should be changed and the ivritex and culmus-latex ebuilds
> attached should be deleted.

I changed the summery, but I couldn't delete the culmus-latex ebuild.
Comment 25 Alexis Ballier gentoo-dev 2008-10-27 18:55:11 UTC
(In reply to comment #24)
> Apparently there is a missing dependency in culmus-latex on app-text/t1utils.
> The pfb is caused by mkCLMnkd.sh failing to create them (the missing t1binary).
> I hope there aren't any other missing dependencies :)
> 
> BTW culmus-latex doesn't depend on media-fonts/culmus on runtime (as well as on
> t1utils), so if you like they can be moved out of RDEPEND to DEPEND.


thanks, just fixed it as you suggested :)

Comment 26 Dror Levin (RETIRED) gentoo-dev 2008-10-27 19:24:31 UTC
The English word was shown in hebrew letters with a weird L in front of it.
I'll soon re-test this and report back.
Thanks a lot :)
Comment 27 Dror Levin (RETIRED) gentoo-dev 2008-10-27 20:06:56 UTC
That did fix it, I've removed ivritex and emerged lyx-1.6_rc4 (which pulled culmus-latex in).
I removed ~/.lyx to start fresh and configured the RTL but in the PDF there is no hebrew, just the english text.
I tried choosing the article (Hebrew) document class, but that gives me an error when I try to use pdflatex.
Any suggestions?
Comment 28 pavel sanda 2008-10-28 22:29:07 UTC
btw the line in lyx patches
+	if use linguas_he || linguas_ar; then
is wrong. one needs "uselinguas_ar"
Comment 29 Alexis Ballier gentoo-dev 2008-10-29 09:05:01 UTC
Pavel has made the change to lyx 1.6.0_rc5 ebuild to use culmus-latex instead of ivritex.
That means we'll have to get matching keywords before unmasking (or drop the keywords).

@arches: please keyword dev-tex/culmus-latex
Comment 30 Alexis Ballier gentoo-dev 2008-10-29 09:06:02 UTC
(In reply to comment #29)
> @arches: please keyword dev-tex/culmus-latex

forgot alpha
Comment 31 Ferris McCormick (RETIRED) gentoo-dev 2008-10-29 12:45:02 UTC
Added ~sparc.
Comment 32 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-30 19:27:24 UTC
Marked ~hppa.
Comment 33 Raúl Porcel (RETIRED) gentoo-dev 2008-11-03 11:05:41 UTC
~alpha/~ia64/~x86 done
Comment 34 Brent Baude (RETIRED) gentoo-dev 2008-11-13 02:48:42 UTC
~ppc64 
Comment 35 Joe Jezak (RETIRED) gentoo-dev 2009-01-09 18:35:09 UTC
Marked ~ppc and closing since we're the last arch.
Comment 36 Ulrich Müller gentoo-dev 2009-05-20 07:10:54 UTC
*** Bug 179251 has been marked as a duplicate of this bug. ***