Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 710070

Summary: games-mud/tf : Tinyfugue is not redrawing properly
Product: Gentoo Linux Reporter: Petr Šabata <contyk>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH, PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/17545
Whiteboard:
Package list:
Runtime testing required: ---

Description Petr Šabata 2020-02-18 15:36:01 UTC
Tinyfugue doesn't seem to redraw properly, echoing my input and the visual mode falling apart as soon as there is any new output.

I suspect it started happening after ncurses update but Tinyfugue doesn't appear to be linked against it. Maybe it should?

games-mud/tf-50_beta8-r2
[ebuild   R   ~] games-mud/tf-50_beta8-r2::gentoo  USE="doc gmcp ipv6 -atcp -debug -option102 -ssl" 0 KiB

Reproducible: Always

Steps to Reproduce:
1. Run tf with /set visual=1
2. Connect to a MUD or anything that prints lines.
Actual Results:  
The interface falls apart.

Expected Results:  
The app works as it used to.
Comment 1 Petr Šabata 2020-02-18 16:03:52 UTC
Looking at the build log, this seems suspicious:

(...)
checking for library containing tgetent... no
configure: WARNING: Hardcoding terminal codes.
checking for library containing sqrt... -lm
(...)
Comment 2 Petr Šabata 2020-04-03 14:54:05 UTC
Running configure with --enable-termcap=tinfo appears to fix the issue.

--- tf-50_beta8-r2.ebuild       2020-04-03 16:52:35.120011004 +0200
+++ tf-50_beta8-r3.ebuild       2020-04-03 16:49:50.670012402 +0200
@@ -40,7 +40,8 @@
                $(use_enable ssl) \
                $(use_enable debug core) \
                $(use_enable ipv6 inet6) \
-               --enable-manpage
+               --enable-manpage \
+               --enable-termcap=tinfo
 }
 
 src_install() {
Comment 3 Larry the Git Cow gentoo-dev 2020-11-15 20:03:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1416a450222921e213275d592b5c43e96f59e156

commit 1416a450222921e213275d592b5c43e96f59e156
Author:     Alexey Sokolov <sokolov@google.com>
AuthorDate: 2020-11-15 20:02:32 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-15 20:02:32 +0000

    games-mud/tf: fix build, fix version number
    
    * Use debian patches
    * Fix usage of ncurses (thanks Petr Šabata)
    * Remove debug USE flag which only was adding -g
    
    Closes: https://bugs.gentoo.org/710070
    Closes: https://bugs.gentoo.org/706948
    Package-Manager: Portage-3.0.4, Repoman-2.3.23
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Signed-off-by: David Seifert <soap@gentoo.org>

 games-mud/tf/Manifest               |  1 +
 games-mud/tf/tf-5.0_beta8_p8.ebuild | 79 +++++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)