1 |
commit: 174a1c6156dc5d6502bd944900b745f7f80959d1 |
2 |
Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> |
3 |
AuthorDate: Sun May 8 22:38:59 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 13 20:03:56 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=174a1c61 |
7 |
|
8 |
dev-util/codeblocks: update 9999.ebuild |
9 |
|
10 |
The USE-flag "pch" isn't droped this time due to |
11 |
https://sourceforge.net/p/codeblocks/tickets/1266/ |
12 |
|
13 |
Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/25393 |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
dev-util/codeblocks/codeblocks-9999.ebuild | 11 +++++------ |
18 |
...blocks-17.12-nodebug.diff => codeblocks-9999-nodebug.diff} | 4 ++-- |
19 |
2 files changed, 7 insertions(+), 8 deletions(-) |
20 |
|
21 |
diff --git a/dev-util/codeblocks/codeblocks-9999.ebuild b/dev-util/codeblocks/codeblocks-9999.ebuild |
22 |
index 580a1b03b545..3ce6e1a69d71 100644 |
23 |
--- a/dev-util/codeblocks/codeblocks-9999.ebuild |
24 |
+++ b/dev-util/codeblocks/codeblocks-9999.ebuild |
25 |
@@ -1,7 +1,7 @@ |
26 |
-# Copyright 1999-2020 Gentoo Authors |
27 |
+# Copyright 1999-2022 Gentoo Authors |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
|
30 |
-EAPI=7 |
31 |
+EAPI=8 |
32 |
|
33 |
WX_GTK_VER="3.0-gtk3" |
34 |
|
35 |
@@ -15,6 +15,7 @@ KEYWORDS="" |
36 |
SRC_URI="" |
37 |
ESVN_REPO_URI="svn://svn.code.sf.net/p/${PN}/code/trunk" |
38 |
ESVN_FETCH_CMD="svn checkout --ignore-externals" |
39 |
+ESVN_UPDATE_CMD="svn update --ignore-externals" |
40 |
|
41 |
IUSE="contrib debug pch" |
42 |
|
43 |
@@ -32,7 +33,7 @@ RDEPEND="app-arch/zip |
44 |
|
45 |
DEPEND="${RDEPEND}" |
46 |
|
47 |
-PATCHES=( "${FILESDIR}"/codeblocks-17.12-nodebug.diff ) |
48 |
+PATCHES=( "${FILESDIR}/${P}-nodebug.diff" ) |
49 |
|
50 |
src_prepare() { |
51 |
default |
52 |
@@ -49,15 +50,13 @@ src_configure() { |
53 |
|
54 |
econf \ |
55 |
--disable-static \ |
56 |
+ $(use_with contrib boost-libdir "${ESYSROOT}/usr/$(get_libdir)") \ |
57 |
$(use_enable debug) \ |
58 |
$(use_enable pch) \ |
59 |
$(use_with contrib contrib-plugins all) |
60 |
} |
61 |
|
62 |
pkg_postinst() { |
63 |
- elog "The Symbols Browser is disabled due to it causing crashes." |
64 |
- elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/" |
65 |
- |
66 |
xdg_pkg_postinst |
67 |
} |
68 |
|
69 |
|
70 |
diff --git a/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff b/dev-util/codeblocks/files/codeblocks-9999-nodebug.diff |
71 |
similarity index 80% |
72 |
rename from dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff |
73 |
rename to dev-util/codeblocks/files/codeblocks-9999-nodebug.diff |
74 |
index 7cbb678dda6a..1187f53539fc 100644 |
75 |
--- a/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff |
76 |
+++ b/dev-util/codeblocks/files/codeblocks-9999-nodebug.diff |
77 |
@@ -1,7 +1,7 @@ |
78 |
# Remove adding of "-g" to CFLAGS and CXXFLAGS if "./configure --enable-debug" |
79 |
diff -Naur old/m4/acinclude.m4 new/m4/acinclude.m4 |
80 |
---- old/m4/acinclude.m4 2017-11-01 02:32:37.000000000 +0300 |
81 |
-+++ new/m4/acinclude.m4 2018-05-04 11:08:33.000000000 +0300 |
82 |
+--- old/m4/acinclude.m4 |
83 |
++++ new/m4/acinclude.m4 |
84 |
@@ -91,8 +91,6 @@ |
85 |
AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], [turn on debugging (default is OFF)])],, |
86 |
enable_debug=$debug_default) |