public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Stefan Cristian B." <stefan.cristian+git@rogentos.ro>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/webstorm/
Date: Sun, 21 Sep 2025 11:59:08 +0000 (UTC)	[thread overview]
Message-ID: <1758455935.5891ce2007cfe7e82793d50af8bb9cf1e2a5795d.stefan.cristian+git@gentoo> (raw)

commit:     5891ce2007cfe7e82793d50af8bb9cf1e2a5795d
Author:     Stefan Cristian B. <stefan.cristian+git <AT> rogentos <DOT> ro>
AuthorDate: Sun Sep 21 11:58:55 2025 +0000
Commit:     Stefan Cristian B. <stefan.cristian+git <AT> rogentos <DOT> ro>
CommitDate: Sun Sep 21 11:58:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5891ce20

dev-util/webstorm: bump 2025.2.2

Signed-off-by: Stefan Cristian B. <stefan.cristian+git <AT> rogentos.ro>

 dev-util/webstorm/Manifest                 |   2 +
 dev-util/webstorm/webstorm-2025.2.2.ebuild | 127 +++++++++++++++++++++++++++++
 2 files changed, 129 insertions(+)

diff --git a/dev-util/webstorm/Manifest b/dev-util/webstorm/Manifest
index e81e5221a1..b1c7ceb8fd 100644
--- a/dev-util/webstorm/Manifest
+++ b/dev-util/webstorm/Manifest
@@ -6,4 +6,6 @@ DIST WebStorm-2025.1.4.1.tar.gz 1068929093 BLAKE2B 082713386d2d6aef7a3dc9a24604e
 DIST WebStorm-2025.2-aarch64.tar.gz 1173874806 BLAKE2B c4c158cc3b197b03ec33ed190445e417a9288a84625fc63f4d891c4bccd49c5f8f1546036f1e621bab981f3c7b3a896cf89f60e49534f0ee96919226c8ed200c SHA512 a7a8c22d507bfdc7e02d8a70e21f28f917e52ee3626be076e8885d879b094cc220fd9dea6bb48b3ada9bdc2ac20b3e022b2002a530c7682501209637a4a765ca
 DIST WebStorm-2025.2.1-aarch64.tar.gz 1175946215 BLAKE2B e97e248656cd5306521c397ba521e8466387e2739683f2694076038114d752274c87398fe07141b4f729e931685c9c401ade906ad84125e93c013d7aee30c0aa SHA512 e325fdbb8f7dc52901f6180f51c9f59a12b1dee709188eab228b882b9dc0032bc8e12b4c05e4b086ae04caa3a8d4ee2a3df7023f61601d1d8f0ebae3e9b11e64
 DIST WebStorm-2025.2.1.tar.gz 1178888436 BLAKE2B 57739a508c53562906c132cfa57e6da43017feb6fd0b1cd2b001b7a82de397288a117bd217a49ca1ed8868ba3100337cc138e11739504f46f813b4d84db49323 SHA512 fbf37f2e12a9f3651899634f3891e6902d4e5db8e099b4dd2ad3388253c5191c6a963d17ca3a0dc5246b42a198ae439f641fcf63dafc59f4550aaee1b22a9d99
+DIST WebStorm-2025.2.2-aarch64.tar.gz 1176509291 BLAKE2B b9d758e672bacb8c32194e033a95cb90249c0bd0341a5e09e4324a8dfd3424d208d147638eeb8bf403abfe5bda0ed192e8927010ab1111d0027b9a9f3566b7f7 SHA512 13c3bc53f6815539290a8ea8161ca5097aa441a555ca9eaf670bb6cfbed642655e6f4b3f6c0d44a7bd5433844e8cd0208558046f0d2e40e6d68bbcc426300790
+DIST WebStorm-2025.2.2.tar.gz 1179619007 BLAKE2B 4134e0077acebc828432015a3545203a79d31373b253332d50523e41e2e2833a126c4557e8f5e193c75f808cad5baab06c12dbe54d87801fde20335f93855de7 SHA512 b09dd4ed49d56bf54d5ee8678373e9e0319d0ca3daabf9eb27da2c2354c4b8b4d692a3fcc54617a613ce577961483003630c03811ad161b82766034464e8c9c4
 DIST WebStorm-2025.2.tar.gz 1176800442 BLAKE2B f58d59b015326ed78cee9b05b342354235b7fc090acb532f90391ccfce15737317ac32f8f190d4bf678693fe9dbd270b9a8b1506e38b5bc122935f0db9545fd3 SHA512 765149d0abaf8b27c162cb0d8e382e78dbce68b198018bf25f72c7576afba24890f4394be43d933c8ab7087408286b0f825f7ff639eac7db7ef67346b1adf409

diff --git a/dev-util/webstorm/webstorm-2025.2.2.ebuild b/dev-util/webstorm/webstorm-2025.2.2.ebuild
new file mode 100644
index 0000000000..4599399151
--- /dev/null
+++ b/dev-util/webstorm/webstorm-2025.2.2.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop wrapper toolchain-funcs
+
+DESCRIPTION="An integrated development environment for JavaScript and related technologies."
+HOMEPAGE="https://www.jetbrains.com/webstorm/"
+SRC_URI="
+	amd64? ( https://download-cdn.jetbrains.com/${PN}/WebStorm-${PV}.tar.gz )
+	arm64? ( https://download-cdn.jetbrains.com/${PN}/WebStorm-${PV}-aarch64.tar.gz )
+"
+
+LICENSE="|| ( JetBrains-business JetBrains-classroom JetBrains-educational JetBrains-individual )
+		Apache-2.0
+		BSD
+		CC0-1.0
+		CDDL
+		CDDL-1.1
+		EPL-1.0
+		GPL-2
+		GPL-2-with-classpath-exception
+		ISC
+		LGPL-2.1
+		LGPL-3
+		MIT
+		MPL-1.1
+		OFL-1.1
+		ZLIB
+"
+SLOT="0/2025"
+KEYWORDS="~amd64 ~arm64"
+IUSE="wayland"
+
+RESTRICT="bindist mirror"
+QA_PREBUILT="opt/${P}/*"
+
+BDEPEND="dev-util/debugedit
+	dev-util/patchelf
+"
+RDEPEND="
+		dev-libs/wayland
+		sys-libs/pam
+		sys-libs/zlib
+		sys-process/audit
+"
+
+src_unpack() {
+		# WebStorm unarchived directory is in format WebStorm-xxx.yyy.zzz, not ${P}
+		if use amd64 ; then
+			cp "${DISTDIR}"/WebStorm-${PV}.tar.gz "${WORKDIR}"/ || die
+		elif use arm64 ; then
+			cp "${DISTDIR}"/WebStorm-${PV}-aarch64.tar.gz "${WORKDIR}"/ || die
+		fi
+		mkdir -p "${P}" || die
+		tar --strip-components=1 -xzf "WebStorm-${PV}".tar.gz -C "${P}" || die
+}
+
+src_prepare() {
+		tc-export OBJCOPY
+		default
+
+	if ! use arm64; then
+		local remove_me=(
+			lib/async-profiler/aarch64
+		)
+	elif ! use amd64; then
+		local remove_me=(
+			lib/async-profiler/amd64
+		)
+	fi
+
+	rm -rv "${remove_me[@]}" || die
+
+	# excepting files that should be kept for remote plugins
+	if ! use arm64 ; then
+		local skip_remote_files=(
+			"plugins/platform-ijent-impl/ijent-aarch64-unknown-linux-musl-release"
+			"plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-linux-arm64"
+		)
+	elif ! use amd64; then
+		local skip_remote_files=(
+			"plugins/platform-ijent-impl/ijent-x86_64-unknown-linux-musl-release"
+			"plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-linux-amd64"
+		)
+	fi
+
+	# removing debug symbols and relocating debug files as per #876295
+	# we're escaping all the files that contain $() in their name
+	# as they should not be executed
+	find . -type f ! -name '*$(*)*' -print0 | while IFS= read -r -d '' file; do
+		for skip in "${skip_remote_files[@]}"; do
+			[[ ${file} == ./"${skip}" ]] && continue 2
+		done
+		if file "${file}" | grep -qE "ELF (32|64)-bit"; then
+			${OBJCOPY} --remove-section .note.gnu.build-id "${file}" || die
+			debugedit -b "${EPREFIX}/opt/${PN}" -d "/usr/lib/debug" -i "${file}" || die
+		fi
+	done
+
+		patchelf --set-rpath '$ORIGIN' "jbr/lib/libjcef.so" || die
+		patchelf --set-rpath '$ORIGIN' "jbr/lib/jcef_helper" || die
+
+		# As per https://blog.jetbrains.com/platform/2024/07/wayland-support-preview-in-2024-2/ for full wayland support
+		if use wayland; then
+				echo "-Dawt.toolkit.name=WLToolkit" >> bin/webstorm64.vmoptions || die
+		fi
+}
+
+src_install() {
+		local dir="/opt/${P}"
+
+		insinto "${dir}"
+		doins -r *
+		fperms 755 "${dir}"/bin/{"${PN}",fsnotifier,format.sh,inspect.sh,jetbrains_client.sh,ltedit.sh,remote-dev-server,remote-dev-server.sh,restarter}
+		fperms 755 "${dir}"/jbr/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,jwebserver,keytool,rmiregistry,serialver}
+		fperms 755 "${dir}"/jbr/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
+
+		make_wrapper "${PN}" "${dir}"/bin/"${PN}"
+		newicon bin/"${PN}".svg "${PN}".svg
+		make_desktop_entry "${PN}" "WebStorm ${PV}" "${PN}" "Development;IDE;"
+
+		# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
+		insinto /usr/lib/sysctl.d
+		newins - 30-"${PN}"-inotify-watches.conf <<<"fs.inotify.max_user_watches = 524288"
+}


             reply	other threads:[~2025-09-21 11:59 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-21 11:59 Stefan Cristian B. [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-11-05  3:15 [gentoo-commits] repo/proj/guru:dev commit in: dev-util/webstorm/ Stefan Cristian B.
2025-11-05  3:07 Stefan Cristian B.
2025-11-05  3:07 Stefan Cristian B.
2025-10-21 16:39 Stefan Cristian B.
2025-10-21 16:39 Stefan Cristian B.
2025-09-16 14:39 Stefan Cristian B.
2025-09-16 14:39 Stefan Cristian B.
2025-08-10 23:41 Stefan Cristian B.
2025-08-10 23:38 Stefan Cristian B.
2025-07-16 23:26 Stefan Cristian B.
2025-07-16 23:26 Stefan Cristian B.
2025-06-28 14:55 Stefan Cristian B.
2025-06-28 14:55 Stefan Cristian B.
2025-05-28 13:39 Stefan Cristian B.
2025-04-28  9:08 Stefan Cristian B.
2025-04-27  0:40 Stefan Cristian B.
2025-03-26 14:28 Stefan Cristian B.
2025-03-21 14:00 Stefan Cristian B.
2025-03-21 13:16 Takuya Wakazono
2025-03-18 18:29 Stefan Cristian B.

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=1758455935.5891ce2007cfe7e82793d50af8bb9cf1e2a5795d.stefan.cristian+git@gentoo \
    --to=stefan.cristian+git@rogentos.ro \
    --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