diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2006-12-26 18:45:09 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2006-12-26 18:45:09 +0000 |
commit | 33ae04f090fd232d81ad6558167d02ae64be207f (patch) | |
tree | 465ce647796b4babfbc66f7c4cdef7733b37247d /dev-db/tora | |
parent | Add oci8-instant-client useflag for dev-db/tora (diff) | |
download | gentoo-2-33ae04f090fd232d81ad6558167d02ae64be207f.tar.gz gentoo-2-33ae04f090fd232d81ad6558167d02ae64be207f.tar.bz2 gentoo-2-33ae04f090fd232d81ad6558167d02ae64be207f.zip |
Cleanup, Revbump, Fixes #158213 and #155753
(Portage version: 2.1.2_rc4-r1)
Diffstat (limited to 'dev-db/tora')
-rw-r--r-- | dev-db/tora/ChangeLog | 13 | ||||
-rw-r--r-- | dev-db/tora/files/digest-tora-1.3.21 | 2 | ||||
-rw-r--r-- | dev-db/tora/files/digest-tora-1.3.21-r1 | 3 | ||||
-rw-r--r-- | dev-db/tora/files/tora.desktop | 14 | ||||
-rw-r--r-- | dev-db/tora/files/tora.png | bin | 0 -> 1227 bytes | |||
-rw-r--r-- | dev-db/tora/tora-1.3.21-r1.ebuild | 86 |
6 files changed, 117 insertions, 1 deletions
diff --git a/dev-db/tora/ChangeLog b/dev-db/tora/ChangeLog index 2cad0bd4cfec..5a0ff2f42a50 100644 --- a/dev-db/tora/ChangeLog +++ b/dev-db/tora/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for dev-db/tora # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/tora/ChangeLog,v 1.53 2006/11/05 19:27:33 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/tora/ChangeLog,v 1.54 2006/12/26 18:45:09 dertobi123 Exp $ + +*tora-1.3.21-r1 (26 Dec 2006) + + 26 Dec 2006; Tobias Scherbaum <dertobi123@gentoo.org> + -files/tora-1.3.16-configure-no_oracle.diff, + -files/tora-1.3.16-sh-no_oracle.diff, +files/tora.desktop, + +files/tora.png, -tora-1.3.16-r1.ebuild, +tora-1.3.21-r1.ebuild: + Cleanup. + Added tora icon/desktop file, bug #155753 by Gianluca Parmiggiani. + Added xinerama support, bug #158213 by Taavi Ilves. + Added oracle-instant-client support. 05 Nov 2006; Daniel Gryniewicz <dang@gentoo.org> tora-1.3.18.ebuild: Marked stable on amd64 for bug #151809 diff --git a/dev-db/tora/files/digest-tora-1.3.21 b/dev-db/tora/files/digest-tora-1.3.21 index 445bcac51339..711ae0af6ee2 100644 --- a/dev-db/tora/files/digest-tora-1.3.21 +++ b/dev-db/tora/files/digest-tora-1.3.21 @@ -1 +1,3 @@ MD5 10e3c9944ffaca50de046e2c3e02eee4 tora-1.3.21.tar.gz 3139444 +RMD160 4c4709e1a311d288396d76a45cb9ddd115935755 tora-1.3.21.tar.gz 3139444 +SHA256 135405accdd96a0cb52ca3797401173aec8bc1138934d52d9ceaa3984f7c7a2e tora-1.3.21.tar.gz 3139444 diff --git a/dev-db/tora/files/digest-tora-1.3.21-r1 b/dev-db/tora/files/digest-tora-1.3.21-r1 new file mode 100644 index 000000000000..711ae0af6ee2 --- /dev/null +++ b/dev-db/tora/files/digest-tora-1.3.21-r1 @@ -0,0 +1,3 @@ +MD5 10e3c9944ffaca50de046e2c3e02eee4 tora-1.3.21.tar.gz 3139444 +RMD160 4c4709e1a311d288396d76a45cb9ddd115935755 tora-1.3.21.tar.gz 3139444 +SHA256 135405accdd96a0cb52ca3797401173aec8bc1138934d52d9ceaa3984f7c7a2e tora-1.3.21.tar.gz 3139444 diff --git a/dev-db/tora/files/tora.desktop b/dev-db/tora/files/tora.desktop new file mode 100644 index 000000000000..bd63ca409104 --- /dev/null +++ b/dev-db/tora/files/tora.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=TOra +GenericName=Toolkit For Oracle +Comment=Toolkit For Oracle (and more) +Exec=tora +TryExec=tora +Icon=tora.png +StartupNotify=true +Terminal=false +Type=Application +MimeType=text/x-sql +Categories=Application;Development; diff --git a/dev-db/tora/files/tora.png b/dev-db/tora/files/tora.png Binary files differnew file mode 100644 index 000000000000..3e246ce58998 --- /dev/null +++ b/dev-db/tora/files/tora.png diff --git a/dev-db/tora/tora-1.3.21-r1.ebuild b/dev-db/tora/tora-1.3.21-r1.ebuild new file mode 100644 index 000000000000..fa25a124ab18 --- /dev/null +++ b/dev-db/tora/tora-1.3.21-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/tora/tora-1.3.21-r1.ebuild,v 1.1 2006/12/26 18:45:09 dertobi123 Exp $ + +inherit debug eutils kde-functions + +IUSE="kde oracle debug oci8-instant-client xinerama" +DESCRIPTION="TOra - Toolkit For Oracle" +HOMEPAGE="http://tora.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" + +RDEPEND="${DEPEND} + xinerama? ( || ( x11-libs/libXinerama <virtual/x11-7 ) )" + +DEPEND="=x11-libs/qt-3* + dev-lang/perl + dev-python/qscintilla + kde? ( >=kde-base/kdelibs-3.1 + kde-base/arts ) + xinerama? ( || ( x11-proto/xineramaproto <virtual/x11-7 ) ) + oci8-instant-client? ( dev-db/oracle-instantclient-basic )" + +pkg_setup() { + if use oracle && [ -z "$ORACLE_HOME" ] ; then + eerror "ORACLE_HOME variable is not set." + eerror + eerror "You must install Oracle >= 8i client for Linux in" + eerror "order to compile TOra with Oracle support." + eerror + eerror "Otherwise specify -oracle in your USE variable." + eerror + eerror "You can download the Oracle software from" + eerror "http://otn.oracle.com/software/content.html" + die + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/gcc41.patch +} + +src_compile() { + set-qtdir 3 + set-kdedir 3 + + # Need to fake out Qt or we'll get sandbox problems + REALHOME="$HOME" + mkdir -p $T/fakehome/.kde + mkdir -p $T/fakehome/.qt + export HOME="$T/fakehome" + addwrite "${QTDIR}/etc/settings" + + local myconf + #myconf="--prefix=/usr" + #myconf="$myconf --with-mono" + + use kde \ + && myconf="$myconf --with-kde" \ + || myconf="$myconf --without-kde" + use oracle || myconf="$myconf --without-oracle" + myconf="${myconf} $(use_with oci8-instant-client instant-client)" + myconf="${myconf} $(use_with xinerama)" + + myconf="$myconf --with-qt-dir=/usr/qt/3" + + #./configure $myconf || die "configure failed" + econf $myconf || die "configure failed" + emake -j1 || die "emake failed" +} + +src_install() { + #make install ROOT=${D} + make install DESTDIR=${D} + dodoc LICENSE.txt BUGS INSTALL NEWS README TODO + + insinto /usr/share/applications + doins ${FILESDIR}/${PN}.desktop + insinto /usr/share/pixmaps + doins ${FILESDIR}/${PN}.png +} |