Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2012 21:51:14 -0500
From:      Jan Beich <jbeich@tormail.org>
To:        "Mikhail T." <mi+thun@aldan.algebra.com>
Cc:        freebsd-gecko@freebsd.org
Subject:   Re: USE_MOZILLA=yes for firefox and thunderbird
Message-ID:  <1Sp9VY-0009Vv-JW@internal.tormail.org>
References:  <4FFE0561.9050109@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Mikhail T." <mi+thun@aldan.algebra.com> writes:

> Hello!
>
> Attached is a fairly small patch, that changes the two ports to use
> ports of all of the components currently supported by bsd.gecko.mk.

I'm afraid this is already fixed in the experimental branch
for *all* gecko ports.

http://wiki.freebsd.org/Gecko

> Please, consider committing soon so the work on bringing-in other
> components (such as hunspell, sqlite3, or xulrunner) can begin. Thank
                                            ^^^^^^^^^
There are currently 4 copies of libxul (in CVS):

  - mail/thunderbird, www/firefox (gecko-13)
  - mail/thunderbird-esr, www/firefox-esr (gecko-10)
  - www/kompozer (gecko-1.8)
  - www/libxul (gecko-1.9)

Assuming the last two are gonna be deprecated installing two versions of
xulrunner currently causes a conflict with the following files:

  bin/xulrunner
  libdata/pkgconfig/libxul-embedding.pc
  libdata/pkgconfig/libxul.pc
  libdata/pkgconfig/mozilla-js.pc
  libdata/pkgconfig/mozilla-plugin.pc

Forcing xulrunner to install the files under different names is trivial,
fixing dependent ports is less so. It'd also benefit libxul19 -> libxul
migration. And running on different engine version is not guaranteed to
work, e.g.

  # application.ini for firefox-esr
  [Gecko]
  MinVersion=10.0.2
  MaxVersion=10.0.2

The rest is simplifying gecko-app ports (firefox/thunderbird/seamonkey)
by throwing away most patches, shrinking Makefile size and fixing issues like

  $ firefox
  Could not read application.ini
  Exit 1

which can be worked around with

  $ /usr/local/lib/libxul/xulrunner-stub -app /usr/local/lib/firefox/application.ini



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1Sp9VY-0009Vv-JW>