User Tools

Site Tools


projects:copr:wine-patches-gallium-nine

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
projects:copr:wine-patches-gallium-nine [2018/06/28 04:26] – external edit 127.0.0.1projects:copr:wine-patches-gallium-nine [2024/08/13 22:25] (current) – removed Sean Rhone
Line 1: Line 1:
-====== Information ====== 
  
-  * Wine 
-  * Wine Staging 
-  * sarnex/wine-d3d9-patches ((https://github.com/sarnex/wine-d3d9-patches)) 
- 
-  * https://copr.fedorainfracloud.org/coprs/espionage724/wine-patches-gallium-nine 
-  * Heavily based off of [[https://copr.fedorainfracloud.org/coprs/dyskette/wine-gallium-nine/|dyskette/wine-gallium-nine]] 
- 
-====== Dependencies ====== 
- 
-**** 
- 
-  sudo dnf install 'rpm-build' 
- 
-====== Prepare Build Environment ====== 
- 
-===== Acquire SRPM ===== 
- 
-  * Acquire SRPM from https://koji.fedoraproject.org/koji/packageinfo?packageID=4106 
- 
-===== Extract SRPM ===== 
- 
-**** 
- 
-  rm -Rf ~/'rpmbuild' && rpm -ivh ~/'Downloads/wine'*'.src.rpm' && rm -fv ~/'Downloads/wine'*'.src.rpm' && sync 
- 
-====== Spec Config ====== 
- 
-**** 
- 
-  gio open ~/'rpmbuild/SPECS/wine.spec' 
- 
-===== Release ===== 
- 
-  * Default release is ''1%{?dist}'' 
-  * Increase ''1'' for future package builds 
-  * Add ''.g9'' to the end to make ''1%{?dist}.g9'' 
-  * If ''Version'' changes, start back at release ''1'' 
-  * Check https://copr.fedorainfracloud.org/coprs/espionage724/wine-patches-gallium-nine/packages/ 
- 
-<code> 
-Release:        1%{?dist}.g9</code> 
- 
-===== Add Patches ===== 
- 
-  * Add under ''Patch511'' ((around line 70, likely a source include for ''wine-cjk.patch'')) 
-  * Check all filenames to be sure they're still correct 
- 
-<code> 
-# sarnex/wine-d3d9-patches 
-Patch600:       staging-helper.patch 
-Patch601:       wine-d3d9.patch</code> 
- 
-===== BuildRequires ===== 
- 
-==== mesa-libd3d-devel ==== 
- 
-  * This happens around line ''163'' 
-  * Add after ''# Silverlight DRM-stuff needs XATTR enabled.'' block 
- 
-<code> 
-# Gallium Nine 
-BuildRequires:  mesa-libd3d-devel</code> 
- 
-=== Preview === 
- 
-<code> 
-BuildRequires:  libva-devel 
-%endif # 0%{?wine_staging} 
- 
-# Gallium Nine 
-BuildRequires:  mesa-libd3d-devel 
- 
-%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6 
-BuildRequires:  openal-soft-devel</code> 
- 
-==== mesa-libd3d(x86-32) ==== 
- 
-  * This happens around line ''294'' 
-  * Add after ''libva(x86-32)'' require 
- 
-<code> 
-Requires:       mesa-libd3d(x86-32)</code> 
- 
-=== Preview === 
- 
-<code> 
-Requires:       vulkan(x86-32) 
-%if 0%{?wine_staging} 
-Requires:       libva(x86-32) 
-%endif 
-Requires:       mesa-libd3d(x86-32) 
-%endif</code> 
- 
-==== mesa-libd3d(x86-64) ==== 
- 
-  * This happens around line ''319'' 
-  * Add after ''libva(x86-64)'' require 
- 
-<code> 
-Requires:       mesa-libd3d(x86-64)</code> 
- 
-=== Preview === 
- 
-<code> 
-Requires:       vulkan(x86-64) 
-%if 0%{?wine_staging} 
-Requires:       libva(x86-64) 
-%endif 
-Requires:       mesa-libd3d(x86-64) 
-%endif</code> 
- 
-===== Include Patches ===== 
- 
-  * This happens around line ''704'' 
-  * Add above ''%build'' ((it should be in the ''%prep'' section, but at the very end, which happens to be above ''%build'')) 
- 
-<code> 
-# sarnex/wine-d3d9-patches 
-%patch600 -p1 
-%patch601 -p1 
- 
-autoreconf -f</code> 
- 
-==== Preview ==== 
- 
-<code> 
-# fix parallelized build 
-sed -i -e 's!^loader server: libs/port libs/wine tools.*!& include!' Makefile.in 
- 
-%endif # 0%{?wine_staging} 
- 
-# sarnex/wine-d3d9-patches 
-%patch600 -p1 
-%patch601 -p1 
- 
-autoreconf -f 
- 
-%build</code> 
- 
-===== with-d3d9-nine Configure ===== 
- 
-  * This happens around line ''735'' 
-  * Add to ''%configure'' section above ''--disable-tests'' 
- 
-<code> 
- --with-d3d9-nine \</code> 
- 
-==== Preview ==== 
- 
-<code> 
-%{?wine_staging: --with-xattr} \ 
- --with-d3d9-nine \ 
- --disable-tests 
- 
-make %{?_smp_mflags} TARGETFLAGS=""</code> 
- 
-===== d3d9-nine.dll Library ===== 
- 
-  * This happens around line ''1450'' 
-  * Add above ''%{_libdir}/wine/d3d10.dll.so'' 
- 
-<code> 
-%{_libdir}/wine/d3d9-nine.dll.so</code> 
- 
-==== Preview ==== 
- 
-<code> 
-%{_libdir}/wine/d2d1.dll.so 
-%{_libdir}/wine/d3d9-nine.dll.so 
-%{_libdir}/wine/d3d10.dll.so 
-%{_libdir}/wine/d3d10_1.dll.so</code> 
- 
-====== Build SRPM ====== 
- 
-  * https://copr.fedorainfracloud.org/coprs/espionage724/wine-patches-gallium-nine/add_build_upload 
- 
-  rpmbuild -bs ~/'rpmbuild/SPECS/wine.spec' && sync 
- 
-  ~/rpmbuild/SRPMS 
- 
-====== Compile Locally ====== 
- 
-  sudo dnf builddep ~/'rpmbuild/SRPMS/wine'*'.src.rpm' && sync 
- 
-  rpmbuild -ba ~/'rpmbuild/SPECS/wine.spec' && sync 
- 
-====== Cleanup ====== 
- 
-  sudo dnf remove 'rpm-build' 
- 
-  rm -Rf ~/'rpmbuild' ~/'Downloads/wine'*'.src.rpm' 
/srv/www/wiki/data/attic/projects/copr/wine-patches-gallium-nine.1530174378.txt.gz · Last modified: by 127.0.0.1