2
by Alexander Sack
initial firefox-trunk debian/ package |
1 |
#!/usr/bin/make -f
|
2 |
||
848.1.281
by Chris Coulson
* New upstream release from the beta channel (FIREFOX_15_0b1_BUILD1) |
3 |
MOZ_PKG_BASENAME := firefox |
1007
by Chris Coulson
* New upstream release from the beta channel (FIREFOX_23_0b1_BUILD1) |
4 |
|
5 |
include $(CURDIR)/debian/build/config.mk |
|
6 |
||
848.1.281
by Chris Coulson
* New upstream release from the beta channel (FIREFOX_15_0b1_BUILD1) |
7 |
MOZ_APP := browser |
8 |
MOZ_VENDOR := Mozilla |
|
848.1.4
by Chris Coulson
* Drop DEBIAN_XUL_VER now that Firefox/Gecko versions are the same |
9 |
MOZ_MOZDIR := |
691
by Chris Coulson
* New upstream release v4.0 B7 (FIREFOX_4_0b7_RELEASE) |
10 |
|
965.1.47
by Chris Coulson
* New upstream release from the beta channel (FIREFOX_21_0b1_BUILD1) |
11 |
MOZ_APP_SUBDIR := browser |
12 |
||
848.1.281
by Chris Coulson
* New upstream release from the beta channel (FIREFOX_15_0b1_BUILD1) |
13 |
MOZ_BRANDING := $(CHANNEL) |
14 |
ifneq (,$(filter release beta, $(MOZ_BRANDING))) |
|
15 |
MOZ_BRANDING := official |
|
848.1.1
by Chris Coulson
* New upstream release from the beta channel (FIREFOX_5_0b2_BUILD1) |
16 |
endif
|
1007
by Chris Coulson
* New upstream release from the beta channel (FIREFOX_23_0b1_BUILD1) |
17 |
ifeq (1,$(MOZ_FORCE_UNOFFICIAL_BRANDING)) |
848.1.281
by Chris Coulson
* New upstream release from the beta channel (FIREFOX_15_0b1_BUILD1) |
18 |
ifneq (,$(filter official aurora, $(MOZ_BRANDING))) |
19 |
MOZ_BRANDING := unofficial |
|
20 |
endif
|
|
21 |
endif
|
|
22 |
MOZ_BRANDING_DIR := $(MOZ_APP)/branding/$(MOZ_BRANDING) |
|
1086.1.78
by Chris Coulson
* Fix an issue where we weren't building release builds with |
23 |
ifeq (official,$(MOZ_BRANDING)) |
848.1.281
by Chris Coulson
* New upstream release from the beta channel (FIREFOX_15_0b1_BUILD1) |
24 |
MOZ_BRANDING_OPTION := --enable-official-branding |
25 |
else
|
|
26 |
MOZ_BRANDING_OPTION := --with-branding=$(MOZ_BRANDING_DIR) |
|
27 |
endif
|
|
28 |
||
29 |
MOZ_PKGNAME_SUBST_FILES = \ |
|
30 |
debian/usr.bin.$(MOZ_PKG_NAME) \ |
|
465
by Jamie Strandboge
[ Jamie Strandboge <jamie@ubuntu.com> ] |
31 |
debian/README.Debian \ |
848.1.281
by Chris Coulson
* New upstream release from the beta channel (FIREFOX_15_0b1_BUILD1) |
32 |
debian/$(MOZ_PKG_BASENAME).sh \ |
848.1.66
by Chris Coulson
* Rewrite the apport hook to be more useful |
33 |
debian/apport/blacklist \ |
34 |
debian/apport/native-origins \ |
|
848.1.281
by Chris Coulson
* New upstream release from the beta channel (FIREFOX_15_0b1_BUILD1) |
35 |
debian/apport/source_$(MOZ_PKG_NAME).py \ |
36 |
$(NULL) |
|
37 |
||
38 |
MOZ_APPNAME_SUBST_FILES = \ |
|
848.1.5
by Chris Coulson
Some cleaning up of variables passed to the preprocessor |
39 |
debian/$(MOZ_APP_NAME).1 \ |
848.1.43
by Chris Coulson
* Don't unconditionally set -fshort-wchar in the libxul.pc pkgconfig file. |
40 |
$(NULL) |
41 |
||
1086.1.67
by Chris Coulson
* Enable Telemetry |
42 |
ifeq (1,${MOZ_OFFICIAL_BUILD}) |
43 |
export MOZILLA_OFFICIAL=1 |
|
44 |
endif
|
|
45 |
ifeq (1,${MOZ_ENABLE_TELEMETRY}) |
|
46 |
export MOZ_TELEMETRY_REPORTING=1 |
|
47 |
export MOZ_SOURCE_REPO=${MOZILLA_REPO} |
|
48 |
export MOZ_SOURCE_CHANGESET=$(shell cat $(DEB_SRCDIR)/SOURCE_CHANGESET) |
|
49 |
endif
|
|
50 |
||
1007
by Chris Coulson
* New upstream release from the beta channel (FIREFOX_23_0b1_BUILD1) |
51 |
include $(CURDIR)/debian/build/rules.mk |
691
by Chris Coulson
* New upstream release v4.0 B7 (FIREFOX_4_0b7_RELEASE) |
52 |
|
53 |
debian/usr.bin.firefox.in: |
|
1077.1.1
by Chris Coulson
* Refresh patches |
54 |
if [ '$(DISTRIB_VERSION_MAJOR)$(DISTRIB_VERSION_MINOR)' -ge '1410' ]; then \ |
55 |
cp $(CURDIR)/debian/usr.bin.firefox.apparmor.14.10 $(CURDIR)/debian/usr.bin.firefox.in ; \ |
|
56 |
elif [ '$(DISTRIB_VERSION_MAJOR)$(DISTRIB_VERSION_MINOR)' -ge '1310' ]; then \ |
|
1017.1.14
by Chris Coulson
* add debian/usr.bin.firefox.apparmor.13.10 for dbus policy |
57 |
cp $(CURDIR)/debian/usr.bin.firefox.apparmor.13.10 $(CURDIR)/debian/usr.bin.firefox.in ; \ |
58 |
fi
|
|
544
by Jamie Strandboge
[ Jamie Strandboge <jamie@ubuntu.com > ] |
59 |
|
965.1.60
by Chris Coulson
* Fix failure to populate Replaces on 12.10 and later (LP: #1165408) |
60 |
WRITE_SUBSTVARS = $(shell echo "$(2)=$(3)" | sed 's/[ \t\n]\+/ /g' >> debian/$(1).substvars) |
965.1.1
by Chris Coulson
* New upstream release from the beta channel |
61 |
|
62 |
ifeq (firefox, $(MOZ_PKG_NAME)) |
|
63 |
install/firefox:: |
|
64 |
$(call WRITE_SUBSTVARS,firefox,transitional:Replaces,kubuntu-firefox-installer) |
|
65 |
endif
|
|
66 |
||
1086.1.50
by Chris Coulson
* Drop backout-bmo1162569.patch and update how we install our distribution |
67 |
binary-post-install/$(MOZ_PKG_NAME):: install-distribution-searchplugins-$(MOZ_PKG_NAME) |
1077.1.10
by Chris Coulson
Fix the webapprt locale extension symlinks |
68 |
|
1086.1.81
by Chris Coulson
* Refresh patches |
69 |
$(patsubst %,binary-post-install/%,$(MOZ_LOCALE_PKGS)):: binary-post-install/%: install-distribution-searchplugins-% |
1017.1.1
by Chris Coulson
* New upstream release from the beta channel (FIREFOX_24_0b1_BUILD2) |
70 |
|
1086.1.50
by Chris Coulson
* Drop backout-bmo1162569.patch and update how we install our distribution |
71 |
$(patsubst %,install-distribution-searchplugins-%,$(MOZ_LOCALE_PKGS) $(MOZ_PKG_NAME)) :: install-distribution-searchplugins-% : |
72 |
@echo "" |
|
73 |
@echo "Installing distribution searchplugins for $*" |
|
74 |
$(patsubst %,install-distribution-searchplugins-%,$(MOZ_LOCALE_PKGS) $(MOZ_PKG_NAME)) :: install-distribution-searchplugins-% : install-distribution-searchplugins-IMPL-% |
|
75 |
$(patsubst %,install-distribution-searchplugins-%,$(MOZ_LOCALE_PKGS) $(MOZ_PKG_NAME)) :: install-distribution-searchplugins-% : |
|
76 |
@echo "" |
|
77 |
||
78 |
install-distribution-searchplugins-IMPL-%: |
|
79 |
$(foreach lang,$(call locales_for_langpack,$*), \ |
|
1086.1.200
by Rico Tzschichholz
* New upstream release from the beta channel (FIREFOX_68_0b5_BUILD1) |
80 |
python debian/install-distribution-searchplugins.py -c debian/config/searchplugins.conf -l $(lang) -u browser/components/search/extensions -d debian/$*/$(MOZ_LIBDIR)/distribution/searchplugins/locale/$(lang) -s debian/searchplugins;) |
1086.1.50
by Chris Coulson
* Drop backout-bmo1162569.patch and update how we install our distribution |
81 |
|
848.1.281
by Chris Coulson
* New upstream release from the beta channel (FIREFOX_15_0b1_BUILD1) |
82 |
clean:: |
1086.1.218
by Rico Tzschichholz
* New upstream release from the beta channel (FIREFOX_70_0b5_BUILD1) |
83 |
rm -f debian/usr.bin.firefox.in config.log |