1 |
commit: 9610658567a87a32bb5040fd8fb4af37f58f89e2 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 3 15:31:25 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 3 15:31:59 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96106585 |
7 |
|
8 |
x11-libs/wxGTK: remove old, drops SLOT=2.8 to ~hppa (nothing needs it stable anymore) |
9 |
|
10 |
Only stable hppa wxGTK consumers are using SLOT=3.0 by now, so the 2.8 revbump stabling |
11 |
on hppa was skipped on purpose, as this dropping to ~hppa was possible after libkate |
12 |
cleanup. |
13 |
|
14 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
15 |
|
16 |
x11-libs/wxGTK/wxGTK-2.8.12.1-r1.ebuild | 186 -------------------------------- |
17 |
1 file changed, 186 deletions(-) |
18 |
|
19 |
diff --git a/x11-libs/wxGTK/wxGTK-2.8.12.1-r1.ebuild b/x11-libs/wxGTK/wxGTK-2.8.12.1-r1.ebuild |
20 |
deleted file mode 100644 |
21 |
index 87d2ddd9a44..00000000000 |
22 |
--- a/x11-libs/wxGTK/wxGTK-2.8.12.1-r1.ebuild |
23 |
+++ /dev/null |
24 |
@@ -1,186 +0,0 @@ |
25 |
-# Copyright 1999-2017 Gentoo Foundation |
26 |
-# Distributed under the terms of the GNU General Public License v2 |
27 |
- |
28 |
-EAPI="5" |
29 |
- |
30 |
-inherit eutils flag-o-matic multilib versionator |
31 |
- |
32 |
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit" |
33 |
-HOMEPAGE="https://wxwidgets.org/" |
34 |
- |
35 |
-BASE_PV="$(get_version_component_range 1-3)" |
36 |
-BASE_P="${PN}-${BASE_PV}" |
37 |
- |
38 |
-# we use the wxPython tarballs because they include the full wxGTK sources and |
39 |
-# docs, and are released more frequently than wxGTK. |
40 |
-SRC_URI="mirror://sourceforge/wxpython/wxPython-src-${PV}.tar.bz2" |
41 |
- |
42 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
43 |
-IUSE="+X aqua doc debug gnome gstreamer odbc opengl pch sdl tiff" |
44 |
- |
45 |
-SLOT="2.8" |
46 |
- |
47 |
-RDEPEND=" |
48 |
- dev-libs/expat |
49 |
- odbc? ( dev-db/unixODBC ) |
50 |
- sdl? ( media-libs/libsdl ) |
51 |
- X? ( |
52 |
- dev-libs/glib:2 |
53 |
- media-libs/libpng:0= |
54 |
- sys-libs/zlib |
55 |
- virtual/jpeg:0= |
56 |
- x11-libs/gtk+:2 |
57 |
- x11-libs/libSM |
58 |
- x11-libs/libXinerama |
59 |
- x11-libs/libXxf86vm |
60 |
- x11-libs/pango[X] |
61 |
- gnome? ( gnome-base/libgnomeprintui:2.2 ) |
62 |
- gstreamer? ( |
63 |
- gnome-base/gconf:2 |
64 |
- media-libs/gstreamer:0.10 |
65 |
- media-libs/gst-plugins-base:0.10 ) |
66 |
- opengl? ( virtual/opengl ) |
67 |
- tiff? ( media-libs/tiff:0 ) |
68 |
- ) |
69 |
- aqua? ( |
70 |
- x11-libs/gtk+:2[aqua=] |
71 |
- virtual/jpeg:0= |
72 |
- tiff? ( media-libs/tiff:0 ) |
73 |
- )" |
74 |
- |
75 |
-DEPEND="${RDEPEND} |
76 |
- virtual/pkgconfig |
77 |
- opengl? ( virtual/glu ) |
78 |
- X? ( |
79 |
- x11-proto/xproto |
80 |
- x11-proto/xineramaproto |
81 |
- x11-proto/xf86vidmodeproto |
82 |
- )" |
83 |
- |
84 |
-PDEPEND=">=app-eselect/eselect-wxwidgets-0.7" |
85 |
- |
86 |
-LICENSE="wxWinLL-3 |
87 |
- GPL-2 |
88 |
- odbc? ( LGPL-2 ) |
89 |
- doc? ( wxWinFDL-3 )" |
90 |
- |
91 |
-S="${WORKDIR}/wxPython-src-${PV}" |
92 |
- |
93 |
-src_prepare() { |
94 |
- epatch "${FILESDIR}"/${PN}-2.8.11-unicode-odbc.patch |
95 |
- epatch "${FILESDIR}"/${PN}-2.8.11-collision.patch |
96 |
- epatch "${FILESDIR}"/${PN}-2.8.7-mmedia.patch # Bug #174874 |
97 |
- epatch "${FILESDIR}"/${PN}-2.8.10.1-odbc-defines.patch # Bug #310923 |
98 |
- |
99 |
- # x32 https://bugs.gentoo.org/421851 |
100 |
- sed -i -e "/wx_cv_std_libpath=/s:=.*:=$(get_libdir):" configure || die |
101 |
- |
102 |
- # prefix https://bugs.gentoo.org/394123 |
103 |
- sed -i -e "s:/usr:${EPREFIX}/usr:g" \ |
104 |
- -e '/SEARCH_INCLUDE="\\/,/"/cSEARCH_INCLUDE="'${EPREFIX}'/usr/include"' \ |
105 |
- configure || die |
106 |
- |
107 |
- epatch_user |
108 |
-} |
109 |
- |
110 |
-src_configure() { |
111 |
- local myconf |
112 |
- |
113 |
- append-flags -fno-strict-aliasing |
114 |
- |
115 |
- # X independent options |
116 |
- myconf="--enable-compat26 |
117 |
- --enable-shared |
118 |
- --enable-unicode |
119 |
- --with-regex=builtin |
120 |
- --with-zlib=sys |
121 |
- --with-expat=sys |
122 |
- $(use_enable debug) |
123 |
- $(use_enable pch precomp-headers) |
124 |
- $(use_with odbc odbc sys) |
125 |
- $(use_with sdl) |
126 |
- $(use_with tiff libtiff sys)" |
127 |
- |
128 |
- # wxGTK options |
129 |
- # --enable-graphics_ctx - needed for webkit, editra |
130 |
- # --without-gnomevfs - bug #203389 |
131 |
- use X && \ |
132 |
- myconf="${myconf} |
133 |
- --enable-graphics_ctx |
134 |
- --enable-gui |
135 |
- --with-libpng=sys |
136 |
- --with-libxpm=sys |
137 |
- --with-libjpeg=sys |
138 |
- $(use_enable gstreamer mediactrl) |
139 |
- $(use_enable opengl) |
140 |
- $(use_with opengl) |
141 |
- $(use_with gnome gnomeprint) |
142 |
- --without-gnomevfs" |
143 |
- |
144 |
- use aqua && \ |
145 |
- myconf="${myconf} |
146 |
- --enable-graphics_ctx |
147 |
- --enable-gui |
148 |
- --with-libpng=sys |
149 |
- --with-libxpm=sys |
150 |
- --with-libjpeg=sys |
151 |
- --with-mac |
152 |
- --with-opengl" |
153 |
- # cocoa toolkit seems to be broken |
154 |
- |
155 |
- # wxBase options |
156 |
- if use !X && use !aqua ; then |
157 |
- myconf="${myconf} |
158 |
- --disable-gui" |
159 |
- fi |
160 |
- |
161 |
- mkdir "${S}"/wxgtk_build |
162 |
- cd "${S}"/wxgtk_build |
163 |
- |
164 |
- ECONF_SOURCE="${S}" econf ${myconf} |
165 |
-} |
166 |
- |
167 |
-src_compile() { |
168 |
- cd "${S}"/wxgtk_build |
169 |
- |
170 |
- emake |
171 |
- |
172 |
- if [[ -d contrib/src ]]; then |
173 |
- cd contrib/src |
174 |
- emake |
175 |
- fi |
176 |
-} |
177 |
- |
178 |
-src_install() { |
179 |
- cd "${S}"/wxgtk_build |
180 |
- |
181 |
- emake DESTDIR="${D}" install |
182 |
- |
183 |
- if [[ -d contrib/src ]]; then |
184 |
- cd contrib/src |
185 |
- emake DESTDIR="${D}" install |
186 |
- fi |
187 |
- |
188 |
- cd "${S}"/docs |
189 |
- dodoc changes.txt readme.txt todo30.txt |
190 |
- newdoc base/readme.txt base_readme.txt |
191 |
- newdoc gtk/readme.txt gtk_readme.txt |
192 |
- |
193 |
- if use doc; then |
194 |
- dohtml -r "${S}"/docs/html/* |
195 |
- fi |
196 |
- |
197 |
- # Stray windows locale file, causes collisions |
198 |
- local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw.mo" |
199 |
- [[ -e ${wxmsw} ]] && rm "${wxmsw}" |
200 |
-} |
201 |
- |
202 |
-pkg_postinst() { |
203 |
- has_version app-eselect/eselect-wxwidgets \ |
204 |
- && eselect wxwidgets update |
205 |
-} |
206 |
- |
207 |
-pkg_postrm() { |
208 |
- has_version app-eselect/eselect-wxwidgets \ |
209 |
- && eselect wxwidgets update |
210 |
-} |