1 |
dirtyepic 12/07/28 22:45:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wxGTK-2.9.4.1.ebuild |
5 |
Removed: wxGTK-2.8.11.0.ebuild wxGTK-2.9.1.1.ebuild |
6 |
wxGTK-2.8.12.0.ebuild |
7 |
Log: |
8 |
Version bump, remove old. |
9 |
|
10 |
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.292 x11-libs/wxGTK/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/wxGTK/ChangeLog?rev=1.292&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/wxGTK/ChangeLog?rev=1.292&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/wxGTK/ChangeLog?r1=1.291&r2=1.292 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v |
22 |
retrieving revision 1.291 |
23 |
retrieving revision 1.292 |
24 |
diff -u -r1.291 -r1.292 |
25 |
--- ChangeLog 31 May 2012 13:25:49 -0000 1.291 |
26 |
+++ ChangeLog 28 Jul 2012 22:45:58 -0000 1.292 |
27 |
@@ -1,6 +1,15 @@ |
28 |
# ChangeLog for x11-libs/wxGTK |
29 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v 1.291 2012/05/31 13:25:49 jlec Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v 1.292 2012/07/28 22:45:58 dirtyepic Exp $ |
32 |
+ |
33 |
+*wxGTK-2.9.4.1 (28 Jul 2012) |
34 |
+ |
35 |
+ 28 Jul 2012; Ryan Hill <dirtyepic@g.o> |
36 |
+ -files/wxGTK-2.8.11-libpng15.patch, -wxGTK-2.8.11.0.ebuild, |
37 |
+ -wxGTK-2.8.12.0.ebuild, -wxGTK-2.9.1.1.ebuild, |
38 |
+ -files/wxGTK-2.9.1.1-collision.patch, +wxGTK-2.9.4.1.ebuild, |
39 |
+ +files/wxGTK-2.9.4.1-collision.patch: |
40 |
+ Version bump, remove old. |
41 |
|
42 |
31 May 2012; Justin Lecher <jlec@g.o> wxGTK-2.8.12.1.ebuild: |
43 |
Correct searchpath to be sane on prefix without influence on plain |
44 |
|
45 |
|
46 |
|
47 |
1.1 x11-libs/wxGTK/wxGTK-2.9.4.1.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/wxGTK/wxGTK-2.9.4.1.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/wxGTK/wxGTK-2.9.4.1.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: wxGTK-2.9.4.1.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2012 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.9.4.1.ebuild,v 1.1 2012/07/28 22:45:58 dirtyepic Exp $ |
57 |
|
58 |
EAPI="4" |
59 |
|
60 |
inherit eutils flag-o-matic |
61 |
|
62 |
DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit" |
63 |
HOMEPAGE="http://wxwidgets.org/" |
64 |
|
65 |
# we use the wxPython tarballs because they include the full wxGTK sources and |
66 |
# docs, and are released more frequently than wxGTK. |
67 |
SRC_URI="mirror://sourceforge/wxpython/wxPython-src-2.9.4.0.tar.bz2 |
68 |
doc? ( mirror://sourceforge/wxpython/wxPython-docs-2.9.4.0.tar.bz2 ) |
69 |
mirror://sourceforge/wxpython/wxPython-src-${PV}.patch" |
70 |
|
71 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
72 |
IUSE="X aqua doc debug gnome gstreamer opengl pch sdl tiff" |
73 |
|
74 |
RDEPEND=" |
75 |
dev-libs/expat |
76 |
sdl? ( media-libs/libsdl ) |
77 |
X? ( |
78 |
>=dev-libs/glib-2.22:2 |
79 |
media-libs/libpng:0 |
80 |
sys-libs/zlib |
81 |
virtual/jpeg |
82 |
>=x11-libs/gtk+-2.18:2 |
83 |
x11-libs/libSM |
84 |
x11-libs/libXinerama |
85 |
x11-libs/libXxf86vm |
86 |
x11-libs/pango[X] |
87 |
gnome? ( gnome-base/libgnomeprintui:2.2 ) |
88 |
gstreamer? ( |
89 |
gnome-base/gconf:2 |
90 |
>=media-libs/gstreamer-0.10 |
91 |
>=media-libs/gst-plugins-base-0.10 ) |
92 |
opengl? ( virtual/opengl ) |
93 |
tiff? ( media-libs/tiff:0 ) |
94 |
) |
95 |
aqua? ( |
96 |
>=x11-libs/gtk+-2.4[aqua=] |
97 |
virtual/jpeg |
98 |
tiff? ( media-libs/tiff:0 ) |
99 |
)" |
100 |
|
101 |
DEPEND="${RDEPEND} |
102 |
dev-util/cppunit |
103 |
virtual/pkgconfig |
104 |
X? ( |
105 |
x11-proto/xproto |
106 |
x11-proto/xineramaproto |
107 |
x11-proto/xf86vidmodeproto |
108 |
)" |
109 |
|
110 |
PDEPEND=">=app-admin/eselect-wxwidgets-1.4" |
111 |
|
112 |
SLOT="2.9" |
113 |
LICENSE="wxWinLL-3 |
114 |
GPL-2 |
115 |
doc? ( wxWinFDL-3 )" |
116 |
|
117 |
S="${WORKDIR}/wxPython-src-2.9.4.0" |
118 |
|
119 |
src_prepare() { |
120 |
epatch "${FILESDIR}"/${P}-collision.patch |
121 |
epatch "${DISTDIR}"/wxPython-src-${PV}.patch |
122 |
} |
123 |
|
124 |
src_configure() { |
125 |
local myconf |
126 |
|
127 |
append-flags -fno-strict-aliasing |
128 |
|
129 |
# X independent options |
130 |
myconf="--enable-compat26 |
131 |
--with-zlib=sys |
132 |
--with-expat=sys |
133 |
$(use_enable pch precomp-headers) |
134 |
$(use_with sdl)" |
135 |
|
136 |
# debug in >=2.9 |
137 |
# if USE="debug" set max debug level (wxDEBUG_LEVEL=2) |
138 |
# if USE="-debug" use the default (wxDEBUG_LEVEL=1) |
139 |
# do not use --disable-debug |
140 |
# this means we always build debugging features into the library, and |
141 |
# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0. |
142 |
# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs. |
143 |
# http://docs.wxwidgets.org/2.9/overview_debugging.html |
144 |
# http://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c |
145 |
use debug \ |
146 |
&& myconf="${myconf} --enable-debug=max" |
147 |
|
148 |
# wxGTK options |
149 |
# --enable-graphics_ctx - needed for webkit, editra |
150 |
# --without-gnomevfs - bug #203389 |
151 |
|
152 |
use X && \ |
153 |
myconf="${myconf} |
154 |
--enable-graphics_ctx |
155 |
--enable-gui |
156 |
--with-libpng=sys |
157 |
--with-libxpm=sys |
158 |
--with-libjpeg=sys |
159 |
--without-gnomevfs |
160 |
$(use_enable gstreamer mediactrl) |
161 |
$(use_with opengl) |
162 |
$(use_with gnome gnomeprint) |
163 |
$(use_with !gnome gtkprint) |
164 |
$(use_with tiff libtiff sys)" |
165 |
|
166 |
use aqua && \ |
167 |
myconf="${myconf} |
168 |
--enable-graphics_ctx |
169 |
--enable-gui |
170 |
--with-libpng=sys |
171 |
--with-libxpm=sys |
172 |
--with-libjpeg=sys |
173 |
--with-mac |
174 |
--with-opengl" |
175 |
# cocoa toolkit seems to be broken |
176 |
|
177 |
# wxBase options |
178 |
if use !X && use !aqua ; then |
179 |
myconf="${myconf} |
180 |
--disable-gui" |
181 |
fi |
182 |
|
183 |
mkdir "${S}"/wxgtk_build |
184 |
cd "${S}"/wxgtk_build |
185 |
|
186 |
ECONF_SOURCE="${S}" econf ${myconf} |
187 |
} |
188 |
|
189 |
src_compile() { |
190 |
cd "${S}"/wxgtk_build |
191 |
emake |
192 |
} |
193 |
|
194 |
# Currently fails - need to investigate |
195 |
#src_test() { |
196 |
# cd "${S}"/wxgtk_build/tests |
197 |
# emake || die "failed building testsuite" |
198 |
# ./test -d || ewarn "failed running testsuite" |
199 |
#} |
200 |
|
201 |
src_install() { |
202 |
cd "${S}"/wxgtk_build |
203 |
|
204 |
emake DESTDIR="${D}" install |
205 |
|
206 |
cd "${S}"/docs |
207 |
dodoc changes.txt readme.txt |
208 |
newdoc base/readme.txt base_readme.txt |
209 |
newdoc gtk/readme.txt gtk_readme.txt |
210 |
|
211 |
if use doc; then |
212 |
dohtml -r "${S}"/docs/doxygen/out/html/* |
213 |
fi |
214 |
} |
215 |
|
216 |
pkg_postinst() { |
217 |
has_version app-admin/eselect-wxwidgets \ |
218 |
&& eselect wxwidgets update |
219 |
} |
220 |
|
221 |
pkg_postrm() { |
222 |
has_version app-admin/eselect-wxwidgets \ |
223 |
&& eselect wxwidgets update |
224 |
} |