1 |
commit: 718b7ddcdc2fe01bb20045d52a05a72e01ccb252 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 13 22:05:54 2013 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 1 14:57:59 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=718b7ddc |
7 |
|
8 |
gnome-base/nautilus: 3.8.2 → 3.10.1 |
9 |
|
10 |
--- |
11 |
gnome-base/nautilus/nautilus-9999.ebuild | 75 ++++++++++++++++++++------------ |
12 |
1 file changed, 47 insertions(+), 28 deletions(-) |
13 |
|
14 |
diff --git a/gnome-base/nautilus/nautilus-9999.ebuild b/gnome-base/nautilus/nautilus-9999.ebuild |
15 |
index 7c8dbc8..dc8cbf2 100644 |
16 |
--- a/gnome-base/nautilus/nautilus-9999.ebuild |
17 |
+++ b/gnome-base/nautilus/nautilus-9999.ebuild |
18 |
@@ -1,12 +1,12 @@ |
19 |
-# Copyright 1999-2012 Gentoo Foundation |
20 |
+# Copyright 1999-2013 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
# $Header: $ |
23 |
|
24 |
EAPI="5" |
25 |
GCONF_DEBUG="no" |
26 |
-GNOME2_LA_PUNT="yes" |
27 |
+GNOME2_LA_PUNT="yes" # Needed with USE 'sendto' |
28 |
|
29 |
-inherit eutils gnome2 virtualx |
30 |
+inherit eutils gnome2 readme.gentoo virtualx |
31 |
if [[ ${PV} = 9999 ]]; then |
32 |
inherit gnome2-live |
33 |
fi |
34 |
@@ -16,13 +16,14 @@ HOMEPAGE="http://live.gnome.org/Nautilus" |
35 |
|
36 |
LICENSE="GPL-2+ LGPL-2+ FDL-1.1" |
37 |
SLOT="0" |
38 |
+ |
39 |
# profiling? |
40 |
IUSE="debug exif gnome +introspection packagekit +previewer sendto tracker xmp" |
41 |
if [[ ${PV} = 9999 ]]; then |
42 |
IUSE="${IUSE} doc" |
43 |
KEYWORDS="" |
44 |
else |
45 |
- KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux" |
46 |
+ KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux" |
47 |
fi |
48 |
|
49 |
# FIXME: tests fails under Xvfb, but pass when building manually |
50 |
@@ -33,14 +34,14 @@ RESTRICT="test" |
51 |
# Require {glib,gdbus-codegen}-2.30.0 due to GDBus API changes between 2.29.92 |
52 |
# and 2.30.0 |
53 |
COMMON_DEPEND=" |
54 |
- >=dev-libs/glib-2.33.13:2 |
55 |
+ >=dev-libs/glib-2.35.3:2 |
56 |
>=x11-libs/pango-1.28.3 |
57 |
- >=x11-libs/gtk+-3.5.12:3[introspection?] |
58 |
+ >=x11-libs/gtk+-3.9.11:3[introspection?] |
59 |
>=dev-libs/libxml2-2.7.8:2 |
60 |
>=gnome-base/gnome-desktop-3:3= |
61 |
|
62 |
gnome-base/dconf |
63 |
- gnome-base/gsettings-desktop-schemas |
64 |
+ >=gnome-base/gsettings-desktop-schemas-3.8.0 |
65 |
>=x11-libs/libnotify-0.7:= |
66 |
x11-libs/libX11 |
67 |
x11-libs/libXext |
68 |
@@ -48,8 +49,9 @@ COMMON_DEPEND=" |
69 |
|
70 |
exif? ( >=media-libs/libexif-0.6.20 ) |
71 |
introspection? ( >=dev-libs/gobject-introspection-0.6.4 ) |
72 |
- tracker? ( >=app-misc/tracker-0.14:= ) |
73 |
- xmp? ( >=media-libs/exempi-2.1.0 )" |
74 |
+ tracker? ( >=app-misc/tracker-0.16:= ) |
75 |
+ xmp? ( >=media-libs/exempi-2.1.0 ) |
76 |
+" |
77 |
DEPEND="${COMMON_DEPEND} |
78 |
>=dev-lang/perl-5 |
79 |
>=dev-util/gdbus-codegen-2.33 |
80 |
@@ -57,20 +59,26 @@ DEPEND="${COMMON_DEPEND} |
81 |
>=dev-util/intltool-0.40.1 |
82 |
sys-devel/gettext |
83 |
virtual/pkgconfig |
84 |
- x11-proto/xproto" |
85 |
+ x11-proto/xproto |
86 |
+" |
87 |
RDEPEND="${COMMON_DEPEND} |
88 |
packagekit? ( app-admin/packagekit-base ) |
89 |
- sendto? ( !<gnome-extra/nautilus-sendto-3.0.1 )" |
90 |
+ sendto? ( !<gnome-extra/nautilus-sendto-3.0.1 ) |
91 |
+" |
92 |
+ |
93 |
# For eautoreconf |
94 |
# gnome-base/gnome-common |
95 |
# dev-util/gtk-doc-am" |
96 |
-PDEPEND="gnome? ( |
97 |
+ |
98 |
+PDEPEND=" |
99 |
+ gnome? ( |
100 |
>=x11-themes/gnome-icon-theme-1.1.91 |
101 |
x11-themes/gnome-icon-theme-symbolic ) |
102 |
tracker? ( >=gnome-extra/nautilus-tracker-tags-0.12 ) |
103 |
previewer? ( >=gnome-extra/sushi-0.1.9 ) |
104 |
sendto? ( >=gnome-extra/nautilus-sendto-3.0.1 ) |
105 |
- >=gnome-base/gvfs-1.14[gtk]" |
106 |
+ >=gnome-base/gvfs-1.14[gtk] |
107 |
+" |
108 |
# Need gvfs[gtk] for recent:/// support |
109 |
|
110 |
if [[ ${PV} = 9999 ]]; then |
111 |
@@ -79,26 +87,34 @@ if [[ ${PV} = 9999 ]]; then |
112 |
fi |
113 |
|
114 |
src_prepare() { |
115 |
+ if use previewer; then |
116 |
+ DOC_CONTENTS="nautilus uses gnome-extra/sushi to preview media files. |
117 |
+ To activate the previewer, select a file and press space; to |
118 |
+ close the previewer, press space again." |
119 |
+ fi |
120 |
+ |
121 |
# Restore the nautilus-2.x Delete shortcut (Ctrl+Delete will still work); |
122 |
# bug #393663 |
123 |
epatch "${FILESDIR}/${PN}-3.5.91-delete.patch" |
124 |
|
125 |
+ # Remove -D*DEPRECATED flags. Don't leave this for eclass! (bug #448822) |
126 |
+ sed -e 's/DISABLE_DEPRECATED_CFLAGS=.*/DISABLE_DEPRECATED_CFLAGS=/' \ |
127 |
+ -i configure || die "sed failed" |
128 |
gnome2_src_prepare |
129 |
} |
130 |
|
131 |
src_configure() { |
132 |
- DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README THANKS" |
133 |
- G2CONF="${G2CONF} |
134 |
- --disable-profiling |
135 |
- --disable-update-mimedb |
136 |
- $(use_enable debug) |
137 |
- $(use_enable exif libexif) |
138 |
- $(use_enable introspection) |
139 |
- $(use_enable packagekit) |
140 |
- $(use_enable sendto nst-extension) |
141 |
- $(use_enable tracker) |
142 |
- $(use_enable xmp)" |
143 |
- gnome2_src_configure |
144 |
+ DOCS="AUTHORS HACKING MAINTAINERS NEWS README* THANKS" |
145 |
+ gnome2_src_configure \ |
146 |
+ --disable-profiling \ |
147 |
+ --disable-update-mimedb \ |
148 |
+ $(use_enable debug) \ |
149 |
+ $(use_enable exif libexif) \ |
150 |
+ $(use_enable introspection) \ |
151 |
+ $(use_enable packagekit) \ |
152 |
+ $(use_enable sendto nst-extension) \ |
153 |
+ $(use_enable tracker) \ |
154 |
+ $(use_enable xmp) |
155 |
} |
156 |
|
157 |
src_test() { |
158 |
@@ -109,13 +125,16 @@ src_test() { |
159 |
unset GSETTINGS_BACKEND |
160 |
} |
161 |
|
162 |
+src_install() { |
163 |
+ use previewer && readme.gentoo_create_doc |
164 |
+ gnome2_src_install |
165 |
+} |
166 |
+ |
167 |
pkg_postinst() { |
168 |
gnome2_pkg_postinst |
169 |
|
170 |
if use previewer; then |
171 |
- elog "nautilus uses gnome-extra/sushi to preview media files." |
172 |
- elog "To activate the previewer, select a file and press space; to" |
173 |
- elog "close the previewer, press space again." |
174 |
+ readme.gentoo_print_elog |
175 |
else |
176 |
elog "To preview media files, emerge nautilus with USE=previewer" |
177 |
fi |