Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/codeblocks/
Date: Sat, 07 Mar 2020 20:27:49
Message-Id: 1583612808.c759ced29f59962d2f9988445d32b7bec914c516.leio@gentoo
1 commit: c759ced29f59962d2f9988445d32b7bec914c516
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 7 20:26:48 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 7 20:26:48 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c759ced2
7
8 dev-util/codeblocks: remove old
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 dev-util/codeblocks/codeblocks-17.12-r300.ebuild | 80 ----------------------
14 dev-util/codeblocks/codeblocks-17.12-r301.ebuild | 84 ------------------------
15 2 files changed, 164 deletions(-)
16
17 diff --git a/dev-util/codeblocks/codeblocks-17.12-r300.ebuild b/dev-util/codeblocks/codeblocks-17.12-r300.ebuild
18 deleted file mode 100644
19 index 6ad8e09ea00..00000000000
20 --- a/dev-util/codeblocks/codeblocks-17.12-r300.ebuild
21 +++ /dev/null
22 @@ -1,80 +0,0 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=6
27 -
28 -WX_GTK_VER="3.0-gtk3"
29 -
30 -inherit autotools flag-o-matic gnome2-utils wxwidgets xdg-utils
31 -
32 -DESCRIPTION="The open source, cross platform, free C++ IDE"
33 -HOMEPAGE="http://www.codeblocks.org/"
34 -LICENSE="GPL-3"
35 -SLOT="0"
36 -KEYWORDS="~amd64 ~ppc ~x86"
37 -SRC_URI="mirror://sourceforge/${PN}/${P/-/_}.tar.xz https://dev.gentoo.org/~leio/distfiles/${P}-fortran.tar.xz"
38 -
39 -# USE="fortran" enables FortranProject plugin (v1.5)
40 -# that is delivered with Code::Blocks 17.12 source code.
41 -# https://sourceforge.net/projects/fortranproject
42 -# http://cbfortran.sourceforge.net
43 -
44 -IUSE="contrib debug fortran pch"
45 -
46 -RDEPEND="app-arch/zip
47 - x11-libs/wxGTK:${WX_GTK_VER}[X]
48 - contrib? (
49 - app-text/hunspell
50 - dev-libs/boost:=
51 - dev-libs/libgamin
52 - )"
53 -
54 -DEPEND="${RDEPEND}
55 - virtual/pkgconfig"
56 -
57 -PATCHES=(
58 - "${FILESDIR}"/codeblocks-17.12-nodebug.diff
59 - "${WORKDIR}"/patches/
60 -)
61 -
62 -src_prepare() {
63 - default
64 - eautoreconf
65 -}
66 -
67 -src_configure() {
68 - setup-wxwidgets
69 -
70 - append-cxxflags $(test-flags-CXX -fno-delete-null-pointer-checks)
71 -
72 - # USE="contrib -fortran" setup:
73 - use fortran || CONF_WITH_LST=$(use_with contrib contrib-plugins all,-FortranProject)
74 - # USE="contrib fortran" setup:
75 - use fortran && CONF_WITH_LST=$(use_with contrib contrib-plugins all)
76 - # USE="-contrib fortran" setup:
77 - use contrib || CONF_WITH_LST=$(use_with fortran contrib-plugins FortranProject)
78 -
79 - econf \
80 - --with-wx-config="${WX_CONFIG}" \
81 - --disable-static \
82 - $(use_enable debug) \
83 - $(use_enable pch) \
84 - ${CONF_WITH_LST}
85 -}
86 -
87 -pkg_postinst() {
88 - if [[ ${WX_GTK_VER} == "3.0" || ${WX_GTK_VER} == "3.0-gtk3" ]]; then
89 - elog "The symbols browser is disabled due to it causing crashes."
90 - elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/"
91 - fi
92 -
93 - xdg_desktop_database_update
94 - xdg_mimeinfo_database_update
95 - gnome2_icon_cache_update
96 -}
97 -
98 -pkg_postrm() {
99 - xdg_desktop_database_update
100 - xdg_mimeinfo_database_update
101 - gnome2_icon_cache_update
102 -}
103
104 diff --git a/dev-util/codeblocks/codeblocks-17.12-r301.ebuild b/dev-util/codeblocks/codeblocks-17.12-r301.ebuild
105 deleted file mode 100644
106 index 93cfa9d4979..00000000000
107 --- a/dev-util/codeblocks/codeblocks-17.12-r301.ebuild
108 +++ /dev/null
109 @@ -1,84 +0,0 @@
110 -# Copyright 1999-2020 Gentoo Authors
111 -# Distributed under the terms of the GNU General Public License v2
112 -
113 -EAPI=6
114 -
115 -WX_GTK_VER="3.0-gtk3"
116 -
117 -inherit autotools gnome2-utils wxwidgets xdg-utils
118 -
119 -DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE"
120 -HOMEPAGE="http://www.codeblocks.org/"
121 -LICENSE="GPL-3"
122 -SLOT="0"
123 -KEYWORDS="amd64 ~ppc x86"
124 -SRC_URI="mirror://sourceforge/${PN}/${P/-/_}.tar.xz
125 -https://dev.gentoo.org/~leio/distfiles/${P}-fortran.tar.xz
126 -https://dev.gentoo.org/~leio/distfiles/${P}_update_astyle_plugin_to_v3.1.patch.xz"
127 -
128 -# USE="fortran" enables FortranProject plugin (v1.5)
129 -# that is delivered with Code::Blocks 17.12 source code.
130 -# https://sourceforge.net/projects/fortranproject
131 -# http://cbfortran.sourceforge.net
132 -
133 -IUSE="contrib debug fortran pch"
134 -
135 -RDEPEND="app-arch/zip
136 - x11-libs/wxGTK:${WX_GTK_VER}[X]
137 - contrib? (
138 - app-admin/gamin
139 - app-text/hunspell
140 - dev-libs/boost:=
141 - )"
142 -
143 -DEPEND="${RDEPEND}
144 - >=dev-libs/tinyxml-2.6.2-r3
145 - >=dev-util/astyle-3.0.1-r1:0=
146 - virtual/pkgconfig"
147 -
148 -PATCHES=(
149 - "${FILESDIR}"/codeblocks-17.12-nodebug.diff
150 - "${WORKDIR}"/patches/
151 - )
152 -
153 -src_prepare() {
154 - default
155 - if has_version ">=dev-util/astyle-3.1" ; then
156 - epatch "${WORKDIR}"/codeblocks-17.12_update_astyle_plugin_to_v3.1.patch
157 - fi
158 - eautoreconf
159 -}
160 -
161 -src_configure() {
162 - setup-wxwidgets
163 -
164 - # USE="contrib -fortran" setup:
165 - use fortran || CONF_WITH_LST=$(use_with contrib contrib-plugins all,-FortranProject)
166 - # USE="contrib fortran" setup:
167 - use fortran && CONF_WITH_LST=$(use_with contrib contrib-plugins all)
168 - # USE="-contrib fortran" setup:
169 - use contrib || CONF_WITH_LST=$(use_with fortran contrib-plugins FortranProject)
170 -
171 - econf \
172 - --disable-static \
173 - $(use_enable debug) \
174 - $(use_enable pch) \
175 - ${CONF_WITH_LST}
176 -}
177 -
178 -pkg_postinst() {
179 - if [[ ${WX_GTK_VER} == "3.0" || ${WX_GTK_VER} == "3.0-gtk3" ]]; then
180 - elog "The symbols browser is disabled due to it causing crashes."
181 - elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/"
182 - fi
183 -
184 - xdg_desktop_database_update
185 - xdg_mimeinfo_database_update
186 - gnome2_icon_cache_update
187 -}
188 -
189 -pkg_postrm() {
190 - xdg_desktop_database_update
191 - xdg_mimeinfo_database_update
192 - gnome2_icon_cache_update
193 -}