[jester] rename from jester to j5tester since jester is used by another js project



commit e875af677c645b12112f385cb39d6a052caa5d2c
Author: John (J5) Palmieri <johnp redhat com>
Date:   Tue Mar 23 16:31:09 2010 -0400

    rename from jester to j5tester since jester is used by another js project

 autogen.sh                                    |    2 +-
 configure.ac                                  |    6 ++--
 js/Makefile.am                                |    4 +-
 js/{jester.js => j5tester.js}                 |    0
 js/{jester_globals.js => j5tester_globals.js} |    0
 src/Makefile.am                               |   38 ++++++++++++------------
 src/main.c                                    |   10 +++---
 7 files changed, 30 insertions(+), 30 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 6ffb4c0..859dde5 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,7 +4,7 @@
 srcdir=`dirname $0`
 test -z "$srcdir" && srcdir=.
 
-PKG_NAME="jester"
+PKG_NAME="j5tester"
 REQUIRED_AUTOMAKE_VERSION=1.10
 
 (test -f $srcdir/configure.ac \
diff --git a/configure.ac b/configure.ac
index 2c09102..86dc61d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT(jester, 0.1)
+AC_INIT(j5tester, 0.1)
 
 AC_CONFIG_AUX_DIR(config)
 
@@ -15,7 +15,7 @@ AC_PROG_CC
 AM_PROG_CC_C_O
 AM_PROG_LIBTOOL
 
-GETTEXT_PACKAGE=jester
+GETTEXT_PACKAGE=j5tester
 AC_SUBST(GETTEXT_PACKAGE)
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
                    [The prefix for our gettext translation domains.])
@@ -37,7 +37,7 @@ AC_SUBST(PYTHON)
 GSTREAMER_MIN_VERSION=0.10.16
 
 # Collect more than 20 libraries for a prize!
-PKG_CHECK_MODULES(JESTER, gio-unix-2.0 glib-2.0  
+PKG_CHECK_MODULES(J5TESTER, gio-unix-2.0 glib-2.0  
                             gjs-gi-1.0 
                             gobject-introspection-1.0 >= 0.6.3)
 
diff --git a/js/Makefile.am b/js/Makefile.am
index e1c56ff..fc654b0 100644
--- a/js/Makefile.am
+++ b/js/Makefile.am
@@ -1,5 +1,5 @@
 jsuidir = $(pkgdatadir)/js
 
 dist_jsui_DATA =		\
-	jester_globals.js   \
-	jester.js
+	j5tester_globals.js   \
+	j5tester.js
diff --git a/js/jester.js b/js/j5tester.js
similarity index 100%
rename from js/jester.js
rename to js/j5tester.js
diff --git a/js/jester_globals.js b/js/j5tester_globals.js
similarity index 100%
rename from js/jester_globals.js
rename to js/j5tester_globals.js
diff --git a/src/Makefile.am b/src/Makefile.am
index 7ee2b92..d40a5a3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,17 +2,17 @@ NULL =
 BUILT_SOURCES =
 CLEANFILES =
 EXTRA_DIST =
-bin_PROGRAMS = jester
+bin_PROGRAMS = j5tester
 libexec_PROGRAMS =
 noinst_LTLIBRARIES =
 noinst_PROGRAMS =
 
 .AUTOPARALLEL:
 
-CLEANFILES += jester 
+CLEANFILES += j5tester 
 
-jester_cflags = $(JESTER_CFLAGS)			\
-	-DGETTEXT_PACKAGE=\"jester\"		\
+j5tester_cflags = $(J5TESTER_CFLAGS)			\
+	-DGETTEXT_PACKAGE=\"j5tester\"		\
 	-DLOCALEDIR=\"$(datadir)/locale\" \
 	-DJSTESTER_DATADIR=\"$(pkgdatadir)\"	\
 	-DJSTESTER_PKGLIBDIR=\"$(pkglibdir)\" \
@@ -21,38 +21,38 @@ jester_cflags = $(JESTER_CFLAGS)			\
 
 CLEANFILES += $(SHELL_STAMP_FILES)
 
-jester_SOURCES =			\
+j5tester_SOURCES =			\
 	main.c
 
 #non_gir_sources =				\
 #	shell-embedded-window-private.h		\
 #	shell-global-private.h
 
-jester_gir_sources = \
-	$(filter-out $(non_gir_sources), $(jester_SOURCES))
+j5tester_gir_sources = \
+	$(filter-out $(non_gir_sources), $(j5tester_SOURCES))
 
 
-jester_LDFLAGS = -avoid-version -module
-jester_LDADD = $(JESTER_LIBS)
-jester_CPPFLAGS = $(jester_cflags)
+j5tester_LDFLAGS = -avoid-version -module
+j5tester_LDADD = $(J5TESTER_LIBS)
+j5tester_CPPFLAGS = $(j5tester_cflags)
 
 typelibdir = $(pkglibdir)
-typelib_DATA = Jester-0.1.typelib
-Jester-0.1.gir: $(G_IR_SCANNER) Makefile jester
+typelib_DATA = J5tester-0.1.typelib
+J5tester-0.1.gir: $(G_IR_SCANNER) Makefile jester
 	$(AM_V_GEN) $(G_IR_SCANNER)			\
 		--namespace=Jester			\
 		--nsversion=0.1				\
 		--libtool="$(LIBTOOL)"    \
 		--add-include-path=$(builddir)     \
-		--program=$(srcdir)/jester		\
-		$(addprefix $(srcdir)/,$(jester_gir_sources)) \
-		$(jester_CPPFLAGS)		\
+		--program=$(srcdir)/j5tester		\
+		$(addprefix $(srcdir)/,$(j5tester_gir_sources)) \
+		$(j5tester_CPPFLAGS)		\
 		-o $@
-CLEANFILES += Jester-0.1.gir
+CLEANFILES += J5tester-0.1.gir
 
-Jester-0.1.typelib: Jester-0.1.gir
+J5tester-0.1.typelib: J5tester-0.1.gir
 	$(AM_V_GEN) \
 		$(G_IR_COMPILER)	\
 			--includedir=.	\
-		Jester-0.1.gir -o $@
-CLEANFILES += Jester-0.1.typelib
+		J5tester-0.1.gir -o $@
+CLEANFILES += J5tester-0.1.typelib
diff --git a/src/main.c b/src/main.c
index 837322a..e697301 100644
--- a/src/main.c
+++ b/src/main.c
@@ -236,7 +236,7 @@ main(int argc, char *argv[])
   // FIXME: how do we determine weather to grab the development or installed
   //        system global file?
   if (!gjs_context_eval_file (gjs_ctx,
-                         SRCJSDIR"/jester_globals.js",
+                         SRCJSDIR"/j5tester_globals.js",
                          &status,
                          &error))
     {
@@ -254,21 +254,21 @@ main(int argc, char *argv[])
     }
     
   if (!JS_DefineProperty(jsctx, JS_GetGlobalObject(jsctx),
-                         "__jester_path",
+                         "__j5tester_path",
                          OBJECT_TO_JSVAL(search_path_to_js_obj(jsctx)),
                          NULL, NULL, JSPROP_READONLY))
     {
-      g_warning("Failed to define jester_path property");
+      g_warning("Failed to define j5tester_path property");
       return EXIT_FAILURE;
     }
     
   cwd = g_get_current_dir();
   if (!JS_DefineProperty(jsctx, JS_GetGlobalObject(jsctx),
-                         "__jester_cwd",
+                         "__j5tester_cwd",
                          STRING_TO_JSVAL(JS_NewString(jsctx, cwd, strlen(cwd))),
                          NULL, NULL, JSPROP_READONLY))
     {
-      g_warning("Failed to define jester_cwd property");
+      g_warning("Failed to define j5tester_cwd property");
       return EXIT_FAILURE;
     }
 



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