a complete TeX distribution with Czech and Slovak support. Based on tetex ebuild, adds support for Czech and Slovak lnaguages. Reproducible: Always Steps to Reproduce: 1. 2. 3. emerge --info cstetex Portage 2.0.49-r10 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-tbird -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/jaro/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="oss cups encode foomaticdb libg++ mad mikmod xv zlib gdbm berkdb slang sdl tcpd pam libwww esd motif 3dnow acpi afs -alsa apache2 apm arts avi crypt cscope doc dvd gif gpm -gnome gtk gtk2 imap imlib java jpeg kde kerberos lcms ldap mbox mmx mozilla mpeg mysql ncurses nhc98 nls nocd oggvorbis opengl pdflib perl plotutils png postgres python qt quicktime readline samba spell sse ssl svga tetex tiff truetype usb videos X xml xml2 xmms x86"
Created attachment 19573 [details] New ebuild Tar includes ebuild, Changelog, Manifest, metadata.xml and patches in files directory.
Hrmm, we can ebuild this, but I have no experience with czech or slovak languages, so we'll need to find a tester.
Created attachment 19719 [details] I added some corrections.
Created attachment 19735 [details] Prevents cstetex from being merged while tetex is already merged.
The latest one (attachment #19735 [details]) work just right for me.
Now I come to thinkg that we better create tetex.eclass because app-text/tetex-2.0.2*, app-text/ptex-2.0.2* and app-text/cstetex-2.0.2* have almost the same compilation procedure. Obz, do you agree with the idea? If so, I'll create one based on tetex-2.0.2-r1, ptex-2.0.2-r1 and attachment #19735 [details]. Also, could anyone attache sample Czech and Slovak tex files which we can test on the ebuild? More testers will also be appreciated :)
Created attachment 19921 [details] Now generates pdfcs* formats too.
Created attachment 19948 [details] Tests for Czech formats.
Created attachment 20060 [details] Created tetex eclass. Tetex and cstetex inherite it. I created tetex.eclass based on tetex.ebuild. Then I changed tetex.ebuild so it uses this eclass and renamed it to tetex_.ebuild for testing purposes. The cstetex.ebuild uses this elass too.
Thanks for your hard work! I'll look into it and integrate app-tetex/ptex. Anyhow, would you mind if I add Gentoo copyright at the top of your eclass? This is for protecting Gentoo development and if you feel curious about it, please search gentoo-dev mailing list and find threads related to copyright.
I don't mind, if you put the Gentoo copyright anywhere. And it would be nice if you put a note like Author: Jaromir Malenko <malenko@email.cz? into cstetex-2.0.2.ebuild . Also I am missing a post-processing tool in portage. I qustioned about it in http://forums.gentoo.org/viewtopic.php?t=101835 and there is nothing like that in portage. I especialy mean changes like ed /usr/share/texmf/web2c/texmf.cnf <<-EOF /^parse_first_line *=/ s/=.*/= t/ w q EOF after update. This tells tex to read first line with format (%&latex) and pass the rest of file to that format. Or more importantly. The script texlinks (try to run it with -v) creates some files and links in /usr/bin . It would be nice to automaticaly delete them after unmerge.
Created attachment 20237 [details] New ebuilds: csindex and vlna I created new ebuilds that are often used with Czech/Slovak TeX. The csindex is used to create indexes according to Czech/Slovak alphabet. The vlna adds ~ after some prepositions in TeX files.
Sure. I'll add your name at the top of the eclass. (and also to ChangeLogof cstetex) As for post-processing Portage, you may can pkg_postinst. You can run any script after merging files to live filesystem. man 5 ebuild tells you available functions that you may find useful. Thanks for the comment about texlinks issue. I'll find a way to remove the symlinks.
Sorry for replying late. It is time-consuming to build and test tetex, ptex and cstetex several times on my relatively poor machine ;-( I committed cstetes-2.0.2.ebuild and tetex.eclass. A quick fix for symlinks and scripts that are left behind /usr/bin is included. Jaromir, do you mind if I add your name and email address as a sub-maintainer to metadata.xml in cstetex? I'm very glad if you help us with maintaining the ebuild. I'll look into csindex and vlna later. (Personally, I prefer to have those ebuilds as separate bug from cstetex and make them depend on this bug, but anyhow I will deal with them here this time)
I know this situation - I have absolutely poor machine :-) I can see tetex.ebuild, but there is no cstetex in the portage tree yet. I have no problem with this. And until I stay with Gentoo I can help you. I submited vlna and csindex only for people interested in it as soon as possible. I must work on them still.
Sorry for keeping csindex and vlna for long. I had a chance to look into your ebuilds today. The main concern about these ebuilds is LICENSE. No relevant license is found in /usr/portage/licenses for csindex so I'll add one if you'd like, but I cannot find any document about the license of vlna. Do you know any? Besides, I'll give you some comments on your ebuilds. * There's no need for "inherit eutils" in these ebuilds. It provides useful functions though, this is not appropriate here. * SRC_URI should be ${P}.tar.gz instead of ${VLNA} and ${CSINDEX}. ${P}.tar.gz will be expanded as vlna-1.2.tar.gz and csindex-19980713.tar.gz respectively, so you don't need to set hardcode the version number to those variables. If you use ${P}.tar.gz it makes easy to upgrade (usually just renaming its filename works) * No need for src_unpack(). The source archive is automatically downloaded and unpacked. * No need for "cd ${WORKDIR}/${P}" in both src_compile() and src_install(). Current directory is initialised to ${S} (default value of ${S} is ${WORKDIR}/${P}) in each function. man 5 ebuild to get list of PWD of all functions. * You may want to use "dobin csindex" in src_install(). It is a shorthand of what you did in src_install(). Also, it is good to include README. It would look like: src_install() { dobin csindex dodoc README } If you aren't sure about DEPEND, set virtual/glibc to DEPEND in this case. Almost all binaries depend on virtual/glibc ;-) (But don't set RDEPEND="${DEPEND}" by yourself - see Gentoo Linux Development Policy for detail)
The license for VLNA from README file: Program is for public use. Author wants to be informed about useful changes in the CWEB source code. A changed program may not be published under the same name. Neither program nor its modifications may be sold. No warranty is guaranteed. The license for CSINDEX is in the COPYING file and is in English. I have revised the ebuilds and I found a serious mistake in the vlna.ebuild. The description should say DESCRIPTION="add nonbreakable spaces after some prepositions in Czech texts" . I suppose you took care of the other "technical" corrections. Thank you for useful comments.
my 0.02
my 0.02: "A changed program may not be published under the same name." Sounds like free artists license. "Neither program nor its modifications may be sold." Ouch. Can't put this on LiveCD or GRP. This licence is technically "nonfree"?
I have talked to the author of vlna. He deleted the sentence "Neither program nor its modifications may be sold." from the license. I think we can use Artists license, now.
Thanks Jaromir. I assigned you as a maintainer of vlna and csindex and committed them (app-text/vlna and dev-tex/csindex). I changed the version of csindex as I noticed it said version 2.11c when I ran it. Please test them. If you happen to have another ebuild for improving Chech/Slovak support in Gentoo ditribution, please open a new bug and submit it ;)