Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/gnome-vfs: ChangeLog gnome-vfs-2.24.4.ebuild
Date: Sat, 02 Oct 2010 11:55:07
Message-Id: 20101002115503.CA81E20054@flycatcher.gentoo.org
1 eva 10/10/02 11:55:03
2
3 Modified: ChangeLog
4 Added: gnome-vfs-2.24.4.ebuild
5 Log:
6 Version bump. Do not build tests if not needed, bug #226221. Disable broken test, bug #285706. Do not install *.la files for gnome-vfs modules.
7
8 (Portage version: 2.2_rc88/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.332 gnome-base/gnome-vfs/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-vfs/ChangeLog?rev=1.332&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-vfs/ChangeLog?rev=1.332&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-vfs/ChangeLog?r1=1.331&r2=1.332
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gnome-vfs/ChangeLog,v
20 retrieving revision 1.331
21 retrieving revision 1.332
22 diff -u -r1.331 -r1.332
23 --- ChangeLog 11 Sep 2010 18:39:07 -0000 1.331
24 +++ ChangeLog 2 Oct 2010 11:55:03 -0000 1.332
25 @@ -1,6 +1,16 @@
26 # ChangeLog for gnome-base/gnome-vfs
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-vfs/ChangeLog,v 1.331 2010/09/11 18:39:07 josejx Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-vfs/ChangeLog,v 1.332 2010/10/02 11:55:03 eva Exp $
30 +
31 +*gnome-vfs-2.24.4 (02 Oct 2010)
32 +
33 + 02 Oct 2010; Gilles Dartiguelongue <eva@g.o>
34 + files/gnome-vfs-2.24.0-uuid-mount.patch, +gnome-vfs-2.24.4.ebuild,
35 + +files/gnome-vfs-2.24.4-build-tests-asneeded.patch,
36 + +files/gnome-vfs-2.24.4-disable-test-async-cancel.patch,
37 + +files/gnome-vfs-2.24.4-home_dir_fakeroot.patch:
38 + Version bump. Do not build tests if not needed, bug #226221. Disable
39 + broken test, bug #285706. Do not install *.la files for gnome-vfs modules.
40
41 11 Sep 2010; Joseph Jezak <josejx@g.o> gnome-vfs-2.24.3-r1.ebuild:
42 Marked ppc for bug #324077.
43
44
45
46 1.1 gnome-base/gnome-vfs/gnome-vfs-2.24.4.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-vfs/gnome-vfs-2.24.4.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-vfs/gnome-vfs-2.24.4.ebuild?rev=1.1&content-type=text/plain
50
51 Index: gnome-vfs-2.24.4.ebuild
52 ===================================================================
53 # Copyright 1999-2010 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-vfs/gnome-vfs-2.24.4.ebuild,v 1.1 2010/10/02 11:55:03 eva Exp $
56
57 EAPI="3"
58 GCONF_DEBUG="no"
59
60 inherit autotools eutils gnome2 virtualx
61
62 DESCRIPTION="Gnome Virtual Filesystem"
63 HOMEPAGE="http://www.gnome.org/"
64
65 LICENSE="GPL-2 LGPL-2"
66 SLOT="2"
67 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
68 IUSE="acl avahi doc fam gnutls hal ipv6 kerberos samba ssl"
69
70 RDEPEND=">=gnome-base/gconf-2
71 >=dev-libs/glib-2.9.3
72 >=dev-libs/libxml2-2.6
73 app-arch/bzip2
74 gnome-base/gnome-mime-data
75 >=x11-misc/shared-mime-info-0.14
76 >=dev-libs/dbus-glib-0.71
77 acl? (
78 sys-apps/acl
79 sys-apps/attr )
80 avahi? ( >=net-dns/avahi-0.6 )
81 kerberos? ( virtual/krb5 )
82 hal? ( >=sys-apps/hal-0.5.7 )
83 fam? ( virtual/fam )
84 samba? ( >=net-fs/samba-3 )
85 ssl? (
86 gnutls? (
87 net-libs/gnutls
88 !gnome-extra/gnome-vfs-sftp )
89 !gnutls? (
90 >=dev-libs/openssl-0.9.5
91 !gnome-extra/gnome-vfs-sftp ) )
92 "
93 DEPEND="${RDEPEND}
94 sys-devel/gettext
95 gnome-base/gnome-common
96 >=dev-util/intltool-0.40
97 >=dev-util/pkgconfig-0.9
98 >=dev-util/gtk-doc-am-1.13
99 doc? ( >=dev-util/gtk-doc-1 )"
100 PDEPEND="hal? ( >=gnome-base/gnome-mount-0.6 )"
101
102 DOCS="AUTHORS ChangeLog HACKING NEWS README TODO"
103
104 pkg_setup() {
105 G2CONF="${G2CONF}
106 --disable-schemas-install
107 --disable-static
108 --disable-cdda
109 --disable-howl
110 $(use_enable acl)
111 $(use_enable avahi)
112 $(use_enable fam)
113 $(use_enable gnutls)
114 $(use_enable hal)
115 $(use_enable ipv6)
116 $(use_enable kerberos krb5)
117 $(use_enable samba)
118 $(use_enable ssl openssl)"
119 # Useless ? --enable-http-neon
120
121 if use hal ; then
122 G2CONF="${G2CONF}
123 --with-hal-mount=/usr/bin/gnome-mount
124 --with-hal-umount=/usr/bin/gnome-umount
125 --with-hal-eject=/usr/bin/gnome-eject"
126 fi
127
128 # this works because of the order of configure parsing
129 # so should always be behind the use_enable options
130 # foser <foser@g.o 19 Apr 2004
131 use gnutls && use ssl && G2CONF="${G2CONF} --disable-openssl"
132 }
133
134 src_prepare() {
135 gnome2_src_prepare
136
137 # Allow the Trash on afs filesystems (#106118)
138 epatch "${FILESDIR}"/${PN}-2.12.0-afs.patch
139
140 # Fix compiling with headers missing
141 epatch "${FILESDIR}"/${PN}-2.15.2-headers-define.patch
142
143 # Fix for crashes running programs via sudo
144 epatch "${FILESDIR}"/${PN}-2.16.0-no-dbus-crash.patch
145
146 # Fix automagic dependencies, upstream bug #493475
147 epatch "${FILESDIR}"/${PN}-2.20.0-automagic-deps.patch
148 epatch "${FILESDIR}"/${PN}-2.20.1-automagic-deps.patch
149
150 # Fix to identify ${HOME} (#200897)
151 # thanks to debian folks
152 epatch "${FILESDIR}"/${PN}-2.24.4-home_dir_fakeroot.patch
153
154 # Configure with gnutls-2.7, bug #253729
155 epatch "${FILESDIR}"/${PN}-2.24.0-gnutls27.patch
156
157 # Prevent duplicated volumes, bug #193083
158 epatch "${FILESDIR}"/${PN}-2.24.0-uuid-mount.patch
159
160 # Do not build tests with FEATURES="-test", bug #226221
161 epatch "${FILESDIR}"/${PN}-2.24.4-build-tests-asneeded.patch
162
163 # Disable broken test, bug #285706
164 epatch "${FILESDIR}"/${PN}-2.24.4-disable-test-async-cancel.patch
165
166 # Fix deprecated API disabling in used libraries - this is not future-proof, bug 212163
167 # upstream bug #519632
168 sed -i -e '/DISABLE_DEPRECATED/d' \
169 daemon/Makefile.am daemon/Makefile.in \
170 libgnomevfs/Makefile.am libgnomevfs/Makefile.in \
171 modules/Makefile.am modules/Makefile.in \
172 test/Makefile.am test/Makefile.in || die
173 sed -i -e 's:-DG_DISABLE_DEPRECATED:$(NULL):g' \
174 programs/Makefile.am programs/Makefile.in || die
175
176 intltoolize --force --copy --automake || die "intltoolize failed"
177 eautoreconf
178 }
179
180 src_test() {
181 unset DISPLAY
182 # Fix bug #285706
183 unset XAUTHORITY
184 Xemake check || die "tests failed"
185 }
186
187 src_install() {
188 gnome2_src_install
189 find "${ED}/usr/$(get_libdir)/gnome-vfs-2.0/modules/" -name "*.la" -delete || die
190 }