mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-db/sqldeveloper: Drop old
Package-Manager: Portage-2.3.28, Repoman-2.3.9
This commit is contained in:
@@ -1,4 +1 @@
|
||||
DIST sqldeveloper-4.0.2.15.21-no-jre.zip 235443867 BLAKE2B 41982f06998653c6dc67ea368fc244646b93ba83f7b02e58a4f172b5b2fd613873f1eb4a5f9f01f0a6b2c412f558fc9cb1e4efb2de75bfc3b7a43816a247d1f8 SHA512 e67b0f3d127adbc6cb77b3eb822834a6c41be7039c54eceb85e8c882704684a02dd036f078408192ad2cbcb963dfb0ba583e99a9f7b7db36b1e9a1f96e555880
|
||||
DIST sqldeveloper-4.1.3.20.78-no-jre.zip 331401110 BLAKE2B e4bd3e660bcc0a131d9c2cc0bc4b49c8b4e6051b7162e38e86105d30931d2207767ec1ea38eaa61dad31804802c2a010f70f752700f9eb52a5e9bbf936b957f6 SHA512 828a751bc9df7bdc59f9b89b317189826e328671d081df24d39a102aeefaf5a0a56e01e066802da1ee92617bf1fdb77ad598b448043dd7f4239f2103efb4427b
|
||||
DIST sqldeveloper-4.1.5.21.78-no-jre.zip 349775471 BLAKE2B 87a4288b493306971f9aee490223843d76ed2c19c5353a3021295ddf13de6b552e3a8c03f4fd48d8150583982942f205ae261c0f4b41ba146de3c785560d039a SHA512 06535a2d60ce140fa08cf937e9bb38d0a8ecefcb1b68675b547d4682c2e514ba62121e4363cf655c10de149e39a5e7d1d4a61c8cf79d7388b2998bf9b0098601
|
||||
DIST sqldeveloper-4.2.0.17.089.1709-no-jre.zip 348604841 BLAKE2B 0c3adff04f148102e6460c7550f787329c7e5a69aca0b81c2de4725b9c9ea27c03bb2f588671a95371aa3612839805f2042855b443bb5635c70d0e0b2140295b SHA512 4d1e270376ae125a60146228e35fcb2cb615d593c0e9f2ca98e4deef4d8fd1ddff59cf15064d63e33e77125f49e8da9fe317ed1fd96a9b00a699bf6c5e739874
|
||||
|
||||
@@ -1,88 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
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="mssql? ( dev-java/jtds:1.2 )
|
||||
mysql? ( dev-java/jdbc-mysql:0 )
|
||||
sybase? ( dev-java/jtds:1.2 )"
|
||||
RDEPEND=">=virtual/jdk-1.7.0
|
||||
dev-java/java-config:2
|
||||
${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
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 ${DISTDIR}"
|
||||
}
|
||||
|
||||
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.2)" >> sqldeveloper/bin/sqldeveloper.conf
|
||||
fi
|
||||
|
||||
if use mysql; then
|
||||
echo "AddJavaLibFile $(java-pkg_getjars jdbc-mysql)" >> sqldeveloper/bin/sqldeveloper.conf
|
||||
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,r{dbms,eadme.html},s{leepycat,ql{cli,developer,j},vnkit}} \
|
||||
"${D}"/opt/${PN}/ || die "Install failed"
|
||||
|
||||
dobin "${FILESDIR}"/${PN} || die "Install failed"
|
||||
|
||||
mv icon.png ${PN}-32x32.png || die
|
||||
doicon ${PN}-32x32.png || die
|
||||
make_desktop_entry ${PN} "Oracle SQL Developer" ${PN}-32x32 || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# this temporary fixes FileNotFoundException with datamodeler
|
||||
# this is more like a workaround than permanent fix
|
||||
test -d /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log \
|
||||
|| mkdir /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log
|
||||
touch /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log
|
||||
chmod -R 1777 /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log
|
||||
|
||||
# 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
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,97 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# 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="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 ${DISTDIR}"
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,97 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# 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="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 ${DISTDIR}"
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user