commit: 2e72d5fd363fb1723819d40dd0503717c2ad0906 parent: ae88e595313b6160939a1b7e6f5955f7a7f8b0ee Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Wed, 26 Dec 2018 04:11:30 +0100 gnome-base/gvfs: Import from ::gentooDiffstat:
A | gnome-base/gvfs/Manifest | 8 | ++++++++ |
A | gnome-base/gvfs/files/gvfs-1.30.2-sysmacros.patch | 21 | +++++++++++++++++++++ |
A | gnome-base/gvfs/gvfs-1.32.2.ebuild | 135 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
A | gnome-base/gvfs/metadata.xml | 27 | +++++++++++++++++++++++++++ |
4 files changed, 191 insertions(+), 0 deletions(-)
diff --git a/gnome-base/gvfs/Manifest b/gnome-base/gvfs/Manifest @@ -0,0 +1,8 @@ +AUX gvfs-1.30.2-sysmacros.patch 525 BLAKE2B 27337a06b02aea544e98b5726ac5a1ae29c8632150c373ce85f0f601c368e0f1430217ee729de5494e15162a05423c738e0756431a46c87b62ac647615b6273d SHA512 9b06683ed3b8ceea1b330e86308c396581ab4c85aa22199ce92acad915bb28f0fed8997558c08b18cb9c5f1bab45e46a1365831acaf1c194e7134e185849dba2 +DIST gvfs-1.32.2-patchset.tar.xz 22152 BLAKE2B 46371e4da9f3259ae1be6e7900aa9c3fa83913cf1f5ac80c485abc6a10bd77667e7fad29a09eb160af39212da31c00ccccbc3e47b4ed79780e254ff78d4b7130 SHA512 d7a17a33b737d8ac679e259055b57f63ef18f783dd7887c726502f8c05cb9339addd8728ee180ed15dc7d067ff45cc1888bc42a8ca45f9734717cfcde53f3e45 +DIST gvfs-1.32.2.tar.xz 1820100 BLAKE2B a12209f8d1f1350edfc470bb8181d68172580909764899a20b248e5dca673e5904aef0562f3244336dd8eff66cbae926d4fb2ebcccc30125328e15aeb622b481 SHA512 2fecb7103917f976528a75d317ddb6c9a71c2787cd1bd442c42a40177b74a026e37c9794117f802ebf608091d446ac58eb80d1a618df619180bb3920a98a9457 +DIST gvfs-1.34.2.1-patchset.tar.xz 2608 BLAKE2B 1041815fa35e052219df561325bab4a96e9e36c5b3afac70c6bf16f21fe3d72b70edbc59fb9df4b5b266748f6fdeb7358182bffd0eb61572d86c369a57a49bb9 SHA512 1baafda67997265ae5ad0facbdaf1d274fb400fffa3059aad40a9239b20c1362bcaa58e3a751dc575b46c5e71f94e245e625e2b12c2f178acff7d3b0dbf7c3c7 +DIST gvfs-1.34.2.1.tar.xz 1822700 BLAKE2B 2de1e86bf9dfe6567c59c7d1e2032f9e749daef0a1deb27963c0b5122be5925256c02a90dae5371bed9e037137400cca8e3461f415b3bed36de4310757bced62 SHA512 ff8d2ebff220e8432584d13640747d54c78c7350c0b8b9ed8544eb311fb4211897fb8473375b246cc1271df507f5ae2dd4edc6d5fd5d2061792377f3f37ebdb1 +EBUILD gvfs-1.32.2.ebuild 3811 BLAKE2B e0980669a87db9f15e07e81e281ecec55ce72aa98f924acf182fbf9aef851dc8b7566ae15b81f635fca1150da730aa17f1d20e5242e4116f08d16117cd80d174 SHA512 a7e156297e36658b14b9c76c2c78318ea135a4be914ff06f587cafe3cedd5b9c44d6e946117ad520a65551b15fba5fdfd65de2862f3d8ad10fd6f729f983ddb4 +EBUILD gvfs-1.34.2.1-r1.ebuild 3741 BLAKE2B cdc826af8a3ceffa2e211ae804f31b970c554aace54dcd71ef3eb197ffef40be96c68c0b7624214c6e3007c922d8396f9f8c8d75409b16f7b36081cdd8acfede SHA512 98afd5b53bf08526a43ba561b8bd27e295f4f33247b29a344a0142657a5715d0af29edd55ecccf1912985ab416e34eb837191769de84b3255058e0e1fda22fa7 +MISC metadata.xml 1625 BLAKE2B 931da927a3cef58e8d768454cdda485acf3b8b42a87d9d4be0faa495e7b49b16e780815a0a959b91b116b078cb333c69873374e0f95e8aadb074ce836df3149d SHA512 4a3815b41763def19356793e36bafbd8a87359c9501f526465a6d8b62394c1605909b70ba4b8679b2dca89bb2660ea573a0e97611facf2d23c878fcdf51e7bfc diff --git a/gnome-base/gvfs/files/gvfs-1.30.2-sysmacros.patch b/gnome-base/gvfs/files/gvfs-1.30.2-sysmacros.patch @@ -0,0 +1,21 @@ +https://bugzilla.gnome.org/show_bug.cgi?id=776532 +https://bugs.gentoo.org/580234 + +--- a/metadata/meta-daemon.c ++++ b/metadata/meta-daemon.c +@@ -27,6 +27,7 @@ + #include <glib/gstdio.h> + #include <locale.h> + #include <stdlib.h> ++#include <sys/sysmacros.h> + #include "metatree.h" + #include "gvfsdaemonprotocol.h" + #include "metadata-dbus.h" +--- a/metadata/metatree.c ++++ b/metadata/metatree.c +@@ -1,4 +1,5 @@ + #include "config.h" ++#include <sys/sysmacros.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/mman.h> diff --git a/gnome-base/gvfs/gvfs-1.32.2.ebuild b/gnome-base/gvfs/gvfs-1.32.2.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" +GNOME2_EAUTORECONF="yes" + +inherit gnome2 systemd + +DESCRIPTION="Virtual filesystem implementation for gio" +HOMEPAGE="https://wiki.gnome.org/Projects/gvfs" +SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz" + +LICENSE="LGPL-2+" +SLOT="0" + +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" +REQUIRED_USE=" + cdda? ( udev ) + elogind? ( !systemd udisks ) + google? ( gnome-online-accounts ) + mtp? ( udev ) + udisks? ( udev ) + systemd? ( !elogind udisks ) +" +KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" + +RDEPEND=" + app-crypt/gcr:= + >=dev-libs/glib-2.51:2 + dev-libs/libxml2:2 + net-misc/openssh + afp? ( >=dev-libs/libgcrypt-1.2.2:0= ) + archive? ( app-arch/libarchive:= ) + bluray? ( media-libs/libbluray:= ) + elogind? ( >=sys-auth/elogind-229:0= ) + fuse? ( >=sys-fs/fuse-2.8.0:0 ) + gnome-keyring? ( app-crypt/libsecret ) + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.7.1:= ) + google? ( + >=dev-libs/libgdata-0.17.7:=[crypt,gnome-online-accounts] + >=net-libs/gnome-online-accounts-3.17.1:= ) + gphoto2? ( >=media-libs/libgphoto2-2.5.0:= ) + gtk? ( >=x11-libs/gtk+-3.0:3 ) + http? ( >=net-libs/libsoup-2.42:2.4 ) + ios? ( + >=app-pda/libimobiledevice-1.2:= + >=app-pda/libplist-1:= ) + mtp? ( + >=dev-libs/libusb-1.0.21 + >=media-libs/libmtp-1.1.12 ) + nfs? ( >=net-fs/libnfs-1.9.8 ) + policykit? ( + sys-auth/polkit + sys-libs/libcap ) + samba? ( >=net-fs/samba-4[client] ) + systemd? ( >=sys-apps/systemd-206:0= ) + udev? ( + cdda? ( dev-libs/libcdio-paranoia ) + >=virtual/libgudev-147:= + virtual/libudev:= ) + udisks? ( >=sys-fs/udisks-1.97:2 ) + zeroconf? ( >=net-dns/avahi-0.6 ) +" +DEPEND="${RDEPEND} + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + >=sys-devel/gettext-0.19.4 + virtual/pkgconfig + dev-util/gdbus-codegen + dev-util/glib-utils + dev-util/gtk-doc-am + test? ( + >=dev-python/twisted-16 + || ( + net-analyzer/netcat + net-analyzer/netcat6 ) ) + !udev? ( >=dev-libs/libgcrypt-1.2.2:0 ) +" +# libgcrypt.m4, provided by libgcrypt, needed for eautoreconf, bug #399043 +# test dependencies needed per https://bugzilla.gnome.org/700162 + +# Tests with multiple failures, this is being handled upstream at: +# https://bugzilla.gnome.org/700162 +RESTRICT="test" + +PATCHES=( + "${WORKDIR}"/patches/ #599482, 641522, gnome-3-24 backports + "${FILESDIR}"/${PN}-1.30.2-sysmacros.patch #580234 +) + +src_prepare() { + if ! use udev; then + sed -e 's/gvfsd-burn/ /' \ + -e 's/burn.mount.in/ /' \ + -e 's/burn.mount/ /' \ + -i daemon/Makefile.am || die + fi + + gnome2_src_prepare +} + +src_configure() { + # --enable-documentation installs man pages + # --disable-obexftp, upstream bug #729945 + gnome2_src_configure \ + --disable-gdu \ + --enable-documentation \ + --enable-gcr \ + --with-dbus-service-dir="${EPREFIX}"/usr/share/dbus-1/services \ + --with-systemduserunitdir="$(systemd_get_userunitdir)" \ + $(use_enable afp) \ + $(use_enable archive) \ + $(use_enable bluray) \ + $(use_enable cdda) \ + $(use_enable elogind libelogind) \ + $(use_enable fuse) \ + $(use_enable gnome-keyring keyring) \ + $(use_enable gnome-online-accounts goa) \ + $(use_enable google) \ + $(use_enable gphoto2) \ + $(use_enable gtk) \ + $(use_enable http) \ + $(use_enable ios afc) \ + $(use_enable mtp libmtp) \ + $(use_enable mtp libusb) \ + $(use_enable nfs) \ + $(use_enable policykit admin) \ + $(use_enable samba) \ + $(use_enable systemd libsystemd-login) \ + $(use_enable udev gudev) \ + $(use_enable udev) \ + $(use_enable udisks udisks2) \ + $(use_enable zeroconf avahi) +} diff --git a/gnome-base/gvfs/metadata.xml b/gnome-base/gvfs/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +<longdescription lang="en"> +gvfs is a userspace virtual filesystem designed to work with the i/o +abstractions of gio (a library availible in glib >= 2.15.1). It +installs several modules that are automatically used by applications +using the APIs of libgio. There is also fuse support that allows +applications not using gio to access the gvfs filesystems. +</longdescription> +<use> + <flag name="afp">Enables support for accessing AFP (Apple Filing Protocol) network shares</flag> + <flag name="archive">Enables support for accessing files in archives transparently via <pkg>app-arch/libarchive</pkg></flag> + <flag name="bluray">Enable playback of Blu-ray filesystems using <pkg>media-libs/libbluray</pkg></flag> + <flag name="elogind">Use <pkg>sys-auth/elogind</pkg> for session tracking.</flag> + <flag name="fuse">Enables fuse mount points in $HOME/.gvfs for legacy application access</flag> + <flag name="gnome-online-accounts">Enable configuration panel for <pkg>net-libs/gnome-online-accounts</pkg> accounts</flag> + <flag name="google">Enables support for accessing Google accounts via <pkg>dev-libs/libgdata</pkg></flag> + <flag name="http">Enable the HTTP/DAV backend using <pkg>net-libs/libsoup</pkg></flag> + <flag name="nfs">Enable NFS client support via <pkg>net-fs/libnfs</pkg>.</flag> + <flag name="udev">Enable udev base replacement code for cdda feature</flag> +</use> +</pkgmetadata>