public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mart Raudsepp" <leio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/codeblocks/
Date: Sat, 14 Jul 2018 19:33:22 +0000 (UTC)	[thread overview]
Message-ID: <1531596732.4103b7a5e8370a790cf542208b1f2429845eafc0.leio@gentoo> (raw)

commit:     4103b7a5e8370a790cf542208b1f2429845eafc0
Author:     band-a-prend <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Tue May 29 23:07:09 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Jul 14 19:32:12 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4103b7a5

dev-util/codeblocks: update codeblocks-9999.ebuild

Add updated codeblocks-9999.ebuild that is synced with codeblocks-17.12-r1.ebuild
(has updated dependencies) and allow to build Codeblocks from svn trunk.

The USE-flag 'fortran' removed in this ebuild-file as FortranProject plugin sources
downloads from external svn repo and could requires from time to time changes
of the autotools script patch to build successfully.

 dev-util/codeblocks/codeblocks-9999.ebuild | 44 ++++++++++++++++++------------
 1 file changed, 27 insertions(+), 17 deletions(-)

diff --git a/dev-util/codeblocks/codeblocks-9999.ebuild b/dev-util/codeblocks/codeblocks-9999.ebuild
index 9296cc13443..1763fdfc078 100644
--- a/dev-util/codeblocks/codeblocks-9999.ebuild
+++ b/dev-util/codeblocks/codeblocks-9999.ebuild
@@ -1,12 +1,13 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=6
+
 WX_GTK_VER="3.0"
 
-inherit autotools eutils subversion wxwidgets
+inherit autotools gnome2-utils subversion wxwidgets xdg-utils
 
-DESCRIPTION="The open source, cross platform, free C++ IDE"
+DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE"
 HOMEPAGE="http://www.codeblocks.org/"
 LICENSE="GPL-3"
 SLOT="0"
@@ -14,23 +15,25 @@ KEYWORDS=""
 SRC_URI=""
 ESVN_REPO_URI="svn://svn.code.sf.net/p/${PN}/code/trunk"
 
-IUSE="contrib debug pch static-libs"
+IUSE="contrib debug pch"
 
 RDEPEND="app-arch/zip
 	x11-libs/wxGTK:${WX_GTK_VER}[X]
 	contrib? (
+		app-admin/gamin
 		app-text/hunspell
 		dev-libs/boost:=
-		dev-libs/libgamin
 	)"
+
 DEPEND="${RDEPEND}
+	>=dev-libs/tinyxml-2.6.2-r3
+	>=dev-util/astyle-3.1-r2:0/3.1
 	virtual/pkgconfig"
 
-src_unpack() {
-	subversion_src_unpack
-}
+PATCHES=( "${FILESDIR}"/codeblocks-17.12-nodebug.diff )
 
 src_prepare() {
+	default
 	# Let's make the autorevision work.
 	subversion_wc_info
 	CB_LCD=$(LC_ALL=C svn info "${ESVN_WC_PATH}" | grep "^Last Changed Date:" | cut -d" " -f4,5)
@@ -40,21 +43,28 @@ src_prepare() {
 }
 
 src_configure() {
-	need-wxwidgets unicode
+	setup-wxwidgets
+
 	econf \
-		--with-wx-config="${WX_CONFIG}" \
+		--disable-static \
 		$(use_enable debug) \
 		$(use_enable pch) \
-		$(use_enable static-libs static) \
 		$(use_with contrib contrib-plugins all)
 }
 
-src_compile() {
-	emake clean-zipfiles
-	emake
+pkg_postinst() {
+	if [[ ${WX_GTK_VER} == "3.0" || ${WX_GTK_VER} == "3.0-gtk3" ]]; then
+		elog "The symbols browser is disabled due to it causing crashes."
+		elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/"
+	fi
+
+	xdg_desktop_database_update
+	xdg_mimeinfo_database_update
+	gnome2_icon_cache_update
 }
 
-src_install() {
-	default
-	prune_libtool_files
+pkg_postrm() {
+	xdg_desktop_database_update
+	xdg_mimeinfo_database_update
+	gnome2_icon_cache_update
 }


             reply	other threads:[~2018-07-14 19:33 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-14 19:33 Mart Raudsepp [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-26 12:45 [gentoo-commits] repo/gentoo:master commit in: dev-util/codeblocks/ Petr Vaněk
2025-01-26 12:45 Petr Vaněk
2024-12-10 14:37 Arthur Zamarin
2024-12-10  4:54 Sam James
2024-09-15 12:25 Pacho Ramos
2024-09-15 12:25 Pacho Ramos
2024-09-15 12:25 Pacho Ramos
2024-06-08 12:30 Joonas Niilola
2024-05-16 15:06 Arthur Zamarin
2024-05-10 13:40 Joonas Niilola
2024-05-10 13:40 Joonas Niilola
2024-04-27 22:11 Sam James
2023-06-09 11:06 Viorel Munteanu
2023-05-04  4:24 Arthur Zamarin
2023-05-04  4:24 Arthur Zamarin
2023-04-14  1:06 Sam James
2023-02-10  8:57 Joonas Niilola
2023-02-10  8:57 Joonas Niilola
2022-11-25  5:41 Sam James
2022-11-25  5:41 Sam James
2022-11-25  5:41 Sam James
2021-12-06 11:31 Agostino Sarubbo
2021-12-06  8:01 Agostino Sarubbo
2021-11-02 11:00 Sam James
2021-10-12 21:14 Sam James
2021-10-12 21:14 Sam James
2021-03-17  2:19 Sam James
2021-03-12 15:25 Sam James
2020-10-14 18:35 Sergei Trofimovich
2020-07-17  7:44 Agostino Sarubbo
2020-07-17  7:21 Agostino Sarubbo
2020-07-06  7:27 Mart Raudsepp
2020-04-08  6:35 Mart Raudsepp
2020-03-07 20:27 Mart Raudsepp
2020-03-07 20:27 Mart Raudsepp
2020-03-06 12:32 Agostino Sarubbo
2020-03-06 11:35 Agostino Sarubbo
2020-01-20 10:10 Mart Raudsepp
2020-01-20 10:10 Mart Raudsepp
2020-01-20 10:10 Mart Raudsepp
2020-01-09 12:47 Agostino Sarubbo
2018-07-14 19:33 Mart Raudsepp
2018-07-14 19:33 Mart Raudsepp
2018-07-14 19:33 Mart Raudsepp
2018-07-14 19:33 Mart Raudsepp
2018-07-14 19:33 Mart Raudsepp
2018-07-14 19:33 Mart Raudsepp
2018-05-28 18:24 Pacho Ramos
2018-05-05 20:10 Mart Raudsepp
2018-05-05 20:10 Mart Raudsepp
2018-05-05 20:10 Mart Raudsepp
2018-05-05 20:10 Mart Raudsepp
2017-07-30 16:04 David Seifert
2016-11-25 18:57 Pacho Ramos
2016-06-24  5:49 Ryan Hill
2016-02-27  2:47 Ryan Hill
2015-10-25 11:09 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1531596732.4103b7a5e8370a790cf542208b1f2429845eafc0.leio@gentoo \
    --to=leio@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox