Skip Menu |

This queue is for tickets about the Gtk2-MozEmbed CPAN distribution.

Report information
The Basics
Id: 14792
Status: resolved
Priority: 0/
Queue: Gtk2-MozEmbed

People
Owner: Nobody in particular
Requestors: jose.auguste-etienne [...] cgss-guyane.fr
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.04
Fixed in: (no value)



Subject: |Gtk2-MozEmbed-0.04][PATCH] Add support to detect mozilla-firefox-xpcom
Hi, with Gtk2-MozEmbed-0.04, when running "perl Makefile.PL", it fails to detect the Mozilla Firefox xpcom package, because on my linux distro, Mandriva LE2005 (formerly Mandrakelinux), the package is not named "firefox-xpcom" but "mozilla-firefox-xpcom". The attached patch solves the problem, and slightly modifies the way the package named is found. OS version an perl -v follows many thanks regards, José $ uname -r 2.6.11-12mdk $ perl -v This is perl, v5.8.7 built for i686-linux Copyright 1987-2005, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.
49c49,50 < "firefox-gtkmozembed >= $build_reqs{'Firefox'}"); --- > "firefox-gtkmozembed >= $build_reqs{'Firefox'}", > "mozilla-firefox-gtkmozembed >= $build_reqs{'Firefox'}"); 62,63c63 < my $pkg = $pkgcfg{pkg} =~ /mozilla/ ? "mozilla-gtkmozembed" : < "firefox-gtkmozembed"; --- > my( $pkg ) = $pkgcfg{pkg} =~ /^(\S+-gtkmozembed)\s/;
Committed to HEAD of CVS. Many thanks.