From 689e9fe13d28b0a3696a85de1810f58182636b62afcb1cf3ab2c5e0dcecc7df5 Mon Sep 17 00:00:00 2001 From: Scott Bradnick Date: Mon, 9 Sep 2024 19:26:55 +0000 Subject: [PATCH] - Removing version-fixup.diff as it was fixed upstream - Update to 1.614.1: * Several warning fixes and a DML update on top of v1.614.0. Importantly, the CMake/meson build systems actually report a v1.614 version number. That change was missed from the previous release. No new D3D APIs are present relative to v1.614.0. OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/DirectX-Headers?expand=0&rev=28 --- .gitattributes | 23 +++++ .gitignore | 1 + DirectX-Headers-1.614.0.tar.gz | 3 + DirectX-Headers-1.614.1.tar.gz | 3 + DirectX-Headers-rpmlintrc | 3 + DirectX-Headers.changes | 181 +++++++++++++++++++++++++++++++++ DirectX-Headers.spec | 61 +++++++++++ version-fixup.diff | 22 ++++ 8 files changed, 297 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 DirectX-Headers-1.614.0.tar.gz create mode 100644 DirectX-Headers-1.614.1.tar.gz create mode 100644 DirectX-Headers-rpmlintrc create mode 100644 DirectX-Headers.changes create mode 100644 DirectX-Headers.spec create mode 100644 version-fixup.diff diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/DirectX-Headers-1.614.0.tar.gz b/DirectX-Headers-1.614.0.tar.gz new file mode 100644 index 0000000..4541fa5 --- /dev/null +++ b/DirectX-Headers-1.614.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1cd54449799501a4ad129a4c7ccf0c026bbb699f937ba299d92de3aacd29c5be +size 458121 diff --git a/DirectX-Headers-1.614.1.tar.gz b/DirectX-Headers-1.614.1.tar.gz new file mode 100644 index 0000000..6a9405f --- /dev/null +++ b/DirectX-Headers-1.614.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:344eb454c979ea68d8255d82c818bf7daf01f5109d26ac104f9911d18fae3b21 +size 458944 diff --git a/DirectX-Headers-rpmlintrc b/DirectX-Headers-rpmlintrc new file mode 100644 index 0000000..8da242e --- /dev/null +++ b/DirectX-Headers-rpmlintrc @@ -0,0 +1,3 @@ +# happens irrespective of LTO +addFilter("lto-no-text-in-archive .*"); +addFilter("devel-file-in-non-devel-package .*"); diff --git a/DirectX-Headers.changes b/DirectX-Headers.changes new file mode 100644 index 0000000..93c9b77 --- /dev/null +++ b/DirectX-Headers.changes @@ -0,0 +1,181 @@ +------------------------------------------------------------------- +Mon Sep 9 18:42:23 UTC 2024 - Scott Bradnick + +- Removing version-fixup.diff as it was fixed upstream +- Update to 1.614.1: + * Several warning fixes and a DML update on top of v1.614.0. Importantly, + the CMake/meson build systems actually report a v1.614 version number. + That change was missed from the previous release. No new D3D APIs are + present relative to v1.614.0. + +------------------------------------------------------------------- +Fri May 17 01:03:37 UTC 2024 - Scott Bradnick + +- Adding version-fixup.diff to account for leftover 1.613.1 references +- Update to 1.614.0: + * This release matches the content provided in the DirectX12 + Agility SDK and the 1.614.0 NuGet package. + - https://devblogs.microsoft.com/directx/directx12agility/ + - https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.614.0 + +------------------------------------------------------------------- +Tue Mar 19 18:04:58 UTC 2024 - Scott Bradnick + +- Update to 1.613.1: + * This release matches the content provided in the DirectX12 + Agility SDK and the 1.613.1 NuGet package. + - https://devblogs.microsoft.com/directx/directx12agility/ + - https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.613.1 + +------------------------------------------------------------------- +Mon Mar 11 20:54:09 UTC 2024 - Scott Bradnick + +- Update to 1.613.0: + * This release matches the content provided in the DirectX12 + Agility SDK and the 1.613.0 NuGet package. + - https://devblogs.microsoft.com/directx/directx12agility/ + - https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.613.0 + +------------------------------------------------------------------- +Tue Dec 5 15:26:41 UTC 2023 - Scott Bradnick + +- Update to 1.611.0: + * This release matches the content provided in the DirectX12 + Agility SDK and the 1.611.0 NuGet package. + - https://devblogs.microsoft.com/directx/directx12agility/ + - https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.611.0 + +------------------------------------------------------------------- +Fri Jun 16 08:56:56 UTC 2023 - Martin Pluskal + +- Install license +- Use -ffat-lto-objects for static libraries + +------------------------------------------------------------------- +Thu Apr 13 19:49:05 UTC 2023 - Scott Bradnick + +- Update to 1.610.0: + * This release matches the content provided in the DirectX12 + Agility SDK and the 1.610.0 NuGet package. + - https://devblogs.microsoft.com/directx/directx12agility/ + - https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.610.0 + +------------------------------------------------------------------- +Thu Mar 30 20:17:57 UTC 2023 - Scott Bradnick + +- Update to 1.608.2: + * This release matches the content provided in the DirectX12 + Agility SDK and the 1.608.2 NuGet package. + - https://devblogs.microsoft.com/directx/directx12agility/ + - https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.608.2 + +------------------------------------------------------------------- +Mon Nov 21 16:04:47 UTC 2022 - Scott Bradnick + +- Update to 1.608.0: + * This release matches the content provided in the DirectX12 + Agility SDK and the 1.608.0 NuGet package. + +------------------------------------------------------------------- +Tue Aug 30 23:51:37 UTC 2022 - Scott Bradnick + +- Update to 1.606.4: + * Update D3DX12.H to support new ABI for MinGW (#73) + * dxguids: Add new GUIDs from the last several releases + +------------------------------------------------------------------- +Tue Aug 16 18:42:14 UTC 2022 - Callum Farmer + +- Update to 1.606.3: + * Support Shader Model 6.7 + +------------------------------------------------------------------- +Wed May 25 16:20:53 UTC 2022 - Callum Farmer + +- Clean spec file + * Fix description + * Use %autosetup + * Use meson macros + * Use fdupes for duplicate files + * Use a better URL + +------------------------------------------------------------------- +Wed May 25 13:28:44 UTC 2022 - Stefan Dirsch + +- added missing %changelog section to specfile + +------------------------------------------------------------------- +Wed May 25 12:25:12 UTC 2022 - Stefan Dirsch + +- build exclusively on %{ix86} x86_64, since DirectX ia only + relevant on these platforms + +------------------------------------------------------------------- +Wed May 25 12:14:37 UTC 2022 - Stefan Dirsch + +- fixed 32bit build + +------------------------------------------------------------------- +Thu May 12 15:36:35 UTC 2022 - Scott Bradnick + +- Renamed project/file references from 'directx-headers' to + 'DirectX-Headers' (as is upstream). + +------------------------------------------------------------------- +Thu Apr 28 20:21:30 UTC 2022 - Scott Bradnick + +- Update to upstream version 1.600.10 + +------------------------------------------------------------------- +Thu Nov 11 19:36:30 UTC 2021 - Scott Bradnick + +* Prepping for inclusion in X11:XOrg project: + - General cleanup of .spec file + - Adjusting to use proper naming of rpmlintrc. + - Pre-0.57.0 version of 'meson install' does not support + '--destdir', using ENV var for all but TW. + +------------------------------------------------------------------- +Wed Aug 25 22:47:50 UTC 2021 - Scott Bradnick + +- Adding rpmlintrc for addFilter 'lto-no-text-in-archive'. + +------------------------------------------------------------------- +Wed Aug 25 21:45:20 UTC 2021 - Scott Bradnick + +- Fixing file conflict for /usr/lib64/pkgconfig. + +------------------------------------------------------------------- +Wed Aug 25 21:37:49 UTC 2021 - Scott Bradnick + +- Apparently pkgconf doesn't like /usr/local by default. + +------------------------------------------------------------------- +Wed Aug 25 21:25:34 UTC 2021 - Scott Bradnick + +- Replacing hardcoded path in 'rm .../libDirectX-Guids.a' ... + +------------------------------------------------------------------- +Wed Aug 25 21:18:11 UTC 2021 - Scott Bradnick + +- Seems to use /usr/local for generated .pc file vs. /usr + +------------------------------------------------------------------- +Wed Aug 25 20:15:52 UTC 2021 - Scott Bradnick + +- Taking out 'libDirectX-Guids.a' and trying again. + +------------------------------------------------------------------- +Wed Aug 25 20:03:16 UTC 2021 - Scott Bradnick + +- Trying to get 'libDirectX-Guids.a' added to resulting .rpm file. + +------------------------------------------------------------------- +Wed Aug 25 15:50:16 UTC 2021 - Scott Bradnick + +- Some changes to get missing files added. + +------------------------------------------------------------------- +Mon Aug 23 22:19:05 UTC 2021 - Scott Bradnick + +- Initial package version as 'directx-headers'. diff --git a/DirectX-Headers.spec b/DirectX-Headers.spec new file mode 100644 index 0000000..9d0213e --- /dev/null +++ b/DirectX-Headers.spec @@ -0,0 +1,61 @@ +# +# spec file for package DirectX-Headers +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: DirectX-Headers +Version: 1.614.1 +Release: 0 +Summary: DirectX Headers for Mesa +License: MIT +URL: https://github.com/microsoft/DirectX-Headers +# osc service runall download_files +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Source1: %{name}-rpmlintrc +#Patch0: version-fixup.diff +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: meson +ExclusiveArch: %{ix86} x86_64 + +%description +This package contains the official Direct3D 12 headers. +These headers are made available under the MIT license rather than the traditional Windows SDK license. +Additionally, this package hosts several helpers for using these headers. +Make sure that you visit the DirectX Landing Page for more resources for DirectX developers. + +%prep +%autosetup + +%build +%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects +%meson -Dbuild-test=false +%meson_build + +%install +%meson_install +%fdupes -s %{buildroot} + +%files +%license LICENSE +%{_includedir}/directx +%{_includedir}/dxguids +%{_includedir}/wsl +%{_libdir}/pkgconfig/DirectX-Headers.pc +%{_libdir}/libDirectX-Guids.a +%{_libdir}/libd3dx12-format-properties.a + +%changelog diff --git a/version-fixup.diff b/version-fixup.diff new file mode 100644 index 0000000..4b1be1b --- /dev/null +++ b/version-fixup.diff @@ -0,0 +1,22 @@ +--- CMakeLists.txt.smb 2024-05-17 09:08:48.438066598 -0400 ++++ CMakeLists.txt 2024-05-17 09:08:57.914876687 -0400 +@@ -3,7 +3,7 @@ + cmake_minimum_required(VERSION 3.10.2) + project(DirectX-Headers + LANGUAGES CXX +- VERSION 1.613.1 ++ VERSION 1.614.0 + ) + include(CTest) + set(CMAKE_CXX_STANDARD 14) +--- meson.build.smb 2024-05-17 09:10:12.959472507 -0400 ++++ meson.build 2024-05-17 09:09:08.685039684 -0400 +@@ -1,7 +1,7 @@ + # Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. + +-project('DirectX-Headers', 'cpp', version : '1.613.1', ++project('DirectX-Headers', 'cpp', version : '1.614.0', + default_options : ['cpp_std=c++14']) + + cpp = meson.get_compiler('cpp')