On Sat, Oct 10, 2009 at 07:18 PM, Mike Hommey wrote:

Hi Mike!

> freej only really needs mozilla-js to build. Here is a small patch to
> configure.ac (and control file) to remove the need for a xulrunner-dev
> build dependency.

Are you sure this patch works also for other distros/oses
(gentoo/fedora/freebsd)?

Last time I checked (xulrunner 1.9.0) it didn't work because FreeJ was
looking for some includes which in debian are found in
"/usr/include/mozjs" (copied there when the binary package is built), but
in other distributions are in "/usr/include/xulrunner-1.9/unstable" (the
"make install" official path).

>From a quick check to xulrunner 1.9.1 source package it seems like the
situation didn't change because "debian/rules" still contains the
following lines:

cp -Lr dist/include/js debian/tmp/usr/include/mozjs
find debian/tmp/usr/include/mozjs -type f -printf %P\\n | while read f; do \
        file=$$(echo debian/tmp/usr/include/xulrunner-$(BASE_VERSION)/*/$$f); \
        rm $$file; \
        ln -s /usr/include/mozjs/$$(basename $$f) $$file; \
done

Can you explain me why xulrunner upstream has not been patched to reflect
these copies?
Some months ago I've tried to ask what's the direction/policy for these
includes but I didn't receive any reply:
http://groups.google.com/group/mozilla.dev.embedding/browse_thread/thread/d48f1e8aec5734d0

I'd prefer to see the changes done by xulrunner debian packages in its
upstream than to add an exception to my package to follow another
exception.


Thank you,

Luca

-- 
Beware of programmers who carry screwdrivers.
                        -- Leonard Brandwein

http://shammash.homelinux.org/ - http://www.artha.org/ - http://www.yue.it/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to