gegl-0.2.0-introspection-version.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. From 35469116fbf0b398d748f8116e4dcc8bdaee12c7 Mon Sep 17 00:00:00 2001
  2. From: Jon Nordby <jononor@gmail.com>
  3. Date: Thu, 12 Apr 2012 12:10:05 +0000
  4. Subject: gobject-introspection: Fix build after 0.2.x version bump
  5. Remove hardcoding of version numbers so that this does
  6. not happen again.
  7. ---
  8. (limited to 'gegl/Makefile.am')
  9. diff --git a/gegl/Makefile.am b/gegl/Makefile.am
  10. index aef4c33..43010ce 100644
  11. --- a/gegl/Makefile.am
  12. +++ b/gegl/Makefile.am
  13. @@ -118,10 +118,10 @@ introspection_sources = \
  14. INCLUDES = $(AM_CFLAGS) $(AM_CPPFLAGS)
  15. Gegl-@GEGL_API_VERSION@.gir: libgegl-@GEGL_API_VERSION@.la Makefile
  16. -Gegl_0_1_gir_INCLUDES = GObject-2.0 GLib-2.0 Babl-0.1
  17. -Gegl_0_1_gir_CFLAGS = $(INCLUDES)
  18. -Gegl_0_1_gir_LIBS = libgegl-@GEGL_API_VERSION@.la
  19. -Gegl_0_1_gir_FILES = $(introspection_sources)
  20. +Gegl_@GEGL_MAJOR_VERSION@_@GEGL_MINOR_VERSION@_gir_INCLUDES = GObject-2.0 GLib-2.0 Babl-0.1
  21. +Gegl_@GEGL_MAJOR_VERSION@_@GEGL_MINOR_VERSION@_gir_CFLAGS = $(INCLUDES)
  22. +Gegl_@GEGL_MAJOR_VERSION@_@GEGL_MINOR_VERSION@_gir_LIBS = libgegl-@GEGL_API_VERSION@.la
  23. +Gegl_@GEGL_MAJOR_VERSION@_@GEGL_MINOR_VERSION@_gir_FILES = $(introspection_sources)
  24. INTROSPECTION_GIRS += Gegl-@GEGL_API_VERSION@.gir
  25. girdir = $(datadir)/gir-1.0
  26. --
  27. cgit v0.9.1