Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xterm-console for openSUSE:Factory checked in at 2021-06-11 00:18:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xterm-console (Old) and /work/SRC/openSUSE:Factory/.xterm-console.new.32437 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xterm-console" Fri Jun 11 00:18:37 2021 rev:2 rq:899342 version:1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/xterm-console/xterm-console.changes 2020-01-29 13:18:19.730168251 +0100 +++ /work/SRC/openSUSE:Factory/.xterm-console.new.32437/xterm-console.changes 2021-06-11 00:19:08.249365265 +0200 @@ -1,0 +2,15 @@ +Thu Jun 10 17:58:04 UTC 2021 - [email protected] + +- Update to version 1.1: + * Bump version number in spec + * Handle glyphs without unicode mapping gracefully + * Fix generating psf2 fonts with multiple codepoints per glyph + * psf2bdf.pl: Support mapping multiple codepoints to a glyph + * Use eurlatgr as font + * Further cleanup of spec-file + * Cleanup spec-file (delete unused symbol; simplify) + * Delete old pre-SLE11 cruft + * Mark as noarch as there are only scripts + * Cleanup spec-file + +------------------------------------------------------------------- New: ---- xterm_console-1.1.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xterm-console.spec ++++++ --- /var/tmp/diff_new_pack.PFD6oN/_old 2021-06-11 00:19:08.761366155 +0200 +++ /var/tmp/diff_new_pack.PFD6oN/_new 2021-06-11 00:19:08.765366161 +0200 @@ -1,7 +1,7 @@ # # spec file for package xterm-console # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: xterm-console -Version: 1.0 +Version: 1.1 Release: 0 Summary: A Linux vt console look-alike xterm wrapper License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.PFD6oN/_old 2021-06-11 00:19:08.789366203 +0200 +++ /var/tmp/diff_new_pack.PFD6oN/_new 2021-06-11 00:19:08.789366203 +0200 @@ -1,3 +1,4 @@ +<?xml version="1.0"?> <services> <service name="obs_scm" mode="disabled"> <param name="extract">psf2bdf.pl</param> ++++++ psf2bdf.pl ++++++ --- /var/tmp/diff_new_pack.PFD6oN/_old 2021-06-11 00:19:08.801366223 +0200 +++ /var/tmp/diff_new_pack.PFD6oN/_new 2021-06-11 00:19:08.801366223 +0200 @@ -23,6 +23,7 @@ my ($length, $width, $height); my (@glyphs, @unicode); + my $unilen = 0; open my $fh, $_ or die $!; binmode $fh; @@ -49,6 +50,7 @@ warn 'Unicode sequence ignored' if $u == 0xFFFE; } $unicode[$i] = [@u]; + $unilen += (scalar @u) - 1 if (scalar @u); } } } @@ -67,6 +69,7 @@ $buf =~ m/\G([^\xfe\xff]*+)(?:\xfe[^\xfe\xff]++)*\xff/sg; utf8::decode(my $str = $1); $unicode[$i] = [map ord, split //, $str]; + $unilen += (scalar @{$unicode[$i]}) - 1 if (scalar @{$unicode[$i]}); } } } @@ -93,22 +96,32 @@ } print "ENDPROPERTIES\n"; - printf "CHARS %u\n", $length; + printf "CHARS %u\n", $length + $unilen; for my $i (0 .. $length - 1) { - printf "STARTCHAR psf%03x\n", $i; - if (@unicode && @{$unicode[$i]}) { - printf "ENCODING %u\n", $unicode[$i][0]; + my @encodings = ($i); + my $is_unicode = 0; + + if(@unicode && @{$unicode[$i]}) { + @encodings = @{$unicode[$i]}; + $is_unicode = 1; } - else { - printf "ENCODING -1 %u\n", $i; + + foreach my $e (@encodings) { + printf "STARTCHAR psf%03x-%04x\n", $i, $e; + if ($is_unicode) { + printf "ENCODING %u\n", $e; + } + else { + printf "ENCODING -1 %u\n", $e; + } + printf "SWIDTH %u 0\n", $width * 1000 / $height; + printf "DWIDTH %u 0\n", $width; + printf "BBX %u %u 0 0\n", $width, $height; + my $bw = (($width + 7) & ~7) >> 3; + printf "BITMAP\n%s\n", join "\n", map unpack('H*', $_), unpack "(a$bw)*", $glyphs[$i]; + printf "ENDCHAR\n"; } - printf "SWIDTH %u 0\n", $width * 1000 / $height; - printf "DWIDTH %u 0\n", $width; - printf "BBX %u %u 0 0\n", $width, $height; - my $bw = (($width + 7) & ~7) >> 3; - printf "BITMAP\n%s\n", join "\n", map unpack('H*', $_), unpack "(a$bw)*", $glyphs[$i]; - printf "ENDCHAR\n"; } print "ENDFONT\n"; ++++++ xterm-console ++++++ --- /var/tmp/diff_new_pack.PFD6oN/_old 2021-06-11 00:19:08.813366244 +0200 +++ /var/tmp/diff_new_pack.PFD6oN/_new 2021-06-11 00:19:08.813366244 +0200 @@ -53,7 +53,7 @@ xx = [ "xterm", # console font - "-fn", "lat9w-16", + "-fn", "eurlatgr", "-fullscreen", # no scrollbar "+sb", ++++++ xterm_console.obsinfo ++++++ --- /var/tmp/diff_new_pack.PFD6oN/_old 2021-06-11 00:19:08.837366287 +0200 +++ /var/tmp/diff_new_pack.PFD6oN/_new 2021-06-11 00:19:08.837366287 +0200 @@ -1,5 +1,5 @@ name: xterm_console -version: 1.0 -mtime: 1580219585 -commit: 580eaafe2972e1e642254c7fc64603a67637c388 +version: 1.1 +mtime: 1623347434 +commit: 2532f1418ee6df6f091c4c0e036a0852f7f4e0b4
