projects:copr:wine-staging-master
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:copr:wine-staging-master [2018/03/04 08:08] – [Version] Sean Rhone | projects:copr:wine-staging-master [2018/03/21 10:14] (current) – Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Information ====== | ||
+ | * Wine ((https:// | ||
+ | * Wine Staging ((https:// | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | ====== Dependencies ====== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo dnf install ' | ||
+ | |||
+ | ====== Prepare Build Environment ====== | ||
+ | |||
+ | ===== Acquire SRPM ===== | ||
+ | |||
+ | * Acquire SRPM from https:// | ||
+ | * Currently '' | ||
+ | |||
+ | wget -O ~/' | ||
+ | |||
+ | ===== Extract SRPM ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | rm -Rf ~/' | ||
+ | |||
+ | ====== Spec Config ====== | ||
+ | |||
+ | **** | ||
+ | |||
+ | gio open ~/' | ||
+ | |||
+ | ===== Enable Wine Staging ===== | ||
+ | |||
+ | * Change '' | ||
+ | * If Fedora provides a new SRPM in the future that includes Staging, they' | ||
+ | |||
+ | %global compholio 0 | ||
+ | |||
+ | %global compholio 1 | ||
+ | |||
+ | ===== Version ===== | ||
+ | |||
+ | * '' | ||
+ | |||
+ | < | ||
+ | Version: | ||
+ | |||
+ | ===== Release ===== | ||
+ | |||
+ | * Default release format is '' | ||
+ | * Increase '' | ||
+ | * Since this is '' | ||
+ | * Check https:// | ||
+ | |||
+ | < | ||
+ | Release: | ||
+ | |||
+ | ===== Sources ===== | ||
+ | |||
+ | ==== Wine ==== | ||
+ | |||
+ | * For '' | ||
+ | |||
+ | < | ||
+ | Source0: | ||
+ | Source10: | ||
+ | |||
+ | ==== Wine Staging ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | < | ||
+ | Source900: https:// | ||
+ | |||
+ | ===== GCC Flags ===== | ||
+ | |||
+ | ==== Ofast ==== | ||
+ | |||
+ | * Find the following line under '' | ||
+ | * Change '' | ||
+ | |||
+ | export TEMP_CFLAGS=" | ||
+ | |||
+ | export TEMP_CFLAGS=" | ||
+ | |||
+ | ===== Fixes ===== | ||
+ | |||
+ | ==== Vulkan ICD loader DLL ==== | ||
+ | |||
+ | * Remove this entire section from the '' | ||
+ | * TODO: I had a way to verify if this was needed at some point by referencing some upstream code; re-figure that out | ||
+ | |||
+ | < | ||
+ | %if 0%{? | ||
+ | %{_libdir}/ | ||
+ | %{_libdir}/ | ||
+ | %endif</ | ||
+ | |||
+ | ==== Other ==== | ||
+ | |||
+ | * TODO: Fix after tested | ||
+ | |||
+ | * Add: | ||
+ | |||
+ | %{_libdir}/ | ||
+ | |||
+ | * Remove: | ||
+ | |||
+ | < | ||
+ | %if 0%{? | ||
+ | %{_libdir}/ | ||
+ | %endif</ | ||
+ | |||
+ | ====== Wine Source Packages ====== | ||
+ | |||
+ | ===== Remove Existing Archive ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | rm -fv ~/' | ||
+ | |||
+ | ===== Wine ===== | ||
+ | |||
+ | * master | ||
+ | |||
+ | * Check [[https:// | ||
+ | * If the commit and staging rebase don't match, either blindly try Wine's master anyway, or manually download the tree from the last rebase Staging did | ||
+ | |||
+ | wget -O ~/' | ||
+ | |||
+ | ===== Wine Staging ===== | ||
+ | |||
+ | * master | ||
+ | |||
+ | wget -O ~/' | ||
+ | |||
+ | ====== Build SRPM ====== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | rpmbuild -bs ~/' | ||
+ | |||
+ | ~/ | ||
+ | |||
+ | ====== Compile Locally ====== | ||
+ | |||
+ | sudo dnf builddep ~/' | ||
+ | |||
+ | rpmbuild -ba ~/' | ||
+ | |||
+ | ====== Cleanup ====== | ||
+ | |||
+ | sudo dnf remove ' | ||
+ | |||
+ | rm -Rf ~/' |