[libpeas] Adapt to and require gjs 1.29.16
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Adapt to and require gjs 1.29.16
- Date: Sun, 21 Aug 2011 15:38:52 +0000 (UTC)
commit 0cee06c36977991d70ad627ceb3c40430b9dfcf9
Author: Vincent Untz <vuntz gnome org>
Date: Mon Aug 1 09:16:46 2011 +0200
Adapt to and require gjs 1.29.16
gjs-gi was merged in gjs, so update the build system as well as path to
headers.
https://bugzilla.gnome.org/show_bug.cgi?id=655475
configure.ac | 8 ++++----
loaders/gjs/peas-extension-gjs.c | 4 ++--
loaders/gjs/peas-plugin-loader-gjs.c | 6 +++---
tests/libpeas/extension-gjs.c | 2 +-
4 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c847779..5873573 100644
--- a/configure.ac
+++ b/configure.ac
@@ -257,7 +257,7 @@ dnl ================================================================
dnl GJS Javascript Engine
dnl ================================================================
-GJS_REQUIRED=0.7.8
+GJS_REQUIRED=1.29.16
AC_ARG_ENABLE(gjs,
AS_HELP_STRING([--enable-gjs],[Enable GJS support]),
@@ -269,7 +269,7 @@ AC_MSG_CHECKING([for GJS JS availability.])
if test "x$enable_gjs" = "xno"; then
found_gjs="no (disabled, use --enable-gjs to enable)"
else
- PKG_CHECK_EXISTS([gjs-internals-1.0 >= $GJS_REQUIRED gjs-gi-1.0],
+ PKG_CHECK_EXISTS([gjs-internals-1.0 >= $GJS_REQUIRED],
[found_gjs=yes],
[found_gjs=no])
fi
@@ -280,8 +280,8 @@ fi
AC_MSG_RESULT([$found_gjs])
if test "$found_gjs" = "yes"; then
- GJS_CFLAGS=`$PKG_CONFIG --cflags gjs-internals-1.0 gjs-gi-1.0`
- GJS_LIBS=`$PKG_CONFIG --libs gjs-internals-1.0 gjs-gi-1.0`
+ GJS_CFLAGS=`$PKG_CONFIG --cflags gjs-internals-1.0`
+ GJS_LIBS=`$PKG_CONFIG --libs gjs-internals-1.0`
AC_SUBST(GJS_CFLAGS)
AC_SUBST(GJS_LIBS)
diff --git a/loaders/gjs/peas-extension-gjs.c b/loaders/gjs/peas-extension-gjs.c
index 1d600f5..d8cc578 100644
--- a/loaders/gjs/peas-extension-gjs.c
+++ b/loaders/gjs/peas-extension-gjs.c
@@ -26,8 +26,8 @@
#include <string.h>
#include <girepository.h>
-#include <gjs/gi/arg.h>
-#include <gjs/gi/value.h>
+#include <gi/arg.h>
+#include <gi/value.h>
#include <libpeas/peas-introspection.h>
#include <libpeas/peas-extension-subclasses.h>
diff --git a/loaders/gjs/peas-plugin-loader-gjs.c b/loaders/gjs/peas-plugin-loader-gjs.c
index 30a3a2c..b19f7ac 100644
--- a/loaders/gjs/peas-plugin-loader-gjs.c
+++ b/loaders/gjs/peas-plugin-loader-gjs.c
@@ -24,9 +24,9 @@
#endif
#include <gjs/gjs-module.h>
-#include <gjs/gi/object.h>
-#include <gjs/gi/repo.h>
-#include <gjs/gi/value.h>
+#include <gi/object.h>
+#include <gi/repo.h>
+#include <gi/value.h>
#include "peas-plugin-loader-gjs.h"
#include "peas-extension-gjs.h"
diff --git a/tests/libpeas/extension-gjs.c b/tests/libpeas/extension-gjs.c
index 9d69235..1a5f846 100644
--- a/tests/libpeas/extension-gjs.c
+++ b/tests/libpeas/extension-gjs.c
@@ -23,7 +23,7 @@
#include <config.h>
#endif
-#include <gjs/gi/value.h>
+#include <gi/value.h>
#include "loaders/gjs/peas-extension-gjs.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]