summaryrefslogtreecommitdiff
path: root/lua_scripts/pathmaps
diff options
context:
space:
mode:
authorLauri Aarnio <Lauri.Aarnio@iki.fi>2008-06-09 09:47:14 +0300
committerLauri Leukkunen <lle@rahina.org>2008-06-17 10:08:40 +0300
commit312541a4e77f89def79c211d92010e533f3f5d30 (patch)
tree99caab52e9761c9ee5afef4566bdf3497ebabf7a /lua_scripts/pathmaps
parent721edba07eb91586006535d8c92f1ae32a7de26d (diff)
Small modification to Maemo mode mapping rules
- adjusted rules for mapping files from the "gnome-common" package
Diffstat (limited to 'lua_scripts/pathmaps')
-rw-r--r--lua_scripts/pathmaps/maemo/00_default.lua17
1 files changed, 16 insertions, 1 deletions
diff --git a/lua_scripts/pathmaps/maemo/00_default.lua b/lua_scripts/pathmaps/maemo/00_default.lua
index befa41b..023333d 100644
--- a/lua_scripts/pathmaps/maemo/00_default.lua
+++ b/lua_scripts/pathmaps/maemo/00_default.lua
@@ -82,7 +82,8 @@ simple_chain = {
-- -----------------------------------------------
-- 45. /usr/share/aclocal*
- -- This is a bit complex, we must mix files from both places:
+ -- This is more than a bit complex, we must mix files from
+ -- both places:
-- Prefer files in tools_root, but if not there, try
-- to get it from target_root. New files will be created
-- to target_root.
@@ -104,6 +105,16 @@ simple_chain = {
actions = test_first_target_then_tools_default_is_target},
{path = "/usr/share/aclocal-1.10",
actions = test_first_target_then_tools_default_is_target},
+
+ -- Next, exceptions to these rules:
+ -- 1) gnome-common presents policy problems, typically we
+ -- have it in both places but want to take it from the
+ -- rootstrap:
+ {prefix = "/usr/share/aclocal/gnome-common",
+ actions = test_first_target_then_tools_default_is_target},
+ {prefix = "/usr/share/aclocal/gnome-compiler",
+ actions = test_first_target_then_tools_default_is_target},
+
-- Next, use /usr/share/aclocal* from tools_root if target
-- exists, but default is target_root
{prefix = "/usr/share/aclocal",
@@ -116,6 +127,10 @@ simple_chain = {
-- but there are lots of exceptions. That directory
-- is used for so many purposes nowadays..
+ -- (see the comment about gnome-common files in .../aclocal):
+ {prefix = "/usr/share/gnome-common",
+ actions = test_first_target_then_tools_default_is_target},
+
{prefix = "/usr/share/glib-2.0", map_to = target_root},
{prefix = "/usr/share/dbus-1", map_to = target_root},