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