Gentoo Archives: gentoo-commits

From: Priit Laes <plaes@×××××.org>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-base/nautilus/, gnome-base/nautilus/files/
Date: Mon, 27 Aug 2012 07:11:34
Message-Id: 1346051452.911b1cb1927a60344d68e1dd9cb426378692e3b7.plaes@gentoo
1 commit: 911b1cb1927a60344d68e1dd9cb426378692e3b7
2 Author: Priit Laes <plaes <AT> plaes <DOT> org>
3 AuthorDate: Mon Aug 27 07:10:25 2012 +0000
4 Commit: Priit Laes <plaes <AT> plaes <DOT> org>
5 CommitDate: Mon Aug 27 07:10:52 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=911b1cb1
7
8 gnome-base/nautilus: Add 3.5.90 to overlay
9
10 ---
11 .../nautilus-3.2.1-key-press-forwarding.patch | 40 --------------------
12 ...nautilus-9999.ebuild => nautilus-3.5.90.ebuild} | 8 +--
13 gnome-base/nautilus/nautilus-9999.ebuild | 8 +--
14 3 files changed, 6 insertions(+), 50 deletions(-)
15
16 diff --git a/gnome-base/nautilus/files/nautilus-3.2.1-key-press-forwarding.patch b/gnome-base/nautilus/files/nautilus-3.2.1-key-press-forwarding.patch
17 deleted file mode 100644
18 index 4ad417e..0000000
19 --- a/gnome-base/nautilus/files/nautilus-3.2.1-key-press-forwarding.patch
20 +++ /dev/null
21 @@ -1,40 +0,0 @@
22 -From d4e2a297589e35a9545d996a4f0a61d22152e4c7 Mon Sep 17 00:00:00 2001
23 -From: Alexandre Rostovtsev <tetromino@g.o>
24 -Date: Wed, 14 Dec 2011 20:43:08 -0500
25 -Subject: [PATCH] Do not handle keyboard shortcuts in NautilusWindow if an
26 - editable widget is focused
27 -
28 -If an editable widget (e.g. GtkEntry in the location bar or search bar) is
29 -focused, NautilusWindow should forward all key press events to it since the
30 -window's accelerator bindings may conflict with the widget's.
31 -
32 -https://bugzilla.gnome.org/show_bug.cgi?id=664573
33 ----
34 - src/nautilus-window.c | 11 ++++++-----
35 - 1 files changed, 6 insertions(+), 5 deletions(-)
36 -
37 -diff --git a/src/nautilus-window.c b/src/nautilus-window.c
38 -index c3a3c2c..e8646d8 100644
39 ---- a/src/nautilus-window.c
40 -+++ b/src/nautilus-window.c
41 -@@ -1117,11 +1117,12 @@ nautilus_window_key_press_event (GtkWidget *widget,
42 - active_slot = nautilus_window_get_active_slot (window);
43 - view = active_slot->content_view;
44 -
45 -- if (view != NULL && nautilus_view_get_is_renaming (view)) {
46 -- /* if we're renaming, just forward the event to the
47 -- * focused widget and return. We don't want to process the window
48 -- * accelerator bindings, as they might conflict with the
49 -- * editable widget bindings.
50 -+ if ((view != NULL && (nautilus_view_get_is_renaming (view))) || GTK_IS_EDITABLE (gtk_window_get_focus (window))) {
51 -+ /* If we're renaming, or editing a GtkEntry (e.g. location or
52 -+ * search bar), just forward the event to the focused widget
53 -+ * and return.
54 -+ * We don't want to process the window accelerator bindings,
55 -+ * as they might conflict with the editable widget bindings.
56 - */
57 - if (gtk_window_propagate_key_event (GTK_WINDOW (window), event)) {
58 - return TRUE;
59 ---
60 -1.7.8
61 -
62
63 diff --git a/gnome-base/nautilus/nautilus-9999.ebuild b/gnome-base/nautilus/nautilus-3.5.90.ebuild
64 similarity index 94%
65 copy from gnome-base/nautilus/nautilus-9999.ebuild
66 copy to gnome-base/nautilus/nautilus-3.5.90.ebuild
67 index 0f01ee9..e39db04 100644
68 --- a/gnome-base/nautilus/nautilus-9999.ebuild
69 +++ b/gnome-base/nautilus/nautilus-3.5.90.ebuild
70 @@ -21,13 +21,14 @@ if [[ ${PV} = 9999 ]]; then
71 else
72 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux"
73 fi
74 +# profiling?
75 IUSE="doc exif gnome +introspection packagekit +previewer sendto tracker xmp"
76
77 # Require {glib,gdbus-codegen}-2.30.0 due to GDBus API changes between 2.29.92
78 # and 2.30.0
79 COMMON_DEPEND=">=dev-libs/glib-2.31.9:2
80 >=x11-libs/pango-1.28.3
81 - >=x11-libs/gtk+-3.3.17:3[introspection?]
82 + >=x11-libs/gtk+-3.5.5:3[introspection?]
83 >=dev-libs/libxml2-2.7.8:2
84 >=gnome-base/gnome-desktop-3.0.0:3
85
86 @@ -73,7 +74,7 @@ pkg_setup() {
87 $(use_enable sendto nst-extension)
88 $(use_enable tracker)
89 $(use_enable xmp)"
90 - DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README THANKS TODO"
91 + DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README THANKS"
92 }
93
94 src_prepare() {
95 @@ -83,9 +84,6 @@ src_prepare() {
96 # bug #393663
97 epatch "${FILESDIR}/${PN}-3.2.1-delete.patch"
98
99 - # https://bugzilla.gnome.org/show_bug.cgi?id=664573
100 - epatch "${FILESDIR}/${PN}-3.2.1-key-press-forwarding.patch"
101 -
102 # Remove crazy CFLAGS
103 sed 's:-DG.*DISABLE_DEPRECATED::g' -i configure.in configure \
104 || die "sed 1 failed"
105
106 diff --git a/gnome-base/nautilus/nautilus-9999.ebuild b/gnome-base/nautilus/nautilus-9999.ebuild
107 index 0f01ee9..e39db04 100644
108 --- a/gnome-base/nautilus/nautilus-9999.ebuild
109 +++ b/gnome-base/nautilus/nautilus-9999.ebuild
110 @@ -21,13 +21,14 @@ if [[ ${PV} = 9999 ]]; then
111 else
112 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux"
113 fi
114 +# profiling?
115 IUSE="doc exif gnome +introspection packagekit +previewer sendto tracker xmp"
116
117 # Require {glib,gdbus-codegen}-2.30.0 due to GDBus API changes between 2.29.92
118 # and 2.30.0
119 COMMON_DEPEND=">=dev-libs/glib-2.31.9:2
120 >=x11-libs/pango-1.28.3
121 - >=x11-libs/gtk+-3.3.17:3[introspection?]
122 + >=x11-libs/gtk+-3.5.5:3[introspection?]
123 >=dev-libs/libxml2-2.7.8:2
124 >=gnome-base/gnome-desktop-3.0.0:3
125
126 @@ -73,7 +74,7 @@ pkg_setup() {
127 $(use_enable sendto nst-extension)
128 $(use_enable tracker)
129 $(use_enable xmp)"
130 - DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README THANKS TODO"
131 + DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README THANKS"
132 }
133
134 src_prepare() {
135 @@ -83,9 +84,6 @@ src_prepare() {
136 # bug #393663
137 epatch "${FILESDIR}/${PN}-3.2.1-delete.patch"
138
139 - # https://bugzilla.gnome.org/show_bug.cgi?id=664573
140 - epatch "${FILESDIR}/${PN}-3.2.1-key-press-forwarding.patch"
141 -
142 # Remove crazy CFLAGS
143 sed 's:-DG.*DISABLE_DEPRECATED::g' -i configure.in configure \
144 || die "sed 1 failed"