Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/gvfs: ChangeLog gvfs-1.6.6-r1.ebuild
Date: Tue, 04 Jan 2011 09:22:22
Message-Id: 20110104092211.9B5812005C@flycatcher.gentoo.org
1 ssuominen 11/01/04 09:22:11
2
3 Modified: ChangeLog
4 Added: gvfs-1.6.6-r1.ebuild
5 Log:
6 Enable hal support only if udev support is disabled.
7
8 (Portage version: 2.2.0_alpha10/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.126 gnome-base/gvfs/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gvfs/ChangeLog?rev=1.126&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gvfs/ChangeLog?rev=1.126&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gvfs/ChangeLog?r1=1.125&r2=1.126
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gvfs/ChangeLog,v
20 retrieving revision 1.125
21 retrieving revision 1.126
22 diff -u -r1.125 -r1.126
23 --- ChangeLog 27 Dec 2010 21:13:44 -0000 1.125
24 +++ ChangeLog 4 Jan 2011 09:22:11 -0000 1.126
25 @@ -1,6 +1,11 @@
26 # ChangeLog for gnome-base/gvfs
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gvfs/ChangeLog,v 1.125 2010/12/27 21:13:44 ranger Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gvfs/ChangeLog,v 1.126 2011/01/04 09:22:11 ssuominen Exp $
31 +
32 +*gvfs-1.6.6-r1 (04 Jan 2011)
33 +
34 + 04 Jan 2011; Samuli Suominen <ssuominen@g.o> +gvfs-1.6.6-r1.ebuild:
35 + Enable hal support only if udev support is disabled.
36
37 27 Dec 2010; Brent Baude <ranger@g.o> gvfs-1.6.4-r2.ebuild:
38 Marking gvfs-1.6.4-r2 ppc64 for bug 346687
39
40
41
42 1.1 gnome-base/gvfs/gvfs-1.6.6-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gvfs/gvfs-1.6.6-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gvfs/gvfs-1.6.6-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gvfs-1.6.6-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gvfs/gvfs-1.6.6-r1.ebuild,v 1.1 2011/01/04 09:22:11 ssuominen Exp $
52
53 EAPI="3"
54 GCONF_DEBUG="no"
55
56 inherit autotools bash-completion gnome2 eutils
57
58 DESCRIPTION="GNOME Virtual Filesystem Layer"
59 HOMEPAGE="http://www.gnome.org"
60
61 LICENSE="LGPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
64 IUSE="archive avahi bluetooth cdda doc fuse gdu gnome gnome-keyring gphoto2 hal
65 +http iphone samba +udev"
66
67 RDEPEND=">=dev-libs/glib-2.23.4
68 >=sys-apps/dbus-1.0
69 dev-libs/libxml2
70 net-misc/openssh
71 >=sys-fs/udev-138
72 archive? ( app-arch/libarchive )
73 avahi? ( >=net-dns/avahi-0.6 )
74 bluetooth? (
75 >=app-mobilephone/obex-data-server-0.4.5
76 dev-libs/dbus-glib
77 net-wireless/bluez
78 dev-libs/expat )
79 fuse? ( sys-fs/fuse )
80 gdu? ( >=sys-apps/gnome-disk-utility-2.29 )
81 gnome? ( >=gnome-base/gconf-2.0 )
82 gnome-keyring? ( >=gnome-base/gnome-keyring-1.0 )
83 gphoto2? ( >=media-libs/libgphoto2-2.4.7 )
84 iphone? ( app-pda/libimobiledevice )
85 udev? (
86 cdda? ( >=dev-libs/libcdio-0.78.2[-minimal] )
87 >=sys-fs/udev-145[extras] )
88 hal? ( !udev? (
89 cdda? ( >=dev-libs/libcdio-0.78.2[-minimal] )
90 >=sys-apps/hal-0.5.10 ) )
91 http? ( >=net-libs/libsoup-gnome-2.26.0 )
92 samba? ( || ( >=net-fs/samba-3.4.6[smbclient]
93 <=net-fs/samba-3.3 ) )"
94 DEPEND="${RDEPEND}
95 >=dev-util/intltool-0.40
96 >=dev-util/pkgconfig-0.19
97 dev-util/gtk-doc-am
98 doc? ( >=dev-util/gtk-doc-1 )"
99
100 pkg_setup() {
101 if use cdda && ! use hal && ! use udev; then
102 ewarn "You have \"+cdda\", but you have \"-hal\" and \"-udev\""
103 ewarn "cdda support will NOT be built unless you enable EITHER hal OR udev"
104 fi
105
106 G2CONF="${G2CONF}
107 --disable-hal
108 --enable-udev
109 --disable-bash-completion
110 --with-dbus-service-dir=/usr/share/dbus-1/services
111 $(use_enable archive)
112 $(use_enable avahi)
113 $(use_enable bluetooth obexftp)
114 $(use_enable cdda)
115 $(use_enable fuse)
116 $(use_enable gdu)
117 $(use_enable gnome gconf)
118 $(use_enable gphoto2)
119 $(use_enable iphone afc)
120 $(use_enable udev gudev)
121 $(use_enable http)
122 $(use_enable gnome-keyring keyring)
123 $(use_enable samba)"
124
125 if use hal && ! use udev; then
126 G2CONF="${G2CONF} --enable-hal"
127 ewarn "Enabling deprecated hal support. This will override udev support."
128 fi
129
130 DOCS="AUTHORS ChangeLog NEWS README TODO"
131 }
132
133 src_prepare() {
134 gnome2_src_prepare
135
136 # Conditional patching purely to avoid eautoreconf
137 use gphoto2 && epatch "${FILESDIR}/${PN}-1.2.2-gphoto2-stricter-checks.patch"
138
139 if use archive; then
140 epatch "${FILESDIR}/${PN}-1.2.2-expose-archive-backend.patch"
141 echo "mount-archive.desktop.in" >> po/POTFILES.in
142 echo "mount-archive.desktop.in.in" >> po/POTFILES.in
143 fi
144
145 use gphoto2 || use archive && eautoreconf
146 }
147
148 src_install() {
149 gnome2_src_install
150 use bash-completion && \
151 dobashcompletion programs/gvfs-bash-completion.sh ${PN}
152 }
153
154 pkg_postinst() {
155 gnome2_pkg_postinst
156 use bash-completion && bash-completion_pkg_postinst
157
158 ewarn "In order to use the new gvfs services, please reload dbus configuration"
159 ewarn "You may need to log out and log back in for some changes to take effect"
160 }