Gentoo Archives: gentoo-commits

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