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