~ubuntu-branches/ubuntu/trusty/fennec/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2011-01-26 20:31:40 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110126203140-zcg54f8ost2vmrxr
Tags: 4.0~b3-0ubuntu1
* New upstream release v4.0 B3 (FENNEC_4_0b3_RELEASE)

* Update build-depends for xulrunner-2.0
  - update debian/control
* Update mozclient to point to the mobile-browser repo
  - update debian/mozclient/fennec.conf
* Build with "--with-system-libxul"
  - update debian/rules
* Add launcher script, based on the one used in Firefox but with the
  unnecessary bits stripped out
  - add debian/fennec.sh
  - update debian/rules
* Refresh patches for new version
  - update debian/patches/bump_gecko_versions_in_application.ini.patch
  - update debian/patches/ubuntu_codes_google.patch
  - update debian/patches/installer.patch
* Drop unneeded patches
  - remove debian/patches/nspr_flags_by_pkg_config_hack.patch
  - remove debian/patches/xul191_l10n.patch
  - update debian/patches/series

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
DEBIAN_NAME             := fennec
10
10
DEBIAN_APP_NAME         := fennec
11
 
DEBIAN_XUL_VER          := $(shell MALLOC_OPTIONS=O xulrunner-1.9.2 --gre-version)
 
11
DEBIAN_XUL_VER          := $(shell MALLOC_OPTIONS=O xulrunner-2.0 --gre-version)
12
12
DEBIAN_XUL_DEV          := /usr/lib/xulrunner-devel-$(DEBIAN_XUL_VER)
13
13
 
 
14
FENNEC_VER              := $(shell cat mobile/confvars.sh | grep MOZ_APP_VERSION | sed -e 's/MOZ_APP_VERSION=//')
14
15
MOZCLIENT_PROJECTNAME   := $(DEBIAN_NAME)
15
16
MOZCLIENT_PROJECTDIR    := $(CURDIR)/debian/mozclient
16
17
 
23
24
 
24
25
DEB_CONFIGURE_USER_FLAGS= \
25
26
        --with-libxul-sdk=$(DEBIAN_XUL_DEV) \
 
27
        --with-system-libxul \
26
28
        --enable-application=mobile \
27
29
        --disable-debug \
28
30
        --disable-crashreporter \
34
36
binary-install/$(DEBIAN_NAME)::
35
37
        mkdir -p debian/$(DEBIAN_NAME)/usr/share/pixmaps
36
38
        cp -af dist/branding/fennec_scalable.png debian/$(DEBIAN_NAME)/usr/share/pixmaps/$(DEBIAN_NAME).png
 
39
        cp -af debian/fennec.sh debian/$(DEBIAN_NAME)/usr/lib/$(DEBIAN_NAME)-$(FENNEC_VER)/
 
40
        chmod +x debian/$(DEBIAN_NAME)/usr/lib/$(DEBIAN_NAME)-$(FENNEC_VER)/fennec.sh
 
41
        mkdir -p debian/$(DEBIAN_NAME)/usr/bin
 
42
        dh_link -p$(DEBIAN_NAME) usr/lib/$(DEBIAN_NAME)-$(FENNEC_VER)/fennec.sh usr/bin/fennec