modify
This commit is contained in:
parent
754aec757d
commit
71a1c24da1
24
16colors.txt
24
16colors.txt
@ -1,24 +0,0 @@
|
||||
[0;037;040mANSI-Colors v1.0
|
||||
[0;037;040m(c)1994 by: Pablo Ariel Kohan
|
||||
[0;037;040m |3 9 3 9 3 9 3 9 3 9 3 9 3 9 3 9|
|
||||
[0;037;040m |0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7|
|
||||
[0;037;040m---+-------------------------------+---
|
||||
[0;037;040m040|[0;030;040mX [0;090;040mX [0;031;040mX [0;091;040mX [0;032;040mX [0;092;040mX [0;033;040mX [0;093;040mX [0;034;040mX [0;094;040mX [0;035;040mX [0;095;040mX [0;036;040mX [0;096;040mX [0;037;040mX [0;097;040mX[0;037;040m|040
|
||||
[0;037;040m100|[0;030;100mX [0;090;100mX [0;031;100mX [0;091;100mX [0;032;100mX [0;092;100mX [0;033;100mX [0;093;100mX [0;034;100mX [0;094;100mX [0;035;100mX [0;095;100mX [0;036;100mX [0;096;100mX [0;037;100mX [0;097;100mX[0;037;040m|100
|
||||
[0;037;040m041|[0;030;041mX [0;090;041mX [0;031;041mX [0;091;041mX [0;032;041mX [0;092;041mX [0;033;041mX [0;093;041mX [0;034;041mX [0;094;041mX [0;035;041mX [0;095;041mX [0;036;041mX [0;096;041mX [0;037;041mX [0;097;041mX[0;037;040m|041
|
||||
[0;037;040m101|[0;030;101mX [0;090;101mX [0;031;101mX [0;091;101mX [0;032;101mX [0;092;101mX [0;033;101mX [0;093;101mX [0;034;101mX [0;094;101mX [0;035;101mX [0;095;101mX [0;036;101mX [0;096;101mX [0;037;101mX [0;097;101mX[0;037;040m|101
|
||||
[0;037;040m042|[0;030;042mX [0;090;042mX [0;031;042mX [0;091;042mX [0;032;042mX [0;092;042mX [0;033;042mX [0;093;042mX [0;034;042mX [0;094;042mX [0;035;042mX [0;095;042mX [0;036;042mX [0;096;042mX [0;037;042mX [0;097;042mX[0;037;040m|042
|
||||
[0;037;040m102|[0;030;102mX [0;090;102mX [0;031;102mX [0;091;102mX [0;032;102mX [0;092;102mX [0;033;102mX [0;093;102mX [0;034;102mX [0;094;102mX [0;035;102mX [0;095;102mX [0;036;102mX [0;096;102mX [0;037;102mX [0;097;102mX[0;037;040m|102
|
||||
[0;037;040m043|[0;030;043mX [0;090;043mX [0;031;043mX [0;091;043mX [0;032;043mX [0;092;043mX [0;033;043mX [0;093;043mX [0;034;043mX [0;094;043mX [0;035;043mX [0;095;043mX [0;036;043mX [0;096;043mX [0;037;043mX [0;097;043mX[0;037;040m|043
|
||||
[0;037;040m103|[0;030;103mX [0;090;103mX [0;031;103mX [0;091;103mX [0;032;103mX [0;092;103mX [0;033;103mX [0;093;103mX [0;034;103mX [0;094;103mX [0;035;103mX [0;095;103mX [0;036;103mX [0;096;103mX [0;037;103mX [0;097;103mX[0;037;040m|103
|
||||
[0;037;040m044|[0;030;044mX [0;090;044mX [0;031;044mX [0;091;044mX [0;032;044mX [0;092;044mX [0;033;044mX [0;093;044mX [0;034;044mX [0;094;044mX [0;035;044mX [0;095;044mX [0;036;044mX [0;096;044mX [0;037;044mX [0;097;044mX[0;037;040m|044
|
||||
[0;037;040m104|[0;030;104mX [0;090;104mX [0;031;104mX [0;091;104mX [0;032;104mX [0;092;104mX [0;033;104mX [0;093;104mX [0;034;104mX [0;094;104mX [0;035;104mX [0;095;104mX [0;036;104mX [0;096;104mX [0;037;104mX [0;097;104mX[0;037;040m|104
|
||||
[0;037;040m045|[0;030;045mX [0;090;045mX [0;031;045mX [0;091;045mX [0;032;045mX [0;092;045mX [0;033;045mX [0;093;045mX [0;034;045mX [0;094;045mX [0;035;045mX [0;095;045mX [0;036;045mX [0;096;045mX [0;037;045mX [0;097;045mX[0;037;040m|045
|
||||
[0;037;040m105|[0;030;105mX [0;090;105mX [0;031;105mX [0;091;105mX [0;032;105mX [0;092;105mX [0;033;105mX [0;093;105mX [0;034;105mX [0;094;105mX [0;035;105mX [0;095;105mX [0;036;105mX [0;096;105mX [0;037;105mX [0;097;105mX[0;037;040m|105
|
||||
[0;037;040m046|[0;030;046mX [0;090;046mX [0;031;046mX [0;091;046mX [0;032;046mX [0;092;046mX [0;033;046mX [0;093;046mX [0;034;046mX [0;094;046mX [0;035;046mX [0;095;046mX [0;036;046mX [0;096;046mX [0;037;046mX [0;097;046mX[0;037;040m|046
|
||||
[0;037;040m106|[0;030;106mX [0;090;106mX [0;031;106mX [0;091;106mX [0;032;106mX [0;092;106mX [0;033;106mX [0;093;106mX [0;034;106mX [0;094;106mX [0;035;106mX [0;095;106mX [0;036;106mX [0;096;106mX [0;037;106mX [0;097;106mX[0;037;040m|106
|
||||
[0;037;040m047|[0;030;047mX [0;090;047mX [0;031;047mX [0;091;047mX [0;032;047mX [0;092;047mX [0;033;047mX [0;093;047mX [0;034;047mX [0;094;047mX [0;035;047mX [0;095;047mX [0;036;047mX [0;096;047mX [0;037;047mX [0;097;047mX[0;037;040m|047
|
||||
[0;037;040m107|[0;030;107mX [0;090;107mX [0;031;107mX [0;091;107mX [0;032;107mX [0;092;107mX [0;033;107mX [0;093;107mX [0;034;107mX [0;094;107mX [0;035;107mX [0;095;107mX [0;036;107mX [0;096;107mX [0;037;107mX [0;097;107mX[0;037;040m|107
|
||||
[0;037;040m---+-------------------------------+---
|
||||
[0;037;040m |3 9 3 9 3 9 3 9 3 9 3 9 3 9 3 9|
|
||||
[0;037;040m |0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7|
|
||||
@ -1,15 +0,0 @@
|
||||
diff -up xterm-333/XTerm.ad.defaults xterm-333/XTerm.ad
|
||||
--- xterm-333/XTerm.ad.defaults 2016-12-22 03:07:39.000000000 +0100
|
||||
+++ xterm-333/XTerm.ad 2018-05-30 15:44:53.325426803 +0200
|
||||
@@ -259,3 +259,11 @@
|
||||
!*allowTcapOps: false
|
||||
!*allowTitleOps: false
|
||||
!*allowWindowOps: false
|
||||
+
|
||||
+! Red Hat Defaults:
|
||||
+*allowFontOps: false
|
||||
+*allowTcapOps: false
|
||||
+*VT100*eightBitInput: false
|
||||
+*VT100*scrollBar: true
|
||||
+*VT100*utf8Title: true
|
||||
+*termName: xterm-256color
|
||||
@ -1,18 +0,0 @@
|
||||
diff -up xterm-323/xterm.desktop.desk xterm-323/xterm.desktop
|
||||
--- xterm-323/xterm.desktop.desk 2016-03-08 14:32:15.633422051 +0100
|
||||
+++ xterm-323/xterm.desktop 2016-03-08 14:33:31.231604288 +0100
|
||||
@@ -32,12 +32,12 @@
|
||||
# -----------------------------------------------------------------------------
|
||||
[Desktop Entry]
|
||||
Name=XTerm
|
||||
-#GenericName=Terminal
|
||||
+GenericName=Terminal
|
||||
Comment=standard terminal emulator for the X window system
|
||||
Exec=xterm
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Encoding=UTF-8
|
||||
-Icon=xterm-color_48x48
|
||||
+Icon=xterm-color
|
||||
Categories=System;TerminalEmulator;
|
||||
Keywords=shell;prompt;command;commandline;cmd;
|
||||
@ -1,51 +0,0 @@
|
||||
diff -up xterm-328/minstall.in.man-paths xterm-328/minstall.in
|
||||
--- xterm-328/minstall.in.man-paths 2016-10-25 00:29:20.000000000 +0200
|
||||
+++ xterm-328/minstall.in 2017-06-01 16:36:26.544065282 +0200
|
||||
@@ -138,6 +138,11 @@ USE_chr1=`echo "$USE_name" | sed -e 's/^
|
||||
USE_Name=${USE_chr0}${USE_chr1}
|
||||
USE_NAME=`echo "$USE_name" | tr '[a-z]' '[A-Z]'`
|
||||
|
||||
+fontpath=/usr/share/X11/fonts
|
||||
+xorgcfgdir=/etc/X11
|
||||
+xorgcfgfil=xorg.conf
|
||||
+X_MANSECT=7
|
||||
+
|
||||
sed -e 's%__vendorversion__%"X Window System"%' \
|
||||
-e 's%__app_version__%Patch\ \#'$PATCH_NUM% \
|
||||
-e 's%__app_date__%'$PATCH_YMD% \
|
||||
@@ -163,6 +168,9 @@ sed -e 's%__vendorversion__%"X Window Sy
|
||||
-e s%fIwtmp'\\%fI'$WTMP_NAME'\\%g' \
|
||||
-e s%/etc/wtmp%$WTMP_PATH%g \
|
||||
-e 's%/\\(\*\*%/*%g' \
|
||||
+ -e s%__fontpath__%$fontpath%g \
|
||||
+ -e s%__xorgcfgdir__%$xorgcfgdir%g \
|
||||
+ -e s%__xorgcfgfil__%$xorgcfgfil%g \
|
||||
$OLD_FILE >$NEW_FILE
|
||||
# diff -u $OLD_FILE $NEW_FILE
|
||||
|
||||
diff -up xterm-328/xterm.man.man-paths xterm-328/xterm.man
|
||||
--- xterm-328/xterm.man.man-paths 2017-05-31 00:57:12.000000000 +0200
|
||||
+++ xterm-328/xterm.man 2017-06-01 16:33:16.493512367 +0200
|
||||
@@ -2328,19 +2328,18 @@ Since X11R6, bitmap fonts have been scal
|
||||
The font server claims to provide the bold font that \fI\*n\fP requests,
|
||||
but the result is not always readable.
|
||||
XFree86 introduced a feature which can be used to suppress the scaling.
|
||||
-In the X server's configuration file (e.g., \*(``/etc/X11/XFree86\*(''
|
||||
-or \*(``/etc/X11/xorg.conf\*(''), you
|
||||
+In the X server's configuration file (e.g., \*(``__xorgcfgdir__/__xorgcfgfil__\*(''), you
|
||||
can add \*(``:unscaled\*('' to the end of the directory specification for the
|
||||
\*(``misc\*('' fonts,
|
||||
which comprise the fixed-pitch fonts that are used by \fI\*n\fP.
|
||||
For example
|
||||
.NS
|
||||
-FontPath "/usr/lib/X11/fonts/misc/"
|
||||
+FontPath "__fontpath__/misc/"
|
||||
.NE
|
||||
.IP
|
||||
would become
|
||||
.NS
|
||||
-FontPath "/usr/lib/X11/fonts/misc/:unscaled"
|
||||
+FontPath "__fontpath__/misc/:unscaled"
|
||||
.NE
|
||||
.IP
|
||||
Depending on your configuration, the font server may have its own configuration
|
||||
19
xterm.spec
19
xterm.spec
@ -1,14 +1,10 @@
|
||||
Name: xterm
|
||||
Version: 334
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: It is a terminal emulator for the X Window System
|
||||
License: MIT
|
||||
URL: https://invisible-island.net/xterm
|
||||
Source0: ftp://ftp.invisible-island.net/xterm/xterm-334.tgz
|
||||
Source1: ftp://ftp.invisible-island.net/xterm/16colors.txt
|
||||
Patch0: xterm-defaults.patch
|
||||
Patch1: xterm-desktop.patch
|
||||
Patch2: xterm-man-paths.patch
|
||||
URL: http://invisible-island.net/xterm
|
||||
Source0: http://invisible-island.net/xterm/xterm-334.tgz
|
||||
|
||||
BuildRequires: gcc git pkgconfig ncurses-devel libutempter-devel
|
||||
BuildRequires: libXft-devel libXaw-devel libXext-devel desktop-file-utils
|
||||
@ -47,13 +43,12 @@ touch -r THANKS TEMP; mv TEMP THANKS
|
||||
%install
|
||||
%make_install
|
||||
|
||||
cp -fp %{SOURCE1} 16colors.txt
|
||||
desktop-file-install --dir=%{buildroot}/%{_datadir}/applications xterm.desktop
|
||||
mkdir -p %{buildroot}/%{_datadir}/appdata
|
||||
install -m 644 -p xterm.appdata.xml %{buildroot}/%{_datadir}/appdata
|
||||
|
||||
%files
|
||||
%doc 16colors.txt THANKS
|
||||
%doc THANKS
|
||||
%{_bindir}/*xterm
|
||||
%{_datadir}/X11/app-defaults/*
|
||||
%{_datadir}/appdata/xterm.appdata.xml
|
||||
@ -67,6 +62,12 @@ install -m 644 -p xterm.appdata.xml %{buildroot}/%{_datadir}/appdata
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Thu Jan 3 2020 openEuler Buildteam <buildteam@openeuler.org> - 334-4
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:optimization the spec
|
||||
|
||||
* Mon Sep 30 2019 luhuaxin <luhuaxin@huawei.com> - 334-3
|
||||
- Type: enhancement
|
||||
- ID: NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user