So I'm trying it myself, but I don't know if I'm doing it right, if so correct me if I'm wrong.
I installed the latest version of Ubuntu 22, taking the ISO from the official website. Then I installed it with Virtual Box. After the first start, I launched the command to install all the compilation tools:
sudo apt-get install git build-essential python3 libsdl2-dev libsdl2-ttf-dev libfontconfig-dev libpulse-dev qtbase5-dev qtbase5-dev-tools qtchooser qt5-qmake
Since I was looking for 0.183, I didn't find any patches for groovymame with this version, so I wanted to do a quick test with the latest version of mame. So I went to wolfmame's Github and downloaded the zip source of 0.261, extracted it and copied it to the virtual machine. Then I went and downloaded the GroovyMAME patch from the official Gihub and placed it in the main wolfmame folder.
At this point I ran the patch like this:
patch -p1 <GroovyMAME261.patch
PS: I don't know why I put p1 instead of p0, but on some forums they said to put 1, I didn't really understand the difference.
It took him almost 1 seconds to do everything. In the log lines, I read that something was not found correctly or something. But I didn't worry about it, but moved on.
So then I compiled with the command:
make -j5
I entered the "-j5" parameter because I installed the virtual machine with 4 processors and they say that option 5 allows faster compilation on quad-core processors.
It's still compiling at the moment, but I wanted to understand if I did everything correctly.
Thank you!