Commit 833e0f8c4d67ad974516a40d6a6bdf7b60d04413
1 parent
cbc69e8d
Exists in
master
and in
5 other branches
Incluindo reconstrucao automatica do arquivo gschemas.compiled
Showing
1 changed file
with
9 additions
and
3 deletions
Show diff stats
makegtkruntime.sh.in
@@ -101,13 +101,19 @@ copy_locale $TEMPFILE | @@ -101,13 +101,19 @@ copy_locale $TEMPFILE | ||
101 | 101 | ||
102 | mkdir -p $TARGET_PATH/share/glib-2.0/schemas | 102 | mkdir -p $TARGET_PATH/share/glib-2.0/schemas |
103 | if [ "$?" != 0 ]; then | 103 | if [ "$?" != 0 ]; then |
104 | - echo "Can´t create schemas folder" | ||
105 | - exit -1 | 104 | + echo "Can´t create schemas folder" |
105 | + exit -1 | ||
106 | fi | 106 | fi |
107 | + | ||
108 | +if [ ! -e $GTK_PREFIX/share/glib-2.0/schemas/gschemas.compiled ]; then | ||
109 | + pushd $GTK_PREFIX/share/glib-2.0/schemas | ||
110 | + glib-compile-schemas . | ||
111 | + popd | ||
112 | +fi | ||
107 | 113 | ||
108 | cp $GTK_PREFIX/share/glib-2.0/schemas/gschemas.compiled $TARGET_PATH/share/glib-2.0/schemas/gschemas.compiled | 114 | cp $GTK_PREFIX/share/glib-2.0/schemas/gschemas.compiled $TARGET_PATH/share/glib-2.0/schemas/gschemas.compiled |
109 | if [ "$?" != 0 ]; then | 115 | if [ "$?" != 0 ]; then |
110 | - echo "Can´t copy gshemars.compiled" | 116 | + echo "Can´t copy gshemas.compiled" |
111 | exit -1 | 117 | exit -1 |
112 | fi | 118 | fi |
113 | 119 |