Adapt to mutter 3.25.90 #1103

Closed
jbicha opened this Issue Aug 14, 2017 · 6 comments

Comments

Projects
None yet
3 participants

jbicha commented Aug 14, 2017

Mutter 3.25.90 was recently released and bumps the library version from 0 to 1.

I tried a simple s/libmutter-0/libmutter-1/g in src/wm/meson.build but the build fails for me:

budgie-desktop 10.3.1
Ubuntu 17.10 Alpha
meson 0.41.2

[84/221] valac -C --pkg ibus-1.0 --pkg gsettings-desktop-schemas --pkg gnome-desktop-3.0
 --pkg libmutter-1 -d src/wm/budgie-wm@exe --pkg gio-unix-2.0 --pkg ibus-1.0
 --pkg gnome-desktop-3.0 --pkg libmutter-1 --pkg budgie-config --pkg gsettings-desktop-schemas
 --vapidir /<<PKGBUILDDIR>>/vapi --vapidir /<<PKGBUILDDIR>>/src/config
 --girdir /usr/lib/x86_64-linux-gnu/mutter ../../src/wm/background.vala ../../src/wm/ibus.vala
 ../../src/wm/keyboard.vala ../../src/wm/main.vala ../../src/wm/shim.vala ../../src/wm/wm.vala
FAILED: src/wm/budgie-wm@exe/background.c src/wm/budgie-wm@exe/ibus.c
 src/wm/budgie-wm@exe/keyboard.c src/wm/budgie-wm@exe/main.c
 src/wm/budgie-wm@exe/shim.c src/wm/budgie-wm@exe/wm.c 
valac -C --pkg ibus-1.0 --pkg gsettings-desktop-schemas --pkg gnome-desktop-3.0
 --pkg libmutter-1 -d src/wm/budgie-wm@exe --pkg gio-unix-2.0 --pkg ibus-1.0
 --pkg gnome-desktop-3.0 --pkg libmutter-1 --pkg budgie-config --pkg gsettings-desktop-schemas
 --vapidir /<<PKGBUILDDIR>>/vapi --vapidir /<<PKGBUILDDIR>>/src/config
 --girdir /usr/lib/x86_64-linux-gnu/mutter ../../src/wm/background.vala ../../src/wm/ibus.vala
 ../../src/wm/keyboard.vala ../../src/wm/main.vala ../../src/wm/shim.vala ../../src/wm/wm.vala
error: Package `libmutter-1' not found in specified Vala API directories or
 GObject-Introspection GIR directories
error: Package `libmutter-1' not found in specified Vala API directories or
 GObject-Introspection GIR directories
Compilation failed: 2 error(s), 0 warning(s)
Owner

ikeydoherty commented Aug 14, 2017

I need to see a listing for the devel package as its not showing on packages.ubuntu.com

ikeydoherty added a commit that referenced this issue Aug 14, 2017

vapi: As before, copy old vapi and hope for the best
This is to assist with #1103

Signed-off-by: Ikey Doherty <ikey@solus-project.com>

ikeydoherty added a commit that referenced this issue Aug 14, 2017

wm: Add _build system_ support for mutter-1 ABI
This is to assist in debugging #1103

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
Owner

ikeydoherty commented Aug 14, 2017

^ Might work now. Not sure.

Contributor

fossfreedom commented Aug 14, 2017

Works very nicely @ikeydoherty - cheers 👍

jbicha commented Aug 14, 2017

Thanks!

Owner

ikeydoherty commented Aug 14, 2017

v welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment