1 |
commit: a25e1a715f98f9b96070a22b75509e92ced16961 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 8 16:14:32 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 8 16:32:34 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a25e1a71 |
7 |
|
8 |
gnome-base/gvfs: elogind support, mtp unmount fix, other upstream patches |
9 |
|
10 |
Grab all commits (except version bump to 1.32.2) from upstream gnome-3-24 branch |
11 |
and mtp unmount fix from gnome-3-26 branch. Include patch for elogind support |
12 |
and integrate it in the ebuild. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/599482 |
15 |
Closes: https://bugs.gentoo.org/641522 |
16 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
17 |
|
18 |
gnome-base/gvfs/Manifest | 1 + |
19 |
gnome-base/gvfs/gvfs-1.32.1-r1.ebuild | 134 ++++++++++++++++++++++++++++++++++ |
20 |
gnome-base/gvfs/metadata.xml | 1 + |
21 |
3 files changed, 136 insertions(+) |
22 |
|
23 |
diff --git a/gnome-base/gvfs/Manifest b/gnome-base/gvfs/Manifest |
24 |
index 6153cebeec7..e0b74591460 100644 |
25 |
--- a/gnome-base/gvfs/Manifest |
26 |
+++ b/gnome-base/gvfs/Manifest |
27 |
@@ -1,2 +1,3 @@ |
28 |
DIST gvfs-1.30.4.tar.xz 1895304 BLAKE2B 7e7dbcde464ac3afc982d6d04916ecbee4b0cfae9481d2f75e2195b4816e8f92a5fe3d434f630dbea684b4020721825133205f303d4bf527d8826033355b547e SHA512 305b2abc8cfcb4bdea1fb84f5a7df4aac9697494f5d63d40ce1eb234b547aed497deb4d88a2cb17f9ab4fc188d49ff56033993a17cbfebae6d65a33dc84a633a |
29 |
+DIST gvfs-1.32.1-patches.tar.xz 53288 BLAKE2B 2394f0931927069b4aeab69769df74c823ebffca2e7e73245b3597e085f2fff5c98999e6eccd052fa3564339b75d764f2124592c0977fddd2eb4afeca819b965 SHA512 c3e9de02e013aaf707878f8ffab96c42ac558412020f8462f928d2c7bd8b9756aa980e6b8db50e6f0ff0ad91f250ef1a26358d80b5d1cdaa9234475ec3a3db4f |
30 |
DIST gvfs-1.32.1.tar.xz 1813212 BLAKE2B 4b349e968eaab75d75ac9e7b66087298754ad81668e415812c4db74e2e393ac2cddea1b55771656dcd67ffdca23e4cf1642afef101498d309c643519fcefcca3 SHA512 7bd4d137437c1704faf6a9c2712bddcc327284e752c552c2cc18c64beb5e6d291af321e92d02d4f09b619762121129cee82c13ec2a4ca39d045196ebeeb28dd8 |
31 |
|
32 |
diff --git a/gnome-base/gvfs/gvfs-1.32.1-r1.ebuild b/gnome-base/gvfs/gvfs-1.32.1-r1.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..cef628d1332 |
35 |
--- /dev/null |
36 |
+++ b/gnome-base/gvfs/gvfs-1.32.1-r1.ebuild |
37 |
@@ -0,0 +1,134 @@ |
38 |
+# Copyright 1999-2018 Gentoo Foundation |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=6 |
42 |
+GNOME2_LA_PUNT="yes" |
43 |
+GNOME2_EAUTORECONF="yes" |
44 |
+ |
45 |
+inherit gnome2 systemd |
46 |
+ |
47 |
+DESCRIPTION="Virtual filesystem implementation for gio" |
48 |
+HOMEPAGE="https://wiki.gnome.org/Projects/gvfs" |
49 |
+SRC_URI="${SRC_URI} https://dev.gentoo.org/~leio/distfiles/${P}-patches.tar.xz" |
50 |
+ |
51 |
+LICENSE="LGPL-2+" |
52 |
+SLOT="0" |
53 |
+ |
54 |
+IUSE="afp archive bluray cdda elogind fuse google gnome-keyring gnome-online-accounts gphoto2 gtk +http ios mtp nfs policykit samba systemd test +udev udisks zeroconf" |
55 |
+REQUIRED_USE=" |
56 |
+ cdda? ( udev ) |
57 |
+ elogind? ( !systemd udisks ) |
58 |
+ google? ( gnome-online-accounts ) |
59 |
+ mtp? ( udev ) |
60 |
+ udisks? ( udev ) |
61 |
+ systemd? ( !elogind udisks ) |
62 |
+" |
63 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x86-solaris" |
64 |
+ |
65 |
+RDEPEND=" |
66 |
+ app-crypt/gcr:= |
67 |
+ >=dev-libs/glib-2.51:2 |
68 |
+ dev-libs/libxml2:2 |
69 |
+ net-misc/openssh |
70 |
+ afp? ( >=dev-libs/libgcrypt-1.2.2:0= ) |
71 |
+ archive? ( app-arch/libarchive:= ) |
72 |
+ bluray? ( media-libs/libbluray:= ) |
73 |
+ elogind? ( >=sys-auth/elogind-229:0= ) |
74 |
+ fuse? ( >=sys-fs/fuse-2.8.0:0 ) |
75 |
+ gnome-keyring? ( app-crypt/libsecret ) |
76 |
+ gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.7.1:= ) |
77 |
+ google? ( |
78 |
+ >=dev-libs/libgdata-0.17.7:=[crypt,gnome-online-accounts] |
79 |
+ >=net-libs/gnome-online-accounts-3.17.1:= ) |
80 |
+ gphoto2? ( >=media-libs/libgphoto2-2.5.0:= ) |
81 |
+ gtk? ( >=x11-libs/gtk+-3.0:3 ) |
82 |
+ http? ( >=net-libs/libsoup-2.42:2.4 ) |
83 |
+ ios? ( |
84 |
+ >=app-pda/libimobiledevice-1.2:= |
85 |
+ >=app-pda/libplist-1:= ) |
86 |
+ mtp? ( |
87 |
+ >=dev-libs/libusb-1.0.21 |
88 |
+ >=media-libs/libmtp-1.1.12 ) |
89 |
+ nfs? ( >=net-fs/libnfs-1.9.8 ) |
90 |
+ policykit? ( |
91 |
+ sys-auth/polkit |
92 |
+ sys-libs/libcap ) |
93 |
+ samba? ( >=net-fs/samba-4[client] ) |
94 |
+ systemd? ( >=sys-apps/systemd-206:0= ) |
95 |
+ udev? ( |
96 |
+ cdda? ( dev-libs/libcdio-paranoia ) |
97 |
+ >=virtual/libgudev-147:= |
98 |
+ virtual/libudev:= ) |
99 |
+ udisks? ( >=sys-fs/udisks-1.97:2 ) |
100 |
+ zeroconf? ( >=net-dns/avahi-0.6 ) |
101 |
+" |
102 |
+DEPEND="${RDEPEND} |
103 |
+ app-text/docbook-xsl-stylesheets |
104 |
+ dev-libs/libxslt |
105 |
+ >=sys-devel/gettext-0.19.4 |
106 |
+ virtual/pkgconfig |
107 |
+ dev-util/gdbus-codegen |
108 |
+ dev-util/gtk-doc-am |
109 |
+ test? ( |
110 |
+ >=dev-python/twisted-core-12.3.0 |
111 |
+ || ( |
112 |
+ net-analyzer/netcat |
113 |
+ net-analyzer/netcat6 ) ) |
114 |
+ !udev? ( >=dev-libs/libgcrypt-1.2.2:0 ) |
115 |
+" |
116 |
+# libgcrypt.m4, provided by libgcrypt, needed for eautoreconf, bug #399043 |
117 |
+# test dependencies needed per https://bugzilla.gnome.org/700162 |
118 |
+ |
119 |
+# Tests with multiple failures, this is being handled upstream at: |
120 |
+# https://bugzilla.gnome.org/700162 |
121 |
+RESTRICT="test" |
122 |
+ |
123 |
+PATCHES=( |
124 |
+ "${WORKDIR}"/${P}-patches/ #599482, 641522, gnome-3-24 backports |
125 |
+ "${FILESDIR}"/${PN}-1.30.2-sysmacros.patch #580234 |
126 |
+) |
127 |
+ |
128 |
+src_prepare() { |
129 |
+ if ! use udev; then |
130 |
+ sed -e 's/gvfsd-burn/ /' \ |
131 |
+ -e 's/burn.mount.in/ /' \ |
132 |
+ -e 's/burn.mount/ /' \ |
133 |
+ -i daemon/Makefile.am || die |
134 |
+ fi |
135 |
+ |
136 |
+ gnome2_src_prepare |
137 |
+} |
138 |
+ |
139 |
+src_configure() { |
140 |
+ # --enable-documentation installs man pages |
141 |
+ # --disable-obexftp, upstream bug #729945 |
142 |
+ gnome2_src_configure \ |
143 |
+ --disable-gdu \ |
144 |
+ --enable-documentation \ |
145 |
+ --enable-gcr \ |
146 |
+ --with-dbus-service-dir="${EPREFIX}"/usr/share/dbus-1/services \ |
147 |
+ --with-systemduserunitdir="$(systemd_get_userunitdir)" \ |
148 |
+ $(use_enable afp) \ |
149 |
+ $(use_enable archive) \ |
150 |
+ $(use_enable bluray) \ |
151 |
+ $(use_enable cdda) \ |
152 |
+ $(use_enable elogind libelogind) \ |
153 |
+ $(use_enable fuse) \ |
154 |
+ $(use_enable gnome-keyring keyring) \ |
155 |
+ $(use_enable gnome-online-accounts goa) \ |
156 |
+ $(use_enable google) \ |
157 |
+ $(use_enable gphoto2) \ |
158 |
+ $(use_enable gtk) \ |
159 |
+ $(use_enable http) \ |
160 |
+ $(use_enable ios afc) \ |
161 |
+ $(use_enable mtp libmtp) \ |
162 |
+ $(use_enable mtp libusb) \ |
163 |
+ $(use_enable nfs) \ |
164 |
+ $(use_enable policykit admin) \ |
165 |
+ $(use_enable samba) \ |
166 |
+ $(use_enable systemd libsystemd-login) \ |
167 |
+ $(use_enable udev gudev) \ |
168 |
+ $(use_enable udev) \ |
169 |
+ $(use_enable udisks udisks2) \ |
170 |
+ $(use_enable zeroconf avahi) |
171 |
+} |
172 |
|
173 |
diff --git a/gnome-base/gvfs/metadata.xml b/gnome-base/gvfs/metadata.xml |
174 |
index 346074ac28c..d26195bc7e4 100644 |
175 |
--- a/gnome-base/gvfs/metadata.xml |
176 |
+++ b/gnome-base/gvfs/metadata.xml |
177 |
@@ -16,6 +16,7 @@ applications not using gio to access the gvfs filesystems. |
178 |
<flag name="afp">Enables support for accessing AFP (Apple Filing Protocol) network shares</flag> |
179 |
<flag name="archive">Enables support for accessing files in archives transparently via <pkg>app-arch/libarchive</pkg></flag> |
180 |
<flag name="bluray">Enable playback of Blu-ray filesystems using <pkg>media-libs/libbluray</pkg></flag> |
181 |
+ <flag name="elogind">Use <pkg>sys-auth/elogind</pkg> for session tracking.</flag> |
182 |
<flag name="fuse">Enables fuse mount points in $HOME/.gvfs for legacy application access</flag> |
183 |
<flag name="gnome-online-accounts">Enable configuration panel for <pkg>net-libs/gnome-online-accounts</pkg> accounts</flag> |
184 |
<flag name="google">Enables support for accessing Google accounts via <pkg>dev-libs/libgdata</pkg></flag> |