From 62fac1ec247c9dab4c18ae997781f8f2b36d485f Mon Sep 17 00:00:00 2001 From: Andy Holmes Date: Sun, 5 Mar 2023 11:37:43 -0800 Subject: [PATCH] st: Configure St to match its namespace version to Mutter St has been stuck at version 1.0, 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: --- src/st/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/st/meson.build b/src/st/meson.build index cb7a8414d..446025734 100644 --- a/src/st/meson.build +++ b/src/st/meson.build @@ -180,7 +180,7 @@ st_cflags = [ ] # Currently meson requires a shared library for building girs -libst = shared_library('st-1.0', +libst = shared_library('st-' + mutter_api_version, sources: st_gir_sources + st_nogir_sources + croco_sources, c_args: st_cflags, dependencies: [clutter_dep, mutter_dep, libxml_dep, gdk_pixbuf_dep, m_dep], @@ -212,7 +212,7 @@ endif libst_gir = gnome.generate_gir(libst, sources: st_gir_sources, - nsversion: '1.0', + nsversion: mutter_api_version, namespace: 'St', includes: [ 'Clutter-' + mutter_api_version,