summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2003-05-27 16:22:17 +0000
committerOwen Taylor <otaylor@src.gnome.org>2003-05-27 16:22:17 +0000
commit7c8695012e0f06fb01cbb20da7ace569aa181e1c (patch)
tree86c3d815db8dae867070a48d25ecc6c3b18b2ba3
parentcf90e371a93f175dc1c2ad2f8ba5a9023af1aa5e (diff)
downloadpango-7c8695012e0f06fb01cbb20da7ace569aa181e1c.tar.gz
Add code to check for "./pangorc" so that it works uninstalled.
Tue May 27 12:19:53 2003 Owen Taylor <otaylor@redhat.com> * examples/pangoft2topgm.c (main): Add code to check for "./pangorc" so that it works uninstalled.
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-1-105
-rw-r--r--ChangeLog.pre-1-45
-rw-r--r--ChangeLog.pre-1-65
-rw-r--r--ChangeLog.pre-1-85
-rw-r--r--examples/pangoft2topgm.c3
-rw-r--r--examples/renderdemo.c3
7 files changed, 31 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6bdfd7e0..2063d094 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue May 27 12:19:53 2003 Owen Taylor <otaylor@redhat.com>
+
+ * examples/pangoft2topgm.c (main): Add code to check
+ for "./pangorc" so that it works uninstalled.
+
Fri May 2 17:20:23 2003 Owen Taylor <otaylor@redhat.com>
* pango/mapping.c (pango_glyph_string_x_to_index):
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index 6bdfd7e0..2063d094 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,8 @@
+Tue May 27 12:19:53 2003 Owen Taylor <otaylor@redhat.com>
+
+ * examples/pangoft2topgm.c (main): Add code to check
+ for "./pangorc" so that it works uninstalled.
+
Fri May 2 17:20:23 2003 Owen Taylor <otaylor@redhat.com>
* pango/mapping.c (pango_glyph_string_x_to_index):
diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4
index 6bdfd7e0..2063d094 100644
--- a/ChangeLog.pre-1-4
+++ b/ChangeLog.pre-1-4
@@ -1,3 +1,8 @@
+Tue May 27 12:19:53 2003 Owen Taylor <otaylor@redhat.com>
+
+ * examples/pangoft2topgm.c (main): Add code to check
+ for "./pangorc" so that it works uninstalled.
+
Fri May 2 17:20:23 2003 Owen Taylor <otaylor@redhat.com>
* pango/mapping.c (pango_glyph_string_x_to_index):
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index 6bdfd7e0..2063d094 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,8 @@
+Tue May 27 12:19:53 2003 Owen Taylor <otaylor@redhat.com>
+
+ * examples/pangoft2topgm.c (main): Add code to check
+ for "./pangorc" so that it works uninstalled.
+
Fri May 2 17:20:23 2003 Owen Taylor <otaylor@redhat.com>
* pango/mapping.c (pango_glyph_string_x_to_index):
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index 6bdfd7e0..2063d094 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,8 @@
+Tue May 27 12:19:53 2003 Owen Taylor <otaylor@redhat.com>
+
+ * examples/pangoft2topgm.c (main): Add code to check
+ for "./pangorc" so that it works uninstalled.
+
Fri May 2 17:20:23 2003 Owen Taylor <otaylor@redhat.com>
* pango/mapping.c (pango_glyph_string_x_to_index):
diff --git a/examples/pangoft2topgm.c b/examples/pangoft2topgm.c
index f00294f6..40d6bd21 100644
--- a/examples/pangoft2topgm.c
+++ b/examples/pangoft2topgm.c
@@ -146,6 +146,9 @@ int main(int argc, char *argv[])
char *prog_name = g_path_get_basename (argv[0]);
g_type_init();
+
+ if (g_file_test ("./pangorc", G_FILE_TEST_EXISTS))
+ putenv ("PANGO_RC_FILE=./pangorc");
/* Parse command line */
argp=1;
diff --git a/examples/renderdemo.c b/examples/renderdemo.c
index f00294f6..40d6bd21 100644
--- a/examples/renderdemo.c
+++ b/examples/renderdemo.c
@@ -146,6 +146,9 @@ int main(int argc, char *argv[])
char *prog_name = g_path_get_basename (argv[0]);
g_type_init();
+
+ if (g_file_test ("./pangorc", G_FILE_TEST_EXISTS))
+ putenv ("PANGO_RC_FILE=./pangorc");
/* Parse command line */
argp=1;