[packages/mysql-workbench] - up to 8.0.42

baggins baggins at pld-linux.org
Sun Apr 27 14:32:19 CEST 2025


commit 16b13acba5ad544f7e05ee6772c9364328dd473b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Apr 27 15:46:20 2025 +0200

    - up to 8.0.42

 mysql-workbench.spec | 10 +++---
 python-3.13.patch    | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 105 insertions(+), 4 deletions(-)
---
diff --git a/mysql-workbench.spec b/mysql-workbench.spec
index 2ff1e45..3ce48e8 100644
--- a/mysql-workbench.spec
+++ b/mysql-workbench.spec
@@ -15,13 +15,13 @@
 Summary:	Extensible modeling tool for MySQL
 Summary(pl.UTF-8):	Narzędzie do modelowania baz danych dla MySQL-a
 Name:		mysql-workbench
-Version:	8.0.40
-Release:	3
+Version:	8.0.42
+Release:	1
 License:	GPL v2
 Group:		Applications/Databases
 # Source0Download: http://dev.mysql.com/downloads/workbench/
-Source0:	https://dev.mysql.com/get/Downloads/MySQLGUITools/%{name}-community-%{version}-src.tar.gz
-# Source0-md5:	9f93e8c7d37d073c48bbbf6f8d0e52f9
+Source0:	https://cdn.mysql.com/Downloads/MySQLGUITools/%{name}-community-%{version}-src.tar.gz
+# Source0-md5:	f8b148203ee458b5135432790a66e6e5
 Source1:	http://www.antlr.org/download/antlr-4.13.2-complete.jar
 # Source1-md5:	3c8bf23796901bbadaccf6e4c1f923e7
 Source2:	PLD_Linux_(MySQL_Package).xml
@@ -34,6 +34,7 @@ Patch5:		ldconfig.patch
 Patch6:		types.patch
 Patch7:		std-distance-is-signed.patch
 Patch8:		format-string.patch
+Patch9:		python-3.13.patch
 URL:		http://wb.mysql.com/
 BuildRequires:	OpenGL-devel
 BuildRequires:	antlr4-cpp-runtime-devel
@@ -117,6 +118,7 @@ skomplikowanych migracji do MySQL-a.
 %patch -P 6 -p1
 %patch -P 7 -p1
 %patch -P 8 -p1
+%patch -P 9 -p1
 cp -p '%{SOURCE2}' res/mysql.profiles
 
 install -d linux-res/bin
diff --git a/python-3.13.patch b/python-3.13.patch
new file mode 100644
index 0000000..d1425a9
--- /dev/null
+++ b/python-3.13.patch
@@ -0,0 +1,99 @@
+--- mysql-workbench-community-8.0.42-src/library/grt/src/python_grtdict.cpp~	2025-04-14 17:21:34.000000000 +0200
++++ mysql-workbench-community-8.0.42-src/library/grt/src/python_grtdict.cpp	2025-04-27 15:32:53.393332804 +0200
+@@ -479,7 +479,11 @@
+   0,  //  tp_version_tag
+ 
+   0, //  tp_finalize
+-#if PY_VERSION_HEX >= 0x030c0000
++#if PY_VERSION_HEX >= 0x030d0000
++  nullptr, // tp_vectorcall
++  0,       // tp_watched
++  0        // tp_versions_used
++#elif PY_VERSION_HEX >= 0x030c0000
+   nullptr, // tp_vectorcall
+   0        // tp_watched
+ #elif PY_VERSION_HEX >= 0x03090000
+@@ -583,7 +587,11 @@
+   0,  //  tp_version_tag
+ 
+   0, //  tp_finalize
+-#if PY_VERSION_HEX >= 0x030c0000
++#if PY_VERSION_HEX >= 0x030d0000
++  nullptr, // tp_vectorcall
++  0,       // tp_watched
++  0        // tp_versions_used
++#elif PY_VERSION_HEX >= 0x030c0000
+   nullptr, // tp_vectorcall
+   0        // tp_watched
+ #elif PY_VERSION_HEX >= 0x03090000
+--- mysql-workbench-community-8.0.42-src/library/grt/src/python_grtlist.cpp~	2025-04-14 17:21:34.000000000 +0200
++++ mysql-workbench-community-8.0.42-src/library/grt/src/python_grtlist.cpp	2025-04-27 15:34:12.699999453 +0200
+@@ -426,7 +426,11 @@
+   /* Type attribute cache version tag. Added in version 2.6 */
+   0,  //  tp_version_tag
+   0, //  tp_finalize
+-#if PY_VERSION_HEX >= 0x030c0000
++#if PY_VERSION_HEX >= 0x030d0000
++  nullptr, // tp_vectorcall
++  0,       // tp_watched
++  0        // tp_versions_used
++#elif PY_VERSION_HEX >= 0x030c0000
+   nullptr, // tp_vectorcall
+   0        // tp_watched
+ #elif PY_VERSION_HEX >= 0x03090000
+--- mysql-workbench-community-8.0.42-src/library/grt/src/python_grtobject.cpp~	2025-04-14 17:21:34.000000000 +0200
++++ mysql-workbench-community-8.0.42-src/library/grt/src/python_grtobject.cpp	2025-04-27 15:35:49.823332753 +0200
+@@ -178,7 +178,11 @@
+   0,  //  tp_version_tag
+ 
+   0, //  tp_finalize
+-#if PY_VERSION_HEX >= 0x030c0000
++#if PY_VERSION_HEX >= 0x030d0000
++  nullptr, // tp_vectorcall
++  0,       // tp_watched
++  0        // tp_versions_used
++#elif PY_VERSION_HEX >= 0x030c0000
+   nullptr, // tp_vectorcall
+   0        // tp_watched
+ #elif PY_VERSION_HEX >= 0x03090000
+@@ -526,7 +530,11 @@
+   0,    //  tp_version_tag
+ 
+   0, //  tp_finalize
+-#if PY_VERSION_HEX >= 0x030c0000
++#if PY_VERSION_HEX >= 0x030d0000
++  nullptr, // tp_vectorcall
++  0,       // tp_watched
++  0        // tp_versions_used
++#elif PY_VERSION_HEX >= 0x030c0000
+   nullptr, // tp_vectorcall
+   0        // tp_watched
+ #elif PY_VERSION_HEX >= 0x03090000
+--- mysql-workbench-community-8.0.42-src/library/grt/src/python_module.cpp~	2025-04-14 17:21:34.000000000 +0200
++++ mysql-workbench-community-8.0.42-src/library/grt/src/python_module.cpp	2025-04-27 15:37:12.989999391 +0200
+@@ -197,7 +197,11 @@
+   0,  //  tp_version_tag
+ 
+   0, //  tp_finalize
+-#if PY_VERSION_HEX >= 0x030c0000
++#if PY_VERSION_HEX >= 0x030d0000
++  nullptr, // tp_vectorcall
++  0,       // tp_watched
++  0        // tp_versions_used
++#elif PY_VERSION_HEX >= 0x030c0000
+   nullptr, // tp_vectorcall
+   0        // tp_watched
+ #elif PY_VERSION_HEX >= 0x03090000
+@@ -387,7 +391,11 @@
+   0,  //  tp_version_tag
+ 
+   0, //  tp_finalize
+-#if PY_VERSION_HEX >= 0x030c0000
++#if PY_VERSION_HEX >= 0x030d0000
++  nullptr, // tp_vectorcall
++  0,       // tp_watched
++  0        // tp_versions_used
++#elif PY_VERSION_HEX >= 0x030c0000
+   nullptr, // tp_vectorcall
+   0        // tp_watched
+ #elif PY_VERSION_HEX >= 0x03090000
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mysql-workbench.git/commitdiff/16b13acba5ad544f7e05ee6772c9364328dd473b



More information about the pld-cvs-commit mailing list