Compare commits

...
Sign in to create a new pull request.

313 commits

Author SHA1 Message Date
Martin Stransky
799473cddd This package is no longer supported by upstream 2017-06-15 14:29:34 +02:00
Jan Horak
721e87200e Fixed typo in release 2017-06-14 14:03:16 +02:00
Jan Horak
be3317bc53 Update to Firefox 45.9.0 esr source tarball 2017-06-14 12:51:30 +02:00
Jan Horak
90cdbfa41d Fixed xulrunner build problems with stl headers 2017-06-01 15:20:24 +02:00
Fedora Release Engineering
656d9078e2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 18:11:41 +00:00
Martin Stransky
3608d371a5 Added mozbz#1329272 build fix 2017-01-20 12:47:14 +01:00
Martin Stransky
dedebcc1f7 Relaxed requested nss version 2017-01-20 12:32:06 +01:00
Martin Stransky
36e54a1e24 Disabled system icu 2017-01-20 12:04:35 +01:00
Martin Stransky
ec4a6e9310 Added missing patch 2017-01-20 11:30:49 +01:00
Martin Stransky
1299889d39 Added fix for new nss 3.28.1 (mozbz#1290037) 2017-01-20 11:17:55 +01:00
Martin Stransky
f0c6414b60 update build req 2016-12-15 11:40:33 +01:00
Martin Stransky
5aa49f3472 Rebuilt 2016-12-15 11:03:39 +01:00
Tom Callaway
f4ed118ce9 rebuild for libvpx 1.6.0 2016-07-22 11:19:15 -04:00
Peter Robinson
60bbba63be Added fix for rhbz#1315225 - ppc64le/aarch64 build fixes 2016-04-27 22:40:56 +01:00
Marcin Juszkiewicz
078871b9d0 Fix WebRTC on AArch64 again. 2016-03-02 11:34:01 +01:00
Martin Stransky
9926729efe gcc6 woraround 2016-02-22 11:06:17 +01:00
Martin Stransky
355332afb1 Rebuild 2016-02-17 12:32:15 +01:00
Martin Stransky
998d1df3b6 gcc 6 build fix 2016-02-15 11:26:55 +01:00
Fedora Release Engineering
caeb8b7b70 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:52:57 +00:00
Dan Horák
05a100edbf refresh s390 patch 2016-02-01 12:45:25 +01:00
Martin Stransky
8f10697eaf build fix 2016-01-27 09:28:38 +01:00
Martin Stransky
97e3e8e361 Fixed file list 2016-01-26 15:32:31 +01:00
Martin Stransky
fcb40580a9 Update to 44.0 2016-01-26 13:37:16 +01:00
Tom Callaway
197a6537ee rebuild for libvpx 1.5.0 2015-12-01 16:51:17 -05:00
Martin Stransky
fd7866ba13 build fix 2015-12-01 13:56:55 +01:00
Martin Stransky
5ae495fd5c Build fix 2015-12-01 13:07:59 +01:00
Martin Stransky
104f4ba570 Update to 42.0 2015-12-01 12:26:02 +01:00
Martin Stransky
af1aad65f1 Disablet Skia to build on second arches 2015-09-02 22:01:45 +02:00
Petr Jašíček
dfdecde2b9 Update to 40.0 2015-08-25 11:09:44 +02:00
Petr Jašíček
f5c38e0137 Removed unneeded patch files 2015-07-22 14:09:49 +02:00
Petr Jašíček
588fddfcfc Fixed xulrunner build on fedora 23, #1243104 2015-07-21 12:46:14 +02:00
Martin Stransky
a0580a0bd8 Update to 39.0 2015-07-10 14:33:49 +02:00
Dan Horák
efb9904808 workaround build issues on s390
If MOZ_DEBUG_FLAGS is empty, firefox's build will default it to "-g" which
overrides the -g1 from line above and breaks building on s390
(OOM when linking, rhbz#1238225)

Workaround mis-optimization in javascipt engine on s390 (rhbz#1219542)
2015-07-08 13:10:41 -04:00
Dennis Gilmore
db9aa28762 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 04:30:41 +00:00
Martin Stransky
a361a147c0 Updated file lists 2015-05-07 13:55:27 +02:00
Martin Stransky
f6cc1db865 patch for nss-3.18.0 2015-05-07 13:23:15 +02:00
Martin Stransky
0d6f3cd8d7 Update to 38.0 Build 2 2015-05-07 13:09:09 +02:00
Jan Horak
ea81758d7c Added skia patch for big endian platforms, changelog entry and release bump 2015-04-27 15:47:31 +02:00
Jan Horak
c535c4cbfa Added skia patch for big endian platforms 2015-04-27 15:43:34 +02:00
Jan Horak
30c26d6d0b Add gmp-fake also to arm 2015-04-16 17:36:41 +02:00
Jan Horak
8017ba78f5 Enable skia by default 2015-04-16 15:21:39 +02:00
Jan Horak
5aaaab18aa Added skia patch for arm 2015-04-16 14:27:09 +02:00
Jan Horak
3949c148c5 Update to 37.0.2 2015-04-16 13:52:45 +02:00
Martin Stransky
c28fb475f7 Added gmp-clearkey to provided files 2015-04-15 20:59:44 +02:00
Martin Stransky
27bff7ab6a removed /mozilla-xremote-client 2015-04-15 15:24:57 +02:00
Martin Stransky
a0e96f51f1 removed unused patch 2015-04-15 14:37:53 +02:00
Martin Stransky
cf90f2c273 Update to new version - 37.0.1 2015-04-15 14:07:31 +02:00
Martin Stransky
afc4529c23 Update to 37.0.1 2015-04-15 13:30:31 +02:00
Tom Callaway
f0c48f3d46 stop using old compat defines 2015-04-07 15:17:40 -04:00
Tom Callaway
ae52963c01 rebuild for libvpx 1.4.0 2015-04-06 16:33:52 -04:00
Dan Horák
8635c3cfa2 - Fix filelist for secondary arches 2014-10-22 17:13:39 +02:00
Martin Stransky
1dcae4348c build fix 2014-10-18 11:38:24 +02:00
Martin Stransky
1a7516497d ship install_app.py script 2014-10-17 14:48:54 +02:00
Martin Stransky
358d1af0a7 build fix - PRBool 2014-10-16 16:02:22 +02:00
Martin Stransky
9074bae1b7 Changelog fix 2014-10-16 15:49:42 +02:00
Martin Stransky
b3f5bd9183 Updated to 33.0 2014-10-16 15:45:47 +02:00
Peter Robinson
0f5045a2d0 Update to 32.0.2, sync fixes to the same as firefox 2014-09-21 07:07:33 +01:00
Lubomir Rintel
6d218d94f1 Revert "fix build on AArch64"
This reverts commit 7f9652e14c.

The patch did not apply and was not needed tue to rework in this version.
Backing out. Sorry for the noise.
2014-09-18 15:53:21 +02:00
Lubomir Rintel
2b71a87972 Revert "Fix changelog date"
This reverts commit 3d2636a821.

The patch did not apply and was not needed tue to rework in this version.
Backing out. Sorry for the noise.
2014-09-18 15:52:29 +02:00
Marcin Juszkiewicz
3d2636a821 Fix changelog date 2014-09-18 12:03:16 +02:00
Marcin Juszkiewicz
7f9652e14c fix build on AArch64
Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
2014-09-18 12:01:19 +02:00
Dan Horák
9cf1033e4f backport js/src/configure.in changes for secondary arches
fixes build on s390(x) and ppc64le (rhbz#1140157 and rhbz#1140159)
2014-09-15 11:15:37 +02:00
Martin Stransky
e114c4ce35 xulrunner-devel - buid fix 2014-09-10 09:45:24 +02:00
Martin Stransky
7cbd0f1cf0 move /sdk/bin to xulrunner libdir 2014-09-09 18:03:49 +02:00
Martin Stransky
684b0b294b build fixes 2014-09-02 15:51:14 +02:00
Martin Stransky
6f337301cf Build fixes - disable ion on i686 and enable on arm 2014-09-02 15:02:47 +02:00
Martin Stransky
0526f46e39 Make -Wformat-security non-fatal 2014-08-27 13:50:15 +02:00
Martin Stransky
ea2e3fdf40 Update to 32.0 build 1 - changelog fix 2014-08-26 15:57:53 +02:00
Martin Stransky
c2bf3f219f Merge branch 'master' into f19 2014-08-26 15:55:40 +02:00
Martin Stransky
695b530a4c Update to 32.0 build 1 2014-08-26 15:55:18 +02:00
8d52315988 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 11:08:00 +00:00
Martin Stransky
64b56134de Merge branch 'master' into f19 2014-07-25 12:52:13 +02:00
Martin Stransky
96a4e596aa Update to 31.0 build 2 2014-07-25 12:51:49 +02:00
Yaakov Selkowitz
53dce40c72 Fix mozilla-config.h wrapper on aarch64 2014-07-24 22:27:53 -05:00
Dennis Gilmore
d8024036fc - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 01:58:07 -05:00
Martin Stransky
c3194b00b1 Merge branch 'master' into f19 2014-06-05 12:25:35 +02:00
Martin Stransky
532901fae2 build req 2014-06-05 12:25:21 +02:00
Martin Stransky
38ad2205d5 Merge branch 'f19' of ssh://pkgs.fedoraproject.org/xulrunner into f19 2014-06-05 12:13:39 +02:00
Martin Stransky
ece8da2a59 Merge branch 'master' into f19 2014-06-05 12:09:33 +02:00
Martin Stransky
8a38004b2b Upload sources 2014-06-05 12:09:22 +02:00
Martin Stransky
231d5e59da Merge branch 'master' into f19 2014-06-05 09:37:49 +02:00
Martin Stransky
4efab6c15b Update to 30.0 build 1, disabled shared js 2014-06-05 09:37:31 +02:00
Martin Stransky
e0f2fccf17 Merge branch 'master' into f19 2014-05-23 17:47:25 +02:00
Martin Stransky
9fb1131d75 Added a build fix for ppc64 - rhbz#1100495 2014-05-23 17:47:08 +02:00
Peter Robinson
82c583ffad Update aarch64 bits 2014-05-15 23:21:10 +01:00
Peter Robinson
be48b2ad62 Add upstream patches for aarch64 support 2014-05-15 13:31:06 +01:00
Martin Stransky
0f795bf5e0 Merge branch 'master' into f19 2014-05-09 17:50:08 +02:00
Martin Stransky
b29fbba698 An updated ppc64le patch (rhbz#1094378) 2014-05-09 17:49:48 +02:00
Martin Stransky
659e2b5aef Merge
Merge branch 'master' into f19
2014-04-28 12:43:27 +02:00
Martin Stransky
d0375898df ARM build fixes 2014-04-28 12:42:42 +02:00
Martin Stransky
3c98b7050f Merge branch 'f19' of ssh://pkgs.fedoraproject.org/xulrunner into f19 2014-04-28 11:44:48 +02:00
Martin Stransky
4ea9ee657c Merge branch 'master' into f19 2014-04-28 11:43:06 +02:00
Martin Stransky
7b0dff9531 Update to 29.0 2014-04-28 11:42:18 +02:00
Jan Horak
7fedb506fc Merge branch 'master' into f19 2014-04-15 16:41:24 +02:00
Jan Horak
3662bd7cb2 fixed arm patch 2014-04-15 16:39:04 +02:00
Jan Horak
a905724c2d Merge branch 'master' into f19 2014-04-14 15:54:28 +02:00
Jan Horak
814f8924c4 Fix build problems 2014-04-14 13:31:00 +02:00
Martin Stransky
dbfd8fbda5 Merge branch 'master' into f19 2014-03-18 13:59:15 +01:00
Martin Stransky
03c0aed20d Update to 28.0 2014-03-18 13:58:56 +01:00
Martin Stransky
17814399f6 Merge branch 'master' into f19 2014-02-03 12:36:18 +01:00
Martin Stransky
cb8a01c564 Build fix - patches 2014-02-03 12:35:56 +01:00
Martin Stransky
ed267cf181 Merge branch 'master' into f19 2014-02-03 11:53:29 +01:00
Martin Stransky
22b2e65bcf Update to 27.0 2014-02-03 11:53:06 +01:00
Martin Stransky
2239a6adee Merge branch 'f18' into f19
Xulrunner sync
2013-12-13 14:01:35 +01:00
Martin Stransky
8ede93a5a4 rhbz#1037406 - xulrunner FTBFS if -Werror=format-security flag is used 2013-12-13 13:53:33 +01:00
Martin Stransky
4ed011db11 Merge branch 'master' into f18 2013-12-13 13:52:34 +01:00
Martin Stransky
caefd61af5 Merge branch 'f18' of ssh://pkgs.fedoraproject.org/xulrunner into f18 2013-12-13 13:52:24 +01:00
Martin Stransky
017429f731 rhbz#1037406 - xulrunner FTBFS if -Werror=format-security flag is used 2013-12-13 13:52:10 +01:00
Martin Stransky
3a484e7fcd rhbz#1037406 - xulrunner FTBFS if '-Werror=format-security' 2013-12-13 13:50:02 +01:00
Martin Stransky
dbeface255 Arm build fix 2013-12-12 11:47:29 +01:00
Martin Stransky
7f1f78be59 Updated nspr/nss version 2013-12-11 18:14:17 +01:00
Martin Stransky
8b10ed3072 Arm build fix 2013-12-10 14:48:53 +01:00
Martin Stransky
4de5e6b42e Update patches to FF26 2013-12-09 15:21:46 +01:00
Martin Stransky
3883b0733b Update to 26.0 Build 2 2013-12-09 14:50:04 +01:00
Martin Stransky
c37ce403ff rhbz#1007603 - NSS and cert9 (sql): firefox crash on exit with https-everywhere installed 2013-11-21 12:28:05 +01:00
Martin Stransky
b70d8a4e55 Added pulseaudio-libs-devel build dependency 2013-11-12 12:37:32 +01:00
Martin Stransky
3bf05d8203 rhbz#1010916 - enabled pluseaudio backend 2013-11-12 11:45:43 +01:00
Martin Stransky
9b39528c23 Fixed rhbz#974718 - Segfault in FileBlockCache::Run when playing a movie on ppc 2013-11-08 17:05:02 +01:00
Martin Stransky
843eff4452 Update to Firefox 25 Build 3 2013-10-30 09:05:02 +01:00
Martin Stransky
435df8caa0 Update to Firefox 25 Build 2 2013-10-23 16:06:42 +02:00
Karsten Hopp
7f16336b7f drop PPC-only rhbz-911314.patch, fixed upstream 2013-10-15 13:59:19 +02:00
Martin Stransky
8d501e5c5e Arm build fix 2013-09-16 11:30:44 +02:00
Martin Stransky
f14bf57641 Disabled gstreamer support 2013-09-13 14:05:42 +02:00
Martin Stransky
e1c89329dc Update to 24.0 2013-09-13 13:53:39 +02:00
Dan Horák
bcd0b40902 Fix build on 64-bit big endian platforms (mozbz#618485) 2013-09-02 11:32:54 +02:00
Karsten Hopp
f2b9d9294e update rhbz-911314.patch (PPC* only) 2013-08-31 20:57:19 +02:00
Martin Stransky
b434782fd6 Enabled dtrace for debug builds 2013-08-29 16:04:07 +02:00
Jan Horak
c8142c6a94 Update to 23.0.1 2013-08-19 13:53:18 +02:00
Martin Stransky
480cf5fab9 Update to latest upstream (23.0 Build 2) 2013-08-05 15:02:14 +02:00
Martin Stransky
29350dbceb Update to latest upstream (23.0) - source upload 2013-08-05 14:35:20 +02:00
Martin Stransky
d4a72524ef Update to latest upstream (23.0) 2013-08-05 14:31:15 +02:00
Jan Horak
e324314511 Enable system libefi 2013-07-29 16:29:20 +02:00
Jan Horak
5e7e915b14 Fixed mozbz#860213 2013-07-29 12:13:57 +02:00
Martin Stransky
883ddfc115 Removed already applied patches (rhbz#978123) 2013-07-25 13:35:53 +02:00
Peter Robinson
5758cbe039 Enable web-rtc on ARM now it's fixed upstream (RHBZ 886976) 2013-07-24 09:55:00 +01:00
Jan Horak
0ab4ac95f0 Fixed healthreporter 2013-07-01 17:25:21 +02:00
Jan Horak
4d209f0963 Bump release 2013-07-01 15:08:15 +02:00
Jan Horak
8f6b7dddbe Added patch for proxy issues 2013-07-01 15:04:39 +02:00
Martin Stransky
7297948163 Rebuild 2013-06-24 13:26:24 +02:00
Martin Stransky
c46ce8e0ff removed libxpcom.so file 2013-06-21 14:24:16 +02:00
Martin Stransky
a65e727577 Merge branch 'master' into f19
Update to 22.0
2013-06-21 13:19:15 +02:00
Martin Stransky
0a3e284277 Update to latest upstream (22.0) 2013-06-21 13:03:16 +02:00
Jan Horak
0d3bcbc36d Merge branch 'master' into f19 2013-06-12 17:41:18 +02:00
Jan Horak
06dfb19183 Fixed rhbz#966424 - unable to install addons 2013-06-12 17:35:59 +02:00
Jan Horak
e388263eb6 Merge branch 'master' into f19 2013-06-03 13:13:46 +02:00
Jan Horak
cf4d956b90 Crashreporter build flags changed 2013-06-03 13:10:02 +02:00
Martin Stransky
ed5ed8e897 Merge branch 'master' into f19 2013-05-29 09:39:57 +02:00
Martin Stransky
c8ab32f987 Removed the i686/f19 gcc hack (rhbz#928353) 2013-05-29 09:39:38 +02:00
Martin Stransky
a7ff42cf22 Merge branch 'master' into f19 2013-05-22 20:03:58 +02:00
Martin Stransky
2657453d6b Added missing patch 2013-05-22 20:03:19 +02:00
Martin Stransky
ddf606097f Merge branch 'master' into f19 2013-05-21 23:27:51 +02:00
Martin Stransky
052f8ddfed new line removal 2013-05-21 23:27:33 +02:00
Martin Stransky
bd2669f723 Added ppc(64) patches (rhbz#963907) 2013-05-21 23:26:47 +02:00
Martin Stransky
2c2ab4fec5 Merge branch 'master' into f19 2013-05-21 14:14:10 +02:00
Martin Stransky
e958266d92 Added s390(x) patch 2013-05-21 14:13:30 +02:00
Martin Stransky
6bf8d6eda0 Merge branch 'master' into f19 2013-05-21 13:30:09 +02:00
Dan Horák
50bcf53640 fix inlining issue on s390 (32-bit) 2013-05-20 21:47:28 +02:00
Martin Stransky
7755ed100a New tarball (build 4)
Merge branch 'master' into f19
2013-05-13 12:21:11 +02:00
Martin Stransky
e404a52b7e New upstream tarball (build 4) 2013-05-13 12:20:57 +02:00
Martin Stransky
48e6730266 Update to latest upstream - updated gcc patch
Merge branch 'master' into f19
2013-05-13 09:04:23 +02:00
Martin Stransky
b2577c78d8 Updated gcc workaround patch 2013-05-13 09:04:05 +02:00
Martin Stransky
a6a6497fda Update to latest upstream - NSS/NSPR version update
Merge branch 'master' into f19
2013-05-13 08:24:38 +02:00
Martin Stransky
1a886127f7 Updated requested NSS/NSPR versions 2013-05-13 08:24:17 +02:00
Martin Stransky
747e7fbbc8 Update to latest upstream
Merge branch 'f18' into f19
2013-05-12 23:03:01 +02:00
Martin Stransky
0d5f644e5e Update to latest upstream (21.0) 2013-05-12 23:02:03 +02:00
Martin Stransky
e8797681fc Merge branch 'master' into f19 2013-04-05 08:56:49 +02:00
Martin Stransky
689d99011f Updated rhbz-911314.patch for xulrunner 20 2013-04-05 08:56:24 +02:00
Martin Stransky
7b2f50bd87 Merge branch 'master' into f19 2013-04-03 12:20:47 +02:00
Martin Stransky
d3cfadc7fa build fix 2013-04-03 12:20:24 +02:00
Martin Stransky
0a3fc71e30 Merge branch 'master' into f19 2013-04-03 11:00:48 +02:00
Martin Stransky
76cde3aca7 Added missing patch 2013-04-03 10:58:24 +02:00
Martin Stransky
16b10b81e1 Merge branch 'master' into f19 2013-04-03 10:10:28 +02:00
Martin Stransky
163c167d1d release up 2013-04-03 10:10:06 +02:00
Martin Stransky
1d0c1d7887 Merge branch 'master' into f19 2013-04-03 09:56:49 +02:00
Martin Stransky
3b6649ae7e A workaround for Bug 928353 - firefox i686 crashes for a number of web pages 2013-04-03 09:56:22 +02:00
Martin Stransky
bf568afb23 Merge branch 'master' into f19 2013-04-01 12:32:59 +02:00
Martin Stransky
faf2784516 build fix 2013-04-01 12:32:36 +02:00
Martin Stransky
1a7d8df727 Update to latest upstream 2013-04-01 11:30:32 +02:00
Martin Stransky
38dfdbf9ef Update to 20.0 2013-04-01 11:30:09 +02:00
Martin Stransky
faa42aacfe Merge branch 'master' into f19 2013-03-19 14:58:37 +01:00
Martin Stransky
55bbfab739 * Tue Mar 19 2013 Martin Stransky <stransky@redhat.com> - 19.0.2-4
- Added fix for rhbz#913284 - Firefox segfaults
  in mozilla::gfx::AlphaBoxBlur::BoxBlur_C() on PPC64
2013-03-19 14:57:37 +01:00
Martin Stransky
4bb7a10deb Merge fix 2013-03-19 08:32:53 +01:00
Martin Stransky
c81a4e0546 * Tue Mar 19 2013 Martin Stransky <stransky@redhat.com> - 19.0.2-3
- Added fix for mozbz#826171/rhbz#922904 - strndup implementation
  in memory/build/mozmemory_wrap.c is broken
2013-03-19 08:27:18 +01:00
Karsten Hopp
d35150669e package ppc patch in srpm even if srpm is built on other archs,
otherwise koji will complain with 'file not found'
2013-03-14 14:01:07 +01:00
Jan Horak
73a15815d2 Include patch rhbz-911314.patch to all arches 2013-03-14 11:37:17 +01:00
Martin Stransky
4a06d2827a Update to 19.0.2 2013-03-11 17:00:29 +01:00
Martin Stransky
11886b8d73 Added fix for rhbz#911314 (ppc only) 2013-02-20 16:22:37 +01:00
Martin Stransky
161f3f6fdd added missing patch 2013-02-18 16:23:39 +01:00
Martin Stransky
c0a99a1b71 Update to 19.0, added fix for mozbz#239254 2013-02-18 13:24:36 +01:00
Jan Horak
e5d27ba2df fixed system sqlite define 2013-02-06 11:20:32 +01:00
Jan Horak
8b5d782447 Update to 18.0.2 2013-02-06 10:05:46 +01:00
Jan Horak
0e39a6c1e2 Removed mozilla-677092-restartless-lang.patch 2013-01-25 15:37:28 +01:00
Jan Horak
6762e5325f Update to 18.0.1 2013-01-25 15:11:06 +01:00
Martin Stransky
3e7a82424b Added patch 2013-01-15 12:28:48 +01:00
Martin Stransky
bcb4af0f84 Added fix for NM regression (mozbz#791626) 2013-01-15 12:23:03 +01:00
Martin Stransky
b0f5323781 Fixed Makefile generator (rhbz#304121) 2013-01-10 14:59:37 +01:00
Martin Stransky
7df449fd97 Fixed missing libxpcom.so provides 2013-01-09 15:10:47 +01:00
Martin Stransky
b497246cfd Merge branch 'f17' 2013-01-09 12:55:33 +01:00
Martin Stransky
4228c3d2be Added fix for langpacks 2013-01-09 12:54:46 +01:00
Martin Stransky
c10abc765f Merge branch 'master' into f17 2013-01-09 12:36:58 +01:00
Martin Stransky
0f3792dfad Updated NSS/NSPR versions 2013-01-09 12:36:43 +01:00
Martin Stransky
61255d76a4 Merge branch 'master' into f17 2013-01-09 12:21:32 +01:00
Martin Stransky
b260f32373 Disabled WebRTC due to rhbz#304121, enabled debuginfo packages 2013-01-09 12:21:15 +01:00
Martin Stransky
b139b47b1b Merge branch 'master' into f17 2013-01-09 11:07:13 +01:00
Martin Stransky
503a3b9896 Fixed source files 2013-01-09 11:06:56 +01:00
Martin Stransky
bd5e127846 Merge branch 'master' into f17 2013-01-09 09:07:35 +01:00
Martin Stransky
d667c3fbc8 Disabled system sqlite on Fedora 18 2013-01-09 09:07:12 +01:00
Martin Stransky
1122addfbb Merge branch 'master' into f17 2013-01-08 23:34:15 +01:00
Martin Stransky
e14ae82aeb Disabled debuginfo packages due to Bug #304121 2013-01-08 23:29:31 +01:00
Martin Stransky
0a4f563786 Merge branch 'master' into f17 2013-01-08 12:30:41 +01:00
Martin Stransky
8b21f12e61 Build fix 2013-01-08 12:30:24 +01:00
Martin Stransky
5767136afc Merge branch 'master' into f17 2013-01-07 15:20:31 +01:00
Martin Stransky
91316e0461 Update to 18.0 2013-01-07 15:20:09 +01:00
Peter Robinson
e3c414aab2 Merge branch 'master' into f17 2012-12-13 18:29:34 +00:00
Peter Robinson
d571e82662 Disable webrtc on ARM as it currently tries to build SSE on ARM (fix FTBFS), Enable methodjit/tracejit on ARMv7 for more speed :) Fixes RHBZ 870548 2012-12-13 17:31:55 +00:00
Jan Horak
ba8e69bb90 Merge branch 'master' into f17 2012-12-12 13:10:11 +01:00
Jan Horak
fdefea87fa Enable system sqlite for F18+ 2012-12-07 17:19:48 +01:00
Jan Horak
7b291c742e Fixed 813997 patch 2012-12-07 17:15:28 +01:00
Jan Horak
1966a42ad3 Merge branch 'master' into f17 2012-12-07 15:15:11 +01:00
Jan Horak
3406c21cdf Fixed rhbz#879595 2012-12-07 13:55:38 +01:00
Jan Horak
0e1808949c Merge branch 'master' into f17 2012-11-29 16:08:17 +01:00
Jan Horak
ae2817adef Update to 17.0.1 2012-11-29 15:16:03 +01:00
Jan Horak
eaeece52ad Merge branch 'master' into f17 2012-11-27 12:22:11 +01:00
Jan Horak
33cdb0601f Rebuild against older nss 2012-11-27 12:21:48 +01:00
Martin Stransky
52b97e7cd2 Merge branch 'master' into f17 2012-11-20 09:31:04 +01:00
Martin Stransky
3196ef4d10 chromium patch fix 2012-11-20 09:26:27 +01:00
Martin Stransky
f4851b5d22 Merge branch 'f16' into f17 2012-11-19 15:58:43 +01:00
Martin Stransky
8fc9b34d91 updated second arch patches 2012-11-19 15:57:33 +01:00
Dan Horák
c0a643a7b7 Merge branch 'master' into f17 2012-11-19 14:32:06 +01:00
Dan Horák
0a2c501637 webrtc is available only on selected arches 2012-11-19 14:28:32 +01:00
Dan Horák
1759faef47 Merge branch 'master' of ssh://pkgs.fedoraproject.org/xulrunner 2012-11-19 11:31:59 +01:00
Martin Stransky
fa76d4928a Merge branch 'master' into f17 2012-11-19 10:16:16 +01:00
Martin Stransky
cba7748c84 Update to 17.0 2012-11-19 10:14:38 +01:00
Dan Horák
93dc9b1f49 fix sed expression 2012-11-18 13:39:00 +01:00
Martin Stransky
bdc0967b94 Merge branch 'master' into f17 2012-11-14 16:46:47 +01:00
Martin Stransky
74228c06c1 Update to 17.0 Beta 6 2012-11-14 16:40:47 +01:00
Martin Stransky
d55d6d102d Merge branch 'master' into f17 2012-11-13 13:30:07 +01:00
Martin Stransky
918b77d5f9 removed unused patch 2012-11-13 12:27:03 +01:00
Martin Stransky
106e8d0a7e Update to 17.0 Beta 5 2012-11-13 11:55:24 +01:00
Martin Stransky
0f2909c4ff Merge branch 'master' into f17 2012-11-06 15:29:32 +01:00
Martin Stransky
b20671cea6 Added fix for rhbz#872752 2012-11-06 15:29:25 +01:00
Martin Stransky
5c603fd478 Merge branch 'master' into f17 2012-10-31 12:49:00 +01:00
Martin Stransky
ef5d07b4dc * Wed Oct 31 2012 Martin Stransky <stransky@redhat.com> - 16.0.2-1
- Updated mozilla-746112.patch for second arches
- Removed unused one (rhbz#855919)
2012-10-31 12:47:10 +01:00
Jan Horak
db9ec536da Merge branch 'master' into f17 2012-10-26 10:58:22 +02:00
Jan Horak
795c85db24 Update to 16.0.2 2012-10-26 10:56:43 +02:00
Jan Horak
4ad0003efa Merge branch 'master' into f17 2012-10-16 11:51:45 +02:00
Jan Horak
ec23a95c1f Use nss and nspr version from buildroot 2012-10-16 10:50:07 +02:00
Jan Horak
bca099b4dd Merge branch 'master' into f17 2012-10-16 09:34:23 +02:00
Jan Horak
16f7721ec9 Use nss and nspr version from buildroot 2012-10-16 09:32:13 +02:00
Jan Horak
ea989e77e0 Merge branch 'master' into f17 2012-10-16 08:39:56 +02:00
Jan Horak
bd4d14bb3f Fixed required nspr and nss version 2012-10-16 08:39:34 +02:00
Dan Horák
302c10a7b6 Merge branch 'master' into f17 2012-10-11 22:15:57 +02:00
Dan Horák
9d9eab78e3 fix sed expression 2012-10-11 22:15:12 +02:00
Martin Stransky
40d90db367 Merge branch 'master' into f17 2012-10-11 14:00:35 +02:00
Martin Stransky
7dba846d6d Update to 16.0.1 2012-10-11 14:00:29 +02:00
Martin Stransky
e133a19171 Merge branch 'master' into f17 2012-10-11 13:59:13 +02:00
Martin Stransky
b2e14f89df Update to 16.0.1 2012-10-11 13:58:24 +02:00
Martin Stransky
0103c4f6c9 Merge branch 'master' into f17 2012-10-10 11:00:15 +02:00
Martin Stransky
b8688eeff3 Fixed xulrunner launch script 2012-10-10 11:00:08 +02:00
Martin Stransky
9ab3c48c2d Merge branch 'f16' into f17 2012-10-09 11:50:59 +02:00
Martin Stransky
18ce54b15d build fixes 2012-10-09 11:50:05 +02:00
Martin Stransky
291cdbe240 merge 2012-10-08 15:44:23 +02:00
Martin Stransky
8518ced4d2 changelog fix 2012-10-08 15:42:57 +02:00
Martin Stransky
e62677590a update to ff16 2012-10-08 15:40:11 +02:00
Martin Stransky
5110389c62 merge 2012-10-08 15:35:35 +02:00
Martin Stransky
8e6cfdbad4 Update to 16.0 2012-10-08 15:21:29 +02:00
Jan Horak
0602e08476 Rebuild with gcc to fix rhbz#830017 2012-09-27 11:20:00 +02:00
Martin Stransky
00bca40362 removed unused patch 2012-09-18 13:15:45 +02:00
Martin Stransky
69e49742a5 Added fix for rhbz#855919 - Firefox freezes on Fedora 18 for PPC64 2012-09-17 16:51:36 +02:00
Martin Stransky
97e7825fe3 Added build flags for second arches 2012-09-14 22:04:41 +02:00
Jan Horak
7d3b8c5fc2 Update to 15.0.1 2012-09-11 17:27:00 +02:00
Martin Stransky
d91ee1f4f7 Update to XL15 2012-08-27 14:04:02 +02:00
Martin Stransky
66f5e7a063 Update to XL15 2012-08-27 14:02:51 +02:00
Martin Stransky
82b4e04984 Upload sources 2012-08-22 14:01:43 +02:00
Martin Stransky
f86b210116 Update to xulrunner 15b6 2012-08-22 13:46:10 +02:00
Jan Horak
050d36943a Added fix for mozbz#709732 - color profiles 2012-08-09 15:39:55 +02:00
Dan Horák
e59ccef1ab Added fix for secondary arches - mozbz#750620 2012-07-25 13:24:16 +02:00
Dennis Gilmore
3aa28f2c42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-22 02:23:43 -05:00
Martin Stransky
06cf9cd3b7 More build fixes 2012-07-17 14:23:23 +02:00
Martin Stransky
b9ad0d4ead release up 2012-07-17 00:15:36 +02:00
Martin Stransky
b85c7e35ed Ship xpcshell again 2012-07-17 00:12:39 +02:00
Martin Stransky
9e952990a7 Build fix 2012-07-16 15:39:40 +02:00
Martin Stransky
c1548b5008 build fixes 2012-07-16 15:20:59 +02:00
Martin Stransky
fce8fe8fc9 build fixes 2012-07-16 14:19:32 +02:00
Martin Stransky
65af9bcf03 Update to 14.0.1 2012-07-16 13:51:53 +02:00
Jan Horak
c6ada0ca36 Fixed changelog encoding 2012-06-19 15:18:56 +02:00
Jan Horak
a10f0bc4e5 Update to 13.0.1 2012-06-16 22:48:47 +02:00
Martin Stransky
df3636d28e src.rpm should include all patches 2012-06-06 09:44:48 +02:00
Martin Stransky
99112db19b more build fixed 2012-06-05 13:10:07 +02:00
Martin Stransky
549acf31d1 objdir build fix 2012-06-05 12:20:20 +02:00
Martin Stransky
4639488944 build patch and fix 2012-06-05 11:03:04 +02:00
Martin Stransky
09dda616bc Merge branch 'master' of ssh://pkgs.fedoraproject.org/xulrunner 2012-06-04 17:00:05 +02:00
Martin Stransky
1a4c9e5740 fixed build errors 2012-06-04 16:59:44 +02:00
Martin Stransky
fa53a9add9 Update to 13.0 2012-06-04 10:55:40 +02:00
Martin Stransky
d88f0a6b83 More ppc(64) fixes - mozbz#746112 2012-05-31 14:23:02 +02:00
Martin Stransky
9ccd78f5a8 Added workaround for ppc(64) - mozbz#746112 2012-05-28 09:25:02 +02:00
Dan Horák
bb57e42f22 Used backported upstream patch from mozb#734335 for fixing the sps profiler build
- Fixed build of jemalloc on ppc (patch by Gustavo Luiz Duarte/IBM)
2012-05-07 13:26:43 +02:00
Dan Horák
d9f854b6c3 Added new patch for 691898 - backport from trunk
- Added build fix for secondary arches
2012-05-04 16:55:08 +02:00
Martin Stransky
07e7918b81 Added requires for nss-static (rhbz#717247) 2012-05-04 15:58:37 +02:00
Martin Stransky
197f33837a Enable ppc(64) paralell builds (rhbz#816612) 2012-04-30 15:44:19 +02:00
Martin Stransky
a74f3223d9 Disable system sqlite for Fedora17 and older 2012-04-24 11:29:38 +02:00
Martin Stransky
07f2ed7a2f without system cairo 2012-04-24 10:51:07 +02:00
Martin Stransky
9d40849223 removed already merged patches 2012-04-24 10:34:59 +02:00
Martin Stransky
df71757668 Added switch for system cairo 2012-04-24 10:19:29 +02:00
Martin Stransky
7b2b7ae0ec Update to 12.0 2012-04-24 09:59:07 +02:00
Jan Horak
4f0069f464 Fixed Source0 URL 2012-03-28 12:38:06 +02:00
Martin Stransky
88357e6d51 debug/optimize is set in spec now 2012-03-20 13:13:32 +01:00
Martin Stransky
3ea068df02 system nss/nspr is set in spec now 2012-03-20 13:12:27 +01:00
Martin Stransky
ec258c0766 Added libvpx-devel dependency 2012-03-13 12:34:25 +01:00
Martin Stransky
abd4283f86 Added libvpx-devel dependency 2012-03-13 12:29:41 +01:00
Martin Stransky
59fb4d58f0 Update to 11.0 2012-03-13 08:53:44 +01:00
Martin Stransky
9997ea141f uploaded sources 2012-03-09 17:37:58 +01:00
Martin Stransky
fe9b61df01 Update to FF11B7, spec fixes, enabled debug builds 2012-03-09 17:26:29 +01:00
28 changed files with 1 additions and 12554 deletions

26
.gitignore vendored
View file

@ -1,26 +0,0 @@
xulrunner-1.9.2.7.source.tar.bz2
xulrunner-1.9.3.0b3.source.tar.bz2
/xulrunner-1.9.3.0b4.source.tar.bz2
/xulrunner-2.0b6.source.tar.bz2
/xulrunner-4.0b7.source.tar.bz2
/xulrunner-2.0b7.source.tar.bz2
/xulrunner-2.0b8.source.tar.bz2
/xulrunner-2.0b9.source.tar.bz2
/xulrunner-2.0b10.source.tar.bz2
/xulrunner-2.0b11.source.tar.bz2
/xulrunner-2.0b12.source.tar.bz2
/xulrunner-2.0rc1.source.tar.bz2
/xulrunner-2.0rc2.source.tar.bz2
/xulrunner-2.0.source.tar.bz2
/xulrunner-2.0.1.source.tar.bz2
/xulrunner-5.0.source.tar.bz2
/xulrunner-6.0.source.tar.bz2
/xulrunner-6.0.2.source.tar.bz2
/xulrunner-7.0.source.tar.bz2
/xulrunner-7.0.1.source.tar.bz2
/xulrunner-8.0.source.tar.bz2
/xulrunner-9.0.source.tar.bz2
/xulrunner-9.0.1.source.tar.bz2
/xulrunner-10.0b6.source.tar.bz2
/xulrunner-10.0.source.tar.bz2
/xulrunner-10.0.1.source.tar.bz2

File diff suppressed because it is too large Load diff

View file

@ -1,11 +0,0 @@
diff -up comm-1.9.2/mozilla/toolkit/crashreporter/google-breakpad/src/tools/linux/dump_syms/Makefile.in.static comm-1.9.2/mozilla/toolkit/crashreporter/google-breakpad/src/tools/linux/dump_syms/Makefile.in
--- mozilla/toolkit/crashreporter/google-breakpad/src/tools/linux/dump_syms/Makefile.in.static 2010-06-23 19:47:11.000000000 +0200
+++ mozilla/toolkit/crashreporter/google-breakpad/src/tools/linux/dump_syms/Makefile.in 2010-07-12 15:51:41.000000000 +0200
@@ -64,6 +64,6 @@ FORCE_USE_PIC = 1
#XXX: bug 554854 causes us to be unable to run binaries on the build slaves
# due to them having an older libstdc++
-HOST_LDFLAGS += -static
+#HOST_LDFLAGS += -static
include $(topsrcdir)/config/rules.mk

1
dead.package Normal file
View file

@ -0,0 +1 @@
This package is no longer supported by upstream

View file

@ -1,32 +0,0 @@
diff -up xulrunner-1.9.3.0/mozilla-central/xulrunner/installer/libxul-embedding.pc.in.pk xulrunner-1.9.3.0/mozilla-central/xulrunner/installer/libxul-embedding.pc.in
--- xulrunner-1.9.3.0/mozilla-central/xulrunner/installer/libxul-embedding.pc.in.pk 2010-08-06 03:09:24.000000000 +0200
+++ xulrunner-1.9.3.0/mozilla-central/xulrunner/installer/libxul-embedding.pc.in 2010-08-16 11:12:32.000000000 +0200
@@ -6,5 +6,6 @@ idldir=%idldir%
Name: libxul-embedding
Description: Static library for version-independent embedding of the Mozilla runtime
Version: %MOZILLA_VERSION%
+Requires: %NSPR_NAME% >= %NSPR_VERSION%
Libs: -L${sdkdir}/lib -lxpcomglue -ldl
Cflags: -DXPCOM_GLUE -I${includedir} %WCHAR_CFLAGS%
diff -up xulrunner-1.9.3.0/mozilla-central/xulrunner/installer/libxul.pc.in.pk xulrunner-1.9.3.0/mozilla-central/xulrunner/installer/libxul.pc.in
--- xulrunner-1.9.3.0/mozilla-central/xulrunner/installer/libxul.pc.in.pk 2010-08-06 03:09:24.000000000 +0200
+++ xulrunner-1.9.3.0/mozilla-central/xulrunner/installer/libxul.pc.in 2010-08-16 11:07:52.000000000 +0200
@@ -2,6 +2,7 @@ prefix=%prefix%
sdkdir=%sdkdir%
includedir=%includedir%
idldir=%idldir%
+libdir=%libdir%
Name: libxul
Description: The Mozilla Runtime and Embedding Engine
diff -up xulrunner-1.9.3.0/mozilla-central/xulrunner/installer/Makefile.in.pk xulrunner-1.9.3.0/mozilla-central/xulrunner/installer/Makefile.in
--- xulrunner-1.9.3.0/mozilla-central/xulrunner/installer/Makefile.in.pk 2010-08-16 11:07:52.000000000 +0200
+++ xulrunner-1.9.3.0/mozilla-central/xulrunner/installer/Makefile.in 2010-08-16 11:07:52.000000000 +0200
@@ -116,6 +116,7 @@ endif
-e "s|%includedir%|$(includedir)|" \
-e "s|%idldir%|$(idldir)|" \
-e "s|%sdkdir%|$(sdkdir)|" \
+ -e "s|%libdir%|$(installdir)|" \
-e "s|%MOZ_APP_NAME%|$(MOZ_APP_NAME)|" \
-e "s|%MOZILLA_VERSION%|$(MOZ_APP_VERSION)|" \
-e "s|%WCHAR_CFLAGS%|$(WCHAR_CFLAGS)|" \

View file

@ -1,15 +0,0 @@
--- a/toolkit/mozapps/installer/packager.mk
+++ b/toolkit/mozapps/installer/packager.mk
@@ -621,10 +621,12 @@ ifdef INSTALL_SDK # Here comes the hard
(cd $(DESTDIR)$(idldir) && tar -xf -)
# SDK directory is the libs + a bunch of symlinks
$(NSINSTALL) -D $(DESTDIR)$(sdkdir)/sdk/lib
+ $(NSINSTALL) -D $(DESTDIR)$(sdkdir)/sdk/bin
if test -f $(DIST)/include/xpcom-config.h; then \
$(SYSINSTALL) $(IFLAGS1) $(DIST)/include/xpcom-config.h $(DESTDIR)$(sdkdir); \
fi
(cd $(DIST)/sdk/lib && tar $(TAR_CREATE_FLAGS) - .) | (cd $(DESTDIR)$(sdkdir)/sdk/lib && tar -xf -)
+ (cd $(DIST)/sdk/bin && tar $(TAR_CREATE_FLAGS) - .) | (cd $(DESTDIR)$(sdkdir)/sdk/bin && tar -xf -)
$(RM) -f $(DESTDIR)$(sdkdir)/lib $(DESTDIR)$(sdkdir)/bin $(DESTDIR)$(sdkdir)/include $(DESTDIR)$(sdkdir)/include $(DESTDIR)$(sdkdir)/sdk/idl $(DESTDIR)$(sdkdir)/idl
ln -s $(sdkdir)/sdk/lib $(DESTDIR)$(sdkdir)/lib
ln -s $(installdir) $(DESTDIR)$(sdkdir)/bin

View file

@ -1,358 +0,0 @@
diff -up xulrunner-10.0/mozilla-beta/toolkit/system/gnome/nsGSettingsService.cpp.682832 xulrunner-10.0/mozilla-beta/toolkit/system/gnome/nsGSettingsService.cpp
--- xulrunner-10.0/mozilla-beta/toolkit/system/gnome/nsGSettingsService.cpp.682832 2012-01-18 17:25:24.000000000 +0100
+++ xulrunner-10.0/mozilla-beta/toolkit/system/gnome/nsGSettingsService.cpp 2012-01-23 15:40:14.803170842 +0100
@@ -44,6 +44,8 @@
#include "nsMemory.h"
#include "prlink.h"
#include "nsComponentManagerUtils.h"
+#include "nsIMutableArray.h"
+#include "nsISupportsPrimitives.h"
#include <glib.h>
#include <glib-object.h>
@@ -60,6 +62,7 @@ typedef struct _GVariant GVariant;
# define G_VARIANT_TYPE_STRING ((const GVariantType *) "s")
# define G_VARIANT_TYPE_OBJECT_PATH ((const GVariantType *) "o")
# define G_VARIANT_TYPE_SIGNATURE ((const GVariantType *) "g")
+# define G_VARIANT_TYPE_STRING_ARRAY ((const GVariantType *) "as")
#endif
#define GSETTINGS_FUNCTIONS \
@@ -72,6 +75,7 @@ typedef struct _GVariant GVariant;
FUNC(g_variant_get_int32, gint32, (GVariant* variant)) \
FUNC(g_variant_get_boolean, gboolean, (GVariant* variant)) \
FUNC(g_variant_get_string, const char *, (GVariant* value, gsize* length)) \
+ FUNC(g_variant_get_strv, const char **, (GVariant* value, gsize* length)) \
FUNC(g_variant_is_of_type, gboolean, (GVariant* value, const GVariantType* type)) \
FUNC(g_variant_new_int32, GVariant *, (gint32 value)) \
FUNC(g_variant_new_boolean, GVariant *, (gboolean value)) \
@@ -95,6 +99,7 @@ GSETTINGS_FUNCTIONS
#define g_variant_get_int32 _g_variant_get_int32
#define g_variant_get_boolean _g_variant_get_boolean
#define g_variant_get_string _g_variant_get_string
+#define g_variant_get_strv _g_variant_get_strv
#define g_variant_is_of_type _g_variant_is_of_type
#define g_variant_new_int32 _g_variant_new_int32
#define g_variant_new_boolean _g_variant_new_boolean
@@ -267,6 +272,49 @@ nsGSettingsCollection::GetInt(const nsAC
return NS_OK;
}
+NS_IMETHODIMP
+nsGSettingsCollection::GetStringList(const nsACString& aKey, nsIArray** aResult)
+{
+ if (!KeyExists(aKey))
+ return NS_ERROR_INVALID_ARG;
+
+ nsCOMPtr<nsIMutableArray> items(do_CreateInstance(NS_ARRAY_CONTRACTID));
+ if (!items) {
+ return NS_ERROR_OUT_OF_MEMORY;
+ }
+
+ GVariant *value = g_settings_get_value(mSettings,
+ PromiseFlatCString(aKey).get());
+
+ if (!g_variant_is_of_type(value, G_VARIANT_TYPE_STRING_ARRAY)) {
+ g_variant_unref(value);
+ return NS_ERROR_FAILURE;
+ }
+
+ const gchar ** gs_strings = g_variant_get_strv(value, NULL);
+ if (!gs_strings) {
+ // empty array
+ NS_ADDREF(*aResult = items);
+ g_variant_unref(value);
+ return NS_OK;
+ }
+
+ const gchar** p_gs_strings = gs_strings;
+ while (*p_gs_strings != NULL)
+ {
+ nsCOMPtr<nsISupportsCString> obj(do_CreateInstance(NS_SUPPORTS_CSTRING_CONTRACTID));
+ if (obj) {
+ obj->SetData(nsDependentCString(*p_gs_strings));
+ items->AppendElement(obj, false);
+ }
+ p_gs_strings++;
+ }
+ g_free(gs_strings);
+ NS_ADDREF(*aResult = items);
+ g_variant_unref(value);
+ return NS_OK;
+}
+
// These types are local to nsGSettingsService::Init, but ISO C++98 doesn't
// allow a template (ArrayLength) to be instantiated based on a local type.
// Boo-urns!
diff -up xulrunner-10.0/mozilla-beta/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp.682832 xulrunner-10.0/mozilla-beta/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
--- xulrunner-10.0/mozilla-beta/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp.682832 2012-01-18 17:25:24.000000000 +0100
+++ xulrunner-10.0/mozilla-beta/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp 2012-01-23 15:39:23.083172529 +0100
@@ -49,6 +49,7 @@
#include "nsPrintfCString.h"
#include "nsNetUtil.h"
#include "nsISupportsPrimitives.h"
+#include "nsIGSettingsService.h"
class nsUnixSystemProxySettings : public nsISystemProxySettings {
public:
@@ -62,9 +63,12 @@ private:
~nsUnixSystemProxySettings() {}
nsCOMPtr<nsIGConfService> mGConf;
+ nsCOMPtr<nsIGSettingsService> mGSettings;
bool IsProxyMode(const char* aMode);
nsresult SetProxyResultFromGConf(const char* aKeyBase, const char* aType, nsACString& aResult);
nsresult GetProxyFromGConf(const nsACString& aScheme, const nsACString& aHost, PRInt32 aPort, nsACString& aResult);
+ nsresult GetProxyFromGSettings(const nsACString& aScheme, const nsACString& aHost, PRInt32 aPort, nsACString& aResult);
+ nsresult SetProxyResultFromGSettings(const char* aKeyBase, const char* aType, nsACString& aResult);
};
NS_IMPL_ISUPPORTS1(nsUnixSystemProxySettings, nsISystemProxySettings)
@@ -73,6 +77,7 @@ nsresult
nsUnixSystemProxySettings::Init()
{
mGConf = do_GetService(NS_GCONFSERVICE_CONTRACTID);
+ mGSettings = do_GetService(NS_GSETTINGSSERVICE_CONTRACTID);
return NS_OK;
}
@@ -87,14 +92,31 @@ nsUnixSystemProxySettings::IsProxyMode(c
nsresult
nsUnixSystemProxySettings::GetPACURI(nsACString& aResult)
{
- if (!mGConf || !IsProxyMode("auto")) {
- // Return an empty string in this case
- aResult.Truncate();
- return NS_OK;
+ if (mGSettings) {
+ nsCOMPtr<nsIGSettingsCollection> proxy_settings;
+ mGSettings->GetCollectionForSchema(NS_LITERAL_CSTRING("org.gnome.system.proxy"),
+ getter_AddRefs(proxy_settings));
+ if (proxy_settings) {
+ nsCString proxyMode;
+ // Check if mode is auto
+ nsresult rv = proxy_settings->GetString(NS_LITERAL_CSTRING("mode"), proxyMode);
+ if (rv == NS_OK && proxyMode.Equals("auto")) {
+ return proxy_settings->GetString(NS_LITERAL_CSTRING("autoconfig-url"), aResult);
+ }
+ /* The org.gnome.system.proxy schema has been found, but auto mode is not set.
+ * Don't try the GConf and return empty string. */
+ aResult.Truncate();
+ return NS_OK;
+ }
}
- return mGConf->GetString(NS_LITERAL_CSTRING("/system/proxy/autoconfig_url"),
- aResult);
+ if (mGConf && IsProxyMode("auto")) {
+ return mGConf->GetString(NS_LITERAL_CSTRING("/system/proxy/autoconfig_url"),
+ aResult);
+ }
+ // Return an empty string when auto mode is not set.
+ aResult.Truncate();
+ return NS_OK;
}
static bool
@@ -231,7 +253,38 @@ nsUnixSystemProxySettings::SetProxyResul
PRInt32 port;
rv = mGConf->GetInt(portKey, &port);
NS_ENSURE_SUCCESS(rv, rv);
+
+ /* When port is 0, proxy is not considered as enabled even if host is set. */
+ if (port == 0)
+ return NS_ERROR_FAILURE;
+
+ SetProxyResult(aType, host, port, aResult);
+ return NS_OK;
+}
+
+nsresult
+nsUnixSystemProxySettings::SetProxyResultFromGSettings(const char* aKeyBase, const char* aType,
+ nsACString& aResult)
+{
+ nsCOMPtr<nsIGSettingsCollection> proxy_settings;
+ nsresult rv = mGSettings->GetCollectionForSchema(nsDependentCString(aKeyBase),
+ getter_AddRefs(proxy_settings));
+ NS_ENSURE_SUCCESS(rv, rv);
+
+ nsCAutoString host;
+ rv = proxy_settings->GetString(NS_LITERAL_CSTRING("host"), host);
+ NS_ENSURE_SUCCESS(rv, rv);
+ if (host.IsEmpty())
+ return NS_ERROR_FAILURE;
+
+ PRInt32 port;
+ rv = proxy_settings->GetInt(NS_LITERAL_CSTRING("port"), &port);
+ NS_ENSURE_SUCCESS(rv, rv);
+ /* When port is 0, proxy is not considered as enabled even if host is set. */
+ if (port == 0)
+ return NS_ERROR_FAILURE;
+
SetProxyResult(aType, host, port, aResult);
return NS_OK;
}
@@ -271,17 +324,17 @@ static bool ConvertToIPV6Addr(const nsAC
PRIPv6Addr* aAddr)
{
PRNetAddr addr;
+ // try to convert hostname to IP
if (PR_StringToNetAddr(PromiseFlatCString(aName).get(), &addr) != PR_SUCCESS)
return false;
- PRIPv6Addr ipv6;
// convert parsed address to IPv6
if (addr.raw.family == PR_AF_INET) {
// convert to IPv4-mapped address
- PR_ConvertIPv4AddrToIPv6(addr.inet.ip, &ipv6);
+ PR_ConvertIPv4AddrToIPv6(addr.inet.ip, aAddr);
} else if (addr.raw.family == PR_AF_INET6) {
// copy the address
- memcpy(&ipv6, &addr.ipv6.ip, sizeof(PRIPv6Addr));
+ memcpy(aAddr, &addr.ipv6.ip, sizeof(PRIPv6Addr));
} else {
return false;
}
@@ -289,8 +342,8 @@ static bool ConvertToIPV6Addr(const nsAC
return true;
}
-static bool GConfIgnoreHost(const nsACString& aIgnore,
- const nsACString& aHost)
+static bool HostIgnoredByProxy(const nsACString& aIgnore,
+ const nsACString& aHost)
{
if (aIgnore.Equals(aHost, nsCaseInsensitiveCStringComparator()))
return true;
@@ -321,8 +374,9 @@ static bool GConfIgnoreHost(const nsACSt
slash = end;
}
+ nsDependentCSubstring ignoreStripped(start, slash);
PRIPv6Addr ignoreAddr, hostAddr;
- if (!ConvertToIPV6Addr(aIgnore, &ignoreAddr) ||
+ if (!ConvertToIPV6Addr(ignoreStripped, &ignoreAddr) ||
!ConvertToIPV6Addr(aHost, &hostAddr))
return false;
@@ -355,7 +409,7 @@ nsUnixSystemProxySettings::GetProxyFromG
if (str) {
nsAutoString s;
if (NS_SUCCEEDED(str->GetData(s)) && !s.IsEmpty()) {
- if (GConfIgnoreHost(NS_ConvertUTF16toUTF8(s), aHost)) {
+ if (HostIgnoredByProxy(NS_ConvertUTF16toUTF8(s), aHost)) {
aResult.AppendLiteral("DIRECT");
return NS_OK;
}
@@ -392,6 +446,71 @@ nsUnixSystemProxySettings::GetProxyFromG
}
nsresult
+nsUnixSystemProxySettings::GetProxyFromGSettings(const nsACString& aScheme,
+ const nsACString& aHost,
+ PRInt32 aPort,
+ nsACString& aResult)
+{
+ nsCOMPtr<nsIGSettingsCollection> proxy_settings;
+ nsresult rv;
+
+ rv = mGSettings->GetCollectionForSchema(NS_LITERAL_CSTRING("org.gnome.system.proxy"),
+ getter_AddRefs(proxy_settings));
+ NS_ENSURE_SUCCESS(rv, rv);
+
+ nsCString proxyMode;
+ rv = proxy_settings->GetString(NS_LITERAL_CSTRING("mode"), proxyMode);
+ NS_ENSURE_SUCCESS(rv, rv);
+
+ if (!proxyMode.Equals("manual")) {
+ aResult.AppendLiteral("DIRECT");
+ return NS_OK;
+ }
+
+ nsCOMPtr<nsIArray> ignoreList;
+ if (NS_SUCCEEDED(proxy_settings->GetStringList(NS_LITERAL_CSTRING("ignore-hosts"),
+ getter_AddRefs(ignoreList))) && ignoreList) {
+ PRUint32 len = 0;
+ ignoreList->GetLength(&len);
+ for (PRUint32 i = 0; i < len; ++i) {
+ nsCOMPtr<nsISupportsCString> str = do_QueryElementAt(ignoreList, i);
+ if (str) {
+ nsCString s;
+ if (NS_SUCCEEDED(str->GetData(s)) && !s.IsEmpty()) {
+ if (HostIgnoredByProxy(s, aHost)) {
+ aResult.AppendLiteral("DIRECT");
+ return NS_OK;
+ }
+ }
+ }
+ }
+ }
+
+ if (aScheme.LowerCaseEqualsLiteral("http")) {
+ rv = SetProxyResultFromGSettings("org.gnome.system.proxy.http", "PROXY", aResult);
+ } else if (aScheme.LowerCaseEqualsLiteral("https")) {
+ rv = SetProxyResultFromGSettings("org.gnome.system.proxy.https", "PROXY", aResult);
+ /* Try to use HTTP proxy when HTTPS proxy is not explicitly defined */
+ if (rv != NS_OK)
+ rv = SetProxyResultFromGSettings("org.gnome.system.proxy.http", "PROXY", aResult);
+ } else if (aScheme.LowerCaseEqualsLiteral("ftp")) {
+ rv = SetProxyResultFromGSettings("org.gnome.system.proxy.ftp", "PROXY", aResult);
+ } else {
+ rv = NS_ERROR_FAILURE;
+ }
+ if (rv != NS_OK) {
+ /* If proxy for scheme is not specified, use SOCKS proxy for all schemes */
+ rv = SetProxyResultFromGSettings("org.gnome.system.proxy.socks", "SOCKS", aResult);
+ }
+
+ if (NS_FAILED(rv)) {
+ aResult.AppendLiteral("DIRECT");
+ }
+
+ return NS_OK;
+}
+
+nsresult
nsUnixSystemProxySettings::GetProxyForURI(nsIURI* aURI, nsACString& aResult)
{
nsCAutoString scheme;
@@ -406,10 +525,15 @@ nsUnixSystemProxySettings::GetProxyForUR
rv = aURI->GetPort(&port);
NS_ENSURE_SUCCESS(rv, rv);
- if (!mGConf)
- return GetProxyFromEnvironment(scheme, host, port, aResult);
+ if (mGSettings) {
+ rv = GetProxyFromGSettings(scheme, host, port, aResult);
+ if (rv == NS_OK)
+ return rv;
+ }
+ if (mGConf)
+ return GetProxyFromGConf(scheme, host, port, aResult);
- return GetProxyFromGConf(scheme, host, port, aResult);
+ return GetProxyFromEnvironment(scheme, host, port, aResult);
}
#define NS_UNIXSYSTEMPROXYSERVICE_CID /* 0fa3158c-d5a7-43de-9181-a285e74cf1d4 */\
diff -up xulrunner-10.0/mozilla-beta/xpcom/system/nsIGSettingsService.idl.682832 xulrunner-10.0/mozilla-beta/xpcom/system/nsIGSettingsService.idl
--- xulrunner-10.0/mozilla-beta/xpcom/system/nsIGSettingsService.idl.682832 2012-01-18 17:25:28.000000000 +0100
+++ xulrunner-10.0/mozilla-beta/xpcom/system/nsIGSettingsService.idl 2012-01-23 15:32:29.890186340 +0100
@@ -39,7 +39,7 @@
#include "nsISupports.idl"
#include "nsIArray.idl"
-[scriptable, uuid(09637d3c-3c07-40b4-aff9-1d2a0f046f3c)]
+[scriptable, uuid(16d5b0ed-e756-4f1b-a8ce-9132e869acd8)]
interface nsIGSettingsCollection : nsISupports
{
void setString(in AUTF8String key, in AUTF8String value);
@@ -48,6 +48,7 @@ interface nsIGSettingsCollection : nsISu
AUTF8String getString(in AUTF8String key);
boolean getBoolean(in AUTF8String key);
long getInt(in AUTF8String key);
+ nsIArray getStringList(in AUTF8String key);
};
[scriptable, uuid(849c088b-57d1-4f24-b7b2-3dc4acb04c0a)]

View file

@ -1,285 +0,0 @@
From: Mike Hommey <mh@glandium.org>
Date: Sat, 24 Dec 2011 09:56:58 +0100
Subject: Bug 691898 - Use YARR interpreter instead of PCRE on platforms where
YARR JIT is not supported
---
js/src/Makefile.in | 21 +++++++++++++--------
js/src/vm/RegExpObject-inl.h | 28 ++++++----------------------
js/src/vm/RegExpObject.cpp | 36 ------------------------------------
js/src/vm/RegExpObject.h | 27 ++++++---------------------
js/src/yarr/wtfbridge.h | 2 --
5 files changed, 25 insertions(+), 89 deletions(-)
diff --git a/js/src/Makefile.in b/js/src/Makefile.in
index fc48cbd..49f0bdc 100644
--- a/js/src/Makefile.in
+++ b/js/src/Makefile.in
@@ -416,15 +416,20 @@ CPPSRCS += checks.cc \
ifeq (,$(filter arm% sparc %86 x86_64,$(TARGET_CPU)))
-VPATH += $(srcdir)/yarr/pcre \
+VPATH += $(srcdir)/assembler \
+ $(srcdir)/assembler/wtf \
+ $(srcdir)/yarr \
$(NULL)
CPPSRCS += \
- pcre_compile.cpp \
- pcre_exec.cpp \
- pcre_tables.cpp \
- pcre_xclass.cpp \
- pcre_ucp_searchfuncs.cpp \
+ Assertions.cpp \
+ OSAllocatorOS2.cpp \
+ OSAllocatorPosix.cpp \
+ OSAllocatorWin.cpp \
+ PageBlock.cpp \
+ YarrInterpreter.cpp \
+ YarrPattern.cpp \
+ YarrSyntaxChecker.cpp \
$(NULL)
else
@@ -1015,10 +1020,10 @@ endif
# Needed to "configure" it correctly. Unfortunately these
# flags wind up being applied to all code in js/src, not just
# the code in js/src/assembler.
-CXXFLAGS += -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1
+CXXFLAGS += -DUSE_SYSTEM_MALLOC=1
ifneq (,$(ENABLE_YARR_JIT)$(ENABLE_TRACEJIT)$(ENABLE_METHODJIT))
-CXXFLAGS += -DENABLE_JIT=1
+CXXFLAGS += -DENABLE_JIT=1 -DENABLE_ASSEMBLER=1
endif
INCLUDES += -I$(srcdir)/assembler -I$(srcdir)/yarr
diff --git a/js/src/vm/RegExpObject-inl.h b/js/src/vm/RegExpObject-inl.h
index 5f7817d..91108a7 100644
--- a/js/src/vm/RegExpObject-inl.h
+++ b/js/src/vm/RegExpObject-inl.h
@@ -327,6 +327,7 @@ RegExpPrivate::create(JSContext *cx, JSString *source, RegExpFlag flags, TokenSt
return RetType(self);
}
+#if ENABLE_YARR_JIT
/* This function should be deleted once bad Android platforms phase out. See bug 604774. */
inline bool
RegExpPrivateCode::isJITRuntimeEnabled(JSContext *cx)
@@ -337,12 +338,12 @@ RegExpPrivateCode::isJITRuntimeEnabled(JSContext *cx)
return true;
#endif
}
+#endif
inline bool
RegExpPrivateCode::compile(JSContext *cx, JSLinearString &pattern, TokenStream *ts,
uintN *parenCount, RegExpFlag flags)
{
-#if ENABLE_YARR_JIT
/* Parse the pattern. */
ErrorCode yarrError;
YarrPattern yarrPattern(pattern, bool(flags & IgnoreCaseFlag), bool(flags & MultilineFlag),
@@ -359,7 +360,7 @@ RegExpPrivateCode::compile(JSContext *cx, JSLinearString &pattern, TokenStream *
* case we have to bytecode compile it.
*/
-#ifdef JS_METHODJIT
+#if ENABLE_YARR_JIT && defined(JS_METHODJIT)
if (isJITRuntimeEnabled(cx) && !yarrPattern.m_containsBackreferences) {
if (!cx->compartment->ensureJaegerCompartmentExists(cx))
return false;
@@ -371,21 +372,11 @@ RegExpPrivateCode::compile(JSContext *cx, JSLinearString &pattern, TokenStream *
}
#endif
+#if ENABLE_YARR_JIT
codeBlock.setFallBack(true);
+#endif
byteCode = byteCompile(yarrPattern, cx->compartment->regExpAllocator).get();
return true;
-#else /* !defined(ENABLE_YARR_JIT) */
- int error = 0;
- compiled = jsRegExpCompile(pattern.chars(), pattern.length(),
- ignoreCase() ? JSRegExpIgnoreCase : JSRegExpDoNotIgnoreCase,
- multiline() ? JSRegExpMultiline : JSRegExpSingleLine,
- parenCount, &error);
- if (error) {
- reportPCREError(cx, error);
- return false;
- }
- return true;
-#endif
}
inline bool
@@ -431,19 +422,12 @@ RegExpPrivateCode::execute(JSContext *cx, const jschar *chars, size_t start, siz
else
result = JSC::Yarr::execute(codeBlock, chars, start, length, output);
#else
- result = jsRegExpExecute(cx, compiled, chars, length, start, output, outputCount);
+ result = JSC::Yarr::interpret(byteCode, chars, start, length, output);
#endif
if (result == -1)
return Success_NotFound;
-#if !ENABLE_YARR_JIT
- if (result < 0) {
- reportPCREError(cx, result);
- return Error;
- }
-#endif
-
JS_ASSERT(result >= 0);
return Success;
}
diff --git a/js/src/vm/RegExpObject.cpp b/js/src/vm/RegExpObject.cpp
index f75c6a5..7631dd5 100644
--- a/js/src/vm/RegExpObject.cpp
+++ b/js/src/vm/RegExpObject.cpp
@@ -251,7 +251,6 @@ Class js::RegExpClass = {
NULL /* trace */
};
-#if ENABLE_YARR_JIT
void
RegExpPrivateCode::reportYarrError(JSContext *cx, TokenStream *ts, ErrorCode error)
{
@@ -283,41 +282,6 @@ RegExpPrivateCode::reportYarrError(JSContext *cx, TokenStream *ts, ErrorCode err
}
}
-#else /* !ENABLE_YARR_JIT */
-
-void
-RegExpPrivateCode::reportPCREError(JSContext *cx, int error)
-{
-#define REPORT(msg_) \
- JS_ReportErrorFlagsAndNumberUC(cx, JSREPORT_ERROR, js_GetErrorMessage, NULL, msg_); \
- return
- switch (error) {
- case -2: REPORT(JSMSG_REGEXP_TOO_COMPLEX);
- case 0: JS_NOT_REACHED("Precondition violation: an error must have occurred.");
- case 1: REPORT(JSMSG_TRAILING_SLASH);
- case 2: REPORT(JSMSG_TRAILING_SLASH);
- case 3: REPORT(JSMSG_REGEXP_TOO_COMPLEX);
- case 4: REPORT(JSMSG_BAD_QUANTIFIER);
- case 5: REPORT(JSMSG_BAD_QUANTIFIER);
- case 6: REPORT(JSMSG_BAD_CLASS_RANGE);
- case 7: REPORT(JSMSG_REGEXP_TOO_COMPLEX);
- case 8: REPORT(JSMSG_BAD_CLASS_RANGE);
- case 9: REPORT(JSMSG_BAD_QUANTIFIER);
- case 10: REPORT(JSMSG_UNMATCHED_RIGHT_PAREN);
- case 11: REPORT(JSMSG_REGEXP_TOO_COMPLEX);
- case 12: REPORT(JSMSG_UNMATCHED_RIGHT_PAREN);
- case 13: REPORT(JSMSG_REGEXP_TOO_COMPLEX);
- case 14: REPORT(JSMSG_MISSING_PAREN);
- case 15: REPORT(JSMSG_BAD_BACKREF);
- case 16: REPORT(JSMSG_REGEXP_TOO_COMPLEX);
- case 17: REPORT(JSMSG_REGEXP_TOO_COMPLEX);
- default:
- JS_NOT_REACHED("Precondition violation: unknown PCRE error code.");
- }
-#undef REPORT
-}
-#endif /* ENABLE_YARR_JIT */
-
bool
js::ParseRegExpFlags(JSContext *cx, JSString *flagStr, RegExpFlag *flagsOut)
{
diff --git a/js/src/vm/RegExpObject.h b/js/src/vm/RegExpObject.h
index 1449d56..279f3c0 100644
--- a/js/src/vm/RegExpObject.h
+++ b/js/src/vm/RegExpObject.h
@@ -49,8 +49,6 @@
#include "yarr/Yarr.h"
#if ENABLE_YARR_JIT
#include "yarr/YarrJIT.h"
-#else
-#include "yarr/pcre/pcre.h"
#endif
namespace js {
@@ -153,48 +151,39 @@ ResetRegExpObject(JSContext *cx, AlreadyIncRefed<RegExpPrivate> rep);
/* Abstracts away the gross |RegExpPrivate| backend details. */
class RegExpPrivateCode
{
-#if ENABLE_YARR_JIT
typedef JSC::Yarr::BytecodePattern BytecodePattern;
typedef JSC::Yarr::ErrorCode ErrorCode;
+ typedef JSC::Yarr::YarrPattern YarrPattern;
+#if ENABLE_YARR_JIT
typedef JSC::Yarr::JSGlobalData JSGlobalData;
typedef JSC::Yarr::YarrCodeBlock YarrCodeBlock;
- typedef JSC::Yarr::YarrPattern YarrPattern;
/* Note: Native code is valid only if |codeBlock.isFallBack() == false|. */
YarrCodeBlock codeBlock;
- BytecodePattern *byteCode;
-#else
- JSRegExp *compiled;
#endif
+ BytecodePattern *byteCode;
public:
RegExpPrivateCode()
:
#if ENABLE_YARR_JIT
codeBlock(),
- byteCode(NULL)
-#else
- compiled(NULL)
#endif
+ byteCode(NULL)
{ }
~RegExpPrivateCode() {
#if ENABLE_YARR_JIT
codeBlock.release();
+#endif
if (byteCode)
Foreground::delete_<BytecodePattern>(byteCode);
-#else
- if (compiled)
- jsRegExpFree(compiled);
-#endif
}
#if ENABLE_YARR_JIT
static inline bool isJITRuntimeEnabled(JSContext *cx);
- void reportYarrError(JSContext *cx, TokenStream *ts, JSC::Yarr::ErrorCode error);
-#else
- void reportPCREError(JSContext *cx, int error);
#endif
+ void reportYarrError(JSContext *cx, TokenStream *ts, JSC::Yarr::ErrorCode error);
inline bool compile(JSContext *cx, JSLinearString &pattern, TokenStream *ts, uintN *parenCount,
RegExpFlag flags);
@@ -205,11 +194,7 @@ class RegExpPrivateCode
int *output, size_t outputCount);
static size_t getOutputSize(size_t pairCount) {
-#if ENABLE_YARR_JIT
return pairCount * 2;
-#else
- return pairCount * 3; /* Should be x2, but PCRE has... needs. */
-#endif
}
};
diff --git a/js/src/yarr/wtfbridge.h b/js/src/yarr/wtfbridge.h
index ac41d08..fb8eb86 100644
--- a/js/src/yarr/wtfbridge.h
+++ b/js/src/yarr/wtfbridge.h
@@ -49,9 +49,7 @@
#include "jsprvtd.h"
#include "vm/String.h"
#include "assembler/wtf/Platform.h"
-#if ENABLE_YARR_JIT
#include "assembler/jit/ExecutableAllocator.h"
-#endif
namespace JSC { namespace Yarr {

View file

@ -1,68 +0,0 @@
diff -up xulrunner-9.0/mozilla-beta/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_s390x.cpp.696393 xulrunner-9.0/mozilla-beta/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_s390x.cpp
--- xulrunner-9.0/mozilla-beta/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_s390x.cpp.696393 2011-12-07 07:28:08.000000000 +0100
+++ xulrunner-9.0/mozilla-beta/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_s390x.cpp 2011-12-09 15:07:07.609097348 +0100
@@ -194,55 +194,22 @@ invoke_copy_to_stack(PRUint32 paramCount
}
}
+typedef nsresult (*vtable_func)(nsISupports *, PRUint64, PRUint64, PRUint64, PRUint64, double, double, double, double);
+
EXPORT_XPCOM_API(nsresult)
NS_InvokeByIndex(nsISupports* that, PRUint32 methodIndex,
PRUint32 paramCount, nsXPTCVariant* params)
{
- PRUint64 *vtable = *(PRUint64 **)that;
- PRUint64 method = vtable[methodIndex];
+ vtable_func *vtable = *reinterpret_cast<vtable_func **>(that);
+ vtable_func method = vtable[methodIndex];
PRUint64 overflow = invoke_count_words (paramCount, params);
+ PRUint64 *stack_space = reinterpret_cast<PRUint64 *>(__builtin_alloca((overflow + 8 /* 4 64-bits gpr + 4 64-bits fpr */) * 8));
PRUint64 result;
- __asm__ __volatile__
- (
- "lgr 7,15\n\t"
- "aghi 7,-64\n\t"
-
- "lgr 3,%3\n\t"
- "sllg 3,3,3\n\t"
- "lcgr 3,3\n\t"
- "lg 2,0(15)\n\t"
- "la 15,0(3,7)\n\t"
- "stg 2,0(15)\n\t"
-
- "lgr 2,%1\n\t"
- "lgr 3,%2\n\t"
- "la 4,160(15)\n\t"
- "lgr 5,%3\n\t"
- "basr 14,%4\n\t"
+ invoke_copy_to_stack(paramCount, params, stack_space, overflow);
- "lgr 2,%5\n\t"
- "ld 0,192(7)\n\t"
- "ld 2,200(7)\n\t"
- "ld 4,208(7)\n\t"
- "ld 6,216(7)\n\t"
- "lmg 3,6,160(7)\n\t"
- "basr 14,%6\n\t"
+ PRUint64 *d_gpr = stack_space + overflow;
+ double *d_fpr = reinterpret_cast<double *>(d_gpr + 4);
- "la 15,64(7)\n\t"
-
- "lgr %0,2\n\t"
- : "=r" (result)
- : "r" ((PRUint64)paramCount),
- "r" (params),
- "r" (overflow),
- "a" (invoke_copy_to_stack),
- "a" (that),
- "a" (method)
- : "2", "3", "4", "5", "6", "7", "14", "cc", "memory",
- "%f0", "%f1", "%f2", "%f3", "%f4", "%f5", "%f6", "%f7"
- );
-
- return result;
+ return method(that, d_gpr[0], d_gpr[1], d_gpr[2], d_gpr[3], d_fpr[0], d_fpr[1], d_fpr[2], d_fpr[3]);
}
-

View file

@ -1,12 +0,0 @@
diff -up mozilla-beta/ipc/chromium/src/base/file_util.cc.old mozilla-beta/ipc/chromium/src/base/file_util.cc
--- mozilla-beta/ipc/chromium/src/base/file_util.cc.old 2012-01-25 13:48:11.000000000 +0100
+++ mozilla-beta/ipc/chromium/src/base/file_util.cc 2012-01-25 13:52:25.096659244 +0100
@@ -8,7 +8,7 @@
#include <io.h>
#endif
#include <stdio.h>
-#if defined(ANDROID)
+#if defined(ANDROID) || defined(OS_POSIX)
#include <unistd.h>
#endif

View file

@ -1,74 +0,0 @@
# HG changeset patch
# Parent 0a6f3638cdaba9d3b5ef2eef73a42b2a167dc52a
# User ojab <ojab@ojab.ru>
Bug 722127 - Build --with-system-libvpx is broken for libvpx-1.0.0
diff -up xulrunner-10.0/mozilla-beta/configure.in.vpx1.0.0 xulrunner-10.0/mozilla-beta/configure.in
--- xulrunner-10.0/mozilla-beta/configure.in.vpx1.0.0 2012-01-24 02:59:49.000000000 -0500
+++ xulrunner-10.0/mozilla-beta/configure.in 2012-01-30 13:11:22.303053551 -0500
@@ -5616,20 +5616,20 @@ if test -n "$MOZ_WEBM"; then
[MOZ_NATIVE_LIBVPX_DEC_TEST=1],
([--with-system-libvpx requested but symbol vpx_codec_dec_init_ver not found]))
if test -n "$MOZ_NATIVE_LIBVPX_DEC_TEST" ; then
- AC_MSG_CHECKING([for libvpx version >= v0.9.7])
- dnl We need at least v0.9.7 to fix several crash bugs (for which we
- dnl had local patches prior to v0.9.7).
+ AC_MSG_CHECKING([for libvpx version >= v1.0.0])
+ dnl We need at least v1.0.0 to fix several crash bugs (for which we
+ dnl had local patches prior to v1.0.0).
dnl
dnl This is a terrible test for the library version, but we don't
dnl have a good one. There is no version number in a public header,
dnl and testing the headers still doesn't guarantee we link against
dnl the right version. While we could call vpx_codec_version() at
dnl run-time, that would break cross-compiling. There are no
- dnl additional exported symbols between the v0.9.7 release and the
- dnl v0.9.6 one to check for.
+ dnl additional exported decoder symbols between the v1.0.0 release
+ dnl and the v0.9.7 one to check for.
AC_TRY_COMPILE([
#include <vpx/vpx_decoder.h>
- #if !defined(VPX_CODEC_USE_INPUT_PARTITION)
+ #if !defined(VPX_CODEC_USE_INPUT_FRAGMENTS)
#error "test failed."
#endif
],
@@ -5639,7 +5639,7 @@ if test -n "$MOZ_WEBM"; then
MOZ_LIBVPX_INCLUDES="-I${LIBVPX_DIR}/include"
MOZ_LIBVPX_LIBS="-L${LIBVPX_DIR}/lib -lvpx"],
[AC_MSG_RESULT([no])
- AC_MSG_ERROR([--with-system-libvpx requested but it is not v0.9.7 or later])])
+ AC_MSG_ERROR([--with-system-libvpx requested but it is not v1.0.0 or later])])
fi
CFLAGS=$_SAVE_CFLAGS
LDFLAGS=$_SAVE_LDFLAGS
diff -up xulrunner-10.0/mozilla-beta/configure.vpx1.0.0 xulrunner-10.0/mozilla-beta/configure
--- xulrunner-10.0/mozilla-beta/configure.vpx1.0.0 2012-01-30 13:11:47.805847514 -0500
+++ xulrunner-10.0/mozilla-beta/configure 2012-01-30 13:14:07.818716354 -0500
@@ -17727,14 +17727,14 @@ else
fi
if test -n "$MOZ_NATIVE_LIBVPX_DEC_TEST" ; then
- echo $ac_n "checking for libvpx version >= v0.9.7""... $ac_c" 1>&6
-echo "configure:17732: checking for libvpx version >= v0.9.7" >&5
+ echo $ac_n "checking for libvpx version >= v1.0.0""... $ac_c" 1>&6
+echo "configure:17732: checking for libvpx version >= v1.0.0" >&5
cat > conftest.$ac_ext <<EOF
#line 17734 "configure"
#include "confdefs.h"
#include <vpx/vpx_decoder.h>
- #if !defined(VPX_CODEC_USE_INPUT_PARTITION)
+ #if !defined(VPX_CODEC_USE_INPUT_FRAGMENTS)
#error "test failed."
#endif
@@ -17753,7 +17753,7 @@ else
cat conftest.$ac_ext >&5
rm -rf conftest*
echo "$ac_t""no" 1>&6
- { echo "configure: error: --with-system-libvpx requested but it is not v0.9.7 or later" 1>&2; exit 1; }
+ { echo "configure: error: --with-system-libvpx requested but it is not v1.0.0 or later" 1>&2; exit 1; }
fi
rm -f conftest*
fi

View file

@ -1,24 +0,0 @@
# HG changeset patch
# Parent 6292e55419d1730a2e88a56fd30b2440ce0b393a
# User Raúl Porcel <armin76@gentoo.org>
Bug XXXXXX - Fix TARGET_CPU usage on ARM
diff --git a/xpcom/glue/objs.mk b/xpcom/glue/objs.mk
--- a/xpcom/glue/objs.mk
+++ b/xpcom/glue/objs.mk
@@ -71,13 +71,13 @@ XPCOM_GLUENS_SRC_LCPPSRCS = \
SSE.cpp \
unused.cpp \
nsProxyRelease.cpp \
nsTextFormatter.cpp \
GenericFactory.cpp \
FileUtils.cpp \
$(NULL)
-ifeq (arm,$(TARGET_CPU))
+ifneq (,$(filter arm%,$(TARGET_CPU)))
XPCOM_GLUENS_SRC_LCPPSRCS += arm.cpp
endif
XPCOM_GLUENS_SRC_CPPSRCS = $(addprefix $(topsrcdir)/xpcom/glue/,$(XPCOM_GLUENS_SRC_LCPPSRCS))

View file

@ -1,38 +0,0 @@
# HG changeset patch
# User Benjamin Smedberg <benjamin@smedbergs.us>
# Date 1329314881 18000
# Node ID 355163c56ea5ad5037ac6da754252aaea67d2217
# Parent 81f6b9cbb2a92ac08d1ccc0c1b44d6a5c28f6e2a
Bug 727401 - import libpng overflow patch from http://codereview.chromium.org/9363013
diff --git a/media/libpng/pngrutil.c b/media/libpng/pngrutil.c
--- a/media/libpng/pngrutil.c
+++ b/media/libpng/pngrutil.c
@@ -396,18 +396,25 @@ png_decompress_chunk(png_structp png_ptr
#if defined(PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED) || \
defined(PNG_USER_CHUNK_MALLOC_MAX)
else
#endif
if (expanded_size > 0)
{
/* Success (maybe) - really uncompress the chunk. */
png_size_t new_size = 0;
- png_charp text = png_malloc_warn(png_ptr,
- prefix_size + expanded_size + 1);
+ png_charp text = NULL;
+ /* Need to check for both truncation (64-bit platforms) and integer
+ * overflow.
+ */
+ if (prefix_size + expanded_size > prefix_size &&
+ prefix_size + expanded_size < 0xffffffffU)
+ {
+ text = png_malloc_warn(png_ptr, prefix_size + expanded_size + 1);
+ }
if (text != NULL)
{
png_memcpy(text, png_ptr->chunkdata, prefix_size);
new_size = png_inflate(png_ptr,
(png_bytep)(png_ptr->chunkdata + prefix_size),
chunklength - prefix_size,
(png_bytep)(text + prefix_size), expanded_size);

View file

@ -1,23 +0,0 @@
diff -up xulrunner-1.9.3.0/mozilla-central/security/manager/Makefile.in.build xulrunner-1.9.3.0/mozilla-central/security/manager/Makefile.in
--- xulrunner-1.9.3.0/mozilla-central/security/manager/Makefile.in.build 2010-08-06 03:09:27.000000000 +0200
+++ xulrunner-1.9.3.0/mozilla-central/security/manager/Makefile.in 2010-08-16 10:49:10.000000000 +0200
@@ -181,7 +181,6 @@ DEFAULT_GMAKE_FLAGS += NSPR_INCLUDE_DIR=
DEFAULT_GMAKE_FLAGS += NSPR_LIB_DIR=$(NSPR_LIB_DIR)
DEFAULT_GMAKE_FLAGS += MOZILLA_CLIENT=1
DEFAULT_GMAKE_FLAGS += NO_MDUPDATE=1
-DEFAULT_GMAKE_FLAGS += NSS_ENABLE_ECC=1
DEFAULT_GMAKE_FLAGS += NSINSTALL="$(NSINSTALL)"
ifndef MOZ_NATIVE_SQLITE
DEFAULT_GMAKE_FLAGS += SQLITE_LIB_NAME=mozsqlite3
diff -up xulrunner-1.9.3.0/mozilla-central/security/manager/ssl/src/Makefile.in.build xulrunner-1.9.3.0/mozilla-central/security/manager/ssl/src/Makefile.in
--- xulrunner-1.9.3.0/mozilla-central/security/manager/ssl/src/Makefile.in.build 2010-08-06 03:09:17.000000000 +0200
+++ xulrunner-1.9.3.0/mozilla-central/security/manager/ssl/src/Makefile.in 2010-08-16 10:46:22.000000000 +0200
@@ -113,8 +113,6 @@ CSRCS += md4.c
EXTRA_DEPS = $(NSS_DEP_LIBS)
-DEFINES += -DNSS_ENABLE_ECC
-
# Use local includes because they are inserted before INCLUDES
# so that Mozilla's nss.h is used, not glibc's
LOCAL_INCLUDES += $(NSS_CFLAGS)

View file

@ -1,26 +0,0 @@
diff -up mozilla-beta/ipc/chromium/src/base/file_util_linux.cc.file mozilla-beta/ipc/chromium/src/base/file_util_linux.cc
--- mozilla-beta/ipc/chromium/src/base/file_util_linux.cc.file 2012-01-24 09:00:00.000000000 +0100
+++ mozilla-beta/ipc/chromium/src/base/file_util_linux.cc 2012-01-25 15:30:43.707796295 +0100
@@ -5,6 +5,9 @@
#include "base/file_util.h"
#include <fcntl.h>
+#if defined(ANDROID) || defined(OS_POSIX)
+#include <unistd.h>
+#endif
#include <string>
#include <vector>
diff -up mozilla-beta/ipc/chromium/src/base/message_pump_libevent.cc.file mozilla-beta/ipc/chromium/src/base/message_pump_libevent.cc
--- mozilla-beta/ipc/chromium/src/base/message_pump_libevent.cc.file 2012-01-24 09:00:00.000000000 +0100
+++ mozilla-beta/ipc/chromium/src/base/message_pump_libevent.cc 2012-01-25 15:13:11.947771212 +0100
@@ -6,6 +6,9 @@
#include <errno.h>
#include <fcntl.h>
+#if defined(ANDROID) || defined(OS_POSIX)
+#include <unistd.h>
+#endif
#include "eintr_wrapper.h"
#include "base/logging.h"

View file

@ -1 +0,0 @@
265c53120fd923c742164b0002ebbf6c xulrunner-10.0.1.source.tar.bz2

View file

@ -1,29 +0,0 @@
#
# Online Desktop expects WMCLASS to match the .desktop file
# Since renaming the .desktop file is bad, work around this here
#
diff -up ./widget/src/gtk2/nsWindow.cpp.wmclass ./widget/src/gtk2/nsWindow.cpp
--- ./widget/src/gtk2/nsWindow.cpp.wmclass 2010-10-25 11:33:21.649433261 -0700
+++ ./widget/src/gtk2/nsWindow.cpp 2010-10-25 11:36:19.864431870 -0700
@@ -3738,6 +3738,10 @@ nsWindow::Create(nsIWidget *aPare
GetBrandName(brandName);
NS_ConvertUTF16toUTF8 cBrand(brandName);
+ if (brandName.EqualsLiteral("Minefield")) {
+ cBrand.Assign("Firefox");
+ }
+
if (mWindowType == eWindowType_dialog) {
mShell = gtk_window_new(GTK_WINDOW_TOPLEVEL);
SetDefaultIcon();
@@ -4109,6 +4113,9 @@ nsWindow::SetWindowClass(const nsAString
#ifdef MOZ_X11
nsXPIDLString brandName;
GetBrandName(brandName);
+ if (brandName.EqualsLiteral("Minefield")) {
+ brandName.AssignLiteral("Firefox");
+ }
XClassHint *class_hint = XAllocClassHint();
if (!class_hint)

View file

@ -1,25 +0,0 @@
diff -up mozilla-beta/ipc/chromium/src/base/time_posix.cc.gcc47 mozilla-beta/ipc/chromium/src/base/time_posix.cc
--- mozilla-beta/ipc/chromium/src/base/time_posix.cc.gcc47 2012-01-24 03:00:00.000000000 -0500
+++ mozilla-beta/ipc/chromium/src/base/time_posix.cc 2012-01-30 14:12:49.198472212 -0500
@@ -14,6 +14,8 @@
#include <time.h>
#endif
+#include <unistd.h>
+
#include <limits>
#include "base/basictypes.h"
diff -up mozilla-beta/toolkit/crashreporter/client/Makefile.in.gcc47 mozilla-beta/toolkit/crashreporter/client/Makefile.in
--- mozilla-beta/toolkit/crashreporter/client/Makefile.in.gcc47 2012-01-30 14:41:14.475441039 -0500
+++ mozilla-beta/toolkit/crashreporter/client/Makefile.in 2012-01-30 14:43:03.587646656 -0500
@@ -69,6 +69,9 @@ CPPSRCS = \
$(STDCXX_COMPAT) \
$(NULL)
+# Needed for moz_free
+LIBS += -L$(LIBXUL_DIST)/lib -lmozalloc
+
ifeq ($(OS_ARCH),WINNT)
CPPSRCS += crashreporter_win.cpp
LIBS += \

View file

@ -1,33 +0,0 @@
Bug 627669 - add support for s390(x) and ppc(64)
diff -up mozilla-release/gfx/ycbcr/chromium_types.h.chromium-types mozilla-release/gfx/ycbcr/chromium_types.h
--- mozilla-release/gfx/ycbcr/chromium_types.h.chromium-types 2011-06-15 23:57:26.000000000 +0200
+++ mozilla-release/gfx/ycbcr/chromium_types.h 2011-06-30 10:04:25.105032221 +0200
@@ -61,7 +61,11 @@ typedef PRInt16 int16;
#define ARCH_CPU_ARM_FAMILY 1
#define ARCH_CPU_ARMEL 1
#define ARCH_CPU_32_BITS 1
-#elif defined(__ppc__) || defined(__powerpc) || defined(__PPC__)
+#elif defined(__ppc64__) || defined(__powerpc64__)
+#define ARCH_CPU_PPC_FAMILY 1
+#define ARCH_CPU_PPC 1
+#define ARCH_CPU_64_BITS 1
+#elif defined(__ppc__) || defined(__powerpc__) || defined(__PPC__)
#define ARCH_CPU_PPC_FAMILY 1
#define ARCH_CPU_PPC 1
#define ARCH_CPU_32_BITS 1
@@ -73,6 +77,14 @@ typedef PRInt16 int16;
#define ARCH_CPU_SPARC_FAMILY 1
#define ARCH_CPU_SPARC 1
#define ARCH_CPU_64_BITS 1
+#elif defined(__s390x__)
+#define ARCH_CPU_S390_FAMILY 1
+#define ARCH_CPU_S390 1
+#define ARCH_CPU_64_BITS 1
+#elif defined(__s390__)
+#define ARCH_CPU_S390_FAMILY 1
+#define ARCH_CPU_S390 1
+#define ARCH_CPU_32_BITS 1
#else
#warning Please add support for your architecture in chromium_types.h
#endif

View file

@ -1,21 +0,0 @@
diff -up mozilla-release/dom/plugins/base/npapi.h.BAD mozilla-release/dom/plugins/base/npapi.h
--- mozilla-release/dom/plugins/base/npapi.h.BAD 2011-12-06 13:31:16.364405916 -0500
+++ mozilla-release/dom/plugins/base/npapi.h 2011-12-06 13:31:47.131109006 -0500
@@ -379,7 +379,7 @@ typedef enum {
, NPPVpluginCoreAnimationLayer = 1003
#endif
-#if (MOZ_PLATFORM_MAEMO == 5) || (MOZ_PLATFORM_MAEMO == 6)
+#if defined(MOZ_PLATFORM_MAEMO) && ((MOZ_PLATFORM_MAEMO == 5) || (MOZ_PLATFORM_MAEMO == 6))
, NPPVpluginWindowlessLocalBool = 2002
#endif
} NPPVariable;
@@ -432,7 +432,7 @@ typedef enum {
, NPNVsupportsCompositingCoreAnimationPluginsBool = 74656 /* TRUE if the browser supports
CA model compositing */
#endif
-#if (MOZ_PLATFORM_MAEMO == 5) || (MOZ_PLATFORM_MAEMO == 6)
+#if defined(MOZ_PLATFORM_MAEMO) && ((MOZ_PLATFORM_MAEMO == 5) || (MOZ_PLATFORM_MAEMO == 6))
, NPNVSupportsWindowlessLocal = 2002
#endif
} NPNVariable;

View file

@ -1,11 +0,0 @@
diff -up xulrunner-9.0.1/mozilla-release/js/src/jscompartment.cpp.orig xulrunner-9.0.1/mozilla-release/js/src/jscompartment.cpp
--- xulrunner-9.0.1/mozilla-release/js/src/jscompartment.cpp.orig 2012-01-04 11:06:39.000000000 +0100
+++ xulrunner-9.0.1/mozilla-release/js/src/jscompartment.cpp 2012-01-04 11:06:43.000000000 +0100
@@ -50,7 +50,6 @@
#include "jswatchpoint.h"
#include "jswrapper.h"
#include "assembler/wtf/Platform.h"
-#include "assembler/jit/ExecutableAllocator.h"
#include "yarr/BumpPointerAllocator.h"
#include "methodjit/MethodJIT.h"
#include "methodjit/PolyIC.h"

View file

@ -1,48 +0,0 @@
. $topsrcdir/xulrunner/config/mozconfig
# --with-system-png is disabled because Mozilla requires APNG support in libpng
#ac_add_options --with-system-png
ac_add_options --prefix="$PREFIX"
ac_add_options --libdir="$LIBDIR"
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-system-bz2
ac_add_options --with-system-libvpx
ac_add_options --enable-system-hunspell
ac_add_options --enable-system-cairo
ac_add_options --with-pthreads
ac_add_options --disable-strip
ac_add_options --disable-tests
ac_add_options --disable-mochitest
ac_add_options --disable-installer
ac_add_options --disable-debug
ac_add_options --enable-optimize
ac_add_options --enable-xinerama
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --enable-pango
ac_add_options --enable-svg
ac_add_options --enable-canvas
ac_add_options --disable-javaxpcom
ac_add_options --disable-crashreporter
ac_add_options --enable-safe-browsing
ac_add_options --enable-extensions=default
ac_add_options --enable-libnotify
ac_add_options --disable-necko-wifi
ac_add_options --enable-startup-notification
ac_add_options --disable-cpp-exceptions
ac_add_options --enable-shared-js
ac_add_options --enable-url-classifier
ac_add_options --enable-gio
ac_add_options --disable-gnomevfs
ac_add_options --disable-updater
ac_add_options --enable-chrome-format=omni
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
export MOZ_UA_BUILDID=20100101
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@

View file

@ -1,5 +0,0 @@
# For mozilla's debuginfo:
export CFLAGS="$CFLAGS -gdwarf-2"
export CXXFLAGS="$CXXFLAGS -gdwarf-2"
export MOZ_DEBUG_SYMBOLS=1
ac_add_options --enable-crashreporter

File diff suppressed because it is too large Load diff

View file

@ -1,8 +0,0 @@
pref("app.update.enabled", false);
pref("app.update.autoInstallEnabled", false);
pref("general.smoothScroll", true);
pref("intl.locale.matchOS", true);
pref("network.manage-offline-status", true);
pref("toolkit.storage.synchronous", 0);
pref("toolkit.networkmanager.disable", false);
pref("offline.autoDetect", true);

View file

@ -1,13 +0,0 @@
diff -up mozilla/toolkit/mozapps/update/src/updater/module.ver mozilla/toolkit/mozapps/update/src/updater/module
diff -up mozilla/xulrunner/installer/Makefile.in.ver mozilla/xulrunner/installer/Makefile.in
--- mozilla/xulrunner/installer/Makefile.in.ver 2007-12-14 09:51:34.000000000 +0100
+++ mozilla/xulrunner/installer/Makefile.in 2007-12-14 09:52:03.000000000 +0100
@@ -44,6 +44,8 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
+MOZ_APP_VERSION="__RPM_VERSION_INTERNAL__"
+
NO_PKG_FILES = \
xulrunner-config \
regchrome* \

View file

@ -1,69 +0,0 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
##
## Usage:
##
## $ xulrunner
##
## This script is meant to run a xulrunner program from the xulrunner
## rpm installation.
##
cmdname=`basename $0`
##
## Variables
##
XUL_ARCH=$(uname -m)
case $XUL_ARCH in
x86_64 | ia64 | s390 )
XUL_LIB_DIR="/usr/lib64"
SECONDARY_LIB_DIR="/usr/lib"
;;
* )
XUL_LIB_DIR="/usr/lib"
SECONDARY_LIB_DIR="/usr/lib64"
;;
esac
if [ ! -x $XUL_LIB_DIR/xulrunner-XULRUNNER_VERSION/xulrunner ]; then
if [ ! -x $SECONDARY_LIB_DIR/xulrunner-XULRUNNER_VERSION/xulrunner ]; then
echo "Error: $XUL_LIB_DIR/xulrunner-XULRUNNER_VERSION/xulrunner not found"
if [ -d $SECONDARY_LIB_DIR ]; then
echo " $SECONDARY_LIB_DIR/xulrunner-XULRUNNER_VERSION/xulrunner not found"
fi
exit 1
fi
XUL_LIB_DIR="$SECONDARY_LIB_DIR"
fi
XUL_DIST_BIN="$XUL_LIB_DIR/xulrunner-XULRUNNER_VERSION"
XUL_PROGRAM="$XUL_DIST_BIN/xulrunner"
##
## Enable WebGL
##
MOZ_GLX_IGNORE_BLACKLIST=1
export MOZ_GLX_IGNORE_BLACKLIST
exec $XUL_PROGRAM "$@"

File diff suppressed because it is too large Load diff