[pango/kill-modules: 9/13] Kill PANGO_MODULE_VERSION



commit 2e1fc312fbe986c63cdc71507af477ad38475ad2
Author: Behdad Esfahbod <behdad behdad org>
Date:   Sun Jul 27 17:35:01 2014 -0400

    Kill PANGO_MODULE_VERSION

 config.h.win32.in          |    6 ------
 configure.ac               |    6 ------
 pango-view/viewer-render.c |    1 -
 pango-zip.sh.in            |    2 --
 pango.pc.in                |    2 --
 5 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/config.h.win32.in b/config.h.win32.in
index f9ed4dc..3925919 100644
--- a/config.h.win32.in
+++ b/config.h.win32.in
@@ -105,9 +105,6 @@
    */
 #define LT_OBJDIR ".libs/"
 
-/* Module interface version */
-#define MODULE_VERSION "1.8.0"
-
 /* Name of package */
 #define PACKAGE "pango"
 
@@ -147,8 +144,5 @@
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
 
-/* Whether to load modules via .la files rather than directly */
-/* #undef USE_LA_MODULES */
-
 /* Version number of package */
 #define VERSION "@PANGO_VERSION@"
diff --git a/configure.ac b/configure.ac
index b45da68..3a55d57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,9 +40,6 @@ m4_if(m4_eval(pango_version_minor % 2), [1],
 dnl Number of releases since we've broken binary compatibility.
 m4_define([pango_binary_age],
           [m4_eval(100 * pango_version_minor + pango_version_micro)])
-dnl Module API version.  This should be stepped up when a change causes
-dnl older modules to not work with new pango.
-m4_define([pango_module_version], [1.8.0])
 
 
 AC_INIT(pango, pango_version(),
@@ -64,7 +61,6 @@ PANGO_VERSION=pango_version()
 PANGO_API_VERSION=pango_api_version()
 PANGO_INTERFACE_AGE=pango_interface_age()
 PANGO_BINARY_AGE=pango_binary_age()
-PANGO_MODULE_VERSION=pango_module_version()
 
 AC_SUBST(PANGO_VERSION_MAJOR)
 AC_SUBST(PANGO_VERSION_MINOR)
@@ -73,9 +69,7 @@ AC_SUBST(PANGO_VERSION)
 AC_SUBST(PANGO_API_VERSION)
 AC_SUBST(PANGO_INTERFACE_AGE)
 AC_SUBST(PANGO_BINARY_AGE)
-AC_SUBST(PANGO_MODULE_VERSION)
 
-AC_DEFINE(MODULE_VERSION, "pango_module_version()", [Module interface version])
 AC_DEFINE(PANGO_BINARY_AGE, pango_binary_age(), [PANGO binary age])
 AC_DEFINE(PANGO_INTERFACE_AGE, pango_interface_age(), [PANGO interface age])
 AC_DEFINE(PANGO_VERSION_MAJOR, pango_version_major(), [PANGO major version])
diff --git a/pango-view/viewer-render.c b/pango-view/viewer-render.c
index 47bb960..f2de0aa 100644
--- a/pango-view/viewer-render.c
+++ b/pango-view/viewer-render.c
@@ -657,7 +657,6 @@ show_version(const char *name G_GNUC_UNUSED,
             GError    **error G_GNUC_UNUSED)
 {
   g_printf("%s (%s) %s\n", g_get_prgname (), PACKAGE_NAME, PACKAGE_VERSION);
-  g_printf("\nPango module interface version: %s\n", MODULE_VERSION);
 
   if (PANGO_VERSION != pango_version())
     g_printf("Linked Pango library has a different version: %s\n", pango_version_string ());
diff --git a/pango-zip.sh.in b/pango-zip.sh.in
index d1ac2f1..f8b5346 100755
--- a/pango-zip.sh.in
+++ b/pango-zip.sh.in
@@ -20,8 +20,6 @@ bin/libpangowin32- PANGO_API_VERSION@- PANGO_CURRENT_MINUS_AGE@.dll
 bin/libpangocairo- PANGO_API_VERSION@- PANGO_CURRENT_MINUS_AGE@.dll
 EOF
 
-zip $ZIP lib/pango/@PANGO_MODULE_VERSION@/modules/*.dll
-
 zip -r $ZIP share/doc/pango- PANGO_VERSION@
 
 rm $DEVZIP
diff --git a/pango.pc.in b/pango.pc.in
index 17a8b7a..63e2d59 100644
--- a/pango.pc.in
+++ b/pango.pc.in
@@ -3,8 +3,6 @@ exec_prefix= exec_prefix@
 libdir= libdir@
 includedir= includedir@
 
-pango_module_version= PANGO_MODULE_VERSION@
-
 Name: Pango
 Description: Internationalized text handling
 Version: @VERSION@


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