Gentoo Archives: gentoo-commits

From: Alexandre Rostovtsev <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-base/gvfs/
Date: Thu, 27 Dec 2012 23:02:58
Message-Id: 1356649348.7ef5c7cad9b8000a00f23dc84434e57b043a52bf.tetromino@gentoo
1 commit: 7ef5c7cad9b8000a00f23dc84434e57b043a52bf
2 Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 27 23:02:28 2012 +0000
4 Commit: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 27 23:02:28 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=7ef5c7ca
7
8 gnome-base/gvfs: sync with gx86, add metadata.xml
9
10 ---
11 gnome-base/gvfs/gvfs-9999.ebuild | 65 ++++++++++++++++++++------------------
12 gnome-base/gvfs/metadata.xml | 28 ++++++++++++++++
13 2 files changed, 62 insertions(+), 31 deletions(-)
14
15 diff --git a/gnome-base/gvfs/gvfs-9999.ebuild b/gnome-base/gvfs/gvfs-9999.ebuild
16 index 7a6a42e..f8516fa 100644
17 --- a/gnome-base/gvfs/gvfs-9999.ebuild
18 +++ b/gnome-base/gvfs/gvfs-9999.ebuild
19 @@ -2,7 +2,7 @@
20 # Distributed under the terms of the GNU General Public License v2
21 # $Header: $
22
23 -EAPI="4"
24 +EAPI="5"
25 GCONF_DEBUG="no"
26 GNOME2_LA_PUNT="yes"
27
28 @@ -36,8 +36,8 @@ RDEPEND=">=dev-libs/glib-2.33.12:2
29 sys-apps/dbus
30 dev-libs/libxml2:2
31 net-misc/openssh
32 - afp? ( >=dev-libs/libgcrypt-1.2.2 )
33 - archive? ( app-arch/libarchive )
34 + afp? ( >=dev-libs/libgcrypt-1.2.2:= )
35 + archive? ( app-arch/libarchive:= )
36 avahi? ( >=net-dns/avahi-0.6 )
37 bluetooth? (
38 >=app-mobilephone/obex-data-server-0.4.5
39 @@ -51,7 +51,7 @@ RDEPEND=">=dev-libs/glib-2.33.12:2
40 =sys-apps/gnome-disk-utility-3.0.2-r300
41 =sys-apps/gnome-disk-utility-3.0.2-r200 ) )
42 gnome-keyring? ( app-crypt/libsecret )
43 - gphoto2? ( >=media-libs/libgphoto2-2.4.7 )
44 + gphoto2? ( >=media-libs/libgphoto2-2.4.7:= )
45 gtk? ( >=x11-libs/gtk+-3.0:3 )
46 http? ( >=net-libs/libsoup-gnome-2.26.0 )
47 ios? (
48 @@ -60,24 +60,48 @@ RDEPEND=">=dev-libs/glib-2.33.12:2
49 samba? ( >=net-fs/samba-3.4.6[smbclient] )
50 systemd? ( sys-apps/systemd )
51 udev? (
52 - virtual/udev[gudev]
53 - cdda? ( >=dev-libs/libcdio-0.78.2[-minimal] ) )
54 + cdda? ( >=dev-libs/libcdio-0.78.2[-minimal] )
55 + virtual/udev[gudev] )
56 udisks? ( >=sys-fs/udisks-1.97:2[systemd?] )"
57 DEPEND="${RDEPEND}
58 dev-libs/libxslt
59 >=dev-util/intltool-0.40
60 virtual/pkgconfig
61 + dev-util/gdbus-codegen
62 dev-util/gtk-doc-am
63 doc? ( >=dev-util/gtk-doc-1 )"
64
65 REQUIRED_USE="cdda? ( udev )"
66
67 -pkg_setup() {
68 +src_prepare() {
69 + if use archive; then
70 + epatch "${FILESDIR}"/${PN}-1.2.2-expose-archive-backend.patch
71 + echo mount-archive.desktop.in >> po/POTFILES.in
72 + echo mount-archive.desktop.in.in >> po/POTFILES.in
73 + fi
74 +
75 + if ! use udev; then
76 + sed -e 's/gvfsd-burn/ /' \
77 + -e 's/burn.mount.in/ /' \
78 + -e 's/burn.mount/ /' \
79 + -i daemon/Makefile.am || die
80 + fi
81 +
82 + if use archive || ! use udev; then
83 + # libgcrypt.m4 needed for eautoreconf, bug #399043
84 + mv "${WORKDIR}/libgcrypt.m4" "${S}"/ || die
85 +
86 + [[ ${PV} = 9999 ]] || AT_M4DIR=. eautoreconf
87 + fi
88 +
89 + gnome2_src_prepare
90 +}
91 +
92 +src_configure() {
93 # --enable-documentation installs man pages
94 G2CONF="${G2CONF}
95 --disable-bash-completion
96 --disable-hal
97 - --disable-schemas-compile
98 --with-dbus-service-dir="${EPREFIX}"/usr/share/dbus-1/services
99 --enable-documentation
100 $(use_enable afp)
101 @@ -86,6 +110,7 @@ pkg_setup() {
102 $(use_enable bluetooth obexftp)
103 $(use_enable bluray)
104 $(use_enable cdda)
105 + $(use_enable doc gtk-doc)
106 $(use_enable fuse)
107 $(use_enable gdu)
108 $(use_enable gphoto2)
109 @@ -98,29 +123,7 @@ pkg_setup() {
110 $(use_enable samba)
111 $(use_enable systemd libsystemd-login)
112 $(use_enable udisks udisks2)"
113 -}
114 -
115 -src_prepare() {
116 - if use archive; then
117 - epatch "${FILESDIR}"/${PN}-1.2.2-expose-archive-backend.patch
118 - echo mount-archive.desktop.in >> po/POTFILES.in
119 - echo mount-archive.desktop.in.in >> po/POTFILES.in
120 - fi
121 -
122 - if ! use udev; then
123 - sed -i -e 's/gvfsd-burn/ /' daemon/Makefile.am || die
124 - sed -i -e 's/burn.mount.in/ /' daemon/Makefile.am || die
125 - sed -i -e 's/burn.mount/ /' daemon/Makefile.am || die
126 - fi
127 -
128 - if use archive || ! use udev; then
129 - # libgcrypt.m4 needed for eautoreconf, bug #399043
130 - mv "${WORKDIR}/libgcrypt.m4" "${S}"/ || die
131 -
132 - [[ ${PV} = 9999 ]] || AT_M4DIR=. eautoreconf
133 - fi
134 -
135 - gnome2_src_prepare
136 + gnome2_src_configure
137 }
138
139 src_install() {
140
141 diff --git a/gnome-base/gvfs/metadata.xml b/gnome-base/gvfs/metadata.xml
142 new file mode 100644
143 index 0000000..46acb9c
144 --- /dev/null
145 +++ b/gnome-base/gvfs/metadata.xml
146 @@ -0,0 +1,28 @@
147 +<?xml version="1.0" encoding="UTF-8"?>
148 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
149 +<pkgmetadata>
150 +<herd>gnome</herd>
151 +<longdescription lang="en">
152 +gvfs is a userspace virtual filesystem designed to work with the i/o
153 +abstractions of gio (a library availible in glib >= 2.15.1). It
154 +installs several modules that are automatically used by applications
155 +using the APIs of libgio. There is also fuse support that allows
156 +applications not using gio to access the gvfs filesystems.
157 +</longdescription>
158 +<use>
159 + <flag name='afp'>Enables support for accessing AFP (Apple Filing Protocol)
160 + network shares</flag>
161 + <flag name='archive'>Enables support for accessing files in archives
162 + transparently via <pkg>app-arch/libarchive</pkg></flag>
163 + <flag name='bluray'>Enable playback of Blu-ray filesystems using <pkg>media-libs/libbluray</pkg></flag>
164 + <flag name='fuse'>Enables fuse mount points in $HOME/.gvfs for legacy
165 + application access</flag>
166 + <flag name="gdu">Enable <pkg>sys-apps/gnome-disk-utility</pkg> integration</flag>
167 + <flag name="http">Enable the HTTP/DAV backend using <pkg>net-libs/libsoup-gnome</pkg></flag>
168 + <flag name="systemd">Use <pkg>sys-apps/systemd</pkg> seat information
169 + for tracking owners of removable volumes</flag>
170 + <flag name="udev">Enable udev base replacement code for cdda feature</flag>
171 + <flag name="udisks">Enable volume monitoring using <pkg>sys-fs/udisks</pkg></flag>
172 +</use>
173 +</pkgmetadata>
174 +