~ubuntu-branches/ubuntu/utopic/chromium-browser/utopic

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Fabien Tassin
  • Date: 2011-05-26 17:16:41 UTC
  • mfrom: (1.5.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20110526171641-8ael8z8qityfbxdr
Tags: 12.0.742.91~r87961-0ubuntu1
* New upstream release from the Stable Channel (LP: #794197)
  It includes:
  - Hardware accelerated 3D CSS
  - New Safe Browsing protection against downloading malicious files
  - Ability to delete Flash cookies from inside Chrome
  - Launch Apps by name from the Omnibox
  - Integrated Sync into new settings pages
  - Improved screen reader support
  - New warning when hitting Command-Q on Mac
  - Removal of Google Gears
  This release fixes the following security issues:
  + WebKit issues:
    - [73962] [79746] High CVE-2011-1808: Use-after-free due to integer
      issues in float handling. Credit to miaubiz.
    - [75496] Medium CVE-2011-1809: Use-after-free in accessibility support.
      Credit to Google Chrome Security Team (SkyLined).
    - [75643] Low CVE-2011-1810: Visit history information leak in CSS.
      Credit to Jesse Mohrland of Microsoft and Microsoft Vulnerability
      Research (MSVR).
    - [80358] Medium CVE-2011-1816: Use-after-free in developer tools. Credit
      to kuzzcc.
    - [81949] High CVE-2011-1818: Use-after-free in image loader. Credit to
      miaubiz.
    - [83743] High CVE-2011-2342: Same origin bypass in DOM. Credit to Sergey
      Glazunov.
  + Chromium issues:
    - [76034] Low CVE-2011-1811: Browser crash with lots of form submissions.
      Credit to “DimitrisV22”.
    - [77026] Medium CVE-2011-1812: Extensions permission bypass. Credit to
      kuzzcc.
    - [78516] High CVE-2011-1813: Stale pointer in extension framework.
      Credit to Google Chrome Security Team (Inferno).
    - [79862] Low CVE-2011-1815: Extension script injection into new tab
      page. Credit to kuzzcc.
    - [81916] Medium CVE-2011-1817: Browser memory corruption in history
      deletion. Credit to Collin Payne.
    - [83010] Medium CVE-2011-1819: Extension injection into chrome:// pages.
      Credit to Vladislavas Jarmalis, plus subsequent independent discovery
      by Sergey Glazunov.
    - [83275] High CVE-2011-2332: Same origin bypass in v8. Credit to Sergey
      Glazunov.
Packaging changes:
* Provide a batch of translations for the Unity quicklists, and update
  the regular desktop translations
  - update debian/chromium-browser.desktop
* Add a keep-alive script preventing the builders from killing the build
  when it's not echoing anything for too long (useful when linking
  the main binary with ld-bfd)
  - add debian/keep-alive.sh
  - update debian/rules
* Drop the gtk resize patch, now that upstream does it for us
  - remove debian/patches/disable_gtk_resize_grip_on_natty.patch
  - update debian/patches/series
* Drop the xdg-utils patch and use the system xdg tools when we
  detect that xdg-setting is present on the system (ensuring it's a recent
  enough xdg-utils)
  - update debian/chromium-browser.sh.in
  - remove debian/patches/xdg-utils_gnome3_lp670128_for_natty.patch
  - update debian/patches/series
* Drop the stored passwords patch
  - remove debian/patches/stored_passwords_lp743494.patch
  - update debian/patches/series
* Drop the dedicated webapp WMClass patch
  - remove debian/patches/webapps-wm-class-lp692462.patch
  - update debian/patches/series
* When building with a non-default g++, also link with the same version
  - update debian/rules
* Empty the -inspector package now that it has been merged into the main
  resources.pak file (so that the Inspector remains usable after an upgrade
  until the next browser restart). Also remove the resources directory,
  now empty
  - remove debian/chromium-browser-inspector.install
  - update debian/chromium-browser.dirs
  - update debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
LIB_DIR        := usr/lib/$(DEBIAN_NAME)
16
16
DEB_BUILDDIR   := $(SRC_DIR)
17
17
CDBS_NO_DOC_SYMLINKING := 1 # See LP #194574
 
18
KEEPALIVE      := $(CURDIR)/debian/keep-alive.sh
18
19
 
19
20
WANT_LZMA_SRC    ?= 1
20
21
WANT_LZMA_DEBS   ?= 1
124
125
GYP_DEFINES += library=shared_library
125
126
endif
126
127
 
 
128
# Use upstream build flags (defined in build/common.gypi)
 
129
BUILD_ARGS += CFLAGS="" CXXFLAGS="" CPPFLAGS="" LDFLAGS=""
 
130
 
127
131
CC_VERSION   := $(shell gcc -dumpversion | cut -d. -f-2)
128
132
 
129
133
# Set this to use gcc 4.5 instead of 4.6
132
136
ifeq (1/4.6,$(AVOID_GCC_46)/$(CC_VERSION))
133
137
CC  := gcc-4.5
134
138
CXX := g++-4.5
135
 
BUILD_ARGS += CC=$(CC) CXX=$(CXX) CC.host=$(CC) CXX.host=$(CXX)
 
139
BUILD_ARGS += CC=$(CC) CXX=$(CXX) CC.host=$(CC) CXX.host=$(CXX) LINK.host=$(CXX)
136
140
GYP_DEFINES += werror=$(NULL)
137
141
endif
138
142
 
291
295
                build-tree/src/chrome/common/chrome_paths.cc
292
296
        touch $@
293
297
 
 
298
DEB_MAKE_EXTRA_ARGS   := $(NULL)
294
299
DEB_MAKE_BUILD_TARGET := $(BUILD_ARGS) $(BUILD_TARGETS)
295
300
 
296
301
configure/$(DEBIAN_NAME):: debian/configure-stamp
306
311
        # files at this point
307
312
        echo "$(DEBIAN_REVISION)" > $(SRC_DIR)/build/LASTCHANGE.in
308
313
        # BUILD_ARGS=$(BUILD_ARGS)
 
314
        # Start the keep-alive script
 
315
        @chmod 755 $(KEEPALIVE)
 
316
        $(KEEPALIVE) start &
309
317
 
310
318
common-build-arch:: debian/stamp-build-ffmpeg-std debian/stamp-build-ffmpeg-extra
311
319
 
328
336
debian/stamp-makefile-build-perf: debian/stamp-makefile-build
329
337
        @T2=`date +%s`; T1=`date -r debian/configure-stamp +%s`; echo "PERF: '$(BUILD_TARGETS)' built in "`expr $$T2 - $$T1`" sec"
330
338
        touch $@
 
339
        $(KEEPALIVE) stop
331
340
 
332
341
clean::
333
342
        rm -f debian/*-stamp debian/stamp-* debian/tmp-*
387
396
        # to drop the -l10n files from debian/tmp to make 'compare' happy
388
397
        cd $(CURDIR)/debian/tmp/$(LIB_DIR)/locales && \
389
398
          rm $(filter-out en-US.pak,$(notdir $(wildcard $(CURDIR)/debian/tmp/$(LIB_DIR)/locales/*)))
390
 
        # same for inspector
391
 
        rm -rf $(CURDIR)/debian/tmp/$(LIB_DIR)/resources/inspector/*
392
399
endif
393
400
 
394
401
binary-install/$(DEBIAN_NAME)-l10n::
452
459
        chrome/app/chromium_strings.grd \
453
460
        chrome/app/generated_resources.grd \
454
461
        chrome/app/policy/policy_templates.grd \
455
 
        app/resources/app_strings.grd \
 
462
        ui/base/strings/app_strings.grd \
456
463
        webkit/glue/inspector_strings.grd \
457
464
        webkit/glue/webkit_strings.grd \
458
465
        $(NULL)
459
466
OTHER_GRIT_TEMPLATES := \
460
 
        app/resources/app_locale_settings.grd \
 
467
        ui/base/strings/app_locale_settings.grd \
461
468
        chrome/app/resources/locale_settings.grd \
462
469
        chrome/app/resources/locale_settings_linux.grd \
463
470
        $(NULL)