Commit 16ef8e0a1269d16e2b8227f4f65f85b676c56ae9
1 parent
33691a7c
Exists in
master
and in
5 other branches
Adding gtkfilechooser schema to runtime package.
Showing
1 changed file
with
25 additions
and
0 deletions
Show diff stats
win/makeruntime.sh.in
@@ -191,6 +191,30 @@ copy_loaders() { | @@ -191,6 +191,30 @@ copy_loaders() { | ||
191 | 191 | ||
192 | } | 192 | } |
193 | 193 | ||
194 | +copy_schemes() { | ||
195 | + | ||
196 | + mkdir -p "${TARGET}/share/glib-2.0/schemas" | ||
197 | + | ||
198 | + cp -rv \ | ||
199 | + "${prefix}/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml" \ | ||
200 | + "${TARGET}/share/glib-2.0/schemas" | ||
201 | + | ||
202 | + if [ "$?" != "0" ]; then | ||
203 | + exit -1 | ||
204 | + fi | ||
205 | + | ||
206 | + cp -rv \ | ||
207 | + "${prefix}/share/glib-2.0/schemas/gschema.dtd" \ | ||
208 | + "${TARGET}/share/glib-2.0/schemas" | ||
209 | + | ||
210 | + if [ "$?" != "0" ]; then | ||
211 | + exit -1 | ||
212 | + fi | ||
213 | + | ||
214 | + | ||
215 | +} | ||
216 | + | ||
217 | + | ||
194 | copy_theme() { | 218 | copy_theme() { |
195 | 219 | ||
196 | mkdir -p "${TARGET}/etc" | 220 | mkdir -p "${TARGET}/etc" |
@@ -233,6 +257,7 @@ copy_theme() { | @@ -233,6 +257,7 @@ copy_theme() { | ||
233 | copy_dll | 257 | copy_dll |
234 | copy_locale | 258 | copy_locale |
235 | copy_loaders | 259 | copy_loaders |
260 | +copy_schemes | ||
236 | copy_theme "Adwaita" | 261 | copy_theme "Adwaita" |
237 | 262 | ||
238 | # Otimiza todos os pngs | 263 | # Otimiza todos os pngs |