1 |
chainsaw 14/04/30 14:51:26 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: modemmanager-1.2.0-r1.ebuild |
5 |
Log: |
6 |
Enable MBIM support as well as introducing the dependency, closes bug #509186. A stale --without-mbim line got left behind. Gnome herd commit approval from tetromino. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB5058F9A) |
9 |
|
10 |
Revision Changes Path |
11 |
1.65 net-misc/modemmanager/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/modemmanager/ChangeLog?rev=1.65&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/modemmanager/ChangeLog?rev=1.65&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/modemmanager/ChangeLog?r1=1.64&r2=1.65 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/modemmanager/ChangeLog,v |
20 |
retrieving revision 1.64 |
21 |
retrieving revision 1.65 |
22 |
diff -u -r1.64 -r1.65 |
23 |
--- ChangeLog 12 Apr 2014 10:19:02 -0000 1.64 |
24 |
+++ ChangeLog 30 Apr 2014 14:51:26 -0000 1.65 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for net-misc/modemmanager |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/modemmanager/ChangeLog,v 1.64 2014/04/12 10:19:02 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/modemmanager/ChangeLog,v 1.65 2014/04/30 14:51:26 chainsaw Exp $ |
30 |
+ |
31 |
+*modemmanager-1.2.0-r1 (30 Apr 2014) |
32 |
+ |
33 |
+ 30 Apr 2014; Tony Vroon <chainsaw@g.o> +modemmanager-1.2.0-r1.ebuild: |
34 |
+ Enable MBIM support as well as introducing the dependency, closes bug |
35 |
+ #509186. A stale --without-mbim line got left behind. Gnome herd commit |
36 |
+ approval from tetromino. |
37 |
|
38 |
*modemmanager-1.2.0 (12 Apr 2014) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 net-misc/modemmanager/modemmanager-1.2.0-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/modemmanager/modemmanager-1.2.0-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/modemmanager/modemmanager-1.2.0-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: modemmanager-1.2.0-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/modemmanager/modemmanager-1.2.0-r1.ebuild,v 1.1 2014/04/30 14:51:26 chainsaw Exp $ |
53 |
|
54 |
EAPI="5" |
55 |
GCONF_DEBUG="no" |
56 |
GNOME2_LA_PUNT="yes" |
57 |
VALA_MIN_API_VERSION="0.18" |
58 |
VALA_USE_DEPEND="vapigen" |
59 |
|
60 |
inherit gnome2 user readme.gentoo udev vala |
61 |
|
62 |
DESCRIPTION="Modem and mobile broadband management libraries" |
63 |
HOMEPAGE="http://cgit.freedesktop.org/ModemManager/ModemManager/" |
64 |
SRC_URI="http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz" |
65 |
|
66 |
LICENSE="GPL-2+" |
67 |
SLOT="0/1" # subslot = dbus interface version, i.e. N in org.freedesktop.ModemManager${N} |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
69 |
IUSE="+introspection mbim policykit +qmi qmi-newest vala" |
70 |
REQUIRED_USE=" |
71 |
qmi-newest? ( qmi ) |
72 |
vala? ( introspection ) |
73 |
" |
74 |
|
75 |
RDEPEND=" |
76 |
>=dev-libs/glib-2.32:2 |
77 |
>=virtual/udev-147[gudev] |
78 |
introspection? ( >=dev-libs/gobject-introspection-0.9.6 ) |
79 |
mbim? ( >=net-libs/libmbim-1.4 ) |
80 |
policykit? ( >=sys-auth/polkit-0.106[introspection] ) |
81 |
qmi? ( >=net-libs/libqmi-1.6.0:= ) |
82 |
" |
83 |
DEPEND="${RDEPEND} |
84 |
dev-util/gdbus-codegen |
85 |
>=dev-util/intltool-0.40 |
86 |
sys-devel/gettext |
87 |
virtual/pkgconfig |
88 |
vala? ( $(vala_depend) ) |
89 |
" |
90 |
|
91 |
S="${WORKDIR}/ModemManager-${PV}" |
92 |
|
93 |
src_prepare() { |
94 |
DOC_CONTENTS="If your USB modem shows up as a Flash drive when you plug it in, |
95 |
You should install sys-apps/usb_modeswitch which will automatically |
96 |
switch it over to USB modem mode whenever you plug it in.\n" |
97 |
|
98 |
if use policykit; then |
99 |
DOC_CONTENTS+="\nTo control your modem without needing to enter the root password, |
100 |
add your user account to the 'plugdev' group." |
101 |
fi |
102 |
|
103 |
use vala && vala_src_prepare |
104 |
gnome2_src_prepare |
105 |
} |
106 |
|
107 |
src_configure() { |
108 |
gnome2_src_configure \ |
109 |
--disable-more-warnings \ |
110 |
--with-udev-base-dir="$(udev_get_udevdir)" \ |
111 |
--disable-static \ |
112 |
--with-dist-version=${PVR} \ |
113 |
$(use_enable introspection) \ |
114 |
$(use_with mbim) \ |
115 |
$(use_with policykit polkit) \ |
116 |
$(use_with qmi) \ |
117 |
$(use_with qmi-newest newest-qmi-commands) \ |
118 |
$(use_enable vala) |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
gnome2_src_install |
123 |
|
124 |
# Allow users in plugdev group full control over their modem |
125 |
if use policykit; then |
126 |
insinto /usr/share/polkit-1/rules.d/ |
127 |
doins "${FILESDIR}"/01-org.freedesktop.ModemManager1.rules |
128 |
fi |
129 |
|
130 |
readme.gentoo_create_doc |
131 |
} |
132 |
|
133 |
pkg_postinst() { |
134 |
gnome2_pkg_postinst |
135 |
|
136 |
use policykit && enewgroup plugdev |
137 |
|
138 |
# The polkit rules file moved to /usr/share |
139 |
old_rules="${EROOT}etc/polkit-1/rules.d/01-org.freedesktop.ModemManager.rules" |
140 |
if [[ -f "${old_rules}" ]]; then |
141 |
case "$(md5sum ${old_rules})" in |
142 |
c5ff02532cb1da2c7545c3069e5d0992* | 5c50f0dc603c0a56e2851a5ce9389335* ) |
143 |
# Automatically delete the old rules.d file if the user did not change it |
144 |
elog |
145 |
elog "Removing old ${old_rules} ..." |
146 |
rm -f "${old_rules}" || eerror "Failed, please remove ${old_rules} manually" |
147 |
;; |
148 |
* ) |
149 |
elog "The ${old_rules}" |
150 |
elog "file moved to /usr/share/polkit-1/rules.d/ in >=modemmanager-0.5.2.0-r2" |
151 |
elog "If you edited ${old_rules}" |
152 |
elog "without changing its behavior, you may want to remove it." |
153 |
;; |
154 |
esac |
155 |
fi |
156 |
|
157 |
readme.gentoo_print_elog |
158 |
} |