[Libreoffice-bugs] [Bug 120153] {macOS} Finder shows incorrect version number in column view

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Sep 29 04:29:37 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=120153

--- Comment #7 from Jan-Marek Glogowski <glogow at fbihome.de> ---
>From "Technical Note TN2420: Version Numbers and Build Numbers"
https://developer.apple.com/library/archive/technotes/tn2420/_index.html

"The value for a version number or build number must consist only of '.'s and
numbers and must begin and end with a number. Each integer value separated by a
period is a component of the version. Version numbers and build numbers may
have up to three components separated by periods. The total number of
characters in your version number or in your build number cannot exceed
eighteen characters."

The internet doesn't agree with this document for the CFBundleVersion, but it
does for CFBundleShortVersionString, which is displayed everywhere, I guess.

Now quoting the configure.ac build configuration script from the source:

# The CFBundleShortVersionString in Info.plist consists of three integers, so
encode the third
# as the micro version times 1000 plus the patch number. Unfortunately the
LIBO_VERSION_SUFFIX can be anything so
# no way to encode that into an integer in general.
MACOSX_BUNDLE_SHORTVERSION=$LIBO_VERSION_MAJOR.$LIBO_VERSION_MINOR.`expr
$LIBO_VERSION_MICRO '*' 1000 + $LIBO_VERSION_PATCH`

So '6.1.2.1' becomes '6.1.2001' for Apple.

This is a limit on Apples side, so IMHO NOTOURBUG.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180929/aeb82e3d/attachment.html>


More information about the Libreoffice-bugs mailing list