[grits/v0.4.x: 6/7] libgis -> grits: Update non-technical references



commit de4cb2565139068b7fbb46e6410157d1899acbd1
Author: Andy Spencer <andy753421 gmail com>
Date:   Sat Nov 20 07:16:32 2010 +0000

    libgis -> grits: Update non-technical references

 README                     |    2 +-
 docs/api/grits-demo.xml    |    2 +-
 docs/api/grits-docs.sgml   |    2 +-
 examples/plugin/mkfile     |    4 ++--
 src/.vimrc                 |    4 ++--
 src/grits-opengl.c         |    2 +-
 src/grits-plugin.c         |   30 +++++++++++++++++-------------
 src/grits-prefs.c          |    6 +++---
 src/grits.h                |    6 +++---
 src/grits.pc.in            |    8 ++++----
 src/objects/grits-object.c |    4 ++--
 11 files changed, 37 insertions(+), 33 deletions(-)
---
diff --git a/README b/README
index 2ed3bb7..db95c38 100644
--- a/README
+++ b/README
@@ -1 +1 @@
-libgis is a Virtual Globe library using GTK+ and OpenGL
+Grits is a Virtual Globe library using GTK+ and OpenGL
diff --git a/docs/api/grits-demo.xml b/docs/api/grits-demo.xml
index c56849c..1f6cdce 100644
--- a/docs/api/grits-demo.xml
+++ b/docs/api/grits-demo.xml
@@ -6,7 +6,7 @@
 
 <refnamediv>
 	<refname>gis-demo</refname>
-	<refpurpose>libgis demonstration program</refpurpose>
+	<refpurpose>Grits demonstration program</refpurpose>
 </refnamediv>
 
 <refsynopsisdiv>
diff --git a/docs/api/grits-docs.sgml b/docs/api/grits-docs.sgml
index 163e4c3..4afe49f 100644
--- a/docs/api/grits-docs.sgml
+++ b/docs/api/grits-docs.sgml
@@ -3,7 +3,7 @@
 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";>
 <book id="index" xmlns:xi="http://www.w3.org/2001/XInclude";>
 	<bookinfo>
-		<title>libgis Reference Manual</title>
+		<title>Grits Reference Manual</title>
 	</bookinfo>
 
 	<chapter>
diff --git a/examples/plugin/mkfile b/examples/plugin/mkfile
index b89058c..435be56 100644
--- a/examples/plugin/mkfile
+++ b/examples/plugin/mkfile
@@ -9,6 +9,6 @@ default:V: $LIB
 clean:V:
 	rm -f *.o *.so
 install:V:
-	cp $LIB /usr/lib/gis/
+	cp $LIB /usr/lib/grits0/
 uninstall:V:
-	rm /usr/lib/gis/$LIB
+	rm /usr/lib/grits0/$LIB
diff --git a/src/.vimrc b/src/.vimrc
index 01772fa..2de4374 100644
--- a/src/.vimrc
+++ b/src/.vimrc
@@ -1,5 +1,5 @@
 set makeprg=make\ test
 set tw=100
 
-au FileType valgrind syn match gisFile "\v<(gis-\w+|roam|elev|env|map|sat|test|radar)\.c>" containedin=valgrindSrc
-au FileType valgrind hi link gisFile Error
+au FileType valgrind syn match gritsFile "\v<(grits-\w+|roam|elev|env|map|sat|test|radar)\.c>" containedin=valgrindSrc
+au FileType valgrind hi link gritsFile Error
diff --git a/src/grits-opengl.c b/src/grits-opengl.c
index 7ec3a5c..6112fa0 100644
--- a/src/grits-opengl.c
+++ b/src/grits-opengl.c
@@ -19,7 +19,7 @@
  * SECTION:gis-opengl
  * @short_description: OpenGL based virtual globe
  *
- * #GisOpenGL is the core rendering engine used by libgis. Theoretically other
+ * #GisOpenGL is the core rendering engine used by grits. Theoretically other
  * renderers could be writte, but they have not been. GisOpenGL uses the ROAM
  * algorithm for updating surface mesh the planet. The only thing GisOpenGL can
  * actually render on it's own is a wireframe of a sphere.
diff --git a/src/grits-plugin.c b/src/grits-plugin.c
index 7b5b179..6ceea39 100644
--- a/src/grits-plugin.c
+++ b/src/grits-plugin.c
@@ -19,20 +19,24 @@
  * SECTION:gis-plugin
  * @short_description: Plugin support
  *
- * A plugin in libgis is a GObject which implements the GisPlugin interface. Additionally, each
- * plugin is compiled to a separate shared object and loaded conditionally at runtime when the
- * plugin is enabled. Each such shared object should define a GisPluginConstructor() function named
- * gis_plugin_NAME_new which will be called when loading the plugin.
- *
- * Almost all libgis functionality is provided by a set of plugins. Each plugin can how however much
- * it likes. The interface between plugins and the rest of libgis is intentionally very thin. Since
- * libgis is the library, plugins must manually do everything. For instance, to draw something in
- * the world, the plugin must add an object to the viewer. Likewise, plugins need to register
- * callbacks on the viewer in order to receive updates, very little happens automagically.
- *
- * That being said, one thing that plugins do do automagically, is provide a configuration area.
- * Since the plugin doesn't know what application is is being loaded form, it is better for the
- * application to ask the plugin for it's confirmation area, not the other way around.
+ * A plugin in grits is a GObject which implements the GisPlugin interface.
+ * Additionally, each plugin is compiled to a separate shared object and loaded
+ * conditionally at runtime when the plugin is enabled. Each such shared object
+ * should define a GisPluginConstructor() function named gis_plugin_NAME_new
+ * which will be called when loading the plugin.
+ *
+ * Almost all grits functionality is provided by a set of plugins. Each plugin
+ * can how however much it likes. The interface between plugins and the rest of
+ * grits is intentionally very thin. Since grits is the library, plugins must
+ * manually do everything. For instance, to draw something in the world, the
+ * plugin must add an object to the viewer. Likewise, plugins need to register
+ * callbacks on the viewer in order to receive updates, very little happens
+ * automagically.
+ *
+ * That being said, one thing that plugins do do automagically, is provide a
+ * configuration area.  Since the plugin doesn't know what application is is
+ * being loaded form, it is better for the application to ask the plugin for
+ * it's confirmation area, not the other way around.
  */
 
 #include <glib.h>
@@ -104,7 +108,7 @@ const gchar *gis_plugin_get_description(GisPlugin *plugin)
  * gis_plugin_get_config:
  * @plugin: the plugin
  *
- * Each plugin can provide a configuration area. Applications using libgis
+ * Each plugin can provide a configuration area. Applications using grits
  * should display this configuration area to the user so they can modify the
  * behavior of the plugin.
  *
diff --git a/src/grits-prefs.c b/src/grits-prefs.c
index e8f546a..4e1b064 100644
--- a/src/grits-prefs.c
+++ b/src/grits-prefs.c
@@ -19,10 +19,10 @@
  * SECTION:gis-prefs
  * @short_description: Persistent preference handing
  *
- * #GisPrefs is used to store and access preferences in libgis. It is mostly a
+ * #GisPrefs is used to store and access preferences in grits. It is mostly a
  * wrapper around a #GKeyFile. Preferences can be stored for the application
- * using libgis, but may also be stored by libgis itself. An example of this are
- * whether libgis is in online or offline mode. Many #GisPlugin<!-- -->s also
+ * using grits, but may also be stored by grits itself. An example of this are
+ * whether grits is in online or offline mode. Many #GisPlugin<!-- -->s also
  * store preferences.
  *
  * There are two variants of preference functions. The normal variant takes
diff --git a/src/grits.h b/src/grits.h
index ad36735..024ab0c 100644
--- a/src/grits.h
+++ b/src/grits.h
@@ -18,18 +18,18 @@
 #ifndef __GIS_H__
 #define __GIS_H__
 
-/* GIS Core */
+/* Grits Core */
 #include <grits-viewer.h>
 #include <grits-opengl.h>
 #include <grits-prefs.h>
 #include <grits-util.h>
 
-/* GIS data */
+/* Grits data */
 #include <data/grits-data.h>
 #include <data/grits-http.h>
 #include <data/grits-wms.h>
 
-/* GIS objects */
+/* Grits objects */
 #include <objects/grits-object.h>
 #include <objects/grits-tile.h>
 #include <objects/grits-marker.h>
diff --git a/src/grits.pc.in b/src/grits.pc.in
index 859289e..541f222 100644
--- a/src/grits.pc.in
+++ b/src/grits.pc.in
@@ -3,9 +3,9 @@ exec_prefix= exec_prefix@
 libdir= libdir@
 includedir= includedir@
 
-Name: libgis
-Description: GIS Library for Gtk+ applications
+Name: Grits
+Description: Grits is a Virtual Globe library
 Version: @VERSION@
 Requires: gmodule-2.0 gtk+-2.0 gtkglext-1.0 libsoup-2.4
-Libs: -L${libdir} -lgis
-Cflags: -I${includedir}/gis
+Libs: -L${libdir} -lgrits
+Cflags: -I${includedir}/grits
diff --git a/src/objects/grits-object.c b/src/objects/grits-object.c
index 36191cc..d256bd4 100644
--- a/src/objects/grits-object.c
+++ b/src/objects/grits-object.c
@@ -19,12 +19,12 @@
  * SECTION:gis-object
  * @short_description: Base class for drawing operations
  *
- * Objects in libgis are things which can be added to the viewer and will be
+ * Objects in grits are things which can be added to the viewer and will be
  * displayed to the user. Each object has information such as it's location and
  * level of detail which are used by the viewer to determine which objects
  * should be drawn.
  *
- * Each #GisObject is also a #GObject, but not every GObject in libgis is a
+ * Each #GisObject is also a #GObject, but not every GObject in grits is a
  * GisObject. The "Object" part of the name is just coincidence.
  */
 



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