1 |
dirtyepic 08/06/29 05:22:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wxGTK-2.8.8.0.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc8 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.192 x11-libs/wxGTK/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/ChangeLog?rev=1.192&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/ChangeLog?rev=1.192&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/ChangeLog?r1=1.191&r2=1.192 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v |
19 |
retrieving revision 1.191 |
20 |
retrieving revision 1.192 |
21 |
diff -u -r1.191 -r1.192 |
22 |
--- ChangeLog 29 Jun 2008 04:31:58 -0000 1.191 |
23 |
+++ ChangeLog 29 Jun 2008 05:22:00 -0000 1.192 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for x11-libs/wxGTK |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v 1.191 2008/06/29 04:31:58 dirtyepic Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v 1.192 2008/06/29 05:22:00 dirtyepic Exp $ |
29 |
+ |
30 |
+*wxGTK-2.8.8.0 (29 Jun 2008) |
31 |
+ |
32 |
+ 29 Jun 2008; Ryan Hill <dirtyepic@g.o> |
33 |
+ +files/wxGTK-2.8.8-collision.patch, +wxGTK-2.8.8.0.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*wxGTK-2.6.4.0-r4 (29 Jun 2008) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 x11-libs/wxGTK/wxGTK-2.8.8.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.8.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.8.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: wxGTK-2.8.8.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.8.0.ebuild,v 1.1 2008/06/29 05:22:00 dirtyepic Exp $ |
51 |
|
52 |
inherit eutils versionator flag-o-matic |
53 |
|
54 |
DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit." |
55 |
HOMEPAGE="http://wxwidgets.org/" |
56 |
|
57 |
BASE_PV="$(get_version_component_range 1-3)" |
58 |
BASE_P="${PN}-${BASE_PV}" |
59 |
|
60 |
# we use the wxPython tarballs because they include the full wxGTK sources and |
61 |
# docs, and are released more frequently than wxGTK. |
62 |
SRC_URI="mirror://sourceforge/wxpython/wxPython-src-${PV}.tar.bz2" |
63 |
|
64 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
65 |
IUSE="X doc debug gnome gstreamer odbc opengl pch sdl" |
66 |
|
67 |
RDEPEND=" |
68 |
dev-libs/expat |
69 |
odbc? ( dev-db/unixODBC ) |
70 |
sdl? ( media-libs/libsdl ) |
71 |
X? ( |
72 |
>=x11-libs/gtk+-2.4 |
73 |
>=dev-libs/glib-2.4 |
74 |
media-libs/jpeg |
75 |
media-libs/tiff |
76 |
x11-libs/libSM |
77 |
x11-libs/libXinerama |
78 |
x11-libs/libXxf86vm |
79 |
gnome? ( gnome-base/libgnomeprintui ) |
80 |
gstreamer? ( >=media-libs/gstreamer-0.10 ) |
81 |
opengl? ( virtual/opengl ) |
82 |
)" |
83 |
|
84 |
DEPEND="${RDEPEND} |
85 |
dev-util/pkgconfig |
86 |
X? ( |
87 |
x11-proto/xproto |
88 |
x11-proto/xineramaproto |
89 |
x11-proto/xf86vidmodeproto |
90 |
)" |
91 |
|
92 |
PDEPEND=">=app-admin/eselect-wxwidgets-0.7" |
93 |
|
94 |
SLOT="2.8" |
95 |
LICENSE="wxWinLL-3 |
96 |
GPL-2 |
97 |
odbc? ( LGPL-2 ) |
98 |
doc? ( wxWinFDL-3 )" |
99 |
|
100 |
S="${WORKDIR}/wxPython-src-${PV}" |
101 |
|
102 |
src_unpack() { |
103 |
unpack ${A} |
104 |
cd "${S}" |
105 |
|
106 |
epatch "${FILESDIR}"/${PN}-2.6.3-unicode-odbc.patch |
107 |
epatch "${FILESDIR}"/${PN}-2.8.8-collision.patch |
108 |
epatch "${FILESDIR}"/${PN}-2.8.6-wxrc_link_fix.patch |
109 |
epatch "${FILESDIR}"/${PN}-2.8.7-mmedia.patch # Bug #174874 |
110 |
} |
111 |
|
112 |
src_compile() { |
113 |
local myconf |
114 |
|
115 |
append-flags -fno-strict-aliasing |
116 |
|
117 |
# X independent options |
118 |
myconf="--enable-compat26 |
119 |
--enable-shared |
120 |
--enable-unicode |
121 |
--with-regex=builtin |
122 |
--with-zlib=sys |
123 |
--with-expat |
124 |
$(use_enable debug) |
125 |
$(use_enable pch precomp-headers) |
126 |
$(use_with sdl) |
127 |
$(use_with odbc)" |
128 |
|
129 |
# wxGTK options |
130 |
# --enable-graphics_ctx - needed for webkit, editra |
131 |
# --without-gnomevfs - bug #203389 |
132 |
|
133 |
use X && \ |
134 |
myconf="${myconf} |
135 |
--enable-graphics_ctx |
136 |
--enable-gui |
137 |
--with-libpng |
138 |
--with-libxpm |
139 |
--with-libjpeg |
140 |
--with-libtiff |
141 |
$(use_enable gstreamer mediactrl) |
142 |
$(use_enable opengl) |
143 |
$(use_with opengl) |
144 |
$(use_with gnome gnomeprint) |
145 |
--without-gnomevfs" |
146 |
|
147 |
# wxBase options |
148 |
use X || \ |
149 |
myconf="${myconf} |
150 |
--disable-gui" |
151 |
|
152 |
mkdir "${S}"/wxgtk_build |
153 |
cd "${S}"/wxgtk_build |
154 |
|
155 |
ECONF_SOURCE="${S}" econf ${myconf} || die "configure failed." |
156 |
|
157 |
emake || die "make failed." |
158 |
|
159 |
if [[ -d contrib/src ]]; then |
160 |
cd contrib/src |
161 |
emake || die "make contrib failed." |
162 |
fi |
163 |
} |
164 |
|
165 |
src_install() { |
166 |
cd "${S}"/wxgtk_build |
167 |
|
168 |
emake DESTDIR="${D}" install || die "install failed." |
169 |
|
170 |
if [[ -d contrib/src ]]; then |
171 |
cd contrib/src |
172 |
emake DESTDIR="${D}" install || die "install contrib failed." |
173 |
fi |
174 |
|
175 |
cd "${S}"/docs |
176 |
dodoc changes.txt readme.txt todo30.txt |
177 |
newdoc base/readme.txt base_readme.txt |
178 |
newdoc gtk/readme.txt gtk_readme.txt |
179 |
|
180 |
if use doc; then |
181 |
dohtml -r "${S}"/docs/html/* |
182 |
fi |
183 |
|
184 |
# We don't want this |
185 |
rm "${D}"usr/share/locale/it/LC_MESSAGES/wxmsw.mo |
186 |
} |
187 |
|
188 |
pkg_postinst() { |
189 |
has_version app-admin/eselect-wxwidgets \ |
190 |
&& eselect wxwidgets update |
191 |
} |
192 |
|
193 |
pkg_postrm() { |
194 |
has_version app-admin/eselect-wxwidgets \ |
195 |
&& eselect wxwidgets update |
196 |
} |
197 |
|
198 |
|
199 |
|
200 |
-- |
201 |
gentoo-commits@l.g.o mailing list |