~ubuntu-branches/ubuntu/lucid/firefox/lucid-updates

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2012-03-10 19:28:01 UTC
  • mfrom: (1.1.41)
  • Revision ID: package-import@ubuntu.com-20120310192801-dwmyqrirq3i9qp9m
Tags: 11.0+build1-0ubuntu0.10.04.2
* New upstream stable release (FIREFOX_11_0_BUILD1)
  - see LP: #951250 for USN information

* Rebuilt against updated gcc to fix LP: #931637
* Ensure that the crash reporter is disabled if rebuilt by Ubuntu
  derivatives, as there will be no crash symbols for those
  - update debian/rules
* Only add "Ubuntu" to the UA string when being built for Ubuntu
  - update debian/rules
* Temporarily disable ipdl tests due to build failures. These aren't
  enabled upstream, anyway
  - update debian/config/mozconfig.in
* Always set the update channel - not setting it at build-time on release
  builds breaks the extensions.checkCompatibility pref. The only things
  using it at runtime are nsBlocklistService, Test Pilot (beta + aurora)
  and the about dialog (where the channel is hidden anyway)
  - update debian/rules
  - update debian/firefox.install.in
* Fix LP: #898883 - IPC xpcshell tests hang the buildd's. Give all
  xpcshell tests an X display, as plugin-container won't work without one
  - update debian/build/testsuite.mk
* Turn on all IPC xpcshell tests again
  - update debian/build/testsute.mk
* Drop the default-apps xml file - there is already one provided by
  gnome-control-center, so ours duplicates this. We never used to install
  it for Firefox 3.6
  - remove debian/firefox.xml.in
  - update debian/firefox-gnome-support.install.in
  - update debian/rules
* Ship Test Pilot as a distribution addon, like upstream. This means
  that the addon manager can update it. It does also mean that it will
  remain installed in users profiles if they try the beta or aurora
  builds, but the Feedback button is disabled on release builds
  - update debian/firefox.install.in
  - fixes LP: #913357
* Drop patches fixed upstream
  - remove debian/patches/fix-cursor-handling.patch
  - update debian/patches/series
* Call xvfb-run with "-a" in case there are other servers running on the
  builder
  - update debian/build/testsuite.mk
* Really fix LP: #898883 - IPC xpcshell tests hang the build. What was
  actually happening is plugin-container would fail to start because all
  available X connections had been used up by many instances of dbus-launch,
  spawned each time an xpcshell tried to talk to the session bus. Because
  we run all of the xpcshell tests with one Xvfb instance, the buses
  accumulate until the available X connections all run out. To fix this, run
  all tests requiring a display inside dbus-launch, so we create just a
  single bus for all xpcshell tests
  - update debian/build/testsuite.mk
  - update debian/control{,.in}
* Add Ligurian to locale blacklist, as we don't support this in Ubuntu
  - update debian/config/locales.blacklist
* Fix LP: #918763 - Revert the temporary investigation patch for
  bmo: #621446, as it breaks GCC4.4
  - add debian/patches/revert-bmo621446-investigation.patch
  - update debian/patches/series
* Refresh patches
  - update debian/patches/ubuntu-ua-string-changes.patch
  - update debian/patches/mozilla-kde.patch
  - update debian/patches/firefox-kde.patch
* Fix LP: #915895 - Just set autoDisableScopes to 0. Other distributions
  are already doing this, and we already made this feature pretty much
  useless by allowing extensions in the application directory, so that our
  language packs aren't disabled by default
  - update debian/vendor.js
* Drop the solid white separators from the addressbar autocomplete dropdown,
  and increase padding so that it doesn't look so bad with dark themes
  - add debian/patches/autocomplete-theme-tweak.patch
  - update debian/patches/series
* Fix LP: #926495 - Add patch based on one from bmo: #691898 to enable
  building on ppc again
  - add debian/patches/fix-build-failure-without-yarr-jit.patch
  - update debian/patches/series
* Fix LP: #926495 - Disable the SPS profiler on unsupported architectures
  - add debian/patches/no-sps-profiler-on-unsupported-archs.patch
  - update debian/patches/series
* Add a missing include in gfx/angle/src/compiler/Types.h (backported
  from Aurora)
  - add debian/patches/fix-missing-stl-include-in-angle.patch
  - update debian/patches/series

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
        MOZ_WANT_UNIT_TESTS = 0
150
150
endif
151
151
 
 
152
# Ensure the crash reporter gets disabled for derivatives
 
153
ifneq (Ubuntu, $(DISTRIB))
 
154
        MOZ_ENABLE_BREAKPAD = 0
 
155
endif
 
156
 
152
157
BRANDING        = $(CHANNEL)
153
158
ifneq (,$(filter release beta, $(BRANDING)))
154
159
        BRANDING = official
169
174
 
170
175
export LDFLAGS
171
176
export DEB_BUILD_HARDENING=1
 
177
ifeq (Ubuntu, $(DISTRIB))
172
178
export MOZ_UA_VENDOR=Ubuntu
 
179
endif
173
180
export MOZCONFIG=$(CURDIR)/debian/config/mozconfig
174
181
ifneq (1,$(MOZ_BUILD_UNOFFICIAL))
175
182
        export BUILD_OFFICIAL=1
184
191
                -DMOZ_INCDIR="$(MOZ_INCDIR)" -DMOZ_IDLDIR="$(MOZ_IDLDIR)" -DMOZ_VERSION="$(MOZ_VERSION)" -DDEB_HOST_ARCH="$(DEB_HOST_ARCH)" \
185
192
                -DMOZ_DISPLAY_NAME="$(MOZ_DISPLAY_NAME)" -DMOZ_OVERRIDE_SHLIBS="$(MOZ_OVERRIDE_SHLIBS)" \
186
193
                -DMOZ_BRANDING_OPTION="$(MOZ_BRANDING_OPTION)" -DTOPSRCDIR="$(CURDIR)" -DDEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
187
 
                -DMOZ_PREFIX="$(MOZ_PREFIX)" -DMOZ_SDKDIR="$(MOZ_SDKDIR)" -DMOZ_DISTDIR="$(MOZ_DISTDIR)" \
 
194
                -DMOZ_PREFIX="$(MOZ_PREFIX)" -DMOZ_SDKDIR="$(MOZ_SDKDIR)" -DMOZ_DISTDIR="$(MOZ_DISTDIR)" -DMOZ_UPDATE_CHANNEL="$(CHANNEL)" \
188
195
                -DMOZ_OBJDIR="$(MOZ_OBJDIR)" -DDEB_BUILDDIR="$(DEB_BUILDDIR)" -DMOZ_PYTHON="$(MOZ_PYTHON)" -DMOZ_PROFILE_PREFIX=".mozilla/"
189
196
 
190
197
SHLIB_OVERRIDE = $(if $(shell test "system" = "$(MOZ_OVERRIDE_SHLIBS)" && echo "1"), $(eval MOZ_USE_$(1) = system), \
215
222
ifeq (1,$(MOZ_BUILD_PGO))
216
223
        DEB_DEFINES += -DMOZ_BUILD_PGO
217
224
endif
218
 
ifneq (,$(filter aurora beta, $(CHANNEL)))
219
 
        DEB_DEFINES += -DMOZ_UPDATE_CHANNEL="$(CHANNEL)"
220
 
endif
221
225
ifeq (1,$(MOZ_DEBUG))
222
226
        DEB_DEFINES += -DMOZ_DEBUG
223
227
endif
224
 
ifneq (,$(findstring armel,$(DEB_HOST_ARCH)))
225
 
        DEB_DEFINES += -DDEB_ENABLE_THUMB2
226
 
endif
227
228
ifeq (official, $(BRANDING))
228
229
        DEB_DEFINES += -DMOZ_OFFICIAL_BRANDING
229
230
endif
252
253
        debian/apport/native-origins \
253
254
        debian/apport/source_$(MOZ_APP_NAME).py \
254
255
        debian/$(MOZ_APP_NAME).desktop \
255
 
        debian/$(MOZ_APP_NAME).xml \
256
256
        debian/$(MOZ_APP_NAME)-gnome-support.install \
257
257
        debian/$(MOZ_APP_NAME).dirs \
258
258
        debian/$(MOZ_APP_NAME).install \