User Tools

Site Tools


projects:fedora_wine-patches_copr

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

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 to Release
  • 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 the make -C patches DESTDIR=“`pwd`” install line
%patch600 -p1
%patch601 -p1
%patch602 -p1
%patch603 -p1
%patch604 -p1
%patch605 -p1

Build SRPM

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

projects/fedora_wine-patches_copr.txt · Last modified: 2018/02/24 21:56 by Sean Rhone