Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135385 - app-text/texlive improvements
Summary: app-text/texlive improvements
Status: RESOLVED DUPLICATE of bug 168177
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:
: 160897 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-03 06:32 UTC by Daniel Oehry
Modified: 2007-09-02 20:30 UTC (History)
17 users (show)

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


Attachments
app-text/texlive-2005 ebuild (texlive-2005.ebuild,8.01 KB, text/plain)
2006-06-03 06:33 UTC, Daniel Oehry
Details
gentoo-texmf.patch (texlive-2005-gentoo-texmf.patch,2.04 KB, patch)
2006-06-03 06:33 UTC, Daniel Oehry
Details | Diff
pdftex-1.30.6.patch (texlive-2005-pdftex-1.30.6.patch,14.41 KB, patch)
2006-06-03 06:34 UTC, Daniel Oehry
Details | Diff
xpdf-3.01pl2.patch (texlive-2005-xpdf-3.01pl2.patch,12.54 KB, patch)
2006-06-03 06:34 UTC, Daniel Oehry
Details | Diff
pdftex.def v0.03q (pdftex.def,24.73 KB, text/plain)
2006-06-03 06:36 UTC, Daniel Oehry
Details
pdftex.dev -- version 0.03t (pdftex.def,27.26 KB, text/plain)
2006-08-15 00:34 UTC, Christian Faulhammer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Oehry 2006-06-03 06:32:00 UTC
I did some changes to the ebuild:

Disabled pdfopen, psutils, t1utils, detex, tth and lcdf-typetools, because there are separate ebuilds (pdfopen has no ebuild, but I think it is not needed, lcdf-typetools has an ebuild in Bug #84774).

texmf/doc and texmf-dist/doc are now moved to subdirectories of /usr/share/doc/texlive-2005.

/usr/share/texmf/web2c/fmtutil.cnf and /usr/share/texmf/web2c/texmf.cnf are removed.

pdftosrc.1 could not be found because of a wrong directory.

texmf-update could not be found.

/etc/texmf.d/00texmf.cnf contains wrong paths. This is fixed with texlive-2005-gentoo-texmf.patch.

Upgraded pdftex to version 1.30.6 and xpdf to version 3.01pl2, see
texlive-2005-xpdf-3.01pl2.patch and texlive-2005-pdftex-1.30.6.patch.

Removed texlive-2005-xpdf-vulnerabilities.patch. Should it be applied or are the vulnerabilities fixed with xpdf-2.01pl2?

Replaced pdftex.def with the newest version from http://www.pdftex.org.

Corrected misplaced pst-3d.tex

The ebuild seems to be quite usable now.
Comment 1 Daniel Oehry 2006-06-03 06:33:25 UTC
Created attachment 88255 [details]
app-text/texlive-2005 ebuild
Comment 2 Daniel Oehry 2006-06-03 06:33:49 UTC
Created attachment 88256 [details, diff]
gentoo-texmf.patch
Comment 3 Daniel Oehry 2006-06-03 06:34:10 UTC
Created attachment 88257 [details, diff]
pdftex-1.30.6.patch
Comment 4 Daniel Oehry 2006-06-03 06:34:30 UTC
Created attachment 88258 [details, diff]
xpdf-3.01pl2.patch
Comment 5 Daniel Oehry 2006-06-03 06:36:00 UTC
Created attachment 88259 [details]
pdftex.def v0.03q
Comment 6 Sebastian Schubert 2006-06-03 15:13:49 UTC
I had the same problem as you with the ebuild in portage, yours work fine.  Maybe you could disable tex4htk with --without-tex4htk, there is an extra ebuild.  In addition, I tried to disable xdvi with --without-xdvik. It did not work.
Comment 7 Daniel Oehry 2006-06-04 01:00:29 UTC
xdvi is disabled by USE="-X".
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2006-08-15 00:34:31 UTC
Created attachment 94295 [details]
pdftex.dev -- version 0.03t

Updated pdftex.def
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2006-08-15 01:56:37 UTC
Emerges pretty fine this ebuild (apart some pre-stripped files and textrels, but they are to be reported when -r1 hits the tree), and works.

1) /usr/local/portage/app-text/texlive/texlive-2005-r1.ebuild: line 306: /usr/sbin/texmf-update: No such file or directory
2) and the latex symlink is not created

Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -pie"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe -pie"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-z relro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d a52 alsa artworkextra asf audiofile avi bash-completion beagle berkdb bidi bitmap-fonts bootsplash branding bzip2 cairo ccache cdda cddb cdparanoia cdr cli cracklib crypt css cups curl custom-cflags dbus dga directfb divx4linux dlloader dri dts dvd dvdr dvdread dvi eds emacs emboss encode esd evo exif fam fat fbcon fdftk ffmpeg firefox foomaticdb fortran ftp gb gcj gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal howl icq idn imagemagick imap imlib ipv6 isdnlog java javascript jikes jpeg jpeg2k ldap leim libg++ libwww lm_sensors mad maildir matroska mbox mikmod mime mmx mmxext mng mono motif mp3 mpeg mpeg2 mule nautilus ncurses nforce2 nls nocardbus nosendmail nowebdav nptl nptlonly nsplugin nvidia objc objc++ objc-gc offensive ogg opengl pam pcre pdf pdflib perl plotutils pmu png ppds pppd preview-latex print python qt3 qt4 quicktime readline reflection reiserfs samba sdk session slang spell spl sse ssl svg svga t1lib tcltk tcpd theora thunderbird tiff truetype truetype-fonts type1-fonts udev usb vcd videos vorbis win32codecs wmf wxwindows xfs xine xml xorg xosd xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_de userland_GNU video_cards_radeon video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 Thomas 2006-11-20 00:22:49 UTC
I'm not sure if this is the right venue; what I describe is more a feature request than a bug. texlive contains binaries for some "standard" systems; it does not contain binaries for ppc, but I tried and fetched the source tarball, and the binaries compiled cleanly and without any problem on my system. So in the spirit of gentoo packages, I would suggest to include ppc in the supported architectures. I don't know how to edit an ebuild, but I can describe the steps necessary to configure, make and install the binaries.
Comment 11 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-20 00:43:04 UTC
(In reply to comment #10)
> I'm not sure if this is the right venue; what I describe is more a feature
> request than a bug. texlive contains binaries for some "standard" systems; it
> does not contain binaries for ppc, but I tried and fetched the source tarball,
> and the binaries compiled cleanly and without any problem on my system. So in
> the spirit of gentoo packages, I would suggest to include ppc in the supported
> architectures. I don't know how to edit an ebuild, but I can describe the steps
> necessary to configure, make and install the binaries.

 You must talk to the ppc architecture team.  Either open a bug where you tell how to do it (bug wranglers will assign it to PPC then) or write an email to ppc@gentoo.org
Comment 12 Mrugesh Karnik 2006-12-14 22:31:22 UTC
(In reply to comment #9)
> Emerges pretty fine this ebuild (apart some pre-stripped files and textrels,
> but they are to be reported when -r1 hits the tree), and works.

Same here. Works well.

> 1) /usr/local/portage/app-text/texlive/texlive-2005-r1.ebuild: line 306:
> /usr/sbin/texmf-update: No such file or directory

I believe that you need to copy texmf-update from $PORTDIR/app-text/texlive/files/ to the same place in your overlay before emerging the ebuild.

> 2) and the latex symlink is not created

I have this:
lrwxrwxrwx 1 root root 7 2006-12-15 01:03 /usr/bin/latex -> pdfetex
Comment 13 Matti Bickel (RETIRED) gentoo-dev 2007-01-01 03:27:20 UTC
I have file collisions trying to emerge texlive:
existing file /usr/bin/ttf2pk is not owned by this package
existing file /usr/bin/ttf2tfm is not owned by this package
existing file /usr/share/texmf/ls-R is not owned by this package
existing file /usr/share/texmf/xdvi/XDvi is not owned by this package
existing file /usr/share/texmf/xdvi/xdvi.cfg is not owned by this package

media-libs/freetype-1.3.1-r4 (/usr/bin/ttf2pk)
media-libs/freetype-1.3.1-r4 (/usr/bin/ttf2tfm)
The other 3 were probably cruft from tetex.
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2007-01-08 15:24:03 UTC
*** Bug 160897 has been marked as a duplicate of this bug. ***
Comment 15 Vedran Miletić 2007-01-27 19:56:26 UTC
I see that there is not much happening here. Is anyone workign on this? Because in case nobody wants to work on it, I will take it.

So, from what I understand, here are a couple of things that should be fixed
- a working ebuild - the one in portage and one attached here don't work for (I don't get a working texmf-update)
- a modular ebuild - with various installation sizes (minimal, full, tetex-like)
- split package set - so that we can update them regardless of texlive (that would be very nice, and it isn't hard to do, but is a lot of work to maintain later)

Anything else? TeX Live 2007 is currently in testing, and it looks very promising (have been using it for a while on couple of computers), so I will probably work on it instead of 2005 which is over a year old now.
Comment 16 Christian Faulhammer (RETIRED) gentoo-dev 2007-01-29 07:58:47 UTC
(In reply to comment #15)
> I see that there is not much happening here. Is anyone workign on this? 

 At the moment not actively as I think.  nattfodd is the main person for TeX and friends, but with limited time.  text-markup team is understaffed.

> Because in case nobody wants to work on it, I will take it.

 Good idea, maybe you can get more practically involved.> Anything else? TeX Live 2007 is currently in testing, and it looks very

> promising (have been using it for a while on couple of computers), so I will
> probably work on it instead of 2005 which is over a year old now.

 Yes, that is a good idea.  2007 goes to production in a few days and the DVDs will be shipped in the next couple of months.
Comment 17 Alexandre Buisse (RETIRED) gentoo-dev 2007-01-29 10:25:30 UTC
Actually, it's more than understaffed, since I am intending to let go of TeX as soon as I can find someone to replace me. If you are interested by the job, please contact me by email (nattfodd@g.o) or on IRC.
Comment 18 Neil 2007-03-06 15:16:07 UTC
Installed this ebuild and found (after a bit of head-scratching and googling) that I had to modify the following line in /etc/texmf/web2c/texmf.cnf

% The main distribution tree:
TEXMFDIST = /usr/share/texmf


to...

% The main distribution tree:
TEXMFDIST = /usr/share/{texmf,texmf-dist}

As I was getting...

$ pdflatex sample2e.tex 
This is pdfeTeX, Version 3.141592-1.30.6-2.2 (Web2C 7.5.5)
entering extended mode
(./sample2e.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.

! LaTeX Error: File `article.cls' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)

Enter file name: !

The above changed solved that.
Comment 19 Vedran Miletić 2007-03-18 20:26:54 UTC
Sorry for being silent for a while. I have been playing around with TeX Live 2007, trying to make ebuild work for it. However, I rather quickly found out that my knowledge and experience with TeX is way too little to maintain something as huge as this (and TeX Live is *really* huge).

I really underestimated the whole thing, but I see that other are doing some good work at bug 168177 so it will happen eventually. It seems like a good idea to close this bug and move to bug 168177, since it's very active now.
Comment 20 Christian Axelsson 2007-05-04 07:12:22 UTC
I hope there is still work going with this or the 2007 ebuild.
Comment 21 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-01 12:11:11 UTC
To create a better overview, I dupe this bug as aballier is working on an improved build for 2007, see the duped bug about details.

*** This bug has been marked as a duplicate of bug 168177 ***