SHA256
1
0
forked from pool/gtypist

2 Commits

Author SHA256 Message Date
af2c9a9f77 gtypist 2.10.1 2025-09-07 19:22:02 +02:00
7486127ac8 Delete escdelay.diff, add gcc14.patch 2024-11-02 12:57:39 +01:00
8 changed files with 68 additions and 51 deletions

View File

@@ -1,23 +0,0 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2015-09-23 11:59:16.636824539 +0200
In modern ncurses, ESCDELAY is not an lvalue (also because the
ESCDELAY "variable" is meant to be read-only).
---
src/gtypist.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: gtypist-2.9.5/src/gtypist.c
===================================================================
--- gtypist-2.9.5.orig/src/gtypist.c
+++ gtypist-2.9.5/src/gtypist.c
@@ -2205,7 +2205,7 @@ int main( int argc, char **argv )
// Quick hack to get rid of the escape delays
#ifdef __NCURSES_H
- ESCDELAY = 1;
+ set_escdelay(1);
#endif
/* set up colour pairs if possible */

24
gcc14.patch Normal file
View File

@@ -0,0 +1,24 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2024-11-02 12:54:12.376370921 +0100
cursmenu.c:272:33: error: implicit declaration of function utf8len [-Wimplicit-function-declaration]
gtypist.c:2208:12: error: lvalue required as left operand of assignment
2208 | ESCDELAY = 1;
---
src/gtypist.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: gtypist-2.10.1/src/gtypist.c
===================================================================
--- gtypist-2.10.1.orig/src/gtypist.c
+++ gtypist-2.10.1/src/gtypist.c
@@ -1815,7 +1815,7 @@ int main( int argc, char **argv )
// Quick hack to get rid of the escape delays
#ifdef __NCURSES_H
- ESCDELAY = 1;
+ set_escdelay(1);
#endif
/* set up colour pairs if possible */

BIN
gtypist-2.10.1.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

16
gtypist-2.10.1.tar.xz.sig Normal file
View File

@@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEAq7GZQBzAcKAxcQ6D7gH0ufHyWwFAmegzVYACgkQD7gH0ufH
yWwW7hAAq3EGn/Tr7qdMfHpJxBTem7mIND07N+Zud4wGYlAEfYZfpOuhN3WtZXbc
5jW6+oKKhqEupqI7vgy0Q6cVmPqGowxFdWkokvFJwqwfB2R6SUcH9E+kKViG+Y7w
PuqHtGenlOuCEpBcqvhjnLPBrv/KQjq3ZOGimvIU0sHdeloOI6UqdLZLivGxlWtw
lZpHq2ER0zDjvpv1I/Vah6tC4fnBcF2YQsuYx5Sv18eZv3LLPvlH+2IYK/uBjcOw
A8Pyt5CGtIRo2C+C/BHIbqLdi3KuXVFoTuzKkLoBZQ8osErtYrx56lzca9Fml/zC
ImXc4TM7MpAWkfQU3yM6lqgUuzQG03Hcn6zd97J3ExxczaSNgPRd5/218yr4VkyV
ZpF2in283nlFFj2IRklApMgt/auFcOmWEBGwuY1RMrc5Ks4s92hXADD5BL0LxGr1
e146hcewxCWZbbrCH07XMNFNZnBYJeeZVhhwyDlpeY3LrVaRFfhRAfEV6u9NTSn1
XK/3GrnNvUSj6nMu+o3m14HwiqoFKjl8vzKViiac8Q2O/JkppGTvDeNQD/T62wJe
eboOruQe/OxiYOXQoVXmDabzY5/VEl+Nv36aOqecG13x8tm/dxZkxpeFUnENBpD1
739u3qTGurvOwgYBjwAOGDBvU2vnEVerM8JsIwXg+pK4n+Ycp/Q=
=xr/X
-----END PGP SIGNATURE-----

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c13af40b12479f8219ffa6c66020618c0ce305ad305590fde02d2c20eb9cf977
size 929356

View File

@@ -1,19 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQJ8BAABCgBmBQJT6dFVXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOEYwOUMwQjc5RjkwQTIwRjk1M0ZCMUNB
NkQ4MTNEOEM5NEFGQTUyAAoJEKbYE9jJSvpS22oQAKKD27OkeMtOF84EVJP9OAQH
erxBWPnEOEhFiNuP2jM77Vco7TgQfOLb9hWq0gy1qIkfHRJGpnxSiQyWQWgpq4i4
i3jExao7/x59BKl3N1Qt7prPpbckpb6qqwEyAmrIub3oucID6JqG9AmekMdNpzP+
awSY7NxH1gqMvxv9FuuUQgJhVzesAXJfRTiUaks9SS7YK7WMQngHm3rbr7PPB3w6
Y/33KZLvMlRl67sz1UG9h7EonMHvI+kQCBHtnSI2bdv6ANdQkZm4SXvr4QzB1CdR
/kTd8LXdgFFWSaQOOaQjJzSFKhO1bmQpHGVHKq6JHbqPht7tG4UfQADxc1kT9u+C
+vidQNQooOU6Un4e6V188TMYpKyR0Ajg3IZzL9v2RYCkPuuLIVtqBW7AsA/wQ2wM
7U+r3AbTDy5/PpBoQ16HQglvqOKPQyExNy/6IZNTn+/G89VAmS2oE99jEeie7dQb
tTnzJQUUKtTO8SbV6KR7ibD0inUMFaPFxdMnIVDYkCV9yZijUcOYRCiMmrdsX1ub
F7joUS1yGd0wz4B7oNI1KAOLfs11eSl79DACtJ6vmw4HQcqre1NUx1taVoG9HUfN
77NhJegXiKVicVfr+A4mEVcEeLc5DtndQq6CXaIZuh7TRvlrhNS66MyRGYRxXDXj
3R/TIImGme17rPS5n4l8
=UepC
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sun Sep 7 15:50:46 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.10.1
* New P lesson series for programmers.
* Fixes for various lessons.
* New Romanian lessons.
* Expanded the S lesson series with a new quotation and a few
more passages from Shakespeare.
* Jump over whitespace characters at the beginning of lines in
lessons.
* Added a Romanian translation.
* Updated the KTouch lesson import script.
- Update gcc14.patch (patch was partially merged)
-------------------------------------------------------------------
Sat Nov 2 11:55:19 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Replace escdelay.diff by new gcc14.patch to resolve more FTBFS
-------------------------------------------------------------------
Tue Aug 25 20:58:49 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package gtypist
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,17 +17,16 @@
Name: gtypist
Version: 2.9.5
Version: 2.10.1
Release: 0
Summary: Universal typing tutor
License: GPL-3.0-only
License: GPL-3.0-or-later
Group: Amusements/Teaching/Other
URL: http://gnu.org/software/gtypist/
Source: http://ftp.gnu.org/gnu/gtypist/%name-%version.tar.xz
Source2: http://ftp.gnu.org/gnu/gtypist/%name-%version.tar.xz.sig
Source3: %name.keyring
Patch1: escdelay.diff
Patch1: gcc14.patch
BuildRequires: bison
BuildRequires: ncurses-devel
BuildRequires: xz
@@ -67,7 +66,7 @@ This subpackage contain the translations for the package gtypist.
%build
%configure
make %{?_smp_mflags}
%make_build
%install
%make_install