30 include ../../../make-rules/shared-macros.mk |
30 include ../../../make-rules/shared-macros.mk |
31 |
31 |
32 GCC_ROOT = /usr/gcc/4.8 |
32 GCC_ROOT = /usr/gcc/4.8 |
33 |
33 |
34 COMPONENT_NAME = firefox |
34 COMPONENT_NAME = firefox |
35 COMPONENT_VERSION = 45.5.1esr |
35 COMPONENT_VERSION = 45.6.0esr |
36 COMPONENT_PROJECT_URL = http://www.mozilla.com/firefox |
36 COMPONENT_PROJECT_URL = http://www.mozilla.com/firefox |
37 COMPONENT_SRC_NAME = $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
37 COMPONENT_SRC_NAME = $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
38 COMPONENT_SRC = $(COMPONENT_SRC_NAME) |
38 COMPONENT_SRC = $(COMPONENT_SRC_NAME) |
39 COMPONENT_ARCHIVE = $(COMPONENT_SRC_NAME).source.tar.xz |
39 COMPONENT_ARCHIVE = $(COMPONENT_SRC_NAME).source.tar.xz |
40 COMPONENT_ARCHIVE_HASH = \ |
40 COMPONENT_ARCHIVE_HASH = \ |
41 sha256:2796c22ab04fdd8529192118ce6cd9dee7ae88de0ed9317b4192da6eefac9db8 |
41 sha256:c1e7ddf6efb0f54c8071131b6395f4942a422c2ab70f2e9a81b588373d6fbf5b |
42 MOZILLA_FTP = http://ftp.mozilla.org/pub/mozilla.org/$(COMPONENT_NAME)/releases/$(COMPONENT_VERSION) |
42 MOZILLA_FTP = http://ftp.mozilla.org/pub/mozilla.org/$(COMPONENT_NAME)/releases/$(COMPONENT_VERSION) |
43 COMPONENT_ARCHIVE_URL = $(MOZILLA_FTP)/source/$(COMPONENT_ARCHIVE) |
43 COMPONENT_ARCHIVE_URL = $(MOZILLA_FTP)/source/$(COMPONENT_ARCHIVE) |
44 COMPONENT_BUGDB = firefox/browser |
44 COMPONENT_BUGDB = firefox/browser |
45 |
45 |
46 TPNO= 32893 |
46 TPNO= 33006 |
47 |
47 |
48 IPS_COMPONENT_VERSION = 45.5.1 |
48 IPS_COMPONENT_VERSION = 45.6.0 |
49 |
49 |
50 # There are a set of .xpi files (as given in the LANG_LIST definition below) |
50 # There are a set of .xpi files (as given in the LANG_LIST definition below) |
51 # that we need. These are available under: |
51 # that we need. These are available under: |
52 # http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/31.8.0esr/linux-i686/xpi/ |
52 # http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/31.8.0esr/linux-i686/xpi/ |
53 # We could download and unpack them individually, but instead I've created |
53 # We could download and unpack them individually, but instead I've created |
54 # a compressed tarball of them, and made that available locally for download. |
54 # a compressed tarball of them, and made that available locally for download. |
55 # Downloading them individually can be a problem because firefox/thunderbird |
55 # Downloading them individually can be a problem because firefox/thunderbird |
56 # collide due to different files with identical .xpi names. |
56 # collide due to different files with identical .xpi names. |
57 COMPONENT_ARCHIVE_1 = $(COMPONENT_SRC_NAME)-xpi.tar.gz |
57 COMPONENT_ARCHIVE_1 = $(COMPONENT_SRC_NAME)-xpi.tar.gz |
58 COMPONENT_ARCHIVE_HASH_1 = \ |
58 COMPONENT_ARCHIVE_HASH_1 = \ |
59 sha256:6031264927ddaeeedd3fcff2137963c17701e9dd70fbf99c42c6a9be4bcea050 |
59 sha256:77b413a060f20fa9d1b35364d0918c21370ffcf593049b27bbb6533b32816d96 |
60 COMPONENT_ARCHIVE_URL_1 = $(INTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE_1) |
60 COMPONENT_ARCHIVE_URL_1 = $(INTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE_1) |
61 |
61 |
62 LANG_LIST = ar be bg ca cs da de el es-AR es-CL es-ES et fi \ |
62 LANG_LIST = ar be bg ca cs da de el es-AR es-CL es-ES et fi \ |
63 fr he hi-IN hr hu id is it ja kk ko lt lv mk nb-NO nl nn-NO \ |
63 fr he hi-IN hr hu id is it ja kk ko lt lv mk nb-NO nl nn-NO \ |
64 pl pt-BR pt-PT ro ru sk sl sq sr sv-SE th tr uk vi zh-CN zh-TW |
64 pl pt-BR pt-PT ro ru sk sl sq sr sv-SE th tr uk vi zh-CN zh-TW |
109 CXX += $(CC_BITS) |
109 CXX += $(CC_BITS) |
110 |
110 |
111 # Avoids bus error from xpcshell (libxul) as used later in build (S11 only). |
111 # Avoids bus error from xpcshell (libxul) as used later in build (S11 only). |
112 LD_MAP_NOEXDATA.sparc= |
112 LD_MAP_NOEXDATA.sparc= |
113 |
113 |
114 CONFIGURE_ENV += YASM=$(COMPONENT_DIR)/../../yasm/build/$(MACH32)/yasm |
|
115 CONFIGURE_ENV += PKG_CONFIG_PATH=$(CONFIGURE_LIBDIR.$(BITS))/pkgconfig |
114 CONFIGURE_ENV += PKG_CONFIG_PATH=$(CONFIGURE_LIBDIR.$(BITS))/pkgconfig |
116 CONFIGURE_ENV += OS_DEFINES="-D__USE_LEGACY_PROTOTYPES__" |
115 CONFIGURE_ENV += OS_DEFINES="-D__USE_LEGACY_PROTOTYPES__" |
117 # -L.../dist/lib needs to be set otherwise it will report missing libnss3.so, |
116 # -L.../dist/lib needs to be set otherwise it will report missing libnss3.so, |
118 # libssl3.so, etc, while linking. |
117 # libssl3.so, etc, while linking. |
119 CONFIGURE_ENV += LDFLAGS="-z ignore -z interpose -B nodirect -L$(BUILD_DIR_32)/dist/lib -L$(BUILD_DIR_32)/dist/bin" |
118 CONFIGURE_ENV += LDFLAGS="-z ignore -z interpose -B nodirect -L$(BUILD_DIR_32)/dist/lib -L$(BUILD_DIR_32)/dist/bin" |
193 (cd $(BUILD_DIR_32)/$(COMPONENT_TEST_DIR); $(GMAKE) $(COMPONENT_TEST_TARGETS)) |
192 (cd $(BUILD_DIR_32)/$(COMPONENT_TEST_DIR); $(GMAKE) $(COMPONENT_TEST_TARGETS)) |
194 |
193 |
195 REQUIRED_PACKAGES += codec/libogg |
194 REQUIRED_PACKAGES += codec/libogg |
196 REQUIRED_PACKAGES += codec/libvorbis |
195 REQUIRED_PACKAGES += codec/libvorbis |
197 REQUIRED_PACKAGES += codec/ogg-vorbis |
196 REQUIRED_PACKAGES += codec/ogg-vorbis |
|
197 ifneq ($(MACH), sparc) |
|
198 REQUIRED_PACKAGES += developer/yasm |
|
199 endif |
198 REQUIRED_PACKAGES += library/desktop/atk |
200 REQUIRED_PACKAGES += library/desktop/atk |
199 REQUIRED_PACKAGES += library/desktop/cairo |
201 REQUIRED_PACKAGES += library/desktop/cairo |
200 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
202 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
201 REQUIRED_PACKAGES += library/desktop/gtk2 |
203 REQUIRED_PACKAGES += library/desktop/gtk2 |
202 REQUIRED_PACKAGES += library/desktop/pango |
204 REQUIRED_PACKAGES += library/desktop/pango |