build/windows: Do not bundle unneeded share/metainfo on Windows

Seems it was used at runtime in the past but that is
not the case anymore. Indeed, it started to be bundled in
af79bbe028 due to an
error: before the Windows bundling unification the
crossbuilds "script" on .yml bundled all the 'share' dir.
This commit is contained in:
Bruno Lopes 2025-06-12 16:59:58 -03:00
parent c2b9c21b5b
commit 472123181d
No known key found for this signature in database
2 changed files with 2 additions and 4 deletions

View file

@ -306,8 +306,6 @@ done
bund_usr "$GIMP_PREFIX" "etc/gimp"
## Other features and plug-ins
### Needed for welcome page
bund_usr "$GIMP_PREFIX" "share/metainfo/*.xml"
### mypaint brushes
bund_usr "$UNIX_PREFIX" "share/mypaint-data/1.0"
### Needed for 'th' word breaking in Text tool etc
@ -362,6 +360,8 @@ conf_app PYTHONDONTWRITEBYTECODE "1" --no-expand
#bund_usr "$UNIX_PREFIX" "share/lua/5.1"
#conf_app LUA_PATH "\${APPDIR}/usr/share/lua/5.1/?.lua;\${APPDIR}/usr/share/lua/5.1/lgi/?.lua;\${APPDIR}/usr/share/lua/5.1/lgi/override/?.lua" --no-expand
## Used by AppImage "centers" etc
bund_usr "$GIMP_PREFIX" "share/metainfo/*.xml"
## Other binaries and deps (bundle them and do fine-tuning with bundling tool)
bund_usr "$GIMP_PREFIX" 'bin/gimp*'
bund_usr "$GIMP_PREFIX" "bin/gegl"

View file

@ -127,8 +127,6 @@ for lang in lang_array:
bundle(MSYSTEM_PREFIX, f"share/locale/{lang}/LC_MESSAGES/gtk*.mo")
# For language list in text tool options
bundle(MSYSTEM_PREFIX, f"share/locale/{lang}/LC_MESSAGES/iso_639_3.mo")
### Needed for welcome page
bundle(GIMP_PREFIX, "share/metainfo/org.gimp*.xml")
### mypaint brushes
bundle(MSYSTEM_PREFIX, "share/mypaint-data")
### Needed for full CJK and Cyrillic support in file-pdf