1 |
commit: a9e3756de249e709bc29ef602f2c099b88163c22 |
2 |
Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> |
3 |
AuthorDate: Sun May 8 22:34:58 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 13 20:03:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9e3756d |
7 |
|
8 |
dev-util/codeblocks: cleanup old 17.12-r*, <=20.03-r3 |
9 |
|
10 |
Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-util/codeblocks/Manifest | 3 - |
14 |
dev-util/codeblocks/codeblocks-17.12-r303.ebuild | 86 ---------------------- |
15 |
dev-util/codeblocks/codeblocks-17.12-r304.ebuild | 83 --------------------- |
16 |
dev-util/codeblocks/codeblocks-20.03-r1.ebuild | 76 ------------------- |
17 |
dev-util/codeblocks/codeblocks-20.03-r2.ebuild | 77 ------------------- |
18 |
dev-util/codeblocks/codeblocks-20.03-r3.ebuild | 76 ------------------- |
19 |
.../codeblocks-17.12-fix-crash-on-copypaste.patch | 20 ----- |
20 |
.../codeblocks-20.03_gcc11_compatibility.patch | 12 --- |
21 |
8 files changed, 433 deletions(-) |
22 |
|
23 |
diff --git a/dev-util/codeblocks/Manifest b/dev-util/codeblocks/Manifest |
24 |
index 2c6b6a8da73e..86c03b3b4a25 100644 |
25 |
--- a/dev-util/codeblocks/Manifest |
26 |
+++ b/dev-util/codeblocks/Manifest |
27 |
@@ -1,8 +1,5 @@ |
28 |
-DIST codeblocks-17.12-fortran.tar.xz 3048 BLAKE2B 58fd3b95cea3303a41da31f5cffe08698fa51ff896c456224edd63d17ddfe8dd54b0c058bd2a68920cf15789bfe5e412054e4e603b1d644034d8cb43d3de3224 SHA512 78534706b6433ae93b680740b2e6c0b747119f6ac62477b901ceeb1900692465615e29f2837ceca48d127181fc6b653d6d49a85fdb8d2fb873ad5a915527936c |
29 |
-DIST codeblocks-17.12_update_astyle_plugin_to_v3.1.patch.xz 3712 BLAKE2B 4a5f75c18b365030a08196dcb2808d8f42d8adf9442552d372cb3923629d9d5b74c98c77557f0af46965bb875543cc6f221a5197fa2b4dba12409225c6cc61d9 SHA512 b216f2659b8ce2a22fd2f9af456af71328b40428510b75f0bb36cec4695d28bbd3133b7385614a84862c2ab5c560d314cc8153ddab09019410e179f5d337669b |
30 |
DIST codeblocks-20.03-codecompletion-symbolbrowser-update.tar.xz 52572 BLAKE2B 4752a84f5471f68f2c1044df6c6c3c25dd61f03e916bfcff1d091fe66aec8911cd02c7d824431dd307267d00af209cfd0b614528fe091a2d3c4bccbc688e83ef SHA512 acd79ffeed03023ac5e33fd685942f5593d0f7bc488b1d53e6c502618b980d565b1f2bc479da4de869ad2e839e263ddbff2a8847ef39b822aab69b87d5cd01a8 |
31 |
DIST codeblocks-20.03-fortran-update-v1.7.tar.xz 12092 BLAKE2B df59ca9e00765f39f64d889ed22af61db8c2bb5f217dbda64d325327be8ef1ce318bc0b2538dd19ee911d84fccb6693f6e287f4d084e8243b34777f464ba5e61 SHA512 aec8062bbf0cd524b683ba9f2f6befec0bfb9f9b1f8ea61ffb679cf449f4ece20502f4fda101ab559151616fc7d7826e308a6468634502930f09ea3a8590c359 |
32 |
DIST codeblocks-20.03-fortran-update-v1.8.tar.xz 43672 BLAKE2B c30f64a7211debd72ee0274067f7443c71ce25e348bfb1474a6dbd1cb86b330537ceb56e96eebdd02f88a93dc0526fb7bced678be799bc8d2437c00f5effd1e8 SHA512 0651d1abb08bfd9eb42f9eca0b9b4c702180b31fac2c08240d2447940c9b21601c3baadc3933ac4080e49c834aaacad716375aa4a40c06d336f000e0d59f962a |
33 |
DIST codeblocks-20.03-fortran.tar.xz 15828 BLAKE2B 3ad1be0ecdc61759edcbb12065a0d8065e5c4571bfdd99bcf6ad8cbda82f64def8ad7121770fe780c1837d06d58edb0209d2ab3b966ecd133c5d46f79c0cbb4e SHA512 06a9a87e560914ae49895843321c26581409e9213265d20476c9c4a8ad2dd9ff63cffdb416e7494bd74ce4a11578f11ef387dd851b1394a50baade8491caaa17 |
34 |
DIST codeblocks-20.03.tar.xz 11799264 BLAKE2B cdaca38e26e0f1bf12e774cf737e0b6647f070d07f0ca5bec97926528a3511ecb8b3306fb6af473729384a5fe22d4870db8ca988895d619a1e7e2a1d9de2a41f SHA512 f97c1a02d31f0be4dc08b1f19b57bd0d3cba375ab5f33ab91b2a2df7817018f5b3e3063ed07199a3970644f1caa7c7e511db2034c73264f5f4963046d65b0097 |
35 |
-DIST codeblocks_17.12.tar.xz 15725976 BLAKE2B 871427b5d8a2296e04d640c35d9129deebf1bb35cd1573652099c02ad4495c4c1369ed382ba714848d6bd75304195a25f6a91bece398bedaffbee8ae3547c46b SHA512 f90e756ca6f532656eeed34c6259c6a96ae85d172fc11e39f696ded9189cab7171d0cead18524fbab50dd782f21adbc7d52e2ea90535a3ed0aef5946b8a476e1 |
36 |
|
37 |
diff --git a/dev-util/codeblocks/codeblocks-17.12-r303.ebuild b/dev-util/codeblocks/codeblocks-17.12-r303.ebuild |
38 |
deleted file mode 100644 |
39 |
index 6c32f926facd..000000000000 |
40 |
--- a/dev-util/codeblocks/codeblocks-17.12-r303.ebuild |
41 |
+++ /dev/null |
42 |
@@ -1,86 +0,0 @@ |
43 |
-# Copyright 1999-2020 Gentoo Authors |
44 |
-# Distributed under the terms of the GNU General Public License v2 |
45 |
- |
46 |
-EAPI=7 |
47 |
- |
48 |
-WX_GTK_VER="3.0-gtk3" |
49 |
- |
50 |
-inherit autotools wxwidgets xdg-utils |
51 |
- |
52 |
-DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE" |
53 |
-HOMEPAGE="https://codeblocks.org/" |
54 |
-LICENSE="GPL-3" |
55 |
-SLOT="0" |
56 |
-KEYWORDS="amd64 ~ppc x86" |
57 |
-SRC_URI="mirror://sourceforge/${PN}/${P/-/_}.tar.xz |
58 |
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran.tar.xz |
59 |
-https://dev.gentoo.org/~leio/distfiles/${P}_update_astyle_plugin_to_v3.1.patch.xz" |
60 |
- |
61 |
-# USE="fortran" enables FortranProject plugin (v1.5) |
62 |
-# that is delivered with Code::Blocks 17.12 source code. |
63 |
-# https://sourceforge.net/projects/fortranproject |
64 |
-# http://cbfortran.sourceforge.net |
65 |
- |
66 |
-IUSE="contrib debug fortran pch" |
67 |
- |
68 |
-BDEPEND="virtual/pkgconfig" |
69 |
- |
70 |
-RDEPEND="app-arch/zip |
71 |
- >=dev-libs/tinyxml-2.6.2-r3 |
72 |
- >=dev-util/astyle-3.0.1-r1:0= |
73 |
- x11-libs/wxGTK:${WX_GTK_VER}[X] |
74 |
- contrib? ( |
75 |
- app-admin/gamin |
76 |
- app-text/hunspell |
77 |
- dev-libs/boost:= |
78 |
- )" |
79 |
- |
80 |
-DEPEND="${RDEPEND}" |
81 |
- |
82 |
-PATCHES=( |
83 |
- "${FILESDIR}"/${P}-fix-crash-on-copypaste.patch |
84 |
- "${FILESDIR}"/${P}-nodebug.diff |
85 |
- "${WORKDIR}"/patches/ |
86 |
- ) |
87 |
- |
88 |
-src_prepare() { |
89 |
- default |
90 |
- if has_version ">=dev-util/astyle-3.1" ; then |
91 |
- eapply "${WORKDIR}"/codeblocks-17.12_update_astyle_plugin_to_v3.1.patch |
92 |
- fi |
93 |
- sed -i "s:appdatadir = \$(datarootdir)/appdata:appdatadir = \$(datarootdir)/metainfo:" Makefile.am || die # bug 709450 |
94 |
- sed -i "s:appdatadir = \$(datarootdir)/appdata:appdatadir = \$(datarootdir)/metainfo:" src/plugins/contrib/appdata/Makefile.am || die # bug 709450 |
95 |
- eautoreconf |
96 |
-} |
97 |
- |
98 |
-src_configure() { |
99 |
- setup-wxwidgets |
100 |
- |
101 |
- # USE="contrib -fortran" setup: |
102 |
- use fortran || CONF_WITH_LST=$(use_with contrib contrib-plugins all,-FortranProject) |
103 |
- # USE="contrib fortran" setup: |
104 |
- use fortran && CONF_WITH_LST=$(use_with contrib contrib-plugins all) |
105 |
- # USE="-contrib fortran" setup: |
106 |
- use contrib || CONF_WITH_LST=$(use_with fortran contrib-plugins FortranProject) |
107 |
- |
108 |
- econf \ |
109 |
- --disable-static \ |
110 |
- $(use_enable debug) \ |
111 |
- $(use_enable pch) \ |
112 |
- ${CONF_WITH_LST} |
113 |
-} |
114 |
- |
115 |
-pkg_postinst() { |
116 |
- elog "The Symbols Browser is disabled due to it causing crashes." |
117 |
- elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/" |
118 |
- |
119 |
- xdg_desktop_database_update |
120 |
- xdg_icon_cache_update |
121 |
- xdg_mimeinfo_database_update |
122 |
-} |
123 |
- |
124 |
-pkg_postrm() { |
125 |
- xdg_desktop_database_update |
126 |
- xdg_icon_cache_update |
127 |
- xdg_mimeinfo_database_update |
128 |
-} |
129 |
|
130 |
diff --git a/dev-util/codeblocks/codeblocks-17.12-r304.ebuild b/dev-util/codeblocks/codeblocks-17.12-r304.ebuild |
131 |
deleted file mode 100644 |
132 |
index 88841742c92f..000000000000 |
133 |
--- a/dev-util/codeblocks/codeblocks-17.12-r304.ebuild |
134 |
+++ /dev/null |
135 |
@@ -1,83 +0,0 @@ |
136 |
-# Copyright 1999-2020 Gentoo Authors |
137 |
-# Distributed under the terms of the GNU General Public License v2 |
138 |
- |
139 |
-EAPI=7 |
140 |
- |
141 |
-WX_GTK_VER="3.0-gtk3" |
142 |
- |
143 |
-inherit autotools wxwidgets xdg |
144 |
- |
145 |
-DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE" |
146 |
-HOMEPAGE="https://codeblocks.org/" |
147 |
-LICENSE="GPL-3" |
148 |
-SLOT="0" |
149 |
-KEYWORDS="~amd64 ~ppc ~x86" |
150 |
-SRC_URI="mirror://sourceforge/${PN}/${P/-/_}.tar.xz |
151 |
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran.tar.xz |
152 |
-https://dev.gentoo.org/~leio/distfiles/${P}_update_astyle_plugin_to_v3.1.patch.xz" |
153 |
- |
154 |
-# USE="fortran" enables FortranProject plugin (v1.5) |
155 |
-# that is delivered with Code::Blocks 17.12 source code. |
156 |
-# https://sourceforge.net/projects/fortranproject |
157 |
-# https://cbfortran.sourceforge.io |
158 |
- |
159 |
-IUSE="contrib debug fortran pch" |
160 |
- |
161 |
-BDEPEND="virtual/pkgconfig" |
162 |
- |
163 |
-RDEPEND="app-arch/zip |
164 |
- >=dev-libs/tinyxml-2.6.2-r3 |
165 |
- >=dev-util/astyle-3.0.1-r1:0= |
166 |
- x11-libs/wxGTK:${WX_GTK_VER}[X] |
167 |
- contrib? ( |
168 |
- app-admin/gamin |
169 |
- app-text/hunspell |
170 |
- dev-libs/boost:= |
171 |
- )" |
172 |
- |
173 |
-DEPEND="${RDEPEND}" |
174 |
- |
175 |
-PATCHES=( |
176 |
- "${FILESDIR}"/${P}-fix-crash-on-copypaste.patch |
177 |
- "${FILESDIR}"/${P}-nodebug.diff |
178 |
- "${FILESDIR}"/${PN}-20.03_gcc11_compatibility.patch |
179 |
- "${WORKDIR}"/patches/ |
180 |
- ) |
181 |
- |
182 |
-src_prepare() { |
183 |
- default |
184 |
- if has_version ">=dev-util/astyle-3.1" ; then |
185 |
- eapply "${WORKDIR}"/codeblocks-17.12_update_astyle_plugin_to_v3.1.patch |
186 |
- fi |
187 |
- sed -i "s:appdatadir = \$(datarootdir)/appdata:appdatadir = \$(datarootdir)/metainfo:" Makefile.am || die # bug 709450 |
188 |
- sed -i "s:appdatadir = \$(datarootdir)/appdata:appdatadir = \$(datarootdir)/metainfo:" src/plugins/contrib/appdata/Makefile.am || die # bug 709450 |
189 |
- eautoreconf |
190 |
-} |
191 |
- |
192 |
-src_configure() { |
193 |
- setup-wxwidgets |
194 |
- |
195 |
- # USE="contrib -fortran" setup: |
196 |
- use fortran || CONF_WITH_LST=$(use_with contrib contrib-plugins all,-FortranProject) |
197 |
- # USE="contrib fortran" setup: |
198 |
- use fortran && CONF_WITH_LST=$(use_with contrib contrib-plugins all) |
199 |
- # USE="-contrib fortran" setup: |
200 |
- use contrib || CONF_WITH_LST=$(use_with fortran contrib-plugins FortranProject) |
201 |
- |
202 |
- econf \ |
203 |
- --disable-static \ |
204 |
- $(use_enable debug) \ |
205 |
- $(use_enable pch) \ |
206 |
- ${CONF_WITH_LST} |
207 |
-} |
208 |
- |
209 |
-pkg_postinst() { |
210 |
- elog "The Symbols Browser is disabled due to it causing crashes." |
211 |
- elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/" |
212 |
- |
213 |
- xdg_pkg_postinst |
214 |
-} |
215 |
- |
216 |
-pkg_postrm() { |
217 |
- xdg_pkg_postrm |
218 |
-} |
219 |
|
220 |
diff --git a/dev-util/codeblocks/codeblocks-20.03-r1.ebuild b/dev-util/codeblocks/codeblocks-20.03-r1.ebuild |
221 |
deleted file mode 100644 |
222 |
index 37605d50b649..000000000000 |
223 |
--- a/dev-util/codeblocks/codeblocks-20.03-r1.ebuild |
224 |
+++ /dev/null |
225 |
@@ -1,76 +0,0 @@ |
226 |
-# Copyright 1999-2020 Gentoo Authors |
227 |
-# Distributed under the terms of the GNU General Public License v2 |
228 |
- |
229 |
-EAPI=7 |
230 |
- |
231 |
-WX_GTK_VER="3.0-gtk3" |
232 |
- |
233 |
-inherit autotools wxwidgets xdg |
234 |
- |
235 |
-DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE" |
236 |
-HOMEPAGE="https://codeblocks.org/" |
237 |
-LICENSE="GPL-3" |
238 |
-SLOT="0" |
239 |
-KEYWORDS="~amd64 ~ppc ~x86" |
240 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz |
241 |
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran.tar.xz |
242 |
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran-update-v1.7.tar.xz" |
243 |
- |
244 |
-# USE="fortran" enables FortranProject plugin (updated to v1.7 2020-06-07 [r298]) |
245 |
-# that is delivered with Code::Blocks 20.03 source code. |
246 |
-# https://sourceforge.net/projects/fortranproject |
247 |
-# http://cbfortran.sourceforge.net |
248 |
- |
249 |
-IUSE="contrib debug fortran pch" |
250 |
- |
251 |
-BDEPEND="virtual/pkgconfig" |
252 |
- |
253 |
-RDEPEND="app-arch/zip |
254 |
- >=dev-libs/tinyxml-2.6.2-r3 |
255 |
- >=dev-util/astyle-3.1-r2:0/3.1 |
256 |
- x11-libs/wxGTK:${WX_GTK_VER}[X] |
257 |
- contrib? ( |
258 |
- app-admin/gamin |
259 |
- app-text/hunspell |
260 |
- dev-libs/boost:= |
261 |
- )" |
262 |
- |
263 |
-DEPEND="${RDEPEND}" |
264 |
- |
265 |
-PATCHES=( |
266 |
- "${FILESDIR}"/${P}-env.patch |
267 |
- "${WORKDIR}"/patches/ |
268 |
- ) |
269 |
- |
270 |
-src_prepare() { |
271 |
- default |
272 |
- eautoreconf |
273 |
-} |
274 |
- |
275 |
-src_configure() { |
276 |
- setup-wxwidgets |
277 |
- |
278 |
- # USE="contrib -fortran" setup: |
279 |
- use fortran || CONF_WITH_LST=$(use_with contrib contrib-plugins all,-FortranProject) |
280 |
- # USE="contrib fortran" setup: |
281 |
- use fortran && CONF_WITH_LST=$(use_with contrib contrib-plugins all) |
282 |
- # USE="-contrib fortran" setup: |
283 |
- use contrib || CONF_WITH_LST=$(use_with fortran contrib-plugins FortranProject) |
284 |
- |
285 |
- econf \ |
286 |
- --disable-static \ |
287 |
- $(use_enable debug) \ |
288 |
- $(use_enable pch) \ |
289 |
- ${CONF_WITH_LST} |
290 |
-} |
291 |
- |
292 |
-pkg_postinst() { |
293 |
- elog "The Symbols Browser is disabled due to it causing crashes." |
294 |
- elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/" |
295 |
- |
296 |
- xdg_pkg_postinst |
297 |
-} |
298 |
- |
299 |
-pkg_postrm() { |
300 |
- xdg_pkg_postrm |
301 |
-} |
302 |
|
303 |
diff --git a/dev-util/codeblocks/codeblocks-20.03-r2.ebuild b/dev-util/codeblocks/codeblocks-20.03-r2.ebuild |
304 |
deleted file mode 100644 |
305 |
index 9e4061b5925f..000000000000 |
306 |
--- a/dev-util/codeblocks/codeblocks-20.03-r2.ebuild |
307 |
+++ /dev/null |
308 |
@@ -1,77 +0,0 @@ |
309 |
-# Copyright 1999-2021 Gentoo Authors |
310 |
-# Distributed under the terms of the GNU General Public License v2 |
311 |
- |
312 |
-EAPI=7 |
313 |
- |
314 |
-WX_GTK_VER="3.0-gtk3" |
315 |
- |
316 |
-inherit autotools wxwidgets xdg |
317 |
- |
318 |
-DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE" |
319 |
-HOMEPAGE="https://codeblocks.org/" |
320 |
-LICENSE="GPL-3" |
321 |
-SLOT="0" |
322 |
-KEYWORDS="amd64 ~ppc x86" |
323 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz |
324 |
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran.tar.xz |
325 |
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran-update-v1.7.tar.xz" |
326 |
- |
327 |
-# USE="fortran" enables FortranProject plugin (updated to v1.7 2020-06-07 [r298]) |
328 |
-# that is delivered with Code::Blocks 20.03 source code. |
329 |
-# https://sourceforge.net/projects/fortranproject |
330 |
-# https://cbfortran.sourceforge.io |
331 |
- |
332 |
-IUSE="contrib debug fortran pch" |
333 |
- |
334 |
-BDEPEND="virtual/pkgconfig" |
335 |
- |
336 |
-RDEPEND="app-arch/zip |
337 |
- >=dev-libs/tinyxml-2.6.2-r3 |
338 |
- >=dev-util/astyle-3.1-r2:0/3.1 |
339 |
- x11-libs/wxGTK:${WX_GTK_VER}[X] |
340 |
- contrib? ( |
341 |
- app-admin/gamin |
342 |
- app-text/hunspell |
343 |
- dev-libs/boost:= |
344 |
- )" |
345 |
- |
346 |
-DEPEND="${RDEPEND}" |
347 |
- |
348 |
-PATCHES=( |
349 |
- "${FILESDIR}"/${P}-env.patch |
350 |
- "${FILESDIR}"/${P}_gcc11_compatibility.patch |
351 |
- "${WORKDIR}"/patches/ |
352 |
- ) |
353 |
- |
354 |
-src_prepare() { |
355 |
- default |
356 |
- eautoreconf |
357 |
-} |
358 |
- |
359 |
-src_configure() { |
360 |
- setup-wxwidgets |
361 |
- |
362 |
- # USE="contrib -fortran" setup: |
363 |
- use fortran || CONF_WITH_LST=$(use_with contrib contrib-plugins all,-FortranProject) |
364 |
- # USE="contrib fortran" setup: |
365 |
- use fortran && CONF_WITH_LST=$(use_with contrib contrib-plugins all) |
366 |
- # USE="-contrib fortran" setup: |
367 |
- use contrib || CONF_WITH_LST=$(use_with fortran contrib-plugins FortranProject) |
368 |
- |
369 |
- econf \ |
370 |
- --disable-static \ |
371 |
- $(use_enable debug) \ |
372 |
- $(use_enable pch) \ |
373 |
- ${CONF_WITH_LST} |
374 |
-} |
375 |
- |
376 |
-pkg_postinst() { |
377 |
- elog "The Symbols Browser is disabled due to it causing crashes." |
378 |
- elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/" |
379 |
- |
380 |
- xdg_pkg_postinst |
381 |
-} |
382 |
- |
383 |
-pkg_postrm() { |
384 |
- xdg_pkg_postrm |
385 |
-} |
386 |
|
387 |
diff --git a/dev-util/codeblocks/codeblocks-20.03-r3.ebuild b/dev-util/codeblocks/codeblocks-20.03-r3.ebuild |
388 |
deleted file mode 100644 |
389 |
index cfdd776089d2..000000000000 |
390 |
--- a/dev-util/codeblocks/codeblocks-20.03-r3.ebuild |
391 |
+++ /dev/null |
392 |
@@ -1,76 +0,0 @@ |
393 |
-# Copyright 1999-2021 Gentoo Authors |
394 |
-# Distributed under the terms of the GNU General Public License v2 |
395 |
- |
396 |
-EAPI=7 |
397 |
- |
398 |
-WX_GTK_VER="3.0-gtk3" |
399 |
- |
400 |
-inherit autotools wxwidgets xdg |
401 |
- |
402 |
-DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE" |
403 |
-HOMEPAGE="https://codeblocks.org/" |
404 |
-LICENSE="GPL-3" |
405 |
-SLOT="0" |
406 |
-KEYWORDS="~amd64 ~ppc ~x86" |
407 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz |
408 |
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran.tar.xz |
409 |
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran-update-v1.7.tar.xz |
410 |
-https://dev.gentoo.org/~leio/distfiles/${P}-fortran-update-v1.8.tar.xz |
411 |
-https://dev.gentoo.org/~leio/distfiles/${P}-codecompletion-symbolbrowser-update.tar.xz |
412 |
-" |
413 |
- |
414 |
-# USE="fortran" enables FortranProject plugin (updated to v1.8 2021-05-29 [r230]) |
415 |
-# that is delivered with Code::Blocks 20.03 source code. |
416 |
-# https://sourceforge.net/projects/fortranproject |
417 |
-# https://cbfortran.sourceforge.io |
418 |
- |
419 |
-IUSE="contrib debug fortran pch" |
420 |
- |
421 |
-BDEPEND="virtual/pkgconfig" |
422 |
- |
423 |
-RDEPEND="app-arch/zip |
424 |
- >=dev-libs/tinyxml-2.6.2-r3 |
425 |
- >=dev-util/astyle-3.1-r2:0/3.1 |
426 |
- x11-libs/wxGTK:${WX_GTK_VER}[X] |
427 |
- contrib? ( |
428 |
- app-admin/gamin |
429 |
- app-text/hunspell |
430 |
- dev-libs/boost:= |
431 |
- )" |
432 |
- |
433 |
-DEPEND="${RDEPEND}" |
434 |
- |
435 |
-PATCHES=( |
436 |
- "${FILESDIR}"/${P}-env.patch |
437 |
- "${WORKDIR}"/patches/ |
438 |
- ) |
439 |
- |
440 |
-src_prepare() { |
441 |
- default |
442 |
- eautoreconf |
443 |
-} |
444 |
- |
445 |
-src_configure() { |
446 |
- setup-wxwidgets |
447 |
- |
448 |
- # USE="contrib -fortran" setup: |
449 |
- use fortran || CONF_WITH_LST=$(use_with contrib contrib-plugins all,-FortranProject) |
450 |
- # USE="contrib fortran" setup: |
451 |
- use fortran && CONF_WITH_LST=$(use_with contrib contrib-plugins all) |
452 |
- # USE="-contrib fortran" setup: |
453 |
- use contrib || CONF_WITH_LST=$(use_with fortran contrib-plugins FortranProject) |
454 |
- |
455 |
- econf \ |
456 |
- --disable-static \ |
457 |
- $(use_enable debug) \ |
458 |
- $(use_enable pch) \ |
459 |
- ${CONF_WITH_LST} |
460 |
-} |
461 |
- |
462 |
-pkg_postinst() { |
463 |
- xdg_pkg_postinst |
464 |
-} |
465 |
- |
466 |
-pkg_postrm() { |
467 |
- xdg_pkg_postrm |
468 |
-} |
469 |
|
470 |
diff --git a/dev-util/codeblocks/files/codeblocks-17.12-fix-crash-on-copypaste.patch b/dev-util/codeblocks/files/codeblocks-17.12-fix-crash-on-copypaste.patch |
471 |
deleted file mode 100644 |
472 |
index 9918c58d8e88..000000000000 |
473 |
--- a/dev-util/codeblocks/files/codeblocks-17.12-fix-crash-on-copypaste.patch |
474 |
+++ /dev/null |
475 |
@@ -1,20 +0,0 @@ |
476 |
-# Fix crashing on paste of copied text from other applications |
477 |
-# https://sourceforge.net/p/codeblocks/tickets/629/ |
478 |
-diff -Nuar a/main.cpp b/main.cpp |
479 |
---- a/src/src/main.cpp 2017-11-01 02:32:38.000000000 +0300 |
480 |
-+++ b/src/src/main.cpp 2020-03-13 21:59:25.000000000 +0300 |
481 |
-@@ -4321,7 +4321,13 @@ |
482 |
- } |
483 |
- |
484 |
- if (Manager::Get()->GetEditorManager() && event.GetEditor() == Manager::Get()->GetEditorManager()->GetActiveEditor()) |
485 |
-- DoUpdateStatusBar(); |
486 |
-+ { |
487 |
-+ #if wxCHECK_VERSION(3, 0, 0) |
488 |
-+ CallAfter(&MainFrame::DoUpdateStatusBar); |
489 |
-+ #else |
490 |
-+ DoUpdateStatusBar(); |
491 |
-+ #endif // wxCHECK_VERSION(3, 0, 0) |
492 |
-+ } |
493 |
- |
494 |
- event.Skip(); |
495 |
- } |
496 |
|
497 |
diff --git a/dev-util/codeblocks/files/codeblocks-20.03_gcc11_compatibility.patch b/dev-util/codeblocks/files/codeblocks-20.03_gcc11_compatibility.patch |
498 |
deleted file mode 100644 |
499 |
index 46c8643e9c94..000000000000 |
500 |
--- a/dev-util/codeblocks/files/codeblocks-20.03_gcc11_compatibility.patch |
501 |
+++ /dev/null |
502 |
@@ -1,12 +0,0 @@ |
503 |
-diff -Naur a/src/plugins/openfileslist/openfileslistplugin.h b/src/plugins/openfileslist/openfileslistplugin.h |
504 |
---- a/src/plugins/openfileslist/openfileslistplugin.h 2020-10-13 20:35:57.000000000 +0300 |
505 |
-+++ b/src/plugins/openfileslist/openfileslistplugin.h 2020-10-13 20:37:37.000000000 +0300 |
506 |
-@@ -23,7 +23,7 @@ |
507 |
- // Functor for the std::set predicate to sort the opened editor files according to their tab order |
508 |
- struct compareLess |
509 |
- { |
510 |
-- bool operator()(const ProjectFile* lhs, const ProjectFile* rhs) { return lhs->editorTabPos < rhs->editorTabPos; } |
511 |
-+ bool operator()(const ProjectFile* lhs, const ProjectFile* rhs) const { return lhs->editorTabPos < rhs->editorTabPos; } |
512 |
- }; |
513 |
- typedef std::set<ProjectFile*, compareLess> OpenFilesSet; |
514 |
- ProjectFile* activeFile; |