xterm/xterm-enable_libtinfo.patch

39 lines
1.2 KiB
Diff
Raw Normal View History

Accepting request 631631 from home:pcerny:factory - Patch #335 - 2018/08/14 * add colorInnerBorder resource to make a change from patch #334 configurable (reports by H Merijn Brand, Gabriele Balducci). - Patch #334 - 2018/08/12 * modify Imakefile to reflect the fact that NetBSD no longer has a working termcap emulation. * add resource-setting validShells which can be used to augment the system's /etc/shell (prompted by discussion with Paul Lampert). * stifle some useless warnings from lintian in test-packages. * add the ncurses extension “RGB” to the responses for the termcap-query feature. * improved getopts-handling in sample scripts. * fix some warnings from gcc8 and clang --analyze. * update note about incorrect documentation for DECRQSS to include VT525 (report by Markus Schmidt). * correct check for default-values in rectangular parsing; a zero counts as a missing or default parameter (report/testcase by Markus Schmidt). * correct some ranges in the ambiguous[] table in wcwidth (adapted from patch by KUGA Tsutomu). * fix a special case with faint video attribute incorrectly combined with default color. * add private control XTREPORTSGR for reporting video-attributes and color on a rectangle, and script report-sgr.pl to demonstrate it. * modify some of the markup in ctlseqs.ms to work around groff's reassignment of ASCII punctuation characters as documented in groff_char(7). OBS-URL: https://build.opensuse.org/request/show/631631 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=158
2018-08-26 23:45:34 +02:00
# HG changeset patch
# Parent d2d03d4f6634a54846af7503711ed356c87b1625
# check for libtinfo before falling back to ncurses
- Patch #353 - 2020/02/01 - amend change in patch #352 for button-events to fix a case where some followup events were not processed soon enough (report/patch by Jimmy Aguilar Mena). - handle MappingNotify X event, to improve recovery when switching keyboard configurations using xkbcomp (prompted by discussion with Frank Mosch, Debian #661295). There is more work needed here, possibly in the X libraries. - improve discussion of mouse-mode in ctlseqs.ms (suggested by Igor van den Hoven). - further improve checks for Xft max-advance-width to take into account fonts which use two cells for ambiguous width characters. Also improve the time used for these checks (reports by Yuri Pankov, Frank Mosch). - fix a few spelling errors reported by codespell (report by Jens Schleusener). - modify run-tic.sh to prefer development version of ncurses since changes to terminfo file in patch #345 rely upon bug-fixes in ncurses (prompted by discussion with Will Senn). - Patch #352 - 2020/01/16 - adjust fontsize data to handle a minor inconsistency from recent Xft versions (Debian #880407, adapted from patch by Vincent Lefevre). - add a table to the manual page description of forceBoxChars to alert the reader to the special characters aside from “line-drawing” which are drawn directly when this resource is set (Debian #931305). - improve checkXft logic which attempts to detect fonts whose max-advance-width is inconsistent with the actual glyph widths. For some fonts, it is necessary to check additional characters (report/analysis by Jan Engelhardt). - improve configure-checks for X headers and libraries on recent MacOS, which has moved those files under /usr/X11. - improve portability of iconify/deiconify feature by taking into account some window managers which manipulate the EWMH _NET_WM_STATE property, adding/removing _NET_WM_STATE_HIDDEN rather than actually minimizing the window (prompted by discussion with Jörg Breitbart). - improve workaround from patch #287 for the -iconic option when configured with toolbar by postponing the extra request for minimizing the window to the end of menu-initialization. - modify xevents special-case for mouse-events to include button-events so that the meta key by itself can generate button-events (report/analysis by Mattias EngdegÃ¥rd). - amend SGR-stack change from patch #348 to not associate bold attribute with background color (report by Nicholas Marriott). - fix copy/paste error in manual page (patch by Larry Hynes). - add definitions in xterm_io.h so that GNU/Hurd will use posix_openpty (patch by Samuel Thibault). - build-fix in debug-tracing, for esctest. - updated autoconf macros - update config.guess - Patch #351 - 2019/11/17 - correct logic in property_to_string for deciding when to fallback from UTF-8 decoding to ISO-8859-1 decoding, broken in xterm #350 (FreeBSD #241961). - add -report-icons to help-message. - improved autoconf macros: - CF_ADD_LIBS: the change to filter out duplicates caused this to append rather than prepend. revise to fix that. - CF_GCC_VERSION and CF_GCC_WARNINGS: move checks to distinguish icc/clang from gcc from the macro which handles the --enable-warnings option, to make this work without-warnings for the inline-checks. - update config.guess, config.sub - correct status in XTGETXRES replies when the resource was not found. - fix some gcc, cppcheck, clang and coverity warnings. OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=182
2020-03-26 13:24:55 +01:00
Index: xterm-353/aclocal.m4
===================================================================
--- xterm-353.orig/aclocal.m4
+++ xterm-353/aclocal.m4
@@ -885,10 +885,10 @@ AC_CACHE_CHECK(for $cf_test_message func
cf_save_LIBS="$LIBS"
cf_cv_lib_tgetent=no
if test "$cf_full_tgetent" = yes ; then
- cf_TERMLIB="otermcap termcap termlib ncurses curses"
+ cf_TERMLIB="otermcap termcap termlib tinfo ncurses curses"
cf_TERMTST="buffer[[0]] == 0"
else
- cf_TERMLIB="termlib ncurses curses"
+ cf_TERMLIB="termlib tinfo ncurses curses"
cf_TERMTST="0"
fi
for cf_termlib in '' $cf_TERMLIB ; do
- Patch #353 - 2020/02/01 - amend change in patch #352 for button-events to fix a case where some followup events were not processed soon enough (report/patch by Jimmy Aguilar Mena). - handle MappingNotify X event, to improve recovery when switching keyboard configurations using xkbcomp (prompted by discussion with Frank Mosch, Debian #661295). There is more work needed here, possibly in the X libraries. - improve discussion of mouse-mode in ctlseqs.ms (suggested by Igor van den Hoven). - further improve checks for Xft max-advance-width to take into account fonts which use two cells for ambiguous width characters. Also improve the time used for these checks (reports by Yuri Pankov, Frank Mosch). - fix a few spelling errors reported by codespell (report by Jens Schleusener). - modify run-tic.sh to prefer development version of ncurses since changes to terminfo file in patch #345 rely upon bug-fixes in ncurses (prompted by discussion with Will Senn). - Patch #352 - 2020/01/16 - adjust fontsize data to handle a minor inconsistency from recent Xft versions (Debian #880407, adapted from patch by Vincent Lefevre). - add a table to the manual page description of forceBoxChars to alert the reader to the special characters aside from “line-drawing” which are drawn directly when this resource is set (Debian #931305). - improve checkXft logic which attempts to detect fonts whose max-advance-width is inconsistent with the actual glyph widths. For some fonts, it is necessary to check additional characters (report/analysis by Jan Engelhardt). - improve configure-checks for X headers and libraries on recent MacOS, which has moved those files under /usr/X11. - improve portability of iconify/deiconify feature by taking into account some window managers which manipulate the EWMH _NET_WM_STATE property, adding/removing _NET_WM_STATE_HIDDEN rather than actually minimizing the window (prompted by discussion with Jörg Breitbart). - improve workaround from patch #287 for the -iconic option when configured with toolbar by postponing the extra request for minimizing the window to the end of menu-initialization. - modify xevents special-case for mouse-events to include button-events so that the meta key by itself can generate button-events (report/analysis by Mattias EngdegÃ¥rd). - amend SGR-stack change from patch #348 to not associate bold attribute with background color (report by Nicholas Marriott). - fix copy/paste error in manual page (patch by Larry Hynes). - add definitions in xterm_io.h so that GNU/Hurd will use posix_openpty (patch by Samuel Thibault). - build-fix in debug-tracing, for esctest. - updated autoconf macros - update config.guess - Patch #351 - 2019/11/17 - correct logic in property_to_string for deciding when to fallback from UTF-8 decoding to ISO-8859-1 decoding, broken in xterm #350 (FreeBSD #241961). - add -report-icons to help-message. - improved autoconf macros: - CF_ADD_LIBS: the change to filter out duplicates caused this to append rather than prepend. revise to fix that. - CF_GCC_VERSION and CF_GCC_WARNINGS: move checks to distinguish icc/clang from gcc from the macro which handles the --enable-warnings option, to make this work without-warnings for the inline-checks. - update config.guess, config.sub - correct status in XTGETXRES replies when the resource was not found. - fix some gcc, cppcheck, clang and coverity warnings. OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=182
2020-03-26 13:24:55 +01:00
Index: xterm-353/configure
===================================================================
--- xterm-353.orig/configure
+++ xterm-353/configure
@@ -6449,10 +6449,10 @@ else
cf_save_LIBS="$LIBS"
cf_cv_lib_tgetent=no
if test "$cf_full_tgetent" = yes ; then
- cf_TERMLIB="otermcap termcap termlib ncurses curses"
- Patch #353 - 2020/02/01 - amend change in patch #352 for button-events to fix a case where some followup events were not processed soon enough (report/patch by Jimmy Aguilar Mena). - handle MappingNotify X event, to improve recovery when switching keyboard configurations using xkbcomp (prompted by discussion with Frank Mosch, Debian #661295). There is more work needed here, possibly in the X libraries. - improve discussion of mouse-mode in ctlseqs.ms (suggested by Igor van den Hoven). - further improve checks for Xft max-advance-width to take into account fonts which use two cells for ambiguous width characters. Also improve the time used for these checks (reports by Yuri Pankov, Frank Mosch). - fix a few spelling errors reported by codespell (report by Jens Schleusener). - modify run-tic.sh to prefer development version of ncurses since changes to terminfo file in patch #345 rely upon bug-fixes in ncurses (prompted by discussion with Will Senn). - Patch #352 - 2020/01/16 - adjust fontsize data to handle a minor inconsistency from recent Xft versions (Debian #880407, adapted from patch by Vincent Lefevre). - add a table to the manual page description of forceBoxChars to alert the reader to the special characters aside from “line-drawing” which are drawn directly when this resource is set (Debian #931305). - improve checkXft logic which attempts to detect fonts whose max-advance-width is inconsistent with the actual glyph widths. For some fonts, it is necessary to check additional characters (report/analysis by Jan Engelhardt). - improve configure-checks for X headers and libraries on recent MacOS, which has moved those files under /usr/X11. - improve portability of iconify/deiconify feature by taking into account some window managers which manipulate the EWMH _NET_WM_STATE property, adding/removing _NET_WM_STATE_HIDDEN rather than actually minimizing the window (prompted by discussion with Jörg Breitbart). - improve workaround from patch #287 for the -iconic option when configured with toolbar by postponing the extra request for minimizing the window to the end of menu-initialization. - modify xevents special-case for mouse-events to include button-events so that the meta key by itself can generate button-events (report/analysis by Mattias EngdegÃ¥rd). - amend SGR-stack change from patch #348 to not associate bold attribute with background color (report by Nicholas Marriott). - fix copy/paste error in manual page (patch by Larry Hynes). - add definitions in xterm_io.h so that GNU/Hurd will use posix_openpty (patch by Samuel Thibault). - build-fix in debug-tracing, for esctest. - updated autoconf macros - update config.guess - Patch #351 - 2019/11/17 - correct logic in property_to_string for deciding when to fallback from UTF-8 decoding to ISO-8859-1 decoding, broken in xterm #350 (FreeBSD #241961). - add -report-icons to help-message. - improved autoconf macros: - CF_ADD_LIBS: the change to filter out duplicates caused this to append rather than prepend. revise to fix that. - CF_GCC_VERSION and CF_GCC_WARNINGS: move checks to distinguish icc/clang from gcc from the macro which handles the --enable-warnings option, to make this work without-warnings for the inline-checks. - update config.guess, config.sub - correct status in XTGETXRES replies when the resource was not found. - fix some gcc, cppcheck, clang and coverity warnings. OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=182
2020-03-26 13:24:55 +01:00
+ cf_TERMLIB="otermcap tinfo termcap termlib ncurses curses"
cf_TERMTST="buffer[0] == 0"
else
- cf_TERMLIB="termlib ncurses curses"
+ cf_TERMLIB="termlib tinfo ncurses curses"
cf_TERMTST="0"
fi
for cf_termlib in '' $cf_TERMLIB ; do