diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-db/sqldeveloper | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-db/sqldeveloper')
-rw-r--r-- | dev-db/sqldeveloper/Manifest | 3 | ||||
-rw-r--r-- | dev-db/sqldeveloper/files/sqldeveloper | 9 | ||||
-rw-r--r-- | dev-db/sqldeveloper/metadata.xml | 10 | ||||
-rw-r--r-- | dev-db/sqldeveloper/sqldeveloper-3.2.20.09.87.ebuild | 100 | ||||
-rw-r--r-- | dev-db/sqldeveloper/sqldeveloper-4.0.2.15.21.ebuild | 89 | ||||
-rw-r--r-- | dev-db/sqldeveloper/sqldeveloper-4.1.1.19.59.ebuild | 101 |
6 files changed, 312 insertions, 0 deletions
diff --git a/dev-db/sqldeveloper/Manifest b/dev-db/sqldeveloper/Manifest new file mode 100644 index 000000000000..d39b8120cda4 --- /dev/null +++ b/dev-db/sqldeveloper/Manifest @@ -0,0 +1,3 @@ +DIST sqldeveloper-3.2.20.09.87-no-jre.zip 182052759 SHA256 787b703a3fa2d7969ae486b9f2f23bdafd31242b2af74257943cf826c535c8d4 SHA512 716e2f9584e192b8e72a0e9439ac3fb0aea297087640df7c7c5659170846376d8e44d0fbdc68c96e274b100aad3f26b0710691349bfc0092c86c42830e115efe WHIRLPOOL 1d9eb51cb263c14a89a44167a239f3be34b7ca9bd78eefc28a73c1b24e6f4e2f10a1665b0b4a03c6932f987fae375c95bfc310c485e179c76e9b7135bb9825e3 +DIST sqldeveloper-4.0.2.15.21-no-jre.zip 235443867 SHA256 b23aca1d256002cdc19a0b3136ae13ebf9064feacc45a131be229a88fe9faed7 SHA512 e67b0f3d127adbc6cb77b3eb822834a6c41be7039c54eceb85e8c882704684a02dd036f078408192ad2cbcb963dfb0ba583e99a9f7b7db36b1e9a1f96e555880 WHIRLPOOL 31b32713f116193036dc5dd9b63c9b6c321763e2273227c51d70bd3db93575e4f12150a045f8615fb6086ee1d464af4d112be5824f9bf22b4f5917ae5a15b724 +DIST sqldeveloper-4.1.1.19.59-no-jre.zip 328364824 SHA256 3b0f3f861495f41b6844eeaf3a58117a90dd72d98cfe8d0b4ffafe103ec56bb5 SHA512 1f5a683ba91a41cb7bc40a45215632ff10b2b1075d5b434d5a8349137d467f59192ec78d33e67b141729b7a1f3e5d678f8b934418e362706ac85a8b0fe89b838 WHIRLPOOL fc4e86e18108729a044bbb4b75a25418599ac972ed003ee69cc0982e66eeb6779d3d46306ec3429b9f9d7a0fa01dc6242b66430c02fe333cb9d95f70160e3402 diff --git a/dev-db/sqldeveloper/files/sqldeveloper b/dev-db/sqldeveloper/files/sqldeveloper new file mode 100644 index 000000000000..eba773e10267 --- /dev/null +++ b/dev-db/sqldeveloper/files/sqldeveloper @@ -0,0 +1,9 @@ +#!/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/metadata.xml b/dev-db/sqldeveloper/metadata.xml new file mode 100644 index 000000000000..77d2c7c72cd0 --- /dev/null +++ b/dev-db/sqldeveloper/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proxy-maintainers</herd> +<maintainer> + <email>jan.bednar@gmail.com</email> + <name>Ján Bednár</name> + <description>Maintainer</description> +</maintainer> +</pkgmetadata> diff --git a/dev-db/sqldeveloper/sqldeveloper-3.2.20.09.87.ebuild b/dev-db/sqldeveloper/sqldeveloper-3.2.20.09.87.ebuild new file mode 100644 index 000000000000..feb4a92e38da --- /dev/null +++ b/dev-db/sqldeveloper/sqldeveloper-3.2.20.09.87.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit eutils java-pkg-2 + +DESCRIPTION="Oracle SQL Developer is a graphical tool for database development" +HOMEPAGE="http://www.oracle.com/technology/products/database/sql_developer/" +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.6.0 + ${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 + + # this fixes internal Classpath warning + cd "${T}" + unzip -q "${S}"/jdev/extensions/oracle.jdeveloper.runner.jar META-INF/extension.xml + sed -i 's@../../../oracle_common/modules/oracle.nlsrtl_11.1.0@../../jlib@' META-INF/extension.xml || die + zip -rq "${S}"/jdev/extensions/oracle.jdeveloper.runner.jar META-INF/extension.xml + rm -rf META-INF + + # this fixes another internal Classpath warning + cd "${T}" + unzip -q "${S}"/sqldeveloper/extensions/oracle.datamodeler.jar META-INF/extension.xml + sed -i 's@<classpath>${ide.extension.install.home}/lib/ActiveQueryBuilder.jar</classpath>@<classpath>${ide.extension.install.home}/../../lib/ActiveQueryBuilder.jar</classpath>@' META-INF/extension.xml || die + zip -rq "${S}"/sqldeveloper/extensions/oracle.datamodeler.jar META-INF/extension.xml + rm -rf META-INF +} + +src_install() { + dodir /opt/${PN} + cp -r {dataminer,ide,javavm,jdbc,jdev,jdev.label,jlib,jviews,modules,rdbms,readme.html,sleepycat,${PN},sqlj,timingframework} \ + "${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 +} diff --git a/dev-db/sqldeveloper/sqldeveloper-4.0.2.15.21.ebuild b/dev-db/sqldeveloper/sqldeveloper-4.0.2.15.21.ebuild new file mode 100644 index 000000000000..2965883da6a9 --- /dev/null +++ b/dev-db/sqldeveloper/sqldeveloper-4.0.2.15.21.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} diff --git a/dev-db/sqldeveloper/sqldeveloper-4.1.1.19.59.ebuild b/dev-db/sqldeveloper/sqldeveloper-4.1.1.19.59.ebuild new file mode 100644 index 000000000000..9254ec86529e --- /dev/null +++ b/dev-db/sqldeveloper/sqldeveloper-4.1.1.19.59.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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.2 ) + mysql? ( dev-java/jdbc-mysql:0 ) + sybase? ( dev-java/jtds:1.2 )" +RDEPEND=">=virtual/jdk-1.8.0 + dev-java/java-config:2 + ${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.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,ords,rdbms,s{leepycat,ql{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 + einfo "In order to use SQL Developer you need to enshure you are using proper version Java VM (1.8)" + einfo "Use eselect java-vm list to get this info," + einfo "eselect java-vm set user N to assign user-level value" + einfo "eselect java-vm set system N as root to set system-wide default" + echo +} |