From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8ABDA1581B9 for ; Thu, 18 Sep 2025 15:10:48 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7C10634211A for ; Thu, 18 Sep 2025 15:10:48 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 72BCB110573; Thu, 18 Sep 2025 15:10:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 6A97F110573 for ; Thu, 18 Sep 2025 15:10:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 145CA341EC4 for ; Thu, 18 Sep 2025 15:10:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F8C9323D for ; Thu, 18 Sep 2025 15:10:45 +0000 (UTC) From: "Aniela Starzyk" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aniela Starzyk" Message-ID: <1758208192.a15ccc48de01648444dec821e75ec4f35f93d69e.kubastarzyk6554@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/rust-rover/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-util/rust-rover/Manifest dev-util/rust-rover/rust-rover-2025.2.2.ebuild X-VCS-Directories: dev-util/rust-rover/ X-VCS-Committer: kubastarzyk6554 X-VCS-Committer-Name: Aniela Starzyk X-VCS-Revision: a15ccc48de01648444dec821e75ec4f35f93d69e X-VCS-Branch: dev Date: Thu, 18 Sep 2025 15:10:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6d7d9ac7-290d-4f59-8601-e6b539a536fa X-Archives-Hash: 12838c6e28b3b15f572ed75939a5898b commit: a15ccc48de01648444dec821e75ec4f35f93d69e Author: Aniela Starzyk gmail com> AuthorDate: Thu Sep 18 15:09:52 2025 +0000 Commit: Aniela Starzyk gmail com> CommitDate: Thu Sep 18 15:09:52 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a15ccc48 dev-util/rust-rover: add 2025.2.2 Signed-off-by: Aniela Starzyk gmail.com> dev-util/rust-rover/Manifest | 1 + dev-util/rust-rover/rust-rover-2025.2.2.ebuild | 130 +++++++++++++++++++++++++ 2 files changed, 131 insertions(+) diff --git a/dev-util/rust-rover/Manifest b/dev-util/rust-rover/Manifest index 68e8fc402f..7179c237ff 100644 --- a/dev-util/rust-rover/Manifest +++ b/dev-util/rust-rover/Manifest @@ -1,2 +1,3 @@ DIST RustRover-2024.2.1.tar.gz 1052249211 BLAKE2B 4035f514ec6556e15ce02c283965f87db20c78a96c03654cb4445dc8af5da715f0421eea4c3a32d50abed96d83c4a2aaa0db8baf5ab0ec530af89f0a7c70d5f7 SHA512 7b77850297869a5863b60521307b23738edef5315299881e2d920095823ab183618085d1c8a1ec3d058ab2b0365cc795c41755f1a57882e4d182428d5ccb5b8b DIST RustRover-2025.2.1.tar.gz 1257721397 BLAKE2B 1b7f3e9cb1f54630eb213308141e55e812a84ef2bfe5bb9003f7bcf0aabe59b9b476200ffdf90c7aeb7370ec8513d1a7b874282342e3f20ee793db9a75cd0659 SHA512 cb1d7829efa2aecaaeb1d9ed76d914a83ae15da5d58d38d02d0e4f248b7e7bd14f7ac4b8a82ecd3d0f29a11e857b847f1689125353d03783399cbd3ce8cf2d73 +DIST RustRover-2025.2.2.tar.gz 1261938223 BLAKE2B 97bd96ede0b25e0558ead227d8db105f684f6b70b9cdc130e1e4dade2eeac23e8e79d4966eb66b6a6aa54d828992e17a062955391205d609b6e533eed953c1c3 SHA512 c77526fd9f8d3cbb5cff23043d51dcd397c77ffddedc9c820cd83d6a5403eb5850e4d543a4b8e0582e827b104027c98f1bf340a1c3c35d7b950406f514afc9d4 diff --git a/dev-util/rust-rover/rust-rover-2025.2.2.ebuild b/dev-util/rust-rover/rust-rover-2025.2.2.ebuild new file mode 100644 index 0000000000..2c2443bd2a --- /dev/null +++ b/dev-util/rust-rover/rust-rover-2025.2.2.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +inherit desktop wrapper xdg-utils + +DESCRIPTION="A feature-rich Rust IDE with timely support by JetBrarins" +HOMEPAGE="https://www.jetbrains.com/rust/" +SRC_URI="https://download.jetbrains.com/rustrover/RustRover-${PV}.tar.gz" + +# to keep it tidy. +S="${WORKDIR}/RustRover-${PV}" + +LICENSE="idea-eap-EULA" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="+bundled-jdk" +RESTRICT="bindist mirror" +QA_PREBUILT="opt/RustRover/*" + +BDEPEND="dev-util/patchelf" + +RDEPEND="!bundled-jdk? ( >=virtual/jre-1.8 ) + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-debug/gdb + llvm-core/lldb + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + dev-libs/wayland + media-libs/alsa-lib + media-libs/freetype:2 + media-libs/mesa + net-print/cups + sys-apps/dbus + sys-libs/zlib + x11-libs/cairo + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libXxf86vm + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/pango +" + +src_prepare() { + default + + local remove_me=( + Install-Linux-tar.txt + bin/gdb + bin/lldb + plugins/remote-dev-server/selfcontained + plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-linux-arm64 + plugins/platform-ijent-impl/ijent-aarch64-unknown-linux-musl-release + lib/async-profiler/aarch64 + ) + + rm -rv "${remove_me[@]}" || die + + sed -i \ + -e "\$a\\\\" \ + -e "\$a#-----------------------------------------------------------------------" \ + -e "\$a# Disable automatic updates as these are handled through Gentoo's" \ + -e "\$a# package manager. See bug #704494" \ + -e "\$a#-----------------------------------------------------------------------" \ + -e "\$aide.no.platform.update=Gentoo" bin/idea.properties + + for file in "jbr/lib/"/{libjcef.so,jcef_helper} + do + if [[ -f "${file}" ]]; then + patchelf --set-rpath '$ORIGIN' ${file} || die + fi + done +} + +src_install() { + local DIR="/opt/RustRover" + local JRE_DIR="jbr" + + insinto ${DIR} + doins -r * + + # bin files + for _f in format.sh fsnotifier inspect.sh jetbrains_client.sh ltedit.sh \ + rustrover rustrover.sh restarter; do + fperms 755 "${DIR}/bin/$_f" + done + + # JRE bin files + for _f in java javac javadoc jcmd jdb jfr jhsdb jinfo jmap \ + jps jrunscript jstack jstat keytool rmiregistry serialver; do + fperms 755 "${DIR}/${JRE_DIR}/bin/$_f" + done + + # lib files + for _f in chrome-sandbox jcef_helper jexec jspawnhelper; do + fperms 755 "${DIR}/${JRE_DIR}/lib/$_f" + done + + if ! use bundled-jdk; then + rm -r "${D}/${DIR}/${JRE_DIR}" || die + fi + + make_wrapper "rustrover" "${DIR}/bin/rustrover" + newicon "bin/rustrover.svg" "rustrover.svg" + make_desktop_entry "rustrover" "RustRover" "rustrover" "Development;IDE;" + + # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit + dodir /etc/sysctl.d/ + echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}