Red Hat Bugzilla – Bug 204493
Review Request: perl-Mozilla-DOM - Perl interface to Mozilla DOM
Last modified: 2007-11-30 17:11:41 EST
SRPM URL: http://home.comcast.net/~ckweyl/perl-Mozilla-DOM-0.20-1.fc5.src.rpm
SPEC URL: http://home.comcast.net/~ckweyl/perl-Mozilla-DOM.spec
This module wraps the Mozilla DOM interface in Perl.
In conjuction with an embedded Gecko widget (e.g. Gtk2::MozEmbed),
you can use Perl to manipulate the browser DOM, handle DOM signals,
and create events such as mouse clicks -- all within a Mozilla-like
for more details.
Hmmm, mozilla-devel doesn't exist in FC6, so this package can't be built. It
seems a bit pointless to just target FC5 at this point. What's the plan here?
Hrm... is it being replaced by anything? perl-Gtk2-MozEmbed (bug 204494) will
be impacted as well.
Both packages suggest that they can use firefox, but FC-5 doesn't seem to have
the requisite bits in placel; if there's some sort of "embedded mozilla library"
FC-6 will be using I can take a look at getting this to build against that.
I think long-term the intended solution is something called xulrunner, but I
know nothing of it. In FC6 there's firefox-devel which seems to include the
same stuff, but in a "firefox-*" directory instead of "mozilla-*".
I can get the build to progress a bit further by patching Makefile.PL to add
to the $mozdom->set_inc call. However, it still fails on
DOM.xs:12674: error: no matching function for call to
/usr/include/firefox-126.96.36.199/dom/nsIDOMNSHTMLDocument.h:67: note: candidates
are: virtual nsresult nsIDOMNSHTMLDocument::Open(const nsACString&, PRBool,
Perhaps someone who knows Firefox internals could comment on what's missing.
FC6 has firefox-devel
Would like to review this package.
Perhaps you could work on getting it to build with firefox-devel, then. I had
Created attachment 143491 [details]
Hack to get this package compiled against firefox
With this patch applied and the spec having been changed to use firefox-devel,
this package compiles. I haven't tried to use this perl-dist nor am I
particularily interested in this package, so I don't know if this breaks
something or not ;)
Afterwards, this exposes ca. 10 further bogus Requires and *Provides*.
=> You also need to filter provides.
Instead of using external filter scripts, I prefer using filter scripts being
inlined into the spec (For details of how I do this, c.f. rt3's spec in FE's
It seems to me that this ticket (and its dependencies) should just go away since
Mozilla is long gone, and once xulrunner comes into the distro hopefully this
module or something like it can be supportable.
I guess I'll just close this and the depending tickets since there's been no
About the closing of the depending tickets.
The bug 204497 (gmusicbrowser) has been closed although it works just fine
without perl-Gtk2-MozEmbed, it is detected at run-time and only used by an
And about the other depending bug 204494, it can work without perl-Mozilla-DOM,
I've been able to build perl-Gtk2-MozEmbed with firefox-devel, the only problem
is that it segfault unless the firefox lib path is in LD_LIBRARY_PATH or
/etc/ld.so.conf. the included pumpzilla example script can be used to test if it