diff options
author | Marco Genasci <fedeliallalinea@gmail.com> | 2021-10-23 17:45:57 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2022-06-24 14:38:49 +0200 |
commit | d32eb7456ea1588dadad2437a2b3549ccfaf2710 (patch) | |
tree | a891379a84351156f8fd912348b13691c8a015e8 /dev-db | |
parent | net-libs/nghttp2: Stabilize 1.47.0 sparc, #854057 (diff) | |
download | gentoo-d32eb7456ea1588dadad2437a2b3549ccfaf2710.tar.gz gentoo-d32eb7456ea1588dadad2437a2b3549ccfaf2710.tar.bz2 gentoo-d32eb7456ea1588dadad2437a2b3549ccfaf2710.zip |
dev-db/sqldeveloper: removed old ebuild (EAPI 5)
Closes: https://bugs.gentoo.org/819678
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/sqldeveloper/Manifest | 1 | ||||
-rw-r--r-- | dev-db/sqldeveloper/files/sqldeveloper | 9 | ||||
-rw-r--r-- | dev-db/sqldeveloper/sqldeveloper-4.2.0.17.089.1709.ebuild | 99 |
3 files changed, 0 insertions, 109 deletions
diff --git a/dev-db/sqldeveloper/Manifest b/dev-db/sqldeveloper/Manifest index 014afef54169..1940cde9fb04 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-4.2.0.17.089.1709-no-jre.zip 348604841 BLAKE2B 0c3adff04f148102e6460c7550f787329c7e5a69aca0b81c2de4725b9c9ea27c03bb2f588671a95371aa3612839805f2042855b443bb5635c70d0e0b2140295b SHA512 4d1e270376ae125a60146228e35fcb2cb615d593c0e9f2ca98e4deef4d8fd1ddff59cf15064d63e33e77125f49e8da9fe317ed1fd96a9b00a699bf6c5e739874 diff --git a/dev-db/sqldeveloper/files/sqldeveloper b/dev-db/sqldeveloper/files/sqldeveloper deleted file mode 100644 index eba773e10267..000000000000 --- a/dev-db/sqldeveloper/files/sqldeveloper +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# skip their stupid [ -f `which java` ] test, which will always fail on Gentoo -export APP_SKIP_J2SE_TEST=1 -export JAVA_HOME=$(java-config -o) - -cd /opt/sqldeveloper/sqldeveloper/bin && bash sqldeveloper $@ diff --git a/dev-db/sqldeveloper/sqldeveloper-4.2.0.17.089.1709.ebuild b/dev-db/sqldeveloper/sqldeveloper-4.2.0.17.089.1709.ebuild deleted file mode 100644 index 4bac238ce42b..000000000000 --- a/dev-db/sqldeveloper/sqldeveloper-4.2.0.17.089.1709.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils java-pkg-2 - -DESCRIPTION="Oracle SQL Developer is a graphical tool for database development" -HOMEPAGE="http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html" -SRC_URI="${P}-no-jre.zip" - -RESTRICT="fetch" - -LICENSE="OTN" -SLOT="0" -KEYWORDS="amd64 x86" - -IUSE="mssql mysql sybase" - -DEPEND=" - app-arch/unzip - mssql? ( dev-java/jtds:1.3 ) - mysql? ( dev-java/jdbc-mysql:0 ) - sybase? ( dev-java/jtds:1.3 )" -RDEPEND=">=virtual/jdk-1.8 - ${DEPEND}" - -S="${WORKDIR}/${PN}" - -QA_PREBUILT=" -opt/${PN}/netbeans/platform/modules/lib/amd64/linux/*.so -opt/${PN}/netbeans/platform/modules/lib/i386/linux/*.so -" - -pkg_nofetch() { - eerror "Please go to" - eerror " ${HOMEPAGE}" - eerror "and download" - eerror " Oracle SQL Developer for other platforms" - eerror " ${SRC_URI}" - eerror "and move it to your DISTDIR directory." -} - -src_prepare() { - # we don't need these, do we? - find ./ \( -iname "*.exe" -or -iname "*.dll" -or -iname "*.bat" \) -exec rm {} + - - # 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 -} - -src_install() { - dodir /opt/${PN} - # NOTE For future version to get that line (what to copy) go to the unpacked sources dir - # using `bash` and press Meta+_ (i.e. Meta+Shift+-) -- that is a builtin bash feature ;-) - cp -r {configuration,d{ataminer,ropins,vt},e{quinox,xternal},ide,j{avavm,d{bc,ev},lib,views},modules,netbeans,ords,rdbms,s{leepycat,ql{developer,j},vnkit}} \ - "${D}"/opt/${PN}/ || die "Install failed" - - 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() { - # this temporary fixes FileNotFoundException with datamodeler - # this is more like a workaround than permanent fix - mkdir -p /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log || die - touch /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log || die - chmod -R 1777 /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log || die - - # this fixes another datamodeler FileNotFoundException - # also more like a workaround than permanent fix - chmod 1777 /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/types/dr_custom_scripts.xml || die - - 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 -} |