|
|
56a500a |
%?mingw_package_header
|
|
|
56a500a |
|
|
|
56a500a |
Name: mingw-wine-gecko
|
|
|
c072779 |
Version: 2.47.1
|
|
|
c072779 |
Release: 1%{?dist}
|
|
|
56a500a |
Summary: Gecko library required for Wine
|
|
|
56a500a |
|
|
|
56a500a |
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
|
|
56a500a |
URL: http://wiki.winehq.org/Gecko
|
|
|
c072779 |
Source0: http://dl.winehq.org/wine/wine-gecko/%{version}/wine-gecko-%{version}-src.tar.bz2
|
|
|
56a500a |
Patch0: %{name}-mozconfig.patch
|
|
|
56a500a |
|
|
|
c072779 |
# Python 3.8 support
|
|
|
c072779 |
Patch1: 0001-mozbuild-Use-time.process_time-instead-of-time.clock.patch
|
|
|
c072779 |
Patch2: 0002-mozinfo-Fallback-to-unknown-disro-if-platform.linux_.patch
|
|
|
c072779 |
Patch3: 0003-Bug-1259551-Upgrade-vendored-virtualenv-to-15.0.1-r-.patch
|
|
|
c072779 |
Patch4: 0004-Bug-1295439-Upgrade-pip-to-8.1.2-r-glandium.patch
|
|
|
c072779 |
Patch5: 0005-Bug-1100925-Added-flags-in-virtualenv-to-differencia.patch
|
|
|
c072779 |
Patch6: 0006-Bug-1100925-For-whatever-reason-MinGW-Python-cannot-.patch
|
|
|
c072779 |
Patch7: 0007-Bug-1100925-Virtualenv-no-longer-attempts-to-use-sym.patch
|
|
|
c072779 |
Patch8: 0008-Bug-1100925-Virtualenv-now-copies-a-site.py-file-in-.patch
|
|
|
c072779 |
Patch9: 0009-Bug-1100925-Added-site.py-from-virtualenv-upstream.-.patch
|
|
|
c072779 |
Patch10: 0010-Bug-1100925-Added-modification-for-MinGW64-version-o.patch
|
|
|
c072779 |
Patch11: 0011-Bug-1295439-Upgrade-setuptools-to-25.2.0-r-glandium.patch
|
|
|
c072779 |
Patch12: 0012-Bug-1437593-Vendor-virtualenv-15.2.0-r-gps.patch
|
|
|
7e77b50 |
|
|
|
56a500a |
BuildArch: noarch
|
|
|
56a500a |
|
|
|
56a500a |
# This project is only useful with wine, and wine doesn't support PPC.
|
|
|
56a500a |
# We will adopt the same arch support that wine does.
|
|
|
56a500a |
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64
|
|
|
56a500a |
|
|
|
56a500a |
# 64
|
|
|
56a500a |
BuildRequires: mingw64-filesystem >= 95
|
|
|
56a500a |
BuildRequires: mingw64-binutils
|
|
|
56a500a |
BuildRequires: mingw64-headers
|
|
|
56a500a |
BuildRequires: mingw64-cpp
|
|
|
56a500a |
BuildRequires: mingw64-gcc
|
|
|
56a500a |
BuildRequires: mingw64-gcc-c++
|
|
|
56a500a |
BuildRequires: mingw64-crt
|
|
|
56a500a |
BuildRequires: mingw64-winpthreads-static
|
|
|
56a500a |
# 32
|
|
|
56a500a |
BuildRequires: mingw32-filesystem >= 95
|
|
|
56a500a |
BuildRequires: mingw32-binutils
|
|
|
56a500a |
BuildRequires: mingw32-headers
|
|
|
56a500a |
BuildRequires: mingw32-cpp
|
|
|
56a500a |
BuildRequires: mingw32-gcc
|
|
|
56a500a |
BuildRequires: mingw32-gcc-c++
|
|
|
56a500a |
BuildRequires: mingw32-crt
|
|
|
56a500a |
BuildRequires: mingw32-winpthreads-static
|
|
|
56a500a |
|
|
|
56a500a |
BuildRequires: autoconf213
|
|
|
7e77b50 |
BuildRequires: gcc
|
|
|
7e77b50 |
BuildRequires: gcc-c++
|
|
|
c072779 |
BuildRequires: git
|
|
|
56a500a |
BuildRequires: pkgconfig
|
|
|
7e77b50 |
BuildRequires: python2
|
|
|
56a500a |
BuildRequires: perl-Getopt-Long
|
|
|
56a500a |
BuildRequires: yasm
|
|
|
56a500a |
BuildRequires: zip
|
|
|
56a500a |
BuildRequires: wine-core wine-wow
|
|
|
56a500a |
BuildRequires: wine-devel
|
|
|
56a500a |
|
|
|
56a500a |
%description
|
|
|
56a500a |
Windows Gecko library required for Wine.
|
|
|
56a500a |
|
|
|
56a500a |
%package -n mingw32-wine-gecko
|
|
|
56a500a |
Summary: Gecko library for 32bit wine
|
|
|
56a500a |
Requires: wine-common
|
|
|
56a500a |
|
|
|
56a500a |
%description -n mingw32-wine-gecko
|
|
|
56a500a |
Windows Gecko library required for Wine.
|
|
|
56a500a |
|
|
|
56a500a |
%package -n mingw64-wine-gecko
|
|
|
56a500a |
Summary: Gecko library for 64bit wine
|
|
|
56a500a |
Requires: wine-common
|
|
|
56a500a |
|
|
|
56a500a |
%description -n mingw64-wine-gecko
|
|
|
56a500a |
Windows Gecko library required for Wine.
|
|
|
56a500a |
|
|
|
56a500a |
%prep
|
|
|
c072779 |
%setup -q -c -n wine-gecko-%{version}
|
|
|
c072779 |
cd wine-gecko-%{version}
|
|
|
56a500a |
%patch0 -p1 -b.mozconfig
|
|
|
c072779 |
%patch1 -p1 -b.python38.1
|
|
|
c072779 |
%patch2 -p1 -b.python38.2
|
|
|
c072779 |
echo %{PATCH3}
|
|
|
c072779 |
git apply %{PATCH3}
|
|
|
c072779 |
echo %{PATCH4}
|
|
|
c072779 |
git apply %{PATCH4}
|
|
|
c072779 |
%patch5 -p1 -b.python38.5
|
|
|
c072779 |
%patch6 -p1 -b.python38.6
|
|
|
c072779 |
%patch7 -p1 -b.python38.7
|
|
|
c072779 |
%patch8 -p1 -b.python38.8
|
|
|
c072779 |
%patch9 -p1 -b.python38.9
|
|
|
c072779 |
%patch10 -p1 -b.python38.10
|
|
|
c072779 |
echo %{PATCH11}
|
|
|
c072779 |
git apply %{PATCH11}
|
|
|
c072779 |
echo %{PATCH12}
|
|
|
c072779 |
git apply %{PATCH12}
|
|
|
56a500a |
|
|
|
56a500a |
# fix nsprpub cross compile detection
|
|
|
56a500a |
sed -i 's,cross_compiling=.*$,cross_compiling=yes,' nsprpub/configure
|
|
|
56a500a |
|
|
|
56a500a |
# remove blank includes
|
|
|
56a500a |
rm -f media/libstagefright/ports/win32/include/pthread.h
|
|
|
56a500a |
|
|
|
3e4bf23 |
# fix wine cabinet tool
|
|
|
3e4bf23 |
sed -i 's,$WINE cabarc.exe -r -m mszip N $cabfile msi/files,$WINE cabarc.exe -r -m mszip N $cabfile msi/files/*,' wine/make_package
|
|
|
3e4bf23 |
|
|
|
56a500a |
%build
|
|
|
c072779 |
cd wine-gecko-%{version}
|
|
|
56a500a |
# setup build options...
|
|
|
56a500a |
echo "mk_add_options MOZ_MAKE_FLAGS=%{_smp_mflags}" >> wine/mozconfig-common
|
|
|
7e77b50 |
echo "export CFLAGS=\"-DWINE_GECKO_SRC\"" >> wine/mozconfig-common
|
|
|
7e77b50 |
echo "export CXXFLAGS=\"\$CFLAGS -fpermissive -mxsave\"" >> wine/mozconfig-common
|
|
|
56a500a |
|
|
|
56a500a |
cp wine/mozconfig-common wine/mozconfig-common.build
|
|
|
56a500a |
|
|
|
56a500a |
# ... and build
|
|
|
3e4bf23 |
TOOLCHAIN_PREFIX=i686-w64-mingw32- MAKEOPTS="%{_smp_mflags}" ./wine/make_package --msi-package -win32
|
|
|
56a500a |
|
|
|
3e4bf23 |
TOOLCHAIN_PREFIX=x86_64-w64-mingw32- MAKEOPTS="%{_smp_mflags}" ./wine/make_package --msi-package -win64
|
|
|
56a500a |
|
|
|
56a500a |
%install
|
|
|
56a500a |
mkdir -p %{buildroot}%{_datadir}/wine/gecko
|
|
|
c072779 |
install -p -m 0644 wine-gecko-%{version}-x86/dist/wine-gecko-%{version}-x86.msi \
|
|
|
c072779 |
%{buildroot}%{_datadir}/wine/gecko/wine-gecko-%{version}-x86.msi
|
|
|
c072779 |
install -p -m 0644 wine-gecko-%{version}-x86_64/dist/wine-gecko-%{version}-x86_64.msi \
|
|
|
c072779 |
%{buildroot}%{_datadir}/wine/gecko/wine-gecko-%{version}-x86_64.msi
|
|
|
56a500a |
|
|
|
56a500a |
%files -n mingw32-wine-gecko
|
|
|
c072779 |
%license wine-gecko-%{version}/LICENSE
|
|
|
c072779 |
%doc wine-gecko-%{version}/LEGAL
|
|
|
c072779 |
%doc wine-gecko-%{version}/README.txt
|
|
|
c072779 |
%{_datadir}/wine/gecko/wine-gecko-%{version}-x86.msi
|
|
|
56a500a |
|
|
|
56a500a |
%files -n mingw64-wine-gecko
|
|
|
c072779 |
%license wine-gecko-%{version}/LICENSE
|
|
|
c072779 |
%doc wine-gecko-%{version}/LEGAL
|
|
|
c072779 |
%doc wine-gecko-%{version}/README.txt
|
|
|
c072779 |
%{_datadir}/wine/gecko/wine-gecko-%{version}-x86_64.msi
|
|
|
56a500a |
|
|
|
56a500a |
%changelog
|
|
|
c072779 |
* Mon Dec 30 2019 Michael Cronenworth <mike@cchtml.com> - 2.47.1-1
|
|
|
c072779 |
- version upgrade
|
|
|
c072779 |
|
|
|
3e4bf23 |
* Thu Nov 07 2019 Michael Cronenworth <mike@cchtml.com> - 2.47-10
|
|
|
3e4bf23 |
- Fix cabinet file creation and build options
|
|
|
3e4bf23 |
|
|
|
7e77b50 |
* Fri Sep 13 2019 Michael Cronenworth <mike@cchtml.com> - 2.47-9
|
|
|
7e77b50 |
- Fix FTBFS (RHBZ#1675390)
|
|
|
7e77b50 |
|
|
|
56a500a |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.47-8
|
|
|
56a500a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
56a500a |
|
|
|
56a500a |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.47-7
|
|
|
56a500a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
56a500a |
|
|
|
56a500a |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.47-6
|
|
|
56a500a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
56a500a |
|
|
|
56a500a |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.47-5
|
|
|
56a500a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
56a500a |
|
|
|
56a500a |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.47-4
|
|
|
56a500a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
56a500a |
|
|
|
56a500a |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.47-3
|
|
|
56a500a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
56a500a |
|
|
|
56a500a |
* Thu Nov 24 2016 Michael Cronenworth <mike@cchtml.com> - 2.47-2
|
|
|
56a500a |
- Adopt ExclusiveArch from wine package
|
|
|
56a500a |
|
|
|
56a500a |
* Fri Jul 01 2016 Michael Cronenworth <mike@cchtml.com> - 2.47-1
|
|
|
56a500a |
- version upgrade, final
|
|
|
56a500a |
|
|
|
56a500a |
* Tue May 24 2016 Michael Cronenworth <mike@cchtml.com> - 2.47-0.1
|
|
|
56a500a |
- version upgrade, beta1
|
|
|
56a500a |
|
|
|
56a500a |
* Fri Feb 05 2016 Michael Cronenworth <mike@cchtml.com> - 2.44-1
|
|
|
56a500a |
- version upgrade, final
|
|
|
56a500a |
|
|
|
56a500a |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.44-0.2
|
|
|
56a500a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
56a500a |
|
|
|
56a500a |
* Thu Jan 21 2016 Michael Cronenworth <mike@cchtml.com> - 2.44-0.1
|
|
|
56a500a |
- version upgrade, beta 1
|
|
|
56a500a |
|
|
|
56a500a |
* Fri Aug 14 2015 Michael Cronenworth <mike@cchtml.com> - 2.40-1
|
|
|
56a500a |
- version upgrade, final
|
|
|
56a500a |
|
|
|
56a500a |
* Thu Aug 06 2015 Michael Cronenworth <mike@cchtml.com> - 2.40-0.1
|
|
|
56a500a |
- version upgrade, beta 1
|
|
|
56a500a |
|
|
|
56a500a |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.36-2
|
|
|
56a500a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
56a500a |
|
|
|
56a500a |
* Fri Mar 06 2015 Michael Cronenworth <mike@cchtml.com> - 2.36-1
|
|
|
56a500a |
- version upgrade
|
|
|
56a500a |
|
|
|
56a500a |
* Tue Jan 06 2015 Michael Cronenworth <mike@cchtml.com> - 2.34-2
|
|
|
56a500a |
- Pass toolchain prefix during build
|
|
|
56a500a |
- Link statically to eliminate winpthreads dep (mozilla bz 1116777)
|
|
|
56a500a |
|
|
|
56a500a |
* Tue Dec 09 2014 Michael Cronenworth <mike@cchtml.com> - 2.34-1
|
|
|
56a500a |
- version upgrade
|
|
|
56a500a |
|
|
|
56a500a |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24-2
|
|
|
56a500a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
56a500a |
|
|
|
56a500a |
* Sat Sep 28 2013 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
56a500a |
- 2.24-1
|
|
|
56a500a |
- version upgrade
|
|
|
56a500a |
|
|
|
56a500a |
* Thu Sep 12 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.21-4
|
|
|
56a500a |
- Fix FTBFS when winpthreads is available (Mozilla bug #893444)
|
|
|
56a500a |
|
|
|
56a500a |
* Sun Aug 18 2013 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
56a500a |
- 2.21-3
|
|
|
56a500a |
- add BR python
|
|
|
56a500a |
- build with -static-gcc (rhbz#977039)
|
|
|
56a500a |
|
|
|
56a500a |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.21-2
|
|
|
56a500a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
56a500a |
|
|
|
56a500a |
* Thu May 30 2013 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
56a500a |
- 2.21-1
|
|
|
56a500a |
- version upgrade
|
|
|
56a500a |
|
|
|
56a500a |
* Sat Jan 19 2013 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
56a500a |
- 1.9-1
|
|
|
56a500a |
- version upgrade
|
|
|
56a500a |
|
|
|
56a500a |
* Mon Oct 15 2012 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
56a500a |
- 1.8-1
|
|
|
56a500a |
- version upgrade
|
|
|
56a500a |
|
|
|
56a500a |
* Tue Jul 31 2012 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
56a500a |
- 1.7-1
|
|
|
56a500a |
- version upgrade
|
|
|
56a500a |
|
|
|
56a500a |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
|
|
|
56a500a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
56a500a |
|
|
|
56a500a |
* Sun Jun 24 2012 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
56a500a |
- 1.6-1
|
|
|
56a500a |
- version upgrade
|
|
|
56a500a |
|
|
|
56a500a |
* Tue Jun 19 2012 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
56a500a |
- 1.5.0-3
|
|
|
56a500a |
- BR mingw{32,64}-filesystem >= 95
|
|
|
56a500a |
|
|
|
56a500a |
* Wed Mar 21 2012 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
56a500a |
- 1.5.0-2
|
|
|
56a500a |
- further spec cleanup
|
|
|
56a500a |
|
|
|
56a500a |
* Mon Mar 19 2012 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
56a500a |
- 1.5.0-1
|
|
|
56a500a |
- version upgrade
|
|
|
56a500a |
- spec cleanup
|
|
|
56a500a |
|
|
|
56a500a |
* Tue Jun 21 2011 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
56a500a |
- 1.2.0-3
|
|
|
56a500a |
- add suggestions from #577951c21
|
|
|
56a500a |
|
|
|
56a500a |
* Mon Jun 20 2011 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
56a500a |
- 1.2.0-2
|
|
|
56a500a |
- rework to mingw framework
|
|
|
56a500a |
|
|
|
56a500a |
* Fri Mar 25 2011 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
56a500a |
- 1.2.0-1
|
|
|
56a500a |
- version upgrade
|
|
|
56a500a |
- switch to cross framework
|
|
|
56a500a |
|
|
|
56a500a |
* Mon Mar 29 2010 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
56a500a |
- 1.0.0-3
|
|
|
56a500a |
- adjust path for latest wine
|
|
|
56a500a |
- requires wine-common for /usr/share/wine
|
|
|
56a500a |
|
|
|
56a500a |
* Tue Nov 24 2009 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
56a500a |
- 1.0.0-2
|
|
|
56a500a |
- include version in install dir
|
|
|
56a500a |
|
|
|
56a500a |
* Tue Nov 17 2009 Erik van Pienbroek <epienbro@fedoraproject.org>
|
|
|
56a500a |
- 1.0.0-1
|
|
|
56a500a |
- Initial release
|