- remove NoDisplay=true from desktop file, use upstream version (#607018)

This commit is contained in:
Miroslav Lichvar 2010-07-02 12:28:03 +00:00
parent 98485f8cc4
commit b89dc3b315
3 changed files with 23 additions and 13 deletions

16
xterm-261-desk.patch Normal file
View File

@ -0,0 +1,16 @@
diff -up xterm-261/xterm.desktop.desk xterm-261/xterm.desktop
--- xterm-261/xterm.desktop.desk 2010-06-15 12:58:13.000000000 +0200
+++ xterm-261/xterm.desktop 2010-07-02 13:02:56.000000000 +0200
@@ -32,10 +32,11 @@
# -----------------------------------------------------------------------------
[Desktop Entry]
Name=XTerm
+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=gnome-xterm
Categories=System;TerminalEmulator;

View File

@ -1,10 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Name=xterm Terminal
GenericName=Terminal
Comment=Terminal emulator for the X Window System
Exec=xterm
Icon=gnome-xterm
Type=Application
Categories=System;TerminalEmulator;
NoDisplay=true

View File

@ -1,7 +1,7 @@
Summary: Terminal emulator for the X Window System
Name: xterm
Version: 261
Release: 1%{?dist}
Release: 2%{?dist}
URL: http://dickey.his.com/xterm
License: MIT
Group: User Interface/X
@ -12,9 +12,9 @@ BuildRequires: libxkbfile-devel
Source0: ftp://invisible-island.net/xterm/%{name}-%{version}.tgz
Source1: ftp://invisible-island.net/xterm/16colors.txt
Source2: %{name}.desktop
Patch1: xterm-245-resources.patch
Patch2: xterm-261-desk.patch
Patch3: xterm-256-man-page_paths.patch
%bcond_with trace
@ -30,6 +30,7 @@ programs that can't use the window system directly.
%setup -q
%patch1 -p1 -b .resources
%patch2 -p1 -b .desk
%patch3 -p1 -b .man-page_paths
for f in THANKS; do
@ -60,7 +61,7 @@ cp -fp %{SOURCE1} 16colors.txt
desktop-file-install --vendor=fedora \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
%{SOURCE2}
xterm.desktop
%clean
rm -rf $RPM_BUILD_ROOT
@ -83,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT
%{x11_app_defaults_dir}/XTerm*
%changelog
* Fri Jul 02 2010 Miroslav Lichvar <mlichvar@redhat.com> 261-2
- remove NoDisplay=true from desktop file, use upstream version (#607018)
* Tue Jun 29 2010 Miroslav Lichvar <mlichvar@redhat.com> 261-1
- update to 261