How do you build .deb packages from source?

I’m probably being braindead here and just haven’t found the docs yet - so please point me their way.

But if I want to build some test .deb packages from the source, how would I go about doing that for jitsi-meet?

I’ve got the jitsi-meet repo cloned, I’ve made some changes, I have the npm dependencies installed, and I want to build some .debs to test installation system tweaks on a scrap system.

I just can’t figure out the correct incantation to build a deb from the source tree.

If there’s a good dev environment setup guide, that would be helpful too.


dpkg-buildpackage -A -rfakeroot -us -uc

Thanks, that should get things worked out!

For others developing and looking to build packages, I’ll suggest the following slight modification for jitsi-meet:

dpkg-buildpackage -A -rfakeroot -us -uc -tc

The -tc suffix will then clean the build after making the packages. If you don’t do this, the linter will fail on future commit attempts with something along these lines:

Error: Cannot read config file: /path/to/jitsi-meet/debian/jitsi-meet-web/usr/share/jitsi-meet/react/.eslintrc.js

If you clean your build artifacts, it’s happy.