projects:copr:wine-patches-laino
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:copr:wine-patches-laino [2018/02/28 13:31] – [laino] Sean Rhone | projects:copr:wine-patches-laino [2018/03/02 04:34] (current) – [Release] Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Information ====== | ||
+ | * Wine 2.0 ((https:// | ||
+ | * Wine Staging 2.0 ((https:// | ||
+ | * laino/ | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | ====== Dependencies ====== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo dnf install ' | ||
+ | |||
+ | ====== Prepare Build Environment ====== | ||
+ | |||
+ | ===== Acquire SRPM ===== | ||
+ | |||
+ | ==== 2.0 F25 ==== | ||
+ | |||
+ | * F25 is the latest version of Fedora this SRPM is available for; works fine on F27 | ||
+ | |||
+ | wget -O ~/' | ||
+ | |||
+ | ===== Extract SRPM ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | rm -Rf ~/' | ||
+ | |||
+ | ====== Download Patches ====== | ||
+ | |||
+ | ===== laino/ | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | * Last commit at time of writing in laino/ | ||
+ | * Between that last commit and [[https:// | ||
+ | * Thus, anything beyond commit [[https:// | ||
+ | |||
+ | wget -O '/ | ||
+ | |||
+ | ====== Spec Config ====== | ||
+ | |||
+ | **** | ||
+ | |||
+ | gio open ~/' | ||
+ | |||
+ | ===== wine-mono ===== | ||
+ | |||
+ | * F27 has '' | ||
+ | * Change '' | ||
+ | |||
+ | %global winemono | ||
+ | |||
+ | ===== Release ===== | ||
+ | |||
+ | * Default release format is '' | ||
+ | * Increase '' | ||
+ | * Add '' | ||
+ | * If '' | ||
+ | * Check https:// | ||
+ | |||
+ | < | ||
+ | Release: | ||
+ | |||
+ | ===== Add Patches ===== | ||
+ | |||
+ | * Add under '' | ||
+ | |||
+ | < | ||
+ | Patch600: | ||
+ | Patch601: | ||
+ | Patch602: | ||
+ | Patch603: | ||
+ | Patch604: | ||
+ | Patch605: | ||
+ | Patch606: | ||
+ | |||
+ | ===== Apply Patches ===== | ||
+ | |||
+ | * Add in-between the '' | ||
+ | * The undo patch is for laino' | ||
+ | |||
+ | < | ||
+ | # undo ntdll-Heap_FreeLists | ||
+ | patch -p1 -R < patches/ | ||
+ | |||
+ | # apply laino wine-patches | ||
+ | %patch600 -p1 | ||
+ | %patch601 -p1 | ||
+ | %patch602 -p1 | ||
+ | %patch603 -p1 | ||
+ | %patch604 -p1 | ||
+ | %patch605 -p1 | ||
+ | %patch606 -p1</ | ||
+ | |||
+ | ===== GCC Flags ===== | ||
+ | |||
+ | ==== Ofast ==== | ||
+ | |||
+ | * Find the following line under '' | ||
+ | * Change '' | ||
+ | |||
+ | export TEMP_CFLAGS=" | ||
+ | |||
+ | export TEMP_CFLAGS=" | ||
+ | |||
+ | ====== Build SRPM ====== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | rpmbuild -bs ~/' | ||
+ | |||
+ | ~/ | ||
+ | |||
+ | ====== Compile Locally ====== | ||
+ | |||
+ | sudo dnf builddep ~/' | ||
+ | |||
+ | rpmbuild -ba ~/' | ||
+ | |||
+ | ====== Cleanup ====== | ||
+ | |||
+ | sudo dnf remove ' | ||
+ | |||
+ | rm -Rf ~/' |
/var/www/wiki/data/pages/projects/copr/wine-patches-laino.txt · Last modified: 2018/03/02 04:34 by Sean Rhone