From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E231E158041 for ; Mon, 4 Mar 2024 01:03:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22FF8E2AF9; Mon, 4 Mar 2024 01:03:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 05026E2AF9 for ; Mon, 4 Mar 2024 01:03:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 055C034067D for ; Mon, 4 Mar 2024 01:03:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9049914B6 for ; Mon, 4 Mar 2024 01:03:34 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1709514210.2a790add351b400a9205dc653d3f49f043aa49db.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/azuredatastudio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/azuredatastudio/Manifest dev-util/azuredatastudio/azuredatastudio-1.48.0.ebuild X-VCS-Directories: dev-util/azuredatastudio/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 2a790add351b400a9205dc653d3f49f043aa49db X-VCS-Branch: master Date: Mon, 4 Mar 2024 01:03:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4fa32c64-ebae-423e-8c1a-d4052c5d8e1d X-Archives-Hash: c9af088115df7d441d5789c827b61c17 commit: 2a790add351b400a9205dc653d3f49f043aa49db Author: Maciej Barć gentoo org> AuthorDate: Mon Mar 4 00:16:38 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Mon Mar 4 01:03:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a790add dev-util/azuredatastudio: bump to 1.48.0 Signed-off-by: Maciej Barć gentoo.org> dev-util/azuredatastudio/Manifest | 1 + .../azuredatastudio/azuredatastudio-1.48.0.ebuild | 105 +++++++++++++++++++++ 2 files changed, 106 insertions(+) diff --git a/dev-util/azuredatastudio/Manifest b/dev-util/azuredatastudio/Manifest index ccb80321352e..e5bd128d720f 100644 --- a/dev-util/azuredatastudio/Manifest +++ b/dev-util/azuredatastudio/Manifest @@ -1 +1,2 @@ DIST azuredatastudio-1.47.1-amd64.deb 138850108 BLAKE2B f99374c00595f18f4a62e676235e1c5f71a47f14351ef3dc60c0bc84a69d15c325309be77613a4ba564e0f1322aed4fccc840ca871b83d0bbe2d48150e735afb SHA512 ad310cbb9955b8e46f8fdbcceb45ada6e61e2de8c0c40ff93312e7510f43fe675f1239ac07e095fee5573f034efc6fefbde13ebf70bae2f75e297a0e0e95df32 +DIST azuredatastudio-1.48.0-amd64.deb 135137768 BLAKE2B 92798acdfb2871f0ecc12ba33c2608357230ae7f6153012711d111586beae827771de804db17f66cb2d9429741b0dae7776727296625683037ad539777c8c977 SHA512 5781f26a1f53a16561adac910675ef8d944211838b127c271e65ce0e5d88eb91c0290d5b731f418742327d275f69ea26cde412dfc6833b2039dab6813f1943af diff --git a/dev-util/azuredatastudio/azuredatastudio-1.48.0.ebuild b/dev-util/azuredatastudio/azuredatastudio-1.48.0.ebuild new file mode 100644 index 000000000000..d8d032ceea34 --- /dev/null +++ b/dev-util/azuredatastudio/azuredatastudio-1.48.0.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit unpacker xdg + +DESCRIPTION="Data management and development tool from Microsoft" +HOMEPAGE="https://learn.microsoft.com/sql/azure-data-studio/ + https://github.com/microsoft/azuredatastudio/" +SRC_URI=" + amd64? ( + https://azuredatastudio-update.azurewebsites.net/${PV}/linux-deb-x64/stable + -> ${P}-amd64.deb + ) +" +S="${WORKDIR}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="kerberos" +RESTRICT="bindist" + +# This is based on VSCode/VSCodium, so just copy their "RDEPEND". +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/libsecret[crypt] + app-misc/ca-certificates + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + dev-util/lttng-ust:0/2.12 + media-libs/alsa-lib + media-libs/libcanberra[gtk3] + media-libs/libglvnd + media-libs/mesa + net-misc/curl + net-print/cups + sys-apps/dbus + sys-libs/zlib + sys-process/lsof + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libnotify + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libxkbfile + x11-libs/libXrandr + x11-libs/libXScrnSaver + x11-libs/pango + x11-misc/xdg-utils + kerberos? ( app-crypt/mit-krb5 ) +" +DEPEND=" + dev-libs/openssl-compat:1.0.0 +" +BDEPEND=" + dev-util/patchelf +" + +QA_PREBUILT="*" + +src_unpack() { + unpack_deb "${A}" +} + +src_prepare() { + default + + cd "${S}/usr/share" || die + + mv appdata metainfo || die + mv zsh/vendor-completions zsh/site-functions || die + + cd "${PN}" || die + + # Kerberos libs, same issue as VSCode/VSCodium. + if ! use kerberos ; then + rm -r resources/app/node_modules.asar.unpacked/kerberos || die + fi + + # Patch "System.Security.Cryptography.Native.OpenSsl.so": *.so.10 -> *.so.1.0.0 + local mssql_ext_version=4.11.1.1 + local mssql_ext_lib=System.Security.Cryptography.Native.OpenSsl.so + cd "resources/app/extensions/mssql/sqltoolsservice/Linux/${mssql_ext_version}" || die + patchelf --add-needed libcrypto.so.1.0.0 "${mssql_ext_lib}" || die + patchelf --add-needed libssl.so.1.0.0 "${mssql_ext_lib}" || die + patchelf --remove-needed libcrypto.so.10 "${mssql_ext_lib}" || die + patchelf --remove-needed libssl.so.10 "${mssql_ext_lib}" || die + rm System.Native.a || die +} + +src_install() { + cp -r . "${ED}" || die + + dosym -r "/usr/share/${PN}/${PN}" "/usr/bin/${PN}" +}