2014-01-09 09:56:01 +00:00
|
|
|
|
# Use system nspr/nss?
|
2012-11-15 08:44:26 +00:00
|
|
|
|
%define system_nss 1
|
|
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
|
# Use system sqlite?
|
2016-07-29 09:24:12 +00:00
|
|
|
|
%if 0%{?fedora} > 23
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%define system_sqlite 1
|
2016-07-29 09:24:12 +00:00
|
|
|
|
%else
|
|
|
|
|
%define system_sqlite 0
|
|
|
|
|
%endif
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%define system_ffi 1
|
|
|
|
|
|
|
|
|
|
# Use system cairo?
|
2014-01-30 10:14:46 +00:00
|
|
|
|
%define system_cairo 0
|
2014-01-09 09:56:01 +00:00
|
|
|
|
|
2016-03-02 15:31:21 +00:00
|
|
|
|
# Use system libvpx?
|
2016-04-25 18:46:34 +00:00
|
|
|
|
%if 0%{?fedora} > 23
|
2016-03-02 15:31:21 +00:00
|
|
|
|
%define system_libvpx 1
|
|
|
|
|
%else
|
|
|
|
|
%define system_libvpx 0
|
|
|
|
|
%endif
|
|
|
|
|
|
2016-04-26 11:33:49 +00:00
|
|
|
|
# Use system libicu?
|
|
|
|
|
%if 0%{?fedora} > 23
|
|
|
|
|
%define system_libicu 1
|
|
|
|
|
%else
|
|
|
|
|
%define system_libicu 0
|
|
|
|
|
%endif
|
|
|
|
|
|
2015-08-25 06:58:24 +00:00
|
|
|
|
# Hardened build?
|
2015-08-25 07:01:20 +00:00
|
|
|
|
%if 0%{?fedora} > 20
|
2015-08-25 06:58:24 +00:00
|
|
|
|
%define hardened_build 1
|
|
|
|
|
%else
|
|
|
|
|
%define hardened_build 0
|
|
|
|
|
%endif
|
|
|
|
|
|
2014-11-04 15:07:20 +00:00
|
|
|
|
%define system_jpeg 1
|
|
|
|
|
|
2014-09-19 08:40:44 +00:00
|
|
|
|
%ifarch %{ix86} x86_64
|
2014-09-25 14:30:54 +00:00
|
|
|
|
%define run_tests 0
|
2014-09-19 08:40:44 +00:00
|
|
|
|
%else
|
|
|
|
|
%define run_tests 0
|
|
|
|
|
%endif
|
|
|
|
|
|
2016-09-26 13:07:02 +00:00
|
|
|
|
%define build_with_rust 0
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} > 23
|
2017-01-20 08:39:39 +00:00
|
|
|
|
%ifarch x86_64
|
2016-09-26 13:07:02 +00:00
|
|
|
|
%define build_with_rust 1
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
2012-03-13 10:15:37 +00:00
|
|
|
|
# Build as a debug package?
|
|
|
|
|
%define debug_build 0
|
|
|
|
|
|
2016-05-23 09:14:39 +00:00
|
|
|
|
%define default_bookmarks_file %{_datadir}/bookmarks/default-bookmarks.html
|
2015-08-07 09:39:21 +00:00
|
|
|
|
%define firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
|
2014-01-09 09:56:01 +00:00
|
|
|
|
# Minimal required versions
|
2014-10-31 11:42:03 +00:00
|
|
|
|
%global cairo_version 1.13.1
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%global freetype_version 2.1.9
|
|
|
|
|
%global libnotify_version 0.7.0
|
2016-03-02 15:31:21 +00:00
|
|
|
|
%if %{?system_libvpx}
|
|
|
|
|
%global libvpx_version 1.4.0
|
|
|
|
|
%endif
|
2014-01-09 09:56:01 +00:00
|
|
|
|
|
|
|
|
|
%if %{?system_nss}
|
2015-10-30 15:09:54 +00:00
|
|
|
|
%global nspr_version 4.10.10
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%global nspr_build_version %(pkg-config --silence-errors --modversion nspr 2>/dev/null || echo 65536)
|
2017-01-20 10:27:21 +00:00
|
|
|
|
%global nss_version 3.27
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%global nss_build_version %(pkg-config --silence-errors --modversion nss 2>/dev/null || echo 65536)
|
|
|
|
|
%endif
|
2004-12-29 02:12:15 +00:00
|
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%if %{?system_sqlite}
|
2014-07-30 12:56:02 +00:00
|
|
|
|
%global sqlite_version 3.8.4.2
|
2014-01-09 09:56:01 +00:00
|
|
|
|
# The actual sqlite version (see #480989):
|
|
|
|
|
%global sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo 65536)
|
|
|
|
|
%endif
|
|
|
|
|
|
2011-09-27 16:18:08 +00:00
|
|
|
|
%global mozappdir %{_libdir}/%{name}
|
2014-01-23 09:26:08 +00:00
|
|
|
|
%global mozappdirdev %{_libdir}/%{name}-devel-%{version}
|
2011-03-13 02:44:20 +00:00
|
|
|
|
%global langpackdir %{mozappdir}/langpacks
|
2015-10-29 14:27:54 +00:00
|
|
|
|
%global tarballdir %{name}-%{version}
|
2010-02-24 13:55:11 +00:00
|
|
|
|
|
2012-11-19 10:08:10 +00:00
|
|
|
|
%define official_branding 1
|
2010-09-21 14:46:19 +00:00
|
|
|
|
%define build_langpacks 1
|
2015-08-19 07:54:46 +00:00
|
|
|
|
|
|
|
|
|
%if !%{debug_build}
|
2013-06-28 14:33:48 +00:00
|
|
|
|
%ifarch %{ix86} x86_64
|
2016-12-21 09:42:19 +00:00
|
|
|
|
%define enable_mozilla_crashreporter 1
|
|
|
|
|
%else
|
2016-02-02 14:50:58 +00:00
|
|
|
|
%define enable_mozilla_crashreporter 0
|
2013-06-28 14:33:48 +00:00
|
|
|
|
%endif
|
2011-03-22 15:35:06 +00:00
|
|
|
|
%endif
|
2014-03-19 07:16:31 +00:00
|
|
|
|
|
2007-12-09 11:35:10 +00:00
|
|
|
|
Summary: Mozilla Firefox Web browser
|
2004-09-09 04:44:49 +00:00
|
|
|
|
Name: firefox
|
2017-01-18 11:42:27 +00:00
|
|
|
|
Version: 51.0
|
2017-01-19 19:52:59 +00:00
|
|
|
|
Release: 2%{?pre_tag}%{?dist}
|
2016-05-02 12:27:50 +00:00
|
|
|
|
URL: https://www.mozilla.org/firefox/
|
2007-08-13 20:25:11 +00:00
|
|
|
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
2004-09-09 04:44:49 +00:00
|
|
|
|
Group: Applications/Internet
|
2016-01-26 08:33:15 +00:00
|
|
|
|
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
|
2008-06-18 00:52:47 +00:00
|
|
|
|
%if %{build_langpacks}
|
2017-01-19 19:52:59 +00:00
|
|
|
|
Source1: firefox-langpacks-%{version}%{?pre_version}-20170119.tar.xz
|
2008-06-18 00:52:47 +00:00
|
|
|
|
%endif
|
2005-07-18 20:30:35 +00:00
|
|
|
|
Source10: firefox-mozconfig
|
2007-03-20 18:25:16 +00:00
|
|
|
|
Source12: firefox-redhat-default-prefs.js
|
2004-12-12 08:42:36 +00:00
|
|
|
|
Source20: firefox.desktop
|
|
|
|
|
Source21: firefox.sh.in
|
2006-09-07 04:19:44 +00:00
|
|
|
|
Source23: firefox.1
|
2014-09-10 10:43:04 +00:00
|
|
|
|
Source24: mozilla-api-key
|
2015-07-02 13:48:32 +00:00
|
|
|
|
Source25: firefox-symbolic.svg
|
2007-12-09 11:35:10 +00:00
|
|
|
|
|
2016-05-27 08:49:21 +00:00
|
|
|
|
# Build patches
|
2011-09-27 16:18:08 +00:00
|
|
|
|
Patch0: firefox-install-dir.patch
|
2014-01-09 09:56:01 +00:00
|
|
|
|
Patch3: mozilla-build-arm.patch
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=814879#c3
|
|
|
|
|
Patch18: xulrunner-24.0-jemalloc-ppc.patch
|
|
|
|
|
# workaround linking issue on s390 (JSContext::updateMallocCounter(size_t) not found)
|
|
|
|
|
Patch19: xulrunner-24.0-s390-inlines.patch
|
2014-10-14 10:41:33 +00:00
|
|
|
|
Patch20: firefox-build-prbool.patch
|
2015-03-06 15:38:42 +00:00
|
|
|
|
Patch21: firefox-ppc64le.patch
|
2015-04-07 11:36:59 +00:00
|
|
|
|
Patch24: firefox-debug.patch
|
2015-05-11 08:56:28 +00:00
|
|
|
|
Patch25: rhbz-1219542-s390-build.patch
|
2014-01-09 09:56:01 +00:00
|
|
|
|
|
|
|
|
|
# Fedora specific patches
|
|
|
|
|
# Unable to install addons from https pages
|
|
|
|
|
Patch204: rhbz-966424.patch
|
2014-07-29 13:20:46 +00:00
|
|
|
|
Patch215: firefox-enable-addons.patch
|
2014-12-23 14:43:44 +00:00
|
|
|
|
Patch219: rhbz-1173156.patch
|
2015-02-09 17:20:06 +00:00
|
|
|
|
Patch221: firefox-fedora-ua.patch
|
2016-03-21 13:40:15 +00:00
|
|
|
|
Patch224: mozilla-1170092.patch
|
2016-10-03 09:15:55 +00:00
|
|
|
|
Patch225: mozilla-1005640-accept-lang.patch
|
2010-06-24 10:51:03 +00:00
|
|
|
|
|
2008-06-18 00:52:47 +00:00
|
|
|
|
# Upstream patches
|
2016-03-03 12:40:14 +00:00
|
|
|
|
Patch304: mozilla-1253216.patch
|
2016-04-28 12:40:31 +00:00
|
|
|
|
Patch402: mozilla-1196777.patch
|
2016-07-11 11:56:16 +00:00
|
|
|
|
Patch406: mozilla-256180.patch
|
2016-11-24 11:17:42 +00:00
|
|
|
|
# Rebase Gtk3 widget code to latest trunk to
|
|
|
|
|
# fix various rendering problems
|
2017-01-18 16:30:40 +00:00
|
|
|
|
Patch407: widget-rebase.patch
|
2017-01-20 08:35:10 +00:00
|
|
|
|
Patch408: mozilla-1319374.patch
|
2008-01-08 10:43:50 +00:00
|
|
|
|
|
2016-03-21 13:40:15 +00:00
|
|
|
|
# Debian patches
|
2016-04-26 08:46:26 +00:00
|
|
|
|
Patch500: mozilla-440908.patch
|
2014-11-03 13:56:26 +00:00
|
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%if %{?system_nss}
|
2015-11-04 12:57:49 +00:00
|
|
|
|
BuildRequires: pkgconfig(nspr) >= %{nspr_version}
|
|
|
|
|
BuildRequires: pkgconfig(nss) >= %{nss_version}
|
2014-01-09 09:56:01 +00:00
|
|
|
|
BuildRequires: nss-static >= %{nss_version}
|
|
|
|
|
%endif
|
|
|
|
|
%if %{?system_cairo}
|
2015-11-04 12:57:49 +00:00
|
|
|
|
BuildRequires: pkgconfig(cairo) >= %{cairo_version}
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%endif
|
2015-11-04 12:57:49 +00:00
|
|
|
|
BuildRequires: pkgconfig(libpng)
|
2016-01-13 12:57:13 +00:00
|
|
|
|
%if %{?system_jpeg}
|
2014-01-09 09:56:01 +00:00
|
|
|
|
BuildRequires: libjpeg-devel
|
2016-01-13 12:57:13 +00:00
|
|
|
|
%endif
|
2014-01-09 09:56:01 +00:00
|
|
|
|
BuildRequires: zip
|
|
|
|
|
BuildRequires: bzip2-devel
|
2015-11-04 12:57:49 +00:00
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
|
BuildRequires: pkgconfig(libIDL-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(krb5)
|
|
|
|
|
BuildRequires: pkgconfig(pango)
|
|
|
|
|
BuildRequires: pkgconfig(freetype2) >= %{freetype_version}
|
|
|
|
|
BuildRequires: pkgconfig(xt)
|
|
|
|
|
BuildRequires: pkgconfig(xrender)
|
|
|
|
|
BuildRequires: pkgconfig(hunspell)
|
|
|
|
|
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(alsa)
|
|
|
|
|
BuildRequires: pkgconfig(libnotify) >= %{libnotify_version}
|
|
|
|
|
BuildRequires: pkgconfig(dri)
|
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
2016-10-31 07:59:22 +00:00
|
|
|
|
BuildRequires: dbus-glib-devel
|
2016-03-02 15:31:21 +00:00
|
|
|
|
%if %{?system_libvpx}
|
2015-11-05 12:27:00 +00:00
|
|
|
|
BuildRequires: libvpx-devel >= %{libvpx_version}
|
2016-03-02 15:31:21 +00:00
|
|
|
|
%endif
|
2014-01-09 09:56:01 +00:00
|
|
|
|
BuildRequires: autoconf213
|
2015-11-04 12:57:49 +00:00
|
|
|
|
BuildRequires: pkgconfig(libpulse)
|
|
|
|
|
BuildRequires: pkgconfig(icu-i18n)
|
|
|
|
|
BuildRequires: pkgconfig(gconf-2.0)
|
2014-11-04 15:07:20 +00:00
|
|
|
|
BuildRequires: yasm
|
2014-01-09 09:56:01 +00:00
|
|
|
|
|
|
|
|
|
Requires: mozilla-filesystem
|
|
|
|
|
%if %{?system_nss}
|
|
|
|
|
Requires: nspr >= %{nspr_build_version}
|
|
|
|
|
Requires: nss >= %{nss_build_version}
|
|
|
|
|
%endif
|
2004-10-08 11:25:28 +00:00
|
|
|
|
|
2004-09-09 04:44:49 +00:00
|
|
|
|
BuildRequires: desktop-file-utils
|
2007-03-20 20:14:33 +00:00
|
|
|
|
BuildRequires: system-bookmarks
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%if %{?system_sqlite}
|
2015-11-04 12:57:49 +00:00
|
|
|
|
BuildRequires: pkgconfig(sqlite3) >= %{sqlite_version}
|
2014-01-09 09:56:01 +00:00
|
|
|
|
Requires: sqlite >= %{sqlite_build_version}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{?system_ffi}
|
2015-11-04 12:57:49 +00:00
|
|
|
|
BuildRequires: pkgconfig(libffi)
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%endif
|
2004-11-01 12:41:18 +00:00
|
|
|
|
|
2014-09-19 08:40:44 +00:00
|
|
|
|
%if %{?run_tests}
|
|
|
|
|
BuildRequires: xorg-x11-server-Xvfb
|
|
|
|
|
%endif
|
2016-09-26 13:07:02 +00:00
|
|
|
|
%if %{?build_with_rust}
|
|
|
|
|
BuildRequires: rust
|
2017-01-19 16:49:55 +00:00
|
|
|
|
BuildRequires: cargo
|
2016-09-26 13:07:02 +00:00
|
|
|
|
%endif
|
2014-09-19 08:40:44 +00:00
|
|
|
|
|
2006-09-20 05:22:51 +00:00
|
|
|
|
Obsoletes: mozilla <= 37:1.7.13
|
2004-09-09 04:44:49 +00:00
|
|
|
|
Provides: webclient
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Mozilla Firefox is an open-source web browser, designed for standards
|
|
|
|
|
compliance, performance and portability.
|
2014-09-19 08:40:44 +00:00
|
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%if %{enable_mozilla_crashreporter}
|
|
|
|
|
%global moz_debug_prefix %{_prefix}/lib/debug
|
|
|
|
|
%global moz_debug_dir %{moz_debug_prefix}%{mozappdir}
|
|
|
|
|
%global uname_m %(uname -m)
|
|
|
|
|
%global symbols_file_name %{name}-%{version}.en-US.%{_os}-%{uname_m}.crashreporter-symbols.zip
|
|
|
|
|
%global symbols_file_path %{moz_debug_dir}/%{symbols_file_name}
|
|
|
|
|
%global _find_debuginfo_opts -p %{symbols_file_path} -o debugcrashreporter.list
|
|
|
|
|
%global crashreporter_pkg_name mozilla-crashreporter-%{name}-debuginfo
|
|
|
|
|
%package -n %{crashreporter_pkg_name}
|
|
|
|
|
Summary: Debugging symbols used by Mozilla's crash reporter servers
|
|
|
|
|
Group: Development/Debug
|
|
|
|
|
%description -n %{crashreporter_pkg_name}
|
2014-09-19 08:40:44 +00:00
|
|
|
|
This package provides debug information for Firefox, for use by
|
2014-01-09 09:56:01 +00:00
|
|
|
|
Mozilla's crash reporter servers. If you are trying to locally
|
|
|
|
|
debug %{name}, you want to install %{name}-debuginfo instead.
|
|
|
|
|
%files -n %{crashreporter_pkg_name} -f debugcrashreporter.list
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%endif
|
2004-09-09 04:44:49 +00:00
|
|
|
|
|
2014-09-19 08:40:44 +00:00
|
|
|
|
%if %{run_tests}
|
|
|
|
|
%global testsuite_pkg_name mozilla-%{name}-testresults
|
|
|
|
|
%package -n %{testsuite_pkg_name}
|
|
|
|
|
Summary: Results of testsuite
|
|
|
|
|
Group: Development/Debug
|
|
|
|
|
%description -n %{testsuite_pkg_name}
|
|
|
|
|
This package contains results of tests executed during build.
|
|
|
|
|
%files -n %{testsuite_pkg_name}
|
|
|
|
|
/test_results
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%endif
|
|
|
|
|
|
2004-09-09 04:44:49 +00:00
|
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
%prep
|
2008-03-15 18:01:26 +00:00
|
|
|
|
%setup -q -c
|
2009-03-13 23:35:56 +00:00
|
|
|
|
cd %{tarballdir}
|
2005-07-18 20:30:35 +00:00
|
|
|
|
|
2011-12-15 10:15:39 +00:00
|
|
|
|
# Build patches, can't change backup suffix from default because during build
|
2015-05-22 16:24:00 +00:00
|
|
|
|
# there is a compare of config and js/config directories and .orig suffix is
|
2011-12-15 10:15:39 +00:00
|
|
|
|
# ignored during this compare.
|
2016-03-02 12:58:14 +00:00
|
|
|
|
%patch0 -p1
|
2011-06-21 14:54:10 +00:00
|
|
|
|
|
2016-07-26 09:29:57 +00:00
|
|
|
|
%patch18 -p1 -b .jemalloc-ppc
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%patch19 -p2 -b .s390-inlines
|
2014-10-14 10:41:33 +00:00
|
|
|
|
%patch20 -p1 -b .prbool
|
2015-10-30 15:09:54 +00:00
|
|
|
|
%patch21 -p2 -b .ppc64le
|
|
|
|
|
%patch24 -p1 -b .debug
|
2015-05-11 09:02:09 +00:00
|
|
|
|
%ifarch s390
|
2015-05-11 08:56:28 +00:00
|
|
|
|
%patch25 -p1 -b .rhbz-1219542-s390
|
2015-05-11 09:02:09 +00:00
|
|
|
|
%endif
|
2014-01-09 09:56:01 +00:00
|
|
|
|
|
2016-04-25 12:58:04 +00:00
|
|
|
|
%patch3 -p1 -b .arm
|
2015-03-10 19:29:26 +00:00
|
|
|
|
|
2006-09-27 06:35:56 +00:00
|
|
|
|
# For branding specific patches.
|
|
|
|
|
|
2010-06-24 10:51:03 +00:00
|
|
|
|
# Fedora patches
|
2014-10-14 06:21:48 +00:00
|
|
|
|
%patch204 -p2 -b .966424
|
2014-08-26 13:40:25 +00:00
|
|
|
|
%patch215 -p1 -b .addons
|
2014-12-23 14:43:44 +00:00
|
|
|
|
%patch219 -p2 -b .rhbz-1173156
|
2015-02-09 17:20:06 +00:00
|
|
|
|
%patch221 -p2 -b .fedora-ua
|
2016-03-21 15:45:35 +00:00
|
|
|
|
%patch224 -p1 -b .1170092
|
2016-10-03 09:15:55 +00:00
|
|
|
|
%patch225 -p1 -b .1005640-accept-lang
|
2016-07-27 08:08:22 +00:00
|
|
|
|
%patch304 -p1 -b .1253216
|
2016-04-28 12:40:31 +00:00
|
|
|
|
%patch402 -p1 -b .1196777
|
2016-07-11 11:56:16 +00:00
|
|
|
|
%patch406 -p1 -b .256180
|
2016-11-24 11:17:42 +00:00
|
|
|
|
# Rebase Gtk3 widget code to latest trunk to
|
|
|
|
|
# fix various rendering problems
|
2017-01-18 16:30:40 +00:00
|
|
|
|
%patch407 -p1 -b .widget-rebase
|
2017-01-20 08:35:10 +00:00
|
|
|
|
# ppc64 build fix
|
|
|
|
|
%patch408 -p1 -b .1319374
|
2016-04-05 10:27:12 +00:00
|
|
|
|
|
2016-03-21 09:04:31 +00:00
|
|
|
|
# Debian extension patch
|
2016-04-26 08:46:26 +00:00
|
|
|
|
%patch500 -p1 -b .440908
|
2016-03-21 09:04:31 +00:00
|
|
|
|
|
2004-09-09 04:44:49 +00:00
|
|
|
|
%{__rm} -f .mozconfig
|
2004-12-12 08:42:36 +00:00
|
|
|
|
%{__cp} %{SOURCE10} .mozconfig
|
2005-07-18 20:30:35 +00:00
|
|
|
|
%if %{official_branding}
|
2015-08-19 07:54:46 +00:00
|
|
|
|
echo "ac_add_options --enable-official-branding" >> .mozconfig
|
2005-07-18 20:30:35 +00:00
|
|
|
|
%endif
|
2014-09-10 10:43:04 +00:00
|
|
|
|
%{__cp} %{SOURCE24} mozilla-api-key
|
|
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%if %{?system_nss}
|
|
|
|
|
echo "ac_add_options --with-system-nspr" >> .mozconfig
|
|
|
|
|
echo "ac_add_options --with-system-nss" >> .mozconfig
|
|
|
|
|
%else
|
|
|
|
|
echo "ac_add_options --without-system-nspr" >> .mozconfig
|
|
|
|
|
echo "ac_add_options --without-system-nss" >> .mozconfig
|
|
|
|
|
%endif
|
2007-12-19 16:43:29 +00:00
|
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%if %{?system_sqlite}
|
|
|
|
|
echo "ac_add_options --enable-system-sqlite" >> .mozconfig
|
|
|
|
|
%else
|
|
|
|
|
echo "ac_add_options --disable-system-sqlite" >> .mozconfig
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{?system_cairo}
|
|
|
|
|
echo "ac_add_options --enable-system-cairo" >> .mozconfig
|
|
|
|
|
%else
|
|
|
|
|
echo "ac_add_options --disable-system-cairo" >> .mozconfig
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{?system_ffi}
|
|
|
|
|
echo "ac_add_options --enable-system-ffi" >> .mozconfig
|
|
|
|
|
%endif
|
2004-09-09 04:44:49 +00:00
|
|
|
|
|
2012-02-27 23:08:10 +00:00
|
|
|
|
%ifarch %{arm}
|
|
|
|
|
echo "ac_add_options --disable-elf-hack" >> .mozconfig
|
|
|
|
|
%endif
|
|
|
|
|
|
2012-03-13 10:15:37 +00:00
|
|
|
|
%if %{?debug_build}
|
|
|
|
|
echo "ac_add_options --enable-debug" >> .mozconfig
|
|
|
|
|
echo "ac_add_options --disable-optimize" >> .mozconfig
|
2014-01-09 09:56:01 +00:00
|
|
|
|
echo "ac_add_options --enable-dtrace" >> .mozconfig
|
2012-03-13 10:15:37 +00:00
|
|
|
|
%else
|
|
|
|
|
echo "ac_add_options --disable-debug" >> .mozconfig
|
2016-04-27 09:23:04 +00:00
|
|
|
|
%ifarch ppc64le aarch64
|
|
|
|
|
echo 'ac_add_options --enable-optimize="-g -O2"' >> .mozconfig
|
|
|
|
|
%else
|
2012-03-13 10:15:37 +00:00
|
|
|
|
echo "ac_add_options --enable-optimize" >> .mozconfig
|
|
|
|
|
%endif
|
2016-04-27 09:23:04 +00:00
|
|
|
|
%endif
|
2012-03-13 10:15:37 +00:00
|
|
|
|
|
2012-11-19 10:08:10 +00:00
|
|
|
|
# s390(x) fails to start with jemalloc enabled
|
|
|
|
|
%ifarch s390 s390x
|
|
|
|
|
echo "ac_add_options --disable-jemalloc" >> .mozconfig
|
|
|
|
|
%endif
|
|
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%ifarch armv7hl
|
|
|
|
|
echo "ac_add_options --with-arch=armv7-a" >> .mozconfig
|
|
|
|
|
echo "ac_add_options --with-float-abi=hard" >> .mozconfig
|
|
|
|
|
echo "ac_add_options --with-fpu=vfpv3-d16" >> .mozconfig
|
|
|
|
|
echo "ac_add_options --disable-elf-hack" >> .mozconfig
|
2016-05-20 09:49:55 +00:00
|
|
|
|
echo "ac_add_options --disable-ion" >> .mozconfig
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%endif
|
|
|
|
|
%ifarch armv7hnl
|
|
|
|
|
echo "ac_add_options --with-arch=armv7-a" >> .mozconfig
|
|
|
|
|
echo "ac_add_options --with-float-abi=hard" >> .mozconfig
|
|
|
|
|
echo "ac_add_options --with-fpu=neon" >> .mozconfig
|
|
|
|
|
echo "ac_add_options --disable-elf-hack" >> .mozconfig
|
2014-04-28 10:39:59 +00:00
|
|
|
|
echo "ac_add_options --disable-ion" >> .mozconfig
|
|
|
|
|
echo "ac_add_options --disable-yarr-jit" >> .mozconfig
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%endif
|
|
|
|
|
%ifarch armv5tel
|
|
|
|
|
echo "ac_add_options --with-arch=armv5te" >> .mozconfig
|
|
|
|
|
echo "ac_add_options --with-float-abi=soft" >> .mozconfig
|
|
|
|
|
echo "ac_add_options --disable-elf-hack" >> .mozconfig
|
2014-04-23 09:44:01 +00:00
|
|
|
|
echo "ac_add_options --disable-ion" >> .mozconfig
|
|
|
|
|
echo "ac_add_options --disable-yarr-jit" >> .mozconfig
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%endif
|
|
|
|
|
|
2014-10-15 09:09:23 +00:00
|
|
|
|
%ifnarch %{ix86} x86_64
|
2014-01-09 09:56:01 +00:00
|
|
|
|
echo "ac_add_options --disable-webrtc" >> .mozconfig
|
|
|
|
|
%endif
|
|
|
|
|
|
2014-01-09 13:26:22 +00:00
|
|
|
|
%if !%{enable_mozilla_crashreporter}
|
|
|
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig
|
|
|
|
|
%endif
|
|
|
|
|
|
2014-09-19 08:40:44 +00:00
|
|
|
|
%if %{?run_tests}
|
|
|
|
|
echo "ac_add_options --enable-tests" >> .mozconfig
|
|
|
|
|
%endif
|
|
|
|
|
|
2014-11-04 15:07:20 +00:00
|
|
|
|
%if !%{?system_jpeg}
|
2014-11-04 13:51:27 +00:00
|
|
|
|
echo "ac_add_options --without-system-jpeg" >> .mozconfig
|
|
|
|
|
%else
|
|
|
|
|
echo "ac_add_options --with-system-jpeg" >> .mozconfig
|
|
|
|
|
%endif
|
|
|
|
|
|
2016-03-02 15:31:21 +00:00
|
|
|
|
%if %{?system_libvpx}
|
|
|
|
|
echo "ac_add_options --with-system-libvpx" >> .mozconfig
|
|
|
|
|
%else
|
|
|
|
|
echo "ac_add_options --without-system-libvpx" >> .mozconfig
|
|
|
|
|
%endif
|
|
|
|
|
|
2016-04-26 11:33:49 +00:00
|
|
|
|
%if %{?system_libicu}
|
|
|
|
|
echo "ac_add_options --with-system-icu" >> .mozconfig
|
|
|
|
|
%else
|
|
|
|
|
echo "ac_add_options --without-system-icu" >> .mozconfig
|
|
|
|
|
%endif
|
|
|
|
|
|
2016-09-26 13:07:02 +00:00
|
|
|
|
%if %{?build_with_rust}
|
|
|
|
|
echo "ac_add_options --enable-rust" >> .mozconfig
|
2017-01-23 11:02:45 +00:00
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%ifarch aarch64 ppc64 s390x
|
|
|
|
|
echo "ac_add_options --disable-skia" >> .mozconfig
|
2016-09-26 13:07:02 +00:00
|
|
|
|
%endif
|
2007-10-23 07:38:08 +00:00
|
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
%build
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%if %{?system_sqlite}
|
|
|
|
|
# Do not proceed with build if the sqlite require would be broken:
|
|
|
|
|
# make sure the minimum requirement is non-empty, ...
|
|
|
|
|
sqlite_version=$(expr "%{sqlite_version}" : '\([0-9]*\.\)[0-9]*\.') || exit 1
|
|
|
|
|
# ... and that major number of the computed build-time version matches:
|
|
|
|
|
case "%{sqlite_build_version}" in
|
|
|
|
|
"$sqlite_version"*) ;;
|
|
|
|
|
*) exit 1 ;;
|
|
|
|
|
esac
|
|
|
|
|
%endif
|
|
|
|
|
|
2009-03-13 23:35:56 +00:00
|
|
|
|
cd %{tarballdir}
|
2007-10-23 07:38:08 +00:00
|
|
|
|
|
2014-05-15 12:25:28 +00:00
|
|
|
|
# Update the various config.guess to upstream release for aarch64 support
|
|
|
|
|
find ./ -name config.guess -exec cp /usr/lib/rpm/config.guess {} ';'
|
|
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
|
# -fpermissive is needed to build with gcc 4.6+ which has become stricter
|
2014-08-28 10:12:06 +00:00
|
|
|
|
#
|
2008-03-20 22:39:40 +00:00
|
|
|
|
# Mozilla builds with -Wall with exception of a few warnings which show up
|
|
|
|
|
# everywhere in the code; so, don't override that.
|
2011-01-25 19:18:34 +00:00
|
|
|
|
#
|
|
|
|
|
# Disable C++ exceptions since Mozilla code is not exception-safe
|
|
|
|
|
#
|
2014-01-09 09:56:01 +00:00
|
|
|
|
MOZ_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS" | %{__sed} -e 's/-Wall//')
|
2013-12-13 13:17:56 +00:00
|
|
|
|
#rhbz#1037063
|
2014-08-27 11:45:32 +00:00
|
|
|
|
# -Werror=format-security causes build failures when -Wno-format is explicitly given
|
|
|
|
|
# for some sources
|
2015-05-22 16:19:31 +00:00
|
|
|
|
# Explicitly force the hardening flags for Firefox so it passes the checksec test;
|
|
|
|
|
# See also https://fedoraproject.org/wiki/Changes/Harden_All_Packages
|
2015-05-26 06:15:02 +00:00
|
|
|
|
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat -Werror=format-security"
|
2016-04-18 10:04:54 +00:00
|
|
|
|
%if 0%{?fedora} > 23
|
|
|
|
|
# Disable null pointer gcc6 optimization in gcc6 (rhbz#1328045)
|
|
|
|
|
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fno-delete-null-pointer-checks"
|
|
|
|
|
%endif
|
2015-05-26 06:15:02 +00:00
|
|
|
|
# Use hardened build?
|
2015-08-25 06:58:24 +00:00
|
|
|
|
%if %{?hardened_build}
|
2015-08-20 09:27:41 +00:00
|
|
|
|
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fPIC -Wl,-z,relro -Wl,-z,now"
|
2015-05-26 06:15:02 +00:00
|
|
|
|
%endif
|
2012-03-13 10:15:37 +00:00
|
|
|
|
%if %{?debug_build}
|
|
|
|
|
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-O2//')
|
|
|
|
|
%endif
|
2012-11-19 10:08:10 +00:00
|
|
|
|
%ifarch s390
|
|
|
|
|
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g1/')
|
2015-07-03 12:47:06 +00:00
|
|
|
|
# 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)
|
|
|
|
|
export MOZ_DEBUG_FLAGS=" "
|
2012-11-19 10:08:10 +00:00
|
|
|
|
%endif
|
2014-05-15 12:25:28 +00:00
|
|
|
|
%ifarch s390 %{arm} ppc aarch64
|
2012-11-19 10:08:10 +00:00
|
|
|
|
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
|
|
|
|
|
%endif
|
2008-03-20 22:39:40 +00:00
|
|
|
|
export CFLAGS=$MOZ_OPT_FLAGS
|
|
|
|
|
export CXXFLAGS=$MOZ_OPT_FLAGS
|
2014-01-09 09:56:01 +00:00
|
|
|
|
export LDFLAGS=$MOZ_LINK_FLAGS
|
2006-12-22 20:17:09 +00:00
|
|
|
|
|
2006-07-25 04:09:33 +00:00
|
|
|
|
export PREFIX='%{_prefix}'
|
2006-07-30 04:08:01 +00:00
|
|
|
|
export LIBDIR='%{_libdir}'
|
2006-06-15 12:14:34 +00:00
|
|
|
|
|
2008-02-22 02:30:18 +00:00
|
|
|
|
MOZ_SMP_FLAGS=-j1
|
2011-01-25 19:15:09 +00:00
|
|
|
|
# On x86 architectures, Mozilla can build up to 4 jobs at once in parallel,
|
|
|
|
|
# however builds tend to fail on other arches when building in parallel.
|
2014-05-15 12:25:28 +00:00
|
|
|
|
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le aarch64
|
2008-02-22 02:30:18 +00:00
|
|
|
|
[ -z "$RPM_BUILD_NCPUS" ] && \
|
|
|
|
|
RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
|
2011-01-25 19:15:09 +00:00
|
|
|
|
[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
|
|
|
|
|
[ "$RPM_BUILD_NCPUS" -ge 4 ] && MOZ_SMP_FLAGS=-j4
|
2014-01-09 09:56:01 +00:00
|
|
|
|
[ "$RPM_BUILD_NCPUS" -ge 8 ] && MOZ_SMP_FLAGS=-j8
|
2006-06-15 12:14:34 +00:00
|
|
|
|
%endif
|
|
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
|
make -f client.mk build STRIP="/bin/true" MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS" MOZ_SERVICES_SYNC="1"
|
|
|
|
|
|
|
|
|
|
# create debuginfo for crash-stats.mozilla.com
|
|
|
|
|
%if %{enable_mozilla_crashreporter}
|
|
|
|
|
#cd %{moz_objdir}
|
|
|
|
|
make -C objdir buildsymbols
|
|
|
|
|
%endif
|
2004-09-09 04:44:49 +00:00
|
|
|
|
|
2014-09-19 08:40:44 +00:00
|
|
|
|
%if %{?run_tests}
|
|
|
|
|
%if %{?system_nss}
|
|
|
|
|
ln -s /usr/bin/certutil objdir/dist/bin/certutil
|
|
|
|
|
ln -s /usr/bin/pk12util objdir/dist/bin/pk12util
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
mkdir test_results
|
|
|
|
|
./mach --log-no-times check-spidermonkey &> test_results/check-spidermonkey || true
|
2014-09-25 14:30:54 +00:00
|
|
|
|
./mach --log-no-times check-spidermonkey &> test_results/check-spidermonkey-2nd-run || true
|
2014-09-19 08:40:44 +00:00
|
|
|
|
./mach --log-no-times cppunittest &> test_results/cppunittest || true
|
|
|
|
|
xvfb-run ./mach --log-no-times crashtest &> test_results/crashtest || true
|
|
|
|
|
./mach --log-no-times gtest &> test_results/gtest || true
|
|
|
|
|
xvfb-run ./mach --log-no-times jetpack-test &> test_results/jetpack-test || true
|
2014-09-25 14:30:54 +00:00
|
|
|
|
# not working right now ./mach marionette-test &> test_results/marionette-test || true
|
2014-09-19 08:40:44 +00:00
|
|
|
|
xvfb-run ./mach --log-no-times mochitest-a11y &> test_results/mochitest-a11y || true
|
|
|
|
|
xvfb-run ./mach --log-no-times mochitest-browser &> test_results/mochitest-browser || true
|
|
|
|
|
xvfb-run ./mach --log-no-times mochitest-chrome &> test_results/mochitest-chrome || true
|
|
|
|
|
xvfb-run ./mach --log-no-times mochitest-devtools &> test_results/mochitest-devtools || true
|
|
|
|
|
xvfb-run ./mach --log-no-times mochitest-plain &> test_results/mochitest-plain || true
|
|
|
|
|
xvfb-run ./mach --log-no-times reftest &> test_results/reftest || true
|
2014-09-25 14:30:54 +00:00
|
|
|
|
xvfb-run ./mach --log-no-times webapprt-test-chrome &> test_results/webapprt-test-chrome || true
|
|
|
|
|
xvfb-run ./mach --log-no-times webapprt-test-content &> test_results/webapprt-test-content || true
|
2014-09-19 08:40:44 +00:00
|
|
|
|
./mach --log-no-times webidl-parser-test &> test_results/webidl-parser-test || true
|
|
|
|
|
xvfb-run ./mach --log-no-times xpcshell-test &> test_results/xpcshell-test || true
|
|
|
|
|
%if %{?system_nss}
|
|
|
|
|
rm -f objdir/dist/bin/certutil
|
2014-09-25 14:30:54 +00:00
|
|
|
|
rm -f objdir/dist/bin/pk12util
|
2014-09-19 08:40:44 +00:00
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%endif
|
2004-09-09 04:44:49 +00:00
|
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
%install
|
2009-03-13 23:35:56 +00:00
|
|
|
|
cd %{tarballdir}
|
2004-09-09 04:44:49 +00:00
|
|
|
|
|
2011-02-27 03:02:04 +00:00
|
|
|
|
# set up our default bookmarks
|
2016-05-24 13:22:45 +00:00
|
|
|
|
%{__cp} -p %{default_bookmarks_file} objdir/dist/bin/browser/chrome/en-US/locale/browser/bookmarks.html
|
2011-02-27 03:02:04 +00:00
|
|
|
|
|
|
|
|
|
# Make sure locale works for langpacks
|
2013-12-10 12:52:25 +00:00
|
|
|
|
%{__cat} > objdir/dist/bin/browser/defaults/preferences/firefox-l10n.js << EOF
|
2011-02-27 03:02:04 +00:00
|
|
|
|
pref("general.useragent.locale", "chrome://global/locale/intl.properties");
|
|
|
|
|
EOF
|
|
|
|
|
|
2013-12-10 12:52:25 +00:00
|
|
|
|
DESTDIR=$RPM_BUILD_ROOT make -C objdir install
|
2004-09-09 04:44:49 +00:00
|
|
|
|
|
2009-07-22 10:39:24 +00:00
|
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT{%{_libdir},%{_bindir},%{_datadir}/applications}
|
2004-09-09 04:44:49 +00:00
|
|
|
|
|
2011-10-24 14:31:34 +00:00
|
|
|
|
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE20}
|
2015-01-13 11:44:47 +00:00
|
|
|
|
|
2004-12-16 21:33:30 +00:00
|
|
|
|
# set up the firefox start script
|
2007-12-18 14:33:32 +00:00
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT%{_bindir}/firefox
|
2014-01-09 13:26:22 +00:00
|
|
|
|
%{__cat} %{SOURCE21} > $RPM_BUILD_ROOT%{_bindir}/firefox
|
2004-09-09 04:44:49 +00:00
|
|
|
|
%{__chmod} 755 $RPM_BUILD_ROOT%{_bindir}/firefox
|
|
|
|
|
|
2007-04-17 21:47:36 +00:00
|
|
|
|
%{__install} -p -D -m 644 %{SOURCE23} $RPM_BUILD_ROOT%{_mandir}/man1/firefox.1
|
2004-09-09 04:44:49 +00:00
|
|
|
|
|
2007-12-18 14:33:32 +00:00
|
|
|
|
%{__rm} -f $RPM_BUILD_ROOT/%{mozappdir}/firefox-config
|
2012-04-24 10:29:59 +00:00
|
|
|
|
%{__rm} -f $RPM_BUILD_ROOT/%{mozappdir}/update-settings.ini
|
2004-09-09 04:44:49 +00:00
|
|
|
|
|
2011-04-16 16:04:49 +00:00
|
|
|
|
for s in 16 22 24 32 48 256; do
|
|
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps
|
2011-08-16 15:20:15 +00:00
|
|
|
|
%{__cp} -p browser/branding/official/default${s}.png \
|
2011-04-16 16:15:59 +00:00
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/firefox.png
|
2011-04-16 16:04:49 +00:00
|
|
|
|
done
|
2004-11-01 12:41:18 +00:00
|
|
|
|
|
2015-07-02 13:48:32 +00:00
|
|
|
|
# Install hight contrast icon
|
|
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/symbolic/apps
|
|
|
|
|
%{__cp} -p %{SOURCE25} \
|
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/symbolic/apps
|
|
|
|
|
|
2015-03-26 16:09:24 +00:00
|
|
|
|
# Register as an application to be visible in the software center
|
|
|
|
|
#
|
|
|
|
|
# NOTE: It would be *awesome* if this file was maintained by the upstream
|
|
|
|
|
# project, translated and installed into the right place during `make install`.
|
|
|
|
|
#
|
|
|
|
|
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
|
|
|
|
|
#
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
|
|
|
|
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <<EOF
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
|
|
|
|
|
<!--
|
|
|
|
|
BugReportURL: https://bugzilla.mozilla.org/show_bug.cgi?id=1071061
|
|
|
|
|
SentUpstream: 2014-09-22
|
|
|
|
|
-->
|
|
|
|
|
<application>
|
|
|
|
|
<id type="desktop">firefox.desktop</id>
|
|
|
|
|
<metadata_license>CC0-1.0</metadata_license>
|
|
|
|
|
<description>
|
|
|
|
|
<p>
|
|
|
|
|
Bringing together all kinds of awesomeness to make browsing better for you.
|
|
|
|
|
Get to your favorite sites quickly – even if you don’t remember the URLs.
|
|
|
|
|
Type your term into the location bar (aka the Awesome Bar) and the autocomplete
|
|
|
|
|
function will include possible matches from your browsing history, bookmarked
|
|
|
|
|
sites and open tabs.
|
|
|
|
|
</p>
|
|
|
|
|
<!-- FIXME: Needs another couple of paragraphs -->
|
|
|
|
|
</description>
|
|
|
|
|
<url type="homepage">http://www.mozilla.org/en-US/</url>
|
|
|
|
|
<screenshots>
|
|
|
|
|
<screenshot type="default">https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/firefox/a.png</screenshot>
|
|
|
|
|
<screenshot>https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/firefox/b.png</screenshot>
|
|
|
|
|
<screenshot>https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/firefox/c.png</screenshot>
|
|
|
|
|
</screenshots>
|
|
|
|
|
<!-- FIXME: change this to an upstream email address for spec updates
|
|
|
|
|
<updatecontact>someone_who_cares@upstream_project.org</updatecontact>
|
|
|
|
|
-->
|
|
|
|
|
</application>
|
|
|
|
|
EOF
|
|
|
|
|
|
2008-06-18 00:52:47 +00:00
|
|
|
|
echo > ../%{name}.lang
|
2008-01-16 03:16:49 +00:00
|
|
|
|
%if %{build_langpacks}
|
2011-03-13 04:22:00 +00:00
|
|
|
|
# Extract langpacks, make any mods needed, repack the langpack, and install it.
|
2011-03-13 02:44:20 +00:00
|
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT%{langpackdir}
|
2011-02-08 18:17:09 +00:00
|
|
|
|
%{__tar} xf %{SOURCE1}
|
2006-01-27 03:35:21 +00:00
|
|
|
|
for langpack in `ls firefox-langpacks/*.xpi`; do
|
|
|
|
|
language=`basename $langpack .xpi`
|
2011-03-13 04:22:00 +00:00
|
|
|
|
extensionID=langpack-$language@firefox.mozilla.org
|
|
|
|
|
%{__mkdir_p} $extensionID
|
2013-05-09 12:23:50 +00:00
|
|
|
|
unzip -qq $langpack -d $extensionID
|
2011-03-13 04:22:00 +00:00
|
|
|
|
find $extensionID -type f | xargs chmod 644
|
2006-01-27 03:35:21 +00:00
|
|
|
|
|
2011-03-13 04:22:00 +00:00
|
|
|
|
cd $extensionID
|
2013-05-09 12:23:50 +00:00
|
|
|
|
zip -qq -r9mX ../${extensionID}.xpi *
|
2011-03-13 04:22:00 +00:00
|
|
|
|
cd -
|
|
|
|
|
|
|
|
|
|
%{__install} -m 644 ${extensionID}.xpi $RPM_BUILD_ROOT%{langpackdir}
|
2008-04-08 03:56:54 +00:00
|
|
|
|
language=`echo $language | sed -e 's/-/_/g'`
|
2011-03-13 04:22:00 +00:00
|
|
|
|
echo "%%lang($language) %{langpackdir}/${extensionID}.xpi" >> ../%{name}.lang
|
2006-01-27 03:35:21 +00:00
|
|
|
|
done
|
|
|
|
|
%{__rm} -rf firefox-langpacks
|
|
|
|
|
|
2012-07-10 08:35:34 +00:00
|
|
|
|
# Install langpack workaround (see #707100, #821169)
|
|
|
|
|
function create_default_langpack() {
|
|
|
|
|
language_long=$1
|
|
|
|
|
language_short=$2
|
|
|
|
|
cd $RPM_BUILD_ROOT%{langpackdir}
|
|
|
|
|
ln -s langpack-$language_long@firefox.mozilla.org.xpi langpack-$language_short@firefox.mozilla.org.xpi
|
|
|
|
|
cd -
|
2012-07-10 13:24:13 +00:00
|
|
|
|
echo "%%lang($language_short) %{langpackdir}/langpack-$language_short@firefox.mozilla.org.xpi" >> ../%{name}.lang
|
2012-07-10 08:35:34 +00:00
|
|
|
|
}
|
|
|
|
|
|
2012-07-10 13:24:13 +00:00
|
|
|
|
# Table of fallbacks for each language
|
2012-07-10 13:29:19 +00:00
|
|
|
|
# please file a bug at bugzilla.redhat.com if the assignment is incorrect
|
2012-07-10 13:24:13 +00:00
|
|
|
|
create_default_langpack "bn-IN" "bn"
|
|
|
|
|
create_default_langpack "es-AR" "es"
|
|
|
|
|
create_default_langpack "fy-NL" "fy"
|
|
|
|
|
create_default_langpack "ga-IE" "ga"
|
|
|
|
|
create_default_langpack "gu-IN" "gu"
|
|
|
|
|
create_default_langpack "hi-IN" "hi"
|
|
|
|
|
create_default_langpack "hy-AM" "hy"
|
|
|
|
|
create_default_langpack "nb-NO" "nb"
|
|
|
|
|
create_default_langpack "nn-NO" "nn"
|
|
|
|
|
create_default_langpack "pa-IN" "pa"
|
|
|
|
|
create_default_langpack "pt-PT" "pt"
|
|
|
|
|
create_default_langpack "sv-SE" "sv"
|
|
|
|
|
create_default_langpack "zh-TW" "zh"
|
2014-01-09 13:26:22 +00:00
|
|
|
|
%endif # build_langpacks
|
2012-07-10 08:35:34 +00:00
|
|
|
|
|
2015-01-13 11:44:47 +00:00
|
|
|
|
|
2013-05-15 07:33:47 +00:00
|
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT/%{mozappdir}/browser/defaults/preferences
|
|
|
|
|
|
2016-03-21 15:50:45 +00:00
|
|
|
|
# System config dir
|
2016-03-22 09:49:13 +00:00
|
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/pref
|
2016-03-21 15:50:45 +00:00
|
|
|
|
|
2008-01-16 03:16:49 +00:00
|
|
|
|
# System extensions
|
|
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/mozilla/extensions/%{firefox_app_id}
|
|
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/extensions/%{firefox_app_id}
|
2006-10-24 18:57:43 +00:00
|
|
|
|
|
|
|
|
|
# Copy over the LICENSE
|
2008-06-18 00:52:47 +00:00
|
|
|
|
%{__install} -p -c -m 644 LICENSE $RPM_BUILD_ROOT/%{mozappdir}
|
2006-09-18 21:17:39 +00:00
|
|
|
|
|
2014-01-09 09:56:01 +00:00
|
|
|
|
# Use the system hunspell dictionaries
|
|
|
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}%{mozappdir}/dictionaries
|
|
|
|
|
ln -s %{_datadir}/myspell ${RPM_BUILD_ROOT}%{mozappdir}/dictionaries
|
|
|
|
|
|
2010-06-23 09:10:39 +00:00
|
|
|
|
# Enable crash reporter for Firefox application
|
2013-06-28 14:33:48 +00:00
|
|
|
|
%if %{enable_mozilla_crashreporter}
|
2010-06-23 09:10:39 +00:00
|
|
|
|
sed -i -e "s/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/" $RPM_BUILD_ROOT/%{mozappdir}/application.ini
|
2014-04-22 15:02:03 +00:00
|
|
|
|
# Add debuginfo for crash-stats.mozilla.com
|
|
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT/%{moz_debug_dir}
|
|
|
|
|
%{__cp} objdir/dist/%{symbols_file_name} $RPM_BUILD_ROOT/%{moz_debug_dir}
|
2010-06-23 09:10:39 +00:00
|
|
|
|
%endif
|
|
|
|
|
|
2014-09-19 08:40:44 +00:00
|
|
|
|
%if %{run_tests}
|
|
|
|
|
# Add debuginfo for crash-stats.mozilla.com
|
|
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT/test_results
|
|
|
|
|
%{__cp} test_results/* $RPM_BUILD_ROOT/test_results
|
|
|
|
|
%endif
|
|
|
|
|
|
2015-05-22 16:24:00 +00:00
|
|
|
|
# Default
|
2014-01-23 09:26:08 +00:00
|
|
|
|
%{__cp} %{SOURCE12} ${RPM_BUILD_ROOT}%{mozappdir}/browser/defaults/preferences
|
|
|
|
|
|
|
|
|
|
# Remove copied libraries to speed up build
|
2015-05-22 16:24:00 +00:00
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{mozappdirdev}/sdk/lib/libmozjs.so
|
2014-01-23 09:26:08 +00:00
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{mozappdirdev}/sdk/lib/libmozalloc.so
|
|
|
|
|
rm -f ${RPM_BUILD_ROOT}%{mozappdirdev}/sdk/lib/libxul.so
|
2004-09-09 04:44:49 +00:00
|
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
2015-01-13 11:44:47 +00:00
|
|
|
|
# Moves defaults/preferences to browser/defaults/preferences
|
2013-09-09 07:17:46 +00:00
|
|
|
|
%pretrans -p <lua>
|
2013-09-03 16:14:55 +00:00
|
|
|
|
require 'posix'
|
|
|
|
|
require 'os'
|
|
|
|
|
if (posix.stat("%{mozappdir}/browser/defaults/preferences", "type") == "link") then
|
|
|
|
|
posix.unlink("%{mozappdir}/browser/defaults/preferences")
|
|
|
|
|
posix.mkdir("%{mozappdir}/browser/defaults/preferences")
|
|
|
|
|
if (posix.stat("%{mozappdir}/defaults/preferences", "type") == "directory") then
|
2015-05-22 16:24:00 +00:00
|
|
|
|
for i,filename in pairs(posix.dir("%{mozappdir}/defaults/preferences")) do
|
2013-09-03 16:14:55 +00:00
|
|
|
|
os.rename("%{mozappdir}/defaults/preferences/"..filename, "%{mozappdir}/browser/defaults/preferences/"..filename)
|
|
|
|
|
end
|
|
|
|
|
f = io.open("%{mozappdir}/defaults/preferences/README","w")
|
|
|
|
|
if f then
|
|
|
|
|
f:write("Content of this directory has been moved to %{mozappdir}/browser/defaults/preferences.")
|
|
|
|
|
f:close()
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
2015-01-13 11:44:47 +00:00
|
|
|
|
|
2013-08-30 09:34:41 +00:00
|
|
|
|
|
2011-04-16 00:10:51 +00:00
|
|
|
|
%preun
|
|
|
|
|
# is it a final removal?
|
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
|
%{__rm} -rf %{mozappdir}/components
|
|
|
|
|
%{__rm} -rf %{mozappdir}/extensions
|
|
|
|
|
%{__rm} -rf %{mozappdir}/plugins
|
|
|
|
|
%{__rm} -rf %{langpackdir}
|
|
|
|
|
fi
|
|
|
|
|
|
2004-09-09 04:44:49 +00:00
|
|
|
|
%post
|
2008-01-03 18:23:11 +00:00
|
|
|
|
update-desktop-database &> /dev/null || :
|
2009-07-24 10:44:55 +00:00
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
2004-09-14 19:33:39 +00:00
|
|
|
|
|
2004-09-09 04:44:49 +00:00
|
|
|
|
%postun
|
2011-04-16 00:08:42 +00:00
|
|
|
|
update-desktop-database &> /dev/null || :
|
2009-07-24 10:44:55 +00:00
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
2007-12-04 16:25:53 +00:00
|
|
|
|
fi
|
2004-09-09 04:44:49 +00:00
|
|
|
|
|
2009-07-24 10:44:55 +00:00
|
|
|
|
%posttrans
|
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
2007-07-31 10:50:12 +00:00
|
|
|
|
|
2008-04-08 03:56:54 +00:00
|
|
|
|
%files -f %{name}.lang
|
2004-09-09 04:44:49 +00:00
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_bindir}/firefox
|
2011-05-10 10:53:22 +00:00
|
|
|
|
%{mozappdir}/firefox
|
2013-04-01 12:39:26 +00:00
|
|
|
|
%{mozappdir}/firefox-bin
|
2008-06-18 00:52:47 +00:00
|
|
|
|
%doc %{_mandir}/man1/*
|
2016-03-22 09:49:13 +00:00
|
|
|
|
%dir %{_sysconfdir}/%{name}/*
|
2015-08-07 09:39:21 +00:00
|
|
|
|
%dir %{_datadir}/mozilla/extensions/*
|
|
|
|
|
%dir %{_libdir}/mozilla/extensions/*
|
2015-03-26 16:09:24 +00:00
|
|
|
|
%{_datadir}/appdata/*.appdata.xml
|
2011-10-24 14:31:34 +00:00
|
|
|
|
%{_datadir}/applications/*.desktop
|
2006-09-07 04:19:44 +00:00
|
|
|
|
%dir %{mozappdir}
|
2007-12-09 17:46:52 +00:00
|
|
|
|
%doc %{mozappdir}/LICENSE
|
2013-05-15 07:33:47 +00:00
|
|
|
|
%{mozappdir}/browser/chrome
|
|
|
|
|
%{mozappdir}/browser/chrome.manifest
|
|
|
|
|
%dir %{mozappdir}/browser/components
|
|
|
|
|
%{mozappdir}/browser/components/*.so
|
|
|
|
|
%{mozappdir}/browser/components/components.manifest
|
2014-01-23 09:26:08 +00:00
|
|
|
|
%{mozappdir}/browser/defaults/preferences/firefox-redhat-default-prefs.js
|
2016-04-26 10:07:36 +00:00
|
|
|
|
%{mozappdir}/browser/features/e10srollout@mozilla.org.xpi
|
|
|
|
|
%{mozappdir}/browser/features/firefox@getpocket.com.xpi
|
2016-09-08 11:37:25 +00:00
|
|
|
|
%{mozappdir}/browser/features/webcompat@mozilla.org.xpi
|
2016-11-14 21:45:26 +00:00
|
|
|
|
# That's Windows only
|
|
|
|
|
%ghost %{mozappdir}/browser/features/aushelper@mozilla.org.xpi
|
2013-05-15 07:33:47 +00:00
|
|
|
|
%attr(644, root, root) %{mozappdir}/browser/blocklist.xml
|
|
|
|
|
%dir %{mozappdir}/browser/extensions
|
2015-08-07 09:39:21 +00:00
|
|
|
|
%{mozappdir}/browser/extensions/*
|
2010-09-21 14:02:15 +00:00
|
|
|
|
%if %{build_langpacks}
|
2011-03-13 02:44:20 +00:00
|
|
|
|
%dir %{langpackdir}
|
2010-09-21 14:02:15 +00:00
|
|
|
|
%endif
|
2013-05-15 07:33:47 +00:00
|
|
|
|
%{mozappdir}/browser/omni.ja
|
|
|
|
|
%{mozappdir}/browser/icons
|
2006-09-07 04:19:44 +00:00
|
|
|
|
%{mozappdir}/run-mozilla.sh
|
2007-12-18 14:33:32 +00:00
|
|
|
|
%{mozappdir}/application.ini
|
2008-06-18 00:52:47 +00:00
|
|
|
|
%exclude %{mozappdir}/removed-files
|
2009-07-22 10:39:24 +00:00
|
|
|
|
%{_datadir}/icons/hicolor/16x16/apps/firefox.png
|
|
|
|
|
%{_datadir}/icons/hicolor/22x22/apps/firefox.png
|
|
|
|
|
%{_datadir}/icons/hicolor/24x24/apps/firefox.png
|
|
|
|
|
%{_datadir}/icons/hicolor/256x256/apps/firefox.png
|
|
|
|
|
%{_datadir}/icons/hicolor/32x32/apps/firefox.png
|
|
|
|
|
%{_datadir}/icons/hicolor/48x48/apps/firefox.png
|
2015-07-02 13:48:32 +00:00
|
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/firefox-symbolic.svg
|
2013-06-28 14:33:48 +00:00
|
|
|
|
%if %{enable_mozilla_crashreporter}
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%{mozappdir}/crashreporter
|
|
|
|
|
%{mozappdir}/crashreporter.ini
|
|
|
|
|
%{mozappdir}/Throbber-small.gif
|
2013-06-13 12:46:13 +00:00
|
|
|
|
%{mozappdir}/browser/crashreporter-override.ini
|
2010-06-23 09:10:39 +00:00
|
|
|
|
%endif
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%{mozappdir}/*.so
|
2015-10-29 14:27:54 +00:00
|
|
|
|
%{mozappdir}/gtk2/*.so
|
2014-01-23 09:26:08 +00:00
|
|
|
|
%{mozappdir}/defaults/pref/channel-prefs.js
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%{mozappdir}/dependentlibs.list
|
|
|
|
|
%{mozappdir}/dictionaries
|
|
|
|
|
%{mozappdir}/omni.ja
|
|
|
|
|
%{mozappdir}/platform.ini
|
|
|
|
|
%{mozappdir}/plugin-container
|
2015-02-20 09:36:49 +00:00
|
|
|
|
%{mozappdir}/gmp-clearkey
|
2016-11-14 21:45:26 +00:00
|
|
|
|
%{mozappdir}/fonts/EmojiOneMozilla.ttf
|
2016-07-29 11:03:01 +00:00
|
|
|
|
%if !%{?system_libicu}
|
|
|
|
|
%{mozappdir}/icudt56l.dat
|
|
|
|
|
%endif
|
2014-01-09 09:56:01 +00:00
|
|
|
|
%exclude %{_includedir}
|
|
|
|
|
%exclude %{_libdir}/firefox-devel-%{version}
|
|
|
|
|
%exclude %{_datadir}/idl
|
2014-10-31 11:42:03 +00:00
|
|
|
|
%if !%{?system_nss}
|
2016-08-19 10:01:30 +00:00
|
|
|
|
%{mozappdir}/libfreeblpriv3.chk
|
2014-10-31 11:42:03 +00:00
|
|
|
|
%{mozappdir}/libnssdbm3.chk
|
|
|
|
|
%{mozappdir}/libsoftokn3.chk
|
|
|
|
|
%endif
|
2010-06-23 09:10:39 +00:00
|
|
|
|
|
2004-09-09 04:44:49 +00:00
|
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
%changelog
|
2017-01-19 19:52:59 +00:00
|
|
|
|
* Thu Jan 19 2017 Martin Stransky <stransky@redhat.com> - 51.0-2
|
|
|
|
|
- Update to 51.0 (B2)
|
|
|
|
|
|
2017-01-18 11:42:27 +00:00
|
|
|
|
* Wed Jan 18 2017 Martin Stransky <stransky@redhat.com> - 51.0-1
|
|
|
|
|
- Update to 51.0 (B1)
|
|
|
|
|
|
2017-01-17 08:36:20 +00:00
|
|
|
|
* Tue Jan 17 2017 Jan Horak <jhorak@redhat.com> - 50.1.0-4
|
|
|
|
|
- Enable telemetry (rhbz#1412971)
|
|
|
|
|
|
2017-01-16 11:46:51 +00:00
|
|
|
|
* Mon Jan 16 2017 Martin Stransky <stransky@redhat.com> - 50.1.0-3
|
|
|
|
|
- Added patch for nss 3.28.1 (mozbz#1290037)
|
|
|
|
|
|
2016-12-21 09:42:19 +00:00
|
|
|
|
* Wed Dec 21 2016 Martin Stransky <stransky@redhat.com> - 50.1.0-2
|
|
|
|
|
- Enabled Mozilla crash reporter
|
|
|
|
|
|
2016-12-13 22:42:57 +00:00
|
|
|
|
* Tue Dec 13 2016 Martin Stransky <stransky@redhat.com> - 50.1.0-1
|
|
|
|
|
- Updated to 50.1.0
|
|
|
|
|
|
2016-11-30 21:02:53 +00:00
|
|
|
|
* Wed Nov 30 2016 Martin Stransky <stransky@redhat.com> - 50.0.2-2
|
|
|
|
|
- Added fix for "ABORT: X_ShmAttach: BadAccess" crashes
|
|
|
|
|
(mozbz#1271100)
|
|
|
|
|
|
|
|
|
|
* Wed Nov 30 2016 Martin Stransky <stransky@redhat.com> - 50.0.2-1
|
2016-11-30 08:32:18 +00:00
|
|
|
|
- Update to latest upstream (50.0.2)
|
|
|
|
|
|
2016-11-28 20:15:23 +00:00
|
|
|
|
* Mon Nov 28 2016 Martin Stransky <stransky@redhat.com> - 50.0.1-1
|
|
|
|
|
- Update to latest upstream (50.0.1)
|
|
|
|
|
|
2016-11-24 11:17:42 +00:00
|
|
|
|
* Thu Nov 24 2016 Martin Stransky <stransky@redhat.com> - 50.0-2
|
|
|
|
|
- Rebase Gtk3 widget code to latest trunk to fix
|
|
|
|
|
various rendering problems (rhbz#1397290)
|
|
|
|
|
|
2016-11-14 21:45:26 +00:00
|
|
|
|
* Thu Nov 10 2016 Martin Stransky <stransky@redhat.com> - 50.0-1
|
|
|
|
|
- Update to 50.0
|
|
|
|
|
|
2016-10-31 07:32:54 +00:00
|
|
|
|
* Mon Oct 31 2016 Jan Horak <jhorak@redhat.com> - 49.0.2-1
|
|
|
|
|
- Update to 49.0.2
|
|
|
|
|
|
2016-09-26 13:07:02 +00:00
|
|
|
|
* Mon Sep 26 2016 Jan Horak <jhorak@redhat.com> - 49.0-3
|
|
|
|
|
- Build with rust where possible
|
2016-10-03 09:15:55 +00:00
|
|
|
|
- Added fix for wrong accept-language headers when running with non-english locales
|
2016-09-26 13:07:02 +00:00
|
|
|
|
|
2016-09-19 11:57:43 +00:00
|
|
|
|
* Mon Sep 19 2016 Martin Stransky <stransky@redhat.com> - 49.0-2
|
|
|
|
|
- Update to Firefox 49 (B4)
|
|
|
|
|
|
2016-09-08 11:37:25 +00:00
|
|
|
|
* Tue Sep 6 2016 Martin Stransky <stransky@redhat.com> - 49.0-1
|
|
|
|
|
- Update to Firefox 49
|
|
|
|
|
|
2016-08-22 09:24:41 +00:00
|
|
|
|
* Mon Aug 22 2016 Jan Horak <jhorak@redhat.com> - 48.0.1-2
|
|
|
|
|
- Added translations for .desktop file actions
|
|
|
|
|
|
2016-08-19 10:01:30 +00:00
|
|
|
|
* Fri Aug 19 2016 Martin Stransky <stransky@redhat.com> - 48.0.1-1
|
|
|
|
|
- Update to 48.0.1
|
|
|
|
|
- Added fix for mozbz#1291700 - Since latest release NTLM/SPNEGO
|
|
|
|
|
no longer works
|
|
|
|
|
|
2016-08-17 09:56:44 +00:00
|
|
|
|
* Wed Aug 17 2016 Martin Stransky <stransky@redhat.com> - 48.0-6
|
|
|
|
|
- Added patch for mozbz#1225044 - gtk3 rendering glitches
|
|
|
|
|
|
2016-07-29 06:48:20 +00:00
|
|
|
|
* Fri Jul 29 2016 Martin Stransky <stransky@redhat.com> - 48.0-5
|
|
|
|
|
- Added fix for mozbz#1250704 - tooltips text color
|
2016-07-29 11:03:01 +00:00
|
|
|
|
- Disable system sqlite on F23
|
|
|
|
|
- Package in-tree icu file
|
2016-07-29 06:48:20 +00:00
|
|
|
|
|
2016-07-28 07:42:28 +00:00
|
|
|
|
* Thu Jul 28 2016 Martin Stransky <stransky@redhat.com> - 48.0-4
|
|
|
|
|
- Enable dark themes by pref in about:config (Bug 1272332)
|
2016-07-28 12:04:50 +00:00
|
|
|
|
- Backported gtk3.20 upstream fixes
|
2016-07-28 07:42:28 +00:00
|
|
|
|
|
2016-07-27 18:17:24 +00:00
|
|
|
|
* Wed Jul 27 2016 Martin Stransky <stransky@redhat.com> - 48.0-3
|
|
|
|
|
- Updated to 48.0 (B2)
|
|
|
|
|
|
2016-07-27 08:12:08 +00:00
|
|
|
|
* Wed Jul 27 2016 Jan Horak <jhorak@redhat.com> - 48.0-2
|
|
|
|
|
- Negotiate authentication is made off the main thread again (mozbz#890908)
|
|
|
|
|
- Fixed default prerefences (rhbz#1349489)
|
|
|
|
|
|
2016-07-26 09:29:57 +00:00
|
|
|
|
* Tue Jul 26 2016 Martin Stransky <stransky@redhat.com> - 48.0-1
|
|
|
|
|
- Updated to 48.0
|
|
|
|
|
|
2016-07-22 14:27:14 +00:00
|
|
|
|
* Fri Jul 22 2016 Tom Callaway <spot@fedoraproject.org> - 47.0.1-3
|
|
|
|
|
- rebuild for libvpx 1.6.0
|
|
|
|
|
|
2016-07-11 11:56:16 +00:00
|
|
|
|
* Mon Jul 11 2016 Martin Stransky <stransky@redhat.com> - 47.0.1-2
|
|
|
|
|
- Added fix for mozbz#256180 - gmail paste issues
|
|
|
|
|
|
2016-07-11 10:17:54 +00:00
|
|
|
|
* Mon Jul 11 2016 Martin Stransky <stransky@redhat.com> - 47.0.1-1
|
|
|
|
|
- Updated to 47.0.1
|
|
|
|
|
|
2016-06-23 08:31:14 +00:00
|
|
|
|
* Wed Jun 22 2016 Martin Stransky <stransky@redhat.com> - 47.0-6
|
2016-06-22 16:07:17 +00:00
|
|
|
|
- Updated tooltip patch for 3.20
|
|
|
|
|
|
2016-06-06 09:51:37 +00:00
|
|
|
|
* Mon Jun 6 2016 Martin Stransky <stransky@redhat.com> - 47.0-4
|
|
|
|
|
- Updated to 47.0 (B3)
|
|
|
|
|
- Should fix rhbz#1338010 (rebuilt against new astronomy-bookmarks)
|
|
|
|
|
|
2016-06-03 13:39:25 +00:00
|
|
|
|
* Fri Jun 3 2016 Martin Stransky <stransky@redhat.com> - 47.0-3
|
|
|
|
|
- Updated to 47.0 (B2)
|
|
|
|
|
|
2016-06-03 08:34:50 +00:00
|
|
|
|
* Thu Jun 2 2016 Martin Stransky <stransky@redhat.com> - 47.0-2
|
2016-06-02 10:32:28 +00:00
|
|
|
|
- Updated to 47.0
|
2016-06-03 08:34:50 +00:00
|
|
|
|
- Backout of negotiate authentication patch
|
2016-06-02 10:32:28 +00:00
|
|
|
|
|
2016-05-26 09:25:35 +00:00
|
|
|
|
* Thu May 26 2016 Jan Horak <jhorak@redhat.com> - 46.0.1-9
|
|
|
|
|
- Negotiate authentication is made off the main thread (mozbz#890908)
|
|
|
|
|
|
2016-05-24 13:22:45 +00:00
|
|
|
|
* Mon May 23 2016 Martin Stransky <stransky@redhat.com> - 46.0.1-8
|
2016-05-23 09:50:09 +00:00
|
|
|
|
- Rebuilt for new bookmarks (rhbz#1338010)
|
|
|
|
|
- Fixed build issue in Gtk3.20 patch
|
|
|
|
|
|
2016-05-20 13:13:45 +00:00
|
|
|
|
* Fri May 20 2016 Martin Stransky <stransky@redhat.com> - 46.0.1-6
|
|
|
|
|
- Updated Gtk3.20 patch - fixed tooltips
|
|
|
|
|
|
2016-05-19 09:32:45 +00:00
|
|
|
|
* Thu May 19 2016 Martin Stransky <stransky@redhat.com> - 46.0.1-5
|
|
|
|
|
- Added a fix for mozbz#1245783 - gcc6.1 crashes in JIT
|
|
|
|
|
|
2016-05-12 10:21:15 +00:00
|
|
|
|
* Thu May 12 2016 Martin Stransky <stransky@redhat.com> - 46.0.1-4
|
|
|
|
|
- Added fix for rhbz#1332821 - Crash on "Select" in "Open with" dialog
|
|
|
|
|
|
2016-05-10 12:18:21 +00:00
|
|
|
|
* Tue May 10 2016 Martin Stransky <stransky@redhat.com> - 46.0.1-3
|
|
|
|
|
- Added patch for rhbz#1332875 - new Samba auth reponse
|
|
|
|
|
|
2016-05-05 09:29:43 +00:00
|
|
|
|
* Thu May 5 2016 Martin Stransky <stransky@redhat.com> - 46.0.1-2
|
|
|
|
|
- Disable dark theme until we support it correctly (mozbz#1216658)
|
|
|
|
|
|
2016-05-03 08:52:47 +00:00
|
|
|
|
* Tue May 3 2016 Martin Stransky <stransky@redhat.com> - 46.0.1-1
|
|
|
|
|
- Updated to 46.0.1
|
|
|
|
|
|
2016-05-02 11:27:48 +00:00
|
|
|
|
* Mon May 2 2016 Martin Stransky <stransky@redhat.com> - 46.0-6
|
|
|
|
|
- Removed gstreamer config as it's no longer used.
|
|
|
|
|
See rhbz#1331496 for details.
|
2016-05-02 12:27:50 +00:00
|
|
|
|
- Updated Firefox project URL (rhbz#1329014)
|
2016-05-02 11:27:48 +00:00
|
|
|
|
|
2016-04-28 12:40:31 +00:00
|
|
|
|
* Thu Apr 28 2016 Martin Stransky <stransky@redhat.com> - 46.0-5
|
|
|
|
|
- Added fix for rhbz#1322626 - wrong focused window
|
|
|
|
|
|
2016-04-27 09:23:04 +00:00
|
|
|
|
* Wed Apr 27 2016 Martin Stransky <stransky@redhat.com> - 46.0-4
|
|
|
|
|
- Added fix for rhbz#1315225 - ppc64le/aarch64 build fixes
|
|
|
|
|
|
2016-04-27 07:38:20 +00:00
|
|
|
|
* Wed Apr 27 2016 Martin Stransky <stransky@redhat.com> - 46.0-3
|
|
|
|
|
- Fixed missing langpacks
|
|
|
|
|
|
2016-04-26 11:33:49 +00:00
|
|
|
|
* Tue Apr 26 2016 Martin Stransky <stransky@redhat.com> - 46.0-2
|
|
|
|
|
- Disabled system libicu on Fedora 22/23
|
|
|
|
|
|
2016-04-25 12:58:04 +00:00
|
|
|
|
* Mon Apr 25 2016 Martin Stransky <stransky@redhat.com> - 46.0-1
|
|
|
|
|
- Updated to 46.0 (B5)
|
|
|
|
|
|
2016-04-21 12:35:18 +00:00
|
|
|
|
* Thu Apr 21 2016 Martin Stransky <stransky@redhat.com> - 45.0.2-5
|
|
|
|
|
- Added patch for mozbz#1263145
|
|
|
|
|
|
2016-04-20 18:05:26 +00:00
|
|
|
|
* Wed Apr 20 2016 Martin Stransky <stransky@redhat.com> - 45.0.2-4
|
2016-04-20 17:04:32 +00:00
|
|
|
|
- Updated scrollbar code for Gtk 3.20
|
|
|
|
|
|
2016-04-18 10:04:54 +00:00
|
|
|
|
* Mon Apr 18 2016 Martin Stransky <stransky@redhat.com> - 45.0.2-2
|
|
|
|
|
- Disabled gcc6 null this optimization (rhbz#1328045)
|
|
|
|
|
|
2016-04-11 19:27:28 +00:00
|
|
|
|
* Mon Apr 11 2016 Martin Stransky <stransky@redhat.com> - 45.0.2-1
|
|
|
|
|
- New upstream (45.0.2)
|
|
|
|
|
|
2016-04-05 13:18:52 +00:00
|
|
|
|
* Tue Apr 5 2016 Martin Stransky <stransky@redhat.com> - 45.0.1-6
|
|
|
|
|
- Fixed rhbz#1322669 - Flash widgets are not displayed
|
|
|
|
|
|
2016-04-05 10:27:12 +00:00
|
|
|
|
* Tue Apr 5 2016 Martin Stransky <stransky@redhat.com> - 45.0.1-5
|
|
|
|
|
- Polished gcc6 patches
|
|
|
|
|
|
2016-03-22 09:50:22 +00:00
|
|
|
|
* Tue Mar 22 2016 Martin Stransky <stransky@redhat.com> - 45.0.1-4
|
2016-03-29 09:33:27 +00:00
|
|
|
|
- Fixed rhbz#1321355 - broken flash plugin
|
2016-03-22 09:49:13 +00:00
|
|
|
|
- Added /etc/firefox/pref dir for easy configuration
|
|
|
|
|
|
2016-03-21 15:45:35 +00:00
|
|
|
|
* Mon Mar 21 2016 Martin Stransky <stransky@redhat.com> - 45.0.1-3
|
|
|
|
|
- Provide system wide config dir (mozbz#1170092)
|
|
|
|
|
- Allow lock preferences from .js files (mozbz#440908)
|
|
|
|
|
|
2016-03-21 09:04:31 +00:00
|
|
|
|
* Mon Mar 21 2016 Martin Stransky <stransky@redhat.com> - 45.0.1-2
|
|
|
|
|
- Fixed rhbz#1293874 - use a Debian patch for disabled extension
|
|
|
|
|
signing
|
|
|
|
|
|
2016-03-16 08:40:58 +00:00
|
|
|
|
* Wed Mar 16 2016 Martin Stransky <stransky@redhat.com> - 45.0.1-1
|
|
|
|
|
- Update to 45.0.1
|
|
|
|
|
|
2016-03-15 13:50:37 +00:00
|
|
|
|
* Tue Mar 15 2016 Martin Stransky <stransky@redhat.com> - 45.0-5
|
|
|
|
|
- Updated gtk3.20 patch
|
|
|
|
|
|
2016-03-04 09:52:04 +00:00
|
|
|
|
* Fri Mar 4 2016 Martin Stransky <stransky@redhat.com> - 45.0-4
|
|
|
|
|
- Update to 45.0 (B2)
|
|
|
|
|
|
2016-03-03 12:43:20 +00:00
|
|
|
|
* Thu Mar 3 2016 Martin Stransky <stransky@redhat.com> - 45.0-3
|
|
|
|
|
- Added run-time fix for JIT (mozbz#1253216)
|
|
|
|
|
|
2016-03-02 15:31:21 +00:00
|
|
|
|
* Wed Mar 2 2016 Martin Stransky <stransky@redhat.com> - 45.0-2
|
|
|
|
|
- Disabled system libvpx on Fedora 22 where is 1.3.0
|
|
|
|
|
|
2016-03-02 12:58:14 +00:00
|
|
|
|
* Wed Mar 2 2016 Martin Stransky <stransky@redhat.com> - 45.0-1
|
|
|
|
|
- Update to 45.0
|
|
|
|
|
|
2016-02-11 12:34:29 +00:00
|
|
|
|
* Thu Feb 11 2016 Martin Stransky <stransky@redhat.com> - 44.0.2-3
|
|
|
|
|
- Added patch for mozbz#1205199
|
|
|
|
|
|
2016-02-11 09:05:49 +00:00
|
|
|
|
* Thu Feb 11 2016 Martin Stransky <stransky@redhat.com> - 44.0.2-2
|
|
|
|
|
- Update to 44.0.2 (B3)
|
|
|
|
|
|
2016-02-10 08:48:53 +00:00
|
|
|
|
* Wed Feb 10 2016 Martin Stransky <stransky@redhat.com> - 44.0.2-1
|
|
|
|
|
- Update to 44.0.2 (B2)
|
|
|
|
|
|
2016-02-08 09:56:56 +00:00
|
|
|
|
* Mon Feb 8 2016 Martin Stransky <stransky@redhat.com> - 44.0.1-2
|
|
|
|
|
- Update to 44.0.1 (B2)
|
|
|
|
|
|
2016-02-05 12:24:47 +00:00
|
|
|
|
* Fri Feb 5 2016 Martin Stransky <stransky@redhat.com> - 44.0.1-1
|
|
|
|
|
- Update to 44.0.1
|
|
|
|
|
|
2016-02-04 17:08:39 +00:00
|
|
|
|
* Thu Feb 4 2016 Jan Horak <jhorak@redhat.com> - 44.0-6
|
|
|
|
|
- Workaround for crash when closing application chooser and Fedora 23
|
|
|
|
|
(rhbz#1291190)
|
|
|
|
|
|
2016-02-02 14:55:36 +00:00
|
|
|
|
* Tue Feb 2 2016 Martin Stransky <stransky@redhat.com> - 44.0-5
|
2016-02-02 14:50:58 +00:00
|
|
|
|
- GCC 6.0 build patch
|
|
|
|
|
- Disabled mozilla crashreporter to catch Gtk3 crashes
|
|
|
|
|
|
2016-02-01 13:34:21 +00:00
|
|
|
|
* Mon Feb 1 2016 Martin Stransky <stransky@redhat.com> - 44.0-4
|
|
|
|
|
- Removed pulseaudio hard dependency (rhbz#1303620)
|
|
|
|
|
|
2016-01-26 08:35:08 +00:00
|
|
|
|
* Tue Jan 26 2016 Ralph Giles <giles@mozilla.com> - 44.0-3
|
2016-01-26 08:33:15 +00:00
|
|
|
|
- Medadata update, require pulseaudio
|
|
|
|
|
|
2016-01-25 12:23:16 +00:00
|
|
|
|
* Mon Jan 25 2016 Martin Stransky <stransky@redhat.com> - 44.0-2
|
|
|
|
|
- Update to 44.0 B3
|
|
|
|
|
|
2016-01-21 11:58:27 +00:00
|
|
|
|
* Thu Jan 21 2016 Jan Horak <jhorak@redhat.com> - 44.0-1
|
|
|
|
|
- Update to 44.0
|
|
|
|
|
|
2016-01-14 11:05:39 +00:00
|
|
|
|
* Thu Jan 14 2016 Martin Stransky <stransky@redhat.com> - 43.0.4-2
|
|
|
|
|
- Fixed the progress bar rendering
|
|
|
|
|
|
|
|
|
|
* Thu Jan 14 2016 Martin Stransky <stransky@redhat.com> - 43.0.4-1
|
2016-01-14 09:45:51 +00:00
|
|
|
|
- Update to 43.0.4
|
|
|
|
|
|
2016-01-13 15:43:54 +00:00
|
|
|
|
* Wed Jan 13 2016 Martin Stransky <stransky@redhat.com> - 43.0.3-5
|
|
|
|
|
- Updated progress bars rendering for Gtk 3.20
|
|
|
|
|
|
2016-01-07 11:56:07 +00:00
|
|
|
|
* Thu Jan 7 2016 Martin Stransky <stransky@redhat.com> - 43.0.3-4
|
|
|
|
|
- Added fix for mozbz#1234026 - crashes on XWayland
|
|
|
|
|
|
2016-01-06 08:27:06 +00:00
|
|
|
|
* Tue Jan 05 2016 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 43.0.3-3
|
|
|
|
|
- Fix build on AArch64.
|
|
|
|
|
|
2016-01-04 12:54:49 +00:00
|
|
|
|
* Mon Jan 4 2016 Martin Stransky <stransky@redhat.com> - 43.0.3-2
|
|
|
|
|
- Enabled Skia (rhbz#1282134)
|
|
|
|
|
|