diff options
author | Mart Raudsepp <leio@gentoo.org> | 2008-12-01 09:44:35 +0000 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2008-12-01 09:44:35 +0000 |
commit | f396b1bf967ef4e92c9144b897370052be636d5c (patch) | |
tree | e6d5f1d3f7da4d4a6bcf2036ad54adbde5a78a87 /x11-terms | |
parent | clean up (diff) | |
download | historical-f396b1bf967ef4e92c9144b897370052be636d5c.tar.gz historical-f396b1bf967ef4e92c9144b897370052be636d5c.tar.bz2 historical-f396b1bf967ef4e92c9144b897370052be636d5c.zip |
Version bump. Add patches to bring back "Switch to Tab <n>" functionality completely, including the keyboard shortcuts dialog entries and translations.
Package-Manager: portage-2.2_rc16/cvs/Linux 2.6.27-gentoo-r4 x86_64
Diffstat (limited to 'x11-terms')
-rw-r--r-- | x11-terms/gnome-terminal/ChangeLog | 11 | ||||
-rw-r--r-- | x11-terms/gnome-terminal/Manifest | 6 | ||||
-rw-r--r-- | x11-terms/gnome-terminal/files/gnome-terminal-2.24.2-restore-switch-to-tab.patch | 389 | ||||
-rw-r--r-- | x11-terms/gnome-terminal/gnome-terminal-2.24.2.ebuild | 50 |
4 files changed, 454 insertions, 2 deletions
diff --git a/x11-terms/gnome-terminal/ChangeLog b/x11-terms/gnome-terminal/ChangeLog index 2847fd5df7c2..e898497b77de 100644 --- a/x11-terms/gnome-terminal/ChangeLog +++ b/x11-terms/gnome-terminal/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for x11-terms/gnome-terminal # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/gnome-terminal/ChangeLog,v 1.182 2008/11/13 19:11:50 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-terms/gnome-terminal/ChangeLog,v 1.183 2008/12/01 09:44:35 leio Exp $ + +*gnome-terminal-2.24.2 (01 Dec 2008) + + 01 Dec 2008; Mart Raudsepp <leio@gentoo.org> + +files/gnome-terminal-2.24.2-restore-switch-to-tab.patch, + +gnome-terminal-2.24.2.ebuild: + Version bump. Add patches to bring back "Switch to Tab <n>" functionality + completely, including the keyboard shortcuts dialog entries and + translations. 13 Nov 2008; Brent Baude <ranger@gentoo.org> gnome-terminal-2.22.3-r1.ebuild: diff --git a/x11-terms/gnome-terminal/Manifest b/x11-terms/gnome-terminal/Manifest index fdce15f874b9..c0c0c3adab05 100644 --- a/x11-terms/gnome-terminal/Manifest +++ b/x11-terms/gnome-terminal/Manifest @@ -4,14 +4,18 @@ AUX gnome-terminal-2.13.90-TERM-gnome.patch 413 RMD160 d2dd09acd8ac4b185316a0972 AUX gnome-terminal-2.22.0-default_shell.patch 491 RMD160 211ce1834251f5e4c80ba7511a2cacf8c4c43424 SHA1 47b5cad036c28fc0e750684c42582b9c13609d26 SHA256 efcd9d5074cb4653a3725008290d6b6ae5e8835cfbcbc25f3dfcaf3e7aad2892 AUX gnome-terminal-2.22.0-fix-detach-tab.patch 1152 RMD160 6e161f0c962d381bd9135b400c399ddcbf6949d6 SHA1 d94bf5c2779e1076ca5faa5067e40f62a86a8222 SHA256 7bb381b0f70c9d88bbf376af930eb3dc508836a7c4aab5276c492f53a2cf6a11 AUX gnome-terminal-2.22.3-tab-close-fix.patch 1025 RMD160 a3020d4e74d0bc536786399e34dae1ff64b7bcd6 SHA1 397ae4e550536599d5013a340a92481c05f45011 SHA256 1677d7aee5186b296a1d8103c109e12bb93a7d80c29c3dcd007772e96a619db2 +AUX gnome-terminal-2.24.2-restore-switch-to-tab.patch 15101 RMD160 46918b2c6df2d54e2e1c24a29b290638b600e3bc SHA1 9ac3fb0189062e6896dae1e504f947ba9190c12c SHA256 6e9e81b6231c5d17a584f4bb4ef24f87989558e5510ec3ad8b4df35152f75189 DIST gnome-terminal-2.18.2.tar.bz2 2057415 RMD160 b38a45f8f6c9fbffaedd8d4d9dfc9c1a21738746 SHA1 a37dff35e90ab1c2e15d47d5731ff0fb596dbd4d SHA256 f046e938f14aa2ec5cc6db5a85d7ffaf470b3cc233257ca55d2fa7530daa28d1 DIST gnome-terminal-2.18.4.tar.bz2 2072290 RMD160 0d4125cf7d4cf6f04b648f4fe10c623af84018b0 SHA1 3ad03fd96f9ba51bc654e824d7177921d42f2f85 SHA256 1a6b1cbf81ed1a21b9ae628533f60511aa9495e02dfed6583df17db30d8d2282 DIST gnome-terminal-2.22.3.tar.bz2 1803177 RMD160 f90e99dbff067425b7bb7f373565485f7e60f04c SHA1 8aaf556134884d3f7430e7966ff2c87df5843e3e SHA256 fffe2b352167fa42680cae79be80c5082cd4a04f712564bc4ae5ff0253509cd7 DIST gnome-terminal-2.24.1.tar.bz2 1862373 RMD160 a5df5a8d5f48acf882d819fac93ba1edc10ff9c1 SHA1 f5e7398751602aa712491121158767b70c2864ec SHA256 fa6e0241ec7fc6b963d6937297b0a9982298a289e56f89a936bb0455053780ad +DIST gnome-terminal-2.24.2-restore-switch-to-tab-i18n.patch.bz2 30429 RMD160 ebed0cc9f9519586495a1bb44fd7dd6b9a0c76a3 SHA1 72ce23ede1e27661aab0762ab2e77fa69dfcbcbc SHA256 106a5eb8de80ebc4a398e4b5964e1de2df33263b92f0cdc579fde2a078af4972 +DIST gnome-terminal-2.24.2.tar.bz2 1854226 RMD160 c496f736b012b3324e8168a7fa5356ca6223ef8d SHA1 f6900ee932fd7c3b86a11a598a0a7381fd2fd839 SHA256 849597d79f2dd6eb8d4079bc0b59c0f806a691ac2af360099ef0fa1f6b91e82a EBUILD gnome-terminal-2.18.2.ebuild 1694 RMD160 7bc1b5c1cf3af2bd097615e4f94981f07b1f5a7b SHA1 502dd2359f6d77626056082fd56bc43aa0e4443e SHA256 2995775e4694b0592bbfa9df61869ac17648c57474fa58faa427b0b719fdd672 EBUILD gnome-terminal-2.18.4.ebuild 1590 RMD160 05da1c0d37e9202211bf0dfd996fd655555f7b45 SHA1 694de7dfae22ea4bcaaf3cb10757918e4ca6d04a SHA256 1b3db3f9fce6100ce47124e483b07fa2d9c4aea8e57509c138e2fe29e8988f8f EBUILD gnome-terminal-2.22.3-r1.ebuild 1723 RMD160 3605ee5e5471b6c51af12aa92f0d82c81f3bfeb3 SHA1 e4a84e642ee6a9490ad29b2508d5ae801c416cf3 SHA256 372f40f742d0be9871517c66e77cd19c91856180634ac35d2aa9748e679980be EBUILD gnome-terminal-2.22.3.ebuild 1636 RMD160 f0cc09235f88ac44afbaab40f38e8671e7167697 SHA1 4dd4dfd760daeebf675f1a3a9e76b99d6dc1a3e9 SHA256 597b3ea562a0c31e6c297abb80ab10f145f2d2246e1e889534e02da99193199e EBUILD gnome-terminal-2.24.1.ebuild 1221 RMD160 a1cb18f3fe8b03d6818b9fb70602df7f6b47c23b SHA1 c5ee53dabbc9932d9afaa518059d13602cfc2fcf SHA256 782175465661b4a3fd866cee79079617e758957f70546d9aa1a0ae3cf8919445 -MISC ChangeLog 24021 RMD160 c4c2709dafc96e23b54b2265756f83c0788165bb SHA1 f6f6832f01f4744708f389ead3c8692e7cd28ae6 SHA256 ed95e8aa534ef4d6fa1c70bac500a89c7b99fe9085869a4101b78f7635b80d5d +EBUILD gnome-terminal-2.24.2.ebuild 1528 RMD160 8c5371aa3f03df990c05cff682b34ba65d523a8c SHA1 9ee106b70864871bb460dae3191ef01c51a242fd SHA256 d9c78f95bacf792ddc588c14b55cdbce9e7c1257d765c491fb6ff36a2e7dadfc +MISC ChangeLog 24356 RMD160 e727edad147bbf764851d338d14f6c807d6adc78 SHA1 6a6f7313e019a3c8c7ed3608777c8719ca02ce9e SHA256 ad2d487c1706ec8b2a2b5e177bb833d6795dece51a7f1174cd35f8cafc16e264 MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 diff --git a/x11-terms/gnome-terminal/files/gnome-terminal-2.24.2-restore-switch-to-tab.patch b/x11-terms/gnome-terminal/files/gnome-terminal-2.24.2-restore-switch-to-tab.patch new file mode 100644 index 000000000000..04f067591c68 --- /dev/null +++ b/x11-terms/gnome-terminal/files/gnome-terminal-2.24.2-restore-switch-to-tab.patch @@ -0,0 +1,389 @@ +Index: src/terminal-accels.c +=================================================================== +--- src/terminal-accels.c (revision 3169) ++++ src/terminal-accels.c (revision 3171) +@@ -20,11 +20,14 @@ + + #include <string.h> + ++#include <gdk/gdkkeysyms.h> ++ + #include "terminal-accels.h" + #include "terminal-app.h" + #include "terminal-intl.h" + #include "terminal-profile.h" + #include "terminal-util.h" ++#include "terminal-accels.h" + + #ifdef DEBUG_ACCELS + #define D(x) x +@@ -71,6 +74,7 @@ + #define ACCEL_PATH_MOVE_TAB_LEFT ACCEL_PATH_ROOT "TabsMoveLeft" + #define ACCEL_PATH_MOVE_TAB_RIGHT ACCEL_PATH_ROOT "TabsMoveRight" + #define ACCEL_PATH_DETACH_TAB ACCEL_PATH_ROOT "TabsDetach" ++#define ACCEL_PATH_SWITCH_TAB_PREFIX ACCEL_PATH_ROOT "TabsSwitch" + + #define KEY_CLOSE_TAB CONF_KEYS_PREFIX "/close_tab" + #define KEY_CLOSE_WINDOW CONF_KEYS_PREFIX "/close_window" +@@ -93,6 +97,7 @@ + #define KEY_ZOOM_IN CONF_KEYS_PREFIX "/zoom_in" + #define KEY_ZOOM_NORMAL CONF_KEYS_PREFIX "/zoom_normal" + #define KEY_ZOOM_OUT CONF_KEYS_PREFIX "/zoom_out" ++#define KEY_SWITCH_TAB_PREFIX CONF_KEYS_PREFIX "/switch_to_tab_" + + typedef struct + { +@@ -173,6 +178,42 @@ + KEY_MOVE_TAB_RIGHT, ACCEL_PATH_MOVE_TAB_RIGHT, 0, 0, NULL, FALSE, TRUE }, + { N_("Detach Tab"), + KEY_DETACH_TAB, ACCEL_PATH_DETACH_TAB, 0, 0, NULL, FALSE, TRUE }, ++ { N_("Switch to Tab 1"), ++ KEY_SWITCH_TAB_PREFIX "1", ++ ACCEL_PATH_SWITCH_TAB_PREFIX "1", GDK_1, GDK_MOD1_MASK, NULL, FALSE, TRUE }, ++ { N_("Switch to Tab 2"), ++ KEY_SWITCH_TAB_PREFIX "2", ++ ACCEL_PATH_SWITCH_TAB_PREFIX "2", GDK_2, GDK_MOD1_MASK, NULL, FALSE, TRUE }, ++ { N_("Switch to Tab 3"), ++ KEY_SWITCH_TAB_PREFIX "3", ++ ACCEL_PATH_SWITCH_TAB_PREFIX "3", GDK_3, GDK_MOD1_MASK, NULL, FALSE, TRUE }, ++ { N_("Switch to Tab 4"), ++ KEY_SWITCH_TAB_PREFIX "4", ++ ACCEL_PATH_SWITCH_TAB_PREFIX "4", GDK_4, GDK_MOD1_MASK, NULL, FALSE, TRUE }, ++ { N_("Switch to Tab 5"), ++ KEY_SWITCH_TAB_PREFIX "5", ++ ACCEL_PATH_SWITCH_TAB_PREFIX "5", GDK_5, GDK_MOD1_MASK, NULL, FALSE, TRUE }, ++ { N_("Switch to Tab 6"), ++ KEY_SWITCH_TAB_PREFIX "6", ++ ACCEL_PATH_SWITCH_TAB_PREFIX "6", GDK_6, GDK_MOD1_MASK, NULL, FALSE, TRUE }, ++ { N_("Switch to Tab 7"), ++ KEY_SWITCH_TAB_PREFIX "7", ++ ACCEL_PATH_SWITCH_TAB_PREFIX "7", GDK_7, GDK_MOD1_MASK, NULL, FALSE, TRUE }, ++ { N_("Switch to Tab 8"), ++ KEY_SWITCH_TAB_PREFIX "8", ++ ACCEL_PATH_SWITCH_TAB_PREFIX "8", GDK_8, GDK_MOD1_MASK, NULL, FALSE, TRUE }, ++ { N_("Switch to Tab 9"), ++ KEY_SWITCH_TAB_PREFIX "9", ++ ACCEL_PATH_SWITCH_TAB_PREFIX "9", GDK_9, GDK_MOD1_MASK, NULL, FALSE, TRUE }, ++ { N_("Switch to Tab 10"), ++ KEY_SWITCH_TAB_PREFIX "10", ++ ACCEL_PATH_SWITCH_TAB_PREFIX "10", 0, 0, NULL, FALSE, TRUE }, ++ { N_("Switch to Tab 11"), ++ KEY_SWITCH_TAB_PREFIX "11", ++ ACCEL_PATH_SWITCH_TAB_PREFIX "11", 0, 0, NULL, FALSE, TRUE }, ++ { N_("Switch to Tab 12"), ++ KEY_SWITCH_TAB_PREFIX "12", ++ ACCEL_PATH_SWITCH_TAB_PREFIX "12", 0, 0, NULL, FALSE, TRUE } + }; + + static KeyEntry help_entries[] = { +@@ -186,7 +227,7 @@ + { view_entries, G_N_ELEMENTS (view_entries), N_("View") }, + { terminal_entries, G_N_ELEMENTS (terminal_entries), N_("Terminal") }, + { tabs_entries, G_N_ELEMENTS (tabs_entries), N_("Tabs") }, +- { help_entries, G_N_ELEMENTS (help_entries), N_("Help") } ++ { help_entries, G_N_ELEMENTS (help_entries), N_("Help") }, + }; + + enum +Index: src/terminal-tabs-menu.c +=================================================================== +--- src/terminal-tabs-menu.c (revision 3169) ++++ src/terminal-tabs-menu.c (revision 3171) +@@ -30,14 +30,16 @@ + #include "terminal-screen-container.h" + #include "terminal-intl.h" + ++#define TERMINAL_ACCELS_N_TABS_SWITCH (12) ++ + #define LABEL_WIDTH_CHARS 32 + #define ACTION_VERB_FORMAT_PREFIX "JmpTab" +-#define ACTION_VERB_FORMAT_PREFIX_LEN (6) /* strlen (ACTION_VERB_FORMAT_PREFIX) */ +-#define ACTION_VERB_FORMAT ACTION_VERB_FORMAT_PREFIX "%x" ++#define ACTION_VERB_FORMAT_PREFIX_LEN strlen (ACTION_VERB_FORMAT_PREFIX) ++#define ACTION_VERB_FORMAT ACTION_VERB_FORMAT_PREFIX "%u" + #define ACTION_VERB_FORMAT_LENGTH strlen (ACTION_VERB_FORMAT) + 14 + 1 + #define ACTION_VERB_FORMAT_BASE (16) /* %x is hex */ +-#define ACCEL_PATH_FORMAT "<Actions>/TabsActions/%s" +-#define ACCEL_PATH_FORMAT_LENGTH strlen (ACCEL_PATH_FORMAT) -2 + ACTION_VERB_FORMAT_LENGTH ++#define ACCEL_PATH_FORMAT "<Actions>/Main/TabsSwitch%u" ++#define ACCEL_PATH_FORMAT_LENGTH strlen (ACCEL_PATH_FORMAT) + 14 + 1 + #define DATA_KEY "TerminalTabsMenu::Action" + + #define UI_PATH "/menubar/Tabs" +@@ -379,7 +381,7 @@ + g_type_class_add_private (object_class, sizeof (TerminalTabsMenuPrivate)); + + /* We don't want to save accels, so skip them */ +- gtk_accel_map_add_filter ("<Actions>/TabsActions/JmpTab*"); ++ gtk_accel_map_add_filter ("<Actions>/Main/TabsSwitch*"); + } + + static void +@@ -416,40 +418,19 @@ + guint tab_number, + gboolean is_single_tab) + { +- const char *verb; +- char accel_path[ACCEL_PATH_FORMAT_LENGTH]; +- char accel[7]; +- gint accel_number; +- guint accel_key; +- GdkModifierType accel_mods; ++ if (!is_single_tab && ++ tab_number < TERMINAL_ACCELS_N_TABS_SWITCH) ++ { ++ char accel_path[ACCEL_PATH_FORMAT_LENGTH]; + +- verb = gtk_action_get_name (action); +- +- /* set the accel path for the menu item */ +- g_snprintf (accel_path, sizeof (accel_path), +- ACCEL_PATH_FORMAT, verb); +- gtk_action_set_accel_path (action, accel_path); +- +- /* Only the first ten tabs get accelerators starting from 1 through 0 */ +- if (tab_number < 10 && !is_single_tab) +- { +- accel_key = 0; +- accel_number = (tab_number + 1) % 10; +- +- g_snprintf (accel, sizeof (accel), "<alt>%d", accel_number); +- +- gtk_accelerator_parse (accel, &accel_key, &accel_mods); +- +- if (accel_key != 0) +- { +- gtk_accel_map_change_entry (accel_path, accel_key, +- accel_mods, TRUE); +- } +- } +- else +- { +- gtk_accel_map_change_entry (accel_path, 0, 0, TRUE); +- } ++ g_snprintf (accel_path, sizeof (accel_path), ACCEL_PATH_FORMAT, tab_number + 1); ++ gtk_action_set_accel_path (action, accel_path); ++ } ++ else ++ { ++ gtk_action_set_accel_path (action, NULL); ++ return; ++ } + } + + static void +Index: src/gnome-terminal.schemas.in +=================================================================== +--- src/gnome-terminal.schemas.in (revision 3169) ++++ src/gnome-terminal.schemas.in (revision 3171) +@@ -916,6 +916,210 @@ + </schema> + + <schema> ++ <key>/schemas/apps/gnome-terminal/keybindings/switch_to_tab_1</key> ++ <applyto>/apps/gnome-terminal/keybindings/switch_to_tab_1</applyto> ++ <owner>gnome-terminal</owner> ++ <type>string</type> ++ <default><Alt>1</default> ++ <locale name="C"> ++ <short>Keyboard shortcut to switch to tab 1</short> ++ <long> ++ Keyboard shortcut key for switch to tab 1. Expressed as a string ++ in the same format used for GTK+ resource files. ++ If you set the option to the special string "disabled", then there ++ will be no keyboard shortcut for this action. ++ </long> ++ </locale> ++ </schema> ++ ++ <schema> ++ <key>/schemas/apps/gnome-terminal/keybindings/switch_to_tab_2</key> ++ <applyto>/apps/gnome-terminal/keybindings/switch_to_tab_2</applyto> ++ <owner>gnome-terminal</owner> ++ <type>string</type> ++ <default><Alt>2</default> ++ <locale name="C"> ++ <short>Keyboard shortcut to switch to tab 2</short> ++ <long> ++ Keyboard shortcut key for switch to tab 2. Expressed as a string ++ in the same format used for GTK+ resource files. ++ If you set the option to the special string "disabled", then there ++ will be no keyboard shortcut for this action. ++ </long> ++ </locale> ++ </schema> ++ ++ <schema> ++ <key>/schemas/apps/gnome-terminal/keybindings/switch_to_tab_3</key> ++ <applyto>/apps/gnome-terminal/keybindings/switch_to_tab_3</applyto> ++ <owner>gnome-terminal</owner> ++ <type>string</type> ++ <default><Alt>3</default> ++ <locale name="C"> ++ <short>Keyboard shortcut to switch to tab 3</short> ++ <long> ++ Keyboard shortcut key for switch to tab 3. Expressed as a string ++ in the same format used for GTK+ resource files. ++ If you set the option to the special string "disabled", then there ++ will be no keyboard shortcut for this action. ++ </long> ++ </locale> ++ </schema> ++ ++ <schema> ++ <key>/schemas/apps/gnome-terminal/keybindings/switch_to_tab_4</key> ++ <applyto>/apps/gnome-terminal/keybindings/switch_to_tab_4</applyto> ++ <owner>gnome-terminal</owner> ++ <type>string</type> ++ <default><Alt>4</default> ++ <locale name="C"> ++ <short>Keyboard shortcut to switch to tab 4</short> ++ <long> ++ Keyboard shortcut key for switch to tab 4. Expressed as a string ++ in the same format used for GTK+ resource files. ++ If you set the option to the special string "disabled", then there ++ will be no keyboard shortcut for this action. ++ </long> ++ </locale> ++ </schema> ++ ++ <schema> ++ <key>/schemas/apps/gnome-terminal/keybindings/switch_to_tab_5</key> ++ <applyto>/apps/gnome-terminal/keybindings/switch_to_tab_5</applyto> ++ <owner>gnome-terminal</owner> ++ <type>string</type> ++ <default><Alt>5</default> ++ <locale name="C"> ++ <short>Keyboard shortcut to switch to tab 5</short> ++ <long> ++ Keyboard shortcut key for switch to tab 5. Expressed as a string ++ in the same format used for GTK+ resource files. ++ If you set the option to the special string "disabled", then there ++ will be no keyboard shortcut for this action. ++ </long> ++ </locale> ++ </schema> ++ ++ <schema> ++ <key>/schemas/apps/gnome-terminal/keybindings/switch_to_tab_6</key> ++ <applyto>/apps/gnome-terminal/keybindings/switch_to_tab_6</applyto> ++ <owner>gnome-terminal</owner> ++ <type>string</type> ++ <default><Alt>6</default> ++ <locale name="C"> ++ <short>Keyboard shortcut to switch to tab 6</short> ++ <long> ++ Keyboard shortcut key for switch to tab 6. Expressed as a string ++ in the same format used for GTK+ resource files. ++ If you set the option to the special string "disabled", then there ++ will be no keyboard shortcut for this action. ++ </long> ++ </locale> ++ </schema> ++ ++ <schema> ++ <key>/schemas/apps/gnome-terminal/keybindings/switch_to_tab_7</key> ++ <applyto>/apps/gnome-terminal/keybindings/switch_to_tab_7</applyto> ++ <owner>gnome-terminal</owner> ++ <type>string</type> ++ <default><Alt>7</default> ++ <locale name="C"> ++ <short>Keyboard shortcut to switch to tab 7</short> ++ <long> ++ Keyboard shortcut key for switch to tab 7. Expressed as a string ++ in the same format used for GTK+ resource files. ++ If you set the option to the special string "disabled", then there ++ will be no keyboard shortcut for this action. ++ </long> ++ </locale> ++ </schema> ++ ++ <schema> ++ <key>/schemas/apps/gnome-terminal/keybindings/switch_to_tab_8</key> ++ <applyto>/apps/gnome-terminal/keybindings/switch_to_tab_8</applyto> ++ <owner>gnome-terminal</owner> ++ <type>string</type> ++ <default><Alt>8</default> ++ <locale name="C"> ++ <short>Keyboard shortcut to switch to tab 8</short> ++ <long> ++ Keyboard shortcut key for switch to tab 8. Expressed as a string ++ in the same format used for GTK+ resource files. ++ If you set the option to the special string "disabled", then there ++ will be no keyboard shortcut for this action. ++ </long> ++ </locale> ++ </schema> ++ ++ <schema> ++ <key>/schemas/apps/gnome-terminal/keybindings/switch_to_tab_9</key> ++ <applyto>/apps/gnome-terminal/keybindings/switch_to_tab_9</applyto> ++ <owner>gnome-terminal</owner> ++ <type>string</type> ++ <default><Alt>9</default> ++ <locale name="C"> ++ <short>Keyboard shortcut to switch to tab 9</short> ++ <long> ++ Keyboard shortcut key for switch to tab 9. Expressed as a string ++ in the same format used for GTK+ resource files. ++ If you set the option to the special string "disabled", then there ++ will be no keyboard shortcut for this action. ++ </long> ++ </locale> ++ </schema> ++ ++ <schema> ++ <key>/schemas/apps/gnome-terminal/keybindings/switch_to_tab_10</key> ++ <applyto>/apps/gnome-terminal/keybindings/switch_to_tab_10</applyto> ++ <owner>gnome-terminal</owner> ++ <type>string</type> ++<!-- no default --> ++ <locale name="C"> ++ <short>Keyboard shortcut to switch to tab 10</short> ++ <long> ++ Keyboard shortcut key for switch to tab 10. Expressed as a string ++ in the same format used for GTK+ resource files. ++ If you set the option to the special string "disabled", then there ++ will be no keyboard shortcut for this action. ++ </long> ++ </locale> ++ </schema> ++ ++ <schema> ++ <key>/schemas/apps/gnome-terminal/keybindings/switch_to_tab_11</key> ++ <applyto>/apps/gnome-terminal/keybindings/switch_to_tab_11</applyto> ++ <owner>gnome-terminal</owner> ++ <type>string</type> ++<!-- no default --> ++ <locale name="C"> ++ <short>Keyboard shortcut to switch to tab 11</short> ++ <long> ++ Keyboard shortcut key for switch to tab 11. Expressed as a string ++ in the same format used for GTK+ resource files. ++ If you set the option to the special string "disabled", then there ++ will be no keyboard shortcut for this action. ++ </long> ++ </locale> ++ </schema> ++ ++ <schema> ++ <key>/schemas/apps/gnome-terminal/keybindings/switch_to_tab_12</key> ++ <applyto>/apps/gnome-terminal/keybindings/switch_to_tab_12</applyto> ++ <owner>gnome-terminal</owner> ++ <type>string</type> ++<!-- no default --> ++ <locale name="C"> ++ <short>Keyboard shortcut to switch to tab 12</short> ++ <long> ++ Keyboard shortcut key for switch to tab 12. Expressed as a string ++ in the same format used for GTK+ resource files. ++ If you set the option to the special string "disabled", then there ++ will be no keyboard shortcut for this action. ++ </long> ++ </locale> ++ </schema> ++ ++ <schema> + <key>/schemas/apps/gnome-terminal/keybindings/help</key> + <applyto>/apps/gnome-terminal/keybindings/help</applyto> + <owner>gnome-terminal</owner> diff --git a/x11-terms/gnome-terminal/gnome-terminal-2.24.2.ebuild b/x11-terms/gnome-terminal/gnome-terminal-2.24.2.ebuild new file mode 100644 index 000000000000..516bd4231a0e --- /dev/null +++ b/x11-terms/gnome-terminal/gnome-terminal-2.24.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/gnome-terminal/gnome-terminal-2.24.2.ebuild,v 1.1 2008/12/01 09:44:35 leio Exp $ + +inherit eutils gnome2 + +DESCRIPTION="The Gnome Terminal" +HOMEPAGE="http://www.gnome.org/" + +SRC_URI="${SRC_URI} + mirror://gentoo/gnome-terminal-2.24.2-restore-switch-to-tab-i18n.patch.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="virtual/xft + >=dev-libs/glib-2.16.0 + >=x11-libs/gtk+-2.13.6 + >=gnome-base/gconf-2.14 + >=x11-libs/startup-notification-0.8 + >=x11-libs/vte-0.17.0 + >=gnome-base/libgnome-2.14 + >=gnome-base/libgnomeui-2" +DEPEND="${RDEPEND} + sys-devel/gettext + >=dev-util/intltool-0.40 + >=dev-util/pkgconfig-0.9 + gnome-base/gnome-common + >=app-text/gnome-doc-utils-0.3.2 + >=app-text/scrollkeeper-0.3.11" + +DOCS="AUTHORS ChangeLog HACKING NEWS README" + +src_unpack() { + gnome2_src_unpack + + # Use login shell by default (#12900) + epatch "${FILESDIR}"/${PN}-2.22.0-default_shell.patch + + # Restore switch to tab <n> keybinding preferences ... + epatch "${FILESDIR}/${P}-restore-switch-to-tab.patch" + # ... and the translations for it + epatch "${DISTDIR}/${P}-restore-switch-to-tab-i18n.patch.bz2" + + # patch gnome terminal to report as GNOME rather than xterm + # This needs to resolve a few bugs (#120294,) + # Leave out for now; causing too many problems + #epatch ${FILESDIR}/${PN}-2.13.90-TERM-gnome.patch +} |