Commit 833e0f8c4d67ad974516a40d6a6bdf7b60d04413

Authored by perry.werneck@gmail.com
1 parent cbc69e8d

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 101  
102 102 mkdir -p $TARGET_PATH/share/glib-2.0/schemas
103 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 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 114 cp $GTK_PREFIX/share/glib-2.0/schemas/gschemas.compiled $TARGET_PATH/share/glib-2.0/schemas/gschemas.compiled
109 115 if [ "$?" != 0 ]; then
110   - echo "Can´t copy gshemars.compiled"
  116 + echo "Can´t copy gshemas.compiled"
111 117 exit -1
112 118 fi
113 119  
... ...