[Pkg-osm-maint] Bug#623329: Bug#623329: libjs-khtmlib: examples appear to be broken - bad link

Jonas Smedegaard dr at jones.dk
Tue Apr 19 11:41:09 UTC 2011


Hi Andrew,

On 11-04-19 at 09:29pm, Andrew Harvey wrote:
> The examples for libjs-khtmlib appear to be broken. The html files are 
> looking for the non-existent 
> http://localhost/doc/libjs-khtmlib/examples/js/khtml.js
I stumbled into this problem myself yesterday. :-)


> A simple fix is,
> 
> ln -s -T /usr/share/javascript/khtml /usr/share/doc/libjs-khtmlib/examples/js
> 
> Though I'm not sure what's the best fix from a packaging perspective.

Ah, yes.  I didn't think of that approach.  I guess that would be 
acceptable according to Debian Policy, but consider instead to hack all 
html example files to hardcode the full path instead - as that will work 
also if copying the examples into another folder - and online too, if 
adding the following to Apache:

  Alias /usr/share/javascript /usr/share/javascript/


Thanks for your interest in khtmlib, and for this bugreport,


 - Jonas


-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-osm-maint/attachments/20110419/e3049fc1/attachment.pgp>


More information about the Pkg-osm-maint mailing list