Generate Info.plist using CMake and enable it in QtShark.pro. Update the dates.

svn path=/trunk/; revision=47143
This commit is contained in:
Gerald Combs 2013-01-18 01:37:27 +00:00
parent 5efca1b8e1
commit a377c7c38d
3 changed files with 11 additions and 4 deletions

View File

@ -543,6 +543,14 @@ endif()
configure_file(${CMAKE_SOURCE_DIR}/cmakeconfig.h.in ${CMAKE_BINARY_DIR}/config.h)
set( configure_input "Built with ${CMAKE_COMMAND}" )
set( VERSION ${PROJECT_VERSION} )
configure_file(
${CMAKE_SOURCE_DIR}/packaging/macosx/Info.plist.in
${CMAKE_SOURCE_DIR}/packaging/macosx/Info.plist
@ONLY)
include(FeatureSummary)
#SET_FEATURE_INFO(NAME DESCRIPTION [URL [COMMENT] ]
#FEATURE_SUMMARY(WHAT ALL) Requires removal of our local copy of FeatureSummary

View File

@ -9,7 +9,7 @@
<key>CFBundleExecutable</key>
<string>Wireshark</string>
<key>CFBundleGetInfoString</key>
<string>@VERSION@, Copyright 1998-2012 Wireshark Development Team</string>
<string>@VERSION@, Copyright 1998-2013 Wireshark Development Team</string>
<key>CFBundleIconFile</key>
<string>Wireshark.icns</string>
<key>CFBundleIdentifier</key>
@ -62,7 +62,7 @@
<key>CFBundleVersion</key>
<string>@VERSION@</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright 1998-2012 Wireshark Developers, GNU General Public License.</string>
<string>Copyright 1998-2013 Wireshark Developers, GNU General Public License.</string>
<key>LSMinimumSystemVersion</key>
<string>10.3</string>
</dict>

View File

@ -32,8 +32,7 @@ QT += core gui
TARGET = qtshark
TEMPLATE = app
# XXX - Need to autogenerate Info.plist from Info.plist.in
# QMAKE_INFO_PLIST = ../../packaging/macosx/Info.plist
QMAKE_INFO_PLIST = ../../packaging/macosx/Info.plist
xxx {
message( )