summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMarco Genasci <fedeliallalinea@gmail.com>2022-06-30 20:24:18 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-07-15 11:38:10 +0300
commit38803c33e6af7ba0fc964853c0ad7f27e42029c5 (patch)
tree631b853edfe0b750b1a5a0140463a192a8184cf1 /dev-db
parentdev-db/sqldeveloper: bump version to 22.2.0.173.2018 (diff)
downloadgentoo-38803c33e6af7ba0fc964853c0ad7f27e42029c5.tar.gz
gentoo-38803c33e6af7ba0fc964853c0ad7f27e42029c5.tar.bz2
gentoo-38803c33e6af7ba0fc964853c0ad7f27e42029c5.zip
dev-db/sqldeveloper: removed old
Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/26168 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/sqldeveloper/Manifest1
-rw-r--r--dev-db/sqldeveloper/sqldeveloper-21.4.3.063.0100.ebuild100
2 files changed, 0 insertions, 101 deletions
diff --git a/dev-db/sqldeveloper/Manifest b/dev-db/sqldeveloper/Manifest
index 124e5e683673..a9296c07880a 100644
--- a/dev-db/sqldeveloper/Manifest
+++ b/dev-db/sqldeveloper/Manifest
@@ -1,2 +1 @@
-DIST sqldeveloper-21.4.3.063.0100-no-jre.zip 469919055 BLAKE2B 402fbb25c44c2205db1f8ecf3649028aee01d00f73c8f45cf4f415f42d1c507f9f4b5b23b6068165d7667897e1c314272f583dc6da02e70660c64422acee08c9 SHA512 4ab25d596ad383c4d09f315f3a9c43c285a36528e544b8052b8cc5cbed0c13fcd68ad12f660dc66ec087c7044accde6cdfac48518a86bc9c4cb2b89a8bb621fd
DIST sqldeveloper-22.2.0.173.2018-no-jre.zip 507930198 BLAKE2B 51c22825b7774d61ca5006150fa8566f35f03a64a755a2602c1aba9613f1d22e5efe9c46aa9b0d8295f349e980e9a0af115e39e8faa9bded4e154d8619f9b5f8 SHA512 daa3be1d20ed7a44e1f2a5e3e86166c6ea27050aceb0fe2ec46ade8557d68c8fc2c56c19e2d7a37c80005a0ac8040f3f7b0f9fd8345284e6615c616d36462627
diff --git a/dev-db/sqldeveloper/sqldeveloper-21.4.3.063.0100.ebuild b/dev-db/sqldeveloper/sqldeveloper-21.4.3.063.0100.ebuild
deleted file mode 100644
index a6c582ff187f..000000000000
--- a/dev-db/sqldeveloper/sqldeveloper-21.4.3.063.0100.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# 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="
- <dev-java/openjdk-17:*[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
-}