shell: Configure Shell to match its namespace version to Mutter

Shell has been stuck at version 0.1, which makes it difficult to
version	API documentation.

Configure it to	build with the same namespace version as
Mutter,	so documentation and API changes can be	tracked.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2674>
This commit is contained in:
Andy Holmes 2023-03-05 11:37:44 -08:00 committed by Andy Holmes
parent 62fac1ec24
commit e1faadf0d0

View File

@ -196,7 +196,7 @@ dbus_generated += gnome.gdbus_codegen('switcheroo-control',
libshell_no_gir_sources += dbus_generated libshell_no_gir_sources += dbus_generated
libshell = library('gnome-shell', libshell = library('shell-' + mutter_api_version,
sources: libshell_gir_sources + libshell_no_gir_sources, sources: libshell_gir_sources + libshell_no_gir_sources,
dependencies: gnome_shell_deps + [libshell_menu_dep, libst_dep, mutter_dep, gnome_desktop_dep, m_dep], dependencies: gnome_shell_deps + [libshell_menu_dep, libst_dep, mutter_dep, gnome_desktop_dep, m_dep],
include_directories: [conf_inc, st_inc, include_directories('tray')], include_directories: [conf_inc, st_inc, include_directories('tray')],
@ -229,7 +229,7 @@ libshell_gir_includes += [
gnome.generate_gir(libshell, gnome.generate_gir(libshell,
sources: libshell_gir_sources, sources: libshell_gir_sources,
nsversion: '0.1', nsversion: mutter_api_version,
namespace: 'Shell', namespace: 'Shell',
includes: libshell_gir_includes, includes: libshell_gir_includes,
extra_args: ['--quiet'], extra_args: ['--quiet'],