Update copyright years in Info.plist files used by configure

Also update inc_year script to update them automatically the next time,
to prevent them from becoming 3 (for one, or 13 for the other one) years
out of date again.
This commit is contained in:
Vadim Zeitlin
2021-08-15 16:00:41 +02:00
parent bb767e0ebc
commit 1ca29b6721
3 changed files with 11 additions and 8 deletions

View File

@@ -27,6 +27,9 @@ 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/minimal/Info_cocoa.plist; do
run_sed $f "s/2005-$old_year/2005-$new_year/"
for f in samples/docview/Info.plist.in \
samples/minimal/Info_cocoa.plist \
src/osx/carbon/Info.plist.in \
; do
run_sed $f "s/200[25]-$old_year/200[25]-$new_year/"
done

View File

@@ -51,7 +51,7 @@
<key>CFBundleExecutable</key>
<string>EXECUTABLE</string>
<key>CFBundleGetInfoString</key>
<string>EXECUTABLE version VERSION, (c) 2002-2008 wxWidgets</string>
<string>EXECUTABLE version VERSION, (c) 2002-2021 wxWidgets</string>
<key>CFBundleIconFile</key>
<string>wxmac.icns</string>
<key>CFBundleIdentifier</key>
@@ -66,7 +66,7 @@
<string>it</string>
</array>
<key>CFBundleLongVersionString</key>
<string>VERSION, (c) 2002-2008 wxWidgets</string>
<string>VERSION, (c) 2002-2021 wxWidgets</string>
<key>CFBundleName</key>
<string>EXECUTABLE</string>
<key>CFBundlePackageType</key>
@@ -76,6 +76,6 @@
<key>CFBundleVersion</key>
<string>VERSION</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright 2002-2008 wxWidgets</string>
<string>Copyright 2002-2021 wxWidgets</string>
</dict>
</plist>

View File

@@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>EXECUTABLE</string>
<key>CFBundleGetInfoString</key>
<string>EXECUTABLE version VERSION, (c) 2002-2018 wxWidgets</string>
<string>EXECUTABLE version VERSION, (c) 2002-2021 wxWidgets</string>
<key>CFBundleIconFile</key>
<string>wxmac.icns</string>
<key>CFBundleIdentifier</key>
@@ -22,7 +22,7 @@
<string>it</string>
</array>
<key>CFBundleLongVersionString</key>
<string>VERSION, (c) 2002-2018 wxWidgets</string>
<string>VERSION, (c) 2002-2021 wxWidgets</string>
<key>CFBundleName</key>
<string>EXECUTABLE</string>
<key>CFBundlePackageType</key>
@@ -32,7 +32,7 @@
<key>CFBundleVersion</key>
<string>VERSION</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright 2002-2018 wxWidgets</string>
<string>Copyright 2002-2021 wxWidgets</string>
<key>ATSApplicationFontsPath</key>
<string>Fonts</string>
<key>NSPrincipalClass</key>