* [gentoo-commits] gentoo-x86 commit in dev-db/sqldeveloper: sqldeveloper-4.0.2.15.21.ebuild ChangeLog
@ 2014-05-16 22:31 Markos Chandras (hwoarang)
0 siblings, 0 replies; only message in thread
From: Markos Chandras (hwoarang) @ 2014-05-16 22:31 UTC (permalink / raw
To: gentoo-commits
hwoarang 14/05/16 22:31:57
Modified: ChangeLog
Added: sqldeveloper-4.0.2.15.21.ebuild
Log:
Version bump. Bug #494206 thanks to Alex Turbov <I.zaufi@gmail.com> and shinydoofy@gmail.com
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!)
Revision Changes Path
1.24 dev-db/sqldeveloper/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/sqldeveloper/ChangeLog?rev=1.24&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/sqldeveloper/ChangeLog?rev=1.24&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/sqldeveloper/ChangeLog?r1=1.23&r2=1.24
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/ChangeLog,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ChangeLog 7 Mar 2013 18:40:44 -0000 1.23
+++ ChangeLog 16 May 2014 22:31:57 -0000 1.24
@@ -1,6 +1,13 @@
# ChangeLog for dev-db/sqldeveloper
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/ChangeLog,v 1.23 2013/03/07 18:40:44 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/ChangeLog,v 1.24 2014/05/16 22:31:57 hwoarang Exp $
+
+*sqldeveloper-4.0.2.15.21 (16 May 2014)
+
+ 16 May 2014; Markos Chandras <hwoarang@gentoo.org>
+ +sqldeveloper-4.0.2.15.21.ebuild, files/sqldeveloper:
+ Version bump. Bug #494206 thanks to Alex Turbov <I.zaufi@gmail.com> and
+ shinydoofy@gmail.com
07 Mar 2013; Agostino Sarubbo <ago@gentoo.org>
-sqldeveloper-1.5.4.59.40.ebuild, -sqldeveloper-2.1.1.64.45.ebuild,
1.1 dev-db/sqldeveloper/sqldeveloper-4.0.2.15.21.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/sqldeveloper/sqldeveloper-4.0.2.15.21.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/sqldeveloper/sqldeveloper-4.0.2.15.21.ebuild?rev=1.1&content-type=text/plain
Index: sqldeveloper-4.0.2.15.21.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/sqldeveloper-4.0.2.15.21.ebuild,v 1.1 2014/05/16 22:31:57 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/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
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-16 22:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-16 22:31 [gentoo-commits] gentoo-x86 commit in dev-db/sqldeveloper: sqldeveloper-4.0.2.15.21.ebuild ChangeLog Markos Chandras (hwoarang)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox