SHA256
1
0
forked from pool/wine

- Updated to 9.15 release

- Prototype and constructor objects in MSHTML.
  - More support for ODBC Windows drivers.
  - Various bug fixes.
- update staging to 9.15 release

OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=1140
This commit is contained in:
Marcus Meissner 2024-08-12 13:57:51 +00:00 committed by Git OBS Bridge
commit 286adc8f37
24 changed files with 17221 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

55
README.SUSE Normal file
View File

@ -0,0 +1,55 @@
Start wine:
-----------
Check whether wine runs by entering (e.g.) 'wine notepad.exe' or
'wine progman'.
General Notes:
--------------
1. All configuration data is in the registry, and can be accessed
directly by editing system.reg or user.reg, "wine regedit.exe" or
with the graphical configuration frontend "winecfg".
2. Drives are configured by symlinking in ~/.wine/dosdevices/,
or by using "winecfg".
3. You have to set the WINEPREFIX variable to the wine base dir,
if it is different than ~/.wine.
There usually is no need for additionaly configuring wine.
If no ~/.wine is present, Wine will setup a fake windows
environment in ~/.wine by itself, including all necessary config
file and registry settings using the "wine.inf" file.
Windows DLLs not supported by Wine:
--------------------------------------
A shell script called "winetricks" is included in this RPM which
can be used to quickly install missing DLLs from public redistributable
archives.
winetricks help shows all installation possibilities
winetricks gecko Installs the Mozilla Gecko rendering engine, which
provides generic HTML rendering support to Wine.
This engine is also in the wine-gecko RPM.
winetricks mfc40 installs the MFC40.DLL
winetricks mfc42 installs the MFC42.DLL (Applications might need it)
Violation of existing windows:
------------------------------
Wine can corrupt MS Windows installation.
It is not recommended to point Wine to an existing Windows
installation. Also it should no longer be necessary to copy
stuff from Windows installations.
Error and warning messages:
---------------------------
Wine is intensively developed but is not always complete.
Therefore things might not work and wine might print error and
warning messages.

7
_constraints Normal file
View File

@ -0,0 +1,7 @@
<constraints>
<hardware>
<disk>
<size unit="G">10</size>
</disk>
</hardware>
</constraints>

7
_multibuild Normal file
View File

@ -0,0 +1,7 @@
<multibuild>
<!-- <package>nine</package> -->
<package>staging</package>
<package>wow64</package>
<package>staging-wow64</package>
<!-- <package>staging-nine</package> -->
</multibuild>

14
_service Normal file
View File

@ -0,0 +1,14 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="url">https://github.com/wine-staging/wine-staging.git</param>
<param name="revision">refs/tags/v9.15</param>
<param name="match-tag">v*.*</param>
<param name="scm">git</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
</services>

32
baselibs.conf Normal file
View File

@ -0,0 +1,32 @@
# this file is autregenerated by the .spec file.
wine
+^/usr/bin/wine$
+^/usr/bin/wine-preloader$
/usr/lib/wine/*.acm
/usr/lib/wine/*.com
/usr/lib/wine/*.cpl
/usr/lib/wine/*.dll
/usr/lib/wine/*.dll16
/usr/lib/wine/*.drv
/usr/lib/wine/*.drv16
/usr/lib/wine/*.exe
/usr/lib/wine/*.exe16
/usr/lib/wine/*.mod16
/usr/lib/wine/*.ocx
/usr/lib/wine/*.sys
/usr/lib/wine/*.tlb
/usr/lib/wine/*.vxd
requires "libX11.so.6"
requires "libXext.so.6"
requires "libXcursor.so.1"
requires "libXi.so.6"
requires "libXxf86vm.so.1"
requires "libXrender.so.1"
requires "libXrandr.so.2"
requires "libXinerama.so.1"
requires "libXcomposite.so.1"
requires "libGL.so.1"
requires "libGLU.so.1"
provides "wine-<targettype> = <version>-<release>"
conflicts "otherproviders(wine-<targettype>)"
wine-devel

3
ubuntuwine.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:787f52cd668e644a7a5e2eea85ff0025b7163f449dd9b9867b6eb91fb624c238
size 26725

3
wine-9.13.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d79651d0fe38defe84cbd9e345f001c02ffc125979e29ebf203d6d487abf7348
size 30542188

16
wine-9.13.tar.xz.sign Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2iNXmnTUrZr50/lFzvrI6q8XUZ0FAmaUOA0ACgkQzvrI6q8X
UZ0UTg//eCZ8UojBbKWVjorV2EXIGQuP8nutSERnq4IVYV8J3gcMbXupy/WApmPM
QDHJiIpQY0vF3nj3AV20fNRRXx0L3CNSRWH/qPoP1RMhilLTbfBP/NxzICjMMZ+x
9/sQwy89SqICqJqsYSitMZv6Y9Gc77G4yJhmlHqSHg7soXaXBopT/1uTVqWS6aQ6
xotMITLjTTxHMVKGZDo6Q4Zk4zqQEfR05OLEfLp2P87H4qRIRLozX8AP8h/sy+b2
UqGaNR1vDI6Ik7nqNqLrVMWQDs2SGffay39vcoKSKTHstoHlNzNY/c82ABoTsUAU
DuPR8+ToQlLdTL5aRQkeLZr+xF3hUN6GkDn3lt0HwPGjnaiKIlJm3rEC0Zd6cBcV
s4BAODf9Eeh1WwIloDy0FgVQQs+EPNuDnof4bW+3D4zNZzg//PO2cppevVxz+yPz
huy0XnJBuzDjKwH2+c0x7J6PBSwzaA9CSpQ0keV8/Tra3xVmZ4Ca4BZeafqPLz0Q
JFKzW6sqLtASxa+5GoTQO5vuGjB7Bu5yj8qpf3Owdtor+iOkNIZMuqhtAA8M4L5n
hfnn1OZ4Qno7b634BcMzTe5FTqY6zzFzcprBFfYMDMEUZ9MmMBpTcxcoO/8jxquq
XRgAyuqLFL6TcWkXat+X8oDwwqHMCPdLE5luuuXMx6LmbF1osJA=
=A0H5
-----END PGP SIGNATURE-----

3
wine-9.14.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24572f49cf3473fc9ef2a1ad1cddf511ce0ef43daa55413b4720a6c3e3c89ea6
size 30561796

16
wine-9.14.tar.xz.sign Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2iNXmnTUrZr50/lFzvrI6q8XUZ0FAmamo/8ACgkQzvrI6q8X
UZ2/CQ/+KEEsluiZAqAeSPRyiKMNWEHTlummXvHNmtXGcp5S3enF8zkv2N9HXB6o
jb8gcktyscX2LdcVG8OvbRp82uZeUckio2dhgyBVpP62ML1BYrGoh8e6s16xIb9C
wGMyAozkOav75uL6Y774kYheZZJY0KfCk3cD7mITnBXiX83ZS5wHLehBkBizCFtI
Sekod1X7H2oETouJwNynyjlvJGUA+PCp6XB5IwWtigaC4X/sYA0xhCbFMrr/cuOR
PJtprn5WuRX1pTlXwC7YVFLR90Mw+tsOZjnMx7b2YqtkH09F4huJgX+ORoD7i8y4
yBtaMk6nLmZIp2d1Tl1d4paiOBo3O+NyP0kc0ktpCImivfiO39xt066HYjkMh39/
FImgQ+EmFrJxW6ARfVx3RNEyDgbz5DHBv52i94bogy7gtoaztIj1HKitmt+ZSqis
eIhuzo5gvXDmjbKugBsA9bfaVzL+wpKSuGpoUX7XbYbraJJJWwBrHgDSvWF9j1+4
q4i0jnxnapbRZzOmSqm5vJkt4EBd4xsHbRr/oBEFX1SXtI8aH24szL5xQBCQtzAV
dZGoTDZbkg90Zd+F1pN+TYLw/ZH1uv1cdhAga0ENgqXtePRlb9/OhwZhniuuxnJY
81mrXvESyla+sasPvkZtnZRjhaXoxjv9EiL+/X0d1AMEwjxyT2w=
=CIv2
-----END PGP SIGNATURE-----

3
wine-9.15.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:79adef436dd68ddbd70178670a3c23aa98e8afd5540ac0f42345894c458b78dd
size 30580680

16
wine-9.15.tar.xz.sign Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2iNXmnTUrZr50/lFzvrI6q8XUZ0FAma3e+IACgkQzvrI6q8X
UZ26fw/+Jf0EsFaRSiEJwWIxgWrTFGRARpKFC1UsnFULATT7gvCdl/3rJ/dc6Qna
Wh7UjvFpJILLsZMUk24gm0Eq0lBoxfM5x7EI6oqhaCdapFQ9qqFEhm93oeuuZ8HA
wBOHqLzlJsQ+L8LRFrChZi/6SMHjqxxtLnmIvDagSUxZmpWAuqSfbrlCu1iS3j3g
7n4O+GViFeR4SFsY5UksjT/4tAE5cxJVfiBU6e9rm04m3TBFcprCd5ujAH20CAQ3
NGx8DNCfNctkAaBcMGJMDoXe+zgUBbyMsGwE9yD3DGLow6EOvDCBi/TZbEBCkZ0K
cSQiyRXqruEvVp8dbFtZmSNNnsuCCXYB03Oog41Tc0k+1PupheW603wPCwoCjSTM
RtjOpRnTgZK1cAq+UY0MLocI3ZNAqO9MkDVV11Dmv4uRuqFLMJaGwAuDnbc7pOKE
epNiAJNP/6UufCcDR2P6/K9HOEzrELjC4gLg0jGgHhAlwFBjZM7QA8mMzAP5+tdb
Uo2QrNKJn7HG0xeh4e7bLfbfXkrrf0vAFuCf3/YWUzTaCQ2/j9PBm6ZORfiZ4lkN
n3Sw71S93RrVdbILBp8iFExfNY8HOK0VKtQuVh3S2s3u+iX/xqTCaLuzt/72+JKh
3IHJ1jcx2euueUNbl3s4MZIUv0z3HKZeQN75/Z6hpT1p6jERn6o=
=dL+m
-----END PGP SIGNATURE-----

10
wine-msi.desktop Normal file
View File

@ -0,0 +1,10 @@
[Desktop Entry]
Exec=msiexec /i %f
Name=Wine MSI Installer
NoDisplay=true
GenericName=Run MSI Installers
Icon=wine
Type=Application
MimeType=application/x-msi;
Encoding=UTF-8
X-KDE-StartupNotify=false

4
wine-rpmlintrc Normal file
View File

@ -0,0 +1,4 @@
# Some of our .a files are data only, rpmlint check does not cover that
addFilter("lto-no-text-in-archive")
# we have a libwine.so.1, but it is really just for wine usage only.
addFilter("shlib-policy-name-error")

3
wine-staging-9.13.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:48727aef1f43e6235c254dd3bb8fbf115558b2b83f7787d335445d2631014e21
size 7217336

3
wine-staging-9.14.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d08d437ee79cc7143c4016fcf06e82e96ee91124b26d7e8f1dd499740d15eaf
size 7200088

3
wine-staging-9.15.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f2da8040660dc2d31d99f0467e39160dd0e1923fe69f04643e2ff3f1ff6a8344
size 7245100

6997
wine.changes Normal file

File diff suppressed because it is too large Load Diff

63
wine.desktop Normal file
View File

@ -0,0 +1,63 @@
[Desktop Entry]
Exec=wine start /unix %f
Name=Wine
NoDisplay=true
Name[af]=Wyn
Name[lo]=
Name[ta]=¨Åý
Name[ven]=Veini
Name[zu]=Iwayini
GenericName=Run Windows Programs
GenericName[af]=Hardloop Vensters Programme
GenericName[be]=Выканаць Windows праграмы
GenericName[bg]=Програма за Изпълнение на Windows Програми
GenericName[bs]=Pokretanje Windows programa
GenericName[ca]=Engega programes Windows
GenericName[cs]=Provozujte programy z Windows
GenericName[da]=Kører Windows programmer
GenericName[de]=Windows-Programme ausführen
GenericName[el]=Εκτέλεση προγραμμάτων Windows
GenericName[eo]=Lanĉu Vindozaj Programoj
GenericName[es]=Ejecución de programas de Windows
GenericName[et]=Windows rakenduste käivitamine
GenericName[eu]=Windows Programak Abiarazten Ditu
GenericName[fa]=اجرای برنامههای ویندوز
GenericName[fi]=Aja Windows ohjelmia
GenericName[fr]=Fait fonctionner des programmes Windows
GenericName[he]=הפעלת תוכניות של Windows
GenericName[hu]=Windows-emulátor
GenericName[is]=Keyra Windows forrit
GenericName[it]=Esecuzione programmi windows
GenericName[ja]=Windows
GenericName[lo]=
GenericName[lt]=Leisti Windows programas
GenericName[lv]=Darbina Windows Programmas
GenericName[mk]=Стартувај Windows програми
GenericName[mn]=Виндовсын-Програм ажиллуулах
GenericName[nb]=Kjør Windows-programmer
GenericName[nl]=Windows-programma's draaien
GenericName[nn]=Køyr Windows-program
GenericName[nso]=Tsamaisa Mananeo a di-Window
GenericName[pl]=Środowisko do uruchamiania programów Windows
GenericName[pt]=Executar Programas de Windows
GenericName[pt_BR]=Executar Programas do Windows
GenericName[ro]=Rulează programe de Windows
GenericName[ru]=Выполнение программ Windows
GenericName[se]=Vuoje Windows-prográmmaid
GenericName[sk]=Beh aplikácií Windows
GenericName[sl]=Poganjanje programov za Windows
GenericName[sv]=Kör Windows-program
GenericName[ta]=Å¢ý§¼¡Š ¿¢Ãø¸¨Ç þÂìÌ
GenericName[tr]=Windows Programlarını Çalıştır
GenericName[uk]=Запуск програм Windows
GenericName[ven]=Mbekanyamushumo yau tshimbidza dziwindow
GenericName[vi]=Chy chương trình ca Windows
GenericName[xh]=Sebenzisa Udweliso lweenkqubo lwe Windows
GenericName[zh_CN]= Windows
GenericName[zh_TW]= Windows
GenericName[zu]=Sebenzisa izinhlelo zemisebenzi zama-WIndow
Icon=wine
Type=Application
MimeType=application/x-msdos-program;application/x-ms-dos-executable;application/x-msi;application/x-win-lnk;application/x-ms-shortcut;
Encoding=UTF-8
X-KDE-StartupNotify=false

52
wine.keyring Normal file
View File

@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFY4SBYBEAC11sh4AMhIhiLxj76FXsluVJIU4nZjVmexar+/5WMlVvMX+Dxk
lUbKDCBOUMtPFsAXMpcxOGwscCr3WMuI8WszTjKDs3mdQ37o/pzXMbRhY0oZV29Z
EhNLds14qhMLlQiDEm5lJ5bOsLevHJ9hR4wvwY6UR881xsiXsNU+iNMRP0cWeRjQ
84pSCLOt9i+D8rdllVob871gN/tjY4Ll13Tg7qmtFE1YEFJaLb2yik0bO7gPkig/
ADmKMBhOtgAHU9i+gmtP+x+agk7cbXkR06Pd9VBkd9nYlFXbR+zcE15AqauEF1Y2
V9RbW/Ewt4Fmgr+QQnJhiSMO2BUTS2Q0CC3LznB9QOdEriUmeXGJdim0OJiwYDDX
4CNRk+2CAePbrZnGv+YXgeNPHvFa0Baj73HP8Ptok+OeyWIenRPHG3Ni+O5p1n5k
QK0bHqIwChMtAJvzdoC77XIJhbCtStmvo2FdSA8YcG4stlz+Wk1ZtNMen83ZEscS
OXEVpxcPGlbmWmkWj8DF5zbB1dRdh4T6LLM4nZViBu7oGD76z3c/x2zc7l3pyVHx
Cw70a+r+6LvUwnvCiApCBS72uDc4zZtnkNUQHlXHkz9wEeYUtUB0wkCYWPZy7BZy
0aFfKWK4Jg7uGx/mdHRCJ35MdXWxeQ4yPUE+tF951s167ANr1+ayt87pQwARAQAB
tChBbGV4YW5kcmUgSnVsbGlhcmQgPGp1bGxpYXJkQHdpbmVocS5vcmc+iQI3BBMB
AgAhAhsDAh4BAheABQJWOEvIBQsJCAcDBRUKCQgLBRYCAwEAAAoJEM76yOqvF1Gd
UqkQAJw6ot97efCon6qMA7ctJTqhOvnPSxf430aZgaTuNBEfY3RPeWC+k11cTvKV
dny9xwC+N8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tKTaE
mOMR1xJlCiQvAQYsmqwM9FHDmGJYTQE1WbVZu4gZ
=6vF7
-----END PGP PUBLIC KEY BLOCK-----

594
wine.spec Normal file
View File

@ -0,0 +1,594 @@
#
# spec file
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define projectname wine
%global flavor @BUILD_FLAVOR@%nil
%define staging 0
%ifarch x86_64 aarch64
%define wow64_build 0
%endif
%ifarch %ix86
%define wow64_build 0
%endif
%if "%flavor" == "staging"
%define staging 1
%endif
%if "%flavor" == "wow64"
%define wow64_build 1
%endif
%if "%flavor" == "staging-wow64"
%define staging 1
%define wow64_build 1
%endif
# needs to be on top due to usage of %version macro below
%define realver 9.15
Version: 9.15
Release: 0
%if "%{flavor}" != ""
Name: wine%{?flavor:-}%{?flavor}
Provides: wine = %{version}-%{release}
%else
Name: wine
%endif
Conflicts: otherproviders(wine)
# the wow64 is now a 64bit flavor of the 32bit build.
%if "%{flavor}" == "wow64" || "%{flavor}" == "staging-wow64"
Conflicts: otherproviders(wine-32bit)
Provides: wine-32bit = %{version}-%{release}
%endif
BuildRequires: alsa-devel
BuildRequires: autoconf
BuildRequires: bison
%ifarch aarch64
BuildRequires: clang >= 5
BuildRequires: lld
BuildRequires: llvm
%endif
BuildRequires: cups-devel
%if 0%{?suse_version} >= 1550
BuildRequires: libcapi20-devel
BuildRequires: vkd3d-devel
%endif
BuildRequires: FAudio-devel
BuildRequires: dbus-1-devel
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: flex
BuildRequires: fontconfig-devel
BuildRequires: freeglut-devel
BuildRequires: freetype2-devel
BuildRequires: giflib-devel
BuildRequires: glib2-devel
BuildRequires: gstreamer-plugins-base-devel
BuildRequires: krb5-devel
BuildRequires: libgnutls-devel
BuildRequires: libgphoto2-devel
BuildRequires: libgsm-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms2-devel
BuildRequires: libpcap-devel
BuildRequires: libpng-devel
BuildRequires: libpulse-devel
BuildRequires: libtiff-devel
BuildRequires: libv4l-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
%if 0%{?suse_version} >= 1330
BuildRequires: mpg123-devel
BuildRequires: vulkan-devel
%ifarch %{ix86} x86_64
Requires: libvulkan_intel
%endif
Requires: libvulkan_radeon
Provides: wine-mp3 = %version
Obsoletes: wine-mp3 < %version
%else
Recommends: wine-mp3
%endif
BuildRequires: SDL2-devel
BuildRequires: git
BuildRequires: ncurses-devel
BuildRequires: ocl-icd-devel
BuildRequires: openal-soft-devel
BuildRequires: openldap2-devel
BuildRequires: openssl-devel
BuildRequires: pcsc-lite-devel
BuildRequires: pkgconfig
BuildRequires: sane-backends-devel
BuildRequires: update-desktop-files
BuildRequires: valgrind-devel
%if 0%{?suse_version} >= 1550
%ifarch x86_64
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-zlib-devel
Requires: mingw64-libz
%if %{wow64_build}
BuildRequires: mingw32-cross-gcc
%endif
%endif
%ifarch %ix86
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-zlib-devel
Requires: mingw32-libz
%endif
%endif
BuildRequires: systemd-devel
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(osmesa)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(x11-xcb)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-dri3)
BuildRequires: pkgconfig(xcb-present)
BuildRequires: pkgconfig(xcb-xfixes)
BuildRequires: pkgconfig(xcomposite)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(xkbregistry)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xrender)
BuildRequires: pkgconfig(xxf86vm)
BuildRequires: pkgconfig(zlib)
Summary: An MS Windows Emulator
License: LGPL-2.1-or-later
Group: System/Emulators/PC
URL: https://www.winehq.org/
Source0: https://dl.winehq.org/wine/source/9.x/%{projectname}-%{realver}.tar.xz
Source41: wine.keyring
Source42: https://dl.winehq.org/wine/source/9.x/%{projectname}-%{realver}.tar.xz.sign
Source2: http://kegel.com/wine/wisotool
Source3: README.SUSE
Source4: wine.desktop
Source6: wine-msi.desktop
Source5: ubuntuwine.tar.bz2
Source7: baselibs.conf
Source8: wine-rpmlintrc
# SUSE specific patches
# - currently none, but add them here
#Patch0: 0001-mf-tests-Remove-static-specifier-on-variables-refere.patch
Recommends: wine-gecko >= 2.47.4
Conflicts: wine-gecko < 2.47.4
Recommends: wine-mono >= 9.2.0
Conflicts: wine-mono < 9.2.0
# not packaged in distro...
Recommends: wine-mono
Recommends: alsa-plugins
Recommends: dosbox
Recommends: pipewire-alsa
Recommends: winetricks
Requires: samba-winbind
%if "%{flavor}" != "wow64" && "%{flavor}" != "staging-wow64"
%ifarch x86_64
Requires: %{name}-32bit = %{version}
%endif
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %{ix86} x86_64 ppc armv7l armv7hl aarch64
%if %{staging}
# upstream patch target version
%define staging_version 9.15
Source100: wine-staging-%{staging_version}.tar.xz
BuildRequires: gtk3-devel
BuildRequires: libOSMesa-devel
BuildRequires: libva-devel
BuildRequires: python3
%endif
# wine bundles multiple unix libraries to be able to build PE files without dependencies
# current versions are from 7.22 (update this if you update the versions below):
Provides: bundled(FAudio) = 23.12.0
Provides: bundled(fluidsynth) = 2.3.3
Provides: bundled(jpeg) = 9e
Provides: bundled(libgsm) = 1.10.19
Provides: bundled(libjxr) = 1.1
Provides: bundled(liblcms2) = 2.15
Provides: bundled(libpng) = 1.6.40
Provides: bundled(libxml2) = 2.11.5
Provides: bundled(libxslt) = 1.1.38
Provides: bundled(mpg123) = 1.32.2
Provides: bundled(musl) = 1.2.3
Provides: bundled(openldap2) = 2.5.16
Provides: bundled(tiff) = 4.6.0
Provides: bundled(vkd3d) = 1.10
Provides: bundled(zlib) = 1.3
%description
Wine is a compatibility layer capable of running Windows
applications. Instead of simulating internal Windows logic like a
virtual machine or emulator, Wine translates Windows API calls into
POSIX calls on-the-fly, eliminating the performance and memory
penalties of other methods and allowing you to cleanly integrate
Windows applications into your desktop.
%if %{staging}
This WINE flavor contains the "staging" development patchset
on top of the regular Wine release.
%endif
You can run your Windows executables with it and write your Windows
programs under Linux and link against the WINE libraries. It is not
necessary to have a Windows installation to run WINE.
Refer to %{_datadir}/doc/packages/wine/README.SUSE. There is more
documentation available in that directory. Read 'man wine' for further
information.
You can invoke wine by entering 'wine program.exe'. Configure it by
running 'winecfg'.
%package devel
Summary: Files for Wine development
Group: Development/Libraries/C and C++
%if "%{flavor}" != ""
Provides: wine-devel = %{version}
%endif
Conflicts: otherproviders(wine-devel)
%description devel
This RPM contains the header files and development tools for the WINE
libraries.
%prep
%setup -q -n wine-%{realver}
%autopatch -p1
#
cp %{S:3} .
#
%if %{staging}
# apply wine staging patch set on top of the wine release.
tar xf %{SOURCE100}
python3 ./wine-staging-%staging_version/staging/patchinstall.py --all
%endif
%build
# currently not building with LTO
%define _lto_cflags %{nil}
cat VERSION
export WIDL_TIME_OVERRIDE="0" # for reproducible builds.
%ifarch %ix86
# e.g. Steam and other copy protections hate EBP being used for something else.
export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fomit-frame-pointer//'`
%endif
%ifarch aarch64
# ARM64 now requires clang
# https://source.winehq.org/git/wine.git/commit/8fb8cc03c3edb599dd98f369e14a08f899cbff95
export CC="/usr/bin/clang"
%endif
%if %{staging}
autoreconf -i -f
%endif
# keep just for susepatches with configure changes
#autoconf
#autoheader -I include
CFLAGS="$RPM_OPT_FLAGS" \
%configure \
--with-x \
%ifarch %{arm}
--with-float-abi=hard \
%endif
%ifarch x86_64 aarch64
--enable-win64 \
%if %{wow64_build}
--enable-archs=x86_64,i386 \
%endif
%endif
--verbose || cat config.log
grep "have_x=yes" config.log || exit 1
# generate baselibs.conf
%ifarch %ix86 aarch64
echo "# autogenerated in .spec file" >%SOURCE7
echo "%name" >> %SOURCE7
echo " +^/usr/bin/wine\$" >> %SOURCE7
echo " +^/usr/bin/wine-preloader\$" >> %SOURCE7
echo " +^/usr/lib/wine/i386-windows" >> %SOURCE7
echo " +^/usr/lib/wine/i386-unix" >> %SOURCE7
grep SONAME_ config.log
grep SONAME_ config.log|grep -v 'so"'|sed -e 's/^.*\(".*"\).*$/ requires \1/;'|sort -u >>%SOURCE7
echo " recommends \"libpulse0-32bit\"" >> %SOURCE7
echo " recommends \"pipewire-alsa-32bit\"" >> %SOURCE7
echo " recommends \"alsa-plugins-32bit\"" >> %SOURCE7
echo " recommends \"Mesa-libGL1-32bit\"" >> %SOURCE7
%if 0%{?suse_version} >= 1330
# indirect deps of libvulkan
echo " requires \"libvulkan_intel-32bit\"" >> %SOURCE7
echo " requires \"libvulkan_radeon-32bit\"" >> %SOURCE7
# now included
echo " obsoletes \"wine-mp3-32bit\"" >> %SOURCE7
%else
echo " recommends \"wine-mp3-32bit\"" >> %SOURCE7
%endif
%if 0%{?suse_version} >= 1310
echo " requires \"p11-kit-32bit\"" >> %SOURCE7
%endif
%if "%{flavor}" != ""
echo " provides \"wine-<targettype> = <version>\"" >> %SOURCE7
%endif
echo " conflicts \"otherproviders(wine-<targettype>)\"" >> %SOURCE7
echo "%name-devel" >> %SOURCE7
echo " +^/usr/lib/wine/.*def" >> %SOURCE7
%if "%{flavor}" != ""
echo " provides \"wine-devel-<targettype> = <version>\"" >> %SOURCE7
%endif
echo " conflicts \"otherproviders(wine-devel-<targettype>)\"" >> %SOURCE7
cat %SOURCE7
%endif
make %{?_smp_mflags} all
%install
make install DESTDIR=%{buildroot}
%ifarch x86_64
%if !%{wow64_build}
mkdir -p \
%{buildroot}/usr/lib/wine/i386-windows \
%{buildroot}/usr/lib/wine/i386-unix
ln -s \
/usr/lib/wine/i386-windows \
/usr/lib/wine/i386-unix \
%buildroot/usr/%_lib/wine/
%endif
%endif
# install desktop file
install -d %{buildroot}%{_datadir}/applications/
%suse_update_desktop_file %{SOURCE4} System Emulator
install -m 0644 %SOURCE4 %{buildroot}%{_datadir}/applications/
install -m 0644 %SOURCE6 %{buildroot}%{_datadir}/applications/
install -m 0755 %SOURCE2 %{buildroot}%{_bindir}/
mv %{buildroot}/%{_mandir}/de.UTF-8 %{buildroot}/%{_mandir}/de
mv %{buildroot}/%{_mandir}/fr.UTF-8 %{buildroot}/%{_mandir}/fr
%ifnarch x86_64
mv %{buildroot}/%{_mandir}/pl.UTF-8 %{buildroot}/%{_mandir}/pl
%endif
%if %{wow64_build}
mv %{buildroot}/%{_mandir}/pl.UTF-8 %{buildroot}/%{_mandir}/pl
%endif
%ifarch %ix86 x86_64
# Use plain strip, which unlike the MinGW variant preserves the wine builtin marker
find %{buildroot}/usr/lib*/wine/*-windows/ -type f -exec strip --strip-debug {} +
%endif
%ifarch aarch64
# Do not ship static *.a libs
rm %{buildroot}%{_libdir}/wine/*-windows/*.a
%endif
tar -xjf %{SOURCE5}
# Copied from Ubuntu Wine out of debian.diff
# https://launchpad.net/~ubuntu-wine/+archive/ppa/+packages
# taken on 1.2rc2 time.
cd ubuntuwine
install -d %{buildroot}%{_sysconfdir}/xdg/menus/applications-merged
install -c -m 644 wine.menu %{buildroot}%{_sysconfdir}/xdg/menus/applications-merged
# Install application-specific desktop files
install -d %{buildroot}%{_datadir}/applications
install -c -m 644 *.desktop %{buildroot}%{_datadir}/applications/
sed -i "/X-SuSE-translate/d" %{buildroot}%{_datadir}/applications/*.desktop
install -d %{buildroot}%{_datadir}/desktop-directories/
install -c -m 644 *.directory %{buildroot}%{_datadir}/desktop-directories/
# Correct desktop files' categories
%suse_update_desktop_file -n -r wine-notepad Utility TextEditor
%suse_update_desktop_file -n -r wine-uninstaller System Emulator
%suse_update_desktop_file -n -r wine-winecfg System Emulator
%suse_update_desktop_file -n -r wine-regedit System Emulator
%suse_update_desktop_file -n -r wine-winehelp System Emulator
%suse_update_desktop_file -n -r wine-msi System Emulator
%suse_update_desktop_file -n -r wine-browsedrive System Emulator
%suse_update_desktop_file -n -r wine-winefile System FileManager
%suse_update_desktop_file -n -r wine-winemine Game BoardGame
# Install icons
install -d %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
install -c -m 644 *.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
cd ..
# find the implicit dependencies
%define winedir %_builddir/%projectname-%realver
cat >%winedir/my-find-requires.sh <<EOF
#!/bin/bash
%{__find_requires}
%ifarch x86_64 aarch64
grep SONAME_ %winedir/config.log|grep -v 'so"'|sed -e 's/^.*"\(.*\)".*$/\1()(64bit)/;'|sort -u
%else
grep SONAME_ %winedir/config.log|grep -v 'so"'|sed -e 's/^.*"\(.*\)".*$/\1/;'|sort -u
%endif
EOF
chmod 755 %winedir/my-find-requires.sh
%define _use_internal_dependency_generator 0
%define __find_requires %winedir/my-find-requires.sh
# breaks btrfs installation, see bnc#723402
# %%fdupes -s %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%license LICENSE LICENSE.OLD
%doc ANNOUNCE.md AUTHORS README*
%{_bindir}/function_grep.pl
%{_bindir}/msidb
%{_bindir}/msiexec
%{_bindir}/notepad
%{_bindir}/regedit
%{_bindir}/regsvr32
%{_bindir}/wineboot
%{_bindir}/winecfg
%{_bindir}/wineconsole
%{_bindir}/winedbg
%{_bindir}/winefile
%{_bindir}/winemine
%{_bindir}/winepath
%{_bindir}/wineserver
%{_bindir}/wisotool
%{_datadir}/wine
%ifnarch x86_64
%doc %{_mandir}/man1/wine.1*
%endif
%if %{wow64_build}
%doc %{_mandir}/man1/wine.1*
%endif
%doc %{_mandir}/man1/winedbg.1*
%doc %{_mandir}/man1/wineserver.1*
%ifnarch x86_64
%doc %dir %doc %{_mandir}/pl
%doc %dir %doc %{_mandir}/pl/man1
%doc %{_mandir}/*/man1/wine.1*
%endif
%if %{wow64_build}
%doc %dir %doc %{_mandir}/pl
%doc %dir %doc %{_mandir}/pl/man1
%doc %{_mandir}/*/man1/wine.1*
%endif
%doc %{_mandir}/*/man1/wineserver.1*
%doc %{_mandir}/man1/msiexec.1.*
%doc %{_mandir}/man1/notepad.1.*
%doc %{_mandir}/man1/regedit.1.*
%doc %{_mandir}/man1/regsvr32.1.*
%doc %{_mandir}/man1/wineboot.1.*
%doc %{_mandir}/man1/winebuild.1.*
%doc %{_mandir}/man1/winecfg.1.*
%doc %{_mandir}/man1/wineconsole.1.*
%doc %{_mandir}/man1/winecpp.1.*
%doc %{_mandir}/man1/winefile.1.*
%doc %{_mandir}/man1/winemine.1.*
%doc %{_mandir}/man1/winepath.1.*
%dir %{_sysconfdir}/xdg/menus/
%dir %{_sysconfdir}/xdg/menus/applications-merged
%config %{_sysconfdir}/xdg/menus/applications-merged/*.menu
%{_datadir}/applications/*.desktop
%dir %{_datadir}/desktop-directories/
%{_datadir}/desktop-directories/*.directory
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/scalable
%dir %{_datadir}/icons/hicolor/scalable/apps
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%ifarch %ix86 aarch64
%{_bindir}/wine
%{_bindir}/wine-preloader
%endif
%ifarch ppc %arm
%{_bindir}/wine
%endif
%ifarch x86_64
%if %{wow64_build}
%{_bindir}/wine
%{_bindir}/wine-preloader
%else
%{_bindir}/wine64
%{_bindir}/wine64-preloader
%endif
%endif
%ifarch x86_64
%if !%{wow64_build}
%dir /usr/lib/wine/
%dir /usr/lib/wine/i386-windows
%dir /usr/lib/wine/i386-unix
%{_libdir}/wine/i386-unix
%{_libdir}/wine/i386-windows
%else
%dir %{_libdir}/wine/i386-windows
%exclude %{_libdir}/wine/i386-windows/*.a
%endif
%dir %{_libdir}/wine/x86_64-windows
%dir %{_libdir}/wine/x86_64-unix
%dir %{_libdir}/wine
%else
%dir %{_libdir}/wine
%dir %{_libdir}/wine/*-windows
%dir %{_libdir}/wine/*-unix
%endif
%{_libdir}/wine/*-windows/*.[b-z]*
%{_libdir}/wine/*-windows/*.ax
%{_libdir}/wine/*-windows/*.acm
#ifarch aarch64
#{_libdir}/wine/*-windows/st*
#endif
%{_libdir}/wine/*-unix/*.so*
%files devel
%defattr(-,root,root)
%{_includedir}/wine
%{_bindir}/widl
%{_bindir}/winebuild
%{_bindir}/winecpp
%{_bindir}/winedump
%{_bindir}/wineg++
%{_bindir}/winegcc
%{_bindir}/winemaker
%{_bindir}/wmc
%{_bindir}/wrc
%ifnarch aarch64
%ifarch x86_64
%if 0%{?suse_version} < 1600
%{_libdir}/wine/*-unix/*.a
%endif
%else
%{_libdir}/wine/*-unix/*.a
%endif
%endif
%if 0%{?suse_version} >= 1550
%ifarch %{ix86} x86_64
%ifarch x86_64
%dir %{_libdir}/wine/x86_64-windows
%dir %{_libdir}/wine/x86_64-unix
%endif
# only generated with mingw
%{_libdir}/wine/*-windows/*.a
%endif
%endif
%doc %{_mandir}/man1/winemaker.1*
%doc %{_mandir}/*/man1/winemaker.1*
%doc %{_mandir}/man1/widl.1*
%doc %{_mandir}/man1/winedump.1*
%doc %{_mandir}/man1/wineg++.1*
%doc %{_mandir}/man1/winegcc.1*
%doc %{_mandir}/man1/wmc.1*
%doc %{_mandir}/man1/wrc.1*
# {_datadir}/aclocal/wine.m4
%changelog

9293
wisotool Normal file

File diff suppressed because it is too large Load Diff