Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149882 - displaying LaTeX stuff doesn't work in net-im/psi-0.10(-r1) on amd64
Summary: displaying LaTeX stuff doesn't work in net-im/psi-0.10(-r1) on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Przemyslaw Maciag (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-02 12:38 UTC by R!tman
Modified: 2007-03-06 00:18 UTC (History)
1 user (show)

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


Attachments
Working (under EMT64 and probably amd64) version of libTeXFormula.diff (libTeXFormula.diff,60.71 KB, text/plain)
2006-11-22 07:33 UTC, Lukasz Milkowski
Details
Patch for the libTeXFormula (libTeXFormula-amd64consoleonly.patch,1.93 KB, patch)
2006-11-22 07:37 UTC, Lukasz Milkowski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description R!tman 2006-10-02 12:38:55 UTC
With 

USE="extras insecure-patches xscreensaver" emerge =net-im/psi-0.10-r1

LaTeX formulae aren't displayed in psi. Same thing with net-im/psi-0.10. When I start psi from the console, this is the error I get when I try to send LaTeX stuff (eg. $$a^b$$):

Unrecoverable error: typecheck in .putdeviceprops

It works on x86 and there also is no such error message.

My emerge --info from the amd64:

$ emerge --info
Portage 2.1.1-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Gentoo Base System version 1.12.5
Last Sync: Mon, 02 Oct 2006 14:00:08 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j3"
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://kosh/gentoo-portage"
USE="X aac alsa amd64 avi berkdb bitmap-fonts caps cli crypt dlloader dri dvd elibc_glibc encode fbcon fortran gd gdbm gif gpm gtk gtk2 input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java jpeg kernel_linux libg++ live matroska motif mp3 mp4 mpeg ncurses nls nocardbus nptl nptlonly nvidia ogg oggvorbis openal opengl pam pcre pdflib pic plotutils png pppd quicktime readline reflection sdl session smp spell spl sse3 ssl tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU utf8 video_cards_nv video_cards_nvidia video_cards_vesa vorbis x264 xinerama xmms xorg xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lukasz Milkowski 2006-11-22 07:33:54 UTC
Created attachment 102549 [details]
Working (under EMT64 and probably amd64) version of libTeXFormula.diff

It's something with the table of args. in gsapi_init_with_args_runtime() function, probably connected with this bug in ghostscript http://bugs.ghostscript.com/show_bug.cgi?id=687373. 
But calling this in command line, fixing this problem.
Comment 2 Lukasz Milkowski 2006-11-22 07:37:11 UTC
Created attachment 102550 [details, diff]
Patch for the libTeXFormula 

And here the patch, generating Latex elements in console only.
Comment 3 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-12-31 03:44:31 UTC
R!tman, amd64 team - have anyone checked patch, provided by Lukasz, on amd64? If so - plz, give me a sign. I'll try it on my x86 and ppc boxes later, during next week.

Cheers,
Przemek
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2007-02-06 10:36:08 UTC
(In reply to comment #3)
> R!tman, amd64 team - have anyone checked patch, provided by Lukasz, on amd64?
> If so - plz, give me a sign. I'll try it on my x86 and ppc boxes later, during
> next week.

So, how does it work there?
Comment 5 R!tman 2007-02-12 08:24:19 UTC
Sorry guys for not answering earlier!!

The patch works for me, I used complete patch libTeXFormula.diff.

Lukasz, thank you very much!
Comment 6 Simon Stelling (RETIRED) gentoo-dev 2007-03-02 13:59:01 UTC
Troll, can you please patch the patch? Seems to work smoothly.
Comment 7 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-03-02 15:48:23 UTC
(In reply to comment #6)
> Troll, can you please patch the patch? Seems to work smoothly.

Sure thing. I'll update psi ebuild ASAP (today/tommorow).

Cheers,
Przemek
Comment 8 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-03-06 00:18:13 UTC
And fixed in CVS (0.10 and 0.10-r2).

Thx Lukasz!

Cheers,
Przemek