Skip to content

Commit

Permalink
Prepare release 1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Isarhamster committed Sep 4, 2024
1 parent 66665a8 commit ac7ea64
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 24 deletions.
2 changes: 1 addition & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## June 2024: Version 1.6.0
## July 2024: Version 1.6.2

- Bugfix:#333 Accented letters in annotations in UTF8
- Bugfix: #349 Incorrect Pinned Move in Analysis Window
Expand Down
38 changes: 19 additions & 19 deletions mac_osx/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,41 @@
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeIconFile</key>
<string>chessx.icns</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>pgn</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>chessx.icns</string>
<key>CFBundleTypeName</key>
<string>PGN Files</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Default</string>
</dict>
</array>
<key>CFBundleExecutable</key>
<string>chessx</string>
<key>CFBundleGetInfoString</key>
<string>ChessX for Mac OS 10.14</string>
<key>CFBundleIconFile</key>
<string>chessx.icns</string>
<key>CFBundleIdentifier</key>
<string>net.sourceforge.chessx</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleGetInfoString</key>
<string>ChessX for Mac OS 10.14</string>
<key>CFBundleShortVersionString</key>
<string>1.6.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleExecutable</key>
<string>chessx</string>
<key>CFBundleIdentifier</key>
<string>net.sourceforge.chessx</string>
<string></string>
<key>CFBundleVersion</key>
<string>1.6.0</string>
<key>CFBundleShortVersionString</key>
<string>1.6.0</string>
<string>1.6.2</string>
<key>NSHighResolutionCapable</key>
<string>True</string>
<key>NSHumanReadableCopyright</key>
<string>(C) 2005-2023 ChessX developers</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<string>True</string>
<string>(C) 2005-2024 ChessX developers</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
16 changes: 15 additions & 1 deletion mac_osx/mac_deploy_dyn
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,21 @@
DIR=${0%/*}
RELEASEDIR=`pwd`
BUILDDIR=$RELEASEDIR/..
VERSION=`/usr/libexec/PlistBuddy -c "print CFBundleVersion" ${DIR}/info.plist`
DIR="/Users/jens/Documents/Programmieren/Projects/chessx-git/mac_osx"
VERSION=$(awk '
BEGIN { major="0"; minor="0"; patch="0" }
/#define VERSION_MAJOR/ {gsub(/[^0-9]/, "", $3); major=$3; print "Major found: " major > "/dev/stderr"}
/#define VERSION_MINOR/ {gsub(/[^0-9]/, "", $3); minor=$3; print "Minor found: " minor > "/dev/stderr"}
/#define REVISION/ {gsub(/[^0-9]/, "", $3); patch=$3; print "Patch found: " patch > "/dev/stderr"}
END {
print major "." minor "." patch
}' ${DIR}/../src/database/version.h)
echo "Updating ${DIR}/info.plist to version ${VERSION}"

/usr/libexec/PlistBuddy -c "delete :CFBundleVersion" ${DIR}/info.plist
/usr/libexec/PlistBuddy -c "delete :CFBundleShortVersionString" ${DIR}/info.plist
/usr/libexec/PlistBuddy -c "add :CFBundleVersion string ${VERSION}" ${DIR}/info.plist
/usr/libexec/PlistBuddy -c "add :CFBundleShortVersionString string ${VERSION}" ${DIR}/info.plist
echo "Build image for chessx-${VERSION} in ${RELEASEDIR}"
QTBASE=$1
QTBIN=$1/bin
Expand Down
6 changes: 3 additions & 3 deletions src/database/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
* (at your option) any later version. *
***************************************************************************/

#define VERSION_MAJOR 1
#define VERSION_MINOR 6
#define REVISION 1
#define VERSION_MAJOR 1
#define VERSION_MINOR 6
#define REVISION 2

#define XGLUE2(a,b) #a "," #b
#define GLUE2(a,b) XGLUE2(a,b)
Expand Down

0 comments on commit ac7ea64

Please sign in to comment.