diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:46:13 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:46:13 +0200 |
commit | 8d89651ef729e560ad96dcfc002fcde6ff7f923b (patch) | |
tree | eb5be01c25f735d12fe9881ee6327c9b7e8bbe39 /meta-linaro-integration/recipes-overlayed/firefox/firefox_10.0.11esr.bb | |
download | meta-linaro-dizzy-enea.tar.gz |
initial commit for Enea Linux 5.0 armdizzy-enea
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-linaro-integration/recipes-overlayed/firefox/firefox_10.0.11esr.bb')
-rw-r--r-- | meta-linaro-integration/recipes-overlayed/firefox/firefox_10.0.11esr.bb | 153 |
1 files changed, 153 insertions, 0 deletions
diff --git a/meta-linaro-integration/recipes-overlayed/firefox/firefox_10.0.11esr.bb b/meta-linaro-integration/recipes-overlayed/firefox/firefox_10.0.11esr.bb new file mode 100644 index 0000000..98da1a4 --- /dev/null +++ b/meta-linaro-integration/recipes-overlayed/firefox/firefox_10.0.11esr.bb | |||
@@ -0,0 +1,153 @@ | |||
1 | # Copyright (C) 2009-2013, O.S. Systems Software Ltda. All Rights Reserved | ||
2 | # Released under the MIT license (see packages/COPYING) | ||
3 | |||
4 | DESCRIPTION ?= "Browser made by mozilla" | ||
5 | DEPENDS += "alsa-lib curl startup-notification libevent cairo libnotify libvpx virtual/libgl nss nspr" | ||
6 | |||
7 | LICENSE = "MPLv1 | GPLv2+ | LGPLv2.1+" | ||
8 | LIC_FILES_CHKSUM = "file://toolkit/content/license.html;endline=39;md5=9cb02f27e77e702043b827c9418bfbf8" | ||
9 | |||
10 | SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/source/firefox-${PV}.source.tar.bz2;name=archive \ | ||
11 | file://mozilla-${PN}.png \ | ||
12 | file://mozilla-${PN}.desktop \ | ||
13 | file://fixes/Allow-.js-preference-files-to-set-locked-prefs-with-.patch \ | ||
14 | file://fixes/Avoid-spurious-Run-items-in-application-handlers-con.patch \ | ||
15 | file://fixes/Properly-launch-applications-set-in-HOME-.mailcap.patch \ | ||
16 | file://fixes/Fix-some-tests-using-CurProcD-where-GreD-should-be-u.patch \ | ||
17 | file://fixes/Bug-691898-Use-YARR-interpreter-instead-of-PCRE-on-p.patch \ | ||
18 | file://fixes/Bug-722127-Bump-required-libvpx-version-to-1.0.0.-r-.patch \ | ||
19 | file://fixes/Bug-728229-Allow-to-build-with-system-python-ply-lib.patch \ | ||
20 | file://fixes/Bug-720682-Don-t-crash-an-app-using-libxul-because-o.patch \ | ||
21 | file://fixes/Bug-696636-Block-OpenGL-1-drivers-explicitly-to-stee.patch \ | ||
22 | file://fixes/Load-dependent-libraries-with-their-real-path-to-avo.patch \ | ||
23 | file://fixes/Bug-515232-Try-getting-general.useragent.locale-as-a.patch \ | ||
24 | file://fixes/Bug-729817-Block-the-Nouveau-3D-driver-as-it-s-insta.patch \ | ||
25 | file://fixes/Bug-729817-Allow-the-Nouveau-driver-with-Mesa-8.0.1-.patch \ | ||
26 | file://fixes/Bug-747322-Fix-jemalloc-mmap-wrapper-for-s390x.patch \ | ||
27 | file://fixes/Bug-725655-gcc-4.7-build-failures-missing-headers-.-.patch \ | ||
28 | file://fixes/Bug-734490-fix-build-failures-with-Clang-and-GCC-4.7.patch \ | ||
29 | file://fixes/Bug-706724-Fix-for-error-ftruncate-was-not-declared-.patch \ | ||
30 | file://fixes/Bug-709259-Try-creating-a-named-cursor-before-a-bitm.patch \ | ||
31 | file://fixes/Bug-761082-Only-export-TabMessageUtils.h-in-mozilla-.patch \ | ||
32 | file://fixes/bug-693343-a11y-disabled-in-Gnome-3-when-GNOME_ACCES.patch \ | ||
33 | file://fixes/Allow-webGL-with-mesa-assuming-users-will-have-updat.patch \ | ||
34 | file://iceweasel-branding/Use-MOZ_APP_DISPLAYNAME-to-fill-appstrings.propertie.patch \ | ||
35 | file://iceweasel-branding/Determine-which-phishing-shavar-to-use-depending-on-.patch \ | ||
36 | file://porting/Add-xptcall-support-for-SH4-processors.patch \ | ||
37 | file://porting/Allow-ipc-code-to-build-on-GNU-kfreebsd.patch \ | ||
38 | file://porting/Allow-ipc-code-to-build-on-GNU-Hurd.patch \ | ||
39 | file://porting/Bug-698923-Don-t-require-16-bytes-alignment-for-VMFr.patch \ | ||
40 | file://porting/Fix-GNU-non-Linux-failure-to-build-because-of-ipc-ch.patch \ | ||
41 | file://porting/Bug-703531-Fix-ARMAssembler-getOp2RegScale-on-ARMv5.patch \ | ||
42 | file://porting/Bug-703534-Fix-build-failure-on-platforms-without-YA.patch \ | ||
43 | file://porting/Bug-703842-Avoid-R_SPARC_WDISP22-relocation-in-Tramp.patch \ | ||
44 | file://porting/Bug-703833-Avoid-invalid-conversion-from-const-size_.patch \ | ||
45 | file://porting/Bug-711353-Add-support-for-GNU-kFreeBSD-and-GNU-Hurd.patch \ | ||
46 | file://porting/Bug-747870-Properly-align-XPCLazyCallContext-mData.-.patch \ | ||
47 | file://porting/Bug-706787-Crash-on-s390x-nsXPCComponents-AttachNewC.patch \ | ||
48 | file://prefs/Remove-general.useragent.locale-prefs-from-firefox-..patch \ | ||
49 | file://prefs/Enable-intl.locale.matchOS-and-report-the-locale-cor.patch \ | ||
50 | file://prefs/Set-javascript.options.showInConsole.patch \ | ||
51 | file://prefs/Set-DPI-to-system-settings.patch \ | ||
52 | file://prefs/Don-t-auto-disable-extensions-in-system-directories.patch \ | ||
53 | file://debian-hacks/Check-less-things-during-configure-when-using-libxul.patch \ | ||
54 | file://debian-hacks/Avoid-wrong-sessionstore-data-to-keep-windows-out-of.patch \ | ||
55 | file://debian-hacks/Avoid-libxpcom-being-excluded-from-linked-libraries-.patch \ | ||
56 | file://debian-hacks/Don-t-build-example-component.patch \ | ||
57 | file://debian-hacks/Don-t-install-system-profile.patch \ | ||
58 | file://debian-hacks/Ignore-system-libjpeg-libpng-and-zlib-version-checki.patch \ | ||
59 | file://debian-hacks/Add-soname-to-appropriate-libraries.patch \ | ||
60 | file://debian-hacks/Add-another-preferences-directory-for-applications-p.patch \ | ||
61 | file://debian-hacks/Gross-workaround-to-avoid-installing-test-idl-and-in.patch \ | ||
62 | file://debian-hacks/Don-t-register-plugins-if-the-MOZILLA_DISABLE_PLUGIN.patch \ | ||
63 | file://debian-hacks/Install-missing-nanojit-and-.tbl-headers-from-js-src.patch \ | ||
64 | file://debian-hacks/Use-a-variable-for-xulrunner-base-version-in-various.patch \ | ||
65 | file://debian-hacks/Install-js-shell-when-running-make-install-from-js-s.patch \ | ||
66 | file://debian-hacks/Don-t-error-out-when-run-time-libsqlite-is-older-tha.patch \ | ||
67 | file://debian-hacks/Do-build-time-detection-of-2-bytes-wchar_t-and-char1.patch \ | ||
68 | file://debian-hacks/pkg-config-files-don-t-need-to-require-the-version-o.patch \ | ||
69 | file://debian-hacks/Add-a-2-minutes-timeout-on-xpcshell-tests.patch \ | ||
70 | file://debian-hacks/Fix-tracejit-to-build-against-nanojit-headers-in-dis.patch \ | ||
71 | file://debian-hacks/Load-distribution-search-plugins-from-etc-appname-se.patch \ | ||
72 | file://debian-hacks/Handle-transition-to-etc-appname-searchplugins-more-.patch \ | ||
73 | file://debian-hacks/Bug-508942-Use-Preprocessor.py-filters-in-defines-an.patch \ | ||
74 | file://configure.patch \ | ||
75 | file://powerpc_va_list.patch \ | ||
76 | file://vendor.js" | ||
77 | |||
78 | SRC_URI[archive.md5sum] = "2f0e3a1dd7480e03f374c0121b4155e2" | ||
79 | SRC_URI[archive.sha256sum] = "94b4d5a339d97dc56fd349f93407c3af4f408a4a8409a64e3680d564d37594f8" | ||
80 | |||
81 | S = "${WORKDIR}/mozilla-esr10" | ||
82 | |||
83 | inherit mozilla | ||
84 | |||
85 | EXTRA_OEMAKE = "installdir=${libdir}/${PN}" | ||
86 | |||
87 | ARM_INSTRUCTION_SET = "arm" | ||
88 | TARGET_CC_ARCH += " -I${STAGING_INCDIR}/freetype2" | ||
89 | |||
90 | do_install() { | ||
91 | oe_runmake DESTDIR="${D}" destdir="${D}" install | ||
92 | install -d ${D}${datadir}/applications | ||
93 | install -d ${D}${datadir}/pixmaps | ||
94 | install -m 0644 ${WORKDIR}/mozilla-${PN}.desktop ${D}${datadir}/applications/ | ||
95 | install -m 0644 ${WORKDIR}/mozilla-${PN}.png ${D}${datadir}/pixmaps/ | ||
96 | install -m 0644 ${WORKDIR}/vendor.js ${D}${libdir}/${PN}/defaults/pref/ | ||
97 | rm -f ${D}${libdir}/${PN}/TestGtkEmbed | ||
98 | rm -f ${D}${libdir}/${PN}/defaults/pref/firefox-l10n.js | ||
99 | |||
100 | # use locale settings | ||
101 | grep -Rl intl.locale.matchOS ${D}${libdir}/${PN}/ \ | ||
102 | | grep '.js$' \ | ||
103 | | xargs sed -i 's/\(pref("intl.locale.matchOS",\s*\)false)/\1true)/g' | ||
104 | |||
105 | # disable application updating | ||
106 | grep -Rl app.update.enabled ${D}${libdir}/${PN}/ \ | ||
107 | | grep '.js$' \ | ||
108 | | xargs sed -i 's/\(pref("app.update.enabled",\s*\)true)/\1false)/g' | ||
109 | } | ||
110 | |||
111 | PACKAGES += "${PN}-inspector" | ||
112 | |||
113 | FILES_${PN}-inspector = "${libdir}/${PN}/chrome/inspector* \ | ||
114 | ${libdir}/${PN}/components/*nspector* \ | ||
115 | ${libdir}/${PN}/extensions/inspector* \ | ||
116 | ${libdir}/${PN}/defaults/preferences/inspector*" | ||
117 | FILES_${PN} = "${bindir}/${PN} \ | ||
118 | ${datadir}/applications/ \ | ||
119 | ${datadir}/pixmaps/ \ | ||
120 | ${libdir}/${PN}/* \ | ||
121 | ${libdir}/${PN}/.autoreg \ | ||
122 | ${bindir}/defaults" | ||
123 | FILES_${PN}-dev += "${datadir}/idl ${bindir}/${PN}-config ${libdir}/${PN}-devel-*" | ||
124 | FILES_${PN}-staticdev += "${libdir}/${PN}-devel-*/sdk/lib/*.a" | ||
125 | FILES_${PN}-dbg += "${libdir}/${PN}/.debug \ | ||
126 | ${libdir}/${PN}/*/.debug \ | ||
127 | ${libdir}/${PN}/*/*/.debug \ | ||
128 | ${libdir}/${PN}/*/*/*/.debug \ | ||
129 | ${libdir}/${PN}-devel-*/*/.debug \ | ||
130 | ${libdir}/${PN}-devel-*/*/*/.debug \ | ||
131 | ${libdir}/${PN}-devel-*/*/*/*/.debug \ | ||
132 | ${bindir}/.debug" | ||
133 | |||
134 | # We don't build XUL as system shared lib, so we can mark all libs as private | ||
135 | PRIVATE_LIBS = "libmozjs.so \ | ||
136 | libxpcom.so \ | ||
137 | libnspr4.so \ | ||
138 | libxul.so \ | ||
139 | libmozalloc.so \ | ||
140 | libplc4.so \ | ||
141 | libplds4.so" | ||
142 | |||
143 | # mark libraries also provided by nss as private too | ||
144 | PRIVATE_LIBS += " \ | ||
145 | libfreebl3.so \ | ||
146 | libnss3.so \ | ||
147 | libnssckbi.so \ | ||
148 | libsmime3.so \ | ||
149 | libnssutil3.so \ | ||
150 | libnssdbm3.so \ | ||
151 | libssl3.so \ | ||
152 | libsoftokn3.so \ | ||
153 | " | ||