Commit Graph

164 Commits

Author SHA1 Message Date
landry
d76fc56cc5 Fix build on i386 by applying more -msse4.1 (or is it SSSE4_1 ?) parts from
the pending patch in bug #1028827, mostly from Fabian Raetz.
Breakage noticed by sthen@, thanks!
2014-12-09 16:49:22 +00:00
landry
189bbb33df Update to firefox 34.0.
- See https://www.mozilla.org/en-US/firefox/34.0/releasenotes/
- Fixes MFSA-2014-83->91
- Remove patch-toolkit_library_libxul_mk, merged (#1036832)
- Remove patch-gfx_skia_trunk_src_opts_SkBitmapProcState_opts_SSSE3_cpp,
  merged upstream (but the root issue on i386 is still being worked on, #1028827)
- Add patch-xpcom_reflect_xptcall_md_unix_moz_build from (#971897),
  fixes the download progressbars. Nice work from Fabian Raetz, thanks!
2014-12-04 17:50:12 +00:00
landry
de4653acc2 Update to firefox 33.0.
- See https://www.mozilla.org/en-US/firefox/33.0/releasenotes/
- Fixes MFSA 2014-74-->82
- build with systemwide icu4c, workarounds #1064665 (and as a side
  effect shrinks the libs/packages by 1 or 2 megs)
- add patch-toolkit_library_libxul_mk from bug #1036832 to workaround a
  linking failure with our ancient binutils
- remove patch-media_libvpx_Makefile_in from #982693 fixing libvpx build
  on i386, a variation of it was merged upstream

tested by bcallah@, benoit@ and Fabian Raetz, thanks!
2014-10-17 07:26:21 +00:00
landry
fd1b21a1b5 Update to firefox 32.0
- see https://www.mozilla.org/en-US/firefox/32.0/releasenotes/
- remove patch-toolkit_components_downloads_nsDownloadManager_cpp and
  patch-xpcom_io_SpecialSystemDirectory_cpp fiddling with modes when
creating user dirs, they never made sense to me, and this is the wrong
place to touch this.
- remove patch-webapprt_moz_build, patch-webapprt_gtk2_Makefile_in and
  patch-configure_in from #1012447, merged upstream
2014-09-02 16:43:04 +00:00
landry
235e4c6056 Update to firefox 31.0.
- See https://www.mozilla.org/en-US/firefox/31.0/releasenotes/
- Fixes MFSA 2014-56->66
- rm/add aboutcerterror/aboutCertError.xhtml patch, corresponding code
  moved - i'm still pondering why we keep that patch..
- remove patch-browser_branding_official_Makefile_in, merged (#992613)
- remove chunk 1 of patch-configure_in, merged (#991686)
- improve skia/i386/sse3 patches from #1028827, for something simpler and
  closer to what will be commited upstream
- fix README to point users to gstreamer1-plugins-libav instead of
  gstreamer-ffmpeg, reminded by jturner@ a while ago

ok sthen@ jasper@ naddy@
2014-07-24 18:03:00 +00:00
landry
fa6dc9ff59 Cope with the fact that <endian.h> arrived in /usr/include, and doesnt
provide __BYTE_ORDER like apparentely expected everywhere else.. to be
reported upstream.
2014-07-13 22:37:00 +00:00
sthen
cf9eb7d6bb Work around Firefox build failure on i386 occurring since skia was updated
in 30.0, see https://bugzilla.mozilla.org/show_bug.cgi?id=1028827.

Remove some "if build machine has SSE2/SSSE3 then don't bother with cpuid
feature checks at runtime" pieces.

ok jasper@ (landry is away for a few days).
2014-06-26 13:40:59 +00:00
landry
11586b7e61 Update to firefox 30.0.
- See http://www.mozilla.org/en-US/firefox/30.0/releasenotes/
- Fixes MFSA 2014-48->54
- Switch to use gstreamer 1.0 by default
- Add a bunch of patches from #992613, #991613, #1012447 to build
  properly with gtk3
- Note that this fixes runtime on ppc which was broken since 29 (see
  #961488), which was quite a hairy one
- Still running fine on sparc64 !
2014-06-14 13:03:31 +00:00
landry
5c01341b63 Bugfix update to firefox 29.0.1.
- see http://www.mozilla.org/en-US/firefox/29.0.1/releasenotes/
- mostly fixes two annoying bugs with broken session restore (#1001167),
  pdf.js printing (#1003707), and disables seer for causing some
slow shutdowns (#1005958).
2014-05-10 05:50:56 +00:00
landry
edab3f275f Update to firefox 29.0, with the brand new Australis UI.
- See http://www.mozilla.org/en-US/firefox/29.0/releasenotes/
- Fixes MFSA 2014-34->47
- add spellchecker.dictionary_path as a default pref in all-openbsd.js,
pointing to ${LOCALBASE}/share/mozilla-dicts/ so that it looks for
systemwide dictionaries.
- Remove now useless patch-extensions_spellcheck_hunspell_src_mozHunspell_cpp
- Add patch for #990196, tries to use INSTALL_SCRIPT during build which
  badly fails as user.

Note that starting with Fx 29, the sync protocol v1.1 used by
www/mozilla-sync still works but is not advertised anymore, and will be
phased out by v1.5 in Fx 31. www/mozilla-sync port will be updated in the
meantime, but users will have to reconfigure all their instances...
2014-04-29 21:26:43 +00:00
landry
fb612f2ef8 -fno-integrated-as breaks non-clang platforms, apply it only on amd64
via an environment variable hack.

from/with sthen@
2014-04-22 11:38:33 +00:00
ajacoutot
d07fb524ab Drop the gssapi patch. It will come back in the next official FF release
but better fail soon so that people realise support is gone.

discussed with landry@ (maintainer)
2014-04-22 08:43:28 +00:00
landry
f7c7f401f9 Fix build in libvpx asm with newer llvm, see #982693 2014-04-20 16:18:55 +00:00
landry
002e35f0d8 Update to firefox 28.0.
- See http://www.mozilla.org/en-US/firefox/28.0/releasenotes/
- Fixes MFSA 2014-15->32
- add an all-openbsd.js file to modify default preferences instead of
  patching browser/app/profile/firefox.js like pigs. Install it in
browser/defaults/preferences/ so that it is effective by default for
newer profiles. Currently, we only use it to disable safebrowsing
feature..
- remove libffi patches, were merged upstream in #928390 and #928381
2014-03-24 21:11:37 +00:00
landry
f54b886d7a Update to firefox 27.0.1.
- See http://www.mozilla.org/en-US/firefox/27.0.1/releasenotes/
- Fixes MFSA 2014-01->13
- remove GStreamerLoader.cpp patch, merged in 927898 (or now useless)
- remove patch-gfx_layers_BufferUnrotate_cpp, merged in 929439
- remove patch-ipc_chromium_src_base_debug_util_posix_cc, merged
in 927810 (was p_psflags change in base)

Note: firefox 28 is due in ~10 days, but is depending on a SQLite
update in base, currently being worked on.
2014-03-10 20:53:29 +00:00
landry
fd44f204fd Add a patch from Eric Radman (many thanks!) to properly load all the
depending libs of libgssapi before loading the latter - fixes
kerberos/gssapi authentication for him. To be massaged for integration
upstream in https://bugzilla.mozilla.org/show_bug.cgi?id=648730
2014-01-21 21:51:35 +00:00
landry
98c9b76cfe Backport https://hg.mozilla.org/mozilla-central/rev/0787526e0ed6 to fix
a build failure on sparc64/macppc, adding string.h for memcpy() (#929439)
reported by gilles@ on sparc64, and i also saw it on macppc.
2013-12-25 08:21:39 +00:00
landry
6f2ccd6aac Update to firefox 26.0.
- see http://www.mozilla.org/en-US/firefox/26.0/releasenotes/
- fixes MFSA 2013-104 -> 117
- remove now useless sydney_audio_sndio.c file, nothing uses it anymore
- remove patch-ipc_chromium_src_base_dir_reader_bsd_h-from (#909005),
  the getdents() patch has been merged upstream.
2013-12-12 19:53:19 +00:00
landry
881a1d1ff7 Commited upstream, add bz & cset url. 2013-11-04 21:12:37 +00:00
landry
280051a846 Update to firefox 25.0.
- see http://www.mozilla.org/en-US/firefox/25.0/releasenotes/
- fixes MFSA 2013-93 -> 102
- remove USE_GROFF (from naddy@)
- remove LDEP on gst-plugins-base, gst is dlopened at runtime now, and
  there's a RDEP on gst-plugins-good anyway.
- add patch from #927898 to fix gst runtime dlopening (reminded by dcoppa@)
- add comment about ipc patches from #927810 & #909005
- remove 3 useless patches
2013-10-31 07:58:25 +00:00
landry
a3666aa3b7 Add link to upstream bz# 2013-10-17 11:02:37 +00:00
sthen
7ad838df72 handle p_flags split in kinfo_proc to unbreak 2013-09-25 23:39:54 +00:00
landry
ffe9885dad Update to firefox 24.0.
- see http://www.mozilla.org/en-US/firefox/24.0/releasenotes/
- fixes MFSA 2013-76 -> 92
- remove BROKEN-sparc64, it now works thanks the awesome work of
  martin@netbsd.org in bugs #871101 & #871555 among others i forgot
- add sparc64 & alpha (insane!) to MODGCC4_ARCHS
- remove patch-gfx_thebes_gfxPlatform_cpp, was merged upstream in
  #722975 (and we dont build with system cairo anyway now)
- remove useless patch-parser_html_Makefile_in, maybe it made sense in
  the gcc 3 / ffx 3.6 days but those are over...

(note: a spellchecker issue since fx 23 is known, and might be fixed
later on)
2013-09-19 13:19:16 +00:00
sthen
7816a52b99 remove interim prototype for getdents() now that it's in base 2013-08-16 10:25:31 +00:00
sthen
740711ba9e oops...commit from the correct machine to fix a missing semicolon. 2013-08-15 12:28:04 +00:00
sthen
337737e9d0 fix firefox/seamonkey build on post-flag-day -current:
- use getdents(2) now that we have it; previously OpenBSD was special-cased
to use getdirentries(2) instead.

- interim fix: declare getdents() to allow firefox/seamonkey to build on
-current until consensus has been reached on return types/adding to system
headers.

discussed with landry@, clues from guenther@.
2013-08-15 10:42:51 +00:00
landry
97ed467dcb Update to firefox 23.0.
- http://www.mozilla.org/en-US/firefox/23.0/releasenotes/
- fixes MFSA 2013-63->75
- also use --disable-debug-symbols on powerpc otherwise linking fails..
2013-08-08 06:57:11 +00:00
landry
5779555926 Update to firefox 22.0.
- see http://www.mozilla.org/en-US/firefox/22.0/releasenotes/ (ok,
  webrtc isnt enabled yet by default on *BSD but we're working on it :)
- fixes MFSA 2013-49->62
- remove all patches related to sydneyaudio which got removed upstream,
  sound uses libcubeb which has a native sndio backend since ages (thx
to ratchov!). also remove related post-patch target while here.
- add temporary workaround (TERM=xterm) for bug #878089
- switch i386 to use clang again, using --disable-debug-symbols to make
  the code smaller (who said 'gross hack' ?)
- update patch-gfx_thebes_gfxPlatform_cpp to match what got commited
  upstream in r52b02042b27f
- remove patch-js_src_vm_SPSProfiler_cpp which unbroke powerpc, finally
  got commited in 22 branch
- rework fx-i18n's MESSAGE to be more in line with reality (discussed
  with Marcus Merighi)
2013-06-26 19:29:13 +00:00
ajacoutot
40ff12bf22 Unbreak Mozilla ports after the Heimdal update. 2013-06-17 19:29:05 +00:00
landry
ac33065526 Fix linking on ppc by backporting #846986 which got only fixed in 23,
and forgotten in the other branches.
2013-06-01 22:09:42 +00:00
landry
929b483f4d Update to firefox 21.0.
- See http://www.mozilla.org/en-US/firefox/21.0/releasenotes/
- Fixes MFSA 2013-41->48
- switch back again to use gcc 4.6 on i386, ld hits the memory exhausted
  wall again with objects built with clang. doh.
- stuff shuffled around in PLIST

*BIG SCARY WARNING FOR PRIVACY-CONCERNED USERS*
Firefox 21 starts implementing something called 'Firefox Health Report',
which sends _anonymized_ data to mozilla servers about Firefox
performance.
This is opt-out - users will be prompted at first start if they want to
keep it enabled. This is not turned as an opt-in knob in the port on
purpose, because i got no feedback on this, and that will allow upstream
to know they have some OpenBSD users. This is of course subject to change.

See https://blog.mozilla.org/futurereleases/2013/05/14/firefox-heal-thyself/
& about:healthreport for more info about this.
2013-05-30 14:17:32 +00:00
sthen
d1d3a659eb remove patch-toolkit_mozapps_installer_packager_mk; from landry's git repo
reported by rpe@ nigel@ espie@
2013-04-07 11:51:42 +00:00
landry
ba75ae9fbb Update to firefox 20.0.
- See http://www.mozilla.org/en-US/firefox/20.0/releasenotes/
- Fixes MFSA 2013-30->40
- switch back to use clang on i386, now that llvm got fixed there
- backport libffi i386 fix (TODO: switch to systemwide libffi if possible)
- add nicer fix to avoid installing the sdk lib/headers
2013-04-06 14:44:52 +00:00
landry
33f5cd025c Update to firefox 19.0.1.
- see http://www.mozilla.org/en-US/firefox/19.0/releasenotes/
- fixes MFSA 2013-21->28
- provides a builtin pdf viewer (pdf.js)
- remove patch-toolkit_system_gnome_nsGIOService_cpp (#805202), firefox
  now properly links with gio instead of dlopening it
- remove patch-toolkit_xre_nsXREDirProvider_cpp and
  patch-xpcom_io_nsAppFileLocationProvider_cpp, merged upstream (#803955)
2013-03-03 17:34:15 +00:00
landry
d14d0cb956 Bugfix update to firefox 18.0.2, fixing 'JavaScript related stability
issues' for a well known social network site (bug #831626).

While here remove patch for #830303, commited upstream just after 18.0.1.
2013-02-06 22:44:47 +00:00
landry
01ca69f262 Fix external plugin spawning (bug #830303), reported by nigel@. 2013-01-14 13:52:59 +00:00
landry
c7958be068 Update to firefox 18.0 :
- see http://www.mozilla.org/en-US/firefox/18.0/releasenotes/
- fixes MFSA 2013-14 -> 20
- build with clang on i386/amd64 and with gcc 4.6 on powerpc. Required
  since upstream dropped support for gcc < 4.4.
- don't build against systemwide jpeg anymore since it now needs its
  internal libjpeg-turbo.
- add a stub method to sydney_audio_sndio.c in post-patch. Cant add it
  to the file in cvs directly otherwise it breaks other mozillas
- remove patch-ipc_chromium_src_base_atomicops_h, not needed anymore
ok sthen@
2013-01-11 22:57:14 +00:00
landry
1c2551d2f6 Update to firefox 17.0.
- see http://www.mozilla.org/en-US/firefox/17.0/releasenotes/ for details
- enable the gio/libnotify interaction, since it brings no additional
  dep. libnotify will be dlopened at runtime if present, and gio is
already in the dependency chain. The latter will interact with the gio mime
database for file associations, and firefox will ask the user if he
wants to register it as the default http:// handler. The former will
show a notify popup upon download completion, among others.
- add build depends on yasm in i386/amd64 for webm
- remove patch-browser_app_profile_firefox_js, the updater is already disabled
- remove gstreamer patches from #776838, #777696 & #747257, merged upstream
- remove ipc_message_utils.h patch from #775428, commited upstream
- remove mozalloc.cpp patch, <sys/types.h> is already included above
- remove xpcshell hang patchset from #706955, cant reproduce anymore
- remove patch-security_manager_ssl_src_Makefile_in, unneeded
- remove OS.File extra logging from #785200, merged upstream
- add patch-toolkit_system_gnome_nsGIOService_cpp, workaround for
  #805202 (libgio-2.0.so dlopening), to be removed in fx 19
- remove xpcom arm patch from #783875, merged upstream

ok sthen@
2012-11-24 10:21:50 +00:00
landry
dd73389afd Remove extra verbose logging from OS.File, confuses people. (#785200) 2012-10-17 19:43:24 +00:00
landry
7baf8e351e Update to firefox 16.0.
- see http://www.mozilla.org/en-US/firefox/16.0/releasenotes/ for details
- install an icon into share/pixmaps to fix desktop file icon path
- garbage collect patch-browser_installer_Makefile_in, and
  patch-browser_installer_package-manifest_in, were from upstream
- remove patch-build_unix_mozilla_in, useless since bin/firefox is not a
  script anymore since a while
- remove patch-build_unix_run-mozilla_sh, firefox can be directly
  debugged in gdb now. update README accordingly
- remove patch-config_autoconf_mk_in, XCFLAGS are already passed
- update patch-content_media_gstreamer_nsGStreamerReader_cpp to fix
  gstreamer on BE archs (#777696)
- update patch-extensions_spellcheck_hunspell_src_mozHunspell_cpp after
  nsILocalFile api removal
- remove useless patch-gfx_thebes_Makefile_in pangox patch
- fix PLIST to use proper MOZILLA_VERSION instead of beta MOZILLA_VER
2012-10-10 20:56:13 +00:00
landry
181d9b3892 Remove useless dependency on deprecated pangox.
- remove useless patch to gfx/thebes/Makefile.in adding -lpangox-1.0 to
EXTRA_DSO_LDOPTS, this was maybe useful before ffx 3.0, but mozilla
stopped using pangox between 2.0 and 3.0. See for the last traces of
pangox.h use : https://bugzilla.mozilla.org/show_bug.cgi?id=528941. See
also bugs #323671/#338446
- backport the patch from #528941 to remove useless pangox.h inclusion
from www/firefox35.
- remove the RUN_DEPENDS on pangox-compat
- bump all corresponding REVISIONS
- while here, make sure all moz ports depend on latest nspr 4.9.2 since
  it'll be a requirement for upcoming gecko 16 releases
2012-09-22 10:30:17 +00:00
landry
e274991dbc Backport a patch fixing a crash when viewing H264 video through gstreamer.
https://bugzilla.mozilla.org/show_bug.cgi?id=761030.

Crash reported and fix testing by Juan Francisco Cantero Hurtado.
2012-09-03 13:33:05 +00:00
landry
617089342c Update to firefox 15.0.
- see http://www.mozilla.org/en-US/firefox/15.0/releasenotes/
- add -Os hack to fix a relocation error when linking on ppc (as was
  done in tb since 10..)
- garbage collect nsSound.cpp, the original one uses libcanberra
  properly and thus sndio.
- remove patch from #750620, merged upstream (mfbt/double-conversion)
- remove patches from #747257, merged upstream (gstreamer fix)
- remove patches from #691898, merged upstream (yarr jit ppc)
2012-09-01 13:56:45 +00:00
landry
4c781ead8a Update to firefox 14.0.1.
- see http://www.mozilla.org/en-US/firefox/14.0.1/releasenotes/
- enable H.264 video support through gstreamer. Mention that one needs to
  manually install gstreamer-ffmpeg. Not all videos/sites will work.
- backport cset from #776838 & #747257 for various gst fixes.
- backport cset from #750620 to fix ppc (and other exotic archs) build.
- backport cset from #752895 to fix packaging issues.
- remove patch-content_xslt_src_base_txDouble_cpp, useless since mozilla
  switched to mfbt/double-conversion.
- remove nss opening hack in Sync, it works fine without it.
- remove the -rpath hack, not needed since matthew's ld.so fix from 12/06
2012-08-07 08:55:40 +00:00
landry
3cb9f81e00 Update to firefox 13.0.
See https://www.mozilla.org/en-US/firefox/13.0/releasenotes/ for details
- set SEPARATE_BUILD (workarounds #736961)
- cleanup useless dirs (from #717616)
2012-06-11 15:29:56 +00:00
landry
b2dd2d7451 Sync patches with what has (finally _o/ \o/ \o_ !) been commited
upstream for bug #691898, fixing build on powerpc (and other non
yarr-jit archs..), see
https://hg.mozilla.org/mozilla-central/rev/f5a3a7b9c6b0
2012-05-09 20:36:40 +00:00
landry
b4e577b37e Remove useless patches which should have gone in the attic when updating
to mozilla 9. Better late than never.. Still from upstream bug #648735.
Revs https://hg.mozilla.org/mozilla-central/rev/ea33ddde6ade,
https://hg.mozilla.org/mozilla-central/rev/226136c5812e and
https://hg.mozilla.org/mozilla-central/rev/f78d9f4f5234.

While here add a comment stating the failure fixed by last two remaining
ipc patches.
2012-05-09 17:16:01 +00:00
landry
ff4e0c3f66 Update to firefox 12.0.
- see http://www.mozilla.org/en-US/firefox/12.0/releasenotes/ for details
- two patches moved (patch-widget_src_xpwidgets_nsPrintSettingsImpl_cpp
  and patch-widget_src_gtk2_Makefile_in)
- add two new patches for bug #691898 (patch-js_src_jsapi_cpp and
  /patch-js_src_jsprvtd_h)
- add patch-gfx_thebes_gfxPlatform_cpp to workaround regression
  introduced in bug #715658, which prevents one from building against
systemwide cairo.
- patch-extensions_auth_nsAuthGSSAPI_cpp from bug #667325 got merged
- patch-js_src_js-config_h_in and patch-js_src_jscpucfg_h from #714312 got
  merged
- patch-ipc_chromium_src_base_dir_reader_posix_ -from #714315 got merged
2012-04-30 15:28:42 +00:00
landry
3d95990410 Update to firefox 11.0.
- Fixes MFSA 2012-12->19
- see http://www.mozilla.org/en-US/firefox/11.0/releasenotes/
- complete patchset for #691898, still fixes build on ppc (and hopefully
  commited in firefox 14...)
- add patchset from #706955, workarounds #669050 (xpcshell hangs during
  make install and chokes on CSPUtils.csm, threads related..)
- remove obsolete/commited patches
2012-03-16 21:31:24 +00:00
ajacoutot
a89a75cd04 Garbage collect the /dev/arandom patches.
from Brad
ok landry@ sthen@
2012-03-08 12:13:00 +00:00