Bug 141878

Summary: Missing/inaccurate version information in macOS language packs
Product: LibreOffice Reporter: Mike <vt3cdliocq>
Component: InstallationAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: lo
Priority: medium    
Version: 7.1.2.2 release   
Hardware: x86-64 (AMD64)   
OS: macOS (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 42082    

Description Mike 2021-04-24 17:51:04 UTC
Description:
Deploying and updating the macOS versions of language packs in a managed environment is a pain in the butt, mostly because the installed packages do not contain useful version information and they do not leave behind a proper pkg receipt. Therefor there is no easy way to check which version might already be installed and whether an update is required.

While also distributing LibreOffice as a macOS installer pkg would be ideal, proper version information in the Info.plist that could be queried by a script should work well enough.

Right now the Info.plist of "LibreOffice Language Pack.app" contains a CFBundleShortVersionString = 9 instead of 7.1.2.2 (as the LibreOffice.app does) regardless of the actual version.

This could be easily fixed, please do so and thank you.

Actual Results:
empty

Expected Results:
empty


Reproducible: Always


User Profile Reset: No



Additional Info:
empty
Comment 1 steve 2021-08-13 10:56:28 UTC
Sounds like a valid enhancement request -> new

Current plist info:

<plist version="1.0">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>English</string>
	<!-- UTI declarations for macOS >= 10.4	-->
	<key>UTExportedTypeDeclarations</key>

	<key>UTImportedTypeDeclarations</key>

	<key>CFBundleExecutable</key>
	<string>LibreOffice Language Pack</string>
	<key>CFBundleGetInfoString</key>
	<string>LibreOffice Language Pack</string>
	<key>CFBundleIconFile</key>
	<string>ooo3_installer.icns</string>
	<key>CFBundleShortVersionString</key>
	<string>9</string>
	<key>CFBundleIdentifier</key>
	<string>org.libreoffice.script.langpack</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>LibreOffice Language Pack</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleSignature</key>
	<string>OOo3</string>
	<key>LSRequiresCarbon</key>
	<string>1</string>
	<key>NSPrincipalClass</key>
	<string>VCL_NSApplication</string>
</dict>
</plist>