1 |
mrness 07/09/09 06:44:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wammu-0.21-r2.ebuild |
5 |
Removed: wammu-0.21-r1.ebuild |
6 |
Log: |
7 |
Fix bluetooth dependencies (#191670). Allow usage of all suitable wxpython versions. |
8 |
(Portage version: 2.1.2.12) |
9 |
|
10 |
Revision Changes Path |
11 |
1.24 app-mobilephone/wammu/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/wammu/ChangeLog?rev=1.24&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/wammu/ChangeLog?rev=1.24&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/wammu/ChangeLog?r1=1.23&r2=1.24 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/ChangeLog,v |
20 |
retrieving revision 1.23 |
21 |
retrieving revision 1.24 |
22 |
diff -u -r1.23 -r1.24 |
23 |
--- ChangeLog 6 Sep 2007 10:28:04 -0000 1.23 |
24 |
+++ ChangeLog 9 Sep 2007 06:44:22 -0000 1.24 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for app-mobilephone/wammu |
27 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/ChangeLog,v 1.23 2007/09/06 10:28:04 mrness Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/ChangeLog,v 1.24 2007/09/09 06:44:22 mrness Exp $ |
30 |
+ |
31 |
+*wammu-0.21-r2 (09 Sep 2007) |
32 |
+ |
33 |
+ 09 Sep 2007; Alin Năstac <mrness@g.o> |
34 |
+ -files/wammu-wxversion-2.6.patch, +files/wammu-wxversion.patch, |
35 |
+ -wammu-0.21-r1.ebuild, +wammu-0.21-r2.ebuild: |
36 |
+ Fix bluetooth dependencies (#191670). Allow usage of all suitable wxpython |
37 |
+ versions. |
38 |
|
39 |
*wammu-0.21-r1 (06 Sep 2007) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 app-mobilephone/wammu/wammu-0.21-r2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/wammu/wammu-0.21-r2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/wammu/wammu-0.21-r2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: wammu-0.21-r2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2007 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/wammu-0.21-r2.ebuild,v 1.1 2007/09/09 06:44:22 mrness Exp $ |
54 |
|
55 |
inherit distutils eutils versionator |
56 |
|
57 |
DESCRIPTION="front-end for gammu (Nokia and other mobiles)" |
58 |
HOMEPAGE="http://www.cihar.com/gammu/wammu/" |
59 |
SRC_URI="http://dl.cihar.com/wammu/v0/${P}.tar.bz2" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~ppc ~x86" |
64 |
IUSE="bluetooth" |
65 |
|
66 |
RDEPEND=">=dev-python/wxpython-2.6.3.3 |
67 |
>=dev-python/python-gammu-0.22 |
68 |
bluetooth? ( |
69 |
|| ( |
70 |
dev-python/pybluez |
71 |
net-wireless/gnome-bluetooth |
72 |
) |
73 |
)" |
74 |
DEPEND="${RDEPEND}" |
75 |
|
76 |
# Supported languages and translated documentation |
77 |
# Be sure all languages are prefixed with a single space! |
78 |
MY_AVAILABLE_LINGUAS=" af ca cs de es et fi fr hu it ko nl pl pt_BR ru sk sv zh_CN" |
79 |
IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}" |
80 |
|
81 |
src_unpack() { |
82 |
unpack ${A} |
83 |
|
84 |
# Select the suitable wxpython versions |
85 |
local wxpy_pkg wxpy_slot MY_WXPYTHON_SLOTS |
86 |
for wxpy_pkg in $(portageq match ${ROOT} '>=dev-python/wxpython-2.6.3.3'); do |
87 |
if built_with_use --hidden --missing false =${wxpy_pkg} unicode ; then |
88 |
wxpy_slot=$(get_version_component_range 1-2 ${wxpy_pkg#*/*-}) |
89 |
if [ -z "${MY_WXPYTHON_SLOTS}" ]; then |
90 |
MY_WXPYTHON_SLOTS="'${wxpy_slot}'" |
91 |
else |
92 |
MY_WXPYTHON_SLOTS="${MY_WXPYTHON_SLOTS}, '${wxpy_slot}'" |
93 |
fi |
94 |
fi |
95 |
done |
96 |
if [ -z "${MY_WXPYTHON_SLOTS}" ]; then |
97 |
eerror "None of the dev-python/wxpython installed versions have been built with Unicode support." |
98 |
eerror "Install wxpython with unicode USE flag enabled and try again." |
99 |
die "dev-python/wxpython is missing Unicode support" |
100 |
fi |
101 |
|
102 |
cd "${S}" |
103 |
sed -e "s/WXPYTHON_VER/${MY_WXPYTHON_SLOTS}/" \ |
104 |
"${FILESDIR}"/${PN}-wxversion.patch \ |
105 |
> "${T}"/${PN}-wxversion.patch |
106 |
epatch "${T}"/${PN}-wxversion.patch |
107 |
|
108 |
cd locale || die "locale directory not found" |
109 |
local lang |
110 |
for lang in ${MY_AVAILABLE_LINGUAS} ; do |
111 |
if ! use linguas_${lang} ; then |
112 |
rm -r ${lang} |
113 |
fi |
114 |
done |
115 |
} |
116 |
|
117 |
src_compile() { |
118 |
# SKIPWXCHECK: else 'import wx' results in |
119 |
# Xlib: connection to ":0.0" refused by server |
120 |
SKIPWXCHECK=yes distutils_src_compile |
121 |
} |
122 |
|
123 |
src_install() { |
124 |
DOCS="AUTHORS FAQ NEWS" |
125 |
SKIPWXCHECK=yes distutils_src_install |
126 |
} |
127 |
|
128 |
|
129 |
|
130 |
-- |
131 |
gentoo-commits@g.o mailing list |