diff --git a/mate-terminal.spec b/mate-terminal.spec index 4662e86..8b619dc 100644 --- a/mate-terminal.spec +++ b/mate-terminal.spec @@ -1,13 +1,19 @@ Summary: Terminal emulator for MATE Name: mate-terminal Version: 1.10.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ URL: http://mate-desktop.org -Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz +Source0: http://pub.mate-desktop.org/releases/1.10/%{name}-%{version}.tar.xz #Default to black bg white fg, unlimited scrollback, turn off use theme default Patch0: mate-terminal_better_defaults.patch +# fix preferences ui +# https://github.com/mate-desktop/mate-terminal/pull/87 +Patch1: mate_terminal_fix-size-of-profile-preferences-window.patch +Patch2: mate-terminal_fix-help.patch +Patch3: mate-terminal_help-legal.patch + BuildRequires: dconf-devel BuildRequires: desktop-file-utils @@ -29,7 +35,10 @@ clickable URLs. %prep %setup -q -%patch0 -p1 +%patch0 -p1 -b .better_defaults +%patch1 -p1 -b .preferences-window +%patch2 -p1 -b .fix-help +%patch3 -p1 -b .help-legal %build %configure --disable-static \ @@ -71,6 +80,9 @@ fi %changelog +* Fri Jul 03 2015 Wolfgang Ulbrich - 1.10.0-3 +- use old help from 1.8 + * Wed Jun 17 2015 Fedora Release Engineering - 1.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/mate-terminal_fix-help.patch b/mate-terminal_fix-help.patch new file mode 100644 index 0000000..ddbf696 --- /dev/null +++ b/mate-terminal_fix-help.patch @@ -0,0 +1,17 @@ +diff -upr mate-terminal-1.10.0-orig/src/terminal-util.c mate-terminal-1.10.0/src/terminal-util.c +--- mate-terminal-1.10.0-orig/src/terminal-util.c 2015-04-06 10:54:20.000000000 +0200 ++++ mate-terminal-1.10.0/src/terminal-util.c 2015-07-02 16:12:26.181634242 +0200 +@@ -154,11 +154,11 @@ terminal_util_show_help (const char *top + + if (topic) + { +- url = g_strdup_printf ("help:mate-user-guide/mate-terminal#%s", topic); ++ url = g_strdup_printf ("help:mate-terminal/%s", topic); + } + else + { +- url = g_strdup ("help:mate-user-guide/mate-terminal"); ++ url = g_strdup ("help:mate-terminal"); + } + + if (!open_url (GTK_WINDOW (parent), url, gtk_get_current_event_time (), &error)) diff --git a/mate-terminal_help-legal.patch b/mate-terminal_help-legal.patch new file mode 100644 index 0000000..f73e9ae --- /dev/null +++ b/mate-terminal_help-legal.patch @@ -0,0 +1,257 @@ +diff -upr mate-terminal/help/C/index.docbook mate-terminal-test/help/C/index.docbook +--- mate-terminal/help/C/index.docbook 2015-07-02 17:30:47.998769000 +0200 ++++ mate-terminal-test/help/C/index.docbook 2015-07-02 19:09:23.970933000 +0200 +@@ -3,9 +3,9 @@ + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ + + +- +- +- ++ ++ ++ + ]> + +