I’ve tried using the .cocci file as explained in the Quake port upgrade example but haven’t had any success.
I’ve tried using the .py scripts - no luck either.
By way of information, I have noticed the the .py scripts have significant size discrepancies between the ones in the 3.4.0 zip files and the ones downloadable from the Wiki page directly.
When I run the .py scripts, they just don’t do anything.
There is a considerable variation between the .py scripts that come with the downloadable zips, and the scripts that are referenced in the link you’ve kindly posted. Even those scripts don’t work either.
The .cocci file doesn’t do anything at all even when I follow the example in the Quake 3 port.
Do you run them with arguments as described in the migration guide?
E.g.
rename_symbols.py --all-symbols source_code_path
The scripts rename_symbols.py, rename_headers.py and rename_macros.py linked from the migration guide are identical to the ones found in SDL3-3.4.0.zip (inside the build-scripts directory).
I’m not familiar with Quake 3 port. Did you follow the instructions at the top of the .cocci file all the way to the “Apply the patch to your project” part?
I’m just trying to help. I have not actually used these scripts myself.