2007-01-16 00:44:00 +01:00
|
|
|
#
|
2011-02-18 12:39:16 +01:00
|
|
|
# spec file for package xterm
|
2007-01-16 00:44:00 +01:00
|
|
|
#
|
2024-01-29 13:34:11 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-16 00:44:00 +01:00
|
|
|
#
|
2009-01-09 02:11:33 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
- 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
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:44:00 +01:00
|
|
|
#
|
|
|
|
|
2008-02-25 17:50:34 +01:00
|
|
|
|
2014-12-16 16:35:34 +01:00
|
|
|
%define splitbin 0%{?suse_version} >= 1300
|
2007-01-16 00:44:00 +01:00
|
|
|
Name: xterm
|
2024-01-29 13:34:11 +01:00
|
|
|
Version: 389
|
2012-02-18 11:34:03 +01:00
|
|
|
Release: 0
|
2007-01-16 00:44:00 +01:00
|
|
|
Summary: The basic X terminal program
|
2012-02-18 11:34:03 +01:00
|
|
|
License: MIT
|
|
|
|
Group: System/X11/Utilities
|
Accepting request 834743 from home:dirkmueller:branches:X11:terminals
- update urls to use https (its 2020 after all)
- Update to Patch#359 - 2020/08/17
* add special case in WriteText to allow colors 8-15 to override colorBDMode
* add utf8Weblike resource, to provide an alternate scheme for handling ill-formed UTF-8 sequences
* improve computation for the number of lines needed to scroll-up a SIXEL graphic
* correct manpage description for default value of disallowWindowOps from changes in xterm #331
* correct a loop starting-point in refresh_graphics from optimization in patch #358 changes
* add a new mouse mode 1016, which uses the same format as mode 1006, but sends the mouse's position in pixels
* fix an issue from patch #338 changes where only the first selection buffer specified in the request would be updated using OSC 52
* modify makefile/scripts to allow DESTDIR to prefix the target directory for desktop-file-install
* enable SIXEL feature by default.
* update config.guess, config.sub
* correct logic for decodeTerminalID changes in patch #357
* modify makefile to use plink.sh when linking test-programs, to fix build when using pcre
* build-fix for test_ptydata program
* several minor optimizations for the ReGIS and SIXEL features, improving performance by 10%.
* add resource decGraphicsID to allow displaying graphics when the emulation level would ordinarily disallow this
* add control sequences for fast switching of color palettes: XTPUSHCOLORS, XTPOPCOLORS, XTREPORTCOLORS
* amend change for soft-hyphen from patch #328 to avoid stripping replacement-characters which would be shown with malformed or overlong UTF-8 input.
* corrected an error-handling case in decodeUtf8, matching a similar fix in patch #268
* add a test-driver for ptydata.c
* minor cleanup of macros
* fix some errata in ctlseqs.ms
* allow immediate repaint-on-palette-changed if double-buffering is enabled.
* deprecate codes 10/11 in sgr push controls, changing those to 30/31, to avoid confusion with sgr 10-19.
* modify SGR parameter handling to stop if an unrecognized parameter is encountered, to guard against malformed or nonstandard sequences
* modify DECERA color for consistency with other erasures/clearing
* ECH should not be masked by DECSCA
* extend DECFRA and REP to accept any “graphic” character rather than just Latin1, etc.
* add -C option to 256colors2.pl and 88colors2.pl, to demonstrate mixed semicolon/colon separators which are implied by ECMA-48.
OBS-URL: https://build.opensuse.org/request/show/834743
OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=189
2020-09-18 09:19:38 +02:00
|
|
|
URL: https://invisible-island.net/xterm/xterm.html
|
|
|
|
Source: https://invisible-mirror.net/archives/xterm/xterm-%{version}.tgz
|
|
|
|
Source1: https://invisible-mirror.net/archives/xterm/xterm-%{version}.tgz.asc
|
2013-05-29 16:46:55 +02:00
|
|
|
Source2: luitx
|
2007-01-16 00:44:00 +01:00
|
|
|
Source3: Backarrow2Delete
|
|
|
|
Source4: Backarrow2BackSpace
|
2014-08-12 18:08:26 +02:00
|
|
|
Source5: README.SUSE
|
2007-01-16 00:44:00 +01:00
|
|
|
Source6: terminal.png
|
|
|
|
Source8: 20x20ja.bdf.bz2
|
|
|
|
Source9: 20x20ko.bdf.bz2
|
2014-12-16 16:35:34 +01:00
|
|
|
Source11: xterm.keyring
|
2007-07-13 19:24:44 +02:00
|
|
|
# Snoop for the escape sequence assignment of the keypad
|
|
|
|
Source20: snooper.tar.bz2
|
2021-01-25 11:12:45 +01:00
|
|
|
Patch1: xterm-suse.patch
|
2013-09-27 15:48:16 +02:00
|
|
|
Patch2: xterm-sigwinch.patch
|
|
|
|
Patch3: xterm-double_width_fonts.patch
|
|
|
|
Patch4: xterm-desktop_file_icon.patch
|
|
|
|
Patch5: xterm-forbid_window_and_font_ops.patch
|
|
|
|
Patch7: xterm-allow_iso-utf_fonts_in_menu.patch
|
2014-06-12 18:42:44 +02:00
|
|
|
Patch8: xterm-decomposed_bitmaps.patch
|
2014-12-16 16:35:34 +01:00
|
|
|
Patch9: xterm-desktop-item-in-gnome-utilities-appfolder.patch
|
2023-10-17 09:42:42 +02:00
|
|
|
BuildRequires: bdftopcf
|
Accepting request 572173 from home:avindra
- Patch #331 - 2017/12/30
* add workaround for improper grayscale adjustments made in
FreeType library, exposed by changes to rounding in 2.8.1,
which shows up as a gap in line-drawing characters
* improve a special case where a non-Unicode font's line-drawing
characters were not used, when specifying it via the utf8Fonts
resource.
* replace constant 10msec delay for next X event with new resource
nextEventDelay, and reduce that to 1msec to accommodate faster
machines than used when -hold was implemented in 1999
* add scroll-to action, which simplifies binding a key to scroll
to the beginning or end of the saved-lines
* add building blocks for alternate screen and/or title-stack
features in the terminfo file.
* improve calculations for cell-data size.
* configure script: enable XHTML/SVG screen dumps by default.
* configure script: enable 256-colors by default.
* update config.guess, config.sub
* configure script: option for --with-man2html to use improved
script by default.
* add case for private mode 1044 in DECRQM, to report the
keepClipboard resource setting and corresponding menu entry.
* fix an inconsistency between private mode 12 (the AT&T 610
cursor blink) and DECSCUSR: the former relied on having the
cursorBlink resource set initially to enable the escape sequence,
while the latter does not.
* add private modes 13 and 14, as well as resource cursorBlinkXOR
to allow better control over the cursor-blinking state
* modify the html and svg screen dumps to support direct color
* modify media copy (screen-printing) to support the same SGR
codes as DECRQSS, including 88/256 indexed color as well as
direct color.
* improve options-parsing for query-status.pl script.
* modify parsing of SGR direct-color control making color space
identitier optional. The corresponding DECRQSS reply always
returns an empty (default) field for the identifier.
* add wide-attributes to DECRQSS reply for SGR.
* add private mode 1046 to help with scripting applications.
* correct expression used for readline-flags in DECRQM; to test
the current flag rather than information stacked within the
same variable.
* correct typo in ctlseqs.ms reference to ISO-8613-6
* fix lintian warning for test-package.
* fix typo in DECRQSS for SGR 48, which printed the foreground
value for colors past 15. Also use colon delimiter for codes
38/48 in response
* improve workaround for Debian #542434 by using the font's
maximum width when no ISO-8859-1 glyphs are provided
* work around a special case of Xft's mismanagement of its
cached data by adding a check before the -report-fonts option
to ensure that it does not use an XftPattern which may have been
freed during a call to XftFontOpenPattern.
* improve manual page description of regex option for onXClicks
resources
* add directColor resource.
* additional manpage macro cleanup
* add optional support for direct-colors
* improve legacy/NRC character set mapping:
+ enable alternate NRC set designators for French and French
Canadian, ‘9’ and ‘f’ respectively, as documented in ctlseqs.
(‘9’ is documented for VT510, ‘f’ is a Kermit feature).
+ correct the Unicode value in the DEC Technical table to show
capital delta.
+ referring to
* http://vt100.net/docs/vt220-rm/table2-3b.html
* http://vt100.net/docs/vt320-uu/appendixe.html
+ add entries for the DEC Supplemental Graphics table to display
0x28/0xa8 as ¤ and 0x5d/0xdd as Ÿ.
referring to
* http://www.vt100.net/charsets/technical.html
* alter the Unicode values used for 0x2b through 0x2c to use
curly braces to work with the “middle” parts displayed with
0x2f and 0x30.
+ modify the VT220 “Supplemental” table, giving a hint that it
was probably meant to be “Supplemental Graphics” and is the
same as VT320's table.
* quiet a few font-warnings when a derived fontname cannot be
opened, overlooked in refactoring of font resources in patch #328
* correct error response for DECRQSS broken in cleanup of
Coverity reports in patch #288
* improve DECRPM responses by returning mode not recognized for
modes which may not be settable due to the selected
decTerminalID resource
* correct logic for print-immediate action, and enable
corresponding menu entry
* add configure option --with-pcre2
* fix a misspelled subsection title in ctlseqs.ms and add a note
regarding blink which was rendered as bold in X11R6. Blinking
text was implemented in Patch #60.
* fix typos in xterm.man
* fix typography in xterm.man
* fix typo in INSTALL
* add xterm-direct terminal description based on changes
introduced in patch #277, and relying upon ncurses RGB extension.
* modify xterm-new terminal description to use ECMA-48 REP,
reflecting its use in xterm since patch #32 (1996).
* clarify comment in ctlseqs.ms regarding blink: it has been
part of xterm since patch #60 (1998).
* update ftp URLs in documentation.
OBS-URL: https://build.opensuse.org/request/show/572173
OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=151
2018-02-19 14:26:54 +01:00
|
|
|
BuildRequires: groff
|
2014-12-16 16:35:34 +01:00
|
|
|
BuildRequires: ncurses-devel
|
Accepting request 572173 from home:avindra
- Patch #331 - 2017/12/30
* add workaround for improper grayscale adjustments made in
FreeType library, exposed by changes to rounding in 2.8.1,
which shows up as a gap in line-drawing characters
* improve a special case where a non-Unicode font's line-drawing
characters were not used, when specifying it via the utf8Fonts
resource.
* replace constant 10msec delay for next X event with new resource
nextEventDelay, and reduce that to 1msec to accommodate faster
machines than used when -hold was implemented in 1999
* add scroll-to action, which simplifies binding a key to scroll
to the beginning or end of the saved-lines
* add building blocks for alternate screen and/or title-stack
features in the terminfo file.
* improve calculations for cell-data size.
* configure script: enable XHTML/SVG screen dumps by default.
* configure script: enable 256-colors by default.
* update config.guess, config.sub
* configure script: option for --with-man2html to use improved
script by default.
* add case for private mode 1044 in DECRQM, to report the
keepClipboard resource setting and corresponding menu entry.
* fix an inconsistency between private mode 12 (the AT&T 610
cursor blink) and DECSCUSR: the former relied on having the
cursorBlink resource set initially to enable the escape sequence,
while the latter does not.
* add private modes 13 and 14, as well as resource cursorBlinkXOR
to allow better control over the cursor-blinking state
* modify the html and svg screen dumps to support direct color
* modify media copy (screen-printing) to support the same SGR
codes as DECRQSS, including 88/256 indexed color as well as
direct color.
* improve options-parsing for query-status.pl script.
* modify parsing of SGR direct-color control making color space
identitier optional. The corresponding DECRQSS reply always
returns an empty (default) field for the identifier.
* add wide-attributes to DECRQSS reply for SGR.
* add private mode 1046 to help with scripting applications.
* correct expression used for readline-flags in DECRQM; to test
the current flag rather than information stacked within the
same variable.
* correct typo in ctlseqs.ms reference to ISO-8613-6
* fix lintian warning for test-package.
* fix typo in DECRQSS for SGR 48, which printed the foreground
value for colors past 15. Also use colon delimiter for codes
38/48 in response
* improve workaround for Debian #542434 by using the font's
maximum width when no ISO-8859-1 glyphs are provided
* work around a special case of Xft's mismanagement of its
cached data by adding a check before the -report-fonts option
to ensure that it does not use an XftPattern which may have been
freed during a call to XftFontOpenPattern.
* improve manual page description of regex option for onXClicks
resources
* add directColor resource.
* additional manpage macro cleanup
* add optional support for direct-colors
* improve legacy/NRC character set mapping:
+ enable alternate NRC set designators for French and French
Canadian, ‘9’ and ‘f’ respectively, as documented in ctlseqs.
(‘9’ is documented for VT510, ‘f’ is a Kermit feature).
+ correct the Unicode value in the DEC Technical table to show
capital delta.
+ referring to
* http://vt100.net/docs/vt220-rm/table2-3b.html
* http://vt100.net/docs/vt320-uu/appendixe.html
+ add entries for the DEC Supplemental Graphics table to display
0x28/0xa8 as ¤ and 0x5d/0xdd as Ÿ.
referring to
* http://www.vt100.net/charsets/technical.html
* alter the Unicode values used for 0x2b through 0x2c to use
curly braces to work with the “middle” parts displayed with
0x2f and 0x30.
+ modify the VT220 “Supplemental” table, giving a hint that it
was probably meant to be “Supplemental Graphics” and is the
same as VT320's table.
* quiet a few font-warnings when a derived fontname cannot be
opened, overlooked in refactoring of font resources in patch #328
* correct error response for DECRQSS broken in cleanup of
Coverity reports in patch #288
* improve DECRPM responses by returning mode not recognized for
modes which may not be settable due to the selected
decTerminalID resource
* correct logic for print-immediate action, and enable
corresponding menu entry
* add configure option --with-pcre2
* fix a misspelled subsection title in ctlseqs.ms and add a note
regarding blink which was rendered as bold in X11R6. Blinking
text was implemented in Patch #60.
* fix typos in xterm.man
* fix typography in xterm.man
* fix typo in INSTALL
* add xterm-direct terminal description based on changes
introduced in patch #277, and relying upon ncurses RGB extension.
* modify xterm-new terminal description to use ECMA-48 REP,
reflecting its use in xterm since patch #32 (1996).
* clarify comment in ctlseqs.ms regarding blink: it has been
part of xterm since patch #60 (1998).
* update ftp URLs in documentation.
OBS-URL: https://build.opensuse.org/request/show/572173
OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=151
2018-02-19 14:26:54 +01:00
|
|
|
BuildRequires: pkgconfig
|
2014-12-16 16:35:34 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2023-10-17 09:42:42 +02:00
|
|
|
BuildRequires: utempter-devel
|
2018-04-24 12:52:40 +02:00
|
|
|
BuildRequires: pkgconfig(freetype2)
|
2023-10-17 09:42:42 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(x11-xcb)
|
|
|
|
BuildRequires: pkgconfig(xaw7)
|
|
|
|
BuildRequires: pkgconfig(xft)
|
|
|
|
Requires: luit
|
|
|
|
Recommends: xorg-x11-fonts-legacy
|
Accepting request 572173 from home:avindra
- Patch #331 - 2017/12/30
* add workaround for improper grayscale adjustments made in
FreeType library, exposed by changes to rounding in 2.8.1,
which shows up as a gap in line-drawing characters
* improve a special case where a non-Unicode font's line-drawing
characters were not used, when specifying it via the utf8Fonts
resource.
* replace constant 10msec delay for next X event with new resource
nextEventDelay, and reduce that to 1msec to accommodate faster
machines than used when -hold was implemented in 1999
* add scroll-to action, which simplifies binding a key to scroll
to the beginning or end of the saved-lines
* add building blocks for alternate screen and/or title-stack
features in the terminfo file.
* improve calculations for cell-data size.
* configure script: enable XHTML/SVG screen dumps by default.
* configure script: enable 256-colors by default.
* update config.guess, config.sub
* configure script: option for --with-man2html to use improved
script by default.
* add case for private mode 1044 in DECRQM, to report the
keepClipboard resource setting and corresponding menu entry.
* fix an inconsistency between private mode 12 (the AT&T 610
cursor blink) and DECSCUSR: the former relied on having the
cursorBlink resource set initially to enable the escape sequence,
while the latter does not.
* add private modes 13 and 14, as well as resource cursorBlinkXOR
to allow better control over the cursor-blinking state
* modify the html and svg screen dumps to support direct color
* modify media copy (screen-printing) to support the same SGR
codes as DECRQSS, including 88/256 indexed color as well as
direct color.
* improve options-parsing for query-status.pl script.
* modify parsing of SGR direct-color control making color space
identitier optional. The corresponding DECRQSS reply always
returns an empty (default) field for the identifier.
* add wide-attributes to DECRQSS reply for SGR.
* add private mode 1046 to help with scripting applications.
* correct expression used for readline-flags in DECRQM; to test
the current flag rather than information stacked within the
same variable.
* correct typo in ctlseqs.ms reference to ISO-8613-6
* fix lintian warning for test-package.
* fix typo in DECRQSS for SGR 48, which printed the foreground
value for colors past 15. Also use colon delimiter for codes
38/48 in response
* improve workaround for Debian #542434 by using the font's
maximum width when no ISO-8859-1 glyphs are provided
* work around a special case of Xft's mismanagement of its
cached data by adding a check before the -report-fonts option
to ensure that it does not use an XftPattern which may have been
freed during a call to XftFontOpenPattern.
* improve manual page description of regex option for onXClicks
resources
* add directColor resource.
* additional manpage macro cleanup
* add optional support for direct-colors
* improve legacy/NRC character set mapping:
+ enable alternate NRC set designators for French and French
Canadian, ‘9’ and ‘f’ respectively, as documented in ctlseqs.
(‘9’ is documented for VT510, ‘f’ is a Kermit feature).
+ correct the Unicode value in the DEC Technical table to show
capital delta.
+ referring to
* http://vt100.net/docs/vt220-rm/table2-3b.html
* http://vt100.net/docs/vt320-uu/appendixe.html
+ add entries for the DEC Supplemental Graphics table to display
0x28/0xa8 as ¤ and 0x5d/0xdd as Ÿ.
referring to
* http://www.vt100.net/charsets/technical.html
* alter the Unicode values used for 0x2b through 0x2c to use
curly braces to work with the “middle” parts displayed with
0x2f and 0x30.
+ modify the VT220 “Supplemental” table, giving a hint that it
was probably meant to be “Supplemental Graphics” and is the
same as VT320's table.
* quiet a few font-warnings when a derived fontname cannot be
opened, overlooked in refactoring of font resources in patch #328
* correct error response for DECRQSS broken in cleanup of
Coverity reports in patch #288
* improve DECRPM responses by returning mode not recognized for
modes which may not be settable due to the selected
decTerminalID resource
* correct logic for print-immediate action, and enable
corresponding menu entry
* add configure option --with-pcre2
* fix a misspelled subsection title in ctlseqs.ms and add a note
regarding blink which was rendered as bold in X11R6. Blinking
text was implemented in Patch #60.
* fix typos in xterm.man
* fix typography in xterm.man
* fix typo in INSTALL
* add xterm-direct terminal description based on changes
introduced in patch #277, and relying upon ncurses RGB extension.
* modify xterm-new terminal description to use ECMA-48 REP,
reflecting its use in xterm since patch #32 (1996).
* clarify comment in ctlseqs.ms regarding blink: it has been
part of xterm since patch #60 (1998).
* update ftp URLs in documentation.
OBS-URL: https://build.opensuse.org/request/show/572173
OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=151
2018-02-19 14:26:54 +01:00
|
|
|
Provides: XFree86:%{_prefix}/X11R6/bin/xterm
|
|
|
|
Provides: xorg-x11:%{_prefix}/X11R6/bin/xterm
|
2014-12-16 16:35:34 +01:00
|
|
|
%if %{splitbin}
|
|
|
|
Requires: %{name}-bin
|
|
|
|
%endif
|
2012-10-05 13:11:42 +02:00
|
|
|
%if 0%{?suse_version} > 1220
|
2014-12-16 16:35:34 +01:00
|
|
|
BuildRequires: fontpackages-devel
|
|
|
|
%endif
|
2023-10-03 16:04:53 +02:00
|
|
|
%if 0%{?suse_version} > 1220
|
|
|
|
%reconfigure_fonts_prereq
|
|
|
|
%endif
|
2007-01-16 00:44:00 +01:00
|
|
|
|
|
|
|
%description
|
2014-12-16 16:35:34 +01:00
|
|
|
%if %{splitbin}
|
|
|
|
This package contains the basic X.Org terminal program desktop launcher.
|
|
|
|
|
|
|
|
%package bin
|
|
|
|
Summary: The basic X terminal program
|
|
|
|
Group: System/X11/Utilities
|
2021-12-09 11:13:15 +01:00
|
|
|
Requires: xterm-resize = %{version}-%{release}
|
2014-12-16 16:35:34 +01:00
|
|
|
|
|
|
|
%description bin
|
|
|
|
%endif
|
2007-01-16 00:44:00 +01:00
|
|
|
This package contains the basic X.Org terminal program.
|
|
|
|
|
2021-12-09 11:13:15 +01:00
|
|
|
%package resize
|
|
|
|
Summary: Set environment and terminal settings to current window size
|
|
|
|
Group: System/X11/Utilities
|
|
|
|
|
|
|
|
%description resize
|
|
|
|
Prints a shell command for setting the appropriate environment variables to
|
|
|
|
indicate the current size of the window from which the command is run.
|
|
|
|
|
2007-01-16 00:44:00 +01:00
|
|
|
%prep
|
2021-01-25 11:12:45 +01:00
|
|
|
%autosetup -p1
|
2014-12-16 16:35:34 +01:00
|
|
|
cp -t . %{SOURCE8} %{SOURCE9}
|
|
|
|
bunzip2 %{basename:%{SOURCE8}} %{basename:%{SOURCE9}}
|
2007-01-16 00:44:00 +01:00
|
|
|
|
|
|
|
%build
|
2014-12-16 16:35:34 +01:00
|
|
|
%define xappdefs %{_datadir}/X11/app-defaults
|
|
|
|
%define xfontsd %{_datadir}/fonts
|
2023-10-17 09:42:42 +02:00
|
|
|
%define xterminfo %{_prefix}/lib/X11%{_sysconfdir}
|
2011-03-16 11:35:37 +01:00
|
|
|
|
2011-02-17 14:55:41 +01:00
|
|
|
%configure \
|
|
|
|
--enable-256-color \
|
|
|
|
--enable-dec-locator \
|
|
|
|
--enable-hp-fkeys \
|
|
|
|
--enable-luit \
|
|
|
|
--enable-mini-luit \
|
|
|
|
--enable-sco-fkeys \
|
|
|
|
--enable-wide-chars \
|
|
|
|
--with-utempter \
|
|
|
|
--with-tty-group=tty \
|
2012-01-22 12:41:31 +01:00
|
|
|
--with-app-defaults=%{xappdefs} \
|
2012-07-24 09:33:38 +02:00
|
|
|
--enable-backarrow-is-erase \
|
2014-06-10 15:29:44 +02:00
|
|
|
--enable-sixel-graphics \
|
2012-01-22 12:41:31 +01:00
|
|
|
|
2015-01-05 14:51:05 +01:00
|
|
|
#ensure we do not lose FreeType support (boo#911683)
|
|
|
|
grep "#define XRENDERFONT 1" xtermcfg.h
|
2021-01-25 11:12:45 +01:00
|
|
|
%make_build
|
2011-03-16 11:35:37 +01:00
|
|
|
|
2013-02-19 15:24:58 +01:00
|
|
|
if ! which bdftopcf &> /dev/null; then exit 1; fi
|
2007-01-16 00:44:00 +01:00
|
|
|
for i in *.bdf
|
|
|
|
do
|
2017-05-03 14:32:43 +02:00
|
|
|
bdftopcf "$i" | gzip -n -9 >"${i%.bdf}.pcf.gz"
|
2007-01-16 00:44:00 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
%install
|
Accepting request 572173 from home:avindra
- Patch #331 - 2017/12/30
* add workaround for improper grayscale adjustments made in
FreeType library, exposed by changes to rounding in 2.8.1,
which shows up as a gap in line-drawing characters
* improve a special case where a non-Unicode font's line-drawing
characters were not used, when specifying it via the utf8Fonts
resource.
* replace constant 10msec delay for next X event with new resource
nextEventDelay, and reduce that to 1msec to accommodate faster
machines than used when -hold was implemented in 1999
* add scroll-to action, which simplifies binding a key to scroll
to the beginning or end of the saved-lines
* add building blocks for alternate screen and/or title-stack
features in the terminfo file.
* improve calculations for cell-data size.
* configure script: enable XHTML/SVG screen dumps by default.
* configure script: enable 256-colors by default.
* update config.guess, config.sub
* configure script: option for --with-man2html to use improved
script by default.
* add case for private mode 1044 in DECRQM, to report the
keepClipboard resource setting and corresponding menu entry.
* fix an inconsistency between private mode 12 (the AT&T 610
cursor blink) and DECSCUSR: the former relied on having the
cursorBlink resource set initially to enable the escape sequence,
while the latter does not.
* add private modes 13 and 14, as well as resource cursorBlinkXOR
to allow better control over the cursor-blinking state
* modify the html and svg screen dumps to support direct color
* modify media copy (screen-printing) to support the same SGR
codes as DECRQSS, including 88/256 indexed color as well as
direct color.
* improve options-parsing for query-status.pl script.
* modify parsing of SGR direct-color control making color space
identitier optional. The corresponding DECRQSS reply always
returns an empty (default) field for the identifier.
* add wide-attributes to DECRQSS reply for SGR.
* add private mode 1046 to help with scripting applications.
* correct expression used for readline-flags in DECRQM; to test
the current flag rather than information stacked within the
same variable.
* correct typo in ctlseqs.ms reference to ISO-8613-6
* fix lintian warning for test-package.
* fix typo in DECRQSS for SGR 48, which printed the foreground
value for colors past 15. Also use colon delimiter for codes
38/48 in response
* improve workaround for Debian #542434 by using the font's
maximum width when no ISO-8859-1 glyphs are provided
* work around a special case of Xft's mismanagement of its
cached data by adding a check before the -report-fonts option
to ensure that it does not use an XftPattern which may have been
freed during a call to XftFontOpenPattern.
* improve manual page description of regex option for onXClicks
resources
* add directColor resource.
* additional manpage macro cleanup
* add optional support for direct-colors
* improve legacy/NRC character set mapping:
+ enable alternate NRC set designators for French and French
Canadian, ‘9’ and ‘f’ respectively, as documented in ctlseqs.
(‘9’ is documented for VT510, ‘f’ is a Kermit feature).
+ correct the Unicode value in the DEC Technical table to show
capital delta.
+ referring to
* http://vt100.net/docs/vt220-rm/table2-3b.html
* http://vt100.net/docs/vt320-uu/appendixe.html
+ add entries for the DEC Supplemental Graphics table to display
0x28/0xa8 as ¤ and 0x5d/0xdd as Ÿ.
referring to
* http://www.vt100.net/charsets/technical.html
* alter the Unicode values used for 0x2b through 0x2c to use
curly braces to work with the “middle” parts displayed with
0x2f and 0x30.
+ modify the VT220 “Supplemental” table, giving a hint that it
was probably meant to be “Supplemental Graphics” and is the
same as VT320's table.
* quiet a few font-warnings when a derived fontname cannot be
opened, overlooked in refactoring of font resources in patch #328
* correct error response for DECRQSS broken in cleanup of
Coverity reports in patch #288
* improve DECRPM responses by returning mode not recognized for
modes which may not be settable due to the selected
decTerminalID resource
* correct logic for print-immediate action, and enable
corresponding menu entry
* add configure option --with-pcre2
* fix a misspelled subsection title in ctlseqs.ms and add a note
regarding blink which was rendered as bold in X11R6. Blinking
text was implemented in Patch #60.
* fix typos in xterm.man
* fix typography in xterm.man
* fix typo in INSTALL
* add xterm-direct terminal description based on changes
introduced in patch #277, and relying upon ncurses RGB extension.
* modify xterm-new terminal description to use ECMA-48 REP,
reflecting its use in xterm since patch #32 (1996).
* clarify comment in ctlseqs.ms regarding blink: it has been
part of xterm since patch #60 (1998).
* update ftp URLs in documentation.
OBS-URL: https://build.opensuse.org/request/show/572173
OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=151
2018-02-19 14:26:54 +01:00
|
|
|
%make_install
|
2011-03-16 11:35:37 +01:00
|
|
|
|
2014-12-16 16:35:34 +01:00
|
|
|
mkdir -p %{buildroot}%{xterminfo}
|
|
|
|
install -m 644 terminfo %{buildroot}%{xterminfo}/xterm.terminfo
|
|
|
|
install -m 644 termcap %{buildroot}%{xterminfo}/xterm.termcap
|
2011-03-16 11:35:37 +01:00
|
|
|
|
Accepting request 572173 from home:avindra
- Patch #331 - 2017/12/30
* add workaround for improper grayscale adjustments made in
FreeType library, exposed by changes to rounding in 2.8.1,
which shows up as a gap in line-drawing characters
* improve a special case where a non-Unicode font's line-drawing
characters were not used, when specifying it via the utf8Fonts
resource.
* replace constant 10msec delay for next X event with new resource
nextEventDelay, and reduce that to 1msec to accommodate faster
machines than used when -hold was implemented in 1999
* add scroll-to action, which simplifies binding a key to scroll
to the beginning or end of the saved-lines
* add building blocks for alternate screen and/or title-stack
features in the terminfo file.
* improve calculations for cell-data size.
* configure script: enable XHTML/SVG screen dumps by default.
* configure script: enable 256-colors by default.
* update config.guess, config.sub
* configure script: option for --with-man2html to use improved
script by default.
* add case for private mode 1044 in DECRQM, to report the
keepClipboard resource setting and corresponding menu entry.
* fix an inconsistency between private mode 12 (the AT&T 610
cursor blink) and DECSCUSR: the former relied on having the
cursorBlink resource set initially to enable the escape sequence,
while the latter does not.
* add private modes 13 and 14, as well as resource cursorBlinkXOR
to allow better control over the cursor-blinking state
* modify the html and svg screen dumps to support direct color
* modify media copy (screen-printing) to support the same SGR
codes as DECRQSS, including 88/256 indexed color as well as
direct color.
* improve options-parsing for query-status.pl script.
* modify parsing of SGR direct-color control making color space
identitier optional. The corresponding DECRQSS reply always
returns an empty (default) field for the identifier.
* add wide-attributes to DECRQSS reply for SGR.
* add private mode 1046 to help with scripting applications.
* correct expression used for readline-flags in DECRQM; to test
the current flag rather than information stacked within the
same variable.
* correct typo in ctlseqs.ms reference to ISO-8613-6
* fix lintian warning for test-package.
* fix typo in DECRQSS for SGR 48, which printed the foreground
value for colors past 15. Also use colon delimiter for codes
38/48 in response
* improve workaround for Debian #542434 by using the font's
maximum width when no ISO-8859-1 glyphs are provided
* work around a special case of Xft's mismanagement of its
cached data by adding a check before the -report-fonts option
to ensure that it does not use an XftPattern which may have been
freed during a call to XftFontOpenPattern.
* improve manual page description of regex option for onXClicks
resources
* add directColor resource.
* additional manpage macro cleanup
* add optional support for direct-colors
* improve legacy/NRC character set mapping:
+ enable alternate NRC set designators for French and French
Canadian, ‘9’ and ‘f’ respectively, as documented in ctlseqs.
(‘9’ is documented for VT510, ‘f’ is a Kermit feature).
+ correct the Unicode value in the DEC Technical table to show
capital delta.
+ referring to
* http://vt100.net/docs/vt220-rm/table2-3b.html
* http://vt100.net/docs/vt320-uu/appendixe.html
+ add entries for the DEC Supplemental Graphics table to display
0x28/0xa8 as ¤ and 0x5d/0xdd as Ÿ.
referring to
* http://www.vt100.net/charsets/technical.html
* alter the Unicode values used for 0x2b through 0x2c to use
curly braces to work with the “middle” parts displayed with
0x2f and 0x30.
+ modify the VT220 “Supplemental” table, giving a hint that it
was probably meant to be “Supplemental Graphics” and is the
same as VT320's table.
* quiet a few font-warnings when a derived fontname cannot be
opened, overlooked in refactoring of font resources in patch #328
* correct error response for DECRQSS broken in cleanup of
Coverity reports in patch #288
* improve DECRPM responses by returning mode not recognized for
modes which may not be settable due to the selected
decTerminalID resource
* correct logic for print-immediate action, and enable
corresponding menu entry
* add configure option --with-pcre2
* fix a misspelled subsection title in ctlseqs.ms and add a note
regarding blink which was rendered as bold in X11R6. Blinking
text was implemented in Patch #60.
* fix typos in xterm.man
* fix typography in xterm.man
* fix typo in INSTALL
* add xterm-direct terminal description based on changes
introduced in patch #277, and relying upon ncurses RGB extension.
* modify xterm-new terminal description to use ECMA-48 REP,
reflecting its use in xterm since patch #32 (1996).
* clarify comment in ctlseqs.ms regarding blink: it has been
part of xterm since patch #60 (1998).
* update ftp URLs in documentation.
OBS-URL: https://build.opensuse.org/request/show/572173
OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=151
2018-02-19 14:26:54 +01:00
|
|
|
install -m 755 $RPM_SOURCE_DIR/luitx %{buildroot}%{_bindir}
|
|
|
|
install -m 755 $RPM_SOURCE_DIR/Backarrow2Delete %{buildroot}%{_bindir}
|
|
|
|
install -m 755 $RPM_SOURCE_DIR/Backarrow2BackSpace %{buildroot}%{_bindir}
|
2014-08-12 18:08:26 +02:00
|
|
|
install -m 644 $RPM_SOURCE_DIR/README.SUSE .
|
2011-03-16 11:35:37 +01:00
|
|
|
|
2014-12-16 16:35:34 +01:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
2007-01-16 00:44:00 +01:00
|
|
|
install -m 644 $RPM_SOURCE_DIR/terminal.png \
|
2014-12-16 16:35:34 +01:00
|
|
|
%{buildroot}%{_datadir}/pixmaps
|
2011-03-16 11:35:37 +01:00
|
|
|
|
2014-12-16 16:35:34 +01:00
|
|
|
mkdir -p %{buildroot}%{xfontsd}/misc/
|
|
|
|
install -m 644 *.pcf.gz %{buildroot}%{xfontsd}/misc/
|
2007-01-16 00:44:00 +01:00
|
|
|
%suse_update_desktop_file -i xterm TerminalEmulator
|
|
|
|
|
2012-10-11 16:17:23 +02:00
|
|
|
%if 0%{?suse_version} > 1220
|
Accepting request 572173 from home:avindra
- Patch #331 - 2017/12/30
* add workaround for improper grayscale adjustments made in
FreeType library, exposed by changes to rounding in 2.8.1,
which shows up as a gap in line-drawing characters
* improve a special case where a non-Unicode font's line-drawing
characters were not used, when specifying it via the utf8Fonts
resource.
* replace constant 10msec delay for next X event with new resource
nextEventDelay, and reduce that to 1msec to accommodate faster
machines than used when -hold was implemented in 1999
* add scroll-to action, which simplifies binding a key to scroll
to the beginning or end of the saved-lines
* add building blocks for alternate screen and/or title-stack
features in the terminfo file.
* improve calculations for cell-data size.
* configure script: enable XHTML/SVG screen dumps by default.
* configure script: enable 256-colors by default.
* update config.guess, config.sub
* configure script: option for --with-man2html to use improved
script by default.
* add case for private mode 1044 in DECRQM, to report the
keepClipboard resource setting and corresponding menu entry.
* fix an inconsistency between private mode 12 (the AT&T 610
cursor blink) and DECSCUSR: the former relied on having the
cursorBlink resource set initially to enable the escape sequence,
while the latter does not.
* add private modes 13 and 14, as well as resource cursorBlinkXOR
to allow better control over the cursor-blinking state
* modify the html and svg screen dumps to support direct color
* modify media copy (screen-printing) to support the same SGR
codes as DECRQSS, including 88/256 indexed color as well as
direct color.
* improve options-parsing for query-status.pl script.
* modify parsing of SGR direct-color control making color space
identitier optional. The corresponding DECRQSS reply always
returns an empty (default) field for the identifier.
* add wide-attributes to DECRQSS reply for SGR.
* add private mode 1046 to help with scripting applications.
* correct expression used for readline-flags in DECRQM; to test
the current flag rather than information stacked within the
same variable.
* correct typo in ctlseqs.ms reference to ISO-8613-6
* fix lintian warning for test-package.
* fix typo in DECRQSS for SGR 48, which printed the foreground
value for colors past 15. Also use colon delimiter for codes
38/48 in response
* improve workaround for Debian #542434 by using the font's
maximum width when no ISO-8859-1 glyphs are provided
* work around a special case of Xft's mismanagement of its
cached data by adding a check before the -report-fonts option
to ensure that it does not use an XftPattern which may have been
freed during a call to XftFontOpenPattern.
* improve manual page description of regex option for onXClicks
resources
* add directColor resource.
* additional manpage macro cleanup
* add optional support for direct-colors
* improve legacy/NRC character set mapping:
+ enable alternate NRC set designators for French and French
Canadian, ‘9’ and ‘f’ respectively, as documented in ctlseqs.
(‘9’ is documented for VT510, ‘f’ is a Kermit feature).
+ correct the Unicode value in the DEC Technical table to show
capital delta.
+ referring to
* http://vt100.net/docs/vt220-rm/table2-3b.html
* http://vt100.net/docs/vt320-uu/appendixe.html
+ add entries for the DEC Supplemental Graphics table to display
0x28/0xa8 as ¤ and 0x5d/0xdd as Ÿ.
referring to
* http://www.vt100.net/charsets/technical.html
* alter the Unicode values used for 0x2b through 0x2c to use
curly braces to work with the “middle” parts displayed with
0x2f and 0x30.
+ modify the VT220 “Supplemental” table, giving a hint that it
was probably meant to be “Supplemental Graphics” and is the
same as VT320's table.
* quiet a few font-warnings when a derived fontname cannot be
opened, overlooked in refactoring of font resources in patch #328
* correct error response for DECRQSS broken in cleanup of
Coverity reports in patch #288
* improve DECRPM responses by returning mode not recognized for
modes which may not be settable due to the selected
decTerminalID resource
* correct logic for print-immediate action, and enable
corresponding menu entry
* add configure option --with-pcre2
* fix a misspelled subsection title in ctlseqs.ms and add a note
regarding blink which was rendered as bold in X11R6. Blinking
text was implemented in Patch #60.
* fix typos in xterm.man
* fix typography in xterm.man
* fix typo in INSTALL
* add xterm-direct terminal description based on changes
introduced in patch #277, and relying upon ncurses RGB extension.
* modify xterm-new terminal description to use ECMA-48 REP,
reflecting its use in xterm since patch #32 (1996).
* clarify comment in ctlseqs.ms regarding blink: it has been
part of xterm since patch #60 (1998).
* update ftp URLs in documentation.
OBS-URL: https://build.opensuse.org/request/show/572173
OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=151
2018-02-19 14:26:54 +01:00
|
|
|
%reconfigure_fonts_scriptlets
|
2012-10-11 16:17:23 +02:00
|
|
|
%endif
|
2007-01-16 00:44:00 +01:00
|
|
|
|
2011-03-16 11:35:37 +01:00
|
|
|
%files
|
2014-12-16 16:35:34 +01:00
|
|
|
%{_datadir}/applications/xterm.desktop
|
|
|
|
%{_datadir}/pixmaps/*
|
|
|
|
|
|
|
|
%if %{splitbin}
|
|
|
|
%files bin
|
|
|
|
%endif
|
2014-08-12 18:08:26 +02:00
|
|
|
%doc README README.i18n README.SUSE
|
2014-12-16 16:35:34 +01:00
|
|
|
%{_bindir}/luitx
|
|
|
|
%attr(755,root,root) %{_bindir}/xterm
|
|
|
|
%{_bindir}/uxterm
|
|
|
|
%{_bindir}/koi8rxterm
|
|
|
|
%{_bindir}/Backarrow2Delete
|
|
|
|
%{_bindir}/Backarrow2BackSpace
|
|
|
|
%{_mandir}/man1/xterm.1.gz
|
2008-01-03 18:03:24 +01:00
|
|
|
%{_mandir}/man1/koi8rxterm.1.gz
|
|
|
|
%{_mandir}/man1/uxterm.1.gz
|
2011-03-16 11:35:37 +01:00
|
|
|
%dir %{xterminfo}
|
|
|
|
%{xterminfo}/xterm.termcap
|
|
|
|
%{xterminfo}/xterm.terminfo
|
|
|
|
%dir %{xfontsd}/misc
|
|
|
|
%{xfontsd}/misc/20x20ja.pcf.gz
|
|
|
|
%{xfontsd}/misc/20x20ko.pcf.gz
|
2014-12-22 11:59:41 +01:00
|
|
|
%dir %{xappdefs}
|
2011-03-16 11:35:37 +01:00
|
|
|
%{xappdefs}/KOI8RXTerm
|
|
|
|
%{xappdefs}/KOI8RXTerm-color
|
|
|
|
%{xappdefs}/UXTerm
|
|
|
|
%{xappdefs}/UXTerm-color
|
|
|
|
%{xappdefs}/XTerm
|
|
|
|
%{xappdefs}/XTerm-color
|
2008-01-03 18:03:24 +01:00
|
|
|
|
2021-12-09 11:13:15 +01:00
|
|
|
%files resize
|
|
|
|
%{_bindir}/resize
|
2023-10-17 09:42:42 +02:00
|
|
|
%{_mandir}/man1/resize.1%{?ext_man}
|
2021-12-09 11:13:15 +01:00
|
|
|
|
2007-02-19 23:29:31 +01:00
|
|
|
%changelog
|