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