diff -r 9c008b241362 -r 4c248180e576 MozillaFirefox/MozillaFirefox.spec --- a/MozillaFirefox/MozillaFirefox.spec Fri May 24 12:57:52 2019 +0200 +++ b/MozillaFirefox/MozillaFirefox.spec Mon Jul 08 12:56:52 2019 +0200 @@ -19,12 +19,12 @@ # changed with every update %define major 67 -%define mainver %major.0 -%define orig_version 67.0 +%define mainver %major.0.4 +%define orig_version 67.0.4 %define orig_suffix %{nil} %define update_channel release %define branding 1 -%define releasedate 20190516215225 +%define releasedate 20190619235627 %define source_prefix firefox-%{orig_version} # always build with GCC as SUSE Security Team requires that @@ -62,6 +62,7 @@ BuildRequires: alsa-devel BuildRequires: autoconf213 BuildRequires: dbus-1-glib-devel +BuildRequires: dejavu-fonts BuildRequires: fdupes BuildRequires: memory-constraints %if 0%{?suse_version} <= 1320 @@ -90,6 +91,7 @@ BuildRequires: unzip BuildRequires: update-desktop-files BuildRequires: xorg-x11-libXt-devel +BuildRequires: xvfb-run BuildRequires: yasm BuildRequires: zip %if 0%{?suse_version} < 1550 @@ -168,6 +170,7 @@ # Firefox/browser Patch101: firefox-kde.patch Patch102: firefox-branded-icons.patch +Patch103: firefox-add-kde.js-in-order-to-survive-PGO-build.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(post): coreutils shared-mime-info desktop-file-utils Requires(postun): shared-mime-info desktop-file-utils @@ -276,6 +279,7 @@ # Firefox %patch101 -p1 %patch102 -p1 +%patch103 -p1 %build # no need to add build time to binaries @@ -388,10 +392,11 @@ # LTO needs newer toolchain stack only (at least GCC 8.2.1 (r268506) %if 0%{?suse_version} > 1500 ac_add_options --enable-lto +ac_add_options MOZ_PGO=1 %endif %endif EOF -./mach build +xvfb-run --server-args="-screen 0 1920x1080x24" ./mach build %install cd $RPM_BUILD_DIR/obj