1 |
commit: ab6047e626654bf52fa75614216dd10108845eea |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 23 05:27:07 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 23 05:27:07 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab6047e6 |
7 |
|
8 |
x11-libs/wxGTK: remove old |
9 |
|
10 |
This removes the last vulnerable webkit-gtk:2 using revision of wxGTK, |
11 |
and last revision using gstreamer:0.10 in wxGTK-3* (gst 0.10 usage |
12 |
remains in wxGTK:2.8 for now - pending ability to cleanup 2.8 as a whole). |
13 |
|
14 |
Closes: https://bugs.gentoo.org/629122 |
15 |
Bug: https://bugs.gentoo.org/629208 |
16 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
17 |
|
18 |
x11-libs/wxGTK/wxGTK-3.0.2.0-r3.ebuild | 165 --------------------------------- |
19 |
1 file changed, 165 deletions(-) |
20 |
|
21 |
diff --git a/x11-libs/wxGTK/wxGTK-3.0.2.0-r3.ebuild b/x11-libs/wxGTK/wxGTK-3.0.2.0-r3.ebuild |
22 |
deleted file mode 100644 |
23 |
index 194ded56acc..00000000000 |
24 |
--- a/x11-libs/wxGTK/wxGTK-3.0.2.0-r3.ebuild |
25 |
+++ /dev/null |
26 |
@@ -1,165 +0,0 @@ |
27 |
-# Copyright 1999-2017 Gentoo Foundation |
28 |
-# Distributed under the terms of the GNU General Public License v2 |
29 |
- |
30 |
-EAPI="5" |
31 |
- |
32 |
-inherit autotools eutils multilib-minimal |
33 |
- |
34 |
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit" |
35 |
-HOMEPAGE="https://wxwidgets.org/" |
36 |
- |
37 |
-# we use the wxPython tarballs because they include the full wxGTK sources and |
38 |
-# docs, and are released more frequently than wxGTK. |
39 |
-SRC_URI="mirror://sourceforge/wxpython/wxPython-src-${PV}.tar.bz2 |
40 |
- doc? ( mirror://sourceforge/wxpython/wxPython-docs-${PV}.tar.bz2 )" |
41 |
- |
42 |
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
43 |
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff webkit" |
44 |
- |
45 |
-SLOT="3.0" |
46 |
- |
47 |
-RDEPEND=" |
48 |
- dev-libs/expat[${MULTILIB_USEDEP}] |
49 |
- sdl? ( media-libs/libsdl[${MULTILIB_USEDEP}] ) |
50 |
- X? ( |
51 |
- >=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}] |
52 |
- media-libs/libpng:0=[${MULTILIB_USEDEP}] |
53 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
54 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
55 |
- >=x11-libs/gtk+-2.18:2[${MULTILIB_USEDEP}] |
56 |
- x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] |
57 |
- x11-libs/libSM[${MULTILIB_USEDEP}] |
58 |
- x11-libs/libXxf86vm[${MULTILIB_USEDEP}] |
59 |
- x11-libs/pango[${MULTILIB_USEDEP}] |
60 |
- gstreamer? ( |
61 |
- media-libs/gstreamer:0.10[${MULTILIB_USEDEP}] |
62 |
- media-libs/gst-plugins-base:0.10[${MULTILIB_USEDEP}] ) |
63 |
- libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] ) |
64 |
- opengl? ( virtual/opengl[${MULTILIB_USEDEP}] ) |
65 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
66 |
- webkit? ( net-libs/webkit-gtk:2 ) |
67 |
- ) |
68 |
- aqua? ( |
69 |
- x11-libs/gtk+:2[aqua=,${MULTILIB_USEDEP}] |
70 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
71 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
72 |
- )" |
73 |
- |
74 |
-DEPEND="${RDEPEND} |
75 |
- virtual/pkgconfig[${MULTILIB_USEDEP}] |
76 |
- opengl? ( virtual/glu[${MULTILIB_USEDEP}] ) |
77 |
- X? ( |
78 |
- x11-proto/xproto[${MULTILIB_USEDEP}] |
79 |
- x11-proto/xineramaproto[${MULTILIB_USEDEP}] |
80 |
- x11-proto/xf86vidmodeproto[${MULTILIB_USEDEP}] |
81 |
- )" |
82 |
- |
83 |
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230" |
84 |
- |
85 |
-LICENSE="wxWinLL-3 |
86 |
- GPL-2 |
87 |
- doc? ( wxWinFDL-3 )" |
88 |
- |
89 |
-S="${WORKDIR}/wxPython-src-${PV}" |
90 |
- |
91 |
-src_prepare() { |
92 |
- epatch "${FILESDIR}"/${PN}-3.0.0.0-collision.patch |
93 |
- epatch "${FILESDIR}"/${P}-webview-fixes.patch |
94 |
- epatch "${FILESDIR}"/${P}-gcc6.patch |
95 |
- epatch_user |
96 |
- |
97 |
- for f in $(find "${S}" -name configure.in); do |
98 |
- mv "${f}" "${f/in/ac}" || die |
99 |
- done |
100 |
- AT_M4DIR="${S}/build/aclocal" eautoreconf |
101 |
- |
102 |
- # https://bugs.gentoo.org/536004 |
103 |
- sed \ |
104 |
- -e 's:3\.0\.1:3.0.2:g' \ |
105 |
- -e 's:^wx_release_number=1$:wx_release_number=2:' \ |
106 |
- -i "${S}"/configure || die |
107 |
- |
108 |
-} |
109 |
- |
110 |
-multilib_src_configure() { |
111 |
- local myconf |
112 |
- |
113 |
- # X independent options |
114 |
- myconf=" |
115 |
- --with-zlib=sys |
116 |
- --with-expat=sys |
117 |
- --enable-compat28 |
118 |
- $(use_with sdl)" |
119 |
- |
120 |
- # debug in >=2.9 |
121 |
- # there is no longer separate debug libraries (gtk2ud) |
122 |
- # wxDEBUG_LEVEL=1 is the default and we will leave it enabled |
123 |
- # wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs. |
124 |
- # apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0. |
125 |
- # http://docs.wxwidgets.org/3.0/overview_debugging.html |
126 |
- # https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c |
127 |
- use debug \ |
128 |
- && myconf="${myconf} --enable-debug=max" |
129 |
- |
130 |
- # wxGTK options |
131 |
- # --enable-graphics_ctx - needed for webkit, editra |
132 |
- # --without-gnomevfs - bug #203389 |
133 |
- use X && \ |
134 |
- myconf="${myconf} |
135 |
- --enable-graphics_ctx |
136 |
- --with-gtkprint |
137 |
- --enable-gui |
138 |
- --with-libpng=sys |
139 |
- --with-libxpm=sys |
140 |
- --with-libjpeg=sys |
141 |
- --without-gnomevfs |
142 |
- $(use_enable gstreamer mediactrl) |
143 |
- $(multilib_native_use_enable webkit webview) |
144 |
- $(use_with libnotify) |
145 |
- $(use_with opengl) |
146 |
- $(use_with tiff libtiff sys)" |
147 |
- |
148 |
- use aqua && \ |
149 |
- myconf="${myconf} |
150 |
- --enable-graphics_ctx |
151 |
- --enable-gui |
152 |
- --with-libpng=sys |
153 |
- --with-libxpm=sys |
154 |
- --with-libjpeg=sys |
155 |
- --with-mac |
156 |
- --with-opengl" |
157 |
- # cocoa toolkit seems to be broken |
158 |
- |
159 |
- # wxBase options |
160 |
- if use !X && use !aqua ; then |
161 |
- myconf="${myconf} |
162 |
- --disable-gui" |
163 |
- fi |
164 |
- |
165 |
- ECONF_SOURCE="${S}" econf ${myconf} |
166 |
-} |
167 |
- |
168 |
-multilib_src_install_all() { |
169 |
- cd "${S}"/docs || die |
170 |
- dodoc changes.txt readme.txt |
171 |
- newdoc base/readme.txt base_readme.txt |
172 |
- newdoc gtk/readme.txt gtk_readme.txt |
173 |
- |
174 |
- if use doc; then |
175 |
- dodoc -r "${S}"/docs/doxygen/out/html |
176 |
- fi |
177 |
- |
178 |
- # Stray windows locale file, causes collisions |
179 |
- local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw.mo" |
180 |
- [[ -e ${wxmsw} ]] && rm "${wxmsw}" |
181 |
-} |
182 |
- |
183 |
-pkg_postinst() { |
184 |
- has_version app-eselect/eselect-wxwidgets \ |
185 |
- && eselect wxwidgets update |
186 |
-} |
187 |
- |
188 |
-pkg_postrm() { |
189 |
- has_version app-eselect/eselect-wxwidgets \ |
190 |
- && eselect wxwidgets update |
191 |
-} |