Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/clion/
Date: Fri, 24 Dec 2021 04:47:45
Message-Id: 1640321191.ec5d94b07511c3e2a0a548e1bb355ce6f627f77e.sam@gentoo
1 commit: ec5d94b07511c3e2a0a548e1bb355ce6f627f77e
2 Author: Christian Strahl <c.a.strahl <AT> gmail <DOT> com>
3 AuthorDate: Wed Dec 15 12:06:00 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 24 04:46:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec5d94b0
7
8 dev-util/clion: remove old versions
9
10 Package-Manager: Portage-3.0.28-r1, Repoman-3.0.3-r1
11 Signed-off-by: Christian Strahl <c.a.strahl <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/23315
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 dev-util/clion/Manifest | 2 -
16 dev-util/clion/clion-2021.1.2.ebuild | 106 -----------------------------------
17 dev-util/clion/clion-2021.2.ebuild | 104 ----------------------------------
18 3 files changed, 212 deletions(-)
19
20 diff --git a/dev-util/clion/Manifest b/dev-util/clion/Manifest
21 index bf6401f229b9..12e379e02510 100644
22 --- a/dev-util/clion/Manifest
23 +++ b/dev-util/clion/Manifest
24 @@ -1,3 +1 @@
25 -DIST CLion-2021.1.2.tar.gz 724314199 BLAKE2B 4e1ecb9023529f6f9b8a638d8d75beca25c97d61eed6c489bdf9062368d47f182e776f58fdf387766e22dc67c5f593ad85a6f5790a65cad51d8e6c217b7ff838 SHA512 f16b57e4af6f4b0feb44f1698e5e3268d3599e8484a06bfc3770268e98025ff6231f0577c08605743bc79800401a66792fde97a864574e656690a61608b93f4e
26 -DIST CLion-2021.2.tar.gz 750721029 BLAKE2B d967a7fe1f633f06b78a35ff01839e4ab427dd68065882533b8d69cb0daea46988e6742564ba2f2310411f2fc068a6565b01b8a9b57c7042dcd6a1347a19e6a9 SHA512 9742c29f57ecf2ca4b69fa323241d12bb7660cd64b875d953cbf720bc54daaaf7dab14c487ef113368c8ad7cbb6733d34a4740bb0997d9ceb8ca702f1e30da32
27 DIST CLion-2021.3.tar.gz 741453727 BLAKE2B 0bcc79df3180256732523df6acf34f7eecbd08f87427f41796ebef342d71d4a0643770fd8e08c25dbd7e96360e72806f7fe1b57a199cc7fd53ad34cb85ff1d74 SHA512 d4b9f8b8cf8f218c45a568498630216f55540b2094ec7fe2a36f04478ff713c34dc7431da3824da44c61ae999b475a4ae7d4c7c9c7e02d0ca0ab6520ecf8cedb
28
29 diff --git a/dev-util/clion/clion-2021.1.2.ebuild b/dev-util/clion/clion-2021.1.2.ebuild
30 deleted file mode 100644
31 index 58ebe78061e5..000000000000
32 --- a/dev-util/clion/clion-2021.1.2.ebuild
33 +++ /dev/null
34 @@ -1,106 +0,0 @@
35 -# Copyright 1999-2021 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -inherit desktop wrapper
41 -
42 -DESCRIPTION="A complete toolset for C and C++ development"
43 -HOMEPAGE="https://www.jetbrains.com/clion"
44 -SRC_URI="https://download.jetbrains.com/cpp/CLion-${PV}.tar.gz"
45 -
46 -LICENSE="|| ( IDEA IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )
47 - Apache-1.1 Apache-2.0 BSD BSD-2 CC0-1.0 CDDL-1.1 CPL-0.5 CPL-1.0
48 - EPL-1.0 EPL-2.0 GPL-2 GPL-2-with-classpath-exception GPL-3 ISC JDOM
49 - LGPL-2.1+ LGPL-3 MIT MPL-1.0 MPL-1.1 OFL public-domain PSF-2 UoI-NCSA ZLIB"
50 -SLOT="0"
51 -KEYWORDS="~amd64 ~x86"
52 -RESTRICT="bindist mirror splitdebug"
53 -
54 -BDEPEND="dev-util/patchelf"
55 -
56 -# RDEPENDS may cause false positives in repoman.
57 -# clion requires cmake and gdb at runtime to build and debug C/C++ projects
58 -RDEPEND="
59 - app-accessibility/at-spi2-atk
60 - app-accessibility/at-spi2-core
61 - dev-libs/atk
62 - dev-libs/libdbusmenu
63 - dev-libs/nss
64 - dev-util/cmake
65 - media-libs/alsa-lib
66 - media-libs/freetype
67 - media-libs/mesa
68 - net-print/cups
69 - sys-devel/gdb
70 - x11-libs/libXScrnSaver
71 - x11-libs/libXcomposite
72 - x11-libs/libXcursor
73 - x11-libs/libXdamage
74 - x11-libs/libXi
75 - x11-libs/libXrandr
76 - x11-libs/libXtst
77 - x11-libs/libXxf86vm
78 - x11-libs/libdrm
79 - x11-libs/libxkbcommon
80 - x11-libs/pango"
81 -
82 -QA_PREBUILT="opt/${P}/*"
83 -
84 -src_prepare() {
85 - default
86 -
87 - local remove_me=(
88 - bin/gdb/linux
89 - bin/lldb/linux
90 - bin/cmake
91 - license/CMake*
92 - lib/pty4j-native/linux/aarch64
93 - lib/pty4j-native/linux/mips64el
94 - lib/pty4j-native/linux/ppc64le
95 - )
96 -
97 - use amd64 || remove_me+=( bin/fsnotifier64 lib/pty4j-native/linux/x86_64)
98 - use x86 || remove_me+=( bin/fsnotifier lib/pty4j-native/linux/x86)
99 -
100 - rm -rv "${remove_me[@]}" || die
101 -
102 - for file in "jbr/lib/"/{libjcef.so,jcef_helper}
103 - do
104 - if [[ -f "${file}" ]]; then
105 - patchelf --set-rpath '$ORIGIN' ${file} || die
106 - fi
107 - done
108 -}
109 -
110 -src_install() {
111 - local dir="/opt/${P}"
112 -
113 - insinto "${dir}"
114 - doins -r *
115 - fperms 755 "${dir}"/bin/{clion.sh,clang/linux/clang{d,-tidy}}
116 -
117 - if use amd64; then
118 - fperms 755 "${dir}"/bin/fsnotifier64
119 - fi
120 - if use arm; then
121 - fperms 755 "${dir}"/bin/fsnotifier-arm
122 - fi
123 - if use x86; then
124 - fperms 755 "${dir}"/bin/fsnotifier
125 - fi
126 -
127 - if [[ -d jbr ]]; then
128 - fperms 755 "${dir}"/jbr/bin/{jaotc,java,javac,jdb,jjs,jrunscript,keytool,pack200,rmid,rmiregistry,serialver,unpack200}
129 - # Fix #763582
130 - fperms 755 "${dir}"/jbr/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
131 - fi
132 -
133 - make_wrapper "${PN}" "${dir}/bin/${PN}.sh"
134 - newicon "bin/${PN}.svg" "${PN}.svg"
135 - make_desktop_entry "${PN}" "clion" "${PN}" "Development;IDE;"
136 -
137 - # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
138 - dodir /usr/lib/sysctl.d/
139 - echo "fs.inotify.max_user_watches = 524288" > "${D}/usr/lib/sysctl.d/30-clion-inotify-watches.conf" || die
140 -}
141
142 diff --git a/dev-util/clion/clion-2021.2.ebuild b/dev-util/clion/clion-2021.2.ebuild
143 deleted file mode 100644
144 index daf59355c8c4..000000000000
145 --- a/dev-util/clion/clion-2021.2.ebuild
146 +++ /dev/null
147 @@ -1,104 +0,0 @@
148 -# Copyright 1999-2021 Gentoo Authors
149 -# Distributed under the terms of the GNU General Public License v2
150 -
151 -EAPI=8
152 -
153 -inherit desktop wrapper
154 -
155 -DESCRIPTION="A complete toolset for C and C++ development"
156 -HOMEPAGE="https://www.jetbrains.com/clion"
157 -SRC_URI="https://download.jetbrains.com/cpp/CLion-${PV}.tar.gz"
158 -
159 -LICENSE="|| ( IDEA IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )
160 - Apache-1.1 Apache-2.0 BSD BSD-2 CC0-1.0 CDDL-1.1 CPL-0.5 CPL-1.0
161 - EPL-1.0 EPL-2.0 GPL-2 GPL-2-with-classpath-exception GPL-3 ISC JDOM
162 - LGPL-2.1+ LGPL-3 MIT MPL-1.0 MPL-1.1 OFL public-domain PSF-2 UoI-NCSA ZLIB"
163 -SLOT="0"
164 -KEYWORDS="~amd64 ~x86"
165 -RESTRICT="bindist mirror splitdebug"
166 -
167 -BDEPEND="dev-util/patchelf"
168 -
169 -# RDEPENDS may cause false positives in repoman.
170 -# clion requires cmake and gdb at runtime to build and debug C/C++ projects
171 -RDEPEND="
172 - app-accessibility/at-spi2-atk:2
173 - app-accessibility/at-spi2-core:2
174 - dev-libs/atk
175 - dev-libs/expat
176 - dev-libs/glib:2
177 - dev-libs/nspr
178 - dev-libs/nss
179 - dev-util/cmake
180 - media-libs/alsa-lib
181 - media-libs/freetype:2
182 - media-libs/mesa
183 - net-print/cups
184 - sys-apps/dbus
185 - sys-devel/gdb
186 - sys-libs/zlib
187 - x11-libs/libX11
188 - x11-libs/libXcomposite
189 - x11-libs/libXcursor
190 - x11-libs/libXdamage
191 - x11-libs/libXext
192 - x11-libs/libXfixes
193 - x11-libs/libXi
194 - x11-libs/libXrandr
195 - x11-libs/libXtst
196 - x11-libs/libXxf86vm
197 - x11-libs/libdrm
198 - x11-libs/libxcb
199 - x11-libs/libxkbcommon
200 - x11-libs/libxshmfence"
201 -
202 -QA_PREBUILT="opt/${P}/*"
203 -
204 -src_prepare() {
205 - default
206 -
207 - local remove_me=(
208 - bin/gdb/linux
209 - bin/lldb/linux
210 - bin/cmake
211 - license/CMake*
212 - lib/pty4j-native/linux/aarch64
213 - lib/pty4j-native/linux/arm
214 - lib/pty4j-native/linux/mips64el
215 - lib/pty4j-native/linux/ppc64le
216 - )
217 -
218 - use amd64 || remove_me+=( lib/pty4j-native/linux/x86_64)
219 - use x86 || remove_me+=( lib/pty4j-native/linux/x86)
220 -
221 - rm -rv "${remove_me[@]}" || die
222 -
223 - for file in "jbr/lib/"/{libjcef.so,jcef_helper}
224 - do
225 - if [[ -f "${file}" ]]; then
226 - patchelf --set-rpath '$ORIGIN' ${file} || die
227 - fi
228 - done
229 -}
230 -
231 -src_install() {
232 - local dir="/opt/${P}"
233 -
234 - insinto "${dir}"
235 - doins -r *
236 - fperms 755 "${dir}"/bin/{clion.sh,fsnotifier,clang/linux/{clangd,clang-tidy,clazy-standalone}}
237 -
238 - if [[ -d jbr ]]; then
239 - fperms 755 "${dir}"/jbr/bin/{jaotc,java,javac,jdb,jjs,jrunscript,keytool,pack200,rmid,rmiregistry,serialver,unpack200}
240 - # Fix #763582
241 - fperms 755 "${dir}"/jbr/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
242 - fi
243 -
244 - make_wrapper "${PN}" "${dir}/bin/${PN}.sh"
245 - newicon "bin/${PN}.svg" "${PN}.svg"
246 - make_desktop_entry "${PN}" "clion" "${PN}" "Development;IDE;"
247 -
248 - # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
249 - dodir /usr/lib/sysctl.d/
250 - echo "fs.inotify.max_user_watches = 524288" > "${D}/usr/lib/sysctl.d/30-clion-inotify-watches.conf" || die
251 -}