summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-04 02:07:22 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-04 02:07:22 +0000
commit38ecaf88ae0891dd2d7f2bdd9a7acdcd45835724 (patch)
tree9416e00c684e43c1731a2189865034d568f2a20f /dev-util
parent7f4b508a2da3c371c7e770aa6ab83b0c4237cd1c (diff)
gentoo auto-resync : 04:12:2024 - 02:07:22
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/Manifest.gzbin65486 -> 65499 bytes
-rw-r--r--dev-util/cloc/Manifest2
-rw-r--r--dev-util/cloc/cloc-1.96.ebuild2
-rw-r--r--dev-util/pycharm-community/Manifest3
-rw-r--r--dev-util/pycharm-community/pycharm-community-2024.3.ebuild198
-rw-r--r--dev-util/pycharm-professional/Manifest5
-rw-r--r--dev-util/pycharm-professional/metadata.xml1
-rw-r--r--dev-util/pycharm-professional/pycharm-professional-2024.3.ebuild199
-rw-r--r--dev-util/qbs/Manifest2
-rw-r--r--dev-util/qbs/qbs-2.5.0.ebuild91
10 files changed, 500 insertions, 3 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz
index 6cbf3f7fc1ff..6ab639466ef3 100644
--- a/dev-util/Manifest.gz
+++ b/dev-util/Manifest.gz
Binary files differ
diff --git a/dev-util/cloc/Manifest b/dev-util/cloc/Manifest
index c44372673769..f50917c826b9 100644
--- a/dev-util/cloc/Manifest
+++ b/dev-util/cloc/Manifest
@@ -4,6 +4,6 @@ DIST cloc-1.96.tar.gz 646774 BLAKE2B b632d07e1f3b89b210feee80d861e840f16b6689918
DIST cloc-2.00.tar.gz 687731 BLAKE2B 3cf5a2b954631a2ef56469485cc2b9f3c4ecfeedc7ba37a14d5d6f46c9841f94b48ff79ef740e63559cf7e7d9a8309b93c98c0281e82c8f724c81a1ebfdaca95 SHA512 2796528acadee62b5649896efc0f1029c7e213820f5b87f92a2d77bf452adb4dec36d5cc1c0853b459399dd5ade20eaf356a06f9734a9e02cddaff6a9460f85e
EBUILD cloc-1.88.ebuild 688 BLAKE2B 4d4301e39c40b0a6113f2ada061eb65864c69b0e11d514e4d60bfb992da9d850ed9e0f470ba4c9523aac6c2bb16c4db34a14c54b0716bcaa0254a513fe6b140d SHA512 ed2bc861df08dd911e5ec06bdf7fa76dd76b7fea2b0906d6bdf5982ef259ccb6b6e59e1f402af48eb111663ec2d6117cb9a4eac191e65b177c14198cc6cdf754
EBUILD cloc-1.90.ebuild 706 BLAKE2B 0b1ee3f9dcf498ea639451953bf6ac5aecb8dbe069e9f3956f41e9006084bfbb098d00f0036a5d08294caa78fbe07ce19be5ba2e05305f36d6a28e3aa5efa421 SHA512 063f6649bf507ba5d9b47ec08af5ffb91bdd6d6e44814ed54e6091ad63e3696e11d5efd32faefbe1d234e1ef7e78e111d45e2f6e0aaa486c0c08f9954a64c953
-EBUILD cloc-1.96.ebuild 707 BLAKE2B 24af1717910e1ae14a734ae8803011212973bc4a8b9e906e48568c9629e283cfa7cf90ce02a204e93e1ca0a5ab20fd89c53d18b20297c61c7509d622d514aa5b SHA512 8f5749beeaeb1a2890ecc053df7fda083c08c6e0588c3712cc8c4dccc02154c6482b05ce031fa2f8020b8e24dcec648bb3b6dc56dc74071c5d509c5c225b2eb3
+EBUILD cloc-1.96.ebuild 706 BLAKE2B 5b4f7e59d5a76dc6074761a6e9e4e8d27ef581e728e8ca9689a54a84ec057541e3b81bc2f4817f01d861b1d87bcf4a6290da018357d87387ddac543837f95ca6 SHA512 2c7c3f83e534c50f475eefa325e00162f28cad7ee6cc5192dc5079e9653e57225dde6cb948f210f6f9226d927a28bb42e5870bc6c2fef6c42fff83a4255b6066
EBUILD cloc-2.00.ebuild 708 BLAKE2B aeeec340658b8f3d1167bdb94858e7c75b824bab8cc12fe666eedcbf55d7fd7148761c1f7dbae9181030ddba6080107e7de3f77e28cbfc95c693fcaf83951479 SHA512 666e98ad6bc2f7314a30542ad59f375c79e67dd907ca192febda5056c5097823c9e8cdf4d4c452875d2ab29b666710c328d09afa639193835cd1384d7efa7f88
MISC metadata.xml 730 BLAKE2B 55d88ba6367e16aed1fbe5877a777bf1fb09793c040d8b317e8b09d73419fd61ee66d800835e518c09ed3470b6ea034cfb572335a8d312583e8172f36a74b11d SHA512 f7b98f9dc54bcb268fc51151fce719e2c89d1d251c4a9cbe3632faccfd68e5fd5705d7a8ae985e3599241bd72784103b382b53e7ef6a615d7c5637bbdebe14d4
diff --git a/dev-util/cloc/cloc-1.96.ebuild b/dev-util/cloc/cloc-1.96.ebuild
index b01d1fc97955..3221526179ac 100644
--- a/dev-util/cloc/cloc-1.96.ebuild
+++ b/dev-util/cloc/cloc-1.96.ebuild
@@ -9,7 +9,7 @@ SRC_URI="https://github.com/AlDanial/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
DEPEND="dev-lang/perl"
RDEPEND="${DEPEND}
diff --git a/dev-util/pycharm-community/Manifest b/dev-util/pycharm-community/Manifest
index 8645c1f2c464..e1eb814039c7 100644
--- a/dev-util/pycharm-community/Manifest
+++ b/dev-util/pycharm-community/Manifest
@@ -4,7 +4,10 @@ DIST pycharm-community-2024.1.4-aarch64.tar.gz 640210318 BLAKE2B 8cba84b4d1a90cc
DIST pycharm-community-2024.1.4.tar.gz 640191029 BLAKE2B 3d0ebdd8300454c52c50ff5798e49bca22b834c1084da002a97d0fab3a2304765086d2053b25c4285902f05819321ae2060d9109311070493531be8069d2f3c4 SHA512 8ad0600d0efc09c8c7bd95742a0803ea6672a1d547f76d7c4e1c69cd8cdc6efd36529e656e9868ac7618a745ac0e4edf8942670494dc77c9629728c9a78dae6b
DIST pycharm-community-2024.2.1-aarch64.tar.gz 650975601 BLAKE2B 0cb3ad78e3ce2e8cf1e4a069b32f1b1604981d51a1ae0b8aecc51893254b3591de67703d2d1b46e18aef97fa60d07db8fbf9f378b42bf2887da6cc3d0e189ea0 SHA512 e8e6d46c00e7384d589b1783bf5b3a44d94f236b0594d5eb9086799521744ed75027901c25d663ade9f7b30ff07220544b5609dfeb5ad947576edceb69601578
DIST pycharm-community-2024.2.1.tar.gz 651275184 BLAKE2B aded074688b368b5d19ad74ff525377a90a64e10a7b61253029ba272923473028a06956a257e0ce255cf00e247de5217f4d6f51396b05eb39622283c8b6da346 SHA512 5bb6d535ca50b293d039a748ad58c301d38c61c93c10b72fb054a2b511f0608f7aa308f1fd8738dc7102de6eacaadbb8a5ad96edd053c9600bfc6d787b7c13e6
+DIST pycharm-community-2024.3-aarch64.tar.gz 716326087 BLAKE2B 6d07052cc985f6aa1ea05a5ebe8ee51aef5b2046b02ee03b6891a76bbd1f5effa57e7258126939addc314fe88685869796cd6e601915a4733c9d218215f5f644 SHA512 0903918a488d90cd85192b476adb17e8610762b68844b81c84cde4e9c3068897318e9216ff6371b74958e0ee43410fcebf4334beb885d0a5ee880f4de96579fc
+DIST pycharm-community-2024.3.tar.gz 715968487 BLAKE2B 41bcf0ef8ac21b6c0976c08e8c71495a30cc941a50b28bf95175c2edabe00844d3c2f4f11e5b99e479d8ca5f17534154a4dc25c6da8fa99fcea03ec7eae7a3eb SHA512 68de282c0df1dacfb0767bb9c15eeb2f583dac35d5f3db76b4da3324e47eecd20275aa46a919c58354d1c305d2fb61e305181cefbab64c8f0ef8371d2dac9884
EBUILD pycharm-community-2023.1.1.ebuild 3144 BLAKE2B 7db808cf672035782d54e62394a4d0ea1248f7d6ca4d290aa2daab6df7c6e3c47c397a97e2ea807a5d18b40f5004c44eb1664f3ab859087c1d37cdfde979e15b SHA512 df4fcc71337554902d697db64c8dd382d6edd1c5e8ee61670fe364c6a9e1d566c14d59fd5ca34f6826f3e0c54b7ffed336856e42ff0afbc2b389df018ccd02cd
EBUILD pycharm-community-2024.1.4.ebuild 3341 BLAKE2B 3d931e55bbb05e74810983c7528de4c5cfa99f60b1425ba8fdd4e1f18cd2f9f50c84d1944ae9209dac43cebd6dab7c6927e27ca74ad6999be3b1077d52d87191 SHA512 5978888e24d1a797f1d27920775b87c5259c266b593a0a7bd2137ca340d08d5f69d4a86ff5a83cced981ced737f8e8e831f57f171670d3a714e42fd5b7e533c4
EBUILD pycharm-community-2024.2.1.ebuild 3356 BLAKE2B d7815f4f17d84eaf02e6f05c3e16ee65d00daae27e7a92e23cba7bccb368e4452f0d3d6fb5cefafc3e2246eac4f5a7f2a5cedc90a1eab9c060156af0b5ea1652 SHA512 10df39cedad1e5528872824e22e04791ed0e9edbe3c3592a9d0d0f0ea1fd0e2de720d3dccd9ed2339f9dac64c25750bd279c491269a575f4051c53693a99b779
+EBUILD pycharm-community-2024.3.ebuild 5221 BLAKE2B 866b82662a78f395367ff50bb4358b52e5a5791ab590488966036dd8246a738e32133c5715453e359e3c1d7a6c48c9265567c5af10e9c0f855a1b0262fca3203 SHA512 d7ff8d547fce2db1502bd3d2e72737e2024996556671eaa7a127ebd16f45fea3fd7374aef854348a6cf01dc13ee863c2a84c65a62b6d421004a2dcafd5d38ad2
MISC metadata.xml 305 BLAKE2B a5ee9ceb727e22160e23fc785ddcf2b7b22afd9599e956de38bf4318c4cab2acf5cffa6d1f075ac24d866d407e9412ba02362c9942b3aa34a7276e55cc44f161 SHA512 e67f65a2f5fcb0c7a7bfecdbba77c91844e89f4110ec66bb5838fdf7fb5abb57d141c2a816b7867001fc919c8721fd7837705b9a4f8853ce0728e33096fee19f
diff --git a/dev-util/pycharm-community/pycharm-community-2024.3.ebuild b/dev-util/pycharm-community/pycharm-community-2024.3.ebuild
new file mode 100644
index 000000000000..062fd587be4d
--- /dev/null
+++ b/dev-util/pycharm-community/pycharm-community-2024.3.ebuild
@@ -0,0 +1,198 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop readme.gentoo-r1 wrapper xdg-utils
+
+DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
+
+# NOTE upstream release info
+# https://data.services.jetbrains.com/products?code=PCP,PCC&release.type=release
+# https://data.services.jetbrains.com/products?code=PCP,PCC&release.type=release&fields=name,releases
+
+HOMEPAGE="https://www.jetbrains.com/pycharm/"
+SRC_URI="
+ amd64? (
+ https://download.jetbrains.com/python/${P}.tar.gz
+ )
+ arm64? (
+ https://download.jetbrains.com/python/${P}-aarch64.tar.gz
+ )
+ x86? (
+ https://download.jetbrains.com/python/${P}.tar.gz
+ )
+"
+
+if [[ "${PN}" == *-professional ]]; then
+ S="${WORKDIR}/${PN/%-professional/}-${PV}"
+fi
+
+LICENSE="Apache-2.0 BSD CDDL MIT-with-advertising"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+bundled-jdk"
+
+if [[ "${PN}" == *-professional ]]; then
+ IUSE+=" +bundled-xvfb"
+fi
+
+BDEPEND="
+ dev-util/patchelf
+"
+
+# NOTE
+# The remote-dev-server present in pycharm-professional contains most of the
+# libraries need for the bundled jdk. These are not in the RUNPATH of the jdk.
+# So the dependencies are actually needed.
+RDEPEND="
+ !bundled-jdk? (
+ >=virtual/jre-1.8
+ )
+ bundled-jdk? (
+ app-accessibility/at-spi2-core:2
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ dev-libs/wayland
+ media-libs/alsa-lib
+ media-libs/freetype
+ media-libs/mesa
+ net-print/cups
+ sys-apps/dbus
+ sys-libs/zlib
+ x11-libs/cairo
+ 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/libdrm
+ x11-libs/libxcb
+ x11-libs/libxkbcommon
+ x11-libs/pango
+ )
+"
+
+if [[ "${PN}" == *-professional ]]; then
+RDEPEND+="
+ bundled-xvfb? (
+ dev-libs/libpcre2
+ sys-process/audit
+ )
+ !bundled-xvfb? (
+ x11-base/xorg-server[xvfb]
+ )
+"
+fi
+
+RESTRICT="test"
+
+QA_PREBUILT="opt/${PN}/*"
+
+src_prepare() {
+ default
+
+ rm -v "${S}"/help/ReferenceCardForMac.pdf || die
+
+ rm -v "${S}"/plugins/python-ce/helpers/pydev/_pydevd_{bundle,frame_eval}/*{darwin,win32}* || die
+
+ if ! use amd64; then
+ rm -v "${S}"/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so || die
+ if [[ -d "${S}"/lib/async-profiler/ ]]; then
+ rm -v "${S}"/lib/async-profiler/amd64/libasyncProfiler.so || die
+ fi
+ fi
+ if ! use arm64; then
+ rm -v "${S}"/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_aarch64.so || die
+ if [[ -d "${S}"/lib/async-profiler/ ]]; then
+ rm -v "${S}"/lib/async-profiler/aarch64/libasyncProfiler.so || die
+ fi
+ fi
+ if ! use x86; then
+ rm -v "${S}"/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so || die
+ fi
+
+ 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
+
+ if use bundled-jdk; then
+ patchelf --set-rpath '$ORIGIN/../lib' "jbr/bin/"* || die
+ patchelf --set-rpath '$ORIGIN' "jbr/lib/"{libjcef.so,jcef_helper} || die
+ patchelf --set-rpath '$ORIGIN:$ORIGIN/server' jbr/lib/lib*.so* || die
+ else
+ rm -r "jbr" || die
+ fi
+
+ if [[ "${PN}" == *-professional ]]; then
+ if use bundled-xvfb; then
+ patchelf --set-rpath '$ORIGIN/../lib' "${S}"/plugins/remote-dev-server/selfcontained/bin/{Xvfb,xkbcomp} || die
+ patchelf --set-rpath '$ORIGIN' "${S}"/plugins/remote-dev-server/selfcontained/lib/lib*.so* || die
+ else
+ rm -vr "${S}"/plugins/remote-dev-server/selfcontained || die
+ sed '/export REMOTE_DEV_SERVER_IS_NATIVE_LAUNCHER/a export REMOTE_DEV_SERVER_USE_SELF_CONTAINED_LIBS=1' \
+ -i bin/remote-dev-server.sh || die
+ fi
+ fi
+}
+
+src_configure() {
+ :;
+}
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ local DIR="/opt/${PN}"
+ local JRE_DIR="jbr"
+
+ insinto "${DIR}"
+ doins -r ./*
+
+ fperms 755 "${DIR}"/bin/{format.sh,fsnotifier,inspect.sh,jetbrains_client.sh,ltedit.sh,pycharm,pycharm.sh,restarter}
+
+ if use bundled-jdk; then
+ fperms 755 "${DIR}/${JRE_DIR}"/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,jwebserver,keytool,rmiregistry,serialver}
+ fperms 755 "${DIR}"/"${JRE_DIR}"/lib/{cef_server,chrome-sandbox,jcef_helper,jexec,jspawnhelper}
+ fi
+
+ if [[ "${PN}" == *-professional ]]; then
+ if use bundled-xvfb; then
+ fperms 755 "${DIR}"/plugins/remote-dev-server/selfcontained/bin/{Xvfb,xkbcomp}
+ fi
+ fi
+
+ make_wrapper "${PN}" "${DIR}/bin/pycharm"
+ newicon "bin/${PN/%-*/}.png" "${PN}.png"
+ make_desktop_entry "${PN}" "${PN}" "${PN}"
+
+ readme.gentoo_create_doc
+
+ # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
+ dodir /usr/lib/sysctl.d
+ cat > "${ED}/usr/lib/sysctl.d/30-${PN}-inotify-watches.conf" <<-EOF || die
+ fs.inotify.max_user_watches = 524288"
+ EOF
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/pycharm-professional/Manifest b/dev-util/pycharm-professional/Manifest
index f66d08221d2a..4e7f5af1343c 100644
--- a/dev-util/pycharm-professional/Manifest
+++ b/dev-util/pycharm-professional/Manifest
@@ -2,6 +2,9 @@ AUX README.gentoo 169 BLAKE2B fc7191056cb5de1fedf9a7e9516029e8ee50f7ab3749e05c73
DIST pycharm-professional-2023.2.tar.gz 752661880 BLAKE2B a808ea29be18a5d4da603ce764dbc2ccc854121afc4b063194c0b0c3494cb03e3aec48297e19495d5b658583147f4d0e12514e73c5d4439af6af91b0a38ece0d SHA512 47be9af5d01e157df990a5c745ad12ddebe1963a164f379d3176e9b9cd064a02969b03b27116b38feec08f412857f1f1161015129d7c0c704e05f1fb5d331312
DIST pycharm-professional-2023.3.3-aarch64.tar.gz 817002751 BLAKE2B 75e43700d727bc7cabb2d87ea353cc6644ce66fdb669e52a17a64522f1e883d725ba8671ef664c7d7fb87508083656f42f937d9d7fbb30bacb11c0f7f7074d35 SHA512 a006dc281fb66c92ca2bee5b83f0deb85ca49eff8390a74b3f9869c0767931c83040136118d24b5acde24d30e9de1d3c7a7ff552c4e82331015e5325f3550817
DIST pycharm-professional-2023.3.3.tar.gz 816045880 BLAKE2B 2f967d6aad4ff837da1ed08e74a625c4f59ec9a867f47c112858e7d9d9fb1dcf538da82a4970b7cb0d2e35dfd7f30743ee14aaf2cfadf18fb3db05e5a10f35f8 SHA512 f7c32f8608e235f111ffd83573fb60e7efdac5107ec50564d33885b3c5c0ccc37f951c8df139ac8a23fffe92e51a3b487a37648daa4b801f49529f7d761cda2b
+DIST pycharm-professional-2024.3-aarch64.tar.gz 1141292960 BLAKE2B 7199429f44b7b8b3d4721dafc5cb43afd3a941404f1b55352c18acaf0236351f7414a985d6a632814547e6b092b90dc77e886efd9a5377375a5086cd903b6a3c SHA512 148397f478b15e33f1355d27ec007b347ccba669d6e0141ed39f7065be3857c27b382ef1a7a78c11fc04d12514b724129219af0e3b77403f507a06fc6422b640
+DIST pycharm-professional-2024.3.tar.gz 1141442187 BLAKE2B 463856c3de11867714fd77413597508c15c7aa2cf75039efbbe3b2530cf345c4c9aa161f16d48e5d9301bf04288fdd1a1687f31c5549929e5865387f8aab527b SHA512 5b6c6d1599a337891650fee143ccfb8ff6614c2023c9004adfeed747e7c0d703fe75bfa6982a7b8154a09e0e072e0c98c0d7f47b2ceac88f5dfca6a3d455e277
EBUILD pycharm-professional-2023.2.ebuild 3151 BLAKE2B 1b80812fdf648de43fe2c46df87b16f79df466400e16902175a8eba586d87f24fcd119a0bbe1bc4ec70add920eb739b10798e1e020f4be662630d2138ccfe173 SHA512 7c06eb53f451fc602821f0b61892e105577119bb499e924e6427cf0ffc8d81360303382cf33b368b3d9bffd2bcc228b469a6e0052d7d68f3ba640703c3beaf65
EBUILD pycharm-professional-2023.3.3-r1.ebuild 4214 BLAKE2B 92e8547ddf426cdf954252896cc13663efe3089ef6f1c6ce33a035c76393b9ed4cd1b614a1bb820b15c19362f0060d2b69bcdec35a7bffbc6f0ea38c6970edba SHA512 2f2c130f084e57d8abab6d2afc303b097b2cec1ef10a2461e742ba9249f7ff7d0e09775fb9ca5d2976cfdfa3c83778332c768068fbabc73b0ee2dea0ef491bfe
-MISC metadata.xml 229 BLAKE2B 1b25fb59c17f81a5c4b6dce7e07acb9de3bc64fef368805a0e1b45043dc13ab4898990b02b35d25ec3eb586aa67e236cc56519ed9a6bdb0d940f91b280e83141 SHA512 fcff4719a8e6c3cb446c48872c2278fa50ace7765d204b58d24f9ac0d47cb9fdaa7ed37080290ebc06d8dae864ccfdd8a48c9d9251a69862a6e5b58d5c26969b
+EBUILD pycharm-professional-2024.3.ebuild 5279 BLAKE2B e12f0fe9d41b65e2146678ca525ba476ccdcb96e4be7686e20ce08acf02ec0c611b668eb83e5038c37da1a612dfee7917b95a0abb50e77927b7a960f36badfe3 SHA512 57746ae7bceec1d495e8694832eb4eb545405b7b4942012cdc0a4114ade06828fbaca3d696e67c11f4200bcd6f21c9bd100e13d877ff69503348caed56147f41
+MISC metadata.xml 280 BLAKE2B 92e714ce62188ac31b748740b4fe9d5b542f9548fe61975187cc749d12aeae810a7dec0593ea865416a2140f2a2ac4e32a1625f1d6c9c53341665e4c4ac3eed4 SHA512 3cc841968031fe2f97ddfbeaf0d5e4b137378db848c46be3700f1bbb1cc9fcfc5254427d30ad0bd8ac1c322fc40d25f85fbeb90fcf622b610133b29bc2e4ff44
diff --git a/dev-util/pycharm-professional/metadata.xml b/dev-util/pycharm-professional/metadata.xml
index abe40f18a4e9..99dffcf6de3e 100644
--- a/dev-util/pycharm-professional/metadata.xml
+++ b/dev-util/pycharm-professional/metadata.xml
@@ -4,5 +4,6 @@
<!-- maintainer-needed -->
<use>
<flag name="bundled-jdk">Use bundled jdk</flag>
+ <flag name="bundled-xvfb">Use bundled Xvfb</flag>
</use>
</pkgmetadata>
diff --git a/dev-util/pycharm-professional/pycharm-professional-2024.3.ebuild b/dev-util/pycharm-professional/pycharm-professional-2024.3.ebuild
new file mode 100644
index 000000000000..fc5f98814827
--- /dev/null
+++ b/dev-util/pycharm-professional/pycharm-professional-2024.3.ebuild
@@ -0,0 +1,199 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop readme.gentoo-r1 wrapper xdg-utils
+
+DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
+
+# NOTE upstream release info
+# https://data.services.jetbrains.com/products?code=PCP,PCC&release.type=release
+# https://data.services.jetbrains.com/products?code=PCP,PCC&release.type=release&fields=name,releases
+
+HOMEPAGE="https://www.jetbrains.com/pycharm/"
+SRC_URI="
+ amd64? (
+ https://download.jetbrains.com/python/${P}.tar.gz
+ )
+ arm64? (
+ https://download.jetbrains.com/python/${P}-aarch64.tar.gz
+ )
+ x86? (
+ https://download.jetbrains.com/python/${P}.tar.gz
+ )
+"
+
+if [[ "${PN}" == *-professional ]]; then
+ S="${WORKDIR}/${PN/%-professional/}-${PV}"
+fi
+
+LICENSE="Apache-2.0 BSD CDDL MIT-with-advertising"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+bundled-jdk"
+
+if [[ "${PN}" == *-professional ]]; then
+ IUSE+=" +bundled-xvfb"
+fi
+
+BDEPEND="
+ dev-util/patchelf
+"
+
+# NOTE
+# The remote-dev-server present in pycharm-professional contains most of the
+# libraries need for the bundled jdk. These are not in the RUNPATH of the jdk.
+# So the dependencies are actually needed.
+RDEPEND="
+ !bundled-jdk? (
+ >=virtual/jre-1.8
+ )
+ bundled-jdk? (
+ app-accessibility/at-spi2-core:2
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ dev-libs/wayland
+ media-libs/alsa-lib
+ media-libs/freetype
+ media-libs/mesa
+ net-print/cups
+ sys-apps/dbus
+ sys-libs/zlib
+ x11-libs/cairo
+ 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/libdrm
+ x11-libs/libxcb
+ x11-libs/libxkbcommon
+ x11-libs/pango
+ )
+"
+
+if [[ "${PN}" == *-professional ]]; then
+RDEPEND+="
+ bundled-xvfb? (
+ dev-libs/libpcre2
+ sys-process/audit
+ )
+ !bundled-xvfb? (
+ x11-base/xorg-server[xvfb]
+ )
+"
+fi
+
+RESTRICT="test"
+
+QA_PREBUILT="opt/${PN}/*"
+
+src_prepare() {
+ default
+
+ rm -v "${S}"/help/ReferenceCardForMac.pdf || die
+
+ rm -v "${S}"/plugins/python-ce/helpers/pydev/_pydevd_{bundle,frame_eval}/*{darwin,win32}* || die
+
+ if ! use amd64; then
+ rm -v "${S}"/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so || die
+ if [[ -d "${S}"/lib/async-profiler/ ]]; then
+ rm -v "${S}"/lib/async-profiler/amd64/libasyncProfiler.so || die
+ fi
+ fi
+ if ! use arm64; then
+ rm -v "${S}"/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_aarch64.so || die
+ if [[ -d "${S}"/lib/async-profiler/ ]]; then
+ rm -v "${S}"/lib/async-profiler/aarch64/libasyncProfiler.so || die
+ fi
+ fi
+ if ! use x86; then
+ rm -v "${S}"/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so || die
+ fi
+
+ 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
+
+ if use bundled-jdk; then
+ patchelf --set-rpath '$ORIGIN/../lib' "jbr/bin/"* || die
+ patchelf --set-rpath '$ORIGIN' "jbr/lib/"{libjcef.so,jcef_helper} || die
+ patchelf --set-rpath '$ORIGIN:$ORIGIN/server' jbr/lib/lib*.so* || die
+ else
+ rm -r "jbr" || die
+ fi
+
+ if [[ "${PN}" == *-professional ]]; then
+ if use bundled-xvfb; then
+ patchelf --set-rpath '$ORIGIN/../lib' "${S}"/plugins/remote-dev-server/selfcontained/bin/{Xvfb,xkbcomp} || die
+ patchelf --set-rpath '$ORIGIN' "${S}"/plugins/remote-dev-server/selfcontained/lib/lib*.so* || die
+ else
+ rm -vr "${S}"/plugins/remote-dev-server/selfcontained || die
+ sed '/export REMOTE_DEV_SERVER_IS_NATIVE_LAUNCHER/a export REMOTE_DEV_SERVER_USE_SELF_CONTAINED_LIBS=1' \
+ -i bin/remote-dev-server.sh || die
+ fi
+ fi
+}
+
+src_configure() {
+ :;
+}
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ local DIR="/opt/${PN}"
+ local JRE_DIR="jbr"
+
+ insinto "${DIR}"
+ doins -r ./*
+
+ fperms 755 "${DIR}"/bin/{format.sh,fsnotifier,inspect.sh,jetbrains_client.sh,ltedit.sh,pycharm,pycharm.sh,restarter}
+
+ if use bundled-jdk; then
+ fperms 755 "${DIR}/${JRE_DIR}"/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,jwebserver,keytool,rmiregistry,serialver}
+ fperms 755 "${DIR}"/"${JRE_DIR}"/lib/{cef_server,chrome-sandbox,jcef_helper,jexec,jspawnhelper}
+ fi
+
+ if [[ "${PN}" == *-professional ]]; then
+ if use bundled-xvfb; then
+ fperms 755 "${DIR}"/plugins/remote-dev-server/selfcontained/bin/{Xvfb,xkbcomp}
+ fi
+ fperms 755 "${DIR}" "${DIR}"/bin/remote-dev-server{,.sh}
+ fi
+
+ make_wrapper "${PN}" "${DIR}/bin/pycharm"
+ newicon "bin/${PN/%-*/}.png" "${PN}.png"
+ make_desktop_entry "${PN}" "${PN}" "${PN}"
+
+ readme.gentoo_create_doc
+
+ # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
+ dodir /usr/lib/sysctl.d
+ cat > "${ED}/usr/lib/sysctl.d/30-${PN}-inotify-watches.conf" <<-EOF || die
+ fs.inotify.max_user_watches = 524288"
+ EOF
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/qbs/Manifest b/dev-util/qbs/Manifest
index 83345121b7d9..da502fed5c97 100644
--- a/dev-util/qbs/Manifest
+++ b/dev-util/qbs/Manifest
@@ -1,5 +1,7 @@
AUX qbs-2.3.1-qtver.patch 196 BLAKE2B 6cfabd1bbd16b2e342ff9eeb2748ce2215ed25d18203f59e0f181f465e02dfe1e2416b8ab2b5c8eb3b5aa6ec9e7c37e938e389165b1a995ed7f48233f257af79 SHA512 f3f95fc9d1a96767d9a3e74ac428e9b00f4e460959d04298f3f6ecc99f5eb72a57290e6d248f82d1ba8ca7e655fe729b8320a77da585b145c48ac90b9a315181
AUX qbs-2.4.1-ldconfig.patch 696 BLAKE2B eb0339773ebddbf913e09f6e50fc366b50b8a7974262e6f568da879cd96035d8c93cfe7c8e9a891f4716a5af3ceff27e0a753c5e6ccfe78481d696dd068e7cf7 SHA512 07bd268c6e95c306c1f69e29164e2e54b3290d415a96dac143c9438021acf8a8e42fbb1ae750308560279ac4762984dd74b4e18fe3be84a9c9933c9dd7d1a752
DIST qbs-src-2.4.2.tar.gz 5718110 BLAKE2B 011051b16ec81684cf515e160da706dd2f781077a006e999f6c8bf9c8dc522655e6bd900c833f6fe53a076d83c11424975626e043c673a7d8bc10d7428964af9 SHA512 e584b03e7866991bb5fdfd1caed33beaa9480b820772bdbd0daf049f7d3fbe7d1ab19add520c69fd018e9298ff13ca8dfaae3b76e6245589708b59f976307464
+DIST qbs-src-2.5.0.tar.gz 5726362 BLAKE2B 3757b17750078ceddc45b88688a51b3f6e1659c9c845683a11e92a5acdfa44a6b6cac61aeb551ccde21282fcd971484bdec1e002b8a8c47e5fc6fd9d23523011 SHA512 60bfbac4fa7435da93431be50603bb19fbdf7a5bafc8a3a1129b792d323cbd4e42c2fd7b7b24c30c8a4a2b4b01b65ac72c366e54e01e1c6da2699ff6dedaf35f
EBUILD qbs-2.4.2.ebuild 2463 BLAKE2B e73512996d3dc7a791517c7a14e17bd129472ccd05fe6f0135fcf334663491f531870298e3a5bd591c9e2e25d1697119a97176ec45eb5d897e84f9a31ccb886d SHA512 b20d8b502ce0ac52a80a4226fce67748c719288dfc6cfd042fca8ba9de210c0b784bc0ab99caaba4e03858d5489e3d844d069dd874936266772893192b5060ed
+EBUILD qbs-2.5.0.ebuild 2474 BLAKE2B 434c6312a6c3abbb814a2d43a72dd826039709a740c9cc75923f802282e356f63c66420515f3c05d29acd5cff9b4f3a3e691341718faabf274cefb02ff19e71a SHA512 4ca64c5d6d63ebce83e7cb0ad0588a36590ee8b51dec660c33e441eebfb7fb8f437c9f12183325151fbf4b8eb15bb68e57dfc682fb23d1c8d4318fd5ee58b7c2
MISC metadata.xml 1135 BLAKE2B 389cfca2f13552aa0da4e29204014c678d2e710cc96fed8f68616431d5a5d0b9bcd5505b396f843dd065c66c0bd8d955ae6137637eb19226552b6b36509fe296 SHA512 854fb0ce9d21b6ff61c4ed32efeffda84d31ec809faa830b921804dc59e5d6d49d8b7326877705f94346f677d72cc17be5ed4099a6e51dbf381f7456c57567d6
diff --git a/dev-util/qbs/qbs-2.5.0.ebuild b/dev-util/qbs/qbs-2.5.0.ebuild
new file mode 100644
index 000000000000..23fc1ac717d1
--- /dev/null
+++ b/dev-util/qbs/qbs-2.5.0.ebuild
@@ -0,0 +1,91 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake flag-o-matic python-any-r1 toolchain-funcs
+
+DESCRIPTION="Modern build tool for software projects"
+HOMEPAGE="https://doc.qt.io/qbs/"
+SRC_URI="https://download.qt.io/official_releases/qbs/${PV}/${PN}-src-${PV}.tar.gz"
+S=${WORKDIR}/${PN}-src-${PV}
+
+LICENSE="|| ( LGPL-2.1 LGPL-3 ) Boost-1.0 BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-qt/qt5compat:6
+ dev-qt/qtbase:6[concurrent,gui,network,widgets,xml]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ doc? (
+ $(python_gen_any_dep '
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ ')
+ dev-qt/qttools:6[assistant,qdoc]
+ )
+"
+
+CMAKE_SKIP_TESTS=(
+ # QBS does not inherit toolchain/flags knowledge from cmake, and
+ # while can use ${BUILD_DIR}/bin/qbs-config to improve this it
+ # remains very fickle and will fail in varied ways with clang,
+ # musl, -native-symlinks, and libc++. After consideration it feels
+ # not worth worrying about affected tests here (even if notable).
+ tst_api
+ tst_blackbox # also skips blackbox-* (intended)
+ tst_language
+)
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.3.1-qtver.patch
+ "${FILESDIR}"/${PN}-2.4.1-ldconfig.patch
+)
+
+python_check_deps() {
+ # _find_python_module in cmake/QbsDocumentation.cmake
+ python_has_version "dev-python/beautifulsoup4[${PYTHON_USEDEP}]" &&
+ python_has_version "dev-python/lxml[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ use doc && python-any-r1_pkg_setup
+}
+
+src_configure() {
+ # temporary workaround for musl-1.2.4 (bug #906929), this ideally
+ # needs fixing in qtbase as *64 usage comes from its headers' macros
+ use elibc_musl && append-lfs-flags
+
+ # tests build failure w/ gcc:14 + -O3 (bug #933187, needs looking into)
+ use test && tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] &&
+ replace-flags -O3 -O2
+
+ local mycmakeargs=(
+ -DQBS_DOC_INSTALL_DIR="${EPREFIX}"/usr/share/doc/${PF}
+ -DQBS_INSTALL_HTML_DOCS=$(usex doc)
+ -DQBS_INSTALL_MAN_PAGE=yes
+ -DQBS_INSTALL_QCH_DOCS=$(usex doc)
+ -DQBS_LIB_INSTALL_DIR="$(get_libdir)"
+ -DQT_VERSION_MAJOR=6 #931596
+ -DWITH_TESTS=$(usex test)
+ -DWITH_UNIT_TESTS=$(usex test)
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ local DOCS=( README.md changelogs )
+ cmake_src_install
+
+ use !test || rm -- "${ED}"/usr/bin/{tst_*,qbs_*,clang-format-test} || die
+
+ docompress -x /usr/share/doc/${PF}/qbs.qch
+}