USE_MOZILLA=yes for firefox and thunderbird

Jan Beich jbeich at tormail.org
Thu Jul 12 02:54:39 UTC 2012


"Mikhail T." <mi+thun at 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


More information about the freebsd-gecko mailing list