commit: 174a1c6156dc5d6502bd944900b745f7f80959d1 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> AuthorDate: Sun May 8 22:38:59 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri May 13 20:03:56 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=174a1c61
dev-util/codeblocks: update 9999.ebuild The USE-flag "pch" isn't droped this time due to https://sourceforge.net/p/codeblocks/tickets/1266/ Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/25393 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/codeblocks/codeblocks-9999.ebuild | 11 +++++------ ...blocks-17.12-nodebug.diff => codeblocks-9999-nodebug.diff} | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/dev-util/codeblocks/codeblocks-9999.ebuild b/dev-util/codeblocks/codeblocks-9999.ebuild index 580a1b03b545..3ce6e1a69d71 100644 --- a/dev-util/codeblocks/codeblocks-9999.ebuild +++ b/dev-util/codeblocks/codeblocks-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 WX_GTK_VER="3.0-gtk3" @@ -15,6 +15,7 @@ KEYWORDS="" SRC_URI="" ESVN_REPO_URI="svn://svn.code.sf.net/p/${PN}/code/trunk" ESVN_FETCH_CMD="svn checkout --ignore-externals" +ESVN_UPDATE_CMD="svn update --ignore-externals" IUSE="contrib debug pch" @@ -32,7 +33,7 @@ RDEPEND="app-arch/zip DEPEND="${RDEPEND}" -PATCHES=( "${FILESDIR}"/codeblocks-17.12-nodebug.diff ) +PATCHES=( "${FILESDIR}/${P}-nodebug.diff" ) src_prepare() { default @@ -49,15 +50,13 @@ src_configure() { econf \ --disable-static \ + $(use_with contrib boost-libdir "${ESYSROOT}/usr/$(get_libdir)") \ $(use_enable debug) \ $(use_enable pch) \ $(use_with contrib contrib-plugins all) } pkg_postinst() { - elog "The Symbols Browser is disabled due to it causing crashes." - elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/" - xdg_pkg_postinst } diff --git a/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff b/dev-util/codeblocks/files/codeblocks-9999-nodebug.diff similarity index 80% rename from dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff rename to dev-util/codeblocks/files/codeblocks-9999-nodebug.diff index 7cbb678dda6a..1187f53539fc 100644 --- a/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff +++ b/dev-util/codeblocks/files/codeblocks-9999-nodebug.diff @@ -1,7 +1,7 @@ # Remove adding of "-g" to CFLAGS and CXXFLAGS if "./configure --enable-debug" diff -Naur old/m4/acinclude.m4 new/m4/acinclude.m4 ---- old/m4/acinclude.m4 2017-11-01 02:32:37.000000000 +0300 -+++ new/m4/acinclude.m4 2018-05-04 11:08:33.000000000 +0300 +--- old/m4/acinclude.m4 ++++ new/m4/acinclude.m4 @@ -91,8 +91,6 @@ AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], [turn on debugging (default is OFF)])],, enable_debug=$debug_default)