Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142192 - tetex 3.0 doesn't include pgf 1.01 and blocks the separate ebuild
Summary: tetex 3.0 doesn't include pgf 1.01 and blocks the separate ebuild
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:
Depends on:
Blocks:
 
Reported: 2006-07-30 09:00 UTC by Gregor Riepl
Modified: 2007-07-23 11:50 UTC (History)
5 users (show)

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


Attachments
pgf-1.09.ebuild (pgf-1.09.ebuild,536 bytes, application/octet-stream)
2006-11-23 07:08 UTC, Horst Prote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gregor Riepl 2006-07-30 09:00:13 UTC
pgf 1.01 includes the tikz extensions, which i need for my documents.
unfortunately, texmf 3.0 only contains pgf 0.65, which is way too old.
emerging pgf separately is also impossible because tetex 3.0 blocks it.

i tried pgf with ptex then, which works (should it? ptex uses the same base texmf 3.0 distribution as tetex).
this works somehow, but i had to manually remove the old pgf package's files.

i guess the fix would have to occur upstream, as this a problem inherent to the texmf distribution.

for now, how about a temporary texmf patch and marking ptex 3 as a blocker for pgf, xcolor and xkeyval?

here's emerge --info, ftr:
Portage 2.1.1_pre3-r5 (default-linux/x86/2005.1, gcc-3.4.6/vanilla, glibc-2.4-r3, 2.6.17-rc2 i686)
=================================================================
System uname: 2.6.17-rc2 i686 AMD Sempron(TM) 2500+
Gentoo Base System version 1.12.0_pre18
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r1
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.12-r3
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LANG="de_CH.UTF-8"
LINGUAS="de ja ru fr"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acl acpi alsa amr apache2 arts asf audiofile berkdb bind-mysql bitmap-fonts blender-game bluetooth browserplugin bzip2 c++ cairo cdda cddb cdinstall cdparanoia cjk cli crypt css cups dbus dedicated dlloader dmi dri dts dv dvd dvdr dvdread eds encode esd exif exscalibar ffmpeg fftw flac flash foomaticdb fortran fping freetype ftp gd gif gimp glx gnokii gnome gnome-print gphoto2 gpm gs gstreamer gtk gtk2 hal icq id3 ieee1394 ifp imagemagick imap imlib immqt-bc innodb ipod ipv6 irda isdnlog jabber jack java javascript jce jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdepim kdexdeltas kerberos lame ldap libcaca libg++ libsamplerate libwww live logitech-mouse lzo lzw mad maildir matroska mikmod mjpeg mmap mmx mmxext mng mozdevelop mozsvg mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer musepack musicbrainz mysql mysqli nas ncurses network nis nls nptl nptlonly nvidia ogg oggvorbis openal openexr opengl oss pam pam_chroot pam_console pcre pdf pdflib perl php png postgres povray ppds pppd python qt qt3 quicktime rar rdesktop readline real reflection samba scanner sdl sensord server session shorten sid slp smime sndfile snmp socks5 sox speex spell spl sqlite sse ssl stream subp subtitles subversion tcpd tetex tga theora threads tidy tiff transcode truetype truetype-fonts type1-fonts unicode utf8 v4l v4l2 vcd visualization vorbis win32codecs wmf wxwindows x264 xchat xchatdccserver xchattext xcomposite xinerama xml xml2 xmms xorg xosd xpm xscreensaver xsl xv xvid xvmc yv12 zeroconf zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de linguas_ja linguas_ru linguas_fr userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-30 09:38:09 UTC
(In reply to comment #0)
> for now, how about a temporary texmf patch and marking ptex 3 as a blocker for
> pgf, xcolor and xkeyval?

What kind of patch do you mean? And yeah, this is wrong place for this request, needs to go upstream...
Comment 2 Martin Ehmsen (RETIRED) gentoo-dev 2006-07-30 11:58:05 UTC
This bug will get fixed as soon as tetex-3 goes stable.
The newest ~arch version does include a texmf-site texmf-tree where the latex-package should install all in-tree tex-packages so they do not conflict with the ones in the standard texmf-tree.
Comment 3 Gregor Riepl 2006-07-30 14:10:42 UTC
with a temporary fix, i mean preparing a patch that removes pgf from the texmf tree and replaces it with the current 1.01 version.

what exactly will get fixed in tetex 3 stable? your post is a bit too technical for me. :/
as far as i understood, the fix here will be providing a separate site-installation directory for additional packages so the ones from texmf won't get overwritten. is that correct?

by the way, as things are now, ptex should really be included in the dev-tex/*'s package blockers, not only tetex. it uses texmf in the same way and has the same limitations. ok, this would be a different bug, but is it worth opening another report? maybe virtual/tetex should get a version and that be used in lieu of >=app-text/tetex-3.0.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2006-11-09 02:41:30 UTC
tetex-3.0_p1-r3 is presently being marked as stable in bug 154489.
Comment 5 Nicolas Bigaouette 2006-11-09 11:30:08 UTC
I needed to remove those packages :
emerge -avC dev-tex/pgf dev-tex/xcolor dev-tex/latex-beamer dev-tex/xkeyval dev-tex/lineno
prior to update world.
Comment 6 Horst Prote 2006-11-23 06:48:02 UTC
(In reply to comment #3)
> with a temporary fix, i mean preparing a patch that removes pgf from the texmf
> tree and replaces it with the current 1.01 version.
> 
> what exactly will get fixed in tetex 3 stable? your post is a bit too technical
> for me. :/
> as far as i understood, the fix here will be providing a separate
> site-installation directory for additional packages so the ones from texmf
> won't get overwritten. is that correct?
I encountered the same problem today after upgrading to tetex-3.0.

Here is my interim solution until pgf-1.x becomes part of tetex:
(I assume you have defined a portage overlay in /etc/make.conf, e.g.:
 PORTDIR_OVERLAY="/usr/local/portage")
mkdir -p /usr/local/portage/dev-tex/pgf/files
cd /usr/local/portage/dev-tex/pgf/
vi pgf-1.09.ebuild
(contents see attachment)
ebuild pgf-1.09.ebuild digest
echo ">=dev-tex/pgf-1.09 ~x86" >> /etc/portage/packages.keywords
emerge pgf

This installs pgf-1.09 into the local TeX tree /usr/local/share/texmf
that is searched before the distribution TeX tree /usr/share/texmf.
Comment 7 Horst Prote 2006-11-23 07:08:15 UTC
Created attachment 102600 [details]
pgf-1.09.ebuild
Comment 8 Lars Weiler (RETIRED) gentoo-dev 2007-07-22 16:40:59 UTC
I added a newer pgf-version to the portage tree which works in combination with tetex-3.  It's currently ~arch, but please test.
Comment 9 Horst Prote 2007-07-23 11:50:53 UTC
(In reply to comment #8)
> ... but please test.
Done. No problems (more precisely: the problems I had with older versions are solved).

In fact we use pgf-1.18 (and latex-beamer-3.07) since July 4-th without any problems. I had my own ebuilds in a local overlay that look pretty much the same than yours. So I would vote for a quick stabilization of both, pgf-1.18 and latex-beamer-3.07 (see your bug 185096).