diff options
author | Jonathan Bauer | 2017-11-13 18:15:59 +0100 |
---|---|---|
committer | Jonathan Bauer | 2017-11-13 18:15:59 +0100 |
commit | 9144f32520201477acf4ee90c1b2f80ca27d54bd (patch) | |
tree | f668919ecbf376e72eabecc9c1d59bf55b867482 /core/modules/openbox/module.build | |
parent | [lightdm-greeter-bwlp] Fix path of messages file (diff) | |
download | mltk-9144f32520201477acf4ee90c1b2f80ca27d54bd.tar.gz mltk-9144f32520201477acf4ee90c1b2f80ca27d54bd.tar.xz mltk-9144f32520201477acf4ee90c1b2f80ca27d54bd.zip |
[openbox] only warn on missing pango-querymodules
this tool didn't produce any meaningful list of pango modules on
even the old ubuntu 14.04.3 anyway and apparently died altogether
in version 1.37 released in 2014...
See: https://ftp.gnome.org/pub/gnome/sources/pango/1.37/pango-1.37.0.changes
Commit: fa6dfc688c293fa02c36ee89ac5611fd5e0131a5
Diffstat (limited to 'core/modules/openbox/module.build')
-rw-r--r-- | core/modules/openbox/module.build | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/modules/openbox/module.build b/core/modules/openbox/module.build index a02ddc8b..98ff9520 100644 --- a/core/modules/openbox/module.build +++ b/core/modules/openbox/module.build @@ -16,7 +16,6 @@ build() { } post_copy() { - [ ! -d "$TARGET_BUILD_DIR/etc/pango" ] && mkdir -p "$TARGET_BUILD_DIR/etc/pango" # little Workaround, as under e.g. 64bit Suse the binary is called # pango-querymodules-64, not pango-querymodules. @@ -30,8 +29,12 @@ post_copy() { if [[ "$ERR" -eq 0 ]]; then PANGO_QUERYMODULES_ARCH=pango-querymodules-64 else - perror "Could not find either pango-querymodules or pango-querymodules-64!" + pwarning "Could not find either pango-querymodules or pango-querymodules-64!" + pwarning "Newer pango versions (1.37) deprecated this tool. Most likely all is fine." + return 0 fi fi + + [ ! -d "$TARGET_BUILD_DIR/etc/pango" ] && mkdir -p "$TARGET_BUILD_DIR/etc/pango" $PANGO_QUERYMODULES_ARCH > "$TARGET_BUILD_DIR/etc/pango/pango.modules" } |