Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/gvfs/
Date: Sat, 02 Mar 2019 23:13:01
Message-Id: 1551568357.7ad78f8523d53cc17e192b1e674972bd935ecb79.leio@gentoo
1 commit: 7ad78f8523d53cc17e192b1e674972bd935ecb79
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 2 22:51:38 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 2 23:12:37 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ad78f85
7
8 gnome-base/gvfs: bump to 1.38.1
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 gnome-base/gvfs/Manifest | 2 +
14 gnome-base/gvfs/gvfs-1.38.1.ebuild | 136 +++++++++++++++++++++++++++++++++++++
15 gnome-base/gvfs/metadata.xml | 11 +--
16 3 files changed, 144 insertions(+), 5 deletions(-)
17
18 diff --git a/gnome-base/gvfs/Manifest b/gnome-base/gvfs/Manifest
19 index bc73af668c4..61f9f27a52b 100644
20 --- a/gnome-base/gvfs/Manifest
21 +++ b/gnome-base/gvfs/Manifest
22 @@ -2,3 +2,5 @@ DIST gvfs-1.32.2-patchset.tar.xz 22152 BLAKE2B 46371e4da9f3259ae1be6e7900aa9c3fa
23 DIST gvfs-1.32.2.tar.xz 1820100 BLAKE2B a12209f8d1f1350edfc470bb8181d68172580909764899a20b248e5dca673e5904aef0562f3244336dd8eff66cbae926d4fb2ebcccc30125328e15aeb622b481 SHA512 2fecb7103917f976528a75d317ddb6c9a71c2787cd1bd442c42a40177b74a026e37c9794117f802ebf608091d446ac58eb80d1a618df619180bb3920a98a9457
24 DIST gvfs-1.34.2.1-patchset.tar.xz 2608 BLAKE2B 1041815fa35e052219df561325bab4a96e9e36c5b3afac70c6bf16f21fe3d72b70edbc59fb9df4b5b266748f6fdeb7358182bffd0eb61572d86c369a57a49bb9 SHA512 1baafda67997265ae5ad0facbdaf1d274fb400fffa3059aad40a9239b20c1362bcaa58e3a751dc575b46c5e71f94e245e625e2b12c2f178acff7d3b0dbf7c3c7
25 DIST gvfs-1.34.2.1.tar.xz 1822700 BLAKE2B 2de1e86bf9dfe6567c59c7d1e2032f9e749daef0a1deb27963c0b5122be5925256c02a90dae5371bed9e037137400cca8e3461f415b3bed36de4310757bced62 SHA512 ff8d2ebff220e8432584d13640747d54c78c7350c0b8b9ed8544eb311fb4211897fb8473375b246cc1271df507f5ae2dd4edc6d5fd5d2061792377f3f37ebdb1
26 +DIST gvfs-1.38.1-patchset.tar.xz 37140 BLAKE2B 72174e97097c7ea05569a6a4f0bc29490572bc0215b12dd83014fb742e777b786d22a7da3a0a8404635c83e3094e8f187f568b6cb480ee5b14f0cdd9e6f10d50 SHA512 b14544a0be8d534d32b633cace8dc458dfddcfa2ff6e2076bfd486eda0c5fe3bb9443ddb7b2083a776eab76e93f2266c9d35b45ac0a70a0d31878b284fb3bcd2
27 +DIST gvfs-1.38.1.tar.xz 1203224 BLAKE2B 42c239163f5040e30c66598afa91ba995267c746792357b93077a84da760ec1242ce7091cedb991712ccf056e8950e92108142c5c4d1b18976f6756bb6100362 SHA512 69b186c9dd2129636109dd46e7b7c34767400266af53fcd701bd1332886ae0be4bb4a72d4543873e7db0dda19f325b384219dff935f749b62cec0a6b36aa3de7
28
29 diff --git a/gnome-base/gvfs/gvfs-1.38.1.ebuild b/gnome-base/gvfs/gvfs-1.38.1.ebuild
30 new file mode 100644
31 index 00000000000..b89255e7cab
32 --- /dev/null
33 +++ b/gnome-base/gvfs/gvfs-1.38.1.ebuild
34 @@ -0,0 +1,136 @@
35 +# Copyright 1999-2019 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=6
39 +
40 +inherit gnome.org gnome2-utils meson systemd xdg
41 +
42 +DESCRIPTION="Virtual filesystem implementation for GIO"
43 +HOMEPAGE="https://wiki.gnome.org/Projects/gvfs"
44 +SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz"
45 +
46 +LICENSE="LGPL-2+"
47 +SLOT="0"
48 +
49 +IUSE="afp archive bluray cdda elogind fuse google gnome-keyring gnome-online-accounts gphoto2 +http ios mtp nfs policykit samba systemd test +udev udisks zeroconf"
50 +# elogind/systemd only relevant to udisks (in v1.38.1)
51 +REQUIRED_USE="
52 + ?? ( elogind systemd )
53 + cdda? ( udev )
54 + google? ( gnome-online-accounts )
55 + gphoto2? ( udev )
56 + mtp? ( udev )
57 + udisks? ( udev )
58 +"
59 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
60 +
61 +RDEPEND="
62 + >=dev-libs/glib-2.57.2:2
63 + afp? ( >=dev-libs/libgcrypt-1.2.2:0= )
64 + sys-apps/dbus
65 + app-crypt/gcr:=
66 + policykit? (
67 + >=sys-auth/polkit-0.114
68 + sys-libs/libcap )
69 + http? (
70 + dev-libs/libxml2:2
71 + >=net-libs/libsoup-2.42.0:2.4 )
72 + zeroconf? ( >=net-dns/avahi-0.6 )
73 + udev? ( >=virtual/libgudev-147:= )
74 + fuse? ( >=sys-fs/fuse-2.8.0:0 )
75 + udisks? ( >=sys-fs/udisks-1.97:2 )
76 + systemd? ( >=sys-apps/systemd-206:0= )
77 + elogind? ( >=sys-auth/elogind-229:0= )
78 + ios? (
79 + >=app-pda/libimobiledevice-1.2:=
80 + >=app-pda/libplist-1:= )
81 + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.17.1:= )
82 + gnome-keyring? ( app-crypt/libsecret )
83 + bluray? ( media-libs/libbluray:= )
84 + mtp? (
85 + >=dev-libs/libusb-1.0.21
86 + >=media-libs/libmtp-1.1.15 )
87 + samba? ( >=net-fs/samba-4[client] )
88 + archive? ( app-arch/libarchive:= )
89 + cdda? (
90 + dev-libs/libcdio:0=
91 + >=dev-libs/libcdio-paranoia-0.78.2 )
92 + google? ( >=dev-libs/libgdata-0.17.9:=[crypt,gnome-online-accounts] )
93 + gphoto2? ( >=media-libs/libgphoto2-2.5.0:= )
94 + nfs? ( >=net-fs/libnfs-1.9.8 )
95 + net-misc/openssh
96 +"
97 +DEPEND="${RDEPEND}
98 + dev-util/glib-utils
99 + app-text/docbook-xsl-stylesheets
100 + app-text/docbook-xml-dtd:4.2
101 + dev-libs/libxslt
102 + >=sys-devel/gettext-0.19.4
103 + virtual/pkgconfig
104 + dev-util/gdbus-codegen
105 +"
106 +
107 +PATCHES=(
108 + "${WORKDIR}"/patches/ # origin/gnome-3-30@20190301
109 +)
110 +
111 +src_configure() {
112 + local enable_logind="false"
113 + if use systemd || use elogind; then
114 + enable_logind="true"
115 + fi
116 +
117 + local enable_gcrypt="false"
118 + if use afp; then # currently HAVE_GCRYPT and linkage only used with afp; check it on big bumps (grep for HAVE_GCRYPT and enable_gcrypt); adjust depends if changes
119 + enable_gcrypt="true"
120 + fi
121 +
122 + local enable_libusb="false"
123 + if use mtp; then # currently HAVE_LIBUSB and linkage only used with mtp; check it on big bumps (grep for HAVE_LIBUSB and enable_libusb); adjust depends if changes
124 + enable_libusb="true"
125 + fi
126 +
127 + local emesonargs=(
128 + -Dsystemduserunitdir="$(systemd_get_userunitdir)"
129 + -Dtmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d
130 + $(meson_use policykit admin)
131 + $(meson_use ios afc)
132 + $(meson_use afp)
133 + $(meson_use archive)
134 + $(meson_use cdda)
135 + $(meson_use zeroconf dnssd)
136 + $(meson_use gnome-online-accounts goa)
137 + $(meson_use google)
138 + $(meson_use gphoto2)
139 + $(meson_use http)
140 + $(meson_use mtp)
141 + $(meson_use nfs)
142 + -Dsftp=true
143 + $(meson_use samba smb)
144 + $(meson_use udisks udisks2)
145 + $(meson_use bluray)
146 + $(meson_use fuse)
147 + -Dgcr=true
148 + -Dgcrypt=${enable_gcrypt}
149 + $(meson_use udev gudev)
150 + $(meson_use gnome-keyring keyring)
151 + -Dlogind=${enable_logind}
152 + -Dlibusb=${enable_libusb}
153 + -Ddevel_utils=false # wouldn't install any of it as of 1.38.1; some tests need it, but they aren't automated tests in v1.38.1
154 + -Dinstalled_tests=false
155 + -Dman=true
156 + )
157 + meson_src_configure
158 +}
159 +
160 +pkg_postinst() {
161 + xdg_pkg_postinst
162 + gnome2_schemas_update
163 + gnome2_giomodule_cache_update
164 +}
165 +
166 +pkg_postrm() {
167 + xdg_pkg_postrm
168 + gnome2_schemas_update
169 + gnome2_giomodule_cache_update
170 +}
171
172 diff --git a/gnome-base/gvfs/metadata.xml b/gnome-base/gvfs/metadata.xml
173 index d26195bc7e4..ca9b9b73c21 100644
174 --- a/gnome-base/gvfs/metadata.xml
175 +++ b/gnome-base/gvfs/metadata.xml
176 @@ -6,11 +6,12 @@
177 <name>Gentoo GNOME Desktop</name>
178 </maintainer>
179 <longdescription lang="en">
180 -gvfs is a userspace virtual filesystem designed to work with the i/o
181 -abstractions of gio (a library availible in glib &gt;= 2.15.1). It
182 -installs several modules that are automatically used by applications
183 -using the APIs of libgio. There is also fuse support that allows
184 -applications not using gio to access the gvfs filesystems.
185 +GVfs is a userspace virtual filesystem implementation for GIO (a library
186 +available in GLib). GVfs comes with a set of backends, including trash
187 +support, SFTP, SMB, HTTP, DAV, and many others. GVfs also contains modules
188 +for GIO that implement volume monitors and persistent metadata storage.
189 +There is also FUSE support that provides limited access to the GVfs
190 +filesystems for applications not using GIO.
191 </longdescription>
192 <use>
193 <flag name="afp">Enables support for accessing AFP (Apple Filing Protocol) network shares</flag>