Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296974 - app-emulation/dosemu-1.4.0: respect ncurses and slang USE flags
Summary: app-emulation/dosemu-1.4.0: respect ncurses and slang USE flags
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-15 02:41 UTC by Martin Mokrejš
Modified: 2010-04-12 08:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2009-12-15 02:41:42 UTC
The ebuild directly requires slang although I have (and believe most users if not all) installed ncurses library handling terminal setup. The slang was born much later and propagated along Midnight Commander although mc(1) did (and does) also support ncurses library as well. Please prefer ncurses over slang in the ebuild. There is no reason to have two terminal libs installed.

Or, at least respect ncurses USE flag over slang. Thanks.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-12-15 07:37:10 UTC
I don't see slang being optional in dosemu sources, the configure.ac will entirely disable 'term' if it's not found.

What's your point?
Comment 2 Martin Mokrejš 2010-04-12 08:19:47 UTC
My point was to link against ncurses instead of slang. However, I do not see a documented configure flag for that. 

checking for S-Lang...  
checking slang.h usability... yes
checking slang.h presence... yes
checking for slang.h... yes
checking for SLtt_get_terminfo in -lslang... yes
configure: Compiling with S-Lang support...


In dosemu-1.4.1_pre20091009/work/dosemu/ChangeLog.ancient I see:

Fri Nov  18     1994
-       Slang code replacement in test. Set USE_SLANG in Makefile.
        Slang is a faster terminal control library than ncurses.
        Requires slang (amy.tch.harvard.edu in pub/slang , or tsx
        in the dosemu Development subdir). Many thanks to
        John Davis (davis@amy.tch.harvard.edu) for trying to
        win us over.

[cut]

Tue Jul 05 1994 JES

        - Finally... Markkk succeeds where so many of us have failed.
          NCURSES support is here, and I believe to stay :-). It's 
          still a bit rough, but it IS. You should truly think about
          getting ncurses-1.8.5.tgz from:
          netcom.com:pub/zmbenhal/ncurses/1.8.5.tgz
          This of course brings color to serial lines and preps for
          many more. I couldn't activate it on a telnet or rlogin 
          connect yet. Thanks Markkk, from many of us :-).


So, maybe upstream dropped support for ncurses in its early development?
Comment 3 Martin Mokrejš 2010-04-12 08:26:02 UTC
For completeness, here are the relevant link lines.

[cut]
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,-warn-common -rdynamic -shared -o ../../../1.4.0.1/bin/libplugin_term.so term_core.o terminal.o keyb_slang.o mouse_xterm.o -lslang
ar crs ../../../src/lib/libplugin_term.a
make[2]: Leaving directory `/var/tmp/portage/app-emulation/dosemu-1.4.1_pre20091009/work/dosemu/src/plugin/term'
[cut]
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,-warn-common -rdynamic -o ../1.4.0.1/bin/dosemu.bin emu.o \
           -Wl,--whole-archive lib/libenv_video.a lib/libbase.a lib/libbase_async.a lib/libarch_linux_async.a lib/libarch_linux_mapping.a lib/libbase_misc.a lib/libbase_dev_misc.a lib/libemu-i386.a lib/libemu-i386_simx86.a lib/libenv.a lib/libbase_speaker.a lib/libbase_dev_pic.a lib/libdosext_dpmi.a lib/libdosext_mfs.a lib/libdosext_misc.a lib/libbase_init.a lib/libbase_serial.a lib/libbase_mouse.a lib/libbase_dev_dma.a lib/libarch_linux_debugger.a lib/libdosext_net_net.a lib/libdosext_sound.a lib/libarch_linux_dosext_sound.a lib/libbase_dev_sb16.a lib/libbase_sound.a lib/libdosext_drivers.a lib/libbase_bios.a lib/libplugin_gpm.a lib/libplugin_alsa.a lib/libplugin_translate.a lib/libplugin_translate_charsets.a lib/libplugin_commands.a lib/libplugin_sndfile.a lib/libplugin_midimisc.a lib/libplugin_term.a lib/libplugin_kbd_unicode.a lib/libplugin_X.a lib/libplugin_sdl.a lib/libplugin_extra_charsets.a -Wl,--no-whole-archive -lrt  -ldl -lm
[cut]