From 4b1be5ef874aaeb61a2116048e0c2312e53f8c69 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 28 Feb 2025 19:27:52 +0000 Subject: gentoo auto-resync : 28:02:2025 - 19:27:52 --- dev-util/idea-community/Manifest | 6 +- .../idea-community/idea-community-2024.3.3.ebuild | 180 --------------------- .../idea-community/idea-community-2024.3.4.ebuild | 180 +++++++++++++++++++++ 3 files changed, 183 insertions(+), 183 deletions(-) delete mode 100644 dev-util/idea-community/idea-community-2024.3.3.ebuild create mode 100644 dev-util/idea-community/idea-community-2024.3.4.ebuild (limited to 'dev-util/idea-community') diff --git a/dev-util/idea-community/Manifest b/dev-util/idea-community/Manifest index a3ccfd28b0d7..0b979e5e492b 100644 --- a/dev-util/idea-community/Manifest +++ b/dev-util/idea-community/Manifest @@ -1,4 +1,4 @@ -DIST idea-community-2024.3.3-aarch64.tar.gz 991739706 BLAKE2B 254bfd6a3002949ed9bf420a4226ab4e4ea20a74d919084a73196e1fbf58224ceed9ffc32c922e7c2f83888263a2e6bce2dc43b8c31134ef6c2c96a73b38d2f7 SHA512 7ad93faed8ea433764703ad81de150f55454f3b2bdcce333ec333ba80e4bf5452127ea0dd7ac4de256b4207f7566ee0b70ea849df5b3ec5fd05a549adb40ca3b -DIST idea-community-2024.3.3-amd64.tar.gz 991863832 BLAKE2B 6498ae98300b3718b51fa71a135410e0e1812914f2b742bbc25d60d0559885c8f6231f58fb90081e87c9dd0e99c50fe1dd86c1a5c9d619b9cdbb481348718b4b SHA512 fa77d20ef2cb7411fc266bb809b2bb81a506361cff90d1b6d0fbbbd94b2b7969ebdc0beada13a6199539be73973173c0bcf6a4136ffded89572eab7b8b05bef1 -EBUILD idea-community-2024.3.3.ebuild 5111 BLAKE2B c3b661aa268f2970cc9a4a11d59f9b09b693a0516ebf24230663ef7032f68504f5544606fff040e3b961c74560920bf57045fa8dccdfa0c257697c5b3527aae2 SHA512 3ad3d8af73e22ecf9fc8cdba945f89fd846dcf1a4231710c1d44618965fb59289a2f530c1b1c75a8c71454088127df1e34322bf4b30b4e3623ce02fb3ec11b15 +DIST idea-community-2024.3.4-aarch64.tar.gz 991848711 BLAKE2B be42a1c5e4e097e606dbb8b55eb6ecb905e1f6dc2836d3eede762888d0d4696ae1ffe2112be6a4412938d0a7e755076510e548fa452df669019f1fc4ea875e75 SHA512 ee4086e1d232593a16f8a85f3ccabc803394f1a36898a9c295d0c12c8fb864c27768a21cd245ecf88a1e12029cff9665d6ebbfa97aabda1eccc10b85f72d79bc +DIST idea-community-2024.3.4-amd64.tar.gz 991962918 BLAKE2B e8d8f3cb9ee7ae11b1354def2419ade686f69c574a120c306f84009b99ac89b1408c0595dc004f7fb1c6aedb25c7aa12454f08e59db36b7f7df5c2c0b8c5d24a SHA512 4bc6414a863ec5c6594f501b3419e80f0c0358ccca45147f94031f19ffb1a10c167a7a3b70cc8822867e1d732491ad764bf71db72574c286ac3745c91e2c6190 +EBUILD idea-community-2024.3.4.ebuild 5111 BLAKE2B c3b661aa268f2970cc9a4a11d59f9b09b693a0516ebf24230663ef7032f68504f5544606fff040e3b961c74560920bf57045fa8dccdfa0c257697c5b3527aae2 SHA512 3ad3d8af73e22ecf9fc8cdba945f89fd846dcf1a4231710c1d44618965fb59289a2f530c1b1c75a8c71454088127df1e34322bf4b30b4e3623ce02fb3ec11b15 MISC metadata.xml 537 BLAKE2B 1b41a4099c46288757f1001d30171363df1a5536c5b3bcfc3cb2610e2c2b8b907a13abd969a3f711e4579a572414c881a97b3818bbe20b280084497ebbeb8c2d SHA512 0cf8c9625044d20e2d274a66c0c22785776b4b01cff484c9b32d6bb2d36db0c629413330fef8abeaf2530d079ae6c7da7c32ec8c597f8f39f9136719c22e27e5 diff --git a/dev-util/idea-community/idea-community-2024.3.3.ebuild b/dev-util/idea-community/idea-community-2024.3.3.ebuild deleted file mode 100644 index 41f034fdb482..000000000000 --- a/dev-util/idea-community/idea-community-2024.3.3.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit desktop wrapper - -MY_PV=$(ver_cut 1-3) - -DESCRIPTION="A complete toolset for web, mobile and enterprise development" -HOMEPAGE="https://www.jetbrains.com/idea" - -SRC_URI=" - amd64? ( https://download.jetbrains.com/idea/ideaIC-${MY_PV}.tar.gz -> ${P}-amd64.tar.gz ) - arm64? ( https://download.jetbrains.com/idea/ideaIC-${MY_PV}-aarch64.tar.gz -> ${P}-aarch64.tar.gz ) - " - -S="${WORKDIR}/idea-IC-${PV}" -LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-2.5 CDDL-1.1 - codehaus-classworlds CPL-1.0 EPL-1.0 EPL-2.0 - GPL-2 GPL-2-with-classpath-exception ISC - JDOM LGPL-2.1 LGPL-2.1+ LGPL-3-with-linking-exception MIT - MPL-1.0 MPL-1.1 OFL-1.1 ZLIB" - -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="experimental wayland" -REQUIRED_USE="experimental? ( wayland )" - -DEPEND=" - || ( - >=dev-java/openjdk-17.0.8.1_p1:17 - >=dev-java/openjdk-bin-17.0.8.1_p1:17 - )" - -RDEPEND="${DEPEND} - sys-libs/glibc - media-libs/harfbuzz - dev-java/jansi-native - sys-libs/zlib - x11-libs/libX11 - x11-libs/libXrender - media-libs/freetype - x11-libs/libXext - dev-libs/wayland - x11-libs/libXi - x11-libs/libXtst - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXrandr - media-libs/alsa-lib - app-accessibility/at-spi2-core - x11-libs/cairo - net-print/cups - x11-libs/libdrm - media-libs/mesa - dev-libs/nspr - dev-libs/nss - dev-libs/libdbusmenu - x11-libs/libxkbcommon - x11-libs/libXcursor - x11-libs/pango" - -QA_PREBUILT="opt/${PN}/*" - -BDEPEND="dev-util/patchelf" -RESTRICT="splitdebug" - -src_unpack() { - - default_src_unpack - if [ ! -d "$S" ]; then - einfo "Renaming source directory to predictable name..." - mv $(ls "${WORKDIR}") "idea-IC-${PV}" || die - fi -} - -src_prepare() { - - default_src_prepare - - if use amd64; then - JRE_DIR=jre64 - rm -vf "${S}"/plugins/cwm-plugin/quiche-native/linux-aarch64/libquiche.so - else - JRE_DIR=jre - rm -vf "${S}"/plugins/cwm-plugin/quiche-native/linux-x86-64/libquiche.so - fi - - PLUGIN_DIR="${S}/${JRE_DIR}/lib/" - - # rm LLDBFrontEnd after licensing questions with Gentoo License Team - rm -vf "${S}"/plugins/Kotlin/bin/linux/LLDBFrontend - rm -vf ${PLUGIN_DIR}/libavplugin* - rm -vf "${S}"/plugins/maven/lib/maven3/lib/jansi-native/*/libjansi* - rm -vrf "${S}"/lib/pty4j-native/linux/ppc64le - rm -vf "${S}"/bin/libdbm64* - rm -vf "${S}"/lib/pty4j-native/linux/mips64el/libpty.so - - if [[ -d "${S}"/"${JRE_DIR}" ]]; then - for file in "${PLUGIN_DIR}"/{libfxplugins.so,libjfxmedia.so} - do - if [[ -f "$file" ]]; then - patchelf --set-rpath '$ORIGIN' $file || die - fi - done - fi - - rm -vf "${S}"/lib/pty4j-native/linux/x86-64/libpty.so - - 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 - - patchelf --set-rpath '$ORIGIN' "jbr/lib/libjcef.so" || die - patchelf --set-rpath '$ORIGIN' "jbr/lib/libcef.so" || die - patchelf --set-rpath '$ORIGIN' "jbr/lib/jcef_helper" || die - - if ! use elibc_musl; then - rm plugins/platform-ijent-impl/ijent-aarch64-unknown-linux-musl-release - fi - - eapply_user -} - -src_install() { - local dir="/opt/${PN}" - local dst="${D}${dir}" - - insinto "${dir}" - doins -r * - fperms 755 "${dir}"/bin/{format.sh,idea,idea.sh,inspect.sh,restarter,fsnotifier} - - if [[ -d jbr ]]; then - fperms 755 "${dir}"/jbr/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,jwebserver,keytool,rmiregistry,serialver} - - # Fix #763582 - fperms 755 "${dir}"/jbr/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper} - fi - - if use amd64; then - JRE_DIR=jre - JRE_DIR=jre - fi - - JRE_BINARIES="jaotc java javapackager jjs jrunscript keytool pack200 rmid rmiregistry unpack200" - if [[ -d ${JRE_DIR} ]]; then - for jrebin in $JRE_BINARIES; do - fperms 755 "${dir}"/"${JRE_DIR}"/bin/"${jrebin}" - done - fi - - # bundled script is always lowercase, and doesn't have -ultimate, -professional suffix. - local bundled_script_name="${PN%-*}.sh" - make_wrapper "${PN}" "${dir}/bin/$bundled_script_name" || die - - local pngfile="$(find ${dst}/bin -maxdepth 1 -iname '*.png')" - newicon $pngfile "${PN}.png" || die "we died" - - if use experimental; then - make_desktop_entry "/opt/idea-community/bin/idea -Dawt.toolkit.name=WLToolkit" \ - "IntelliJ Idea Community Edition" "${PN}" "Development;IDE;" - - ewarn "You have enabled the experimental USE flag." - ewarn "This is a Wayland support preview. Expect instability." - else - make_desktop_entry "/opt/idea-community/bin/idea" \ - "IntelliJ Idea Community Edition" "${PN}" "Development;IDE;" - fi - - # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit - mkdir -p "${D}/etc/sysctl.d/" || die - echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die - - # remove bundled harfbuzz - rm -f "${D}"/lib/libharfbuzz.so || die "Unable to remove bundled harfbuzz" -} diff --git a/dev-util/idea-community/idea-community-2024.3.4.ebuild b/dev-util/idea-community/idea-community-2024.3.4.ebuild new file mode 100644 index 000000000000..41f034fdb482 --- /dev/null +++ b/dev-util/idea-community/idea-community-2024.3.4.ebuild @@ -0,0 +1,180 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit desktop wrapper + +MY_PV=$(ver_cut 1-3) + +DESCRIPTION="A complete toolset for web, mobile and enterprise development" +HOMEPAGE="https://www.jetbrains.com/idea" + +SRC_URI=" + amd64? ( https://download.jetbrains.com/idea/ideaIC-${MY_PV}.tar.gz -> ${P}-amd64.tar.gz ) + arm64? ( https://download.jetbrains.com/idea/ideaIC-${MY_PV}-aarch64.tar.gz -> ${P}-aarch64.tar.gz ) + " + +S="${WORKDIR}/idea-IC-${PV}" +LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-2.5 CDDL-1.1 + codehaus-classworlds CPL-1.0 EPL-1.0 EPL-2.0 + GPL-2 GPL-2-with-classpath-exception ISC + JDOM LGPL-2.1 LGPL-2.1+ LGPL-3-with-linking-exception MIT + MPL-1.0 MPL-1.1 OFL-1.1 ZLIB" + +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="experimental wayland" +REQUIRED_USE="experimental? ( wayland )" + +DEPEND=" + || ( + >=dev-java/openjdk-17.0.8.1_p1:17 + >=dev-java/openjdk-bin-17.0.8.1_p1:17 + )" + +RDEPEND="${DEPEND} + sys-libs/glibc + media-libs/harfbuzz + dev-java/jansi-native + sys-libs/zlib + x11-libs/libX11 + x11-libs/libXrender + media-libs/freetype + x11-libs/libXext + dev-libs/wayland + x11-libs/libXi + x11-libs/libXtst + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXrandr + media-libs/alsa-lib + app-accessibility/at-spi2-core + x11-libs/cairo + net-print/cups + x11-libs/libdrm + media-libs/mesa + dev-libs/nspr + dev-libs/nss + dev-libs/libdbusmenu + x11-libs/libxkbcommon + x11-libs/libXcursor + x11-libs/pango" + +QA_PREBUILT="opt/${PN}/*" + +BDEPEND="dev-util/patchelf" +RESTRICT="splitdebug" + +src_unpack() { + + default_src_unpack + if [ ! -d "$S" ]; then + einfo "Renaming source directory to predictable name..." + mv $(ls "${WORKDIR}") "idea-IC-${PV}" || die + fi +} + +src_prepare() { + + default_src_prepare + + if use amd64; then + JRE_DIR=jre64 + rm -vf "${S}"/plugins/cwm-plugin/quiche-native/linux-aarch64/libquiche.so + else + JRE_DIR=jre + rm -vf "${S}"/plugins/cwm-plugin/quiche-native/linux-x86-64/libquiche.so + fi + + PLUGIN_DIR="${S}/${JRE_DIR}/lib/" + + # rm LLDBFrontEnd after licensing questions with Gentoo License Team + rm -vf "${S}"/plugins/Kotlin/bin/linux/LLDBFrontend + rm -vf ${PLUGIN_DIR}/libavplugin* + rm -vf "${S}"/plugins/maven/lib/maven3/lib/jansi-native/*/libjansi* + rm -vrf "${S}"/lib/pty4j-native/linux/ppc64le + rm -vf "${S}"/bin/libdbm64* + rm -vf "${S}"/lib/pty4j-native/linux/mips64el/libpty.so + + if [[ -d "${S}"/"${JRE_DIR}" ]]; then + for file in "${PLUGIN_DIR}"/{libfxplugins.so,libjfxmedia.so} + do + if [[ -f "$file" ]]; then + patchelf --set-rpath '$ORIGIN' $file || die + fi + done + fi + + rm -vf "${S}"/lib/pty4j-native/linux/x86-64/libpty.so + + 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 + + patchelf --set-rpath '$ORIGIN' "jbr/lib/libjcef.so" || die + patchelf --set-rpath '$ORIGIN' "jbr/lib/libcef.so" || die + patchelf --set-rpath '$ORIGIN' "jbr/lib/jcef_helper" || die + + if ! use elibc_musl; then + rm plugins/platform-ijent-impl/ijent-aarch64-unknown-linux-musl-release + fi + + eapply_user +} + +src_install() { + local dir="/opt/${PN}" + local dst="${D}${dir}" + + insinto "${dir}" + doins -r * + fperms 755 "${dir}"/bin/{format.sh,idea,idea.sh,inspect.sh,restarter,fsnotifier} + + if [[ -d jbr ]]; then + fperms 755 "${dir}"/jbr/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,jwebserver,keytool,rmiregistry,serialver} + + # Fix #763582 + fperms 755 "${dir}"/jbr/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper} + fi + + if use amd64; then + JRE_DIR=jre + JRE_DIR=jre + fi + + JRE_BINARIES="jaotc java javapackager jjs jrunscript keytool pack200 rmid rmiregistry unpack200" + if [[ -d ${JRE_DIR} ]]; then + for jrebin in $JRE_BINARIES; do + fperms 755 "${dir}"/"${JRE_DIR}"/bin/"${jrebin}" + done + fi + + # bundled script is always lowercase, and doesn't have -ultimate, -professional suffix. + local bundled_script_name="${PN%-*}.sh" + make_wrapper "${PN}" "${dir}/bin/$bundled_script_name" || die + + local pngfile="$(find ${dst}/bin -maxdepth 1 -iname '*.png')" + newicon $pngfile "${PN}.png" || die "we died" + + if use experimental; then + make_desktop_entry "/opt/idea-community/bin/idea -Dawt.toolkit.name=WLToolkit" \ + "IntelliJ Idea Community Edition" "${PN}" "Development;IDE;" + + ewarn "You have enabled the experimental USE flag." + ewarn "This is a Wayland support preview. Expect instability." + else + make_desktop_entry "/opt/idea-community/bin/idea" \ + "IntelliJ Idea Community Edition" "${PN}" "Development;IDE;" + fi + + # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit + mkdir -p "${D}/etc/sysctl.d/" || die + echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die + + # remove bundled harfbuzz + rm -f "${D}"/lib/libharfbuzz.so || die "Unable to remove bundled harfbuzz" +} -- cgit v1.2.3