1 |
ssuominen 11/03/31 21:30:15 |
2 |
|
3 |
Modified: libimobiledevice-1.1.0.ebuild |
4 |
libimobiledevice-1.0.6.ebuild ChangeLog |
5 |
Log: |
6 |
Fix building with dev-lang/swig >= 2.0.0 wrt #361029. |
7 |
|
8 |
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 app-pda/libimobiledevice/libimobiledevice-1.1.0.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.1.0.ebuild?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.1.0.ebuild?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.1.0.ebuild?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: libimobiledevice-1.1.0.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.1.0.ebuild,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- libimobiledevice-1.1.0.ebuild 29 Mar 2011 02:05:44 -0000 1.2 |
24 |
+++ libimobiledevice-1.1.0.ebuild 31 Mar 2011 21:30:15 -0000 1.3 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2011 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.1.0.ebuild,v 1.2 2011/03/29 02:05:44 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.1.0.ebuild,v 1.3 2011/03/31 21:30:15 ssuominen Exp $ |
30 |
|
31 |
EAPI=3 |
32 |
PYTHON_DEPEND="python? 2:2.6" |
33 |
@@ -27,7 +27,7 @@ |
34 |
virtual/libusb:1" |
35 |
DEPEND="${RDEPEND} |
36 |
dev-util/pkgconfig |
37 |
- python? ( dev-lang/swig )" |
38 |
+ python? ( >=dev-lang/swig-2.0.0 )" |
39 |
|
40 |
pkg_setup() { |
41 |
if use python; then |
42 |
@@ -36,8 +36,15 @@ |
43 |
fi |
44 |
} |
45 |
|
46 |
+src_prepare() { |
47 |
+ sed -i -e 's:1.3.21:2.0.0:g' configure || die |
48 |
+ |
49 |
+ rm -f py-compile |
50 |
+ ln -s $(type -P true) py-compile |
51 |
+} |
52 |
+ |
53 |
src_configure() { |
54 |
- # --with-swig is same as --without-swig wrt #361029. |
55 |
+ # --with-swig is same as --without-swig wrt #361029 |
56 |
|
57 |
local myconf |
58 |
use python || myconf="--without-swig" |
59 |
@@ -54,3 +61,11 @@ |
60 |
|
61 |
find "${D}" -name '*.la' -exec rm -f {} + |
62 |
} |
63 |
+ |
64 |
+pkg_postinst() { |
65 |
+ use python && python_mod_optimize imobiledevice |
66 |
+} |
67 |
+ |
68 |
+pkg_postrm() { |
69 |
+ use python && python_mod_cleanup imobiledevice |
70 |
+} |
71 |
|
72 |
|
73 |
|
74 |
1.4 app-pda/libimobiledevice/libimobiledevice-1.0.6.ebuild |
75 |
|
76 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.0.6.ebuild?rev=1.4&view=markup |
77 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.0.6.ebuild?rev=1.4&content-type=text/plain |
78 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.0.6.ebuild?r1=1.3&r2=1.4 |
79 |
|
80 |
Index: libimobiledevice-1.0.6.ebuild |
81 |
=================================================================== |
82 |
RCS file: /var/cvsroot/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.0.6.ebuild,v |
83 |
retrieving revision 1.3 |
84 |
retrieving revision 1.4 |
85 |
diff -u -r1.3 -r1.4 |
86 |
--- libimobiledevice-1.0.6.ebuild 29 Mar 2011 02:05:44 -0000 1.3 |
87 |
+++ libimobiledevice-1.0.6.ebuild 31 Mar 2011 21:30:15 -0000 1.4 |
88 |
@@ -1,6 +1,6 @@ |
89 |
# Copyright 1999-2011 Gentoo Foundation |
90 |
# Distributed under the terms of the GNU General Public License v2 |
91 |
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.0.6.ebuild,v 1.3 2011/03/29 02:05:44 ssuominen Exp $ |
92 |
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.0.6.ebuild,v 1.4 2011/03/31 21:30:15 ssuominen Exp $ |
93 |
|
94 |
EAPI=3 |
95 |
|
96 |
@@ -25,10 +25,8 @@ |
97 |
dev-util/pkgconfig" |
98 |
|
99 |
src_configure() { |
100 |
- # Be careful when enabling Python, and read this thru: |
101 |
- # http://bugs.gentoo.org/show_bug.cgi?id=361029 |
102 |
- # |
103 |
- # --with-swig is same as --without-swig wrt #361029. |
104 |
+ # Missing dev-lang/swig >= 2.0.0 support wrt #361029. Keep |
105 |
+ # disabled for 1.0.x series. Fixed again in 1.1.0's ebuild. |
106 |
econf \ |
107 |
--disable-dependency-tracking \ |
108 |
$(use_enable static-libs static) \ |
109 |
|
110 |
|
111 |
|
112 |
1.15 app-pda/libimobiledevice/ChangeLog |
113 |
|
114 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libimobiledevice/ChangeLog?rev=1.15&view=markup |
115 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libimobiledevice/ChangeLog?rev=1.15&content-type=text/plain |
116 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/libimobiledevice/ChangeLog?r1=1.14&r2=1.15 |
117 |
|
118 |
Index: ChangeLog |
119 |
=================================================================== |
120 |
RCS file: /var/cvsroot/gentoo-x86/app-pda/libimobiledevice/ChangeLog,v |
121 |
retrieving revision 1.14 |
122 |
retrieving revision 1.15 |
123 |
diff -u -r1.14 -r1.15 |
124 |
--- ChangeLog 29 Mar 2011 02:03:31 -0000 1.14 |
125 |
+++ ChangeLog 31 Mar 2011 21:30:15 -0000 1.15 |
126 |
@@ -1,6 +1,10 @@ |
127 |
# ChangeLog for app-pda/libimobiledevice |
128 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
129 |
-# $Header: /var/cvsroot/gentoo-x86/app-pda/libimobiledevice/ChangeLog,v 1.14 2011/03/29 02:03:31 ssuominen Exp $ |
130 |
+# $Header: /var/cvsroot/gentoo-x86/app-pda/libimobiledevice/ChangeLog,v 1.15 2011/03/31 21:30:15 ssuominen Exp $ |
131 |
+ |
132 |
+ 31 Mar 2011; Samuli Suominen <ssuominen@g.o> |
133 |
+ libimobiledevice-1.1.0.ebuild: |
134 |
+ Fix building with dev-lang/swig >= 2.0.0 wrt #361029. |
135 |
|
136 |
*libimobiledevice-1.1.0 (29 Mar 2011) |