projects:copr:wine-patches-gallium-nine
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:copr:wine-patches-gallium-nine [2018/06/28 04:18] – Sean Rhone | projects:copr:wine-patches-gallium-nine [2018/06/28 04:26] (current) – Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Information ====== | ||
+ | * Wine | ||
+ | * Wine Staging | ||
+ | * sarnex/ | ||
+ | |||
+ | * https:// | ||
+ | * Heavily based off of [[https:// | ||
+ | |||
+ | ====== Dependencies ====== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo dnf install ' | ||
+ | |||
+ | ====== Prepare Build Environment ====== | ||
+ | |||
+ | ===== Acquire SRPM ===== | ||
+ | |||
+ | * Acquire SRPM from https:// | ||
+ | |||
+ | ===== Extract SRPM ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | rm -Rf ~/' | ||
+ | |||
+ | ====== Spec Config ====== | ||
+ | |||
+ | **** | ||
+ | |||
+ | gio open ~/' | ||
+ | |||
+ | ===== Release ===== | ||
+ | |||
+ | * Default release is '' | ||
+ | * Increase '' | ||
+ | * Add '' | ||
+ | * If '' | ||
+ | * Check https:// | ||
+ | |||
+ | < | ||
+ | Release: | ||
+ | |||
+ | ===== Add Patches ===== | ||
+ | |||
+ | * Add under '' | ||
+ | * Check all filenames to be sure they' | ||
+ | |||
+ | < | ||
+ | # sarnex/ | ||
+ | Patch600: | ||
+ | Patch601: | ||
+ | |||
+ | ===== BuildRequires ===== | ||
+ | |||
+ | ==== mesa-libd3d-devel ==== | ||
+ | |||
+ | * This happens around line '' | ||
+ | * Add after ''# | ||
+ | |||
+ | < | ||
+ | # Gallium Nine | ||
+ | BuildRequires: | ||
+ | |||
+ | === Preview === | ||
+ | |||
+ | < | ||
+ | BuildRequires: | ||
+ | %endif # 0%{? | ||
+ | |||
+ | # Gallium Nine | ||
+ | BuildRequires: | ||
+ | |||
+ | %if 0%{?fedora} >= 10 || 0%{?rhel} >= 6 | ||
+ | BuildRequires: | ||
+ | |||
+ | ==== mesa-libd3d(x86-32) ==== | ||
+ | |||
+ | * This happens around line '' | ||
+ | * Add after '' | ||
+ | |||
+ | < | ||
+ | Requires: | ||
+ | |||
+ | === Preview === | ||
+ | |||
+ | < | ||
+ | Requires: | ||
+ | %if 0%{? | ||
+ | Requires: | ||
+ | %endif | ||
+ | Requires: | ||
+ | %endif</ | ||
+ | |||
+ | ==== mesa-libd3d(x86-64) ==== | ||
+ | |||
+ | * This happens around line '' | ||
+ | * Add after '' | ||
+ | |||
+ | < | ||
+ | Requires: | ||
+ | |||
+ | === Preview === | ||
+ | |||
+ | < | ||
+ | Requires: | ||
+ | %if 0%{? | ||
+ | Requires: | ||
+ | %endif | ||
+ | Requires: | ||
+ | %endif</ | ||
+ | |||
+ | ===== Include Patches ===== | ||
+ | |||
+ | * This happens around line '' | ||
+ | * Add above '' | ||
+ | |||
+ | < | ||
+ | # sarnex/ | ||
+ | %patch600 -p1 | ||
+ | %patch601 -p1 | ||
+ | |||
+ | autoreconf -f</ | ||
+ | |||
+ | ==== Preview ==== | ||
+ | |||
+ | < | ||
+ | # fix parallelized build | ||
+ | sed -i -e ' | ||
+ | |||
+ | %endif # 0%{? | ||
+ | |||
+ | # sarnex/ | ||
+ | %patch600 -p1 | ||
+ | %patch601 -p1 | ||
+ | |||
+ | autoreconf -f | ||
+ | |||
+ | %build</ | ||
+ | |||
+ | ===== with-d3d9-nine Configure ===== | ||
+ | |||
+ | * This happens around line '' | ||
+ | * Add to '' | ||
+ | |||
+ | < | ||
+ | | ||
+ | |||
+ | ==== Preview ==== | ||
+ | |||
+ | < | ||
+ | %{? | ||
+ | | ||
+ | | ||
+ | |||
+ | make %{? | ||
+ | |||
+ | ===== d3d9-nine.dll Library ===== | ||
+ | |||
+ | * This happens around line '' | ||
+ | * Add above '' | ||
+ | |||
+ | < | ||
+ | %{_libdir}/ | ||
+ | |||
+ | ==== Preview ==== | ||
+ | |||
+ | < | ||
+ | %{_libdir}/ | ||
+ | %{_libdir}/ | ||
+ | %{_libdir}/ | ||
+ | %{_libdir}/ | ||
+ | |||
+ | ====== Build SRPM ====== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | rpmbuild -bs ~/' | ||
+ | |||
+ | ~/ | ||
+ | |||
+ | ====== Compile Locally ====== | ||
+ | |||
+ | sudo dnf builddep ~/' | ||
+ | |||
+ | rpmbuild -ba ~/' | ||
+ | |||
+ | ====== Cleanup ====== | ||
+ | |||
+ | sudo dnf remove ' | ||
+ | |||
+ | rm -Rf ~/' |