Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#684480: libjs-wax: Missing html4-defs.js

1 view
Skip to first unread message

Andrew Harvey

unread,
Aug 10, 2012, 7:40:01 AM8/10/12
to
Package: libjs-wax
Version: 5.0.1+ds1-1
Justification: renders package unusable
Severity: grave

Dear Maintainer,

Upon trying to use wax.leaf.js the browser reports "html4 is not
defined" from wax.leaf.js:842.

The html4 object which it mentions is provided by the html4 package
within google-caja.

More specifically in debian/rules the get-orig-source target removes the
third-party embedded libs for the google-caja html-sanitizer from the
source package (ext/html-sanitizer-bundle.js) and
re-pulls this file from
http://google-caja.googlecode.com/svn/trunk/src/com/google/caja/plugin/html-sanitizer.js.

However, the two files are not the same. Specifically the one you pull
in doesn't provide html4, whereas the one included in the upstream
source package did.

This is furthermore complicated by the fact that upstream removed the
html4-defs.js file (which is the one we need) from the upstream source
tree in r3013 because it is now build as part of the build process of
google-caja, so we can't simply pull it in.

I see two options to fix this issue.

Option 1 is to leave the included ext/html-sanitizer-bundle.js from the
upstream source tarball in tact and use it. However I don't think this
is a viable option as it is probably against Debian policy.

Option two is to package google-caja in Debian. Doing so will build the
required html4-defs.js file from source and provide it for use within
Debian, allowing libjs-wax to simply Depend on google-caja and use it's
html4-defs.js file.

Until such time as this is fixed, unless there is some other way to use
wax, I think the package should be removed from Debian since it is not
usable in it's current form (happy to be proven wrong).

Thanks.

signature.asc

David Paleino

unread,
Sep 5, 2012, 5:40:02 AM9/5/12
to
clone ! -1
retitle -1 depend on yet-to-be-packaged google-caja
severity -1 wishlist
thanks

Hello Andrew,
thanks for your report.

On Fri, 10 Aug 2012 21:26:33 +1000, Andrew Harvey wrote:

> Dear Maintainer,
>
> Upon trying to use wax.leaf.js the browser reports "html4 is not
> defined" from wax.leaf.js:842.

I "solved" it by downloading the last available revision of html4-defs.js
inside get-orig-source. This is not an optimal solution, and it would be best
to package google-caja, as you already suggested (see bug mangling above).

I pushed my changes to the git repository available at:

git://git.debian.org/git/collab-maint/wax.js.git

I currently have no time to make a test page to check whether it works or not
(and that's why I'm not uploading the package right away) -- could you please
build a package from there and try it?

Thank you for spotting this bug,
David

--
. ''`. Debian developer | http://wiki.debian.org/DavidPaleino
: :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'` GPG: 1392B174 ----|---- http://deb.li/dapal
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
signature.asc

Debian Bug Tracking System

unread,
Sep 20, 2012, 7:00:02 AM9/20/12
to
Your message dated Thu, 20 Sep 2012 10:48:13 +0000
with message-id <E1TEeIn-...@franck.debian.org>
and subject line Bug#684480: fixed in wax.js 5.0.1+ds2-1
has caused the Debian Bug report #684480,
regarding libjs-wax: Missing html4-defs.js
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


--
684480: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684480
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
signature.asc
0 new messages