Use /home for the datadir instead of /opt/home
authorPatrick McCarty <patrick.mccarty@linux.intel.com>
Wed, 12 Sep 2012 20:06:54 +0000 (13:06 -0700)
committerPatrick McCarty <patrick.mccarty@linux.intel.com>
Wed, 12 Sep 2012 21:42:07 +0000 (14:42 -0700)
SCIM pulls user home directories from /etc/passwd (through
scim_get_home_dir() and the like), which lists /home/app for the app
user.  This directory is also used to construct the user data directory
paths.

Make sure the data dir path for user app is consistent by replacing the
/opt/home/app datadir path with /home/app.

Change-Id: I8ba4984ecc62d7948c7b2ac8111549d4d00447d7

ism/src/isf_query_utility.h
packaging/isf.changes [new file with mode: 0644]

index ecd64dc..66e38e0 100644 (file)
@@ -32,7 +32,7 @@ using namespace scim;
 // Declaration of macro.
 /////////////////////////////////////////////////////////////////////////////
 #define MAXLINE                         4096
-#define USER_ENGINE_LIST_PATH           "/opt/home/app/.scim"
+#define USER_ENGINE_LIST_PATH           "/home/app/.scim"
 
 #ifndef SCIM_SYSCONFDIR
   #define SCIM_SYSCONFDIR               "/usr/etc"
diff --git a/packaging/isf.changes b/packaging/isf.changes
new file mode 100644 (file)
index 0000000..12fea9f
--- /dev/null
@@ -0,0 +1,3 @@
+* Wed Sep 12 2012 Patrick McCarty <patrick.mccarty@linux.intel.com> b965032
+- Use /home for the datadir instead of /opt/home
+