diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-17 16:09:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-17 16:09:59 +0100 |
commit | a538d5e834cfb040c79291bd02474285e27241b8 (patch) | |
tree | d161002cdbdb464136a380a13af78d7197e1880e /dev-util | |
parent | cef073efdce758fc34155284a2f489d79cdcafa9 (diff) |
gentoo auto-resync : 17:05:2023 - 16:09:59
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/Manifest.gz | bin | 68454 -> 68444 bytes | |||
-rw-r--r-- | dev-util/android-studio/Manifest | 10 | ||||
-rw-r--r-- | dev-util/android-studio/android-studio-2021.2.1.14.ebuild | 116 | ||||
-rw-r--r-- | dev-util/android-studio/android-studio-2021.3.1.16.ebuild | 116 | ||||
-rw-r--r-- | dev-util/android-studio/android-studio-2022.1.1.21.ebuild | 126 | ||||
-rw-r--r-- | dev-util/android-studio/android-studio-2022.3.1.14.ebuild (renamed from dev-util/android-studio/android-studio-2022.3.1.13.ebuild) | 0 | ||||
-rw-r--r-- | dev-util/perf/Manifest | 2 | ||||
-rw-r--r-- | dev-util/perf/perf-6.3.ebuild | 268 |
8 files changed, 272 insertions, 366 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz Binary files differindex dd9d5f1b6cdc..a4e5bd0a31ff 100644 --- a/dev-util/Manifest.gz +++ b/dev-util/Manifest.gz diff --git a/dev-util/android-studio/Manifest b/dev-util/android-studio/Manifest index a83e11a06c97..e037b6abaede 100644 --- a/dev-util/android-studio/Manifest +++ b/dev-util/android-studio/Manifest @@ -1,9 +1,3 @@ -DIST android-studio-2021.2.1.14-linux.tar.gz 1010969463 BLAKE2B 24899d0b81303c5f7ad061afd80eac734444b313f40257d20dc99b99f11a867bb92fe7b77428e5431889fc2beabcea58a5875608087a5de96105675c42b2a8ba SHA512 9d9184828a8ca0007e613e53215b0af1abd2c79a482670fe7bbb708f2bcb144b8881ef2d1c89ca8e2528aedc1f3b7d4a40c0c6d3e20a16de520aaf075f6990a7 -DIST android-studio-2021.3.1.16-linux.tar.gz 976205257 BLAKE2B 8854a346b751338bfadac61820a78f7ea9aa87828f9049a22d69221fc3ac2c4a9e6e738b84b2eb81023ceeb7866c35b74d38b0d9c2fca534df6e0947b6699b05 SHA512 4c033e1b5dd68fc73fe203ff19e134cf72d3a8faa9a9ba041bf478e529376f962c31d598b85e43a625fa56ef24f2ab6e13378125a7b710449daaf6d727ab51f5 -DIST android-studio-2022.1.1.21-linux.tar.gz 1014162603 BLAKE2B a3cc78ba4ba869d9615a55a90827171164ab961730681fa48962feeabf6a355930bb32d1822c31fb024f56f3e5d8d6880471505c3b48b1fe507ef15d44e2b0fa SHA512 5e850c6c5bb05923b41e4fafb0a20afcbec884cea427d5bb26a82e767930ef2c4477592e9338b1ea0458a3590d017f057a615749d9b9e1e8b364f67582ef0263 -DIST android-studio-2022.3.1.13-linux.tar.gz 1165578876 BLAKE2B 1d1271d55a00dd4be7c3dee57b960f4b48d8132764fc50f20dcb1a323efe74a0d19b24b62e27b2005aa76262c85d8cbe16e5d70f2d56c7036722396df53c4117 SHA512 80cb8a09f3c2bf0a31b0df7b18099440e35dc61d60c3763be380402160d69775082a1b9c6f66f1c4823e76cac248c63974faa93ca96b7247af4cdd43d65f0fda -EBUILD android-studio-2021.2.1.14.ebuild 4004 BLAKE2B 556a288dbd72754205081405ab41a0461d66abb9c5dc96ecf5b41e093b395482057f7a5b24fa809dc5b5be123a91e33018166c9c872e6a17a85caefd271e1620 SHA512 f06725bface0c1deba713d160986a9abf785541e1fea2b93dca81333ac5b499796bb4288fd970bc6d90ad8bbe9736b03428cbaeaff97690e4cd14115db922b0e -EBUILD android-studio-2021.3.1.16.ebuild 4035 BLAKE2B 9fb275ec17ae3836cd734cd0d03f20e6a24d95c8d7351fc209121f6bb8d5138fb39e410db314511b9658ab1e58872eb9b05ba9868a08552e7c48c010ec29c380 SHA512 caf555138a82bf2a17acead7be88607d8937d87014ac0284dcd9ff3d7c4f60646af618f712e845e4500de23ecbd16f7f32979ebd843554788c49a0d6160a4f54 -EBUILD android-studio-2022.1.1.21.ebuild 4446 BLAKE2B 9c880b0b2eb6aa784f32c85307d0b6b32287d52e2c1154eac45299bab547b615039c47ad23b03f14ab639a6cbb430bbe7b54bc849681e0d6f0d1f553dc33a52d SHA512 2575fac1330f709304c69384953371e5c5f4fdefea69f09f299f16af036236b2d60d029ee98aeacc8ef45a0362d154225c61ec5ede889daaa4cd1609b60ada63 -EBUILD android-studio-2022.3.1.13.ebuild 4338 BLAKE2B 885f3fe8434a60fc6d9b8308440bc7f69d554ce6fba3e6946595c6407d4bf2d82dad099e0a4517710bb3c9bfff7ad8c01ba958bb961dd5a8bb6d7e9b219fac10 SHA512 ad32f8e289351996dccc9b9f0e8e748f2041973f4a425b470902a524fabc270486b53f50ca71c64c9c4bf8f5d99fd871af4d47f7f78dcca4c5d81d38638e3c29 +DIST android-studio-2022.3.1.14-linux.tar.gz 1165562537 BLAKE2B 635b91fdbf390d4f24db21d01ac34092117b837dfbf569bfad6499efc93578e2d83b4451ad316a29b647edbe8dbee02f1ac195769ee2fd7976fe8b43cfa3886e SHA512 e258cd3ba0f371c8950b61953586418982e34c1cd7bd7e9538ca0dfe68544ea178e68faaa1cd967df1b53d63f29fcbacb2f04805742e9028296233531c2aa43e +EBUILD android-studio-2022.3.1.14.ebuild 4338 BLAKE2B 885f3fe8434a60fc6d9b8308440bc7f69d554ce6fba3e6946595c6407d4bf2d82dad099e0a4517710bb3c9bfff7ad8c01ba958bb961dd5a8bb6d7e9b219fac10 SHA512 ad32f8e289351996dccc9b9f0e8e748f2041973f4a425b470902a524fabc270486b53f50ca71c64c9c4bf8f5d99fd871af4d47f7f78dcca4c5d81d38638e3c29 MISC metadata.xml 298 BLAKE2B 8f13e01e8c5a24c9af764e8882e2d5677ebf485cad143f35720ede0d491f2c09fd009ce48433cd33f863fb618d6413eac97e07a6d3526f5c8e679d9e51995908 SHA512 2c9d3c5d14e2499fac58df1d3cb2844172833f371fe4d557791efc0848b879191bca36aa772792cea6edd8f6e3be83452a188c0db043906a46c87af0dcacd4e2 diff --git a/dev-util/android-studio/android-studio-2021.2.1.14.ebuild b/dev-util/android-studio/android-studio-2021.2.1.14.ebuild deleted file mode 100644 index 2ecfe33bfb0e..000000000000 --- a/dev-util/android-studio/android-studio-2021.2.1.14.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop wrapper - -RESTRICT="strip" - -QA_PREBUILT=" - opt/${PN}/bin/* - opt/${PN}/jre/bin/* - opt/${PN}/jre/lib/* - opt/${PN}/jre/lib/jli/* - opt/${PN}/jre/lib/server/* - opt/${PN}/lib/pty4j-native/linux/*/* - opt/${PN}/plugins/android/resources/installer/*/* - opt/${PN}/plugins/android/resources/native/* - opt/${PN}/plugins/android/resources/perfetto/*/* - opt/${PN}/plugins/android/resources/simpleperf/*/* - opt/${PN}/plugins/android/resources/trace_processor_daemon/* - opt/${PN}/plugins/android/resources/transport/*/* - opt/${PN}/plugins/android/resources/transport/native/agent/*/* - opt/${PN}/plugins/android-ndk/resources/lldb/android/*/* - opt/${PN}/plugins/android-ndk/resources/lldb/bin/* - opt/${PN}/plugins/android-ndk/resources/lldb/lib/python3.9/lib-dynload/* - opt/${PN}/plugins/android-ndk/resources/lldb/lib64/* - opt/${PN}/plugins/design-tools/resources/layoutlib/data/linux/lib64/* - opt/${PN}/plugins/c-clangd/bin/clang/linux/* - opt/${PN}/plugins/webp/lib/libwebp/linux/* -" - -DESCRIPTION="Android development environment based on IntelliJ IDEA" -HOMEPAGE="https://developer.android.com/studio" -SRC_URI="https://redirector.gvt1.com/edgedl/android/studio/ide-zips/${PV}/${P}-linux.tar.gz" -#SRC_URI="https://redirector.gvt1.com/edgedl/android/studio/ide-zips/${PV}/${PN}-${PV}-linux.tar.gz" - -LICENSE="Apache-2.0 android BSD BSD-2 CDDL-1.1 CPL-0.5 - EPL-1.0 GPL-2 GPL-2+ JDOM IJG LGPL-2.1 MIT - MPL-1.1 MPL-2.0 NPL-1.1 OFL ZLIB" - -SLOT="0" -IUSE="selinux" -KEYWORDS="~amd64 ~x86" - -RDEPEND="${DEPEND} - selinux? ( sec-policy/selinux-android ) - >=app-arch/bzip2-1.0.6-r4 - >=dev-libs/expat-2.1.0-r3 - >=dev-libs/libffi-3.0.13-r1 - >=media-libs/fontconfig-2.10.92 - >=media-libs/freetype-2.5.5 - >=media-libs/libpng-1.2.51 - >=media-libs/mesa-10.2.8[X(+)] - || ( gnome-extra/zenity kde-apps/kdialog x11-apps/xmessage x11-libs/libnotify ) - sys-libs/ncurses-compat:5[tinfo] - >=sys-libs/zlib-1.2.8-r1 - >=x11-libs/libX11-1.6.2 - >=x11-libs/libXau-1.0.7-r1 - >=x11-libs/libXdamage-1.1.4-r1 - >=x11-libs/libXdmcp-1.1.1-r1 - >=x11-libs/libXext-1.3.2 - >=x11-libs/libXfixes-5.0.1 - >=x11-libs/libXrender-0.9.8 - >=x11-libs/libXxf86vm-1.1.3 - >=x11-libs/libdrm-2.4.46 - >=x11-libs/libxcb-1.9.1 - >=x11-libs/libxshmfence-1.1 - virtual/libcrypt:= -" - -S=${WORKDIR}/${PN} - -src_compile() { - :; -} - -src_install() { - local dir="/opt/${PN}" - insinto "${dir}" - doins -r * - - fperms 755 "${dir}"/bin/{fsnotifier,format.sh,game-tools.sh,inspect.sh,ltedit.sh,profiler.sh,studio.sh,printenv.py,restart.py} - fperms -R 755 "${dir}"/bin/{helpers,lldb} - fperms -R 755 "${dir}"/jre/bin - fperms 755 "${dir}"/jre/lib/{jexec,jspawnhelper} - fperms -R 755 "${dir}"/plugins/Kotlin/kotlinc/bin - fperms -R 755 "${dir}"/plugins/android/resources/installer - fperms -R 755 "${dir}"/plugins/android/resources/perfetto - fperms -R 755 "${dir}"/plugins/android/resources/simpleperf - fperms -R 755 "${dir}"/plugins/android/resources/trace_processor_daemon - fperms -R 755 "${dir}"/plugins/android/resources/transport/{arm64-v8a,armeabi-v7a,x86,x86_64} - fperms -R 755 "${dir}"/plugins/android-ndk/resources/lldb/{android,bin,lib,shared} - fperms 755 "${dir}"/plugins/c-clangd/bin/clang/linux/{clang-tidy,clangd} - fperms -R 755 "${dir}"/plugins/terminal/{,fish} - fperms 755 "${dir}"/plugins/textmate/lib/bundles/git/src/{askpass-empty.sh,askpass.sh} - - newicon "bin/studio.png" "${PN}.png" - make_wrapper ${PN} ${dir}/bin/studio.sh - make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE" "StartupWMClass=jetbrains-studio" -} - -pkg_postrm() { - elog "Android studio data files were not removed." - elog "If there will be no other programs using them anymore" - elog "(especially another flavor of Android Studio)" - elog " remove manually following folders:" - elog "" - elog " ~/.android/" - elog " ~/.config/Google/AndroidStudio*/" - elog " ~/Android/" - elog "" - elog "Also, if there are no other programs using Gradle, remove:" - elog "" - elog " ~/.gradle/" -} diff --git a/dev-util/android-studio/android-studio-2021.3.1.16.ebuild b/dev-util/android-studio/android-studio-2021.3.1.16.ebuild deleted file mode 100644 index 6ac0460a99b0..000000000000 --- a/dev-util/android-studio/android-studio-2021.3.1.16.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop wrapper - -RESTRICT="bindist mirror strip" - -QA_PREBUILT=" - opt/${PN}/bin/* - opt/${PN}/jre/bin/* - opt/${PN}/jre/lib/* - opt/${PN}/jre/lib/jli/* - opt/${PN}/jre/lib/server/* - opt/${PN}/lib/pty4j-native/linux/*/* - opt/${PN}/plugins/android/resources/installer/*/* - opt/${PN}/plugins/android/resources/native/* - opt/${PN}/plugins/android/resources/perfetto/*/* - opt/${PN}/plugins/android/resources/simpleperf/*/* - opt/${PN}/plugins/android/resources/trace_processor_daemon/* - opt/${PN}/plugins/android/resources/transport/*/* - opt/${PN}/plugins/android/resources/transport/native/agent/*/* - opt/${PN}/plugins/android-ndk/resources/lldb/android/*/* - opt/${PN}/plugins/android-ndk/resources/lldb/bin/* - opt/${PN}/plugins/android-ndk/resources/lldb/lib/python3.9/lib-dynload/* - opt/${PN}/plugins/android-ndk/resources/lldb/lib64/* - opt/${PN}/plugins/design-tools/resources/layoutlib/data/linux/lib64/* - opt/${PN}/plugins/c-clangd/bin/clang/linux/* - opt/${PN}/plugins/webp/lib/libwebp/linux/* -" - -DESCRIPTION="Android development environment based on IntelliJ IDEA" -HOMEPAGE="https://developer.android.com/studio" -SRC_URI="https://redirector.gvt1.com/edgedl/android/studio/ide-zips/${PV}/${P}-linux.tar.gz" -#SRC_URI="https://redirector.gvt1.com/edgedl/android/studio/ide-zips/${PV}/${PN}-${PV}-linux.tar.gz" - -LICENSE="Apache-2.0 android BSD BSD-2 CDDL-1.1 CPL-0.5 - EPL-1.0 GPL-2 GPL-2+ JDOM IJG LGPL-2.1 MIT - MPL-1.1 MPL-2.0 NPL-1.1 OFL ZLIB" - -SLOT="0" -IUSE="selinux" -KEYWORDS="~amd64 ~x86" - -RDEPEND="${DEPEND} - selinux? ( sec-policy/selinux-android ) - >=app-arch/bzip2-1.0.8-r3 - >=dev-libs/expat-2.4.8 - >=dev-libs/libffi-3.4.2-r2 - >=media-libs/fontconfig-2.14.0-r1 - >=media-libs/freetype-2.12.1-r1 - >=media-libs/libpng-1.6.37-r2 - >=media-libs/mesa-22.1.3[X(+)] - || ( gnome-extra/zenity kde-apps/kdialog x11-apps/xmessage x11-libs/libnotify ) - sys-libs/ncurses-compat:5[tinfo] - >=sys-libs/zlib-1.2.12-r3 - >=x11-libs/libX11-1.8.1 - >=x11-libs/libXau-1.0.9-r1 - >=x11-libs/libXdamage-1.1.5 - >=x11-libs/libXdmcp-1.1.3-r1 - >=x11-libs/libXext-1.3.4 - >=x11-libs/libXfixes-6.0.0 - >=x11-libs/libXrender-0.9.10-r2 - >=x11-libs/libXxf86vm-1.1.4-r2 - >=x11-libs/libdrm-2.4.112 - >=x11-libs/libxcb-1.15-r1 - >=x11-libs/libxshmfence-1.3-r2 - virtual/libcrypt:= -" - -S=${WORKDIR}/${PN} - -src_compile() { - :; -} - -src_install() { - local dir="/opt/${PN}" - insinto "${dir}" - doins -r * - - fperms 755 "${dir}"/bin/{fsnotifier,format.sh,game-tools.sh,inspect.sh,ltedit.sh,profiler.sh,studio.sh,printenv.py,restart.py} - fperms -R 755 "${dir}"/bin/{helpers,lldb} - fperms -R 755 "${dir}"/jre/bin - fperms 755 "${dir}"/jre/lib/{jexec,jspawnhelper} - fperms -R 755 "${dir}"/plugins/Kotlin/kotlinc/bin - fperms -R 755 "${dir}"/plugins/android/resources/installer - fperms -R 755 "${dir}"/plugins/android/resources/perfetto - fperms -R 755 "${dir}"/plugins/android/resources/simpleperf - fperms -R 755 "${dir}"/plugins/android/resources/trace_processor_daemon - fperms -R 755 "${dir}"/plugins/android/resources/transport/{arm64-v8a,armeabi-v7a,x86,x86_64} - fperms -R 755 "${dir}"/plugins/android-ndk/resources/lldb/{android,bin,lib,shared} - fperms 755 "${dir}"/plugins/c-clangd/bin/clang/linux/{clang-tidy,clangd} - fperms -R 755 "${dir}"/plugins/terminal/{,fish} - fperms 755 "${dir}"/plugins/textmate/lib/bundles/git/src/{askpass-empty.sh,askpass.sh} - - newicon "bin/studio.png" "${PN}.png" - make_wrapper ${PN} ${dir}/bin/studio.sh - make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE" "StartupWMClass=jetbrains-studio" -} - -pkg_postrm() { - elog "Android studio data files were not removed." - elog "If there will be no other programs using them anymore" - elog "(especially another flavor of Android Studio)" - elog " remove manually following folders:" - elog "" - elog " ~/.android/" - elog " ~/.config/Google/AndroidStudio*/" - elog " ~/Android/" - elog "" - elog "Also, if there are no other programs using Gradle, remove:" - elog "" - elog " ~/.gradle/" -} diff --git a/dev-util/android-studio/android-studio-2022.1.1.21.ebuild b/dev-util/android-studio/android-studio-2022.1.1.21.ebuild deleted file mode 100644 index 5cd01065fae6..000000000000 --- a/dev-util/android-studio/android-studio-2022.1.1.21.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop wrapper - -RESTRICT="bindist mirror strip" - -QA_PREBUILT=" - opt/${PN}/bin/* - opt/${PN}/jbr/bin/* - opt/${PN}/jbr/lib/* - opt/${PN}/jbr/lib/jli/* - opt/${PN}/jbr/lib/server/* - opt/${PN}/lib/pty4j-native/linux/*/* - opt/${PN}/plugins/android/resources/installer/*/* - opt/${PN}/plugins/android/resources/native/* - opt/${PN}/plugins/android/resources/perfetto/*/* - opt/${PN}/plugins/android/resources/screen-sharing-agent/*/* - opt/${PN}/plugins/android/resources/simpleperf/*/* - opt/${PN}/plugins/android/resources/trace_processor_daemon/* - opt/${PN}/plugins/android/resources/transport/*/* - opt/${PN}/plugins/android/resources/transport/native/agent/*/* - opt/${PN}/plugins/android-ndk/resources/lldb/android/*/* - opt/${PN}/plugins/android-ndk/resources/lldb/bin/* - opt/${PN}/plugins/android-ndk/resources/lldb/lib/python3.9/lib-dynload/* - opt/${PN}/plugins/android-ndk/resources/lldb/lib64/* - opt/${PN}/plugins/design-tools/resources/layoutlib/data/linux/lib64/* - opt/${PN}/plugins/c-clangd/bin/clang/linux/* - opt/${PN}/plugins/webp/lib/libwebp/linux/* -" - -DESCRIPTION="Android development environment based on IntelliJ IDEA" -HOMEPAGE="https://developer.android.com/studio" -SRC_URI="https://redirector.gvt1.com/edgedl/android/studio/ide-zips/${PV}/${P}-linux.tar.gz" - -LICENSE="Apache-2.0 android BSD BSD-2 CDDL-1.1 CPL-0.5 - EPL-1.0 GPL-2 GPL-2+ JDOM IJG LGPL-2.1 MIT - MPL-1.1 MPL-2.0 NPL-1.1 OFL ZLIB" -SLOT="0" -IUSE="selinux" -KEYWORDS="~amd64 ~x86" - -RDEPEND="${DEPEND} - selinux? ( sec-policy/selinux-android ) - >=app-arch/bzip2-1.0.8-r4 - >=dev-libs/expat-2.5.0 - >=dev-libs/libffi-3.4.4 - >=media-libs/fontconfig-2.14.0-r1 - >=media-libs/freetype-2.12.1-r1 - >=media-libs/libpng-1.6.39 - >=media-libs/mesa-22.2.5[X(+)] - || ( gnome-extra/zenity kde-apps/kdialog x11-apps/xmessage x11-libs/libnotify ) - sys-libs/ncurses-compat:5[tinfo] - >=sys-libs/zlib-1.2.13-r1 - >=x11-libs/libX11-1.8.1 - >=x11-libs/libXau-1.0.11 - >=x11-libs/libXdamage-1.1.6 - >=x11-libs/libXdmcp-1.1.4-r2 - >=x11-libs/libXext-1.3.5 - >=x11-libs/libXfixes-6.0.0 - >=x11-libs/libXrender-0.9.11 - >=x11-libs/libXxf86vm-1.1.5 - >=x11-libs/libdrm-2.4.114 - >=x11-libs/libxcb-1.15-r1 - >=x11-libs/libxshmfence-1.3.2 - virtual/libcrypt:= -" - -S=${WORKDIR}/${PN} - -src_compile() { - :; -} - -src_install() { - local dir="/opt/${PN}" - insinto "${dir}" - doins -r * - - fperms 755 "${dir}"/bin/{fsnotifier,format.sh,game-tools.sh,inspect.sh,ltedit.sh,profiler.sh,remote-dev-server.sh,restart.py,studio.sh} - fperms -R 755 "${dir}"/bin/{helpers,lldb} - fperms -R 755 "${dir}"/jbr/bin - fperms 755 "${dir}"/jbr/lib/{jexec,jspawnhelper} - fperms -R 755 "${dir}"/plugins/Kotlin/kotlinc/bin - fperms -R 755 "${dir}"/plugins/android/resources/installer - fperms -R 755 "${dir}"/plugins/android/resources/perfetto - fperms -R 755 "${dir}"/plugins/android/resources/simpleperf - fperms -R 755 "${dir}"/plugins/android/resources/trace_processor_daemon - fperms -R 755 "${dir}"/plugins/android/resources/transport/{arm64-v8a,armeabi-v7a,x86,x86_64} - fperms -R 755 "${dir}"/plugins/android-ndk/resources/lldb/{android,bin,lib,shared} - fperms 755 "${dir}"/plugins/c-clangd/bin/clang/linux/{clang-tidy,clangd} - fperms -R 755 "${dir}"/plugins/terminal/{,fish} - fperms 755 "${dir}"/plugins/textmate/lib/bundles/git/src/{askpass-empty.sh,askpass.sh} - - newicon "bin/studio.png" "${PN}.png" - make_wrapper ${PN} ${dir}/bin/studio.sh - make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE" "StartupWMClass=jetbrains-studio" - - # https://developer.android.com/studio/command-line/variables - newenvd - 99android-studio <<-EOF - # Configuration file android-studio - STUDIO_JDK="${dir}/jbr" - EOF - - # 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-android-studio-inotify-watches.conf" || die -} - -pkg_postrm() { - elog "Android Studio data files were not removed." - elog "If there will be no other programs using them anymore" - elog "(especially another flavor of Android Studio)" - elog "remove manually following folders:" - elog "" - elog " ~/.android/" - elog " ~/.config/Google/AndroidStudio*/" - elog " ~/.local/share/Google/AndroidStudio*/" - elog " ~/Android/" - elog "" - elog "Also, if there are no other programs using Gradle, remove:" - elog "" - elog " ~/.gradle/" -} diff --git a/dev-util/android-studio/android-studio-2022.3.1.13.ebuild b/dev-util/android-studio/android-studio-2022.3.1.14.ebuild index 2b1e3ce86fba..2b1e3ce86fba 100644 --- a/dev-util/android-studio/android-studio-2022.3.1.13.ebuild +++ b/dev-util/android-studio/android-studio-2022.3.1.14.ebuild diff --git a/dev-util/perf/Manifest b/dev-util/perf/Manifest index d05eb3d1dad8..dd74d3270a2a 100644 --- a/dev-util/perf/Manifest +++ b/dev-util/perf/Manifest @@ -4,8 +4,10 @@ AUX perf-6.0-clang.patch 1862 BLAKE2B e88655e51cb785b80cd44fefb73bb7668bf6d57205 DIST linux-5.19.tar.xz 131581464 BLAKE2B 4db03a6830a3b3bbf0837e1912182a443d9a4aa8af20a12e6ec814ed708038452d3c0ccee1258cca671c464d76461536363a8adc56e9d098c9a44ae3484a297a SHA512 00313b2f9b82d2dc3fb8294007cf7d7599d254b717ed2de23c81fa7a1bbcbc2798ad286cb94e2f7f5bd54132d1d764facd90d30f79dbcc6616cc7f926adc2623 DIST linux-6.0.tar.xz 133886176 BLAKE2B c09a9c877ac0fac83dc31d2d04d96f0a3331d4ed78e3ad4edfd4dc077e1c11d0c49f419fdac4008b5c93d1b09c2b724e12ef0b38371ad0962908abf85dfa95fa SHA512 bac41a7aeb6e809616cee2f13dcd1c45e829dfd1ccf60aee1dc4c46b1e28532f4485c7d819a32940de84fdfbf89db80a4e919bce8a74b2948c5a01551771b714 DIST linux-6.2.tar.xz 136430892 BLAKE2B 05b63254734ea685db437cb1c00a6da63eee74d7e99f4ed2d074aaa01ac4487813ab297d337a6855cdbcbb33346b631c4256ee3b06191adfb1be3615a56bdd6d SHA512 a01bee0b968b95183934fe3504516be7ef5811944a061f5aed05ecebaa27b5eb64e33232fd0a8dd622b3c8743bfe462ef7e464d381734d111a0ad6a6d9f66ddd +DIST linux-6.3.tar.xz 136891752 BLAKE2B f1887c8924efa8d0cb14c4e604affd0b0168bcf20f56a37c027405c7bc11aba822a43fcb38ccb55a81a26f747d00e1ab5a6554818affbf1e1c7ef5220150fc69 SHA512 768979440f4907ba64d4481b383d6101faf208f27a0b897156123aa278c5743fe3c4f61945b2541429c532d45382aaee8899ea9d44a1d2895bfbb79bfd937f65 DIST perf-5.19-binutils-2.39-patches.tar.xz 5612 BLAKE2B ec3aeadc3e2508f33dddbb419f434885b39b8220d294f3845f0bc96282923ff46dca126a04c732b8286752e56087ba5b2c5ad9526884f6d0b8b6df5665121e5e SHA512 af676e5a600e227d85f89a5ee0cfacfe1845aa56c27ef9da3ebaf578362d7e741375d30565759123b33b86d36bc9981c8c4cda113af32745cc59cf4a9275e73b EBUILD perf-5.19-r1.ebuild 8078 BLAKE2B 675f034ee75f7f396ccba6767389c8c3451b1ad65d3d2a6bd60f7a51542f1aa3ee294752c860a908c1ebd691241ca43932b357251d4d9a2f5df8746f3c29081f SHA512 57f560689fd821c7138c3e00299fa97340bc591cd4e135b5a7ea4d14f4719a8716246dd9202d966e913fb2da761255d0f1af4a8fd16cbd06c4875e6557702a49 EBUILD perf-6.0-r1.ebuild 7536 BLAKE2B 251899b477331f4dd497b719dac3e48de878c291fc99182ba9c7a33119be2ffc7b5e43887a337c2f4bbea47e0b78ee38f3d48752d76e66809528153b88248780 SHA512 4da4de060dfba27d8db0871b21b19181eea6755cd76d15c91d511d2b486b2b70a3db68382811992511545fa9ed0e78ca032b28793e24069b84f04fca16d6d04f EBUILD perf-6.2-r1.ebuild 7540 BLAKE2B 3ff6c2d34a8703a43e4aae7085dd3f6442f282d7d1da4ef0014085f23c11f8c72dbef87e3073b1d12401e0ae9dbebd2976656d4e34e61faf3cacc9ddaa21fcbc SHA512 19155d0113bff382d4c0c4df712734562b53e52087c0a7d3e16adaaed1ca7e1d384b7527973de31363a87e596b902ef422b4f9b9bd718a6cd9d0557d2a4dfe69 +EBUILD perf-6.3.ebuild 7540 BLAKE2B 3ff6c2d34a8703a43e4aae7085dd3f6442f282d7d1da4ef0014085f23c11f8c72dbef87e3073b1d12401e0ae9dbebd2976656d4e34e61faf3cacc9ddaa21fcbc SHA512 19155d0113bff382d4c0c4df712734562b53e52087c0a7d3e16adaaed1ca7e1d384b7527973de31363a87e596b902ef422b4f9b9bd718a6cd9d0557d2a4dfe69 MISC metadata.xml 1381 BLAKE2B 99d6c9db46b79ad7abd993c123f826dbe3f5e7c33fea98139a7fc694fe4d81e67887873e9edb390d63e65ca351033a8bd62d799fac946e2334188c2a4b776328 SHA512 a952ee2f4173bd2957038614c6ebaa44ff20bcf57f83f8fc5eabbaced667a7254a3e326e0fca541f1ce10bcc4e1d0df0b46600268bf38baf39bb2dda2bb3e41d diff --git a/dev-util/perf/perf-6.3.ebuild b/dev-util/perf/perf-6.3.ebuild new file mode 100644 index 000000000000..8a46cf67337d --- /dev/null +++ b/dev-util/perf/perf-6.3.ebuild @@ -0,0 +1,268 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit bash-completion-r1 estack llvm toolchain-funcs python-r1 linux-info + +DESCRIPTION="Userland tools for Linux Performance Counters" +HOMEPAGE="https://perf.wiki.kernel.org/" + +LINUX_V="${PV:0:1}.x" +if [[ ${PV} == *_rc* ]] ; then + LINUX_VER=$(ver_cut 1-2).$(($(ver_cut 3)-1)) + PATCH_VERSION=$(ver_cut 1-3) + LINUX_PATCH=patch-${PV//_/-}.xz + SRC_URI="https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/testing/${LINUX_PATCH} + https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/testing/v${PATCH_VERSION}/${LINUX_PATCH}" +elif [[ ${PV} == *.*.* ]] ; then + # stable-release series + LINUX_VER=$(ver_cut 1-2) + LINUX_PATCH=patch-${PV}.xz + SRC_URI="https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/${LINUX_PATCH}" +else + LINUX_VER=${PV} + SRC_URI="" +fi + +LINUX_SOURCES="linux-${LINUX_VER}.tar.xz" +SRC_URI+=" https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/${LINUX_SOURCES}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="audit babeltrace clang crypt debug +doc gtk java libpfm lzma numa perl python slang systemtap unwind zlib zstd" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# setuptools (and Python) are always needed even if not building Python bindings +BDEPEND=" + ${LINUX_PATCH+dev-util/patchutils} + ${PYTHON_DEPS} + dev-python/setuptools[${PYTHON_USEDEP}] + sys-devel/bison + sys-devel/flex + virtual/pkgconfig + doc? ( + app-text/asciidoc + app-text/sgml-common + app-text/xmlto + sys-process/time + ) +" + +RDEPEND="audit? ( sys-process/audit ) + babeltrace? ( dev-util/babeltrace ) + crypt? ( virtual/libcrypt:= ) + clang? ( + sys-devel/clang:= + sys-devel/llvm:= + ) + gtk? ( x11-libs/gtk+:2 ) + java? ( virtual/jre:* ) + libpfm? ( dev-libs/libpfm ) + lzma? ( app-arch/xz-utils ) + numa? ( sys-process/numactl ) + perl? ( dev-lang/perl:= ) + python? ( ${PYTHON_DEPS} ) + slang? ( sys-libs/slang ) + systemtap? ( dev-util/systemtap ) + unwind? ( sys-libs/libunwind ) + zlib? ( sys-libs/zlib ) + zstd? ( app-arch/zstd ) + dev-libs/elfutils + sys-libs/binutils-libs:=" + +DEPEND="${RDEPEND} + >=sys-kernel/linux-headers-5.10 + java? ( virtual/jdk ) +" + +S_K="${WORKDIR}/linux-${LINUX_VER}" +S="${S_K}/tools/perf" + +CONFIG_CHECK="~PERF_EVENTS ~KALLSYMS" + +QA_FLAGS_IGNORED=( + 'usr/bin/perf-read-vdso32' # not linked with anything except for libc + 'usr/libexec/perf-core/dlfilters/.*' # plugins +) + +pkg_pretend() { + if ! use doc ; then + ewarn "Without the doc USE flag you won't get any documentation nor man pages." + ewarn "And without man pages, you won't get any --help output for perf and its" + ewarn "sub-tools." + fi +} + +pkg_setup() { + use clang && llvm_pkg_setup + # We enable python unconditionally as libbpf always generates + # API headers using python script + python_setup +} + +# src_unpack and src_prepare are copied to dev-util/bpftool since +# it's building from the same tarball, please keep it in sync with bpftool +src_unpack() { + local paths=( + tools/arch tools/build tools/include tools/lib tools/perf tools/scripts + scripts include lib "arch/*/lib" + ) + + # We expect the tar implementation to support the -j option (both + # GNU tar and libarchive's tar support that). + echo ">>> Unpacking ${LINUX_SOURCES} (${paths[*]}) to ${PWD}" + gtar --wildcards -xpf "${DISTDIR}"/${LINUX_SOURCES} \ + "${paths[@]/#/linux-${LINUX_VER}/}" || die + + if [[ -n ${LINUX_PATCH} ]] ; then + eshopts_push -o noglob + ebegin "Filtering partial source patch" + filterdiff -p1 ${paths[@]/#/-i } -z "${DISTDIR}"/${LINUX_PATCH} \ + > ${P}.patch + eend $? || die "filterdiff failed" + eshopts_pop + fi + + local a + for a in ${A}; do + [[ ${a} == ${LINUX_SOURCES} ]] && continue + [[ ${a} == ${LINUX_PATCH} ]] && continue + unpack ${a} + done +} + +src_prepare() { + default + if [[ -n ${LINUX_PATCH} ]] ; then + pushd "${S_K}" >/dev/null || die + eapply "${WORKDIR}"/${P}.patch + popd || die + fi + + pushd "${S_K}" >/dev/null || die + eapply "${FILESDIR}"/perf-6.0-clang.patch + eapply "${FILESDIR}"/perf-6.0-c++17.patch + popd || die + + # Drop some upstream too-developer-oriented flags and fix the + # Makefile in general + sed -i \ + -e "s@\$(sysconfdir_SQ)/bash_completion.d@$(get_bashcompdir)@" \ + "${S}"/Makefile.perf || die + # A few places still use -Werror w/out $(WERROR) protection. + sed -i -e 's@-Werror@@' \ + "${S}"/Makefile.perf "${S_K}"/tools/lib/bpf/Makefile \ + "${S_K}"/tools/lib/perf/Makefile || die + + # Avoid the call to make kernelversion + sed -i -e '/PERF-VERSION-GEN/d' Makefile.perf || die + echo "#define PERF_VERSION \"${PV}\"" > PERF-VERSION-FILE + + # The code likes to compile local assembly files which lack ELF markings. + find -name '*.S' -exec sed -i '$a.section .note.GNU-stack,"",%progbits' {} + +} + +puse() { usex $1 "" no; } +perf_make() { + # The arch parsing is a bit funky. The perf tools package is integrated + # into the kernel, so it wants an ARCH that looks like the kernel arch, + # but it also wants to know about the split value -- i386/x86_64 vs just + # x86. We can get that by telling the func to use an older linux version. + # It's kind of a hack, but not that bad ... + + # LIBDIR sets a search path of perf-gtk.so. Bug 515954 + + local arch=$(tc-arch-kernel) + local java_dir + use java && java_dir="${EPREFIX}/etc/java-config-2/current-system-vm" + # FIXME: NO_CORESIGHT + emake V=1 VF=1 \ + HOSTCC="$(tc-getBUILD_CC)" HOSTLD="$(tc-getBUILD_LD)" \ + CC="$(tc-getCC)" CXX="$(tc-getCXX)" AR="$(tc-getAR)" LD="$(tc-getLD)" NM="$(tc-getNM)" \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" \ + prefix="${EPREFIX}/usr" bindir_relative="bin" \ + tipdir="share/doc/${PF}" \ + EXTRA_CFLAGS="${CFLAGS}" \ + EXTRA_LDFLAGS="${LDFLAGS}" \ + ARCH="${arch}" \ + JDIR="${java_dir}" \ + LIBCLANGLLVM=$(usex clang 1 "") \ + LIBPFM4=$(usex libpfm 1 "") \ + NO_AUXTRACE="" \ + NO_BACKTRACE="" \ + NO_CORESIGHT=1 \ + NO_DEMANGLE= \ + GTK2=$(usex gtk 1 "") \ + feature-gtk2-infobar=$(usex gtk 1 "") \ + NO_JVMTI=$(puse java) \ + NO_LIBAUDIT=$(puse audit) \ + NO_LIBBABELTRACE=$(puse babeltrace) \ + NO_LIBBIONIC=1 \ + NO_LIBBPF= \ + NO_LIBCRYPTO=$(puse crypt) \ + NO_LIBDW_DWARF_UNWIND= \ + NO_LIBELF= \ + NO_LIBNUMA=$(puse numa) \ + NO_LIBPERL=$(puse perl) \ + NO_LIBPYTHON=$(puse python) \ + NO_LIBUNWIND=$(puse unwind) \ + NO_LIBZSTD=$(puse zstd) \ + NO_SDT=$(puse systemtap) \ + NO_SLANG=$(puse slang) \ + NO_LZMA=$(puse lzma) \ + NO_ZLIB=$(puse zlib) \ + WERROR=0 \ + LIBDIR="/usr/libexec/perf-core" \ + libdir="${EPREFIX}/usr/$(get_libdir)" \ + plugindir="${EPREFIX}/usr/$(get_libdir)/perf/plugins" \ + "$@" +} + +src_compile() { + # test-clang.bin not build with g++ + if use clang; then + make -C "${S_K}/tools/build/feature" V=1 CXX=${CHOST}-clang++ test-clang.bin || die + fi + perf_make -f Makefile.perf + use doc && perf_make -C Documentation man +} + +src_test() { + : +} + +src_install() { + _install_python_ext() { + perf_make -f Makefile.perf install-python_ext DESTDIR="${D}" + } + + perf_make -f Makefile.perf install DESTDIR="${D}" + + if use python; then + python_foreach_impl _install_python_ext + fi + + if use gtk; then + local libdir + libdir="$(get_libdir)" + # on some arches it ends up in lib even on 64bit, ppc64 for instance. + [[ -f "${ED}"/usr/lib/libperf-gtk.so ]] && libdir="lib" + mv "${ED}"/usr/${libdir}/libperf-gtk.so \ + "${ED}"/usr/libexec/perf-core || die + fi + + dodoc CREDITS + + dodoc *txt Documentation/*.txt + + # perf needs this decompressed to print out tips for users + docompress -x /usr/share/doc/${PF}/tips.txt + + if use doc ; then + doman Documentation/*.1 + fi +} |