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