author | Norm Jacobs <Norm.Jacobs@Oracle.COM> |
Fri, 30 Sep 2016 18:15:48 -0500 | |
changeset 7015 | 47aaa6f8ec6e |
parent 6552 | 402379bc1b60 |
child 7018 | fdf447a07aff |
permissions | -rw-r--r-- |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
1 |
# |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
3 |
# |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
7 |
# |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
12 |
# |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
18 |
# |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
20 |
# |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
21 |
|
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
22 |
# |
5344
61c6ac904750
22590264 thunderbird build should specify bits and be more permissive
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5307
diff
changeset
|
23 |
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
24 |
# |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
25 |
|
5256
1c3e20e70cc3
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland (disable parfait)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
5255
diff
changeset
|
26 |
# parfait is a bit unhappy (22527218) |
1c3e20e70cc3
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland (disable parfait)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
5255
diff
changeset
|
27 |
export PARFAIT_BUILD=no |
1c3e20e70cc3
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland (disable parfait)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
5255
diff
changeset
|
28 |
|
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
29 |
BUILD_BITS = 32 |
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
30 |
COMPILER = gcc |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
31 |
|
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
32 |
include ../../../make-rules/shared-macros.mk |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
33 |
|
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_NAME= thunderbird |
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
35 |
COMPONENT_VERSION= 45.1.0 |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
36 |
COMPONENT_PROJECT_URL= http://www.mozilla.com/thunderbird |
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
37 |
COMPONENT_ARCHIVE = $(COMPONENT_SRC).source.tar.xz |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
38 |
COMPONENT_ARCHIVE_HASH= \ |
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
39 |
sha256:8ae9ebe536895d69d99f412f2b3aba645b7dd839e520959330da13892d672309 |
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
40 |
MOZILLA_FTP = http://ftp.mozilla.org/pub/$(COMPONENT_NAME)/releases/$(COMPONENT_VERSION) |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
41 |
COMPONENT_ARCHIVE_URL= $(MOZILLA_FTP)/source/$(COMPONENT_ARCHIVE) |
5307
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
42 |
COMPONENT_BUGDB= tbird/mailer |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
43 |
|
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
44 |
TPNO= 27834 |
5527
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
45 |
|
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
46 |
LIGHTNING_VERSION= lightning-4.7.1 |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
47 |
|
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
48 |
# There are a set of .xpi files (as given in the LANG_LIST definition below) |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
49 |
# that we need. These are available under: |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
50 |
# http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/31.6.0/linux-i686/xpi/ |
5527
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
51 |
# https://ftp.mozilla.org/pub/calendar/lightning/candidates/4.0.5-candidates/build1/linux-i686/ |
5258
b65b95ac3d37
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland (fix dependency/download)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5256
diff
changeset
|
52 |
# We could download and unpack them individually, but instead I've created |
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
53 |
# a compressed tarball of them, and made them available from the internal |
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
54 |
# Userland mirror. So these need to be re-created by hand each time we rev. |
5258
b65b95ac3d37
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland (fix dependency/download)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5256
diff
changeset
|
55 |
# Downloading them individually can be a problem because firefox/thunderbird |
b65b95ac3d37
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland (fix dependency/download)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5256
diff
changeset
|
56 |
# collide due to different files with identical .xpi names. |
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
57 |
COMPONENT_ARCHIVE_1 = $(COMPONENT_SRC)-xpi.tar.gz |
5258
b65b95ac3d37
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland (fix dependency/download)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5256
diff
changeset
|
58 |
COMPONENT_ARCHIVE_HASH_1 = \ |
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
59 |
sha256:04269456df31de93e5af4b3ee14faf108278e8a885330e3c5c3504ccfb3a6381 |
5258
b65b95ac3d37
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland (fix dependency/download)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5256
diff
changeset
|
60 |
COMPONENT_ARCHIVE_URL_1 = $(INTERNAL_ARCHIVE_MIRROR)/source-archives/$(COMPONENT_ARCHIVE_1) |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
61 |
|
5527
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
62 |
COMPONENT_ARCHIVE_2 = $(LIGHTNING_VERSION)-xpi.tar.gz |
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
63 |
COMPONENT_ARCHIVE_HASH_2 = \ |
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
64 |
sha256:5bab9f0f879bdae9a312c5612b089c932c0400db89346c9c38b5c41623410e75 |
5527
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
65 |
COMPONENT_ARCHIVE_URL_2 = $(INTERNAL_ARCHIVE_MIRROR)/source-archives/$(COMPONENT_ARCHIVE_2) |
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
66 |
|
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
67 |
LANG_LIST = ar bg ca cs da de el es-AR es-ES et eu fi \ |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
68 |
fr gl he hu id is it ja ko lt nb-NO nl nn-NO pa-IN pl \ |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
69 |
pt-BR pt-PT ro ru sk sl sq sv-SE tr uk zh-CN zh-TW |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
70 |
|
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
71 |
# Do not use Firefox patches until Firefox is updated to 45.1.1. |
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
72 |
|
5527
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
73 |
# Firefox and Thunderbird share the same firefox*.patch patches. Copy these |
5532
fac132cc7531
22757279 Update Thunderbird to version 38.5.0 (fix patches)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5527
diff
changeset
|
74 |
# patches from the Firefox patches directory and the Thunderbird patches to a |
fac132cc7531
22757279 Update Thunderbird to version 38.5.0 (fix patches)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5527
diff
changeset
|
75 |
# directory of all files (patches-all), except for Firefox patches 42 and 46, |
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
76 |
# which don't get applied in Thunderbird. (libxul and dtrace patches) |
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
77 |
#PATCH_DIR=patches-all |
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
78 |
#CLEAN_PATHS += $(PATCH_DIR) |
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
79 |
#COPY_COMMON_FILES_1:= $(shell mkdir -p $(PATCH_DIR)) |
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
80 |
#COPY_COMMON_FILES_2:= \ |
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
81 |
# $(shell /usr/bin/rsync -ac patches/* ../firefox/patches/* $(PATCH_DIR)) |
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
82 |
#COPY_COMMON_FILES_3:= \ |
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
83 |
# $(shell /usr/bin/rm -f $(PATCH_DIR)/firefox*42*.patch $(PATCH_DIR)/firefox*46*.patch) |
5532
fac132cc7531
22757279 Update Thunderbird to version 38.5.0 (fix patches)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5527
diff
changeset
|
84 |
|
5415
9f594fa41da4
22684325 do not publish thunderbird when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
5344
diff
changeset
|
85 |
# Depends on libsmbclient but samba is on the do-not-publish list, so this |
9f594fa41da4
22684325 do not publish thunderbird when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
5344
diff
changeset
|
86 |
# must be too. |
9f594fa41da4
22684325 do not publish thunderbird when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
5344
diff
changeset
|
87 |
ifeq ($(BUILD_TYPE), evaluation) |
9f594fa41da4
22684325 do not publish thunderbird when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
5344
diff
changeset
|
88 |
BUILD_32= |
9f594fa41da4
22684325 do not publish thunderbird when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
5344
diff
changeset
|
89 |
INSTALL_32= |
9f594fa41da4
22684325 do not publish thunderbird when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
5344
diff
changeset
|
90 |
PUBLISH_STAMP= |
9f594fa41da4
22684325 do not publish thunderbird when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
5344
diff
changeset
|
91 |
endif |
9f594fa41da4
22684325 do not publish thunderbird when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
5344
diff
changeset
|
92 |
|
6454
dfa9a292557b
23601539 Update Thunderbird to version 45.1.0 (fix evaluation build)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
6431
diff
changeset
|
93 |
include $(WS_MAKE_RULES)/common.mk |
dfa9a292557b
23601539 Update Thunderbird to version 45.1.0 (fix evaluation build)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
6431
diff
changeset
|
94 |
|
7015
47aaa6f8ec6e
24766288 thunderbird should build with latest GCC in CBE
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
6552
diff
changeset
|
95 |
# /usr/sbin for dtrace, SPRO for python modules, PERL as well. |
47aaa6f8ec6e
24766288 thunderbird should build with latest GCC in CBE
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
6552
diff
changeset
|
96 |
PATH = $(dirname $(CC)):/usr/gnu/bin:/usr/bin:/usr/sbin:$(dirname $(PERL)):$(SPRO_VROOT)/bin |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
97 |
|
5307
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
98 |
MOZCONFIG = $(BUILD_DIR_32)/mozconfig |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
99 |
|
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
100 |
COMPONENT_PRE_CONFIGURE_ACTION += \ |
5307
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
101 |
echo "mk_add_options BUILD_OFFICIAL=1" > $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
102 |
echo "mk_add_options MOZILLA_OFFICIAL=1" >> $(MOZCONFIG) ; \ |
5527
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
103 |
echo "ac_add_options --enable-application=mail" >> $(MOZCONFIG) ; \ |
5307
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
104 |
echo "ac_add_options --prefix=/usr" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
105 |
echo "ac_add_options --libdir=/usr/lib" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
106 |
echo "ac_add_options --mandir=/usr/share/man" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
107 |
echo "ac_add_options --disable-debug" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
108 |
echo "ac_add_options --enable-optimize" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
109 |
echo "ac_add_options --disable-tests" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
110 |
echo "ac_add_options --with-system-libevent" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
111 |
echo "ac_add_options --with-system-zlib" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
112 |
echo "ac_add_options --with-system-bz2" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
113 |
echo "ac_add_options --enable-system-ffi" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
114 |
echo "ac_add_options --enable-system-sqlite" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
115 |
echo "ac_add_options --enable-libxul" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
116 |
echo "ac_add_options --enable-jemalloc" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
117 |
echo "ac_add_options --enable-official-branding" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
118 |
echo "ac_add_options --disable-updater" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
119 |
echo "ac_add_options --enable-update-packaging" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
120 |
echo "ac_add_options --enable-ipc" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
121 |
echo "ac_add_options --enable-gstreamer" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
122 |
echo "ac_add_options --enable-system-pixman" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
123 |
echo "ac_add_options --without-intl-api" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
124 |
echo "ac_add_options --disable-crashreporter" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
125 |
echo "ac_add_options --enable-debug-symbols=no" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
126 |
echo "ac_add_options --enable-calendar" >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
127 |
echo 'ac_add_options --with-rpath="\\\\\\$$\\$$ORIGIN"' >> $(MOZCONFIG) ; \ |
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
128 |
echo "ac_add_options --enable-startup-notification" >> $(MOZCONFIG) ; |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
129 |
|
5344
61c6ac904750
22590264 thunderbird build should specify bits and be more permissive
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5307
diff
changeset
|
130 |
CXXFLAGS += -Wno-invalid-offsetof -fpermissive |
61c6ac904750
22590264 thunderbird build should specify bits and be more permissive
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5307
diff
changeset
|
131 |
CC += $(CC_BITS) |
61c6ac904750
22590264 thunderbird build should specify bits and be more permissive
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5307
diff
changeset
|
132 |
CXX += $(CC_BITS) |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
133 |
|
7015
47aaa6f8ec6e
24766288 thunderbird should build with latest GCC in CBE
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
6552
diff
changeset
|
134 |
# jemalloc (from libxul) interposes on malloc in glib causing startup problems, |
47aaa6f8ec6e
24766288 thunderbird should build with latest GCC in CBE
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
6552
diff
changeset
|
135 |
# so use the big hammer for now, pending the resolution of: |
47aaa6f8ec6e
24766288 thunderbird should build with latest GCC in CBE
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
6552
diff
changeset
|
136 |
# 24765609 thunderbird build dies with newer GCC |
47aaa6f8ec6e
24766288 thunderbird should build with latest GCC in CBE
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
6552
diff
changeset
|
137 |
LD_EXEC_OPTIONS += -z now |
47aaa6f8ec6e
24766288 thunderbird should build with latest GCC in CBE
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
6552
diff
changeset
|
138 |
|
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
139 |
CONFIGURE_ENV += PKG_CONFIG_PATH=$(CONFIGURE_LIBDIR.$(BITS))/pkgconfig |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
140 |
CONFIGURE_ENV += OS_DEFINES="-D__USE_LEGACY_PROTOTYPES__" |
5527
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
141 |
# -L.../dist/bin needs to be set otherwise it will report missing libnss3.so, |
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
142 |
# libssl3.so, etc, while linking. |
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
143 |
CONFIGURE_ENV += LDFLAGS="$(LD_Z_IGNORE) -z interpose -B nodirect -L$(BUILD_DIR_32)/dist/lib -L$(BUILD_DIR_32)/dist/bin" |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
144 |
|
5307
7e9a56e73fc8
22556270 thunderbird bugdb component is wrong in the Makefile
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5258
diff
changeset
|
145 |
CONFIGURE_ENV += MOZCONFIG=$(MOZCONFIG) |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
146 |
CONFIGURE_ENV += "CC=$(CC)" |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
147 |
CONFIGURE_ENV += "CXX=$(CXX)" |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
148 |
CONFIGURE_ENV += "CFLAGS=$(CFLAGS)" |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
149 |
CONFIGURE_ENV += "CXXFLAGS=$(CXXFLAGS)" |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
150 |
|
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
151 |
# If the configure options are not explicitly set, then configure fails with: |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
152 |
# configure: warning: CC=/usr/gcc/4.8/bin/gcc: invalid host type |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
153 |
# invalid host type |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
154 |
# configure: warning: CXX=/usr/gcc/4.8/bin/gcc: invalid host type |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
155 |
# invalid host type |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
156 |
# configure: error: can only configure for one host and one target at a time |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
157 |
CONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX) |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
158 |
CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR) |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
159 |
|
5527
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
160 |
COMPONENT_POST_CONFIGURE_ACTION += \ |
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
161 |
$(CP) $(MOZCONFIG) $(COMPONENT_SRC)/mozconfig |
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
162 |
|
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
163 |
COMPONENT_POST_BUILD_ACTION = \ |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
164 |
(cd $(@D)/mail/installer ; $(ENV) $(COMPONENT_BUILD_ENV) \ |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
165 |
$(GMAKE) $(COMPONENT_BUILD_ARGS) $(COMPONENT_BUILD_TARGETS)) |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
166 |
|
5527
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
167 |
# Path to lightning extension directory |
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
168 |
LIGHTNING_EXT_DIR = \ |
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
169 |
$(PROTOUSRLIBDIR)/thunderbird-$(COMPONENT_VERSION)/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103} |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
170 |
|
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
171 |
COMPONENT_POST_INSTALL_ACTION += \ |
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
172 |
$(CP) -r $(BUILD_DIR_32)/dist/bin/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/* \ |
5527
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
173 |
$(LIGHTNING_EXT_DIR) ; |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
174 |
|
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
175 |
COMPONENT_POST_INSTALL_ACTION += \ |
5258
b65b95ac3d37
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland (fix dependency/download)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5256
diff
changeset
|
176 |
$(RM) -rf xpi ; \ |
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
177 |
$(TAR) xvf $(COMPONENT_ARCHIVE_1) > /dev/null 2>&1 ; \ |
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
178 |
$(TAR) xvf $(COMPONENT_ARCHIVE_2) > /dev/null 2>&1 ; \ |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
179 |
list1='$(LANG_LIST)' ; for f in $$list1 ; do \ |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
180 |
$(CP) xpi/$$f.xpi \ |
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
181 |
$(PROTOUSRLIBDIR)/thunderbird-$(COMPONENT_VERSION)/distribution/extensions/[email protected] ; \ |
5527
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
182 |
unzip xpi-lightning/$(LIGHTNING_VERSION).$$f.linux-i686.xpi \ |
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
183 |
chrome/calendar-$$f/\* chrome/lightning-$$f/\* -d \ |
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
184 |
$(LIGHTNING_EXT_DIR)/ ; \ |
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
185 |
echo 'locale calendar '$$f' chrome/calendar-'$$f'/locale/'$$f'/calendar/' >> $(LIGHTNING_EXT_DIR)/chrome.manifest ; \ |
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
186 |
echo 'locale lightning '$$f' chrome/lightning-'$$f'/locale/'$$f'/lightning/' >> $(LIGHTNING_EXT_DIR)/chrome.manifest ; \ |
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
187 |
done ; |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
188 |
|
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
189 |
LIB_LIST.i386 = |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
190 |
LIB_LIST.sparc = $(PROTOUSRLIBDIR)/thunderbird-devel-$(COMPONENT_VERSION)/sdk/lib/cpu/sparcv8plus/libnspr_flt4.so |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
191 |
LIB_LIST = $(LIB_LIST.$(MACH)) |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
192 |
|
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
193 |
COMPONENT_POST_INSTALL_ACTION += \ |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
194 |
slist='$(LIB_LIST)' ; for f in $$slist ; do \ |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
195 |
$(MKDIR) $(PROTOUSRLIBDIR)/thunderbird-$(COMPONENT_VERSION)/cpu/sparcv8plus ; \ |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
196 |
$(CP) $$f $(PROTOUSRLIBDIR)/thunderbird-$(COMPONENT_VERSION)/cpu/sparcv8plus/libnspr_flt4.so ; \ |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
197 |
done ; |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
198 |
|
5527
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
199 |
COMPONENT_TEST_DIR = $(@D)/js/src |
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
200 |
COMPONENT_TEST_TARGETS=check-jit-test |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
201 |
COMPONENT_TEST_TRANSFORMS += \ |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
202 |
'-e "/\(^TEST-PASS\).*/d" ' |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
203 |
|
6431
e4667e7df088
23601539 Update Thunderbird to version 45.1.0
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5786
diff
changeset
|
204 |
# Do not use firefox patches until firefox is update to 45.1.1. |
5532
fac132cc7531
22757279 Update Thunderbird to version 38.5.0 (fix patches)
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5527
diff
changeset
|
205 |
$(SOURCE_DIR)/.patched-firefox-%: GPATCH_FLAGS += -d $(@D)/mozilla |
5527
611b2d6efdfe
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5415
diff
changeset
|
206 |
|
5255
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
207 |
REQUIRED_PACKAGES += compress/bzip2 |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
208 |
REQUIRED_PACKAGES += database/sqlite-3 |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
209 |
REQUIRED_PACKAGES += library/desktop/atk |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
210 |
REQUIRED_PACKAGES += library/desktop/cairo |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
211 |
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
212 |
REQUIRED_PACKAGES += library/desktop/gtk2 |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
213 |
REQUIRED_PACKAGES += library/desktop/pango |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
214 |
REQUIRED_PACKAGES += library/glib2 |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
215 |
REQUIRED_PACKAGES += library/gnome/gnome-libs |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
216 |
REQUIRED_PACKAGES += library/graphics/pixman |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
217 |
REQUIRED_PACKAGES += library/libevent |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
218 |
REQUIRED_PACKAGES += library/libffi |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
219 |
REQUIRED_PACKAGES += library/samba/libsmbclient |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
220 |
REQUIRED_PACKAGES += library/zlib |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
221 |
REQUIRED_PACKAGES += system/library |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
222 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
223 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
224 |
REQUIRED_PACKAGES += system/library/fontconfig |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
225 |
REQUIRED_PACKAGES += system/library/freetype-2 |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
226 |
REQUIRED_PACKAGES += system/library/libdbus |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
227 |
REQUIRED_PACKAGES += system/library/libdbus-glib |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
228 |
REQUIRED_PACKAGES += system/library/math |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
229 |
REQUIRED_PACKAGES += x11/library/libx11 |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
230 |
REQUIRED_PACKAGES += x11/library/libxext |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
231 |
REQUIRED_PACKAGES += x11/library/libxrender |
cea0e462549a
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
232 |
REQUIRED_PACKAGES += x11/library/toolkit/libxt |