[packages/mdk] - updated to 1.3.1
qboosh
qboosh at pld-linux.org
Tue Oct 21 20:48:07 CEST 2025
commit bd7c0ac87916c6d517ebb4149b65fa80253a80c8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Oct 21 20:51:37 2025 +0200
- updated to 1.3.1
mdk-c.patch | 11 +++++++++++
mdk-gettext.patch | 10 +++++-----
mdk.spec | 14 +++++++-------
3 files changed, 23 insertions(+), 12 deletions(-)
---
diff --git a/mdk.spec b/mdk.spec
index 8284abf..24c6b98 100644
--- a/mdk.spec
+++ b/mdk.spec
@@ -5,14 +5,15 @@
Summary: GNU MIX Development Kit
Summary(pl.UTF-8): GNU MIX Development Kit - zestaw programistyczny dla języka MIXAL
Name: mdk
-Version: 1.2.11
-Release: 2
+Version: 1.3.1
+Release: 1
License: GPL v2
Group: Applications
Source0: https://ftp.gnu.org/gnu/mdk/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 5598a4c20a0c5c670e25a7bbda6d8f3e
+# Source0-md5: a01a2b15b266da2a2dc223b87eb3b3d8
Patch0: %{name}-gettext.patch
Patch1: %{name}-info.patch
+Patch2: %{name}-c.patch
URL: http://www.gnu.org/software/mdk/mdk.html
BuildRequires: autoconf >= 2.50
BuildRequires: automake
@@ -27,8 +28,7 @@ BuildRequires: pkgconfig
BuildRequires: readline-devel
BuildRequires: texinfo
%if %{with gui}
-BuildRequires: gtk+2-devel >= 2:2.6.0
-BuildRequires: libglade2-devel >= 1:2.4.0
+BuildRequires: gtk+3-devel >= 3.14
BuildRequires: pango-devel >= 1:1.4
%endif
Requires: glib2 >= 1:2.4.0
@@ -67,8 +67,7 @@ Summary: gmixvm - GUI for mixvm (MIX virtual machine)
Summary(pl.UTF-8): gmixvm - GUI do mixvm (maszyny wirtualnej MIX)
Group: X11/Applications
Requires: %{name} = %{version}-%{release}
-Requires: gtk+2 >= 2:2.6.0
-Requires: libglade2 >= 1:2.4.0
+Requires: gtk+3 >= 3.14
Requires: pango >= 1:1.4
%description gui
@@ -81,6 +80,7 @@ gmixvm - GUI do mixvm (maszyny wirtualnej MIX).
%setup -q
%patch -P0 -p1
%patch -P1 -p1
+%patch -P2 -p1
%build
%{__intltoolize}
diff --git a/mdk-c.patch b/mdk-c.patch
new file mode 100644
index 0000000..fc48012
--- /dev/null
+++ b/mdk-c.patch
@@ -0,0 +1,11 @@
+--- mdk-1.3.1/mixguile/xmixguile_cmd_dispatcher.h.orig 2025-09-23 03:36:56.000000000 +0200
++++ mdk-1.3.1/mixguile/xmixguile_cmd_dispatcher.h 2025-10-21 20:18:05.020558818 +0200
+@@ -37,7 +37,7 @@ struct mixguile_cmd_dispatcher_t
+
+ /* scm commands types */
+ /* prototype of a function implementing a new scm function */
+-typedef SCM (*scm_func_t) (...);
++typedef SCM (*scm_func_t) ();
+
+ /* record for a new scm command */
+ typedef struct scm_command_t
diff --git a/mdk-gettext.patch b/mdk-gettext.patch
index 764cc39..2293644 100644
--- a/mdk-gettext.patch
+++ b/mdk-gettext.patch
@@ -1,15 +1,15 @@
---- mdk-1.2.11/configure.ac.orig 2020-10-15 21:58:38.000000000 +0200
-+++ mdk-1.2.11/configure.ac 2020-10-18 18:32:15.247240156 +0200
-@@ -41,7 +41,7 @@
+--- mdk-1.3.1/configure.ac.orig 2022-01-16 18:58:15.000000000 +0100
++++ mdk-1.3.1/configure.ac 2025-10-21 05:44:27.007864901 +0200
+@@ -49,7 +49,7 @@ fi
dnl i18n stuff
AM_GNU_GETTEXT_VERSION(0.14)
-AM_GNU_GETTEXT
+AM_GNU_GETTEXT([external])
- AC_PROG_INTLTOOL([0.37], [no-xml])
+ IT_PROG_INTLTOOL([0.37],[no-xml])
GETTEXT_PACKAGE=mdk
-@@ -162,7 +162,6 @@
+@@ -170,7 +170,6 @@ misc/Makefile
samples/Makefile
samples/tests/Makefile
po/Makefile.in
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mdk.git/commitdiff/bd7c0ac87916c6d517ebb4149b65fa80253a80c8
More information about the pld-cvs-commit
mailing list