From 833e0f8c4d67ad974516a40d6a6bdf7b60d04413 Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Thu, 13 Dec 2012 14:30:36 +0000 Subject: [PATCH] Incluindo reconstrucao automatica do arquivo gschemas.compiled --- makegtkruntime.sh.in | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/makegtkruntime.sh.in b/makegtkruntime.sh.in index 39f27c4..b525cf0 100644 --- a/makegtkruntime.sh.in +++ b/makegtkruntime.sh.in @@ -101,13 +101,19 @@ copy_locale $TEMPFILE mkdir -p $TARGET_PATH/share/glib-2.0/schemas if [ "$?" != 0 ]; then - echo "Can´t create schemas folder" - exit -1 + echo "Can´t create schemas folder" + exit -1 fi + +if [ ! -e $GTK_PREFIX/share/glib-2.0/schemas/gschemas.compiled ]; then + pushd $GTK_PREFIX/share/glib-2.0/schemas + glib-compile-schemas . + popd +fi cp $GTK_PREFIX/share/glib-2.0/schemas/gschemas.compiled $TARGET_PATH/share/glib-2.0/schemas/gschemas.compiled if [ "$?" != 0 ]; then - echo "Can´t copy gshemars.compiled" + echo "Can´t copy gshemas.compiled" exit -1 fi -- libgit2 0.21.2