commit: d6aebed9d86a72744009777426ae2a66e52f132b Author: Marco Genasci <fedeliallalinea <AT> gmail <DOT> com> AuthorDate: Mon Jan 22 08:36:15 2024 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Fri Feb 9 13:47:34 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6aebed9
dev-db/sqldeveloper: remove old Signed-off-by: Marco Genasci <fedeliallalinea <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34958 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> dev-db/sqldeveloper/Manifest | 1 - .../sqldeveloper-23.1.0.097.1607.ebuild | 98 ---------------------- 2 files changed, 99 deletions(-) diff --git a/dev-db/sqldeveloper/Manifest b/dev-db/sqldeveloper/Manifest index f7d1ee5abd92..d91cec185a72 100644 --- a/dev-db/sqldeveloper/Manifest +++ b/dev-db/sqldeveloper/Manifest @@ -1,2 +1 @@ -DIST sqldeveloper-23.1.0.097.1607-no-jre.zip 510182719 BLAKE2B 947f5b91bce5a735bf7987bfb894b7aa52191e9db9c24c8c50f843094c337fa477c300c6998a090eb4919fa829bc711960ad2f39f87ddb87ed1bad7bcda2218d SHA512 800e5ebf77af6cb8f6b1a48a80b09bc3d64c4ddbd57d8bc96a1e6e031e91f10ea76bc3447bc24ef60a6775c92955ba2ef30332203d9e0995c88a8625ac5ca0cd DIST sqldeveloper-23.1.1.345.2114-no-jre.zip 509665648 BLAKE2B 28ae11d4a3f0f760620247d353db8b8100443f639b39354ed687ed05e124739aacf5bd2a8fa816ed7e14d55d02a7391af44855fd7cc07e942c5d904131fa9bb3 SHA512 e1a69e569fa8052cdc5144b23c9b6cbf9b1aa13280286233c0e531671ae702a8bf33f3ff6a6f28a166c44c88037b758e854f8dbc525e7714cca8031573b6db52 diff --git a/dev-db/sqldeveloper/sqldeveloper-23.1.0.097.1607.ebuild b/dev-db/sqldeveloper/sqldeveloper-23.1.0.097.1607.ebuild deleted file mode 100644 index 21083df685b8..000000000000 --- a/dev-db/sqldeveloper/sqldeveloper-23.1.0.097.1607.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2023 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:11[javafx] - virtual/jre:11 - 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" - -QA_PREBUILT=" - opt/${PN}/netbeans/platform/modules/lib/amd64/linux/libjnidispatch-422.so -" - -pkg_nofetch() { - einfo "Please go to" - einfo " https://www.oracle.com/tools/downloads/sqldev-downloads.html" - 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,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 -}