Bug#739490: iceweasel: compiled extensions can not be built with version in wheezy-sec

Mike Hommey mh at glandium.org
Tue Mar 18 22:59:32 UTC 2014


On Tue, Mar 11, 2014 at 03:23:23PM +0100, Raphael Geissert wrote:
> On 7 March 2014 11:29, Raphael Geissert <geissert at debian.org> wrote:
> > On 5 March 2014 23:01, Mike Hommey <mh at glandium.org> wrote:
> >> What about pkg-config --cflags libxul? Could you also share your built
> >> -dev package?
> >
> > -I/usr/include/xulrunner-24.0
> 
> A quick and dirty workaround is to symlink the nss and nspr .pc files
> as mozilla-$foo.
> 
> An alternative solution that seems to work fine is to:
> * revert the part of the "Check less things during configure" patch
> that modifies the calls to nspr-config,
> * and an else to [1] to do something like this:
> cd debian/tmp/usr/include/xulrunner-$(GRE_VERSION) && \
> for f in nss/* nspr/*; do \
> ln -s $$f $$(basename $$f); \
> done
> 
> [1] http://sources.debian.net/src/iceweasel/24.3.0esr-1/debian/rules#L309

This would be better and should work:

diff --git a/xulrunner/installer/mozilla-nspr.pc.in b/xulrunner/installer/mozilla-nspr.pc.in
index 86ba304..7ebd342 100644
--- a/xulrunner/installer/mozilla-nspr.pc.in
+++ b/xulrunner/installer/mozilla-nspr.pc.in
@@ -1,6 +1,6 @@
 prefix=%prefix%
 sdkdir=%sdkdir%
-includedir=%includedir%
+includedir=%includedir%/nspr
 
 Name: NSPR
 Description: The Netscape Portable Runtime
diff --git a/xulrunner/installer/mozilla-nss.pc.in b/xulrunner/installer/mozilla-nss.pc.in
index 927305f..fc72864 100644
--- a/xulrunner/installer/mozilla-nss.pc.in
+++ b/xulrunner/installer/mozilla-nss.pc.in
@@ -1,6 +1,6 @@
 prefix=%prefix%
 sdkdir=%sdkdir%
-includedir=%includedir%
+includedir=%includedir%/nss
 
 Name: NSS
 Description: Mozilla Network Security Services



More information about the pkg-mozilla-maintainers mailing list