---- gnome-terminal-1.9.7/src/terminal-screen.c.wiget Wed Jun 5 04:57:01 2002
-+++ gnome-terminal-1.9.7/src/terminal-screen.c Wed Jun 5 04:57:14 2002
-@@ -885,7 +885,7 @@
-
+diff -aurN gnome-terminal-2.13.90.orig/src/terminal-screen.c gnome-terminal-2.13.90/src/terminal-screen.c
+--- gnome-terminal-2.13.90.orig/src/terminal-screen.c 2006-01-30 05:19:50.000000000 +0100
++++ gnome-terminal-2.13.90/src/terminal-screen.c 2006-01-30 23:25:26.100754000 +0100
+@@ -1111,7 +1111,7 @@
retval[i] = g_strdup ("COLORTERM="EXECUTABLE_NAME);
++i;
+
- retval[i] = g_strdup ("TERM=xterm"); /* FIXME configurable later? */
+ retval[i] = g_strdup ("TERM=gnome"); /* FIXME configurable later? */
++i;
+
retval[i] = g_strdup_printf ("WINDOWID=%ld",
- GDK_WINDOW_XWINDOW (term->window));
-diff -ur gnome-terminal-2.6.1.orig/gnome-terminal.desktop.in.in gnome-terminal-2.6.1/gnome-terminal.desktop.in.in
---- gnome-terminal-2.6.1.orig/gnome-terminal.desktop.in.in 2004-04-18 07:31:19.000000000 +0200
-+++ gnome-terminal-2.6.1/gnome-terminal.desktop.in.in 2004-08-24 01:20:13.240149960 +0200
-@@ -10,5 +10,5 @@
+diff -aurN gnome-terminal-2.13.90.orig/gnome-terminal.desktop.in.in gnome-terminal-2.13.90/gnome-terminal.desktop.in.in
+--- gnome-terminal-2.13.90.orig/gnome-terminal.desktop.in.in 2006-01-30 05:19:36.000000000 +0100
++++ gnome-terminal-2.13.90/gnome-terminal.desktop.in.in 2006-01-30 23:28:18.360754000 +0100
+@@ -11,5 +11,5 @@
X-GNOME-Bugzilla-Product=gnome-terminal
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=@VERSION@
--Categories=GNOME;Application;System;Utility;TerminalEmulator;
+-Categories=GNOME;GTK;Application;Utility;TerminalEmulator;
+Categories=GTK;GNOME;Utility;TerminalEmulator;
StartupNotify=true
---- gnome-terminal-2.6.1/src/terminal-window.c~ 2004-05-07 14:31:44.364178354 +0200
-+++ gnome-terminal-2.6.1/src/terminal-window.c 2004-05-07 14:32:03.449429701 +0200
-@@ -1283,8 +1283,8 @@
- notebook = window->priv->notebook;
+diff -aurN gnome-terminal-2.13.90.orig/src/terminal-window.c gnome-terminal-2.13.90/src/terminal-window.c
+--- gnome-terminal-2.13.90.orig/src/terminal-window.c 2006-01-12 15:06:03.000000000 +0100
++++ gnome-terminal-2.13.90/src/terminal-window.c 2006-01-30 23:34:19.630754000 +0100
+@@ -1361,8 +1361,8 @@
+ num_pages = gtk_notebook_get_n_pages (GTK_NOTEBOOK (notebook));
page_num = gtk_notebook_get_current_page (GTK_NOTEBOOK (notebook));
- gtk_widget_set_sensitive (window->priv->previous_tab_menuitem,
- page_num > 0);
-+ //gtk_widget_set_sensitive (window->priv->previous_tab_menuitem,
-+ // page_num > 0);
++ /*gtk_widget_set_sensitive (window->priv->previous_tab_menuitem,
++ page_num > 0);*/
+ on_last_page = (page_num >= num_pages - 1);
+
+@@ -1384,8 +1384,8 @@
+ gtk_widget_set_sensitive (window->priv->move_right_tab_menuitem, TRUE);
+ }
- /* FIXME
-@@ -1299,8 +1299,8 @@
- else
- gtk_widget_set_sensitive (window->priv->close_tab_menuitem, TRUE);
-
- gtk_widget_set_sensitive (window->priv->next_tab_menuitem,
- !on_last_page);
-+ //gtk_widget_set_sensitive (window->priv->next_tab_menuitem,
-+ // !on_last_page);
++ /*gtk_widget_set_sensitive (window->priv->next_tab_menuitem,
++ !on_last_page);*/
}
static void
# passing the keypress to the application running in the terminal). Ditto
# for the last tab. This is kinda annoying.
%bcond_with disable_prev_next_tab_sensitivity_changes
+# This is specific to PLD and causes an "unknown term type" on most other
+# hosts I have to work on (the rest of the world uses xterm for g-t)
+%bcond_with term_voodoo
#
Summary: GNOME Terminal
Summary(pl): Terminal dla GNOME
Name: gnome-terminal
-Version: 2.12.0
+Version: 2.14.1
Release: 1
License: GPL
Group: X11/Applications
-Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-terminal/2.12/%{name}-%{version}.tar.bz2
-# Source0-md5: 483c9397dd165845e2528a80e3df6dfc
+Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-terminal/2.14/%{name}-%{version}.tar.bz2
+# Source0-md5: 7abe60db5359c88392d2b4f0d5587ef5
Patch0: %{name}-TERM.patch
Patch1: %{name}-disable-prev_next-tab-sensitivity-changes.patch
Patch2: %{name}-desktop.patch
%prep
%setup -q
+%if %{with term_voodoo}
%patch0 -p1
+%endif
%if %{with disable_prev_next_tab_sensitivity_changes}
%patch1 -p1
%endif
%patch2 -p1
%build
+%{__intltoolize}
%{__gnome_doc_common}
%{__libtoolize}
%{__aclocal}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc README ChangeLog NEWS TODO AUTHORS
+%doc AUTHORS ChangeLog NEWS README
%doc %{_omf_dest_dir}/%{name}
%attr(755,root,root) %{_bindir}/*
-%{_sysconfdir}/gconf/schemas/gnome-terminal.schemas
-%{_datadir}/%{name}
%{_libdir}/bonobo/servers/*
+%{_datadir}/%{name}
%{_desktopdir}/*
%{_pixmapsdir}/*
+%{_sysconfdir}/gconf/schemas/gnome-terminal.schemas