[MacPorts] #45107: upgrade Digikam to 4.3.0 (needs work)
MacPorts
noreply at macports.org
Mon Oct 13 15:02:30 PDT 2014
#45107: upgrade Digikam to 4.3.0 (needs work)
--------------------------+----------------------
Reporter: rjvbertin@… | Owner: jan@…
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: haspatch
Port: digikam |
--------------------------+----------------------
Comment (by rjvbertin@…):
Sorry, but no.
From core/showfoto/CMakelists.txt:
{{{
KDE4_ADD_EXECUTABLE(showfoto ${showfoto_SRCS})
# To fill plist XML file for OSX
#####################################################
SET(MACOSX_BUNDLE_LONG_VERSION_STRING ${DIGIKAM_VERSION_STRING})
SET(MACOSX_BUNDLE_SHORT_VERSION_STRING ${DIGIKAM_VERSION_SHORT})
SET(MACOSX_BUNDLE_BUNDLE_VERSION ${DIGIKAM_VERSION_STRING})
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/../cmake/templates/Info.plist.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/Info.plist)
SET_TARGET_PROPERTIES(showfoto PROPERTIES MACOSX_BUNDLE_INFO_PLIST
${CMAKE_CURRENT_BINARY_DIR}/Info.plist)
}}}
and from that
`${CMAKE_CURRENT_SOURCE_DIR}/../cmake/templates/Info.plist.cmake.in` :
{{{
<key>CFBundleExecutable</key>
<string>digiKam</string>
<key>CFBundleGetInfoString</key>
<string>digiKam is an advanced digital photo management application
for Linux, Windows, and Mac-OSX</string>
}}}
I've had to launch a full rebuild of the port, so cannot yet affirm or
infirm, but it would seem that the digikam 4.4.0 build system generates a
showfoto appbundle with an Info.plist that sets the bundle executable to
digiKam instead of to showfoto.
NB: I'm not sure if OS X uses a case-sensitive algorithm to match the
bundle executable string from the InfoDictionary to the file(s) it finds
in Contents/MacOS, but it's not unlikely that using camelCase in the
CFBundleExecutable and lowercase in the actual binary filename will lead
to launch issues on a case-sensitive filesystem.
--
Ticket URL: <https://trac.macports.org/ticket/45107#comment:7>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list