[ANNOUNCE] libchamplain 0.10.0



Hi everyone,

libchamplain 0.10.0 is out! You can get the sources here:

http://download.gnome.org/sources/libchamplain/0.10/libchamplain-0.10.0.tar.gz

Changes since libchamplain 0.9.1:
* Vala bindings generated from gir's (Lorenzo Masini)
* Various build-related fixes (Jiří Techet, Danilo Segan)
* Performance improvements in path node and marker addition code (Jiří Techet)

Big thanks to Lorenzo for making the gir-based Vala bindings work.
It's really easy to maintain all our bindings now.

For those who haven't followed libchamplain's development, here's a
list of major changes since the libchamplain 0.8.x release series:

* new API for markers, layers, polygons (now paths)
* making scale and license independent actors
* Python and Vala bindings are based on introspection now
* port to GTK 3
* fixes, cleanups and other improvements

Many thanks to all the people who have contributed their work and time
to libchamplain. Special thanks to Robert Park for all his testing
which helped to improve introspection-based bindings and find many
bugs in the code.

Even though libchamplain uses GTK 3 now, it's pretty easy to make it
use GTK 2 instead - see the patch in the attachment. So if linux
distributions still use GTK 2 and want to use libchamplain 0.10, they
can do so by applying the patch.

In the next release I would like things to calm down so I would like
to avoid any radical API changes. Actually I'm pretty happy with the
current libchamplain architecture so hopefully no major API chnages
will be required in the future releases either. There are quite a few
feature requests in our bugzilla and many of them seem to be good
candidates for the next release. Of course, anyone who wants to
implement some feature is welcome to do so.

Cheers,

Jiri
From d0aaebd238309198ae5e1aafae169462c38c7ddb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20Techet?= <techet gmail com>
Date: Mon, 4 Apr 2011 00:57:03 +0200
Subject: [PATCH] GTK3 to GTK2

This patch converts libchamplain 0.10 to GTK 2
---
 champlain-gtk-uninstalled.pc.in |    2 +-
 champlain-gtk.pc.in             |    2 +-
 champlain-gtk/Makefile.am       |    6 +++---
 champlain-uninstalled.pc.in     |    2 +-
 champlain.pc.in                 |    2 +-
 configure.ac                    |    6 +++---
 6 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/champlain-gtk-uninstalled.pc.in b/champlain-gtk-uninstalled.pc.in
index 23e5011..224eb54 100644
--- a/champlain-gtk-uninstalled.pc.in
+++ b/champlain-gtk-uninstalled.pc.in
@@ -8,4 +8,4 @@ Description: Gtk+ Widget wrapper for libchamplain
 Version: @VERSION@
 Libs: ${abs_top_builddir}/champlain-gtk/libchamplain-gtk-@CHAMPLAIN_API_VERSION@.la
 Cflags: -I${abs_top_srcdir} -I${abs_top_builddir}
-Requires: champlain-@CHAMPLAIN_API_VERSION@-uninstalled clutter-gtk-1.0 gtk+-3.0
+Requires: champlain-@CHAMPLAIN_API_VERSION@-uninstalled clutter-gtk-0.10 gtk+-2.0
diff --git a/champlain-gtk.pc.in b/champlain-gtk.pc.in
index c9ac01f..328e89c 100644
--- a/champlain-gtk.pc.in
+++ b/champlain-gtk.pc.in
@@ -8,4 +8,4 @@ Description: Gtk+ Widget wrapper for libchamplain
 Version: @VERSION@
 Libs: -L${libdir} -lchamplain-gtk-@CHAMPLAIN_API_VERSION@
 Cflags: -I${includedir}/libchamplain-gtk-@CHAMPLAIN_API_VERSION@
-Requires: clutter-gtk-1.0 champlain-@CHAMPLAIN_API_VERSION@ gtk+-3.0
+Requires: clutter-gtk-0.10 champlain-@CHAMPLAIN_API_VERSION@ gtk+-2.0
diff --git a/champlain-gtk/Makefile.am b/champlain-gtk/Makefile.am
index 184f85d..7d0f120 100644
--- a/champlain-gtk/Makefile.am
+++ b/champlain-gtk/Makefile.am
@@ -77,9 +77,9 @@ GtkChamplain-@CHAMPLAIN_API_VERSION@.gir: libchamplain-gtk-@CHAMPLAIN_API_VERSIO
 GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_NAMESPACE = GtkChamplain
 GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_VERSION = @CHAMPLAIN_API_VERSION@
 GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_LIBS = libchamplain-gtk-@CHAMPLAIN_API_VERSION@.la
-GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_PACKAGES = gobject-2.0 gtk+-3.0
+GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_PACKAGES = gobject-2.0 gtk+-2.0
 GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_FILES = $(introspection_sources)
-GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_INCLUDES = Clutter-1.0 Gtk-3.0
+GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_INCLUDES = Clutter-1.0 Gtk-2.0
 GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_EXPORT_PACKAGES = champlain-gtk-@CHAMPLAIN_API_VERSION@
 GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_SCANNERFLAGS = \
 	--library-path=$(top_builddir)/champlain \
@@ -113,7 +113,7 @@ EXTRA_DIST += champlain-gtk-@CHAMPLAIN_API_VERSION@.vapi
 CLEANFILES += $(dist_vapi_DATA)
 
 champlain-gtk-@CHAMPLAIN_API_VERSION@.vapi:	GtkChamplain-@CHAMPLAIN_API_VERSION@.gir
-	$(AM_V_GEN) ( $(VAPIGEN) --library champlain-gtk-@CHAMPLAIN_API_VERSION@ --vapidir=$(top_builddir)/champlain --pkg champlain-0.10 --pkg clutter-gtk-1.0 --pkg gtk+-3.0 --pkg atk --girdir=$(top_builddir)/champlain $(builddir)/GtkChamplain-@CHAMPLAIN_API_VERSION@.gir )
+	$(AM_V_GEN) ( $(VAPIGEN) --library champlain-gtk-@CHAMPLAIN_API_VERSION@ --vapidir=$(top_builddir)/champlain --pkg champlain-0.10 --pkg clutter-gtk-0.10 --pkg gtk+-2.0 --pkg atk --girdir=$(top_builddir)/champlain $(builddir)/GtkChamplain-@CHAMPLAIN_API_VERSION@.gir )
 
 endif
 
diff --git a/champlain-uninstalled.pc.in b/champlain-uninstalled.pc.in
index 9afc281..13e566a 100644
--- a/champlain-uninstalled.pc.in
+++ b/champlain-uninstalled.pc.in
@@ -9,4 +9,4 @@ Version: @VERSION@
 Libs: ${abs_top_builddir}/champlain/libchamplain-@CHAMPLAIN_API_VERSION@.la
 Cflags: -I${abs_top_srcdir} -I${abs_top_builddir}
 Requires: gobject-2.0 glib-2.0 clutter-1.0
-Requires.private: gdk-3.0 gio-2.0 cairo sqlite3 @SOUP_DEP@
+Requires.private: gdk-2.0 gio-2.0 cairo sqlite3 @SOUP_DEP@
diff --git a/champlain.pc.in b/champlain.pc.in
index 6d38c26..69cb23a 100644
--- a/champlain.pc.in
+++ b/champlain.pc.in
@@ -9,4 +9,4 @@ Version: @VERSION@
 Libs: -L${libdir} -lchamplain-@CHAMPLAIN_API_VERSION@
 Cflags: -I${includedir}/libchamplain-@CHAMPLAIN_API_VERSION@
 Requires: gobject-2.0 glib-2.0 clutter-1.0
-Requires.private: gdk-3.0 gio-2.0 cairo sqlite3 @SOUP_DEP@
+Requires.private: gdk-2.0 gio-2.0 cairo sqlite3 @SOUP_DEP@
diff --git a/configure.ac b/configure.ac
index c02ccbf..597f024 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,7 +59,7 @@ AC_SUBST(LIBRARY_VERSION)
 PKG_CHECK_MODULES(DEPS,
   [   glib-2.0 >= 2.16
       gobject-2.0 >= 2.10
-      gdk-3.0 >= 2.90
+      gdk-2.0 >= 2.10
       clutter-1.0 >= 1.2
       cairo >= 1.4
       gio-2.0 >= 2.16
@@ -134,8 +134,8 @@ AC_ARG_ENABLE(gtk,
 
 if test x$enable_gtk = xyes; then
   PKG_CHECK_MODULES(GTK,
-    [   gtk+-3.0 >= 2.90
-        clutter-gtk-1.0 >= 0.90
+    [   gtk+-2.0 >= 2.12
+        clutter-gtk-0.10 >= 0.10
     ]
   )
   AC_SUBST(GTK_CFLAGS)
-- 
1.7.4.1



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