[packages/gtkmathview] Rel 13
arekm
arekm at pld-linux.org
Sat Jul 19 17:17:04 CEST 2025
commit 8ec3c110b71607989d2d6c0e44d526b1ee416782
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Jul 19 17:16:42 2025 +0200
Rel 13
build.patch | 23 +++++++++++++++++++++++
gtkmathview.spec | 4 +++-
2 files changed, 26 insertions(+), 1 deletion(-)
---
diff --git a/gtkmathview.spec b/gtkmathview.spec
index a445da4..182699d 100644
--- a/gtkmathview.spec
+++ b/gtkmathview.spec
@@ -2,7 +2,7 @@ Summary: A GTK+ viewer to view MathML documents
Summary(pl.UTF-8): Przeglądarka dokumentów MathML dla GTK+
Name: gtkmathview
Version: 0.8.0
-Release: 12
+Release: 13
License: LGPL v3+
Group: X11/Applications/Graphics
Source0: http://helm.cs.unibo.it/mml-widget/sources/%{name}-%{version}.tar.gz
@@ -19,6 +19,7 @@ Patch8: %{name}-gcc6.patch
Patch9: %{name}-gcc7.patch
Patch10: %{name}-fix-cpp-headers.patch
Patch11: %{name}-link.patch
+Patch12: build.patch
URL: http://helm.cs.unibo.it/mml-widget/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
@@ -98,6 +99,7 @@ Wersja statyczna bibliotek dla GTK+ do renderowania dokumentów MathML.
%patch -P9 -p1
%patch -P10 -p1
%patch -P11 -p1
+%patch -P12 -p1
# AM_BINRELOC missing, just ignore
echo 'AC_DEFUN([AM_BINRELOC], [])' > acinclude.m4
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..7393dee
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,23 @@
+diff -ur gtkmathview-0.8.0.org/viewer/guiGTK.c gtkmathview-0.8.0/viewer/guiGTK.c
+--- gtkmathview-0.8.0.org/viewer/guiGTK.c 2007-08-17 12:02:46.000000000 +0200
++++ gtkmathview-0.8.0/viewer/guiGTK.c 2025-07-19 17:09:51.617092095 +0200
+@@ -152,7 +152,7 @@
+ void
+ GUI_init(int* argc, const char*** argv, char* title, guint width, guint height, gint logLevel)
+ {
+- gtk_init(argc, argv);
++ gtk_init(argc, (char ***)argv);
+
+ window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title(GTK_WINDOW(window), title);
+@@ -696,8 +696,9 @@
+ #endif // HAVE_GMETADOM
+
+ static gboolean
+-cursor_blink(GtkMathViewDefaultCursorDecorator* cursor)
++cursor_blink(gpointer data)
+ {
++ GtkMathViewDefaultCursorDecorator* cursor = (GtkMathViewDefaultCursorDecorator*)data;
+ gboolean enabled;
+ GdomeElement* focus;
+ gboolean draw_focus;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gtkmathview.git/commitdiff/8ec3c110b71607989d2d6c0e44d526b1ee416782
More information about the pld-cvs-commit
mailing list