projects:repos:wine-patches_copr
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
.1
value toRelease
- If new
Version
is released, start back at.1
1%{?dist}.1
Include Patches
- Add under
Patch511: wine-cjk.patch
- Replace
x
with extra.patch
filenames
Patch600: x Patch601: x Patch602: x Patch603: x Patch604: x Patch605: x
Apply Patches
- Add under
%prep
section below themake -C patches DESTDIR=“`pwd`” install
line
%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
/srv/www/wiki/data/pages/projects/repos/wine-patches_copr.txt · Last modified: by 127.0.0.1