Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340519 - media-gfx/transfig-3.2.5d: ebuild installs wrong symlinks
Summary: media-gfx/transfig-3.2.5d: ebuild installs wrong symlinks
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-11 12:44 UTC by Martin Mokrejš
Modified: 2010-10-25 13:08 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2010-10-11 12:44:00 UTC
What is the point to have these symlinks created?

make[2]: Entering directory `/var/tmp/portage/media-gfx/transfig-3.2.5d/work/transfig.3.2.5d/fig2dev/dev'
+ mkdir -p /var/tmp/portage/media-gfx/transfig-3.2.5d/image//usr/share/fig2dev
install -c -m 0444 japanese.ps /var/tmp/portage/media-gfx/transfig-3.2.5d/image//usr/share/fig2dev/japanese.ps
( cd /var/tmp/portage/media-gfx/transfig-3.2.5d/image//usr/share/fig2dev;         rm -f ja.ps ja_JP.ps ja_JP.ujis.ps ja_JP.eucJP.ps ja_JP.EUC.ps;         ln -s japanese.ps ja.ps; ln -s japanese.ps ja_JP.ps;    ln -s japanese.ps ja_JP.ujis.ps; ln -s japanese.ps ja_JP.eucJP.ps;    ln -s japanese.ps ja_JP.EUC.ps )
install -c -m 0444 korean.ps /var/tmp/portage/media-gfx/transfig-3.2.5d/image//usr/share/fig2dev/korean.ps
( cd /var/tmp/portage/media-gfx/transfig-3.2.5d/image//usr/share/fig2dev;         rm -f ko.ps ko_KR.ps ko_KR.eucKR.ps ko_KR.EUC.ps;       ln -s korean.ps ko.ps; ln -s korean.ps ko_KR.ps;        ln -s korean.ps ko_KR.eucKR.ps; ln -s korean.ps ko_KR.EUC.ps )
install -c -m 0444 cs_CZ.ps /var/tmp/portage/media-gfx/transfig-3.2.5d/image//usr/share/fig2dev/cs_CZ.ps
( cd /var/tmp/portage/media-gfx/transfig-3.2.5d/image//usr/share/fig2dev;         rm -f hr_HR.ps hu_HU.ps pl_PL.ps ro_RO.ps sk_SK.ps sl_SI.ps;    ln -s cs_CZ.ps hr_HR.ps; ln -s cs_CZ.ps hu_HU.ps;       ln -s cs_CZ.ps ro_RO.ps; ln -s cs_CZ.ps pl_PL.ps;     ln -s cs_CZ.ps sk_SK.ps; ln -s cs_CZ.ps sl_SI.ps )
install in fig2dev/dev done
make[2]: Leaving directory `/var/tmp/portage/media-gfx/transfig-3.2.5d/work/transfig.3.2.5d/fig2dev/dev'



For clarity, here they are listed as files:

ls -la /usr/share/fig2dev/
total 64
drwxr-xr-x   2 root root  4096 Oct 11 14:38 .
drwxr-xr-x 534 root root 20480 Oct 11 12:51 ..
-r--r--r--   1 root root  5601 Oct 11 14:38 cs_CZ.ps
lrwxrwxrwx   1 root root     8 Oct 11 14:38 hr_HR.ps -> cs_CZ.ps
lrwxrwxrwx   1 root root     8 Oct 11 14:38 hu_HU.ps -> cs_CZ.ps
lrwxrwxrwx   1 root root    11 Oct 11 14:38 ja.ps -> japanese.ps
lrwxrwxrwx   1 root root    11 Oct 11 14:38 ja_JP.EUC.ps -> japanese.ps
lrwxrwxrwx   1 root root    11 Oct 11 14:38 ja_JP.eucJP.ps -> japanese.ps
lrwxrwxrwx   1 root root    11 Oct 11 14:38 ja_JP.ps -> japanese.ps
lrwxrwxrwx   1 root root    11 Oct 11 14:38 ja_JP.ujis.ps -> japanese.ps
-r--r--r--   1 root root  1324 Oct 11 14:38 japanese.ps
lrwxrwxrwx   1 root root     9 Oct 11 14:38 ko.ps -> korean.ps
lrwxrwxrwx   1 root root     9 Oct 11 14:38 ko_KR.EUC.ps -> korean.ps
lrwxrwxrwx   1 root root     9 Oct 11 14:38 ko_KR.eucKR.ps -> korean.ps
lrwxrwxrwx   1 root root     9 Oct 11 14:38 ko_KR.ps -> korean.ps
-r--r--r--   1 root root  1533 Oct 11 14:38 korean.ps
lrwxrwxrwx   1 root root     8 Oct 11 14:38 pl_PL.ps -> cs_CZ.ps
lrwxrwxrwx   1 root root     8 Oct 11 14:38 ro_RO.ps -> cs_CZ.ps
-rw-r--r--   1 root root  6079 Oct 11 14:38 ru_RU.CP1251.ps
-rw-r--r--   1 root root  6015 Oct 11 14:38 ru_RU.KOI8-R.ps
lrwxrwxrwx   1 root root     8 Oct 11 14:38 sk_SK.ps -> cs_CZ.ps
lrwxrwxrwx   1 root root     8 Oct 11 14:38 sl_SI.ps -> cs_CZ.ps
-rw-r--r--   1 root root  6023 Oct 11 14:38 uk_UA.KOI8-U.ps
#

Why are pl_PL.ps, ro_RO.ps and other pointing to another language which is different?

$ grep LINGUAS /etc/make.conf
LINGUAS="en cs cz"
$
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2010-10-25 13:08:20 UTC
From CHANGES files in transfig tarball:

        o Glyphs for Hungarian, Polish, Romanian, Slovak and Slovenian
          are essentially the same as Czech (ISO-Latin 2) so symbolic links are
          created for those .ps files (hu_HU.ps, pl_PL.ps, ro_RO.ps, sk_SK.ps
          and sl_SI.ps are linked to cs_CZ.ps)

If this is wrong, please, clarify.