1 |
tomka 12/02/01 18:06:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wicd-1.7.1_pre20120127-r1.ebuild |
5 |
Log: |
6 |
readd x11-misc/ktsuss as a dependency |
7 |
|
8 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.111 net-misc/wicd/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/ChangeLog?rev=1.111&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/ChangeLog?rev=1.111&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/ChangeLog?r1=1.110&r2=1.111 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v |
20 |
retrieving revision 1.110 |
21 |
retrieving revision 1.111 |
22 |
diff -u -r1.110 -r1.111 |
23 |
--- ChangeLog 1 Feb 2012 17:20:52 -0000 1.110 |
24 |
+++ ChangeLog 1 Feb 2012 18:06:10 -0000 1.111 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-misc/wicd |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.110 2012/02/01 17:20:52 ranger Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/ChangeLog,v 1.111 2012/02/01 18:06:10 tomka Exp $ |
30 |
+ |
31 |
+*wicd-1.7.1_pre20120127-r1 (01 Feb 2012) |
32 |
+ |
33 |
+ 01 Feb 2012; Thomas Kahle <tomka@g.o> |
34 |
+ +wicd-1.7.1_pre20120127-r1.ebuild: |
35 |
+ readd x11-misc/ktsuss as a dependency |
36 |
|
37 |
01 Feb 2012; Brent Baude <ranger@g.o> wicd-1.7.1_pre20120127.ebuild: |
38 |
Marking wicd-1.7.1_pre20120127 ppc for bug 401005 |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-misc/wicd/wicd-1.7.1_pre20120127-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/wicd-1.7.1_pre20120127-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/wicd/wicd-1.7.1_pre20120127-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: wicd-1.7.1_pre20120127-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.1_pre20120127-r1.ebuild,v 1.1 2012/02/01 18:06:10 tomka Exp $ |
52 |
|
53 |
EAPI=3 |
54 |
|
55 |
PYTHON_DEPEND="2" |
56 |
PYTHON_USE_WITH="ncurses? xml" |
57 |
SUPPORT_PYTHON_ABIS="1" |
58 |
RESTRICT_PYTHON_ABIS="3.* *-jython" |
59 |
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" |
60 |
|
61 |
inherit eutils distutils systemd |
62 |
|
63 |
MY_PV="${PN}-1.7.1" |
64 |
S="${WORKDIR}/${MY_PV}" |
65 |
|
66 |
DESCRIPTION="A lightweight wired and wireless network manager for Linux" |
67 |
HOMEPAGE="http://wicd.sourceforge.net/" |
68 |
SRC_URI="http://dev.gentoo.org/~tomka/files/${P}.tar.gz |
69 |
mac4lin? ( http://dev.gentoo.org/~anarchy/dist/wicd-mac4lin-icons.tar.xz )" |
70 |
|
71 |
LICENSE="GPL-2" |
72 |
SLOT="0" |
73 |
KEYWORDS="~amd64 ~x86" |
74 |
IUSE="X +gtk ioctl libnotify mac4lin ncurses nls +pm-utils" |
75 |
|
76 |
DEPEND="" |
77 |
# Maybe virtual/dhcp would work, but there are enough problems with |
78 |
# net-misc/dhcp that I want net-misc/dhcpcd to be guarenteed to be considered |
79 |
# first if none are installed. |
80 |
RDEPEND=" |
81 |
dev-python/dbus-python |
82 |
X? ( gtk? ( dev-python/pygtk |
83 |
|| ( |
84 |
x11-misc/ktsuss |
85 |
x11-libs/gksu |
86 |
kde-base/kdesu |
87 |
) |
88 |
) |
89 |
) |
90 |
|| ( |
91 |
net-misc/dhcpcd |
92 |
net-misc/dhcp |
93 |
net-misc/pump |
94 |
) |
95 |
net-wireless/wireless-tools |
96 |
net-wireless/wpa_supplicant |
97 |
|| ( |
98 |
sys-apps/net-tools |
99 |
sys-apps/ethtool |
100 |
) |
101 |
!gtk? ( dev-python/pygobject:2 ) |
102 |
ioctl? ( dev-python/python-iwscan dev-python/python-wpactrl ) |
103 |
libnotify? ( dev-python/notify-python ) |
104 |
ncurses? ( |
105 |
dev-python/urwid |
106 |
dev-python/pygobject:2 |
107 |
) |
108 |
pm-utils? ( >=sys-power/pm-utils-1.1.1 ) |
109 |
" |
110 |
DOCS="CHANGES NEWS AUTHORS README" |
111 |
|
112 |
src_prepare() { |
113 |
epatch "${FILESDIR}"/${PN}-1.7.1_beta2-init.patch |
114 |
epatch "${FILESDIR}"/${PN}-init-sve-start.patch |
115 |
# Add a template for hex psk's and wpa (Bug 306423) |
116 |
epatch "${FILESDIR}"/${PN}-1.7.1_pre20111210-wpa-psk-hex-template.patch |
117 |
# get rid of opts variable to fix bug 381885 |
118 |
sed -i "/opts/d" "in/init=gentoo=wicd.in" || die |
119 |
# Need to ensure that generated scripts use Python 2 at run time. |
120 |
sed -e "s:self.python = '/usr/bin/python':self.python = '/usr/bin/python2':" \ |
121 |
-i setup.py || die "sed failed" |
122 |
python_copy_sources |
123 |
} |
124 |
|
125 |
src_configure() { |
126 |
local myconf |
127 |
use gtk || myconf="${myconf} --no-install-gtk" |
128 |
use libnotify || myconf="${myconf} --no-use-notifications" |
129 |
use ncurses || myconf="${myconf} --no-install-ncurses" |
130 |
use pm-utils || myconf="${myconf} --no-install-pmutils" |
131 |
configuration() { |
132 |
$(PYTHON) ./setup.py configure --no-install-docs --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose ${myconf} |
133 |
} |
134 |
python_execute_function -s configuration |
135 |
} |
136 |
|
137 |
src_install() { |
138 |
distutils_src_install |
139 |
keepdir /var/lib/wicd/configurations \ |
140 |
|| die "keepdir failed, critical for this app" |
141 |
keepdir /etc/wicd/scripts/{postconnect,disconnect,preconnect} \ |
142 |
|| die "keepdir failed, critical for this app" |
143 |
keepdir /var/log/wicd \ |
144 |
|| die "keepdir failed, critical for this app" |
145 |
use nls || rm -rf "${D}"/usr/share/locale |
146 |
systemd_dounit "${S}/other/wicd.service" |
147 |
|
148 |
if use mac4lin; then |
149 |
rm -rf "${D}"/usr/share/pixmaps/wicd || die "Failed to remove old icons" |
150 |
mv "${WORKDIR}"/wicd "${D}"/usr/share/pixmaps/ |
151 |
fi |
152 |
} |
153 |
|
154 |
pkg_postinst() { |
155 |
distutils_pkg_postinst |
156 |
|
157 |
elog "You may need to restart the dbus service after upgrading wicd." |
158 |
echo |
159 |
elog "To start wicd at boot, add /etc/init.d/wicd to a runlevel and:" |
160 |
elog "- Remove all net.* initscripts (except for net.lo) from all runlevels" |
161 |
elog "- Add these scripts to the RC_PLUG_SERVICES line in /etc/rc.conf" |
162 |
elog "(For example, rc_hotplug=\"!net.eth* !net.wlan*\")" |
163 |
# Maintainer's note: the consolekit use flag short circuits a dbus rule and |
164 |
# allows the connection. Else, you need to be in the group. |
165 |
if ! has_version sys-auth/pambase[consolekit]; then |
166 |
ewarn "Wicd-1.6 and newer requires your user to be in the 'users' group. If" |
167 |
ewarn "you are not in that group, then modify /etc/dbus-1/system.d/wicd.conf" |
168 |
fi |
169 |
} |