1 |
eva 13/12/23 23:05:20 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: bluez-5.12.ebuild |
5 |
Log: |
6 |
Version bump. Major ebuild update, see bug #452162. |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C6085806) |
9 |
|
10 |
Revision Changes Path |
11 |
1.19 net-wireless/bluez/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/metadata.xml?rev=1.19&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/metadata.xml?rev=1.19&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/metadata.xml?r1=1.18&r2=1.19 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez/metadata.xml,v |
20 |
retrieving revision 1.18 |
21 |
retrieving revision 1.19 |
22 |
diff -u -r1.18 -r1.19 |
23 |
--- metadata.xml 1 Dec 2013 21:21:57 -0000 1.18 |
24 |
+++ metadata.xml 23 Dec 2013 23:05:20 -0000 1.19 |
25 |
@@ -12,6 +12,7 @@ |
26 |
as regular USB HID devices, but needs them to be |
27 |
paired before enabling this, otherwise they won't be |
28 |
detected</flag> |
29 |
+ <flag name="obex">Enable OBEX transfer support.</flag> |
30 |
</use> |
31 |
<upstream> |
32 |
<remote-id type="cpe">cpe:/a:bluez:bluez</remote-id> |
33 |
|
34 |
|
35 |
|
36 |
1.178 net-wireless/bluez/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.178&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?rev=1.178&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/ChangeLog?r1=1.177&r2=1.178 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v |
45 |
retrieving revision 1.177 |
46 |
retrieving revision 1.178 |
47 |
diff -u -r1.177 -r1.178 |
48 |
--- ChangeLog 22 Dec 2013 13:22:03 -0000 1.177 |
49 |
+++ ChangeLog 23 Dec 2013 23:05:20 -0000 1.178 |
50 |
@@ -1,6 +1,12 @@ |
51 |
# ChangeLog for net-wireless/bluez |
52 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.177 2013/12/22 13:22:03 ago Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.178 2013/12/23 23:05:20 eva Exp $ |
55 |
+ |
56 |
+*bluez-5.12 (23 Dec 2013) |
57 |
+ |
58 |
+ 23 Dec 2013; Gilles Dartiguelongue <eva@g.o> +bluez-5.12.ebuild, |
59 |
+ +files/bluetooth-init.d-r3, files/rfcomm-init.d, metadata.xml: |
60 |
+ Version bump. Major ebuild update, see bug #452162. |
61 |
|
62 |
22 Dec 2013; Agostino Sarubbo <ago@g.o> bluez-4.101-r7.ebuild: |
63 |
Stable for ppc64, wrt bug #487748 |
64 |
|
65 |
|
66 |
|
67 |
1.1 net-wireless/bluez/bluez-5.12.ebuild |
68 |
|
69 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-5.12.ebuild?rev=1.1&view=markup |
70 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/bluez/bluez-5.12.ebuild?rev=1.1&content-type=text/plain |
71 |
|
72 |
Index: bluez-5.12.ebuild |
73 |
=================================================================== |
74 |
# Copyright 1999-2013 Gentoo Foundation |
75 |
# Distributed under the terms of the GNU General Public License v2 |
76 |
# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-5.12.ebuild,v 1.1 2013/12/23 23:05:20 eva Exp $ |
77 |
|
78 |
EAPI=5 |
79 |
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) |
80 |
|
81 |
inherit eutils multilib python-any-r1 readme.gentoo systemd udev user |
82 |
|
83 |
DESCRIPTION="Bluetooth Tools and System Daemons for Linux" |
84 |
HOMEPAGE="http://www.bluez.org" |
85 |
SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz" |
86 |
|
87 |
LICENSE="GPL-2+ LGPL-2.1+" |
88 |
SLOT="0/3" |
89 |
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
90 |
IUSE="cups debug obex readline selinux systemd test" |
91 |
REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )" |
92 |
|
93 |
RDEPEND=" |
94 |
>=dev-libs/glib-2.28:2 |
95 |
>=sys-apps/dbus-1.6:= |
96 |
>=sys-apps/hwids-20121202.2 |
97 |
>=virtual/udev-171 |
98 |
cups? ( net-print/cups:= ) |
99 |
obex? ( dev-libs/libical ) |
100 |
readline? ( sys-libs/readline:= ) |
101 |
selinux? ( sec-policy/selinux-bluetooth ) |
102 |
systemd? ( sys-apps/systemd ) |
103 |
" |
104 |
DEPEND="${RDEPEND} |
105 |
virtual/pkgconfig |
106 |
test? ( |
107 |
${PYTHON_DEPS} |
108 |
>=dev-python/dbus-python-1 |
109 |
dev-python/pygobject:2 |
110 |
dev-python/pygobject:3 |
111 |
) |
112 |
" |
113 |
|
114 |
DOC_CONTENTS=" |
115 |
If you want to use rfcomm as a normal user, you need to add the user |
116 |
to the uucp group. |
117 |
" |
118 |
|
119 |
pkg_setup() { |
120 |
enewgroup plugdev |
121 |
use test && python-any-r1_pkg_setup |
122 |
} |
123 |
|
124 |
src_prepare() { |
125 |
# Use static group "plugdev" if there is no ConsoleKit (or systemd logind) |
126 |
epatch "${FILESDIR}"/bluez-plugdev.patch |
127 |
|
128 |
if use cups; then |
129 |
sed -i \ |
130 |
-e "s:cupsdir = \$(libdir)/cups:cupsdir = `cups-config --serverbin`:" \ |
131 |
Makefile.{in,tools} || die |
132 |
fi |
133 |
} |
134 |
|
135 |
src_configure() { |
136 |
# readline is automagic when client is enabled |
137 |
export ac_cv_header_readline_readline_h=$(usex readline) |
138 |
|
139 |
# Missing flags: experimental (sap, nfc, ...) |
140 |
# Keep this in ./configure --help order! |
141 |
econf \ |
142 |
--localstatedir=/var \ |
143 |
--enable-optimization \ |
144 |
$(use_enable debug) \ |
145 |
--enable-pie \ |
146 |
--enable-threads \ |
147 |
--enable-library \ |
148 |
$(use_enable test) \ |
149 |
--enable-tools \ |
150 |
--enable-monitor \ |
151 |
--enable-udev \ |
152 |
$(use_enable cups) \ |
153 |
--enable-obex \ |
154 |
--enable-client \ |
155 |
$(use_enable systemd) \ |
156 |
$(systemd_with_unitdir) \ |
157 |
--enable-sixaxis |
158 |
} |
159 |
|
160 |
src_install() { |
161 |
default |
162 |
prune_libtool_files --modules |
163 |
|
164 |
keepdir /var/lib/bluetooth |
165 |
|
166 |
# Unittests are not that useful once installed |
167 |
if use test ; then |
168 |
rm -r "${ED}"/usr/$(get_libdir)/bluez/test || die |
169 |
fi |
170 |
|
171 |
insinto /etc/bluetooth |
172 |
local d |
173 |
for d in input network proximity; do |
174 |
doins profiles/${d}/${d}.conf |
175 |
done |
176 |
|
177 |
doins src/main.conf |
178 |
doins src/bluetooth.conf |
179 |
|
180 |
insinto /usr/share/dbus-1/system-services |
181 |
doins src/org.bluez.service |
182 |
|
183 |
newinitd "${FILESDIR}"/bluetooth-init.d-r3 bluetooth |
184 |
newinitd "${FILESDIR}"/rfcomm-init.d rfcomm |
185 |
newconfd "${FILESDIR}"/rfcomm-conf.d rfcomm |
186 |
|
187 |
readme.gentoo_create_doc |
188 |
} |
189 |
|
190 |
pkg_postinst() { |
191 |
readme.gentoo_print_elog |
192 |
|
193 |
udev_reload |
194 |
|
195 |
has_version net-dialup/ppp || elog "To use dial up networking you must install net-dialup/ppp." |
196 |
|
197 |
if ! has_version sys-auth/consolekit && ! has_version sys-apps/systemd; then |
198 |
elog "Since you don't have sys-auth/consolekit neither sys-apps/systemd, you will only" |
199 |
elog "be able to run bluetooth clients as root. If you want to be able to run bluetooth clientes as" |
200 |
elog "a regular user, you need to enable the consolekit use flag for this package or" |
201 |
elog "to add the user to the plugdev group." |
202 |
fi |
203 |
} |