Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] android-studio: update to 2022.3.1.18
@ 2023-08-19 18:34 Luciogi
  2023-08-19 18:41 ` Luciogi
                   ` (35 more replies)
  0 siblings, 36 replies; 37+ messages in thread
From: Luciogi @ 2023-08-19 18:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 738 bytes --]

There is a new pull request by Luciogi against master on the void-packages repository

https://github.com/Luciogi/void-packages android-studio
https://github.com/void-linux/void-packages/pull/45676

android-studio: update to 2022.3.1.18
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **Not sure, template already exist** 

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This PR is based on #41215 

A patch file from https://github.com/void-linux/void-packages/pull/45676.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-android-studio-45676.patch --]
[-- Type: text/x-diff, Size: 9450 bytes --]

From df8fe04ae865c410dd464c0faec46b49b5fe0bda Mon Sep 17 00:00:00 2001
From: Luciogi <84625092+Luciogi@users.noreply.github.com>
Date: Sat, 19 Aug 2023 13:05:05 +0000
Subject: [PATCH] android-studio: update to 2022.3.1.18

---
 common/shlibs                   | 11 +++-
 srcpkgs/android-studio/template | 97 +++++++++++++++------------------
 2 files changed, 51 insertions(+), 57 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index eab94bb9b16d9..785485ce6dc2c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2615,9 +2615,14 @@ libopenshot-audio.so.9 libopenshot-audio-0.3.0_1
 libopenshot.so.23 libopenshot-0.3.0_1
 libpqxx-6.3.so libpqxx-6.3.3_1
 libndpi.so.3 ndpi-3.4_1
-liblog.so android-studio-3.0.1_1
-libm.so android-studio-3.0.1_1
-libdl.so android-studio-3.0.1_1
+liblog.so android-studio-2022.3.1.18_1
+libm.so android-studio-2022.3.1.18_1
+libdl.so android-studio-2022.3.1.18_1
+libpanelw.so.5 android-studio-2022.3.1.18_1
+libncursesw.so.5 android-studio-2022.3.1.18_1
+libtinfo.so.5 android-studio-2022.3.1.18_1
+libandroid.so android-studio-2022.3.1.18_1
+libmediandk.so android-studio-2022.3.1.18_1
 libKF5WidgetsAddons.so.5 kwidgetsaddons-5.26.0_1
 libsearpc.so.1 libsearpc-3.0.7_1
 libseafile.so.0 seafile-libclient-7.0.10_2
diff --git a/srcpkgs/android-studio/template b/srcpkgs/android-studio/template
index 1736993a49431..cbd092b68f738 100644
--- a/srcpkgs/android-studio/template
+++ b/srcpkgs/android-studio/template
@@ -1,83 +1,72 @@
 # Template file for 'android-studio'
 pkgname=android-studio
-version=4.1.3
+version=2022.3.1.18
 revision=1
-# _studio_build and _studio_rev are for downloading the zip from dl.google.com
-# https://developer.android.com/studio/#resources as of 2018-07-12
-_studio_build=201.7199119
-_studio_rev=0
-archs="x86_64 i686"
+archs="x86_64"
 hostmakedepends="tar"
-depends="virtual?libGL"
 short_desc="Official Android IDE"
-maintainer="Jordyn Carattini <onlinecloud1@gmail.com>"
+maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="http://tools.android.com"
 # changelog="https://developer.android.com/studio/releases/index.html"
-distfiles="https://dl.google.com/dl/android/studio/ide-zips/${version}.${_studio_rev}/android-studio-ide-${_studio_build}-linux.tar.gz"
-checksum=f599749ca47cda06d392e2764017c8a8a0c7b963a6a88ed494b432bece7cbc1b
+distfiles="https://dl.google.com/dl/android/studio/ide-zips/${version}/android-studio-${version}-linux.tar.gz"
+checksum=24215e1324a6ac911810b2cc1afb2d735cf745dfbc06918a42b8d6fbc6bf7433
 repository=nonfree
 restricted=yes
-python_version=2
+python_version=3
 nopie=yes
 nostrip=yes
 noshlibprovides=yes
 
 # These files are not run or loaded on the host thus skip scanning their runtime deps
-skiprdeps="/opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/x86_64/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced
- /opt/android-studio/plugins/android/resources/perfetto/x86_64/libperfetto.so
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/libperfetto.so
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/libperfetto.so
- /opt/android-studio/plugins/android/resources/perfetto/x86/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/x86/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/x86/traced
- /opt/android-studio/plugins/android/resources/perfetto/x86/libperfetto.so
- /opt/android-studio/plugins/android/resources/simpleperf/armeabi-v7a/simpleperf
- /opt/android-studio/plugins/android/resources/simpleperf/x86/simpleperf
- /opt/android-studio/plugins/android/resources/simpleperf/x86_64/simpleperf
- /opt/android-studio/plugins/android/resources/simpleperf/arm64-v8a/simpleperf
- /opt/android-studio/plugins/android/resources/installer/x86/installer
- /opt/android-studio/plugins/android/resources/installer/x86_64/installer
- /opt/android-studio/plugins/android/resources/installer/arm64-v8a/installer
- /opt/android-studio/plugins/android/resources/installer/test-installer
- /opt/android-studio/plugins/android/resources/installer/armeabi-v7a/installer
- /opt/android-studio/plugins/android/resources/transport/native/agent/arm64-v8a/libjvmtiagent.so
- /opt/android-studio/plugins/android/resources/transport/native/agent/armeabi-v7a/libjvmtiagent.so
- /opt/android-studio/plugins/android/resources/transport/native/agent/x86/libjvmtiagent.so
- /opt/android-studio/plugins/android/resources/transport/native/agent/x86_64/libjvmtiagent.so
- /opt/android-studio/plugins/android/resources/transport/armeabi-v7a/transport
- /opt/android-studio/plugins/android/resources/transport/x86/transport
- /opt/android-studio/plugins/android/resources/transport/arm64-v8a/transport
- /opt/android-studio/plugins/android/lib/libwebp_jni.so
- /opt/android-studio/plugins/android/lib/libwebp_jni64.so"
+skiprdeps="/opt/android-studio/plugins/android/resources/process-tracker-agent/native/x86_64/process-tracker
+/opt/android-studio/plugins/android/resources/process-tracker-agent/native/armeabi-v7a/process-tracker
+/opt/android-studio/plugins/android/resources/process-tracker-agent/native/arm64-v8a/process-tracker
+/opt/android-studio/plugins/android/resources/process-tracker-agent/native/x86/process-tracker
+/opt/android-studio/plugins/android/resources/screen-sharing-agent/x86_64/libscreen-sharing-agent.so
+/opt/android-studio/plugins/android/resources/screen-sharing-agent/armeabi-v7a/libscreen-sharing-agent.so
+/opt/android-studio/plugins/android/resources/screen-sharing-agent/arm64-v8a/libscreen-sharing-agent.so
+/opt/android-studio/plugins/android/resources/screen-sharing-agent/x86/libscreen-sharing-agent.so
+/opt/android-studio/plugins/android/resources/installer/x86_64/installer
+/opt/android-studio/plugins/android/resources/installer/armeabi-v7a/installer
+/opt/android-studio/plugins/android/resources/installer/arm64-v8a/installer
+/opt/android-studio/plugins/android/resources/installer/x86/installer
+/opt/android-studio/plugins/android/resources/transport/x86_64/transport
+/opt/android-studio/plugins/android/resources/transport/native/agent/x86_64/libjvmtiagent.so
+/opt/android-studio/plugins/android/resources/transport/native/agent/armeabi-v7a/libjvmtiagent.so
+/opt/android-studio/plugins/android/resources/transport/native/agent/arm64-v8a/libjvmtiagent.so
+/opt/android-studio/plugins/android/resources/transport/native/agent/x86/libjvmtiagent.so
+/opt/android-studio/plugins/android/resources/transport/armeabi-v7a/transport
+/opt/android-studio/plugins/android/resources/transport/arm64-v8a/transport
+/opt/android-studio/plugins/android/resources/transport/x86/transport
+/opt/android-studio/plugins/android/resources/perfetto/x86_64/libperfetto.so
+/opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_probes
+/opt/android-studio/plugins/android/resources/perfetto/x86_64/traced
+/opt/android-studio/plugins/android/resources/perfetto/x86_64/perfetto
+/opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/libperfetto.so
+/opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced_probes
+/opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced
+/opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/perfetto
+/opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/libperfetto.so
+/opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced_probes
+/opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced
+/opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/perfetto
+/opt/android-studio/plugins/android/resources/perfetto/x86/libperfetto.so
+/opt/android-studio/plugins/android/resources/perfetto/x86/traced_probes
+/opt/android-studio/plugins/android/resources/perfetto/x86/traced
+/opt/android-studio/plugins/android/resources/perfetto/x86/perfetto"
 
 do_install() {
 	vmkdir opt/${pkgname}
 	vcopy bin opt/${pkgname}/
 	vcopy lib opt/${pkgname}/
-	vcopy jre opt/${pkgname}/
+	vcopy jbr opt/${pkgname}/
 	vcopy plugins opt/${pkgname}/
 	vcopy build.txt opt/${pkgname}/ # read as IDE version information
 	vcopy product-info.json opt/${pkgname}/
 	vmkdir usr/bin
 	ln -s /opt/android-studio/bin/studio.sh ${DESTDIR}/usr/bin/android-studio
 
-	# The version of host-side simpleperf bundled with Android Studio (as of 3.4.2) requires
-	# libncurses.so.5, which is not provided by Void Linux. However, as host-side simpleperf
-	# parsing is a fairly recent addition, we can just disable it...
-
-	rm -r ${DESTDIR}/opt/android-studio/plugins/android/resources/simpleperf/linux-x86_64
-	echo "-Dprofiler.cpu.simpleperf.host=false" >> ${DESTDIR}/opt/android-studio/bin/studio.vmoptions
-	echo "-Dprofiler.cpu.simpleperf.host=false" >> ${DESTDIR}/opt/android-studio/bin/studio64.vmoptions
-
 	vinstall "${FILESDIR}/android-studio.desktop" 644 usr/share/applications/
 	chmod -R ugo+rX ${DESTDIR}/opt
 }

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
@ 2023-08-19 18:41 ` Luciogi
  2023-08-19 18:43 ` Luciogi
                   ` (34 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-19 18:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 614 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685081954

Comment:
I have doubts:
- This package has optional dependency on ncurses5, though application works without it. [AUR package points that it required for native debugger](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=android-studio#n23)
- Please tell is `nopie` option is required [here](https://github.com/void-linux/void-packages/pull/45676/files#diff-76718ef6b79845dc9aa817671a5390627e1d108501cc5d4dbd07c002fe4822d0L22)
---
For maintainer ship , I m not fully ready

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
  2023-08-19 18:41 ` Luciogi
@ 2023-08-19 18:43 ` Luciogi
  2023-08-20 11:10 ` [PR REVIEW] " Bnyro
                   ` (33 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-19 18:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685081954

Comment:
I have doubts:
- This package has optional dependency on ncurses5, though application works without it. [AUR package points that it required for native debugger](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=android-studio#n23)
- Please tell is `nopie` option is required [here](https://github.com/void-linux/void-packages/pull/45676/files#diff-76718ef6b79845dc9aa817671a5390627e1d108501cc5d4dbd07c002fe4822d0L22)
-  i m not sure which libraries to include in `shlibs`, if there is problem plz guide me
---
For maintainer ship , I m not fully ready

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
  2023-08-19 18:41 ` Luciogi
  2023-08-19 18:43 ` Luciogi
@ 2023-08-20 11:10 ` Bnyro
  2023-08-20 11:11 ` Bnyro
                   ` (32 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Bnyro @ 2023-08-20 11:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

New review comment by Bnyro on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#discussion_r1299357770

Comment:
Please indent these lines

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (2 preceding siblings ...)
  2023-08-20 11:10 ` [PR REVIEW] " Bnyro
@ 2023-08-20 11:11 ` Bnyro
  2023-08-20 11:19 ` Bnyro
                   ` (31 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Bnyro @ 2023-08-20 11:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

New comment by Bnyro on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685257081

Comment:
As described [here](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#orphaning-a-template), please add `, orphan` to your commit message.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (3 preceding siblings ...)
  2023-08-20 11:11 ` Bnyro
@ 2023-08-20 11:19 ` Bnyro
  2023-08-20 12:41 ` [PR PATCH] [Updated] " Luciogi
                   ` (30 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Bnyro @ 2023-08-20 11:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

New comment by Bnyro on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685258598

Comment:
> This package has optional dependency on ncurses5, though application works without it
>
Optional dependencies should likely only be included if they're required for some fundamental features of the package - and I don't think that's the case here.

> Please tell is nopie option is required [here](https://github.com/void-linux/void-packages/pull/45676/files#diff-76718ef6b79845dc9aa817671a5390627e1d108501cc5d4dbd07c002fe4822d0L22)
>
It seems to build just fine without using nopie, so I think it can be removed here.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (4 preceding siblings ...)
  2023-08-20 11:19 ` Bnyro
@ 2023-08-20 12:41 ` Luciogi
  2023-08-20 12:54 ` Luciogi
                   ` (29 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-20 12:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

There is an updated pull request by Luciogi against master on the void-packages repository

https://github.com/Luciogi/void-packages android-studio
https://github.com/void-linux/void-packages/pull/45676

android-studio: update to 2022.3.1.18
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **Not sure, template already exist** 

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This PR is based on #41215 

A patch file from https://github.com/void-linux/void-packages/pull/45676.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-android-studio-45676.patch --]
[-- Type: text/x-diff, Size: 8989 bytes --]

From 526b184eeadf9d3a098856e46f2e8afd46c8ab7d Mon Sep 17 00:00:00 2001
From: Luciogi <84625092+Luciogi@users.noreply.github.com>
Date: Sat, 19 Aug 2023 13:05:05 +0000
Subject: [PATCH] android-studio: update to 2022.3.1.18, orphan

---
 common/shlibs                   | 11 +++--
 srcpkgs/android-studio/template | 86 ++++++++++++++-------------------
 2 files changed, 45 insertions(+), 52 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index eab94bb9b16d9..785485ce6dc2c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2615,9 +2615,14 @@ libopenshot-audio.so.9 libopenshot-audio-0.3.0_1
 libopenshot.so.23 libopenshot-0.3.0_1
 libpqxx-6.3.so libpqxx-6.3.3_1
 libndpi.so.3 ndpi-3.4_1
-liblog.so android-studio-3.0.1_1
-libm.so android-studio-3.0.1_1
-libdl.so android-studio-3.0.1_1
+liblog.so android-studio-2022.3.1.18_1
+libm.so android-studio-2022.3.1.18_1
+libdl.so android-studio-2022.3.1.18_1
+libpanelw.so.5 android-studio-2022.3.1.18_1
+libncursesw.so.5 android-studio-2022.3.1.18_1
+libtinfo.so.5 android-studio-2022.3.1.18_1
+libandroid.so android-studio-2022.3.1.18_1
+libmediandk.so android-studio-2022.3.1.18_1
 libKF5WidgetsAddons.so.5 kwidgetsaddons-5.26.0_1
 libsearpc.so.1 libsearpc-3.0.7_1
 libseafile.so.0 seafile-libclient-7.0.10_2
diff --git a/srcpkgs/android-studio/template b/srcpkgs/android-studio/template
index 1736993a49431..f9048066a6e0f 100644
--- a/srcpkgs/android-studio/template
+++ b/srcpkgs/android-studio/template
@@ -1,83 +1,71 @@
 # Template file for 'android-studio'
 pkgname=android-studio
-version=4.1.3
+version=2022.3.1.18
 revision=1
-# _studio_build and _studio_rev are for downloading the zip from dl.google.com
-# https://developer.android.com/studio/#resources as of 2018-07-12
-_studio_build=201.7199119
-_studio_rev=0
-archs="x86_64 i686"
+archs="x86_64"
 hostmakedepends="tar"
-depends="virtual?libGL"
 short_desc="Official Android IDE"
-maintainer="Jordyn Carattini <onlinecloud1@gmail.com>"
+maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="http://tools.android.com"
 # changelog="https://developer.android.com/studio/releases/index.html"
-distfiles="https://dl.google.com/dl/android/studio/ide-zips/${version}.${_studio_rev}/android-studio-ide-${_studio_build}-linux.tar.gz"
-checksum=f599749ca47cda06d392e2764017c8a8a0c7b963a6a88ed494b432bece7cbc1b
+distfiles="https://dl.google.com/dl/android/studio/ide-zips/${version}/android-studio-${version}-linux.tar.gz"
+checksum=24215e1324a6ac911810b2cc1afb2d735cf745dfbc06918a42b8d6fbc6bf7433
 repository=nonfree
 restricted=yes
-python_version=2
-nopie=yes
+python_version=3
 nostrip=yes
 noshlibprovides=yes
 
 # These files are not run or loaded on the host thus skip scanning their runtime deps
-skiprdeps="/opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/x86_64/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced
- /opt/android-studio/plugins/android/resources/perfetto/x86_64/libperfetto.so
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/libperfetto.so
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/libperfetto.so
- /opt/android-studio/plugins/android/resources/perfetto/x86/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/x86/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/x86/traced
- /opt/android-studio/plugins/android/resources/perfetto/x86/libperfetto.so
- /opt/android-studio/plugins/android/resources/simpleperf/armeabi-v7a/simpleperf
- /opt/android-studio/plugins/android/resources/simpleperf/x86/simpleperf
- /opt/android-studio/plugins/android/resources/simpleperf/x86_64/simpleperf
- /opt/android-studio/plugins/android/resources/simpleperf/arm64-v8a/simpleperf
- /opt/android-studio/plugins/android/resources/installer/x86/installer
+skiprdeps="/opt/android-studio/plugins/android/resources/process-tracker-agent/native/x86_64/process-tracker
+ /opt/android-studio/plugins/android/resources/process-tracker-agent/native/armeabi-v7a/process-tracker
+ /opt/android-studio/plugins/android/resources/process-tracker-agent/native/arm64-v8a/process-tracker
+ /opt/android-studio/plugins/android/resources/process-tracker-agent/native/x86/process-tracker
+ /opt/android-studio/plugins/android/resources/screen-sharing-agent/x86_64/libscreen-sharing-agent.so
+ /opt/android-studio/plugins/android/resources/screen-sharing-agent/armeabi-v7a/libscreen-sharing-agent.so
+ /opt/android-studio/plugins/android/resources/screen-sharing-agent/arm64-v8a/libscreen-sharing-agent.so
+ /opt/android-studio/plugins/android/resources/screen-sharing-agent/x86/libscreen-sharing-agent.so
  /opt/android-studio/plugins/android/resources/installer/x86_64/installer
- /opt/android-studio/plugins/android/resources/installer/arm64-v8a/installer
- /opt/android-studio/plugins/android/resources/installer/test-installer
  /opt/android-studio/plugins/android/resources/installer/armeabi-v7a/installer
- /opt/android-studio/plugins/android/resources/transport/native/agent/arm64-v8a/libjvmtiagent.so
+ /opt/android-studio/plugins/android/resources/installer/arm64-v8a/installer
+ /opt/android-studio/plugins/android/resources/installer/x86/installer
+ /opt/android-studio/plugins/android/resources/transport/x86_64/transport
+ /opt/android-studio/plugins/android/resources/transport/native/agent/x86_64/libjvmtiagent.so
  /opt/android-studio/plugins/android/resources/transport/native/agent/armeabi-v7a/libjvmtiagent.so
+ /opt/android-studio/plugins/android/resources/transport/native/agent/arm64-v8a/libjvmtiagent.so
  /opt/android-studio/plugins/android/resources/transport/native/agent/x86/libjvmtiagent.so
- /opt/android-studio/plugins/android/resources/transport/native/agent/x86_64/libjvmtiagent.so
  /opt/android-studio/plugins/android/resources/transport/armeabi-v7a/transport
- /opt/android-studio/plugins/android/resources/transport/x86/transport
  /opt/android-studio/plugins/android/resources/transport/arm64-v8a/transport
- /opt/android-studio/plugins/android/lib/libwebp_jni.so
- /opt/android-studio/plugins/android/lib/libwebp_jni64.so"
+ /opt/android-studio/plugins/android/resources/transport/x86/transport
+ /opt/android-studio/plugins/android/resources/perfetto/x86_64/libperfetto.so
+ /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_probes
+ /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced
+ /opt/android-studio/plugins/android/resources/perfetto/x86_64/perfetto
+ /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/libperfetto.so
+ /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced_probes
+ /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced
+ /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/perfetto
+ /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/libperfetto.so
+ /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced_probes
+ /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced
+ /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/perfetto
+ /opt/android-studio/plugins/android/resources/perfetto/x86/libperfetto.so
+ /opt/android-studio/plugins/android/resources/perfetto/x86/traced_probes
+ /opt/android-studio/plugins/android/resources/perfetto/x86/traced
+ /opt/android-studio/plugins/android/resources/perfetto/x86/perfetto"
 
 do_install() {
 	vmkdir opt/${pkgname}
 	vcopy bin opt/${pkgname}/
 	vcopy lib opt/${pkgname}/
-	vcopy jre opt/${pkgname}/
+	vcopy jbr opt/${pkgname}/
 	vcopy plugins opt/${pkgname}/
 	vcopy build.txt opt/${pkgname}/ # read as IDE version information
 	vcopy product-info.json opt/${pkgname}/
 	vmkdir usr/bin
 	ln -s /opt/android-studio/bin/studio.sh ${DESTDIR}/usr/bin/android-studio
 
-	# The version of host-side simpleperf bundled with Android Studio (as of 3.4.2) requires
-	# libncurses.so.5, which is not provided by Void Linux. However, as host-side simpleperf
-	# parsing is a fairly recent addition, we can just disable it...
-
-	rm -r ${DESTDIR}/opt/android-studio/plugins/android/resources/simpleperf/linux-x86_64
-	echo "-Dprofiler.cpu.simpleperf.host=false" >> ${DESTDIR}/opt/android-studio/bin/studio.vmoptions
-	echo "-Dprofiler.cpu.simpleperf.host=false" >> ${DESTDIR}/opt/android-studio/bin/studio64.vmoptions
-
 	vinstall "${FILESDIR}/android-studio.desktop" 644 usr/share/applications/
 	chmod -R ugo+rX ${DESTDIR}/opt
 }

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (5 preceding siblings ...)
  2023-08-20 12:41 ` [PR PATCH] [Updated] " Luciogi
@ 2023-08-20 12:54 ` Luciogi
  2023-08-20 13:00 ` Bnyro
                   ` (28 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-20 12:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685278316

Comment:
@Bnyro  what about common/shlibs?

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (6 preceding siblings ...)
  2023-08-20 12:54 ` Luciogi
@ 2023-08-20 13:00 ` Bnyro
  2023-08-20 13:00 ` Bnyro
                   ` (27 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Bnyro @ 2023-08-20 13:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

New comment by Bnyro on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685279692

Comment:
I'm not really familiar with that, sorry.

Looks fine to me, but you should rely on me for that one.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (7 preceding siblings ...)
  2023-08-20 13:00 ` Bnyro
@ 2023-08-20 13:00 ` Bnyro
  2023-08-20 13:03 ` Luciogi
                   ` (26 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Bnyro @ 2023-08-20 13:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 244 bytes --]

New comment by Bnyro on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685279692

Comment:
I'm not really familiar with that, sorry.

Looks fine to me, but you should not rely on me for that one.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (8 preceding siblings ...)
  2023-08-20 13:00 ` Bnyro
@ 2023-08-20 13:03 ` Luciogi
  2023-08-20 13:07 ` Bnyro
                   ` (25 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-20 13:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685280397

Comment:
can you ping someone to review ?

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (9 preceding siblings ...)
  2023-08-20 13:03 ` Luciogi
@ 2023-08-20 13:07 ` Bnyro
  2023-08-20 13:09 ` Bnyro
                   ` (24 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Bnyro @ 2023-08-20 13:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 195 bytes --]

New comment by Bnyro on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685281600

Comment:
You can ask in the IRC room, it's linked in the Readme.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (10 preceding siblings ...)
  2023-08-20 13:07 ` Bnyro
@ 2023-08-20 13:09 ` Bnyro
  2023-08-20 13:19 ` [PR REVIEW] " ahesford
                   ` (23 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Bnyro @ 2023-08-20 13:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 191 bytes --]

New comment by Bnyro on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685281901

Comment:
Should be https://web.libera.chat/?nick=Guest?#xbps

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (11 preceding siblings ...)
  2023-08-20 13:09 ` Bnyro
@ 2023-08-20 13:19 ` ahesford
  2023-08-20 13:27 ` Luciogi
                   ` (22 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ahesford @ 2023-08-20 13:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

New review comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#discussion_r1299376597

Comment:
Why are you orphaning a package that you don't maintain?

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (12 preceding siblings ...)
  2023-08-20 13:19 ` [PR REVIEW] " ahesford
@ 2023-08-20 13:27 ` Luciogi
  2023-08-20 13:27 ` Luciogi
                   ` (21 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-20 13:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

New review comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#discussion_r1299377684

Comment:
package have not updated from long time

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (13 preceding siblings ...)
  2023-08-20 13:27 ` Luciogi
@ 2023-08-20 13:27 ` Luciogi
  2023-08-20 14:48 ` ahesford
                   ` (20 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-20 13:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 168 bytes --]

New review comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#discussion_r1299377762

Comment:
should I revert it ?

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (14 preceding siblings ...)
  2023-08-20 13:27 ` Luciogi
@ 2023-08-20 14:48 ` ahesford
  2023-08-20 16:25 ` Luciogi
                   ` (19 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ahesford @ 2023-08-20 14:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 253 bytes --]

New review comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#discussion_r1299389932

Comment:
Looks like the maintainer hasn't contributed to Void in several years, so we can keep the orphan change.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (15 preceding siblings ...)
  2023-08-20 14:48 ` ahesford
@ 2023-08-20 16:25 ` Luciogi
  2023-08-20 17:50 ` ahesford
                   ` (18 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-20 16:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 231 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685324063

Comment:
@ahesford  can you tell me about `common/shlibs` I dont understand which libs to include 

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (16 preceding siblings ...)
  2023-08-20 16:25 ` Luciogi
@ 2023-08-20 17:50 ` ahesford
  2023-08-20 19:09 ` Luciogi
                   ` (17 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ahesford @ 2023-08-20 17:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 304 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685352430

Comment:
No libraries from this package should be mentioned in 'common/shlibs`. Please remove your additions as well as the existing entries that you intended to replace.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (17 preceding siblings ...)
  2023-08-20 17:50 ` ahesford
@ 2023-08-20 19:09 ` Luciogi
  2023-08-20 19:10 ` Luciogi
                   ` (16 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-20 19:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685368328

Comment:
@ahesford  after deleting libs from `common/shlibs` breaks package build
https://pastebin.com/Ug5xKLHT

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (18 preceding siblings ...)
  2023-08-20 19:09 ` Luciogi
@ 2023-08-20 19:10 ` Luciogi
  2023-08-20 19:15 ` Luciogi
                   ` (15 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-20 19:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 289 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685368328

Comment:
@ahesford  after deleting libs from `common/shlibs` breaks package build
https://pastebin.com/Ug5xKLHT
it seems now ncurses5 is required to build

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (19 preceding siblings ...)
  2023-08-20 19:10 ` Luciogi
@ 2023-08-20 19:15 ` Luciogi
  2023-08-20 19:21 ` Luciogi
                   ` (14 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-20 19:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685368328

Comment:
@ahesford  after deleting libs from `common/shlibs` breaks package build
https://pastebin.com/Ug5xKLHT
it seems now ncurses5 is required to build

would it possible to include compatibility for ncurses5 with current ncurses package (reference: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ncurses5-compat-libs#n38)  

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (20 preceding siblings ...)
  2023-08-20 19:15 ` Luciogi
@ 2023-08-20 19:21 ` Luciogi
  2023-08-20 21:50 ` ahesford
                   ` (13 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-20 19:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 795 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685368328

Comment:
@ahesford  after deleting libs from `common/shlibs` breaks package build
https://pastebin.com/Ug5xKLHT
it seems now ncurses5 is required to build

would it possible to include compatibility for ncurses5 with current ncurses package (reference: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ncurses5-compat-libs#n38)  

Or I skip dependency check for these following files (temporarily until ncurse5 is packages )
```
./plugins/android-ndk/resources/lldb/lib/python3.10/lib-dynload/_curses.cpython-310-x86_64-linux-gnu.so
./plugins/android-ndk/resources/lldb/lib/python3.10/lib-dynload/_curses_panel.cpython-310-x86_64-linux-gnu.so
```

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (21 preceding siblings ...)
  2023-08-20 19:21 ` Luciogi
@ 2023-08-20 21:50 ` ahesford
  2023-08-20 21:50 ` ahesford
                   ` (12 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ahesford @ 2023-08-20 21:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 455 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685405373

Comment:
The inclusion of ncurses v5 compact pins has been discussed and rejected in the past. Skipping dependency checks for those two libraries is one possible workaround, but it may be better to remove those CPython extensions entirely (and anything that depends on them) because they will not be importable by Python.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (22 preceding siblings ...)
  2023-08-20 21:50 ` ahesford
@ 2023-08-20 21:50 ` ahesford
  2023-08-21  6:12 ` [PR PATCH] [Updated] " Luciogi
                   ` (11 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ahesford @ 2023-08-20 21:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 455 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685405373

Comment:
The inclusion of ncurses v5 compact libs has been discussed and rejected in the past. Skipping dependency checks for those two libraries is one possible workaround, but it may be better to remove those CPython extensions entirely (and anything that depends on them) because they will not be importable by Python.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (23 preceding siblings ...)
  2023-08-20 21:50 ` ahesford
@ 2023-08-21  6:12 ` Luciogi
  2023-08-21  6:17 ` Luciogi
                   ` (10 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-21  6:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

There is an updated pull request by Luciogi against master on the void-packages repository

https://github.com/Luciogi/void-packages android-studio
https://github.com/void-linux/void-packages/pull/45676

android-studio: update to 2022.3.1.18
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **Not sure, template already exist** 

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This PR is based on #41215 

A patch file from https://github.com/void-linux/void-packages/pull/45676.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-android-studio-45676.patch --]
[-- Type: text/x-diff, Size: 8897 bytes --]

From f881ea44654cf48f4628964364911ebaf834f46f Mon Sep 17 00:00:00 2001
From: Luciogi <84625092+Luciogi@users.noreply.github.com>
Date: Sat, 19 Aug 2023 13:05:05 +0000
Subject: [PATCH] android-studio: update to 2022.3.1.18, orphan

---
 common/shlibs                   |  3 --
 srcpkgs/android-studio/template | 88 +++++++++++++++------------------
 2 files changed, 39 insertions(+), 52 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index eab94bb9b16d9..67bb48a7d400c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2615,9 +2615,6 @@ libopenshot-audio.so.9 libopenshot-audio-0.3.0_1
 libopenshot.so.23 libopenshot-0.3.0_1
 libpqxx-6.3.so libpqxx-6.3.3_1
 libndpi.so.3 ndpi-3.4_1
-liblog.so android-studio-3.0.1_1
-libm.so android-studio-3.0.1_1
-libdl.so android-studio-3.0.1_1
 libKF5WidgetsAddons.so.5 kwidgetsaddons-5.26.0_1
 libsearpc.so.1 libsearpc-3.0.7_1
 libseafile.so.0 seafile-libclient-7.0.10_2
diff --git a/srcpkgs/android-studio/template b/srcpkgs/android-studio/template
index 1736993a49431..565542f005d2a 100644
--- a/srcpkgs/android-studio/template
+++ b/srcpkgs/android-studio/template
@@ -1,83 +1,73 @@
 # Template file for 'android-studio'
 pkgname=android-studio
-version=4.1.3
+version=2022.3.1.18
 revision=1
-# _studio_build and _studio_rev are for downloading the zip from dl.google.com
-# https://developer.android.com/studio/#resources as of 2018-07-12
-_studio_build=201.7199119
-_studio_rev=0
-archs="x86_64 i686"
+archs="x86_64"
 hostmakedepends="tar"
-depends="virtual?libGL"
 short_desc="Official Android IDE"
-maintainer="Jordyn Carattini <onlinecloud1@gmail.com>"
+maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="http://tools.android.com"
 # changelog="https://developer.android.com/studio/releases/index.html"
-distfiles="https://dl.google.com/dl/android/studio/ide-zips/${version}.${_studio_rev}/android-studio-ide-${_studio_build}-linux.tar.gz"
-checksum=f599749ca47cda06d392e2764017c8a8a0c7b963a6a88ed494b432bece7cbc1b
+distfiles="https://dl.google.com/dl/android/studio/ide-zips/${version}/android-studio-${version}-linux.tar.gz"
+checksum=24215e1324a6ac911810b2cc1afb2d735cf745dfbc06918a42b8d6fbc6bf7433
 repository=nonfree
 restricted=yes
-python_version=2
-nopie=yes
+python_version=3
 nostrip=yes
 noshlibprovides=yes
 
 # These files are not run or loaded on the host thus skip scanning their runtime deps
-skiprdeps="/opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/x86_64/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced
- /opt/android-studio/plugins/android/resources/perfetto/x86_64/libperfetto.so
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/libperfetto.so
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/libperfetto.so
- /opt/android-studio/plugins/android/resources/perfetto/x86/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/x86/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/x86/traced
- /opt/android-studio/plugins/android/resources/perfetto/x86/libperfetto.so
- /opt/android-studio/plugins/android/resources/simpleperf/armeabi-v7a/simpleperf
- /opt/android-studio/plugins/android/resources/simpleperf/x86/simpleperf
- /opt/android-studio/plugins/android/resources/simpleperf/x86_64/simpleperf
- /opt/android-studio/plugins/android/resources/simpleperf/arm64-v8a/simpleperf
- /opt/android-studio/plugins/android/resources/installer/x86/installer
+skiprdeps="/opt/android-studio/plugins/android/resources/process-tracker-agent/native/x86_64/process-tracker
+ /opt/android-studio/plugins/android/resources/process-tracker-agent/native/armeabi-v7a/process-tracker
+ /opt/android-studio/plugins/android/resources/process-tracker-agent/native/arm64-v8a/process-tracker
+ /opt/android-studio/plugins/android/resources/process-tracker-agent/native/x86/process-tracker
+ /opt/android-studio/plugins/android/resources/screen-sharing-agent/x86_64/libscreen-sharing-agent.so
+ /opt/android-studio/plugins/android/resources/screen-sharing-agent/armeabi-v7a/libscreen-sharing-agent.so
+ /opt/android-studio/plugins/android/resources/screen-sharing-agent/arm64-v8a/libscreen-sharing-agent.so
+ /opt/android-studio/plugins/android/resources/screen-sharing-agent/x86/libscreen-sharing-agent.so
  /opt/android-studio/plugins/android/resources/installer/x86_64/installer
- /opt/android-studio/plugins/android/resources/installer/arm64-v8a/installer
- /opt/android-studio/plugins/android/resources/installer/test-installer
  /opt/android-studio/plugins/android/resources/installer/armeabi-v7a/installer
- /opt/android-studio/plugins/android/resources/transport/native/agent/arm64-v8a/libjvmtiagent.so
+ /opt/android-studio/plugins/android/resources/installer/arm64-v8a/installer
+ /opt/android-studio/plugins/android/resources/installer/x86/installer
+ /opt/android-studio/plugins/android/resources/transport/x86_64/transport
+ /opt/android-studio/plugins/android/resources/transport/native/agent/x86_64/libjvmtiagent.so
  /opt/android-studio/plugins/android/resources/transport/native/agent/armeabi-v7a/libjvmtiagent.so
+ /opt/android-studio/plugins/android/resources/transport/native/agent/arm64-v8a/libjvmtiagent.so
  /opt/android-studio/plugins/android/resources/transport/native/agent/x86/libjvmtiagent.so
- /opt/android-studio/plugins/android/resources/transport/native/agent/x86_64/libjvmtiagent.so
  /opt/android-studio/plugins/android/resources/transport/armeabi-v7a/transport
- /opt/android-studio/plugins/android/resources/transport/x86/transport
  /opt/android-studio/plugins/android/resources/transport/arm64-v8a/transport
- /opt/android-studio/plugins/android/lib/libwebp_jni.so
- /opt/android-studio/plugins/android/lib/libwebp_jni64.so"
+ /opt/android-studio/plugins/android/resources/transport/x86/transport
+ /opt/android-studio/plugins/android/resources/perfetto/x86_64/libperfetto.so
+ /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_probes
+ /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced
+ /opt/android-studio/plugins/android/resources/perfetto/x86_64/perfetto
+ /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/libperfetto.so
+ /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced_probes
+ /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced
+ /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/perfetto
+ /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/libperfetto.so
+ /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced_probes
+ /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced
+ /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/perfetto
+ /opt/android-studio/plugins/android/resources/perfetto/x86/libperfetto.so
+ /opt/android-studio/plugins/android/resources/perfetto/x86/traced_probes
+ /opt/android-studio/plugins/android/resources/perfetto/x86/traced
+ /opt/android-studio/plugins/android/resources/perfetto/x86/perfetto
+ /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/lib-dynload/_curses.cpython-310-x86_64-linux-gnu.so
+ /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/lib-dynload/_curses_panel.cpython-310-x86_64-linux-gnu.so"
 
 do_install() {
 	vmkdir opt/${pkgname}
 	vcopy bin opt/${pkgname}/
 	vcopy lib opt/${pkgname}/
-	vcopy jre opt/${pkgname}/
+	vcopy jbr opt/${pkgname}/
 	vcopy plugins opt/${pkgname}/
 	vcopy build.txt opt/${pkgname}/ # read as IDE version information
 	vcopy product-info.json opt/${pkgname}/
 	vmkdir usr/bin
 	ln -s /opt/android-studio/bin/studio.sh ${DESTDIR}/usr/bin/android-studio
 
-	# The version of host-side simpleperf bundled with Android Studio (as of 3.4.2) requires
-	# libncurses.so.5, which is not provided by Void Linux. However, as host-side simpleperf
-	# parsing is a fairly recent addition, we can just disable it...
-
-	rm -r ${DESTDIR}/opt/android-studio/plugins/android/resources/simpleperf/linux-x86_64
-	echo "-Dprofiler.cpu.simpleperf.host=false" >> ${DESTDIR}/opt/android-studio/bin/studio.vmoptions
-	echo "-Dprofiler.cpu.simpleperf.host=false" >> ${DESTDIR}/opt/android-studio/bin/studio64.vmoptions
-
 	vinstall "${FILESDIR}/android-studio.desktop" 644 usr/share/applications/
 	chmod -R ugo+rX ${DESTDIR}/opt
 }

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (24 preceding siblings ...)
  2023-08-21  6:12 ` [PR PATCH] [Updated] " Luciogi
@ 2023-08-21  6:17 ` Luciogi
  2023-08-21  6:21 ` Bnyro
                   ` (9 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-21  6:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685715961

Comment:
@ahesford , Lint template test fails

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (25 preceding siblings ...)
  2023-08-21  6:17 ` Luciogi
@ 2023-08-21  6:21 ` Bnyro
  2023-08-21  6:23 ` Luciogi
                   ` (8 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Bnyro @ 2023-08-21  6:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 226 bytes --]

New comment by Bnyro on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685719501

Comment:
`authored by noreply email` - you have to use a proper email for authoring the commit.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (26 preceding siblings ...)
  2023-08-21  6:21 ` Bnyro
@ 2023-08-21  6:23 ` Luciogi
  2023-08-21  6:27 ` Luciogi
                   ` (7 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-21  6:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685715961

Comment:
@ahesford , Lint template test fails

edit: `xlint template` does not produce any error locally

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (27 preceding siblings ...)
  2023-08-21  6:23 ` Luciogi
@ 2023-08-21  6:27 ` Luciogi
  2023-08-21  6:34 ` Bnyro
                   ` (6 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-21  6:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 182 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685725365

Comment:
> 

would simplelogin alias work here?

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (28 preceding siblings ...)
  2023-08-21  6:27 ` Luciogi
@ 2023-08-21  6:34 ` Bnyro
  2023-08-21  6:43 ` [PR PATCH] [Updated] " Luciogi
                   ` (5 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Bnyro @ 2023-08-21  6:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

New comment by Bnyro on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685733010

Comment:
You should use an email you have and keep access to, I'm not familiar with Simplelogin.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (29 preceding siblings ...)
  2023-08-21  6:34 ` Bnyro
@ 2023-08-21  6:43 ` Luciogi
  2023-08-21  6:52 ` Luciogi
                   ` (4 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-21  6:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

There is an updated pull request by Luciogi against master on the void-packages repository

https://github.com/Luciogi/void-packages android-studio
https://github.com/void-linux/void-packages/pull/45676

android-studio: update to 2022.3.1.18
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **Not sure, template already exist** 

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This PR is based on #41215 

A patch file from https://github.com/void-linux/void-packages/pull/45676.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-android-studio-45676.patch --]
[-- Type: text/x-diff, Size: 8882 bytes --]

From ec93af96dec4399f923d0e4470bf376276d38d6d Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Sat, 19 Aug 2023 13:05:05 +0000
Subject: [PATCH] android-studio: update to 2022.3.1.18, orphan

---
 common/shlibs                   |  3 --
 srcpkgs/android-studio/template | 88 +++++++++++++++------------------
 2 files changed, 39 insertions(+), 52 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index eab94bb9b16d9..67bb48a7d400c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2615,9 +2615,6 @@ libopenshot-audio.so.9 libopenshot-audio-0.3.0_1
 libopenshot.so.23 libopenshot-0.3.0_1
 libpqxx-6.3.so libpqxx-6.3.3_1
 libndpi.so.3 ndpi-3.4_1
-liblog.so android-studio-3.0.1_1
-libm.so android-studio-3.0.1_1
-libdl.so android-studio-3.0.1_1
 libKF5WidgetsAddons.so.5 kwidgetsaddons-5.26.0_1
 libsearpc.so.1 libsearpc-3.0.7_1
 libseafile.so.0 seafile-libclient-7.0.10_2
diff --git a/srcpkgs/android-studio/template b/srcpkgs/android-studio/template
index 1736993a49431..565542f005d2a 100644
--- a/srcpkgs/android-studio/template
+++ b/srcpkgs/android-studio/template
@@ -1,83 +1,73 @@
 # Template file for 'android-studio'
 pkgname=android-studio
-version=4.1.3
+version=2022.3.1.18
 revision=1
-# _studio_build and _studio_rev are for downloading the zip from dl.google.com
-# https://developer.android.com/studio/#resources as of 2018-07-12
-_studio_build=201.7199119
-_studio_rev=0
-archs="x86_64 i686"
+archs="x86_64"
 hostmakedepends="tar"
-depends="virtual?libGL"
 short_desc="Official Android IDE"
-maintainer="Jordyn Carattini <onlinecloud1@gmail.com>"
+maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="http://tools.android.com"
 # changelog="https://developer.android.com/studio/releases/index.html"
-distfiles="https://dl.google.com/dl/android/studio/ide-zips/${version}.${_studio_rev}/android-studio-ide-${_studio_build}-linux.tar.gz"
-checksum=f599749ca47cda06d392e2764017c8a8a0c7b963a6a88ed494b432bece7cbc1b
+distfiles="https://dl.google.com/dl/android/studio/ide-zips/${version}/android-studio-${version}-linux.tar.gz"
+checksum=24215e1324a6ac911810b2cc1afb2d735cf745dfbc06918a42b8d6fbc6bf7433
 repository=nonfree
 restricted=yes
-python_version=2
-nopie=yes
+python_version=3
 nostrip=yes
 noshlibprovides=yes
 
 # These files are not run or loaded on the host thus skip scanning their runtime deps
-skiprdeps="/opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/x86_64/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced
- /opt/android-studio/plugins/android/resources/perfetto/x86_64/libperfetto.so
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/libperfetto.so
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/libperfetto.so
- /opt/android-studio/plugins/android/resources/perfetto/x86/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/x86/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/x86/traced
- /opt/android-studio/plugins/android/resources/perfetto/x86/libperfetto.so
- /opt/android-studio/plugins/android/resources/simpleperf/armeabi-v7a/simpleperf
- /opt/android-studio/plugins/android/resources/simpleperf/x86/simpleperf
- /opt/android-studio/plugins/android/resources/simpleperf/x86_64/simpleperf
- /opt/android-studio/plugins/android/resources/simpleperf/arm64-v8a/simpleperf
- /opt/android-studio/plugins/android/resources/installer/x86/installer
+skiprdeps="/opt/android-studio/plugins/android/resources/process-tracker-agent/native/x86_64/process-tracker
+ /opt/android-studio/plugins/android/resources/process-tracker-agent/native/armeabi-v7a/process-tracker
+ /opt/android-studio/plugins/android/resources/process-tracker-agent/native/arm64-v8a/process-tracker
+ /opt/android-studio/plugins/android/resources/process-tracker-agent/native/x86/process-tracker
+ /opt/android-studio/plugins/android/resources/screen-sharing-agent/x86_64/libscreen-sharing-agent.so
+ /opt/android-studio/plugins/android/resources/screen-sharing-agent/armeabi-v7a/libscreen-sharing-agent.so
+ /opt/android-studio/plugins/android/resources/screen-sharing-agent/arm64-v8a/libscreen-sharing-agent.so
+ /opt/android-studio/plugins/android/resources/screen-sharing-agent/x86/libscreen-sharing-agent.so
  /opt/android-studio/plugins/android/resources/installer/x86_64/installer
- /opt/android-studio/plugins/android/resources/installer/arm64-v8a/installer
- /opt/android-studio/plugins/android/resources/installer/test-installer
  /opt/android-studio/plugins/android/resources/installer/armeabi-v7a/installer
- /opt/android-studio/plugins/android/resources/transport/native/agent/arm64-v8a/libjvmtiagent.so
+ /opt/android-studio/plugins/android/resources/installer/arm64-v8a/installer
+ /opt/android-studio/plugins/android/resources/installer/x86/installer
+ /opt/android-studio/plugins/android/resources/transport/x86_64/transport
+ /opt/android-studio/plugins/android/resources/transport/native/agent/x86_64/libjvmtiagent.so
  /opt/android-studio/plugins/android/resources/transport/native/agent/armeabi-v7a/libjvmtiagent.so
+ /opt/android-studio/plugins/android/resources/transport/native/agent/arm64-v8a/libjvmtiagent.so
  /opt/android-studio/plugins/android/resources/transport/native/agent/x86/libjvmtiagent.so
- /opt/android-studio/plugins/android/resources/transport/native/agent/x86_64/libjvmtiagent.so
  /opt/android-studio/plugins/android/resources/transport/armeabi-v7a/transport
- /opt/android-studio/plugins/android/resources/transport/x86/transport
  /opt/android-studio/plugins/android/resources/transport/arm64-v8a/transport
- /opt/android-studio/plugins/android/lib/libwebp_jni.so
- /opt/android-studio/plugins/android/lib/libwebp_jni64.so"
+ /opt/android-studio/plugins/android/resources/transport/x86/transport
+ /opt/android-studio/plugins/android/resources/perfetto/x86_64/libperfetto.so
+ /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_probes
+ /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced
+ /opt/android-studio/plugins/android/resources/perfetto/x86_64/perfetto
+ /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/libperfetto.so
+ /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced_probes
+ /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced
+ /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/perfetto
+ /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/libperfetto.so
+ /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced_probes
+ /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced
+ /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/perfetto
+ /opt/android-studio/plugins/android/resources/perfetto/x86/libperfetto.so
+ /opt/android-studio/plugins/android/resources/perfetto/x86/traced_probes
+ /opt/android-studio/plugins/android/resources/perfetto/x86/traced
+ /opt/android-studio/plugins/android/resources/perfetto/x86/perfetto
+ /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/lib-dynload/_curses.cpython-310-x86_64-linux-gnu.so
+ /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/lib-dynload/_curses_panel.cpython-310-x86_64-linux-gnu.so"
 
 do_install() {
 	vmkdir opt/${pkgname}
 	vcopy bin opt/${pkgname}/
 	vcopy lib opt/${pkgname}/
-	vcopy jre opt/${pkgname}/
+	vcopy jbr opt/${pkgname}/
 	vcopy plugins opt/${pkgname}/
 	vcopy build.txt opt/${pkgname}/ # read as IDE version information
 	vcopy product-info.json opt/${pkgname}/
 	vmkdir usr/bin
 	ln -s /opt/android-studio/bin/studio.sh ${DESTDIR}/usr/bin/android-studio
 
-	# The version of host-side simpleperf bundled with Android Studio (as of 3.4.2) requires
-	# libncurses.so.5, which is not provided by Void Linux. However, as host-side simpleperf
-	# parsing is a fairly recent addition, we can just disable it...
-
-	rm -r ${DESTDIR}/opt/android-studio/plugins/android/resources/simpleperf/linux-x86_64
-	echo "-Dprofiler.cpu.simpleperf.host=false" >> ${DESTDIR}/opt/android-studio/bin/studio.vmoptions
-	echo "-Dprofiler.cpu.simpleperf.host=false" >> ${DESTDIR}/opt/android-studio/bin/studio64.vmoptions
-
 	vinstall "${FILESDIR}/android-studio.desktop" 644 usr/share/applications/
 	chmod -R ugo+rX ${DESTDIR}/opt
 }

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (30 preceding siblings ...)
  2023-08-21  6:43 ` [PR PATCH] [Updated] " Luciogi
@ 2023-08-21  6:52 ` Luciogi
  2023-08-21  6:53 ` Bnyro
                   ` (3 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-21  6:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 190 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685753084

Comment:
lol same test was passed just before this commit

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (31 preceding siblings ...)
  2023-08-21  6:52 ` Luciogi
@ 2023-08-21  6:53 ` Bnyro
  2023-08-21  6:57 ` Luciogi
                   ` (2 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Bnyro @ 2023-08-21  6:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 177 bytes --]

New comment by Bnyro on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685754412

Comment:
Only a network error, can be ignored.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (32 preceding siblings ...)
  2023-08-21  6:53 ` Bnyro
@ 2023-08-21  6:57 ` Luciogi
  2023-08-21  7:22 ` [PR PATCH] [Updated] " Luciogi
  2023-09-27 23:22 ` [PR PATCH] [Merged]: android-studio: update to 2022.3.1.18, orphan classabbyamp
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-21  6:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 252 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/45676#issuecomment-1685758135

Comment:
> Only a network error, can be ignored.

should I force push again
or reviewer will manually start checks ?

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] android-studio: update to 2022.3.1.18
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (33 preceding siblings ...)
  2023-08-21  6:57 ` Luciogi
@ 2023-08-21  7:22 ` Luciogi
  2023-09-27 23:22 ` [PR PATCH] [Merged]: android-studio: update to 2022.3.1.18, orphan classabbyamp
  35 siblings, 0 replies; 37+ messages in thread
From: Luciogi @ 2023-08-21  7:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

There is an updated pull request by Luciogi against master on the void-packages repository

https://github.com/Luciogi/void-packages android-studio
https://github.com/void-linux/void-packages/pull/45676

android-studio: update to 2022.3.1.18
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **Not sure, template already exist** 

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This PR is based on #41215 

A patch file from https://github.com/void-linux/void-packages/pull/45676.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-android-studio-45676.patch --]
[-- Type: text/x-diff, Size: 8882 bytes --]

From 094ae003012ece26e231107c0461fe5c49fe84bc Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Sat, 19 Aug 2023 13:05:05 +0000
Subject: [PATCH] android-studio: update to 2022.3.1.18, orphan

---
 common/shlibs                   |  3 --
 srcpkgs/android-studio/template | 88 +++++++++++++++------------------
 2 files changed, 39 insertions(+), 52 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index eab94bb9b16d9..67bb48a7d400c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2615,9 +2615,6 @@ libopenshot-audio.so.9 libopenshot-audio-0.3.0_1
 libopenshot.so.23 libopenshot-0.3.0_1
 libpqxx-6.3.so libpqxx-6.3.3_1
 libndpi.so.3 ndpi-3.4_1
-liblog.so android-studio-3.0.1_1
-libm.so android-studio-3.0.1_1
-libdl.so android-studio-3.0.1_1
 libKF5WidgetsAddons.so.5 kwidgetsaddons-5.26.0_1
 libsearpc.so.1 libsearpc-3.0.7_1
 libseafile.so.0 seafile-libclient-7.0.10_2
diff --git a/srcpkgs/android-studio/template b/srcpkgs/android-studio/template
index 1736993a49431..565542f005d2a 100644
--- a/srcpkgs/android-studio/template
+++ b/srcpkgs/android-studio/template
@@ -1,83 +1,73 @@
 # Template file for 'android-studio'
 pkgname=android-studio
-version=4.1.3
+version=2022.3.1.18
 revision=1
-# _studio_build and _studio_rev are for downloading the zip from dl.google.com
-# https://developer.android.com/studio/#resources as of 2018-07-12
-_studio_build=201.7199119
-_studio_rev=0
-archs="x86_64 i686"
+archs="x86_64"
 hostmakedepends="tar"
-depends="virtual?libGL"
 short_desc="Official Android IDE"
-maintainer="Jordyn Carattini <onlinecloud1@gmail.com>"
+maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="http://tools.android.com"
 # changelog="https://developer.android.com/studio/releases/index.html"
-distfiles="https://dl.google.com/dl/android/studio/ide-zips/${version}.${_studio_rev}/android-studio-ide-${_studio_build}-linux.tar.gz"
-checksum=f599749ca47cda06d392e2764017c8a8a0c7b963a6a88ed494b432bece7cbc1b
+distfiles="https://dl.google.com/dl/android/studio/ide-zips/${version}/android-studio-${version}-linux.tar.gz"
+checksum=24215e1324a6ac911810b2cc1afb2d735cf745dfbc06918a42b8d6fbc6bf7433
 repository=nonfree
 restricted=yes
-python_version=2
-nopie=yes
+python_version=3
 nostrip=yes
 noshlibprovides=yes
 
 # These files are not run or loaded on the host thus skip scanning their runtime deps
-skiprdeps="/opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/x86_64/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced
- /opt/android-studio/plugins/android/resources/perfetto/x86_64/libperfetto.so
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced
- /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/libperfetto.so
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced
- /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/libperfetto.so
- /opt/android-studio/plugins/android/resources/perfetto/x86/traced_probes
- /opt/android-studio/plugins/android/resources/perfetto/x86/perfetto
- /opt/android-studio/plugins/android/resources/perfetto/x86/traced
- /opt/android-studio/plugins/android/resources/perfetto/x86/libperfetto.so
- /opt/android-studio/plugins/android/resources/simpleperf/armeabi-v7a/simpleperf
- /opt/android-studio/plugins/android/resources/simpleperf/x86/simpleperf
- /opt/android-studio/plugins/android/resources/simpleperf/x86_64/simpleperf
- /opt/android-studio/plugins/android/resources/simpleperf/arm64-v8a/simpleperf
- /opt/android-studio/plugins/android/resources/installer/x86/installer
+skiprdeps="/opt/android-studio/plugins/android/resources/process-tracker-agent/native/x86_64/process-tracker
+ /opt/android-studio/plugins/android/resources/process-tracker-agent/native/armeabi-v7a/process-tracker
+ /opt/android-studio/plugins/android/resources/process-tracker-agent/native/arm64-v8a/process-tracker
+ /opt/android-studio/plugins/android/resources/process-tracker-agent/native/x86/process-tracker
+ /opt/android-studio/plugins/android/resources/screen-sharing-agent/x86_64/libscreen-sharing-agent.so
+ /opt/android-studio/plugins/android/resources/screen-sharing-agent/armeabi-v7a/libscreen-sharing-agent.so
+ /opt/android-studio/plugins/android/resources/screen-sharing-agent/arm64-v8a/libscreen-sharing-agent.so
+ /opt/android-studio/plugins/android/resources/screen-sharing-agent/x86/libscreen-sharing-agent.so
  /opt/android-studio/plugins/android/resources/installer/x86_64/installer
- /opt/android-studio/plugins/android/resources/installer/arm64-v8a/installer
- /opt/android-studio/plugins/android/resources/installer/test-installer
  /opt/android-studio/plugins/android/resources/installer/armeabi-v7a/installer
- /opt/android-studio/plugins/android/resources/transport/native/agent/arm64-v8a/libjvmtiagent.so
+ /opt/android-studio/plugins/android/resources/installer/arm64-v8a/installer
+ /opt/android-studio/plugins/android/resources/installer/x86/installer
+ /opt/android-studio/plugins/android/resources/transport/x86_64/transport
+ /opt/android-studio/plugins/android/resources/transport/native/agent/x86_64/libjvmtiagent.so
  /opt/android-studio/plugins/android/resources/transport/native/agent/armeabi-v7a/libjvmtiagent.so
+ /opt/android-studio/plugins/android/resources/transport/native/agent/arm64-v8a/libjvmtiagent.so
  /opt/android-studio/plugins/android/resources/transport/native/agent/x86/libjvmtiagent.so
- /opt/android-studio/plugins/android/resources/transport/native/agent/x86_64/libjvmtiagent.so
  /opt/android-studio/plugins/android/resources/transport/armeabi-v7a/transport
- /opt/android-studio/plugins/android/resources/transport/x86/transport
  /opt/android-studio/plugins/android/resources/transport/arm64-v8a/transport
- /opt/android-studio/plugins/android/lib/libwebp_jni.so
- /opt/android-studio/plugins/android/lib/libwebp_jni64.so"
+ /opt/android-studio/plugins/android/resources/transport/x86/transport
+ /opt/android-studio/plugins/android/resources/perfetto/x86_64/libperfetto.so
+ /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_probes
+ /opt/android-studio/plugins/android/resources/perfetto/x86_64/traced
+ /opt/android-studio/plugins/android/resources/perfetto/x86_64/perfetto
+ /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/libperfetto.so
+ /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced_probes
+ /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced
+ /opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/perfetto
+ /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/libperfetto.so
+ /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced_probes
+ /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced
+ /opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/perfetto
+ /opt/android-studio/plugins/android/resources/perfetto/x86/libperfetto.so
+ /opt/android-studio/plugins/android/resources/perfetto/x86/traced_probes
+ /opt/android-studio/plugins/android/resources/perfetto/x86/traced
+ /opt/android-studio/plugins/android/resources/perfetto/x86/perfetto
+ /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/lib-dynload/_curses.cpython-310-x86_64-linux-gnu.so
+ /opt/android-studio/plugins/android-ndk/resources/lldb/lib/python3.10/lib-dynload/_curses_panel.cpython-310-x86_64-linux-gnu.so"
 
 do_install() {
 	vmkdir opt/${pkgname}
 	vcopy bin opt/${pkgname}/
 	vcopy lib opt/${pkgname}/
-	vcopy jre opt/${pkgname}/
+	vcopy jbr opt/${pkgname}/
 	vcopy plugins opt/${pkgname}/
 	vcopy build.txt opt/${pkgname}/ # read as IDE version information
 	vcopy product-info.json opt/${pkgname}/
 	vmkdir usr/bin
 	ln -s /opt/android-studio/bin/studio.sh ${DESTDIR}/usr/bin/android-studio
 
-	# The version of host-side simpleperf bundled with Android Studio (as of 3.4.2) requires
-	# libncurses.so.5, which is not provided by Void Linux. However, as host-side simpleperf
-	# parsing is a fairly recent addition, we can just disable it...
-
-	rm -r ${DESTDIR}/opt/android-studio/plugins/android/resources/simpleperf/linux-x86_64
-	echo "-Dprofiler.cpu.simpleperf.host=false" >> ${DESTDIR}/opt/android-studio/bin/studio.vmoptions
-	echo "-Dprofiler.cpu.simpleperf.host=false" >> ${DESTDIR}/opt/android-studio/bin/studio64.vmoptions
-
 	vinstall "${FILESDIR}/android-studio.desktop" 644 usr/share/applications/
 	chmod -R ugo+rX ${DESTDIR}/opt
 }

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Merged]: android-studio: update to 2022.3.1.18, orphan
  2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
                   ` (34 preceding siblings ...)
  2023-08-21  7:22 ` [PR PATCH] [Updated] " Luciogi
@ 2023-09-27 23:22 ` classabbyamp
  35 siblings, 0 replies; 37+ messages in thread
From: classabbyamp @ 2023-09-27 23:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 588 bytes --]

There's a merged pull request on the void-packages repository

android-studio: update to 2022.3.1.18, orphan
https://github.com/void-linux/void-packages/pull/45676

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **Not sure, template already exist** 

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This PR is based on #41215 

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2023-09-27 23:22 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-19 18:34 [PR PATCH] android-studio: update to 2022.3.1.18 Luciogi
2023-08-19 18:41 ` Luciogi
2023-08-19 18:43 ` Luciogi
2023-08-20 11:10 ` [PR REVIEW] " Bnyro
2023-08-20 11:11 ` Bnyro
2023-08-20 11:19 ` Bnyro
2023-08-20 12:41 ` [PR PATCH] [Updated] " Luciogi
2023-08-20 12:54 ` Luciogi
2023-08-20 13:00 ` Bnyro
2023-08-20 13:00 ` Bnyro
2023-08-20 13:03 ` Luciogi
2023-08-20 13:07 ` Bnyro
2023-08-20 13:09 ` Bnyro
2023-08-20 13:19 ` [PR REVIEW] " ahesford
2023-08-20 13:27 ` Luciogi
2023-08-20 13:27 ` Luciogi
2023-08-20 14:48 ` ahesford
2023-08-20 16:25 ` Luciogi
2023-08-20 17:50 ` ahesford
2023-08-20 19:09 ` Luciogi
2023-08-20 19:10 ` Luciogi
2023-08-20 19:15 ` Luciogi
2023-08-20 19:21 ` Luciogi
2023-08-20 21:50 ` ahesford
2023-08-20 21:50 ` ahesford
2023-08-21  6:12 ` [PR PATCH] [Updated] " Luciogi
2023-08-21  6:17 ` Luciogi
2023-08-21  6:21 ` Bnyro
2023-08-21  6:23 ` Luciogi
2023-08-21  6:27 ` Luciogi
2023-08-21  6:34 ` Bnyro
2023-08-21  6:43 ` [PR PATCH] [Updated] " Luciogi
2023-08-21  6:52 ` Luciogi
2023-08-21  6:53 ` Bnyro
2023-08-21  6:57 ` Luciogi
2023-08-21  7:22 ` [PR PATCH] [Updated] " Luciogi
2023-09-27 23:22 ` [PR PATCH] [Merged]: android-studio: update to 2022.3.1.18, orphan classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).