File use_python312.patch of Package Mesa

diff -uNr mesa.orig/bin/ci/ci_gantt_chart.py mesa/bin/ci/ci_gantt_chart.py
--- mesa.orig/bin/ci/ci_gantt_chart.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/ci/ci_gantt_chart.py	2024-07-22 12:31:15.414468928 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # Copyright © 2023 Collabora Ltd.
 # Authors:
 #   Helen Koike <helen.koike@collabora.com>
diff -uNr mesa.orig/bin/ci/ci_post_gantt.py mesa/bin/ci/ci_post_gantt.py
--- mesa.orig/bin/ci/ci_post_gantt.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/ci/ci_post_gantt.py	2024-07-22 12:31:15.414468928 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # Copyright © 2023 Collabora Ltd.
 # Authors:
 #   Helen Koike <helen.koike@collabora.com>
diff -uNr mesa.orig/bin/ci/ci_run_n_monitor.py mesa/bin/ci/ci_run_n_monitor.py
--- mesa.orig/bin/ci/ci_run_n_monitor.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/ci/ci_run_n_monitor.py	2024-07-22 12:31:15.414468928 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # Copyright © 2020 - 2022 Collabora Ltd.
 # Authors:
 #   Tomeu Vizoso <tomeu.vizoso@collabora.com>
diff -uNr mesa.orig/bin/ci/gitlab_common.py mesa/bin/ci/gitlab_common.py
--- mesa.orig/bin/ci/gitlab_common.py	2024-07-22 12:14:16.387482643 +0200
+++ mesa/bin/ci/gitlab_common.py	2024-07-22 12:31:15.415468945 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # Copyright © 2020 - 2022 Collabora Ltd.
 # Authors:
 #   Tomeu Vizoso <tomeu.vizoso@collabora.com>
diff -uNr mesa.orig/bin/ci/gitlab_gql.py mesa/bin/ci/gitlab_gql.py
--- mesa.orig/bin/ci/gitlab_gql.py	2024-07-22 12:14:16.387482643 +0200
+++ mesa/bin/ci/gitlab_gql.py	2024-07-22 12:31:15.415468945 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # For the dependencies, see the requirements.txt
 
 import logging
diff -uNr mesa.orig/bin/ci/marge_queue.py mesa/bin/ci/marge_queue.py
--- mesa.orig/bin/ci/marge_queue.py	2024-07-22 12:14:16.387482643 +0200
+++ mesa/bin/ci/marge_queue.py	2024-07-22 12:31:15.415468945 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # Copyright © 2020 - 2023 Collabora Ltd.
 # Authors:
 #   David Heidelberg <david.heidelberg@collabora.com>
diff -uNr mesa.orig/bin/ci/nightly_compare.py mesa/bin/ci/nightly_compare.py
--- mesa.orig/bin/ci/nightly_compare.py	2024-07-22 12:14:16.387482643 +0200
+++ mesa/bin/ci/nightly_compare.py	2024-07-22 12:31:15.415468945 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # Copyright © 2020 - 2024 Collabora Ltd.
 # Authors:
 #   David Heidelberg <david.heidelberg@collabora.com>
diff -uNr mesa.orig/bin/ci/update_traces_checksum.py mesa/bin/ci/update_traces_checksum.py
--- mesa.orig/bin/ci/update_traces_checksum.py	2024-07-22 12:14:16.387482643 +0200
+++ mesa/bin/ci/update_traces_checksum.py	2024-07-22 12:31:15.416468961 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # Copyright © 2022 Collabora Ltd.
 # Authors:
 #   David Heidelberg <david.heidelberg@collabora.com>
diff -uNr mesa.orig/bin/commit_in_branch.py mesa/bin/commit_in_branch.py
--- mesa.orig/bin/commit_in_branch.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/commit_in_branch.py	2024-07-22 12:31:15.417468978 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 
 import argparse
 import subprocess
diff -uNr mesa.orig/bin/gen_calendar_entries.py mesa/bin/gen_calendar_entries.py
--- mesa.orig/bin/gen_calendar_entries.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/gen_calendar_entries.py	2024-07-22 12:31:15.417468978 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # SPDX-License-Identifier: MIT
 
 # Copyright © 2021 Intel Corporation
diff -uNr mesa.orig/bin/gen_calendar_entries_test.py mesa/bin/gen_calendar_entries_test.py
--- mesa.orig/bin/gen_calendar_entries_test.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/gen_calendar_entries_test.py	2024-07-22 12:31:15.417468978 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # SPDX-License-Identifier: MIT
 
 # Copyright © 2021 Intel Corporation
diff -uNr mesa.orig/bin/gen_release_notes.py mesa/bin/gen_release_notes.py
--- mesa.orig/bin/gen_release_notes.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/gen_release_notes.py	2024-07-22 12:31:15.418468994 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # Copyright © 2019-2020 Intel Corporation
 
 # Permission is hereby granted, free of charge, to any person obtaining a copy
diff -uNr mesa.orig/bin/gen_vs_module_defs.py mesa/bin/gen_vs_module_defs.py
--- mesa.orig/bin/gen_vs_module_defs.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/gen_vs_module_defs.py	2024-07-22 12:31:15.418468994 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # Copyright © 2021-2021 Yonggang Luo
 
 # Permission is hereby granted, free of charge, to any person obtaining a copy
diff -uNr mesa.orig/bin/install_megadrivers.py mesa/bin/install_megadrivers.py
--- mesa.orig/bin/install_megadrivers.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/install_megadrivers.py	2024-07-22 12:31:15.423469076 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # encoding=utf-8
 # Copyright 2017-2018 Intel Corporation
 
diff -uNr mesa.orig/bin/khronos-update.py mesa/bin/khronos-update.py
--- mesa.orig/bin/khronos-update.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/khronos-update.py	2024-07-22 12:31:15.423469076 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 
 import argparse
 import base64
diff -uNr mesa.orig/bin/meson-cmd-extract.py mesa/bin/meson-cmd-extract.py
--- mesa.orig/bin/meson-cmd-extract.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/meson-cmd-extract.py	2024-07-22 12:31:15.426469125 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # Copyright © 2019 Intel Corporation
 
 # Permission is hereby granted, free of charge, to any person obtaining a copy
diff -uNr mesa.orig/bin/perf-annotate-jit.py mesa/bin/perf-annotate-jit.py
--- mesa.orig/bin/perf-annotate-jit.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/perf-annotate-jit.py	2024-07-22 12:31:15.433469240 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 #
 # Copyright 2012 VMware Inc
 # Copyright 2008-2009 Jose Fonseca
diff -uNr mesa.orig/bin/pick-ui.py mesa/bin/pick-ui.py
--- mesa.orig/bin/pick-ui.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/pick-ui.py	2024-07-22 12:31:15.435469273 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # Copyright © 2019-2020 Intel Corporation
 
 # Permission is hereby granted, free of charge, to any person obtaining a copy
diff -uNr mesa.orig/bin/post_version.py mesa/bin/post_version.py
--- mesa.orig/bin/post_version.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/post_version.py	2024-07-22 12:31:15.458469651 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # Copyright © 2019-2020 Intel Corporation
 
 # Permission is hereby granted, free of charge, to any person obtaining a copy
diff -uNr mesa.orig/bin/refcnt-log-helper.py mesa/bin/refcnt-log-helper.py
--- mesa.orig/bin/refcnt-log-helper.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/refcnt-log-helper.py	2024-07-22 12:31:15.471469863 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # Copyright © Microsoft Corporation
 #
 # Permission is hereby granted, free of charge, to any person obtaining a
diff -uNr mesa.orig/bin/renderdoc-update.py mesa/bin/renderdoc-update.py
--- mesa.orig/bin/renderdoc-update.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/renderdoc-update.py	2024-07-22 12:31:15.473469896 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 
 import base64
 import pathlib
diff -uNr mesa.orig/bin/symbols-check.py mesa/bin/symbols-check.py
--- mesa.orig/bin/symbols-check.py	2024-07-22 12:14:16.386482631 +0200
+++ mesa/bin/symbols-check.py	2024-07-22 12:31:15.475469929 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 
 import argparse
 import os
diff -uNr mesa.orig/docs/conf.py mesa/docs/conf.py
--- mesa.orig/docs/conf.py	2024-07-22 12:14:16.408482914 +0200
+++ mesa/docs/conf.py	2024-07-22 12:31:15.590471816 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # -*- coding: utf-8 -*-
 
 #
diff -uNr mesa.orig/meson.build mesa/meson.build
--- mesa.orig/meson.build	2024-07-22 12:14:16.394482734 +0200
+++ mesa/meson.build	2024-07-22 12:31:16.039479182 +0200
@@ -937,7 +937,7 @@
   pre_args += '-DALLOW_KCMP'
 endif
 
-prog_python = import('python').find_installation('python3')
+prog_python = import('python').find_installation('python3.12')
 has_mako = run_command(
   prog_python, '-c',
   '''
diff -uNr mesa.orig/src/amd/compiler/tests/glsl_scraper.py mesa/src/amd/compiler/tests/glsl_scraper.py
--- mesa.orig/src/amd/compiler/tests/glsl_scraper.py	2024-07-22 12:14:16.522484382 +0200
+++ mesa/src/amd/compiler/tests/glsl_scraper.py	2024-07-22 12:31:16.164481232 +0200
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3.12
 # Taken from Crucible and modified to parse declarations
 
 import argparse
diff -uNr mesa.orig/src/amd/registers/parse_kernel_headers.py mesa/src/amd/registers/parse_kernel_headers.py
--- mesa.orig/src/amd/registers/parse_kernel_headers.py	2024-07-22 12:14:16.525484421 +0200
+++ mesa/src/amd/registers/parse_kernel_headers.py	2024-07-22 12:31:16.208481954 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 
 import sys, io, re, json
 from canonicalize import json_canonicalize
diff -uNr mesa.orig/src/compiler/isaspec/decode.py mesa/src/compiler/isaspec/decode.py
--- mesa.orig/src/compiler/isaspec/decode.py	2024-07-22 12:14:17.034490977 +0200
+++ mesa/src/compiler/isaspec/decode.py	2024-07-22 12:31:16.581488070 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 #
 # Copyright © 2020 Google, Inc.
 #
diff -uNr mesa.orig/src/compiler/isaspec/encode.py mesa/src/compiler/isaspec/encode.py
--- mesa.orig/src/compiler/isaspec/encode.py	2024-07-22 12:14:17.034490977 +0200
+++ mesa/src/compiler/isaspec/encode.py	2024-07-22 12:31:16.582488086 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 #
 # Copyright © 2020 Google, Inc.
 #
diff -uNr mesa.orig/src/compiler/spirv/tests/spirv-to-c-array.py mesa/src/compiler/spirv/tests/spirv-to-c-array.py
--- mesa.orig/src/compiler/spirv/tests/spirv-to-c-array.py	2024-07-22 12:14:17.064491363 +0200
+++ mesa/src/compiler/spirv/tests/spirv-to-c-array.py	2024-07-22 12:31:16.684489759 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 
 import argparse
 import filecmp
diff -uNr mesa.orig/src/egl/egl-entrypoint-check.py mesa/src/egl/egl-entrypoint-check.py
--- mesa.orig/src/egl/egl-entrypoint-check.py	2024-07-22 12:14:17.820501099 +0200
+++ mesa/src/egl/egl-entrypoint-check.py	2024-07-22 12:31:16.701490038 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 
 import argparse
 from generate.eglFunctionList import EGL_FUNCTIONS as GLVND_ENTRYPOINTS
diff -uNr mesa.orig/src/egl/generate/gen_egl_dispatch.py mesa/src/egl/generate/gen_egl_dispatch.py
--- mesa.orig/src/egl/generate/gen_egl_dispatch.py	2024-07-22 12:14:17.821501112 +0200
+++ mesa/src/egl/generate/gen_egl_dispatch.py	2024-07-22 12:31:16.706490120 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 
 # (C) Copyright 2016, NVIDIA CORPORATION.
 # All Rights Reserved.
diff -uNr mesa.orig/src/etnaviv/hwdb/hwdb.h.py mesa/src/etnaviv/hwdb/hwdb.h.py
--- mesa.orig/src/etnaviv/hwdb/hwdb.h.py	2024-07-22 12:14:17.873501782 +0200
+++ mesa/src/etnaviv/hwdb/hwdb.h.py	2024-07-22 12:31:16.735490595 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 #
 # Copyright © 2024 Igalia S.L.
 # SPDX-License-Identifier: MIT
diff -uNr mesa.orig/src/etnaviv/isa/enums.h.py mesa/src/etnaviv/isa/enums.h.py
--- mesa.orig/src/etnaviv/isa/enums.h.py	2024-07-22 12:14:17.874501795 +0200
+++ mesa/src/etnaviv/isa/enums.h.py	2024-07-22 12:31:16.744490743 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 #
 # Copyright © 2024 Igalia S.L.
 # SPDX-License-Identifier: MIT
diff -uNr mesa.orig/src/gallium/auxiliary/driver_trace/enums2names.py mesa/src/gallium/auxiliary/driver_trace/enums2names.py
--- mesa.orig/src/gallium/auxiliary/driver_trace/enums2names.py	2024-07-22 12:14:16.667486250 +0200
+++ mesa/src/gallium/auxiliary/driver_trace/enums2names.py	2024-07-22 12:31:17.088496384 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # coding=utf-8
 ##########################################################################
 #
diff -uNr mesa.orig/src/gallium/drivers/freedreno/trace-parser.py mesa/src/gallium/drivers/freedreno/trace-parser.py
--- mesa.orig/src/gallium/drivers/freedreno/trace-parser.py	2024-07-22 12:14:16.985490345 +0200
+++ mesa/src/gallium/drivers/freedreno/trace-parser.py	2024-07-22 12:31:17.370501006 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 
 import re
 import sys
diff -uNr mesa.orig/src/gallium/tools/trace/diff_state.py mesa/src/gallium/tools/trace/diff_state.py
--- mesa.orig/src/gallium/tools/trace/diff_state.py	2024-07-22 12:14:16.805488027 +0200
+++ mesa/src/gallium/tools/trace/diff_state.py	2024-07-22 12:31:18.121513316 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 ##########################################################################
 #
 # Copyright 2011 Jose Fonseca
diff -uNr mesa.orig/src/gallium/tools/trace/dump.py mesa/src/gallium/tools/trace/dump.py
--- mesa.orig/src/gallium/tools/trace/dump.py	2024-07-22 12:14:16.805488027 +0200
+++ mesa/src/gallium/tools/trace/dump.py	2024-07-22 12:31:18.121513316 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 ##########################################################################
 # 
 # Copyright 2008 VMware, Inc.
diff -uNr mesa.orig/src/gallium/tools/trace/dump_state.py mesa/src/gallium/tools/trace/dump_state.py
--- mesa.orig/src/gallium/tools/trace/dump_state.py	2024-07-22 12:14:16.805488027 +0200
+++ mesa/src/gallium/tools/trace/dump_state.py	2024-07-22 12:31:18.121513316 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 ##########################################################################
 #
 # Copyright 2008-2021, VMware, Inc.
diff -uNr mesa.orig/src/gallium/tools/trace/format.py mesa/src/gallium/tools/trace/format.py
--- mesa.orig/src/gallium/tools/trace/format.py	2024-07-22 12:14:16.806488040 +0200
+++ mesa/src/gallium/tools/trace/format.py	2024-07-22 12:31:18.122513332 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 ##########################################################################
 #
 # Copyright 2008 VMware, Inc.
diff -uNr mesa.orig/src/gallium/tools/trace/model.py mesa/src/gallium/tools/trace/model.py
--- mesa.orig/src/gallium/tools/trace/model.py	2024-07-22 12:14:16.806488040 +0200
+++ mesa/src/gallium/tools/trace/model.py	2024-07-22 12:31:18.122513332 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 ##########################################################################
 # 
 # Copyright 2008 VMware, Inc.
diff -uNr mesa.orig/src/gallium/tools/trace/parse.py mesa/src/gallium/tools/trace/parse.py
--- mesa.orig/src/gallium/tools/trace/parse.py	2024-07-22 12:14:16.806488040 +0200
+++ mesa/src/gallium/tools/trace/parse.py	2024-07-22 12:31:18.122513332 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 ##########################################################################
 # 
 # Copyright 2008 VMware, Inc.
diff -uNr mesa.orig/src/gallium/tools/trace/pytracediff.py mesa/src/gallium/tools/trace/pytracediff.py
--- mesa.orig/src/gallium/tools/trace/pytracediff.py	2024-07-22 12:14:16.806488040 +0200
+++ mesa/src/gallium/tools/trace/pytracediff.py	2024-07-22 12:31:18.123513348 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # coding=utf-8
 ##########################################################################
 #
diff -uNr mesa.orig/src/intel/compiler/brw_device_sha1_gen_c.py mesa/src/intel/compiler/brw_device_sha1_gen_c.py
--- mesa.orig/src/intel/compiler/brw_device_sha1_gen_c.py	2024-07-22 12:14:17.433496115 +0200
+++ mesa/src/intel/compiler/brw_device_sha1_gen_c.py	2024-07-22 12:31:18.418518182 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 COPYRIGHT = """\
 /*
  * Copyright 2024 Intel Corporation
diff -uNr mesa.orig/src/intel/compiler/elk/tests/run-test.py mesa/src/intel/compiler/elk/tests/run-test.py
--- mesa.orig/src/intel/compiler/elk/tests/run-test.py	2024-07-22 12:14:17.558497725 +0200
+++ mesa/src/intel/compiler/elk/tests/run-test.py	2024-07-22 12:31:18.684522540 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 
 import argparse
 import difflib
diff -uNr mesa.orig/src/intel/compiler/tests/run-test.py mesa/src/intel/compiler/tests/run-test.py
--- mesa.orig/src/intel/compiler/tests/run-test.py	2024-07-22 12:14:17.563497790 +0200
+++ mesa/src/intel/compiler/tests/run-test.py	2024-07-22 12:31:18.740523457 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 
 import argparse
 import difflib
diff -uNr mesa.orig/src/intel/dev/intel_device_info_gen_h.py mesa/src/intel/dev/intel_device_info_gen_h.py
--- mesa.orig/src/intel/dev/intel_device_info_gen_h.py	2024-07-22 12:14:17.801500855 +0200
+++ mesa/src/intel/dev/intel_device_info_gen_h.py	2024-07-22 12:31:18.746523556 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 COPYRIGHT = """\
 /*
  * Copyright 2024 Intel Corporation
diff -uNr mesa.orig/src/intel/dev/intel_device_info_serialize_gen_c.py mesa/src/intel/dev/intel_device_info_serialize_gen_c.py
--- mesa.orig/src/intel/dev/intel_device_info_serialize_gen_c.py	2024-07-22 12:14:17.802500867 +0200
+++ mesa/src/intel/dev/intel_device_info_serialize_gen_c.py	2024-07-22 12:31:18.747523572 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 COPYRIGHT = """\
 /*
  * Copyright 2024 Intel Corporation
diff -uNr mesa.orig/src/intel/genxml/gen_sort_tags.py mesa/src/intel/genxml/gen_sort_tags.py
--- mesa.orig/src/intel/genxml/gen_sort_tags.py	2024-07-22 12:14:17.792500739 +0200
+++ mesa/src/intel/genxml/gen_sort_tags.py	2024-07-22 12:31:18.786524211 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # Copyright © 2019, 2022 Intel Corporation
 # SPDX-License-Identifier: MIT
 
diff -uNr mesa.orig/src/intel/genxml/genxml_import.py mesa/src/intel/genxml/genxml_import.py
--- mesa.orig/src/intel/genxml/genxml_import.py	2024-07-22 12:14:17.793500751 +0200
+++ mesa/src/intel/genxml/genxml_import.py	2024-07-22 12:31:18.786524211 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # Copyright © 2019, 2022 Intel Corporation
 # SPDX-License-Identifier: MIT
 
diff -uNr mesa.orig/src/intel/genxml/intel_genxml.py mesa/src/intel/genxml/intel_genxml.py
--- mesa.orig/src/intel/genxml/intel_genxml.py	2024-07-22 12:14:17.793500751 +0200
+++ mesa/src/intel/genxml/intel_genxml.py	2024-07-22 12:31:18.786524211 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 # Copyright © 2019, 2022 Intel Corporation
 # SPDX-License-Identifier: MIT
 
diff -uNr mesa.orig/src/mapi/new/genCommon.py mesa/src/mapi/new/genCommon.py
--- mesa.orig/src/mapi/new/genCommon.py	2024-07-22 12:14:17.338494892 +0200
+++ mesa/src/mapi/new/genCommon.py	2024-07-22 12:31:19.288532434 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 
 # (C) Copyright 2015, NVIDIA CORPORATION.
 # All Rights Reserved.
diff -uNr mesa.orig/src/mapi/new/gen_gldispatch_mapi.py mesa/src/mapi/new/gen_gldispatch_mapi.py
--- mesa.orig/src/mapi/new/gen_gldispatch_mapi.py	2024-07-22 12:14:17.338494892 +0200
+++ mesa/src/mapi/new/gen_gldispatch_mapi.py	2024-07-22 12:31:19.288532434 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 
 # Copyright (C) 2010 LunarG Inc.
 # (C) Copyright 2015, NVIDIA CORPORATION.
diff -uNr mesa.orig/src/nouveau/headers/class_parser.py mesa/src/nouveau/headers/class_parser.py
--- mesa.orig/src/nouveau/headers/class_parser.py	2024-07-22 12:14:17.931502529 +0200
+++ mesa/src/nouveau/headers/class_parser.py	2024-07-22 12:31:19.619537855 +0200
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3.12
 
 # script to parse nvidia CL headers and generate inlines to be used in pushbuffer encoding.
 # probably needs python3.9
diff -uNr mesa.orig/src/nouveau/headers/lib_rs_gen.py mesa/src/nouveau/headers/lib_rs_gen.py
--- mesa.orig/src/nouveau/headers/lib_rs_gen.py	2024-07-22 12:14:17.931502529 +0200
+++ mesa/src/nouveau/headers/lib_rs_gen.py	2024-07-22 12:31:19.619537855 +0200
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3.12
 #
 # Copyright © 2024 Collabora Ltd. and Red Hat Inc.
 # SPDX-License-Identifier: MIT
diff -uNr mesa.orig/src/nouveau/headers/struct_parser.py mesa/src/nouveau/headers/struct_parser.py
--- mesa.orig/src/nouveau/headers/struct_parser.py	2024-07-22 12:14:17.932502542 +0200
+++ mesa/src/nouveau/headers/struct_parser.py	2024-07-22 12:31:19.739539820 +0200
@@ -1,4 +1,4 @@
-#! /usr/bin/env python3
+#! /usr/bin/python3.12
 #
 # Copyright © 2024 Collabora Ltd. and Red Hat Inc.
 # SPDX-License-Identifier: MIT
diff -uNr mesa.orig/src/nouveau/headers/update-from-open-gpu-doc.py mesa/src/nouveau/headers/update-from-open-gpu-doc.py
--- mesa.orig/src/nouveau/headers/update-from-open-gpu-doc.py	2024-07-22 12:14:17.932502542 +0200
+++ mesa/src/nouveau/headers/update-from-open-gpu-doc.py	2024-07-22 12:31:19.739539820 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 
 import argparse
 import git
diff -uNr mesa.orig/src/vulkan/overlay-layer/mesa-overlay-control.py mesa/src/vulkan/overlay-layer/mesa-overlay-control.py
--- mesa.orig/src/vulkan/overlay-layer/mesa-overlay-control.py	2024-07-22 12:14:17.254493810 +0200
+++ mesa/src/vulkan/overlay-layer/mesa-overlay-control.py	2024-07-22 12:31:20.116545993 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 import socket
 import sys
 import select
diff -uNr mesa.orig/src/vulkan/registry/update-aliases.py mesa/src/vulkan/registry/update-aliases.py
--- mesa.orig/src/vulkan/registry/update-aliases.py	2024-07-22 12:14:17.256493836 +0200
+++ mesa/src/vulkan/registry/update-aliases.py	2024-07-22 12:31:20.119546043 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3.12
 """
 Check for and replace aliases with their new names from vk.xml
 """
openSUSE Build Service is sponsored by