gnome-shell-extension-appindicator icon indicating copy to clipboard operation
gnome-shell-extension-appindicator copied to clipboard

Running the release process

Open kpcyrd opened this issue 4 years ago • 3 comments

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!

kpcyrd avatar Oct 04 '21 12:10 kpcyrd

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).

3v1n0 avatar Oct 04 '21 15:10 3v1n0

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?

kpcyrd avatar Oct 09 '21 13:10 kpcyrd

Deleted

Finii avatar Mar 02 '22 07:03 Finii