1 |
nirbheek 10/09/28 19:58:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dbus-1.4.0-r1.ebuild |
5 |
Removed: dbus-1.4.0.ebuild |
6 |
Log: |
7 |
Revert: 'remove .la files' and 'Remove USE conditional for removing .la files' on behalf of steev and revbump so users get the change. Contact steev if you have issues with or questions about this commit. |
8 |
|
9 |
(Portage version: 2.1.9.10/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.263 sys-apps/dbus/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/dbus/ChangeLog?rev=1.263&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/dbus/ChangeLog?rev=1.263&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/dbus/ChangeLog?r1=1.262&r2=1.263 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/dbus/ChangeLog,v |
21 |
retrieving revision 1.262 |
22 |
retrieving revision 1.263 |
23 |
diff -u -r1.262 -r1.263 |
24 |
--- ChangeLog 20 Sep 2010 17:07:46 -0000 1.262 |
25 |
+++ ChangeLog 28 Sep 2010 19:58:36 -0000 1.263 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for sys-apps/dbus |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/ChangeLog,v 1.262 2010/09/20 17:07:46 ssuominen Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/ChangeLog,v 1.263 2010/09/28 19:58:36 nirbheek Exp $ |
31 |
+ |
32 |
+*dbus-1.4.0-r1 (28 Sep 2010) |
33 |
+ |
34 |
+ 28 Sep 2010; <nirbheek@g.o> -dbus-1.4.0.ebuild, |
35 |
+ +dbus-1.4.0-r1.ebuild: |
36 |
+ Revert: 'remove .la files' and 'Remove USE conditional for removing .la |
37 |
+ files' on behalf of steev and revbump so users get the change. Contact |
38 |
+ steev if you have issues with or questions about this commit. |
39 |
|
40 |
20 Sep 2010; Samuli Suominen <ssuominen@g.o> dbus-1.4.0.ebuild: |
41 |
Remove pregenerated files from tarball wrt #337989 by Xake. |
42 |
|
43 |
|
44 |
|
45 |
1.1 sys-apps/dbus/dbus-1.4.0-r1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/dbus/dbus-1.4.0-r1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/dbus/dbus-1.4.0-r1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: dbus-1.4.0-r1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/dbus-1.4.0-r1.ebuild,v 1.1 2010/09/28 19:58:36 nirbheek Exp $ |
55 |
|
56 |
EAPI="2" |
57 |
|
58 |
inherit autotools eutils multilib flag-o-matic |
59 |
|
60 |
DESCRIPTION="A message bus system, a simple way for applications to talk to each other" |
61 |
HOMEPAGE="http://dbus.freedesktop.org/" |
62 |
SRC_URI="http://dbus.freedesktop.org/releases/dbus/${P}.tar.gz" |
63 |
|
64 |
LICENSE="|| ( GPL-2 AFL-2.1 )" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
67 |
IUSE="debug doc selinux static-libs test X" |
68 |
|
69 |
CDEPEND=" |
70 |
X? ( |
71 |
x11-libs/libX11 |
72 |
x11-libs/libXt |
73 |
) |
74 |
selinux? ( |
75 |
sys-libs/libselinux |
76 |
sec-policy/selinux-dbus |
77 |
) |
78 |
" |
79 |
RDEPEND="${CDEPEND} |
80 |
!<sys-apps/dbus-0.91 |
81 |
>=dev-libs/expat-1.95.8 |
82 |
" |
83 |
DEPEND="${CDEPEND} |
84 |
dev-util/pkgconfig |
85 |
doc? ( |
86 |
app-doc/doxygen |
87 |
app-text/docbook-xml-dtd:4.1.2 |
88 |
app-text/xmlto |
89 |
) |
90 |
" |
91 |
|
92 |
# out of sources build directory |
93 |
BD=${WORKDIR}/${P}-build |
94 |
# out of sources build dir for make check |
95 |
TBD=${WORKDIR}/${P}-tests-build |
96 |
|
97 |
pkg_setup() { |
98 |
enewgroup messagebus |
99 |
enewuser messagebus -1 "-1" -1 messagebus |
100 |
} |
101 |
|
102 |
src_prepare() { |
103 |
# Delete pregenerated files from tarball wrt #337989 (testsuite fails) |
104 |
find test/data -type f -name '*.service' -exec rm -f '{}' + |
105 |
find test/data -type f -name 'debug-*.conf' -exec rm -f '{}' + |
106 |
|
107 |
# Remove CFLAGS that is not supported by all gcc, bug #274456 |
108 |
sed 's/-Wno-pointer-sign//g' -i configure.in configure || die |
109 |
|
110 |
# Tests were restricted because of this |
111 |
sed -e 's/.*bus_dispatch_test.*/printf ("Disabled due to excess noise\\n");/' \ |
112 |
-e '/"dispatch"/d' -i "${S}/bus/test-main.c" || die |
113 |
|
114 |
epatch "${FILESDIR}"/${P}-asneeded.patch |
115 |
|
116 |
# required for asneeded patch but also for bug 263909, cross-compile so |
117 |
# don't remove eautoreconf |
118 |
eautoreconf |
119 |
} |
120 |
|
121 |
src_configure() { |
122 |
local my_conf |
123 |
|
124 |
# so we can get backtraces from apps |
125 |
append-flags -rdynamic |
126 |
|
127 |
# libaudit is *only* used in DBus wrt SELinux support, so disable it, if |
128 |
# not on an SELinux profile. |
129 |
my_conf="$(use_with X x) |
130 |
$(use_enable debug verbose-mode) |
131 |
$(use_enable debug asserts) |
132 |
$(use_enable kernel_linux inotify) |
133 |
$(use_enable kernel_FreeBSD kqueue) |
134 |
$(use_enable selinux) |
135 |
$(use_enable selinux libaudit) |
136 |
$(use_enable static-libs static) |
137 |
--enable-shared |
138 |
--with-xml=expat |
139 |
--with-system-pid-file=/var/run/dbus.pid |
140 |
--with-system-socket=/var/run/dbus/system_bus_socket |
141 |
--with-session-socket-dir=/tmp |
142 |
--with-dbus-user=messagebus |
143 |
--localstatedir=/var" |
144 |
|
145 |
mkdir "${BD}" |
146 |
cd "${BD}" |
147 |
einfo "Running configure in ${BD}" |
148 |
ECONF_SOURCE="${S}" econf ${my_conf} \ |
149 |
$(use_enable doc doxygen-docs) \ |
150 |
$(use_enable doc xml-docs) |
151 |
|
152 |
if use test; then |
153 |
mkdir "${TBD}" |
154 |
cd "${TBD}" |
155 |
einfo "Running configure in ${TBD}" |
156 |
ECONF_SOURCE="${S}" econf \ |
157 |
${my_conf} \ |
158 |
$(use_enable test checks) \ |
159 |
$(use_enable test tests) \ |
160 |
$(use_enable test asserts) |
161 |
fi |
162 |
} |
163 |
|
164 |
src_compile() { |
165 |
# after the compile, it uses a selinuxfs interface to |
166 |
# check if the SELinux policy has the right support |
167 |
use selinux && addwrite /selinux/access |
168 |
|
169 |
cd "${BD}" |
170 |
einfo "Running make in ${BD}" |
171 |
emake || die "make failed" |
172 |
|
173 |
if use doc; then |
174 |
einfo "Building API documentation..." |
175 |
doxygen || die "doxygen failed" |
176 |
fi |
177 |
|
178 |
if use test; then |
179 |
cd "${TBD}" |
180 |
einfo "Running make in ${TBD}" |
181 |
emake || die "make failed" |
182 |
fi |
183 |
} |
184 |
|
185 |
src_test() { |
186 |
cd "${TBD}" |
187 |
DBUS_VERBOSE=1 make check || die "make check failed" |
188 |
} |
189 |
|
190 |
src_install() { |
191 |
# initscript |
192 |
newinitd "${FILESDIR}"/dbus.init-1.0 dbus || die "newinitd failed" |
193 |
|
194 |
if use X ; then |
195 |
# dbus X session script (#77504) |
196 |
# turns out to only work for GDM (and startx). has been merged into |
197 |
# other desktop (kdm and such scripts) |
198 |
exeinto /etc/X11/xinit/xinitrc.d/ |
199 |
doexe "${FILESDIR}"/80-dbus || die "doexe failed" |
200 |
fi |
201 |
|
202 |
# needs to exist for the system socket |
203 |
keepdir /var/run/dbus |
204 |
# needs to exist for machine id |
205 |
keepdir /var/lib/dbus |
206 |
# needs to exist for dbus sessions to launch |
207 |
|
208 |
keepdir /usr/lib/dbus-1.0/services |
209 |
keepdir /usr/share/dbus-1/services |
210 |
keepdir /etc/dbus-1/system.d/ |
211 |
keepdir /etc/dbus-1/session.d/ |
212 |
|
213 |
dodoc AUTHORS ChangeLog HACKING NEWS README doc/TODO || die "dodoc failed" |
214 |
|
215 |
cd "${BD}" |
216 |
# FIXME: split dtd's in dbus-dtd ebuild |
217 |
emake DESTDIR="${D}" install || die "make install failed" |
218 |
if use doc; then |
219 |
dohtml -p api/ doc/api/html/* || die "dohtml api failed" |
220 |
cd "${S}" |
221 |
dohtml doc/*.html || die "dohtml failed" |
222 |
fi |
223 |
|
224 |
# We're not ready for this yet. |
225 |
## Remove .la files |
226 |
#find "${D}" -type f -name '*.la' -exec rm -f '{}' + |
227 |
} |
228 |
|
229 |
pkg_postinst() { |
230 |
elog "To start the D-Bus system-wide messagebus by default" |
231 |
elog "you should add it to the default runlevel :" |
232 |
elog "\`rc-update add dbus default\`" |
233 |
elog |
234 |
elog "Some applications require a session bus in addition to the system" |
235 |
elog "bus. Please see \`man dbus-launch\` for more information." |
236 |
elog |
237 |
ewarn "You must restart D-Bus \`/etc/init.d/dbus restart\` to run" |
238 |
ewarn "the new version of the daemon." |
239 |
ewarn "Don't do this while X is running because it will restart your X as well." |
240 |
|
241 |
# Ensure unique id is generated |
242 |
dbus-uuidgen --ensure="${ROOT}"/var/lib/dbus/machine-id |
243 |
} |