MozillaFirefox/MozillaFirefox.spec
branchfirefox118
changeset 1196 954851a35787
parent 1195 78bbadb03249
child 1197 19915e86b721
equal deleted inserted replaced
1195:78bbadb03249 1196:954851a35787
   207 Source19:       google-api-key
   207 Source19:       google-api-key
   208 Source20:       https://ftp.mozilla.org/pub/%{srcname}/releases/%{version}%{orig_suffix}/source/%{srcname}-%{orig_version}%{orig_suffix}.source.tar.xz.asc
   208 Source20:       https://ftp.mozilla.org/pub/%{srcname}/releases/%{version}%{orig_suffix}/source/%{srcname}-%{orig_version}%{orig_suffix}.source.tar.xz.asc
   209 Source21:       https://ftp.mozilla.org/pub/%{srcname}/releases/%{version}%{orig_suffix}/KEY#/mozilla.keyring
   209 Source21:       https://ftp.mozilla.org/pub/%{srcname}/releases/%{version}%{orig_suffix}/KEY#/mozilla.keyring
   210 # Gecko/Toolkit
   210 # Gecko/Toolkit
   211 Patch1:         mozilla-nongnome-proxies.patch
   211 Patch1:         mozilla-nongnome-proxies.patch
   212 #Patch2:         mozilla-kde.patch
   212 Patch2:         mozilla-kde.patch
   213 Patch3:         mozilla-ntlm-full-path.patch
   213 Patch3:         mozilla-ntlm-full-path.patch
   214 Patch4:         mozilla-aarch64-startup-crash.patch
   214 Patch4:         mozilla-aarch64-startup-crash.patch
   215 Patch5:         mozilla-fix-aarch64-libopus.patch
   215 Patch5:         mozilla-fix-aarch64-libopus.patch
   216 Patch6:         mozilla-s390-context.patch
   216 Patch6:         mozilla-s390-context.patch
   217 Patch7:         mozilla-pgo.patch
   217 Patch7:         mozilla-pgo.patch
   228 Patch21:        svg-rendering.patch
   228 Patch21:        svg-rendering.patch
   229 Patch22:        mozilla-partial-revert-1768632.patch
   229 Patch22:        mozilla-partial-revert-1768632.patch
   230 Patch23:        mozilla-rust-disable-future-incompat.patch
   230 Patch23:        mozilla-rust-disable-future-incompat.patch
   231 Patch24:        mozilla-bmo1822730.patch
   231 Patch24:        mozilla-bmo1822730.patch
   232 # Firefox/browser
   232 # Firefox/browser
   233 #Patch101:       firefox-kde.patch
   233 Patch101:       firefox-kde.patch
   234 Patch102:       firefox-branded-icons.patch
   234 Patch102:       firefox-branded-icons.patch
   235 %endif
   235 %endif
   236 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
   236 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
   237 Requires(post): coreutils shared-mime-info desktop-file-utils
   237 Requires(post): coreutils shared-mime-info desktop-file-utils
   238 Requires(postun):shared-mime-info desktop-file-utils
   238 Requires(postun):shared-mime-info desktop-file-utils
   347 sed -i "s|/usr/bin/env python3|/usr/bin/env python3.9|" mach
   347 sed -i "s|/usr/bin/env python3|/usr/bin/env python3.9|" mach
   348 sed -i "s|potential_python_binary = f\"python3.{i}\"|potential_python_binary = f\"python3.9.{i}\"|" mach
   348 sed -i "s|potential_python_binary = f\"python3.{i}\"|potential_python_binary = f\"python3.9.{i}\"|" mach
   349 export PYTHON3=/usr/bin/python3.9
   349 export PYTHON3=/usr/bin/python3.9
   350 %endif
   350 %endif
   351 
   351 
   352 #kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
   352 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
   353 #if test "$kdehelperversion" != %{kde_helper_version}; then
   353 if test "$kdehelperversion" != %{kde_helper_version}; then
   354 #  echo fix kde helper version in the .spec file
   354   echo fix kde helper version in the .spec file
   355 #  exit 1
   355   exit 1
   356 #fi
   356 fi
   357 
   357 
   358 # When doing only_print_mozconfig, this file isn't necessarily available, so skip it
   358 # When doing only_print_mozconfig, this file isn't necessarily available, so skip it
   359 cp %{SOURCE4} .obsenv.sh
   359 cp %{SOURCE4} .obsenv.sh
   360 %else
   360 %else
   361 # We need to make sure its empty
   361 # We need to make sure its empty