[libwnck/wip/muktupavels/gtk4: 95/109] bump API version to 4




commit 996272da54c6d91cd8ff203e294ab114e051216f
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Nov 13 12:45:34 2016 +0200

    bump API version to 4

 libwnck-3.0-uninstalled.pc.in => libwnck-4.0-uninstalled.pc.in | 5 ++---
 libwnck-3.0.pc.in => libwnck-4.0.pc.in                         | 7 +++----
 libwnck/{libwnck-3.map => libwnck-4.map}                       | 0
 libwnck/meson.build                                            | 2 +-
 meson.build                                                    | 6 +++---
 5 files changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/libwnck-3.0-uninstalled.pc.in b/libwnck-4.0-uninstalled.pc.in
similarity index 75%
rename from libwnck-3.0-uninstalled.pc.in
rename to libwnck-4.0-uninstalled.pc.in
index e6782a2..6648829 100644
--- a/libwnck-3.0-uninstalled.pc.in
+++ b/libwnck-4.0-uninstalled.pc.in
@@ -6,8 +6,7 @@ includedir=@includedir@
 Name: libwnck
 Description: Window Navigator Construction Kit library
 Version: @VERSION@
-Requires: glib-2.0 gobject-2.0 gtk+-3.0
+Requires: glib-2.0 gobject-2.0 gtk+-4.0
 Requires.private: @X11_PACKAGE@ pango cairo @STARTUP_NOTIFICATION_PACKAGE@ @XRES_PACKAGE@
-Libs: ${pc_top_builddir}/${pcfiledir}/libwnck/libwnck-3.la
+Libs: ${pc_top_builddir}/${pcfiledir}/libwnck/libwnck-4.la
 Cflags: -I${pc_top_builddir}/${pcfiledir}
-
diff --git a/libwnck-3.0.pc.in b/libwnck-4.0.pc.in
similarity index 71%
rename from libwnck-3.0.pc.in
rename to libwnck-4.0.pc.in
index f7820e1..96e4532 100644
--- a/libwnck-3.0.pc.in
+++ b/libwnck-4.0.pc.in
@@ -6,8 +6,7 @@ includedir=@includedir@
 Name: libwnck
 Description: Window Navigator Construction Kit library
 Version: @VERSION@
-Requires: glib-2.0 gobject-2.0 gtk+-3.0
+Requires: glib-2.0 gobject-2.0 gtk+-4.0
 Requires.private: @X11_PACKAGE@ pango cairo @STARTUP_NOTIFICATION_PACKAGE@ @XRES_PACKAGE@
-Libs: -L${libdir} -lwnck-3
-Cflags: -I${includedir}/libwnck-3.0
-
+Libs: -L${libdir} -lwnck-4
+Cflags: -I${includedir}/libwnck-4.0
diff --git a/libwnck/libwnck-3.map b/libwnck/libwnck-4.map
similarity index 100%
rename from libwnck/libwnck-3.map
rename to libwnck/libwnck-4.map
diff --git a/libwnck/meson.build b/libwnck/meson.build
index eef9de5..0db2737 100644
--- a/libwnck/meson.build
+++ b/libwnck/meson.build
@@ -133,7 +133,7 @@ if not introspection.disabled()
     namespace: 'Wnck',
     nsversion: MODULE_VERSION,
     export_packages: PACKAGE_NAME,
-    includes: ['GObject-2.0', 'GdkPixbuf-2.0', 'Gtk-3.0'],
+    includes: ['GObject-2.0', 'GdkPixbuf-2.0', 'Gtk-4.0'],
     extra_args: '--c-include=@0@/@0@.h'.format(meson.project_name()),
     install: true
   )
diff --git a/meson.build b/meson.build
index 290e5d2..d56bc9c 100644
--- a/meson.build
+++ b/meson.build
@@ -7,7 +7,7 @@ LIBWNCK_SOVERSION = 0
 
 # libtool versioning for libwnck
 # increment if the interface has additions, changes, removals.
-LIBWNCK_CURRENT = 3
+LIBWNCK_CURRENT = 4
 
 # increment any time the source changes; set to
 # 0 if you increment CURRENT
@@ -16,7 +16,7 @@ LIBWNCK_REVISION = 0
 # increment if any interfaces have been added; set to 0
 # if any interfaces have been changed or removed. removal has
 # precedence over adding, so set to 0 if both happened.
-LIBWNCK_AGE = 3
+LIBWNCK_AGE = 0
 
 MODULE_NAME = meson.project_name() + '-@0@'.format(LIBWNCK_CURRENT)
 MODULE_VERSION = '@0@.@1@'.format(LIBWNCK_CURRENT, LIBWNCK_REVISION)
@@ -42,7 +42,7 @@ pkg_deps = [
   {'name': 'cairo-xlib-xrender', 'required': false},
   {'name': 'glib-2.0', 'version': '>= 2.44' },
   {'name': 'gobject-2.0', 'version': '>= 2.13.0' },
-  {'name': 'gtk+-3.0', 'version': '>= 3.22.0' },
+  {'name': 'gtk4' },
   {'name': STARTUP_NOTIFICATION_PACKAGE, 'version': '>= 0.4', 'required': 
get_option('startup_notification')},
   {'name': X11_PACKAGE },
   {'name': XRES_PACKAGE, 'required': false},


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