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 0A8C215808C for ; Wed, 16 Mar 2022 17:23:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38111E0895; Wed, 16 Mar 2022 17:23:18 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 0CF8EE0886 for ; Wed, 16 Mar 2022 17:23:18 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC3A134361C for ; Wed, 16 Mar 2022 17:23:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 271FC320 for ; Wed, 16 Mar 2022 17:23:15 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1647451296.de337de8296388dc96c48cc92b6c36ac7ff2d0d6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/sqldeveloper/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/sqldeveloper/Manifest dev-db/sqldeveloper/sqldeveloper-21.4.3.063.0100.ebuild X-VCS-Directories: dev-db/sqldeveloper/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: de337de8296388dc96c48cc92b6c36ac7ff2d0d6 X-VCS-Branch: master Date: Wed, 16 Mar 2022 17:23:15 +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: 9887b3f0-e4cf-46e6-8870-e631b4beacdd X-Archives-Hash: 24d5f990166fc447eb38bad31d0cc148 commit: de337de8296388dc96c48cc92b6c36ac7ff2d0d6 Author: Marco Genasci gmail com> AuthorDate: Mon Mar 14 09:40:01 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Mar 16 17:21:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de337de8 dev-db/sqldeveloper: version bump to 21.4.3.063.0100 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Genasci gmail.com> Signed-off-by: Sam James gentoo.org> dev-db/sqldeveloper/Manifest | 1 + .../sqldeveloper-21.4.3.063.0100.ebuild | 100 +++++++++++++++++++++ 2 files changed, 101 insertions(+) diff --git a/dev-db/sqldeveloper/Manifest b/dev-db/sqldeveloper/Manifest index ae8fc492717b..dda491f75225 100644 --- a/dev-db/sqldeveloper/Manifest +++ b/dev-db/sqldeveloper/Manifest @@ -1,2 +1,3 @@ DIST sqldeveloper-21.4.2.018.1706-no-jre.zip 469919665 BLAKE2B 01aedcdf670e079b74166428b2f794a0fba1ea27df148ae7b26ba77a6abfde1eb6a7e922685d409c67be226c1ac8967c7b1c120aced812f2fcfa0fbb6837f648 SHA512 d876a253666ac54b317388b8777f41f9de9e1c1abd088498886397fc93a1a936e3b47e650078c70ebd81de0b74c954ecede830b0d9da952ac81cf389c62c85ac +DIST sqldeveloper-21.4.3.063.0100-no-jre.zip 469919055 BLAKE2B 402fbb25c44c2205db1f8ecf3649028aee01d00f73c8f45cf4f415f42d1c507f9f4b5b23b6068165d7667897e1c314272f583dc6da02e70660c64422acee08c9 SHA512 4ab25d596ad383c4d09f315f3a9c43c285a36528e544b8052b8cc5cbed0c13fcd68ad12f660dc66ec087c7044accde6cdfac48518a86bc9c4cb2b89a8bb621fd DIST sqldeveloper-4.2.0.17.089.1709-no-jre.zip 348604841 BLAKE2B 0c3adff04f148102e6460c7550f787329c7e5a69aca0b81c2de4725b9c9ea27c03bb2f588671a95371aa3612839805f2042855b443bb5635c70d0e0b2140295b SHA512 4d1e270376ae125a60146228e35fcb2cb615d593c0e9f2ca98e4deef4d8fd1ddff59cf15064d63e33e77125f49e8da9fe317ed1fd96a9b00a699bf6c5e739874 diff --git a/dev-db/sqldeveloper/sqldeveloper-21.4.3.063.0100.ebuild b/dev-db/sqldeveloper/sqldeveloper-21.4.3.063.0100.ebuild new file mode 100644 index 000000000000..a6c582ff187f --- /dev/null +++ b/dev-db/sqldeveloper/sqldeveloper-21.4.3.063.0100.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop java-pkg-2 + +DESCRIPTION="Oracle SQL Developer is a graphical tool for database development" +HOMEPAGE="https://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html" +SRC_URI="${P}-no-jre.zip" +S="${WORKDIR}/${PN}" + +RESTRICT="bindist fetch" + +LICENSE="OTN" +SLOT="0" +KEYWORDS="-* ~amd64" + +IUSE="mssql mysql postgres sybase" + +RDEPEND=" + =virtual/jre-1.8:* + mssql? ( dev-java/jtds:1.3 ) + mysql? ( dev-java/jdbc-mysql:0 ) + postgres? ( dev-java/jdbc-postgresql:0 ) + sybase? ( dev-java/jtds:1.3 ) +" +BDEPEND="app-arch/unzip" + +S="${WORKDIR}/${PN}" + +QA_PREBUILT=" + opt/${PN}/netbeans/platform/modules/lib/amd64/linux/libjnidispatch-422.so +" + +pkg_nofetch() { + einfo "Please go to" + einfo " ${HOMEPAGE}" + einfo "and download" + einfo " Oracle SQL Developer for other platforms" + einfo " ${SRC_URI}" + einfo "and move it to /var/cache/distfiles" +} + +src_prepare() { + default + find ./ \( -iname "*.exe" -or -iname "*.dll" -or -iname "*.bat" \) -exec rm {} + || die + sed -i 's|"`dirname $0`"|/opt/sqldeveloper|' sqldeveloper.sh || die + + rm -r netbeans/platform/modules/lib/i386 || die + rm -r modules/javafx || die + + # they both use jtds, enabling one of them also enables the other one + if use mssql && ! use sybase; then + einfo "You requested MSSQL support, this also enables Sybase support." + fi + if use sybase && ! use mssql; then + einfo "You requested Sybase support, this also enables MSSQL support." + fi + + if use mssql || use sybase; then + echo "AddJavaLibFile $(java-pkg_getjars jtds-1.3)" >> sqldeveloper/bin/sqldeveloper.conf || die + fi + + if use mysql; then + echo "AddJavaLibFile $(java-pkg_getjars jdbc-mysql)" >> sqldeveloper/bin/sqldeveloper.conf || die + fi + + if use postgres; then + echo "AddJavaLibFile $(java-pkg_getjars jdbc-postgresql)" >> sqldeveloper/bin/sqldeveloper.conf || die + fi +} + +src_install() { + insinto /opt/${PN} + doins -r {configuration,d{ataminer,ropins},e{quinox,xternal},ide,j{avavm,d{bc,ev},lib,views},modules,netbeans,orakafka,rdbms,s{leepycat,ql{developer,j},vnkit}} + fperms +x /opt/${PN}/netbeans/platform/modules/lib/amd64/linux/libjnidispatch-422.so + + dodir /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log + fperms 1777 /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log + + newbin "${FILESDIR}"/${PN}-r1 ${PN} + + newicon icon.png ${PN}-32x32.png + make_desktop_entry ${PN} "Oracle SQL Developer" ${PN}-32x32 + + # This is normally called automatically by java-pkg_dojar, which + # hasn't been used above. We need to create package.env to help the + # launcher select the correct VM. + java-pkg_do_write_ +} + +pkg_postinst() { + echo + einfo "If you want to use the TNS connection type you need to set up the" + einfo "TNS_ADMIN environment variable to point to the directory your" + einfo "tnsnames.ora resides in." + echo +}