summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2013-08-03 04:48:47 +0000
committerThomas Kahle <tomka@gentoo.org>2013-08-03 04:48:47 +0000
commit249ac74551066defd39aad8a86e97222a7c7e1c6 (patch)
tree73e4e12a8880800e961a52555385752c6e7079a3 /net-misc/wicd/wicd-1.7.2.4-r3.ebuild
parentPunt unnecessary double slash wrt #479572 by Jonas Stein (diff)
downloadhistorical-249ac74551066defd39aad8a86e97222a7c7e1c6.tar.gz
historical-249ac74551066defd39aad8a86e97222a7c7e1c6.tar.bz2
historical-249ac74551066defd39aad8a86e97222a7c7e1c6.zip
add warning about missing wireless extensions (bug 479590), remove nonworking translations
Package-Manager: portage-2.1.13.1/cvs/Linux x86_64 Manifest-Sign-Key: 0x89DEB219565C32BC!
Diffstat (limited to 'net-misc/wicd/wicd-1.7.2.4-r3.ebuild')
-rw-r--r--net-misc/wicd/wicd-1.7.2.4-r3.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/net-misc/wicd/wicd-1.7.2.4-r3.ebuild b/net-misc/wicd/wicd-1.7.2.4-r3.ebuild
index 7913459e63e0..1d9b201f8181 100644
--- a/net-misc/wicd/wicd-1.7.2.4-r3.ebuild
+++ b/net-misc/wicd/wicd-1.7.2.4-r3.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.2.4-r3.ebuild,v 1.2 2013/07/05 06:57:09 maksbotan Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wicd/wicd-1.7.2.4-r3.ebuild,v 1.3 2013/08/03 04:48:32 tomka Exp $
EAPI=5
PYTHON_COMPAT=( python2_6 python2_7 )
PYTHON_REQ_USE="ncurses?,xml"
-inherit eutils distutils-r1 systemd
+inherit eutils distutils-r1 linux-info systemd
DESCRIPTION="A lightweight wired and wireless network manager for Linux"
HOMEPAGE="https://launchpad.net/wicd"
@@ -54,6 +54,11 @@ RDEPEND="${PYTHON_DEPS}
#DOCS="CHANGES NEWS AUTHORS README"
src_prepare() {
+ CONFIG_CHECK="~CFG80211_WEXT"
+ local WARNING_CFG80211_WEXT="Wireless extensions have not been \
+ configured in your kernel. Wicd will not work unless CFG80211_WEXT is set."
+ check_extra_config
+
# Fix bug 441966 (urwid-1.1.0 compatibility)
epatch "${FILESDIR}"/${P}-urwid.patch
epatch "${FILESDIR}"/${P}-second-urwid.patch
@@ -79,6 +84,8 @@ src_prepare() {
# Asturian is faulty with PyBabel
# (https://bugs.launchpad.net/wicd/+bug/928589)
rm po/ast.po
+ # zh_CN fails with newer PyBabel (Aug 2013)
+ rm po/zh_CN.po
else
# nuke translations
rm po/*.po