Skip Menu |

This queue is for tickets about the Mozilla-DOM CPAN distribution.

Report information
The Basics
Id: 31683
Status: open
Priority: 0/
Queue: Mozilla-DOM

People
Owner: Nobody in particular
Requestors: sukria [...] sukria.net
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: Unable to build on Debian systems
Mozilla::DOM needs to build against an xpcom file, and wants either mozilla-xpcom, mozilla-firefox-xpcom or firefox-xpcom. On debian systems, those files are not provided, because xulrunner-xpcom is (and packages must build against that one instead). Find attached a patch that adds the xulrunner alternative and makes the package buildable under Debian systems. Thanks.
Subject: patch.diff
diff -ubBr Mozilla-DOM-0.21/Makefile.PL Mozilla-DOM-0.21.new/Makefile.PL --- Mozilla-DOM-0.21/Makefile.PL 2007-06-06 22:40:06.000000000 +0200 +++ Mozilla-DOM-0.21.new/Makefile.PL 2007-12-18 11:45:11.000000000 +0100 @@ -17,6 +17,7 @@ my $mozpkg = 'mozilla-xpcom'; my $ffpkg = 'firefox-xpcom'; my $mffpkg = 'mozilla-firefox-xpcom'; +my $xulpkg = 'xulrunner-xpcom'; our %build_reqs = ( 'perl-ExtUtils-Depends' => '0.205', @@ -24,6 +25,7 @@ $mozpkg => '1.7', $ffpkg => '1.0', $mffpkg => '1.0', + $xulpkg => '1.0', ); unless (eval "use ExtUtils::Depends '$build_reqs{'perl-ExtUtils-Depends'}';" @@ -42,6 +44,7 @@ my %pkgcfg = ExtUtils::PkgConfig->find("$mozpkg >= " . $build_reqs{$mozpkg}, "$ffpkg >= " . $build_reqs{$ffpkg}, + "$xulpkg >= ".$build_reqs{$xulpkg}, "$mffpkg >= " . $build_reqs{$mffpkg}); my ($pkg) = $pkgcfg{pkg} =~ /^(\S+-xpcom)/;
From: slanning [...] cpan.org
Thanks