[libgepub] New version 0.5.2, removing micro version from gir



commit 0797382cd7ac091ec04dcfe5b551c90039049c2b
Author: Daniel GarcĂ­a Moreno <danigm wadobo com>
Date:   Wed Aug 9 10:39:01 2017 +0200

    New version 0.5.2, removing micro version from gir

 configure.ac         |    2 +-
 libgepub/Makefile.am |   14 +++++++-------
 libgepub/meson.build |    2 +-
 meson.build          |    6 ++++--
 4 files changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 99b160c..b66db46 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 AC_PREREQ(2.60)
-AC_INIT([libgepub],[0.5.1],[danigm wadobo com])
+AC_INIT([libgepub],[0.5.2],[danigm wadobo com])
 AC_CONFIG_AUX_DIR([build])
 AM_INIT_AUTOMAKE([1.10 -Wall -Werror dist-bzip2])
 AM_SILENT_RULES([yes])
diff --git a/libgepub/Makefile.am b/libgepub/Makefile.am
index 2bfa57a..f15dbea 100644
--- a/libgepub/Makefile.am
+++ b/libgepub/Makefile.am
@@ -49,13 +49,13 @@ INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
 if HAVE_INTROSPECTION
 introspection_sources = $(libgepub_la_SOURCES)
 
-Gepub-0.5.1.gir: libgepub.la
-Gepub_0_5_1_gir_INCLUDES = GObject-2.0 libxml2-2.0 WebKit2-4.0
-Gepub_0_5_1_gir_CFLAGS = $(INCLUDES)
-Gepub_0_5_1_gir_LIBS = libgepub.la
-Gepub_0_5_1_gir_FILES = $(introspection_sources)
-Gepub_0_5_1_gir_SCANNERFLAGS = --warn-all
-INTROSPECTION_GIRS += Gepub-0.5.1.gir
+Gepub-0.5.gir: libgepub.la
+Gepub_0_5_gir_INCLUDES = GObject-2.0 libxml2-2.0 WebKit2-4.0
+Gepub_0_5_gir_CFLAGS = $(INCLUDES)
+Gepub_0_5_gir_LIBS = libgepub.la
+Gepub_0_5_gir_FILES = $(introspection_sources)
+Gepub_0_5_gir_SCANNERFLAGS = --warn-all
+INTROSPECTION_GIRS += Gepub-0.5.gir
 
 girdir = $(datadir)/gir-1.0
 gir_DATA = $(INTROSPECTION_GIRS)
diff --git a/libgepub/meson.build b/libgepub/meson.build
index 3442029..2e37de4 100644
--- a/libgepub/meson.build
+++ b/libgepub/meson.build
@@ -81,7 +81,7 @@ if get_option('enable-introspection') and get_option('default_library') == 'shar
     libgepub,
     sources: sources + headers + private_headers,
     namespace: gepub_gir_ns,
-    nsversion: gepub_version,
+    nsversion: gepub_api_version,
     includes: gir_incs,
     extra_args: gir_extra_args,
     install: true,
diff --git a/meson.build b/meson.build
index 236d066..4cecd05 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
 project(
   'libgepub', 'c',
-  version: '0.5.1',
+  version: '0.5.2',
   license: 'LGPL2+',
   default_options: [
     'buildtype=debugoptimized',
@@ -13,6 +13,8 @@ gepub_version = meson.project_version()
 version_array = gepub_version.split('.')
 gepub_major_version = version_array[0].to_int()
 gepub_minor_version = version_array[1].to_int()
+gepub_version_micro = version_array[2].to_int()
+gepub_api_version = '@0@.@1@'.format(gepub_major_version, gepub_minor_version)
 
 gepub_gir_ns = 'Gepub'
 gepub_gir_version = '1.0'
@@ -36,7 +38,7 @@ config_h = configuration_data()
 set_defines = [
   # package
   ['PACKAGE', meson.project_name()],
-  ['PACKAGE_API_VERSION', gepub_version],
+  ['PACKAGE_API_VERSION', gepub_api_version],
   ['PACKAGE_BUGREPORT', 'danigm wadobo com'],
   ['PACKAGE_NAME', meson.project_name()],
   ['PACKAGE_STRING', '@0@ @1@'.format(meson.project_name(), gepub_version)],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]