Running the release process
hi!
I'm trying to move the Arch Linux package from make zip-file to the new release process. My current attempt is:
meson --prefix=/usr build/
ninja -C build/ zip-file
This fails because the zip-file target is only conditionally available and I didn't yet figure out how local_install works. Could you share the commands that would be recommended to build the extension in a way that's suitable for distribution in a Linux distro?
Thank you!
You can just use classic meson mode... meson src-path build-path -Dprefix=/usr && ninja -C build-path install.
The local-install is only meant for people installing from git, same for zip-file.
If you instead want to generate the zip file, or install it locally would be:
meson src-path build-path -Dlocal_install=enabled && ninja -C build-path zip-file (that will be in the build-path).
Thank you! I noticed $DESTDIR/usr/share/glib-2.0/schemas/gschemas.compiled is created on install, according to https://mesonbuild.com/Gnome-module.html#gnomepost_install this shouldn't happen if $DESTDIR is set. I've added rm "${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled" to the Arch Linux PKGBUILD, can this be fixed in the meson build?
Deleted