Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97134 - jargon-4.4.7 and broken stylesheet path
Summary: jargon-4.4.7 and broken stylesheet path
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Mr. Bones. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-26 12:20 UTC by parafin
Modified: 2005-06-27 12:42 UTC (History)
0 users

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


Attachments
patched ebuild (jargon-4.4.7.ebuild,692 bytes, text/plain)
2005-06-26 12:22 UTC, parafin
Details
finally patched and tested ebuild (jargon-4.4.7.ebuild,697 bytes, text/plain)
2005-06-27 09:55 UTC, parafin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description parafin 2005-06-26 12:20:09 UTC
all files in subdirs 0,A..Z has this tag: <link rel="stylesheet" href="../../
jargon.css" type="text/css"/>.
You see that href points to non-existent file, it should be ../jargon.css
Workaround: i'm not sure that this problem exists only in stylesheet links, so 
you can simply add this command to ebuild sed -i 's#\.\./\.\.#..#' ${S}/html/*/*

Reproducible: Always
Steps to Reproduce:
emerge jargon
Comment 1 parafin 2005-06-26 12:22:53 UTC
Created attachment 61989 [details]
patched ebuild

line sed -i 's#\.\./\.\.#..#' ${S}/html/*/* added to src_unpack
i haven't yet tested the ebuild, but command works fine.
Comment 2 parafin 2005-06-27 09:55:37 UTC
Created attachment 62072 [details]
finally patched and tested ebuild

oops... now it will work. (error was: sed: too long command line) May be it's
better to rewrite sed command using find, but anyway _this_ ebuild works fine.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2005-06-27 12:42:04 UTC
ok, in portage.  thanks for the bug report and patch.