projects:repos:wine-patches_copr
This is an old revision of the document!
Table of Contents
Information
- Fedora Wine Staging with additional patches and compile options
- Mostly for Guild Wars 2, but might affect other things
Resources
Dependencies
sudo dnf install 'rpm-build'
Prepare SRPM
- Acquire SRPM from https://koji.fedoraproject.org/koji/packageinfo?packageID=4106
- Use the latest version of Wine available for the latest supported version of Fedora
rm -Rf ~/'rpmbuild' && rpm -ivh ~/'Downloads/wine'*'.src.rpm' && sync
Download Patches
- Patches go in
~/rpmbuild/SOURCES/*.patch
Depreciated
Spec Config
gio open ~/'rpmbuild/SPECS/wine.spec'
Version
- Release format is
1%{?dist}.# - Add
.1value toRelease - If new
Versionis released, start back at.1
1%{?dist}.1
Include Patches
- Add under
Patch511: wine-cjk.patch - Replace
xwith extra.patchfilenames
Patch600: x Patch601: x Patch602: x Patch603: x Patch604: x Patch605: x
Apply Patches
- Add under
%prepsection below themake -C patches DESTDIR=“`pwd`” installline
%patch600 -p1 %patch601 -p1 %patch602 -p1 %patch603 -p1 %patch604 -p1 %patch605 -p1
Build SRPM
rpmbuild -bs ~/'rpmbuild/SPECS/wine.spec' && sync
Compile Locally
sudo dnf builddep ~/'Downloads/wine'*'.src.rpm' && sync
rpmbuild -ba ~/'rpmbuild/SPECS/wine.spec' && sync
Cleanup
sudo dnf remove 'rpm-build'
rm -Rf ~/'rpmbuild' ~/'Downloads/wine'*'.src.rpm'
Changelog
- 2018/02/24: wine-pba
/usr/local/www/wiki/data/attic/projects/repos/wine-patches_copr.1723602416.txt.gz · Last modified: by Sean Rhone
