Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270387 - media-gfx/tgif instantiation files not copied into target directory
Summary: media-gfx/tgif instantiation files not copied into target directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-19 07:22 UTC by dejfson
Modified: 2009-10-05 21:14 UTC (History)
1 user (show)

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


Attachments
tgif-4.1.45-sym.patch (tgif-4.1.45-sym.patch,1.74 KB, patch)
2009-06-04 23:26 UTC, Jiri Tyr
Details | Diff
tgif-4.1.45.ebuild.patch (tgif-4.1.45.ebuild.patch,395 bytes, patch)
2009-06-04 23:27 UTC, Jiri Tyr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dejfson 2009-05-19 07:22:27 UTC
When doing instantiation of the latex equation in the tgif, it is not possible due to missing *.sym files in the directory where the tgif is looking for them. It seems that the sym files are not copied during the installation. 

Reproducible: Always

Steps to Reproduce:
1. install tgif
2. try to instantiate eq4.sym by issuing special/instantiate command
3. you should see the list of possible instantiations, the most important - eq4.sym - is missing. In fact, all of them are missing but tangram.sym.

Actual Results:  
You cannot instantiate latex equation (eq4.sym) into your image

Expected Results:  
Correct files placed

These files are part of the tgif package:

-r--r--r-- 1 belohrad pz 18633 2006-06-14 00:29 eq4-2x.sym
-r--r--r-- 1 belohrad pz 14758 2006-06-14 00:29 eq4-epstool.sym
-r--r--r-- 1 belohrad pz 28379 2006-06-14 00:29 eq4-lyx-ps2epsi.sym
-r--r--r-- 1 belohrad pz 14619 2006-06-14 00:29 eq4-ps2epsi.sym
-r--r--r-- 1 belohrad pz 15326 2006-06-14 00:29 eq4.sym
-r--r--r-- 1 belohrad pz 29691 2006-06-14 00:29 eq4xpm.sym
-r--r--r-- 1 belohrad pz  6075 2006-06-14 00:29 flip-flop.sym
-r--r--r-- 1 belohrad pz  2934 2006-06-14 00:29 nand2.sym
-r--r--r-- 1 belohrad pz   456 2006-06-14 00:29 pin.sym
-r--r--r-- 1 belohrad pz   651 2006-06-14 00:29 tangram.sym

During installation, they should be moved into target directory. In my case the target directory is /usr/lib64/tgif. I guess that in case of 32bit system it would go into appropriate directory.

These files are not copied there, therefore instantiation cannot work



Emerge --info:
Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27.10 x86_64)
=================================================================
System uname: Linux-2.6.27.10-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-glibc2.2.5
Timestamp of tree: Mon, 18 May 2009 21:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.4-r2, 2.6.2
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs fr en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi afs alsa amd64 apache2 arts bash-completion berkdb bzip2 cdparanoia cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emacs exif flac fortran gdbm gif gimp gpm hal hardened iconv ipv6 isdnlog jce jpeg kde kdeprefix kerberos kpathsea krb4 ldap midi mmx mp3 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl php png pppd python qt qt3 qt4 rdesktop readline reflection samba scanner session spl sse sse2 ssl subversion svg sysfs tcl tcpd tetex tiff truetype unicode usb vorbis xcomposite xinerama xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs fr en" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mike Auty (RETIRED) gentoo-dev 2009-05-20 21:38:42 UTC
Unfortunately this package doesn't have a maintainer at the moment, so whilst I am going to re-assign it, chances are it won't get fixed particularly soon.  If you would like to maintain it yourself, you could contact project sunrise [1] and see if they'll help you migrate it from the main tree to the sunrise overlay.  You could also ask at the next bug day [2] if someone would be willing to fix this then...

[1] http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
[2] http://bugday.gentoo.org/
Comment 2 Jiri Tyr 2009-06-04 23:26:28 UTC
Created attachment 193592 [details, diff]
tgif-4.1.45-sym.patch

Patch for the Makefile which fixes the installation problem.
Comment 3 Jiri Tyr 2009-06-04 23:27:33 UTC
Created attachment 193594 [details, diff]
tgif-4.1.45.ebuild.patch

Patch for the tgif-4.1.45 ebuild which includes the Makefile patch.
Comment 4 Víctor Ostorga (RETIRED) gentoo-dev 2009-10-05 21:14:24 UTC
Thanks for the patches!

+*tgif-4.1.45-r1 (05 Oct 2009)
+
+  05 Oct 2009; Víctor Ostorga <vostorga@gentoo.org> +tgif-4.1.45-r1.ebuild,
+  +files/tgif-4.1.45-sym.patch:
+  Fixing instantiation files not copied into target directory, patch thanks
+  to Jiri Tyr <jiri.tyr@e-learning.tul.cz> bug 270387, respecting LDFLAGS