public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/sqldeveloper/
Date: Fri,  7 Jan 2022 05:14:55 +0000 (UTC)	[thread overview]
Message-ID: <1641531768.0e73f2d0e01556719a3cf005bdec1df77814fb09.sam@gentoo> (raw)

commit:     0e73f2d0e01556719a3cf005bdec1df77814fb09
Author:     Marco Genasci <fedeliallalinea <AT> gmail <DOT> com>
AuthorDate: Fri Dec 24 09:39:24 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan  7 05:02:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e73f2d0

dev-db/sqldeveloper: bump version to 21.4.1.349.1822

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Marco Genasci <fedeliallalinea <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-db/sqldeveloper/Manifest                       |   1 +
 .../sqldeveloper-21.4.1.349.1822.ebuild            | 100 +++++++++++++++++++++
 2 files changed, 101 insertions(+)

diff --git a/dev-db/sqldeveloper/Manifest b/dev-db/sqldeveloper/Manifest
index 422df38572bf..7431e573bbd4 100644
--- a/dev-db/sqldeveloper/Manifest
+++ b/dev-db/sqldeveloper/Manifest
@@ -1,2 +1,3 @@
 DIST sqldeveloper-21.2.1.204.1703-no-jre.zip 458220863 BLAKE2B 0f5bfb3a97667a728db6b8d61178cdfc90db0958ea7e08460de8d854037f775aa5b97e7e334048c5a717acb35db64334358918b45046395b0170f3ff733d3c65 SHA512 4cdff031ea008bb7b31a202487bb98c1748599b7190ba5b82c9c3fbcc86d453e75751585c243ca9f52d255a43e24a720a0929630b3c3742cf8e91cfa980cf3bb
+DIST sqldeveloper-21.4.1.349.1822-no-jre.zip 469968216 BLAKE2B 4f740829ba2836255ab3e131947dbbe8beeb38f2ee20b8a5489b044707fe992f28a12aa85c4a553b94994a94ce63bac76fed8b5fca91e5d0f996c1d570fab1c3 SHA512 6072bd07d2315c30c800965477b317281144471ae0d699af5112ff04a3918ce015ef4cfeb0a63aa89bf4619c74c0e1d8d1ea70739ac13e6bb76a7adaa826b45f
 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.1.349.1822.ebuild b/dev-db/sqldeveloper/sqldeveloper-21.4.1.349.1822.ebuild
new file mode 100644
index 000000000000..3707f45ec26d
--- /dev/null
+++ b/dev-db/sqldeveloper/sqldeveloper-21.4.1.349.1822.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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="
+	>=dev-java/openjdk-8:*[javafx]
+	>=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
+}


             reply	other threads:[~2022-01-07  5:15 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-07  5:14 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-11 18:55 [gentoo-commits] repo/gentoo:master commit in: dev-db/sqldeveloper/ Arthur Zamarin
2024-02-09 13:47 Joonas Niilola
2024-02-09 13:47 Joonas Niilola
2023-08-14  6:32 Joonas Niilola
2023-08-14  6:32 Joonas Niilola
2022-10-10 12:20 Joonas Niilola
2022-10-10 12:20 Joonas Niilola
2022-07-15  8:38 Joonas Niilola
2022-07-15  8:38 Joonas Niilola
2022-03-16 17:23 Sam James
2022-03-16 17:23 Sam James
2022-02-24 12:41 Joonas Niilola
2022-02-24 12:41 Joonas Niilola
2022-01-07  5:14 Sam James
2021-09-02  6:53 Joonas Niilola
2021-09-02  6:53 Joonas Niilola
2021-07-16 13:28 Ionen Wolkens
2021-07-16 13:28 Ionen Wolkens
2021-04-10  7:45 Joonas Niilola
2021-04-10  7:45 Joonas Niilola
2021-04-10  7:45 Joonas Niilola
2021-02-03  7:25 Joonas Niilola
2021-02-03  7:25 Joonas Niilola
2021-01-09 10:36 Sam James
2020-10-10  7:22 Joonas Niilola
2020-10-10  7:22 Joonas Niilola
2019-02-04 21:39 Ben Kohler
2018-11-16  9:09 Michał Górny
2018-04-13 19:32 Pacho Ramos
2018-04-12 20:54 Thomas Deutschmann
2018-03-30 14:02 Aaron Bauman
2018-01-12 16:32 Ulrich Müller
2017-04-25 16:09 Wolfram Schlich
2016-12-09 12:00 Wolfram Schlich
2016-12-09 11:25 Wolfram Schlich
2016-01-22 14:25 Wolfram Schlich
2016-01-22 14:02 Wolfram Schlich
2015-11-09 11:21 Agostino Sarubbo
2015-11-09 11:21 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1641531768.0e73f2d0e01556719a3cf005bdec1df77814fb09.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox