Need Help compilation mesa .deb

Hello everyone, I have a question to ask you.
If I install mesa 22.3.6 patched ps4 with meson and ninja. Can I use the fakeroot dpkg-repack mesa-22.3.6 command to rebuild a new debian mesa package containing my patches?

thank you for your help

You can but you'll have to have your patches in the source where you're repacking from.

I would do instead something like:

apt-get source mesa

Then it will download the source files plus the debian directory. Use "meld" to compare the source codes / replace them, or just copy the debian directory to the new sources. Finally run:

sudo dpkg-buildpackage -us -uc -b

2 Likes

Thank you for your reply. I will testing.