Accepting request 279963 from home:pcerny:factory

- Patch #313 - 2014/11/28
  * add regisScreenSize resource setting to allow custom
    screensizes for ReGIS graphics (prompted by discussion with
    Scott Froebe).
  * fix some minor issues in manpage (Jens Schweikhardt).
  * improve ReGIS font-handling (Ross Combs):
     + remove "random junk" generation for unknown characters
     + add xterm extension to load user glyphs for alphabet 0
     + add xterm extension to specify loading an alphabet from a
       font by name
     + fix bug with use of empty alphabet slots which caused slot
       0 to be clobbered
     + update/clarify ReGIS-related comments
     + add DECprint extension for printing/clearing the screen
       (only clearing is performed)
  * improve ReGIS colorspec conversion (Ross Combs):
     + avoid some floating point math for colorspace conversion
     + move two copies of colorspec parsing to a single function
     + change colorspec parsing to handle components being out of
       order or with spaces and commas between them
     + add support for an extension where RGB components can be
       given instead of HLS
  * improve use of const, e.g., for the LineData pointers (patch
    by Ross Combs).
  * clip of graphics that overlap the scrollback buffer and alt
    screen (patch by Ross Combs).
  * amend change to focus-change events in patch #287 to limit it
    to suppressing the reset of the urgency-hint, because some
    useful FocusOut events were lost (report by Joe Peterson).
  * modify dpkg build-script to configure xterm-dev as an

OBS-URL: https://build.opensuse.org/request/show/279963
OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=124
This commit is contained in:
Petr Cerny 2015-01-05 16:33:04 +00:00 committed by Git OBS Bridge
parent c5293143d3
commit 346ba2ee12
11 changed files with 77 additions and 16 deletions

View File

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

3
xterm-313.tgz Normal file
View File

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

View File

@ -2,7 +2,7 @@
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: See http://invisible-island.net/public/public.html for info
iEYEABECAAYFAlQoqo8ACgkQcCNT4PfkjtuHigCgv4FremCCjSb3TuaUKuMO8cI+
AyAAnjdHYVs/B+dx4n0ruXm2zT9jKr8g
=AGQV
iEYEABECAAYFAlR5MpUACgkQcCNT4PfkjtuZwACffkAr6RKkzVLzFiqHRtjkVAvC
xekAn3HEciSKiaOgLl5fTug0OQmk6YVu
=EdV4
-----END PGP SIGNATURE-----

View File

@ -21,7 +21,7 @@ Signed-off-by: Egbert Eich <eich@suse.de>
diff --git a/misc.c b/misc.c
--- a/misc.c
+++ b/misc.c
@@ -2218,16 +2218,18 @@ ReportAnsiColorRequest(XtermWidget xw, i
@@ -2213,16 +2213,18 @@ ReportAnsiColorRequest(XtermWidget xw, i
}
static void

View File

@ -1,11 +1,15 @@
Group the desktop file into the Utilities folder in the GNOME
shell application overview.
diff --git a/xterm.desktop.old b/xterm.desktop
index ea23c9b..5381d02 100644
--- a/xterm.desktop.old
diff --git a/xterm.desktop b/xterm.desktop
--- a/xterm.desktop
+++ b/xterm.desktop
@@ -39,4 +39,4 @@ Terminal=false
@@ -34,9 +34,9 @@
Name=XTerm
#GenericName=Terminal
Comment=standard terminal emulator for the X window system
Exec=xterm
Terminal=false
Type=Application
Encoding=UTF-8
Icon=terminal

View File

@ -1,7 +1,7 @@
diff --git a/fontutils.c b/fontutils.c
--- a/fontutils.c
+++ b/fontutils.c
@@ -702,77 +702,29 @@ is_double_width_font(XFontStruct *fs)
@@ -690,77 +690,29 @@ is_double_width_font(XFontStruct *fs)
{
return ((2 * fs->min_bounds.width) == fs->max_bounds.width);
}

View File

@ -29,7 +29,7 @@ diff --git a/aclocal.m4 b/aclocal.m4
diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -5587,20 +5587,20 @@ echo "$as_me:5586: checking for $cf_test
@@ -5599,20 +5599,20 @@ echo "$as_me:5598: checking for $cf_test
echo $ECHO_N "checking for $cf_test_message function... $ECHO_C" >&6
if test "${cf_cv_lib_tgetent+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6

View File

@ -284,7 +284,7 @@ diff --git a/XTerm.ad b/XTerm.ad
diff --git a/xterm.man b/xterm.man
--- a/xterm.man
+++ b/xterm.man
@@ -4144,19 +4144,23 @@ This option specifies the font to be use
@@ -4157,19 +4157,23 @@ This option specifies the font to be use
in the \*(``OverTheSpot\*('' input method.
.IP
In \*(``OverTheSpot\*('' preedit type, the preedit (preconversion)

View File

@ -1,7 +1,7 @@
diff --git a/screen.c b/screen.c
--- a/screen.c
+++ b/screen.c
@@ -2249,17 +2249,17 @@ ScreenResize(XtermWidget xw,
@@ -2246,17 +2246,17 @@ ScreenResize(XtermWidget xw,
#ifdef USE_STRUCT_WINSIZE
ts.ws_xpixel = (ttySize_t) width;
ts.ws_ypixel = (ttySize_t) height;

View File

@ -1,3 +1,58 @@
-------------------------------------------------------------------
Mon Jan 5 15:57:44 UTC 2015 - pcerny@suse.com
- Patch #313 - 2014/11/28
* add regisScreenSize resource setting to allow custom
screensizes for ReGIS graphics (prompted by discussion with
Scott Froebe).
* fix some minor issues in manpage (Jens Schweikhardt).
* improve ReGIS font-handling (Ross Combs):
+ remove "random junk" generation for unknown characters
+ add xterm extension to load user glyphs for alphabet 0
+ add xterm extension to specify loading an alphabet from a
font by name
+ fix bug with use of empty alphabet slots which caused slot
0 to be clobbered
+ update/clarify ReGIS-related comments
+ add DECprint extension for printing/clearing the screen
(only clearing is performed)
* improve ReGIS colorspec conversion (Ross Combs):
+ avoid some floating point math for colorspace conversion
+ move two copies of colorspec parsing to a single function
+ change colorspec parsing to handle components being out of
order or with spaces and commas between them
+ add support for an extension where RGB components can be
given instead of HLS
* improve use of const, e.g., for the LineData pointers (patch
by Ross Combs).
* clip of graphics that overlap the scrollback buffer and alt
screen (patch by Ross Combs).
* amend change to focus-change events in patch #287 to limit it
to suppressing the reset of the urgency-hint, because some
useful FocusOut events were lost (report by Joe Peterson).
* modify dpkg build-script to configure xterm-dev as an
x-terminal-emulator alternative.
* extend the --with-xterm-symlink feature to make symbolic
links for the other programs and scripts.
* minor fix to vttests/resize.pl to avoid undefined variable
when receiving broken/missing response, e.g., from mrxvt.
* change the way that ReGIS graphics are refreshed (patch by
Ross Combs):
+ it pre-composes any overlapping graphics to avoid
unnecessary and flickering draws
+ it adds a three-dimensional lookup table for RGB -> pixel
values and uses this across all graphics
+ it draws in line segments when there is a run of the same
color
+ in cases where there are no transparent parts, it uses an
XImage to draw
+ it hooks into the double-buffering support if it is
enabled (though this doesn't seem to get rid of all
flicker).
* This has the effect of reducing flicker and speeding up
redraws.
- fix build for SLE 10
-------------------------------------------------------------------
Mon Jan 5 13:41:57 UTC 2015 - dimstar@opensuse.org

View File

@ -19,7 +19,7 @@
%define vttest_version 20120506
%define splitbin 0%{?suse_version} >= 1300
Name: xterm
Version: 312
Version: 313
Release: 0
Summary: The basic X terminal program
License: MIT
@ -216,7 +216,9 @@ install -m 644 *.pcf.gz %{buildroot}%{xfontsd}/misc/
%dir %{xfontsd}/misc
%{xfontsd}/misc/20x20ja.pcf.gz
%{xfontsd}/misc/20x20ko.pcf.gz
%if 0%{?suse_version} > 1050
%dir %{xappdefs}
%endif
%{xappdefs}/KOI8RXTerm
%{xappdefs}/KOI8RXTerm-color
%{xappdefs}/UXTerm