summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/sqldeveloper')
-rw-r--r--dev-db/sqldeveloper/ChangeLog9
-rw-r--r--dev-db/sqldeveloper/Manifest14
-rw-r--r--dev-db/sqldeveloper/metadata.xml21
-rw-r--r--dev-db/sqldeveloper/sqldeveloper-2.1.1.64.45.ebuild90
4 files changed, 117 insertions, 17 deletions
diff --git a/dev-db/sqldeveloper/ChangeLog b/dev-db/sqldeveloper/ChangeLog
index e780ea8c12e9..082bd98aa6d0 100644
--- a/dev-db/sqldeveloper/ChangeLog
+++ b/dev-db/sqldeveloper/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-db/sqldeveloper
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/ChangeLog,v 1.8 2010/07/19 06:00:51 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/ChangeLog,v 1.9 2010/08/25 12:11:42 hwoarang Exp $
+
+*sqldeveloper-2.1.1.64.45 (25 Aug 2010)
+
+ 25 Aug 2010; Markos Chandras <hwoarang@gentoo.org>
+ +sqldeveloper-2.1.1.64.45.ebuild, metadata.xml:
+ Version bump. Ján Bednár will be the maintainer and I will proxy him.
+ Fixes bug #297775. Thanks to everybody for the ebuilds
19 Jul 2010; Petteri Räty <betelgeuse@gentoo.org>
sqldeveloper-1.5.4.59.40.ebuild:
diff --git a/dev-db/sqldeveloper/Manifest b/dev-db/sqldeveloper/Manifest
index ae7d4d839553..68f5da6b581d 100644
--- a/dev-db/sqldeveloper/Manifest
+++ b/dev-db/sqldeveloper/Manifest
@@ -3,13 +3,15 @@ Hash: SHA1
AUX sqldeveloper 290 RMD160 c8636f571f0dc48118bb80edd8d8ee8dfc5b60dc SHA1 4a6907dec0bcae73971959fb725c65d9edef0eb9 SHA256 3f9563a05c1c059b92365eb3b3940b118fb70494854f12addf0b4ef90eb49236
DIST sqldeveloper-1.5.4.59.40-no-jre.zip 76430283 RMD160 5e4c76ca9bd173e99fb2bfb64d3694b65847f1a4 SHA1 635b34b87b058242694a797bc83ca655a56a924a SHA256 3849ea6560bc31a17f6c457ffdefde018041e8acb601426a027efd5fea62debc
+DIST sqldeveloper-2.1.1.64.45-no-jre.zip 98210855 RMD160 24747b7b10039bfa50dcd71357a5755b40f45d92 SHA1 56493e7eb40371d98c1a524ddeddad87511a56a3 SHA256 13ef31be293f48b1de809a19fbeebb99f41f708219065ab3b0a7b86e2f5d0864
EBUILD sqldeveloper-1.5.4.59.40.ebuild 2204 RMD160 c42fb69b5d67ce7a500fb33fe1a07793c451813d SHA1 039fa82566a4543b4acea14625ffa934cac478bc SHA256 509fc54d93a425d6073fdac8079c5505a9cc5252573c813412f02ef8006c26d7
-MISC ChangeLog 1340 RMD160 2e6ed632b26a44fdf6dd887f3250654e01ad8b8b SHA1 948890c859b0ea2272c15dceab6d41e73a38350e SHA256 c40412ff9eba0e0a0cd5cd2c17c6b0ab35c12ff8e853f4e4a513bc1ad8477864
-MISC metadata.xml 666 RMD160 02a09d2a2e725e1b8b233425ff03598a7b4ef535 SHA1 6b9c75e52e2f32a95d7200ff615dd434bb7168cc SHA256 fe7805af93a97665b3661ba04caf1c946e2eb4d5a5414127f54de888acbd5db7
+EBUILD sqldeveloper-2.1.1.64.45.ebuild 2846 RMD160 dac8d28f829e941bd94ac00331fe38edd02f6ec6 SHA1 4cfd0b6c5eac669f3e3b1301bc6628c5c1405ad6 SHA256 95f5ffcfd8a142e9e3257eef9dfa27e5641c75e8791600799a58fe84e9b0c5ec
+MISC ChangeLog 1614 RMD160 5dba0d1db4e2a45c648b8078a5bae30c9cf440fa SHA1 0474dc9deac566d1758b22e15f6767af8cbe8f5e SHA256 cc64aa38d7e27ad66fd7a9bd4b99ca9fcf45d1dd17e90fdfc3b67350f49c03bd
+MISC metadata.xml 464 RMD160 404227540d97b01adfdd6344194bb733f1720335 SHA1 9139842b430de07b74db2c565fd2c670cbff0cb2 SHA256 b71fb5b793b2885211d3ef283cff7490cabac4cb65632ff6ac65f11d768c5c0e
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.15 (GNU/Linux)
+Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkxD6mwACgkQcxLzpIGCsLTEyACfeu4UcSRte4PpDnjgoAcgyKZr
-Q7EAoJLgCnlEUqsCikYDNOXU3D5UBd0P
-=G6Ev
+iEYEARECAAYFAkx1CIgACgkQ9/cejkQaxBBWeACfbjCCEfWaTCf39kZLp5vIe37Z
+XosAn25fywXsTxmSWcQd0D26EW1TKKcB
+=tLy2
-----END PGP SIGNATURE-----
diff --git a/dev-db/sqldeveloper/metadata.xml b/dev-db/sqldeveloper/metadata.xml
index 26b1f1b4dae4..9e6aca85c63a 100644
--- a/dev-db/sqldeveloper/metadata.xml
+++ b/dev-db/sqldeveloper/metadata.xml
@@ -1,14 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>no-herd</herd>
- <maintainer>
- <email>maintainer-needed@gentoo.org</email>
- </maintainer>
- <longdescription>Oracle SQL Developer is a free and fully supported
- graphical tool for database development. With SQL Developer, you can browse
- database objects, run SQL statements and SQL scripts, and edit and debug
- PL/SQL statements. You can also run any number of provided reports, as well
- as create and save your own. SQL Developer enhances productivity and
- simplifies your database development tasks.</longdescription>
+<herd>no-herd</herd>
+<maintainer>
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+ <description>Proxy maintainer. CC him on bugs</description>
+</maintainer>
+<maintainer>
+ <email>jan.bednar@gmail.com</email>
+ <name>Ján Bednár</name>
+ <description>Maintainer. Assign bugs to him</description>
+</maintainer>
</pkgmetadata>
diff --git a/dev-db/sqldeveloper/sqldeveloper-2.1.1.64.45.ebuild b/dev-db/sqldeveloper/sqldeveloper-2.1.1.64.45.ebuild
new file mode 100644
index 000000000000..004165a25cef
--- /dev/null
+++ b/dev-db/sqldeveloper/sqldeveloper-2.1.1.64.45.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/sqldeveloper-2.1.1.64.45.ebuild,v 1.1 2010/08/25 12:11:42 hwoarang Exp $
+
+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" \) -exec rm {} \;
+}
+
+src_configure() {
+ # 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
+}
+
+src_install() {
+ dodir /opt/${PN}
+ cp -r {ide,j2ee,jdbc,jdev,jlib,lib,modules,rdbms,sleepycat,${PN},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
+
+ dodoc release_notes_2.1.1.html || die
+
+ # this fixes internal Classpath warning
+ dosym /opt/sqldeveloper/jdbc/lib/ojdbc5.jar /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/ojdbc5.jar
+ dosym /opt/sqldeveloper/modules/oracle.xdk_11.1.0/xmlparserv2.jar /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/xmlparserv2.jar
+}
+
+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
+}