SDL_image: Updated version to 2.5.1 for RC build

From a21dc0ae4e2bec35be108ffd1040969fce5a3ec0 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 25 May 2022 12:11:09 -0700
Subject: [PATCH] Updated version to 2.5.1 for RC build

---
 CMakeLists.txt                            |  2 +-
 Makefile.os2                              |  2 +-
 SDL_image.h                               |  2 +-
 VisualC/Version.rc                        |  8 ++++----
 Xcode/Info-Framework.plist                |  4 ++--
 Xcode/SDL_image.xcodeproj/project.pbxproj |  4 ++--
 configure                                 | 22 +++++++++++-----------
 configure.ac                              |  2 +-
 release_checklist.md                      |  2 ++
 test/Makefile.in                          |  1 -
 version.rc                                |  8 ++++----
 11 files changed, 29 insertions(+), 28 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3d253a50..13af3fbd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
 # See docs/release_checklist.md
 set(MAJOR_VERSION 2)
 set(MINOR_VERSION 5)
-set(MICRO_VERSION 0)
+set(MICRO_VERSION 1)
 set(SDL_REQUIRED_VERSION 2.0.9)
 
 # For historical reasons this is 3.0.0 rather than the expected 1.0.0
diff --git a/Makefile.os2 b/Makefile.os2
index f8461f50..a6fd2214 100644
--- a/Makefile.os2
+++ b/Makefile.os2
@@ -7,7 +7,7 @@
 LIBNAME = SDL2img
 MAJOR_VERSION = 2
 MINOR_VERSION = 5
-MICRO_VERSION = 0
+MICRO_VERSION = 1
 VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION)
 
 TITLENAME = $(LIBNAME) $(VERSION)
diff --git a/SDL_image.h b/SDL_image.h
index d749ab84..921a72e4 100644
--- a/SDL_image.h
+++ b/SDL_image.h
@@ -37,7 +37,7 @@ extern "C" {
 */
 #define SDL_IMAGE_MAJOR_VERSION 2
 #define SDL_IMAGE_MINOR_VERSION 5
-#define SDL_IMAGE_PATCHLEVEL    0
+#define SDL_IMAGE_PATCHLEVEL    1
 
 /* This macro can be used to fill a version structure with the compile-time
  * version of the SDL_image library.
diff --git a/VisualC/Version.rc b/VisualC/Version.rc
index c18a5c0a..98cd4334 100644
--- a/VisualC/Version.rc
+++ b/VisualC/Version.rc
@@ -28,8 +28,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
 //
 
 VS_VERSION_INFO VERSIONINFO
- FILEVERSION 2,5,0,0
- PRODUCTVERSION 2,5,0,0
+ FILEVERSION 2,5,1,0
+ PRODUCTVERSION 2,5,1,0
  FILEFLAGSMASK 0x3fL
 #ifdef _DEBUG
  FILEFLAGS 0x1L
@@ -46,12 +46,12 @@ BEGIN
         BEGIN
             VALUE "CompanyName", "\0"
             VALUE "FileDescription", "SDL_image\0"
-            VALUE "FileVersion", "2, 5, 0, 0\0"
+            VALUE "FileVersion", "2, 5, 1, 0\0"
             VALUE "InternalName", "SDL_image\0"
             VALUE "LegalCopyright", "Copyright  2022 Sam Lantinga\0"
             VALUE "OriginalFilename", "SDL_image.dll\0"
             VALUE "ProductName", "Simple DirectMedia Layer\0"
-            VALUE "ProductVersion", "2, 5, 0, 0\0"
+            VALUE "ProductVersion", "2, 5, 1, 0\0"
         END
     END
     BLOCK "VarFileInfo"
diff --git a/Xcode/Info-Framework.plist b/Xcode/Info-Framework.plist
index e1faacdd..a4b29a6a 100644
--- a/Xcode/Info-Framework.plist
+++ b/Xcode/Info-Framework.plist
@@ -15,8 +15,8 @@
 	<key>CFBundlePackageType</key>
 	<string>FMWK</string>
 	<key>CFBundleShortVersionString</key>
-	<string>2.5.0</string>
+	<string>2.5.1</string>
 	<key>CFBundleVersion</key>
-	<string>2.5.0</string>
+	<string>2.5.1</string>
 </dict>
 </plist>
diff --git a/Xcode/SDL_image.xcodeproj/project.pbxproj b/Xcode/SDL_image.xcodeproj/project.pbxproj
index c739975d..06b9d0a2 100644
--- a/Xcode/SDL_image.xcodeproj/project.pbxproj
+++ b/Xcode/SDL_image.xcodeproj/project.pbxproj
@@ -629,7 +629,7 @@
 				ALLOW_TARGET_PLATFORM_SPECIALIZATION = YES;
 				COPY_PHASE_STRIP = NO;
 				DYLIB_COMPATIBILITY_VERSION = 3.0.0;
-				DYLIB_CURRENT_VERSION = 501.0.0;
+				DYLIB_CURRENT_VERSION = 502.0.0;
 				DYLIB_INSTALL_NAME_BASE = "@rpath";
 				ENABLE_TESTABILITY = YES;
 				FRAMEWORK_SEARCH_PATHS = "\"$(SRCROOT)/$(PLATFORM)\"";
@@ -718,7 +718,7 @@
 				ALLOW_TARGET_PLATFORM_SPECIALIZATION = YES;
 				DEPLOYMENT_POSTPROCESSING = YES;
 				DYLIB_COMPATIBILITY_VERSION = 3.0.0;
-				DYLIB_CURRENT_VERSION = 501.0.0;
+				DYLIB_CURRENT_VERSION = 502.0.0;
 				DYLIB_INSTALL_NAME_BASE = "@rpath";
 				FRAMEWORK_SEARCH_PATHS = "\"$(SRCROOT)/$(PLATFORM)\"";
 				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
diff --git a/configure b/configure
index 314b692d..d4ce48ff 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for SDL2_image 2.5.0.
+# Generated by GNU Autoconf 2.69 for SDL2_image 2.5.1.
 #
 # Report bugs to <https://github.com/libsdl-org/SDL_image/issues>.
 #
@@ -729,8 +729,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='SDL2_image'
 PACKAGE_TARNAME='SDL2_image'
-PACKAGE_VERSION='2.5.0'
-PACKAGE_STRING='SDL2_image 2.5.0'
+PACKAGE_VERSION='2.5.1'
+PACKAGE_STRING='SDL2_image 2.5.1'
 PACKAGE_BUGREPORT='https://github.com/libsdl-org/SDL_image/issues'
 PACKAGE_URL=''
 
@@ -1548,7 +1548,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures SDL2_image 2.5.0 to adapt to many kinds of systems.
+\`configure' configures SDL2_image 2.5.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1618,7 +1618,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of SDL2_image 2.5.0:";;
+     short | recursive ) echo "Configuration of SDL2_image 2.5.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1789,7 +1789,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-SDL2_image configure 2.5.0
+SDL2_image configure 2.5.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2196,7 +2196,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by SDL2_image $as_me 2.5.0, which was
+It was created by SDL2_image $as_me 2.5.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2551,7 +2551,7 @@ MAJOR_VERSION=2
 
 MINOR_VERSION=5
 
-MICRO_VERSION=0
+MICRO_VERSION=1
 
 
 BINARY_AGE=`expr $MINOR_VERSION \* 100 + $MICRO_VERSION`
@@ -11016,7 +11016,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='SDL2_image'
- VERSION='2.5.0'
+ VERSION='2.5.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -15438,7 +15438,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by SDL2_image $as_me 2.5.0, which was
+This file was extended by SDL2_image $as_me 2.5.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -15495,7 +15495,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-SDL2_image config.status 2.5.0
+SDL2_image config.status 2.5.1
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff --git a/configure.ac b/configure.ac
index a4aac04a..f06d7bec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ dnl Set various version strings - taken gratefully from the GTk sources
 # See docs/release_checklist.md
 m4_define([MAJOR_VERSION_MACRO], [2])
 m4_define([MINOR_VERSION_MACRO], [5])
-m4_define([MICRO_VERSION_MACRO], [0])
+m4_define([MICRO_VERSION_MACRO], [1])
 
 AC_INIT([SDL2_image],
         MAJOR_VERSION_MACRO.MINOR_VERSION_MACRO.MICRO_VERSION_MACRO,
diff --git a/release_checklist.md b/release_checklist.md
index 13d91b00..9e63b564 100644
--- a/release_checklist.md
+++ b/release_checklist.md
@@ -18,6 +18,8 @@
         `FILEVERSION`, `PRODUCTVERSION`, `FileVersion`, `ProductVersion`
     * `VisualC/Version.rc`:
         `FILEVERSION`, `PRODUCTVERSION`, `FileVersion`, `ProductVersion`
+    * `Xcode/Info-Framework.plist`:
+        `CFBundleShortVersionString`, `CFBundleVersion`
 
 * Bump ABI version information
 
diff --git a/test/Makefile.in b/test/Makefile.in
index ed0e0257..b199172e 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -537,7 +537,6 @@ pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
 psdir = @psdir@
-runstatedir = @runstatedir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 srcdir = @srcdir@
diff --git a/version.rc b/version.rc
index 237dcd64..1c93f1f0 100644
--- a/version.rc
+++ b/version.rc
@@ -9,8 +9,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
 //
 
 VS_VERSION_INFO VERSIONINFO
- FILEVERSION 2,5,0,0
- PRODUCTVERSION 2,5,0,0
+ FILEVERSION 2,5,1,0
+ PRODUCTVERSION 2,5,1,0
  FILEFLAGSMASK 0x3fL
  FILEFLAGS 0x0L
  FILEOS 0x40004L
@@ -23,12 +23,12 @@ BEGIN
         BEGIN
             VALUE "CompanyName", "\0"
             VALUE "FileDescription", "SDL_image\0"
-            VALUE "FileVersion", "2, 5, 0, 0\0"
+            VALUE "FileVersion", "2, 5, 1, 0\0"
             VALUE "InternalName", "SDL_image\0"
             VALUE "LegalCopyright", "Copyright  2022 Sam Lantinga\0"
             VALUE "OriginalFilename", "SDL_image.dll\0"
             VALUE "ProductName", "Simple DirectMedia Layer\0"
-            VALUE "ProductVersion", "2, 5, 0, 0\0"
+            VALUE "ProductVersion", "2, 5, 1, 0\0"
         END
     END
     BLOCK "VarFileInfo"