[gtk/gtk-3-24-meson: 75/89] meson: set the soversion to just '0' everywhere
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24-meson: 75/89] meson: set the soversion to just '0' everywhere
- Date: Wed, 10 Apr 2019 08:26:29 +0000 (UTC)
commit b254246aef5f291d2cddd704801d0c5e390368c4
Author: Christoph Reiter <reiter christoph gmail com>
Date: Sun Mar 31 19:13:34 2019 +0200
meson: set the soversion to just '0' everywhere
This is what glib did for the meson port, so can't be that wrong.
This also makes the DLL names match the autotools Windows DLLs.
gdk/meson.build | 1 +
gtk/meson.build | 1 +
libgail-util/meson.build | 3 ++-
meson.build | 2 +-
4 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gdk/meson.build b/gdk/meson.build
index 45e4e96732..9d7ded377a 100644
--- a/gdk/meson.build
+++ b/gdk/meson.build
@@ -179,6 +179,7 @@ gdkversion_cdata.set('GTK_MICRO_VERSION', gtk_micro_version)
gdkversion_cdata.set('GTK_API_VERSION', gtk_api_version)
gdkversion_cdata.set('GTK_BINARY_VERSION', gtk_binary_version)
gdkversion_cdata.set('GTK_VERSION', meson.project_version())
+gdkversion_cdata.set('LT_CURRENT_MINUS_AGE', gtk_soversion)
gdkversionmacros = configure_file(
input : 'gdkversionmacros.h.in',
diff --git a/gtk/meson.build b/gtk/meson.build
index 609ebca9e2..1753bcc043 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -798,6 +798,7 @@ gtkversion_cdata.set('GTK_API_VERSION', gtk_api_version)
gtkversion_cdata.set('GTK_BINARY_VERSION', gtk_binary_version)
gtkversion_cdata.set('GTK_VERSION', meson.project_version())
gtkversion_cdata.set('EXE_MANIFEST_ARCHITECTURE', '*')
+gtkversion_cdata.set('LT_CURRENT_MINUS_AGE', gtk_soversion)
gtkversion = configure_file(input: 'gtkversion.h.in',
output: 'gtkversion.h',
diff --git a/libgail-util/meson.build b/libgail-util/meson.build
index 2b7828e724..6cca36f208 100644
--- a/libgail-util/meson.build
+++ b/libgail-util/meson.build
@@ -18,6 +18,7 @@ if cc.get_id() == 'msvc'
endif
libgailutil = shared_library('gailutil-3',
+ soversion: gtk_soversion,
sources: [gailutil_sources],
dependencies: libgtk_dep,
include_directories: [confinc, gtkinc],
@@ -26,4 +27,4 @@ libgailutil = shared_library('gailutil-3',
'-DGTK_DISABLE_DEPRECATED',
] + common_cflags,
link_args: gailutil_link_args,
- install: true)
\ No newline at end of file
+ install: true)
diff --git a/meson.build b/meson.build
index 1e806e974d..2359bb4124 100644
--- a/meson.build
+++ b/meson.build
@@ -78,7 +78,7 @@ gtk_binary_version = '3.0.0'
gtk_binary_age = 100 * gtk_minor_version + gtk_micro_version
-gtk_soversion = '0.@0@.@1@'.format(gtk_binary_age - gtk_interface_age, gtk_interface_age)
+gtk_soversion = '0'
gtk_osxversions = [(100 * gtk_minor_version) + 1, '@0@.@1@.0'.format((100 * gtk_minor_version) + 1,
gtk_micro_version)]
gtk_api_version = '@0@.0'.format(gtk_major_version)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]