Remove apparently unused Info.plist in docview sample

Only Info.plist.in is used by configure and it doesn't hardcode the
version, so there is no need to update it there.
This commit is contained in:
Vadim Zeitlin 2021-08-15 15:39:52 +02:00
parent fc3eedd2c3
commit bb767e0ebc
4 changed files with 1 additions and 93 deletions

View File

@ -25,7 +25,6 @@ Here is the list of files that need to be updated:
docs/doxygen/mainpages/manual.h (just date) [NOT UPDATED AUTOMATICALLY]
include/wx/version.h
include/wx/osx/config_xcode.h
samples/docview/Info.plist
samples/minimal/Info_cocoa.plist
Do not forget to rebake everything after updating version.bkl!

View File

@ -52,10 +52,6 @@ run_sed include/wx/osx/config_xcode.h \
run_sed samples/minimal/Info_cocoa.plist \
"/<string>/s/$ver_for_sed/$ver_string_new/"
run_sed samples/docview/Info.plist \
"/versionon/s/$ver_for_sed/$ver_string_new/" \
"/<string>/s/$ver_for_sed/$ver_string_new/"
run_sed build/msw/wx_setup.props \
"/<wxVersionString>/s/\($ver_major$ver_minor\)$ver_release/\1$ver_release_new/"

View File

@ -27,6 +27,6 @@ run_sed src/msw/version.rc "s/1993-$old_year/1993-$new_year/"
run_sed src/common/utilscmn.cpp "s/1995-$old_year/1995-$new_year/"
# And Mac files are much newer than that.
for f in samples/docview/Info.plist samples/minimal/Info_cocoa.plist; do
for f in samples/minimal/Info_cocoa.plist; do
run_sed $f "s/2005-$old_year/2005-$new_year/"
done

View File

@ -1,87 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>drw</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>chart.icns</string>
<key>CFBundleTypeName</key>
<string>DocView Drawing</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>WXMB</string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<false/>
<key>NSPersistentStoreTypeKey</key>
<string>Binary</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>txt</string>
<string>text</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>notepad.icns</string>
<key>CFBundleTypeName</key>
<string>DocView Text</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>TEXT</string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<false/>
<key>NSPersistentStoreTypeKey</key>
<string>Binary</string>
</dict>
</array>
<key>CFBundleExecutable</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundleGetInfoString</key>
<string>$(PRODUCT_NAME) version 3.1.6, (c) 2005-2021 wxWidgets</string>
<key>CFBundleIconFile</key>
<string>doc</string>
<key>CFBundleIdentifier</key>
<string>org.wxwidgets.samples.$(PRODUCT_NAME)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLocalizations</key>
<array>
<string>de</string>
<string>en</string>
<string>fr</string>
<string>it</string>
</array>
<key>CFBundleLongVersionString</key>
<string>3.1.6, (c) 2005-2021 wxWidgets</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.1.6</string>
<key>CFBundleSignature</key>
<string>WXMA</string>
<key>CFBundleVersion</key>
<string>3.1.6</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>Copyright 2005-2021 wxWidgets</string>
</dict>
</plist>