OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../firefox/firefox.conf
  5. # Copyright (C) 2006 - 2010 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. # Copyright (C) 1998 - 2004 Clifford Wolf
  8. #
  9. # More information can be found in the files COPYING and README.
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; version 2 of the License. A copy of the
  14. # GNU General Public License can be found in the file COPYING.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. if [ $prefix_auto = 1 ] ; then
  17. prefix=$mozilla_prefix
  18. set_confopt
  19. fi
  20. firefox_config() {
  21. cat <<-EOT >> .mozconfig
  22. . \$topsrcdir/browser/config/mozconfig
  23. export MOZ_PHOENIX=1
  24. mk_add_options MOZ_PHOENIX=1
  25. ac_add_options --disable-mailnews
  26. ac_add_options --disable-composer
  27. ac_add_options --enable-extensions=default
  28. ac_add_options --enable-mathml
  29. ac_add_options --enable-crypto
  30. ac_add_options --enable-module=psm
  31. ac_add_options --without-system-png
  32. ac_add_options --enable-default-toolkit=cairo-gtk2
  33. ac_add_options --disable-profilesharing
  34. EOT
  35. # checking for LDAP support
  36. if pkginstalled openldap ; then
  37. echo "ac_add_options --enable-ldap" >> .mozconfig
  38. else
  39. echo "ac_add_options --disable-ldap" >> .mozconfig
  40. fi
  41. if pkginstalled libsvg-cairo ; then
  42. cat <<-EOT >> .mozconfig
  43. ac_add_options --enable-svg
  44. ac_add_options --enable-svg-renderer=cairo
  45. EOT
  46. fi
  47. # wireless support
  48. if ! pkginstalled -f wireless-tools; then
  49. cat <<-EOT >> .mozconfig
  50. ac_add_options --disable-necko-wifi
  51. EOT
  52. fi
  53. }
  54. hook_add preconf 4 "firefox_config"
  55. # Merged from T2
  56. var_append GCC_WRAPPER_INSERT ' ' "-c?:-L`pkgprefix libdir libx11` -lX11 -lXrender"