~mozillateam/firefox/firefox-beta.quantal

« back to all changes in this revision

Viewing changes to debian/mozconfig.in

  • Committer: Chris Coulson
  • Date: 2011-09-24 18:13:00 UTC
  • Revision ID: chris.coulson@canonical.com-20110924181300-3r9id02mgap6gop9
* Provide a useful error message when trying to build the source package
  with an out of date control file
  - update debian/rules
* Provide a way to prevent the source package from being built if the list
  of shipped locales changed upstream. Note that this is disabled on
  nightly and aurora
  - update debian/rules
  - add debian/extract-file.py
* Move custom scripts to debian/build
  - move debian/get-xpi-id.py to debian/build/get-xpi-id.py
  - move debian/refresh-supported-locales.pl to
     debian/build/refresh-supported-locales.pl
  - move debian/extract-file.py to debian/build/extract-file.py
  - update debian/rules
* Dropped patches fixed upstream:
  - remove debian/patches/build-fix-for-no-ENABLE_YARR_JIT.patch
  - remove debian/patches/compile-pldhash-as-C++.patch
  - update debian/patches/series
* Refresh patches:
  - update debian/patches/firefox-kde.patch
  - update debian/patches/mozilla-kde.patch
  - update debian/patches/ubuntu-codes-google.patch
* Update support for doing PGO builds:
  - Add "mk_add_options MOZ_PGO=1" to mozconfig when doing a PGO build,
    rather than changing the make target to "profiledbuild"
    - update debian/mozconfig.in
    - update debian/rules
  - Run the profiling 10 times
    - update debian/mozconfig.in
  - Don't turn off the crash reporter or force unofficial branding for PGO
    builds
    - update debian/rules
  - Don't force the compiler to gcc-4.5 when doing PGO builds. Instead,
    we will just rely on the default compiler and not enable PGO on
    Ubuntu versions which don't have a new enough toolchain
    - update debian/rules
* Shrink the default mozconfig right down, by using defaults rather than
  forcing things like --disable-system-cairo and friends. We still retain
  the ability to override the defaults though by setting MOZ_OVERRIDE_SHLIBS
  to either "tree" or "system", but we use upstream defaults now. We also
  drop the pkg-config checks in debian/rules which allowed a fallback build
  configuration when dependencies aren't satisfied. Really, the build should
  just fail here rather than continuing in some undesirable fallback mode
  - update debian/firefox-dev.install.in
  - update debian/firefox-dev.links.in 
  - update debian/mozconfig.in
  - update debian/pkgconfig/libxul.pc.in
  - update debian/control.in
  - update debian/rules
* Refresh build-depends, as this hasn't been done for a while:
  - Drop patchutils, libxft-dev, libxinerama-dev, libgnome2-dev and bzip2.
    These don't appear to be needed
  - Drop liborbit2-dev - only appears to be required if there is no libidl
  - Add libglib2.0-dev, libext-dev, libfontconfig1-dev and libpango1.0-dev,
    as the configure script checks for these directly
  - Add minimum versions to libgconf2-dev, libgnomevfs2-dev, yasm and
    libgnomeui-dev
  - Specify minimum versions for libnspr4-dev, libcairo2-dev, libsqlite3-dev
    and libnss3-dev when using system versions of those libs
* Disable gconf support on >= 11.10
  - update debian/rules
  - update debian/mozconfig.in
* Refresh binary dependencies:
  - Change ubufox recommends to xul-ext-ubufox
  - Drop psmisc and fontconfig depends. We don't appear to use any binaries
    from either of these packages
  - Drop debianutils dependency. This is an essential package
* Disable printing of a lot of makefile commands to reduce noise. Also
  add some headers in various places
  - update debian/rules
* Introduce a branch-specific config file (debian/config/branch.mk) which
  will hold settings that are tied to a specific branch, and which shouldn't
  be merged between branches when merging new Firefox versions (eg, whether
  the crash reporter should be enabled on a branch). The idea is to confine
  these types of settings to a single file
  - add debian/config/branch.mk
  - update debian/rules
* Move debian/locales.* to debian/config
  - move debian/locales.shipped => debian/config/locales.shipped
  - move debian/locales.unavail => debian/config/locales.unavail
  - move debian/locales.blacklist => debian/config/locales.blacklist
  - update debian/rules
  - update debian/build/refresh-supported-locales.pl
* Move debian/testsuite.mk to debian/build
* Don't open about:blank from the New Window quicklist entry
  - update debian/firefox.desktop.in
* We need to keep the complete list of language packs (shipped and
  transitional) in sync between branches. However, this was proving to be
  difficult because the list was split across 2 files (locales.shipped
  and locales.unavailable). Rework this so that we have a locales.all
  (containing the list of current and past language packs), and a
  locales.shipped. The locales.all can be easily kept in sync between
  branches now, so we end up with the correct transitional language packs
  on branches which have some languages disabled. This also makes it
  more complicated to add the language packs to debian/control though, so
  we offload this to a new perl script now rather than trying to do it all
  in bash
  - add debian/build/dump-langpack-control-entries.pl
  - update debian/build/refresh-supported-locales.pl
  - add debian/config/locales.all
  - update debian/config/locales.shipped
  - remove debian/config/locales.unavailable
  - update debian/control
  - update debian/rules
* Touch debian/control.in during clean to force a refresh of debian/control,
  so we can check if it is out-of-date and fail if it is
  - update debian/rules
* Ensure that we get the correct package relationships depending on the
  target distro version
  - update debian/control.in
  - update debian/rules
  - refresh debian/control
* Drop the mozilla-devscripts dependency. We were only using this for creating
  tarballs anyway. Instead, implement our own get-orig-source target, which
  also fixes some problems we were having
  - update debian/control.in
  - remove debian/moz-rev.sh
  - update debian/rules
  - remove debian/mozclient/firefox.mk
  - remove debian/mozclient/firefox.conf
  - update debian/config/branch.mk
  - add debian/build/create-source
  - add debian/build/get-orig-source.mk
* Drop the 'nobinonly' suffix from the version number. All this really does
  is make the version number longer without adding any useful information,
  because:
  - We don't strip all binary files as there are a lot remaining which are
    used by the test-suite (eg, images, fonts, videos, sqlite dbs, extensions)
  - Stripping binary files from the source tarball isn't the only change we
    make to it. We also merge in the upstream l10n data, but we don't
    indicate that in the version number
* Keep a copy of shipped-locales outside of the embedded tar.bz2. This
  makes it faster to verify the list of shipped locales when creating
  source packages
  - update debian/build/create-tarball.py
  - update debian/build/extract-file.py
  - update debian/rules
* When calling refresh-supported-locales, automatically refresh
  debian/control too
  - update debian/rules
* Fix LP: #758111 - update ubuntulinux.org bookmark - thanks to Jonathan
  Rothwell for the patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%%ifdef DEB_BUILD_GNU_TYPE
2
 
ac_add_options --build=@DEB_BUILD_GNU_TYPE@
3
 
%%endif
4
 
ac_add_options --host=@DEB_HOST_GNU_TYPE@
5
 
ac_add_options --prefix=@MOZ_PREFIX@
6
 
ac_add_options --localstatedir=/var
7
 
ac_add_options --libexecdir=@MOZ_LIBDIR@
8
 
ac_add_options --with-l10n-base=@TOPSRCDIR@/@DEB_BUILDDIR@/l10n
9
 
ac_add_options --disable-maintainer-mode
10
 
ac_add_options --disable-dependency-tracking
11
 
ac_add_options --disable-silent-rules
12
 
ac_add_options --srcdir=@TOPSRCDIR@/@DEB_BUILDDIR@
13
 
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/@MOZ_OBJDIR@
14
 
ac_add_options --disable-elf-dynstr-gc
15
 
ac_add_options --disable-install-strip
16
 
ac_add_options --disable-strip
17
 
ac_add_options --disable-updater
18
 
ac_add_options --enable-application=browser
19
 
ac_add_options --enable-default-toolkit=cairo-gtk2
20
 
ac_add_options --enable-startup-notification
21
 
ac_add_options --enable-pango
22
 
ac_add_options --enable-svg
23
 
ac_add_options --enable-mathml
24
 
ac_add_options --enable-safe-browsing
25
 
ac_add_options --with-distribution-id=com.ubuntu
26
 
%%ifdef DEB_ENABLE_THUMB2
27
 
ac_add_options --enable-thumb2
28
 
%%endif
29
 
%%ifndef MOZ_MIN_SYSDEPS
30
 
ac_add_options --with-system-jpeg=/usr
31
 
ac_add_options --with-system-png=/usr
32
 
ac_add_options --with-system-zlib=/usr
33
 
%%else
34
 
ac_add_options --without-system-jpeg
35
 
ac_add_options --without-system-png
36
 
ac_add_options --without-system-zlib
37
 
%%endif
38
 
%%ifdef MOZ_NO_OPTIMIZE
39
 
ac_add_options --disable-optimize
40
 
%%else
41
 
%%ifndef MOZ_VALGRIND
42
 
ac_add_options --enable-optimize
43
 
%%else
44
 
ac_add_options --enable-optimize="-g -O -freorder-blocks"
45
 
%%endif
46
 
%%endif
47
 
%%ifdef MOZ_VALGRIND
48
 
ac_add_options --disable-jemalloc
49
 
ac_add_options --enable-valgrind
50
 
mk_add_options MOZ_MAKE_FLAGS=-j4
51
 
%%endif
52
 
%%ifdef MOZ_WANT_UNIT_TESTS
53
 
ac_add_options --enable-tests
54
 
ac_add_options --enable-mochitest
55
 
ac_add_options --enable-ipdl-tests
56
 
%%else
57
 
ac_add_options --disable-tests
58
 
ac_add_options --disable-mochitest
59
 
ac_add_options --disable-ipdl-tests
60
 
%%endif
61
 
%%ifdef MOZ_USE_SYSTEM_CAIRO
62
 
ac_add_options --enable-system-cairo
63
 
%%else
64
 
ac_add_options --disable-system-cairo
65
 
%%endif
66
 
%%ifdef MOZ_USE_SYSTEM_NSPR
67
 
ac_add_options --with-system-nspr
68
 
%%else
69
 
ac_add_options --without-system-nspr
70
 
%%endif
71
 
%%ifdef MOZ_USE_SYSTEM_NSS
72
 
ac_add_options --with-system-nss
73
 
%%else
74
 
ac_add_options --without-system-nss
75
 
%%endif
76
 
%%ifdef MOZ_USE_SYSTEM_SQLITE
77
 
ac_add_options --enable-system-sqlite
78
 
%%else
79
 
ac_add_options --disable-system-sqlite
80
 
%%endif
81
 
%%ifdef MOZ_USE_SYSTEM_HUNSPELL
82
 
ac_add_options --enable-system-hunspell
83
 
%%else
84
 
ac_add_options --disable-system-hunspell
85
 
%%endif
86
 
%%ifdef MOZ_ENABLE_BREAKPAD
87
 
ac_add_options --enable-crashreporter
88
 
%%else
89
 
ac_add_options --disable-crashreporter
90
 
%%endif
91
 
ac_add_options @MOZ_BRANDING_OPTION@
92
 
%%ifdef MOZ_BUILD_PGO
93
 
mk_add_options PROFILE_GEN_SCRIPT='xvfb-run -a @MOZ_PYTHON@ @TOPSRCDIR@/@MOZ_OBJDIR@/_profile/pgo/profileserver.py'
94
 
%%endif
95
 
%%ifdef MOZ_DISABLE_GNOMEVFS
96
 
ac_add_options --disable-gnomevfs
97
 
ac_add_options --enable-gio
98
 
%%else
99
 
ac_add_options --enable-gnomevfs
100
 
ac_add_options --disable-gio
101
 
%%endif
102
 
%%ifdef MOZ_UPDATE_CHANNEL
103
 
ac_add_options --enable-update-channel=@MOZ_UPDATE_CHANNEL@
104
 
%%endif
105
 
%%ifdef MOZ_DEBUG
106
 
ac_add_options --enable-debug
107
 
%%else
108
 
ac_add_options --disable-debug
109
 
%%endif
110
 
ac_add_options --disable-elf-hack
111
 
%%ifdef MOZ_ENABLE_GLOBALMENU
112
 
ac_add_options --enable-extensions=default,globalmenu
113
 
%%endif
114
 
%%ifdef MOZ_APP_RENAME
115
 
ac_add_options --with-app-name=@MOZ_APP_NAME@
116
 
%%endif