• Stephan Bergmann's avatar
    tdf#122244 Put InfoPlist.strings files at correct places on macOS · 7a08bfea
    Stephan Bergmann yazdı
    Don't know how this got broken, presumably somewhere along the line from
    01344a8c "convert sysui to gbuild and add to
    tail_build" through 4430ace3 "tdf#90753:
    AutoInstall more packages" to the current state, where a spurious bin directory
    containing InfoPlist_*.zip files containing (empty) InfoPlist.strings files is
    placed in instdir/ and in the root window of .dmg files.
    
    As discussed in the <https://developer.apple.com/library/archive/documentation/
    General/Reference/InfoPlistKeyReference/Articles/
    AboutInformationPropertyListFiles.html> "Localizing Property List Values"
    section, those InfoPlist.strings files shall apparently be placed into the
    Contents/Resources/*.lproj/ directories.  (And the zip wrappers were presumably
    needed in the past to transport their payload to the proper places in the
    installation set, and are now obsolete.)
    
    The list of Apple language IDs for the *.lproj directories was already
    duplicated in Makefile.in (test-install target) and
    solenv/bin/modules/installer/simplepackage.pm (sub create_package).  Ultimately
    those lists should all be consolidated.  Also, mapping from our language IDs
    (see solenv/inc/langlist.mk) to the Apple *.lproj ones needs some fixing (e.g.,
    from zh-CN to zh_CN), and it is not clear to me why the old code explicilty
    added en-US to the gb_WITH_LANG list of languages for which to generate
    InfoPlist_*.zip and InfoPlist.strings files (when that would presumably be the
    non-localized strings stored in Info.plist itself).  But as mentiond, those
    InfoPlist.strings files are all empty anyway (which may be due to another bug?),
    so it shouldn't matter much---at least for now---what
    Contents/Resources/*.lproj/InfoPlist.strings files exactly are present in an
    installation set.
    
    Change-Id: Iaadce2375ed319928891bace44f9866622ec3084
    Reviewed-on: https://gerrit.libreoffice.org/71277
    Tested-by: Jenkins
    Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
    7a08bfea
Adı
Son kayıt (commit)
Son güncelleme
..
desktop Loading commit data...
CustomTarget_deb.mk Loading commit data...
CustomTarget_infoplist.mk Loading commit data...
CustomTarget_rpm.mk Loading commit data...
CustomTarget_share.mk Loading commit data...
CustomTarget_solaris.mk Loading commit data...
Makefile Loading commit data...
Module_sysui.mk Loading commit data...
Package_infoplist.mk Loading commit data...
Package_osxicons.mk Loading commit data...
Package_share.mk Loading commit data...
README Loading commit data...
productlist.mk Loading commit data...