Commit Graph

877 Commits

Author SHA1 Message Date
Christopher Aillon
a52b725daa Update scriptlets per latest guidelines
http://fedoraproject.org/wiki/Packaging/ScriptletSnippets
2011-04-15 17:08:42 -07:00
Christopher Aillon
6320782833 Let's do a -3 release 2011-04-04 01:37:06 -07:00
Christopher Aillon
9604b160c3 Manage network state via NetworkManager
https://bugzilla.mozilla.org/show_bug.cgi?id=620472 changed the
default value of this pref in Firefox.  Re-enable it since our
XULRunner build fixes the issues from the upstream bug.
2011-04-04 00:31:36 -07:00
Christopher Aillon
14b5c4f61e Updates for GNOME 3
Taken from https://bugzilla.mozilla.org/show_bug.cgi?id=611953
Patches	2-5.

Not all	patches	have positive review yet; there's a question of
whether to ensure a gsettings key exists, due to picture-filename
changing to picture-uri in the middle of the review process.

This is	something we can control in the	distribution, though, and
don't need to be dynamic about it.
2011-04-03 21:00:32 -07:00
Christopher Aillon
4acbcb3302 Use upstream's version of our patch to set the default browser
When setting the default browser, we want to set it to 'firefox %s'
instead of '/usr/lib{,64}/firefox-4/firefox %s'

firefox-default.patch did the job for us for a bit, but upstream now
has a patch to do this which we can now use.  The patch will check
to see if MOZ_APP_LAUNCHER is passed, and if so, it will use only
the basename when setting the default browser.  We already set
MOZ_APP_LAUNCHER, so just need to switch to using the patch.

From https://bugzilla.mozilla.org/show_bug.cgi?id=611953
Patch 1 - Use MOZ_APP_LAUNCHER for default browser executable (v3, un-bitrotted)
2011-04-03 20:16:30 -07:00
Christopher Aillon
905589a4fd Rebuild 2011-03-22 11:21:31 -07:00
Remi Collet
b1512cc666 Use the gecko_verrel macro for our various requires
This should have been done as part of 59e26d3 but was erroneously
left out. Not doing this would mean that it would be theoretically
possible to update Firefox without a matching XULRunner.

Signed-off-by: Christopher Aillon <caillon@redhat.com>
2011-03-22 11:21:08 -07:00
Christopher Aillon
9f7e181bc4 Firefox 4 2011-03-22 08:41:05 -07:00
Christopher Aillon
59e26d3347 Use pre-versioning similar to XULRunner 2011-03-22 08:35:06 -07:00
Christopher Aillon
c703001907 4.0 RC 2 2011-03-18 18:50:56 -07:00
Christopher Aillon
49840edf8c Install langpacks as .xpi files instead of unpacking them
This helps performance of the browser, notably at startup, as it
needs to open less files.

http://blog.mozilla.com/tglek/2010/03/11/extensions-startup/
2011-03-18 15:00:19 -07:00
Christopher Aillon
36d2d05089 Refactor the langpack symlink creation stuff at startup
We try to create a symlink for the short locale first if we can,
and then try the longer locale.  The code to do this is extremely
similar, so create a bash function to do the work for each.

This will make it easier to switch to a packed langpack extension
format in the future, which will help with startup performance.
2011-03-18 15:00:19 -07:00
Christopher Aillon
779c27ab45 We don't need to pass -UILocale
matchOS takes care of this, so this has actually not been needed for
a long while!  A remnant of the initial import...
2011-03-18 15:00:19 -07:00
Christopher Aillon
8cc5a0416d Macro-ize the langpack directory name 2011-03-18 15:00:19 -07:00
Christopher Aillon
25ccac45b3 typo fix: s/completelly/completely/ 2011-03-18 15:00:18 -07:00
Christopher Aillon
679f99704c typo fix: s/LAUCHER/LAUNCHER/ 2011-03-18 15:00:18 -07:00
Jan Horak
8f8da735b4 Rebuild against libxul, disabled gnomevfs and enabled gio 2011-03-17 18:17:54 +01:00
Christopher Aillon
02547ae08b 4.0 RC 1
Update tarballdir for 2.0
2011-03-09 14:53:50 -08:00
Christopher Aillon
090a50e9e1 Don't explicitly define MOZ_SERVICES_SYNC=1
it's part of the default build so it gets defined anyway
2011-02-27 01:54:34 -08:00
Christopher Aillon
a290d3e115 stop shipping ghosted {compreg,xpti}.dat
they both moved to the profile directory ages ago
2011-02-26 21:54:26 -08:00
Christopher Aillon
0b79269891 Use omnijar as our chrome file format
Don't bother passing a chrome file format in our mozconfig,
omnijar is the default, but it didn't work before.

Adjust the %files list accordingly.

Move various bits to happen before running make install so they
get automatically added to omni.jar.

Make sure to add our prefs file to the manifest file so it gets
pulled in, too.

See http://blog.mozilla.com/mwu/2010/08/13/omnijar-how-does-it-work/
2011-02-26 19:02:04 -08:00
Christopher Aillon
90f2407d00 Remove User-Agent customizations
Support got dropped in https://bugzilla.mozilla.org/show_bug.cgi?id=581008

https://developer.mozilla.org/en/Gecko_user_agent_string_reference
2011-02-26 16:50:19 -08:00
Christopher Aillon
0bdbcabf4b 4.0 Beta 12 2011-02-25 11:42:42 -08:00
Christopher Aillon
8dfddebb20 find-external-requires isn't needed
since we build against xulrunner.
2011-02-10 21:08:11 -08:00
Christopher Aillon
8a31c9db08 Update gecko-{libs,devel} requires 2011-02-10 21:06:42 -08:00
Christopher Aillon
ba1527bcca Use %{ix86} instead of i386 i686 2011-02-10 19:58:25 -08:00
Christopher Aillon
9f853e9749 Remove some unused local variables 2011-02-10 19:52:18 -08:00
Christopher Aillon
bbec2ad49b Revert the bump, it's not needed.
If only koji weren't sucking because of the mass rebuild, this would
have gotten submitted hours ago... still waiting on koji to start
the finish the newRepo with the nss we need to start the XR build
that this needs....
2011-02-08 13:18:41 -08:00
Dennis Gilmore
a88767615a - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 14:13:37 -06:00
Christopher Aillon
c0f195a4ce Firefox 4.0 Beta 11
also, use xz for our generated langpack tarball
2011-02-08 10:17:09 -08:00
Christopher Aillon
90c267f298 Bring back the default browser check
but we don't want the default of '/usr/lib{,64}/firefox-XYZ/firefox %s'
change it to be simply 'firefox %s'
2011-02-07 18:22:22 -08:00
Christopher Aillon
9226a3c56e Remove some crufty commented out code 2011-02-01 09:33:41 -08:00
Christopher Aillon
7d7610c646 Use the -gdwarf-2 format instead of the obsolete -gstabs+
...when we're building mozilla crash reporter support
2011-01-31 19:14:52 -08:00
Christopher Aillon
b4d6e96efe Remove the jemalloc specific patches
They belong in XR, but have already been fixed in other ways anyway
2011-01-31 19:13:52 -08:00
Christopher Aillon
9f0d1ae239 Move the categories directly into the .desktop file itself
No need to --add-category when we simply control the .desktop file
2011-01-31 19:02:11 -08:00
Christopher Aillon
44a1dded91 The mozconfig files should not be executable 2011-01-30 09:07:45 -08:00
Christopher Aillon
b2dc87063d Don't overwrite CFLAGS/CXXFLAGS
The -debuginfo mozconfig was stomping on our CFLAGS/CXXFLAGS.
2011-01-29 14:52:59 -08:00
Christopher Aillon
c763d0e4b3 No longer need to define and clean up the build root
In Fedora 13+ this is handled automatically.
http://fedoraproject.org/wiki/Packaging/Guidelines#BuildRoot_tag
http://fedoraproject.org/wiki/Packaging/Guidelines#.25clean
2011-01-29 13:55:50 -08:00
Christopher Aillon
4071072ba0 Firefox 4.0 Beta 10
And update firefox-default.patch to continue applying to the new tree
2011-01-25 15:28:58 -08:00
Christopher Aillon
430e7dd338 trivial: change the langpacks from source2 to source1
so that source0 and source1 are the two tarballs we always update
2011-01-25 15:24:40 -08:00
Christopher Aillon
ed92d8077d Fix up optimize flags
Don't pass the opt flags twice to moz, as that will just cause them
to be duplicated in the compile lines.

Remove commented out optimization flags in the mozconfig

Also add a comment about why we disable cpp exceptions
2011-01-25 11:18:34 -08:00
Christopher Aillon
3c6d6f9fe7 Update the parallel build flags
Up to -j4 is supported on x86 arches (upstream builds with -j4)
Leave the other arches out still since they are not proven to be reliable.
2011-01-25 11:15:09 -08:00
Christopher Aillon
b51b2892ba Firefox 4.0 Beta 9 2011-01-14 12:21:37 -08:00
Christopher Aillon
a29ca70c4c housekeeping: remove upstreamed patch
Pushed upstream as http://hg.mozilla.org/mozilla-central/rev/526ea23c8b21
2011-01-12 23:32:14 -08:00
Christopher Aillon
20da05478a Remove global prefs
Remove global prefs that already exist in our XULRunner package's prefs.
2011-01-12 15:56:25 -08:00
Dan Horák
e09a913b9a - disable ipc on non-x86 arches to match xulrunner 2011-01-06 12:41:29 +01:00
Martin Stransky
1c699fa97d application.ini permission check fix 2011-01-06 10:36:09 +01:00
Martin Stransky
5cc9effe5e Fixed rhbz#667477 - broken launch script 2011-01-06 08:39:35 +01:00
Martin Stransky
767857cdc5 Fixed rhbz#664877 - Cannot read application.ini 2011-01-04 13:00:05 +01:00
Martin Stransky
9019c4cf58 build fixes 2010-12-21 17:43:16 +01:00